Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.35.0"
".": "1.36.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 214
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-70837ed2f8d4ade9021fc0f50bf3cd77cdf05f308c4ed75b2b4dcc42f1ec2378.yml
openapi_spec_hash: 09cf1c77dce2927cb41426a287a15437
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b232355836603d9dbb0ca86d4a946b458726531675db3fa1c4feeee10ff41011.yml
openapi_spec_hash: e986bdc1f77192e14e9075a7b1eac0f9
config_hash: b0b366d8c705ea0efe62093bae953e5a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.36.0 (2025-08-18)

Full Changelog: [v1.35.0...v1.36.0](https://github.com/Increase/increase-ruby/compare/v1.35.0...v1.36.0)

### Features

* **api:** api update ([f4a3611](https://github.com/Increase/increase-ruby/commit/f4a3611e6b295f9527cb3b0b0670e4e88c582a6e))

## 1.35.0 (2025-08-15)

Full Changelog: [v1.34.0...v1.35.0](https://github.com/Increase/increase-ruby/compare/v1.34.0...v1.35.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.35.0)
increase (1.36.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.35.0"
gem "increase", "~> 1.36.0"
```

<!-- x-release-please-end -->
Expand Down
46 changes: 29 additions & 17 deletions lib/increase/models/wire_drawdown_request_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ class WireDrawdownRequestCreateParams < Increase::Internal::Type::BaseModel
# @return [String]
required :creditor_name, String

# @!attribute debtor_account_number
# The debtor's account number.
#
# @return [String]
required :debtor_account_number, String

# @!attribute debtor_address
# The debtor's address.
#
Expand All @@ -49,19 +43,35 @@ class WireDrawdownRequestCreateParams < Increase::Internal::Type::BaseModel
# @return [String]
required :debtor_name, String

# @!attribute debtor_routing_number
# The debtor's routing number.
#
# @return [String]
required :debtor_routing_number, String

# @!attribute unstructured_remittance_information
# Remittance information the debtor will see as part of the request.
#
# @return [String]
required :unstructured_remittance_information, String

# @!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: {})
# @!attribute debtor_account_number
# The debtor's account number.
#
# @return [String, nil]
optional :debtor_account_number, String

# @!attribute debtor_external_account_id
# The ID of an External Account to initiate a transfer to. If this parameter is
# provided, `debtor_account_number` and `debtor_routing_number` must be absent.
#
# @return [String, nil]
optional :debtor_external_account_id, String

# @!attribute debtor_routing_number
# The debtor's routing number.
#
# @return [String, nil]
optional :debtor_routing_number, String

# @!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: {})
# Some parameter documentations has been truncated, see
# {Increase::Models::WireDrawdownRequestCreateParams} for more details.
#
# @param account_number_id [String] The Account Number to which the debtor should send funds.
#
# @param amount [Integer] The amount requested from the debtor, in USD cents.
Expand All @@ -70,16 +80,18 @@ class WireDrawdownRequestCreateParams < Increase::Internal::Type::BaseModel
#
# @param creditor_name [String] The creditor's name.
#
# @param debtor_account_number [String] The debtor's account number.
#
# @param debtor_address [Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress] The debtor's address.
#
# @param debtor_name [String] The debtor's name.
#
# @param debtor_routing_number [String] The debtor's routing number.
#
# @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the request.
#
# @param debtor_account_number [String] The debtor's account number.
#
# @param debtor_external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
#
# @param debtor_routing_number [String] The debtor's routing number.
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]

class CreditorAddress < Increase::Internal::Type::BaseModel
Expand Down
15 changes: 10 additions & 5 deletions lib/increase/resources/wire_drawdown_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
module Increase
module Resources
class WireDrawdownRequests
# Some parameter documentations has been truncated, see
# {Increase::Models::WireDrawdownRequestCreateParams} for more details.
#
# Create a Wire Drawdown Request
#
# @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: {})
# @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: {})
#
# @param account_number_id [String] The Account Number to which the debtor should send funds.
#
Expand All @@ -15,16 +18,18 @@ class WireDrawdownRequests
#
# @param creditor_name [String] The creditor's name.
#
# @param debtor_account_number [String] The debtor's account number.
#
# @param debtor_address [Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress] The debtor's address.
#
# @param debtor_name [String] The debtor's name.
#
# @param debtor_routing_number [String] The debtor's routing number.
#
# @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the request.
#
# @param debtor_account_number [String] The debtor's account number.
#
# @param debtor_external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
#
# @param debtor_routing_number [String] The debtor's routing number.
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
#
# @return [Increase::Models::WireDrawdownRequest]
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.35.0"
VERSION = "1.36.0"
end
51 changes: 35 additions & 16 deletions rbi/increase/models/wire_drawdown_request_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ module Increase
sig { returns(String) }
attr_accessor :creditor_name

# The debtor's account number.
sig { returns(String) }
attr_accessor :debtor_account_number

# The debtor's address.
sig { returns(Increase::WireDrawdownRequestCreateParams::DebtorAddress) }
attr_reader :debtor_address
Expand All @@ -60,27 +56,46 @@ module Increase
sig { returns(String) }
attr_accessor :debtor_name

# The debtor's routing number.
sig { returns(String) }
attr_accessor :debtor_routing_number

# Remittance information the debtor will see as part of the request.
sig { returns(String) }
attr_accessor :unstructured_remittance_information

# The debtor's account number.
sig { returns(T.nilable(String)) }
attr_reader :debtor_account_number

sig { params(debtor_account_number: String).void }
attr_writer :debtor_account_number

# The ID of an External Account to initiate a transfer to. If this parameter is
# provided, `debtor_account_number` and `debtor_routing_number` must be absent.
sig { returns(T.nilable(String)) }
attr_reader :debtor_external_account_id

sig { params(debtor_external_account_id: String).void }
attr_writer :debtor_external_account_id

# The debtor's routing number.
sig { returns(T.nilable(String)) }
attr_reader :debtor_routing_number

sig { params(debtor_routing_number: String).void }
attr_writer :debtor_routing_number

sig do
params(
account_number_id: String,
amount: Integer,
creditor_address:
Increase::WireDrawdownRequestCreateParams::CreditorAddress::OrHash,
creditor_name: String,
debtor_account_number: String,
debtor_address:
Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
debtor_name: String,
debtor_routing_number: String,
unstructured_remittance_information: String,
debtor_account_number: String,
debtor_external_account_id: String,
debtor_routing_number: String,
request_options: Increase::RequestOptions::OrHash
).returns(T.attached_class)
end
Expand All @@ -93,16 +108,19 @@ module Increase
creditor_address:,
# The creditor's name.
creditor_name:,
# The debtor's account number.
debtor_account_number:,
# The debtor's address.
debtor_address:,
# The debtor's name.
debtor_name:,
# The debtor's routing number.
debtor_routing_number:,
# Remittance information the debtor will see as part of the request.
unstructured_remittance_information:,
# The debtor's account number.
debtor_account_number: nil,
# The ID of an External Account to initiate a transfer to. If this parameter is
# provided, `debtor_account_number` and `debtor_routing_number` must be absent.
debtor_external_account_id: nil,
# The debtor's routing number.
debtor_routing_number: nil,
request_options: {}
)
end
Expand All @@ -115,12 +133,13 @@ module Increase
creditor_address:
Increase::WireDrawdownRequestCreateParams::CreditorAddress,
creditor_name: String,
debtor_account_number: String,
debtor_address:
Increase::WireDrawdownRequestCreateParams::DebtorAddress,
debtor_name: String,
debtor_routing_number: String,
unstructured_remittance_information: String,
debtor_account_number: String,
debtor_external_account_id: String,
debtor_routing_number: String,
request_options: Increase::RequestOptions
}
)
Expand Down
16 changes: 10 additions & 6 deletions rbi/increase/resources/wire_drawdown_requests.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ module Increase
creditor_address:
Increase::WireDrawdownRequestCreateParams::CreditorAddress::OrHash,
creditor_name: String,
debtor_account_number: String,
debtor_address:
Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
debtor_name: String,
debtor_routing_number: String,
unstructured_remittance_information: String,
debtor_account_number: String,
debtor_external_account_id: String,
debtor_routing_number: String,
request_options: Increase::RequestOptions::OrHash
).returns(Increase::WireDrawdownRequest)
end
Expand All @@ -29,16 +30,19 @@ module Increase
creditor_address:,
# The creditor's name.
creditor_name:,
# The debtor's account number.
debtor_account_number:,
# The debtor's address.
debtor_address:,
# The debtor's name.
debtor_name:,
# The debtor's routing number.
debtor_routing_number:,
# Remittance information the debtor will see as part of the request.
unstructured_remittance_information:,
# The debtor's account number.
debtor_account_number: nil,
# The ID of an External Account to initiate a transfer to. If this parameter is
# provided, `debtor_account_number` and `debtor_routing_number` must be absent.
debtor_external_account_id: nil,
# The debtor's routing number.
debtor_routing_number: nil,
request_options: {}
)
end
Expand Down
33 changes: 22 additions & 11 deletions sig/increase/models/wire_drawdown_request_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ module Increase
amount: Integer,
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
creditor_name: String,
debtor_account_number: String,
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
debtor_name: String,
debtor_routing_number: String,
unstructured_remittance_information: String
unstructured_remittance_information: String,
debtor_account_number: String,
debtor_external_account_id: String,
debtor_routing_number: String
}
& Increase::Internal::Type::request_parameters

Expand All @@ -26,26 +27,35 @@ module Increase

attr_accessor creditor_name: String

attr_accessor debtor_account_number: String

attr_accessor debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress

attr_accessor debtor_name: String

attr_accessor debtor_routing_number: String

attr_accessor unstructured_remittance_information: String

attr_reader debtor_account_number: String?

def debtor_account_number=: (String) -> String

attr_reader debtor_external_account_id: String?

def debtor_external_account_id=: (String) -> String

attr_reader debtor_routing_number: String?

def debtor_routing_number=: (String) -> String

def initialize: (
account_number_id: String,
amount: Integer,
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
creditor_name: String,
debtor_account_number: String,
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
debtor_name: String,
debtor_routing_number: String,
unstructured_remittance_information: String,
?debtor_account_number: String,
?debtor_external_account_id: String,
?debtor_routing_number: String,
?request_options: Increase::request_opts
) -> void

Expand All @@ -54,11 +64,12 @@ module Increase
amount: Integer,
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
creditor_name: String,
debtor_account_number: String,
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
debtor_name: String,
debtor_routing_number: String,
unstructured_remittance_information: String,
debtor_account_number: String,
debtor_external_account_id: String,
debtor_routing_number: String,
request_options: Increase::RequestOptions
}

Expand Down
5 changes: 3 additions & 2 deletions sig/increase/resources/wire_drawdown_requests.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ module Increase
amount: Integer,
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
creditor_name: String,
debtor_account_number: String,
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
debtor_name: String,
debtor_routing_number: String,
unstructured_remittance_information: String,
?debtor_account_number: String,
?debtor_external_account_id: String,
?debtor_routing_number: String,
?request_options: Increase::request_opts
) -> Increase::WireDrawdownRequest

Expand Down
Loading