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.14.0"
".": "1.15.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: 202
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-7f26440e2137fb4f39521c361e76d56bad7c56d81cd06d0677d7735e73f7c160.yml
openapi_spec_hash: aa475d425f493e41eb8485ae17a3d0f9
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-43d34b4805f305e7e2c71644ade73722d053018acd6009352360e8a87cbe2250.yml
openapi_spec_hash: cfff23de89960d895052350a33499cf1
config_hash: a185e9a72778cc4658ea73fb3a7f1354
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 1.15.0 (2025-07-21)

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

### Features

* **api:** api update ([0370864](https://github.com/Increase/increase-ruby/commit/03708647f4f70800c3b9660e50f00632f679d7fa))
* **api:** api update ([43fed27](https://github.com/Increase/increase-ruby/commit/43fed27a519cb50ec581647f691ea66b566a2107))

## 1.14.0 (2025-07-18)

Full Changelog: [v1.13.0...v1.14.0](https://github.com/Increase/increase-ruby/compare/v1.13.0...v1.14.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.14.0)
increase (1.15.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.14.0"
gem "increase", "~> 1.15.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 1 addition & 9 deletions lib/increase/models/entity_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -810,19 +810,11 @@ class Joint < Increase::Internal::Type::BaseModel
required :individuals,
-> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Joint::Individual] }

# @!attribute name
# The name of the joint entity.
#
# @return [String, nil]
optional :name, String

# @!method initialize(individuals:, name: nil)
# @!method initialize(individuals:)
# Details of the joint entity to create. Required if `structure` is equal to
# `joint`.
#
# @param individuals [Array<Increase::Models::EntityCreateParams::Joint::Individual>] The two individuals that share control of the entity.
#
# @param name [String] The name of the joint entity.

class Individual < Increase::Internal::Type::BaseModel
# @!attribute address
Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ module Category
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED = :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"

Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,12 @@ module In
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED = :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"

Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event_subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,12 @@ module SelectedEventCategory
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED = :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"

Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event_subscription_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,12 @@ module SelectedEventCategory
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED = :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"

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.14.0"
VERSION = "1.15.0"
end
17 changes: 3 additions & 14 deletions rbi/increase/models/entity_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -1467,36 +1467,25 @@ module Increase
end
attr_accessor :individuals

# The name of the joint entity.
sig { returns(T.nilable(String)) }
attr_reader :name

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

# Details of the joint entity to create. Required if `structure` is equal to
# `joint`.
sig do
params(
individuals:
T::Array[Increase::EntityCreateParams::Joint::Individual::OrHash],
name: String
T::Array[Increase::EntityCreateParams::Joint::Individual::OrHash]
).returns(T.attached_class)
end
def self.new(
# The two individuals that share control of the entity.
individuals:,
# The name of the joint entity.
name: nil
individuals:
)
end

sig do
override.returns(
{
individuals:
T::Array[Increase::EntityCreateParams::Joint::Individual],
name: String
T::Array[Increase::EntityCreateParams::Joint::Individual]
}
)
end
Expand Down
8 changes: 8 additions & 0 deletions rbi/increase/models/event.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,14 @@ module Increase
Increase::Event::Category::TaggedSymbol
)

# Occurs whenever a Program is created.
PROGRAM_CREATED =
T.let(:"program.created", Increase::Event::Category::TaggedSymbol)

# Occurs whenever a Program is updated.
PROGRAM_UPDATED =
T.let(:"program.updated", Increase::Event::Category::TaggedSymbol)

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
T.let(
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,20 @@ module Increase
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever a Program is created.
PROGRAM_CREATED =
T.let(
:"program.created",
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever a Program is updated.
PROGRAM_UPDATED =
T.let(
:"program.updated",
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
T.let(
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_subscription.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,20 @@ module Increase
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Program is created.
PROGRAM_CREATED =
T.let(
:"program.created",
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Program is updated.
PROGRAM_UPDATED =
T.let(
:"program.updated",
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
T.let(
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_subscription_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,20 @@ module Increase
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Program is created.
PROGRAM_CREATED =
T.let(
:"program.created",
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Program is updated.
PROGRAM_UPDATED =
T.let(
:"program.updated",
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
T.let(
Expand Down
13 changes: 3 additions & 10 deletions sig/increase/models/entity_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -650,25 +650,18 @@ module Increase

type joint =
{
individuals: ::Array[Increase::EntityCreateParams::Joint::Individual],
name: String
individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]
}

class Joint < Increase::Internal::Type::BaseModel
attr_accessor individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]

attr_reader name: String?

def name=: (String) -> String

def initialize: (
individuals: ::Array[Increase::EntityCreateParams::Joint::Individual],
?name: String
individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]
) -> void

def to_hash: -> {
individuals: ::Array[Increase::EntityCreateParams::Joint::Individual],
name: String
individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]
}

type individual =
Expand Down
8 changes: 8 additions & 0 deletions sig/increase/models/event.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ module Increase
| :"physical_card.updated"
| :"physical_card_profile.created"
| :"physical_card_profile.updated"
| :"program.created"
| :"program.updated"
| :"proof_of_authorization_request.created"
| :"proof_of_authorization_request.updated"
| :"real_time_decision.card_authorization_requested"
Expand Down Expand Up @@ -376,6 +378,12 @@ module Increase
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED: :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED: :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"

Expand Down
8 changes: 8 additions & 0 deletions sig/increase/models/event_list_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ module Increase
| :"physical_card.updated"
| :"physical_card_profile.created"
| :"physical_card_profile.updated"
| :"program.created"
| :"program.updated"
| :"proof_of_authorization_request.created"
| :"proof_of_authorization_request.updated"
| :"real_time_decision.card_authorization_requested"
Expand Down Expand Up @@ -409,6 +411,12 @@ module Increase
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED: :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED: :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"

Expand Down
8 changes: 8 additions & 0 deletions sig/increase/models/event_subscription.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ module Increase
| :"physical_card.updated"
| :"physical_card_profile.created"
| :"physical_card_profile.updated"
| :"program.created"
| :"program.updated"
| :"proof_of_authorization_request.created"
| :"proof_of_authorization_request.updated"
| :"real_time_decision.card_authorization_requested"
Expand Down Expand Up @@ -386,6 +388,12 @@ module Increase
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED: :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED: :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"

Expand Down
8 changes: 8 additions & 0 deletions sig/increase/models/event_subscription_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ module Increase
| :"physical_card.updated"
| :"physical_card_profile.created"
| :"physical_card_profile.updated"
| :"program.created"
| :"program.updated"
| :"proof_of_authorization_request.created"
| :"proof_of_authorization_request.updated"
| :"real_time_decision.card_authorization_requested"
Expand Down Expand Up @@ -380,6 +382,12 @@ module Increase
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED: :"program.created"

# Occurs whenever a Program is updated.
PROGRAM_UPDATED: :"program.updated"

# Occurs whenever a Proof of Authorization Request is created.
PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"

Expand Down