From 43fed27a519cb50ec581647f691ea66b566a2107 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 16:32:37 +0000 Subject: [PATCH 1/3] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/event.rb | 6 ++++++ lib/increase/models/event_list_params.rb | 6 ++++++ lib/increase/models/event_subscription.rb | 6 ++++++ .../models/event_subscription_create_params.rb | 6 ++++++ rbi/increase/models/event.rbi | 8 ++++++++ rbi/increase/models/event_list_params.rbi | 14 ++++++++++++++ rbi/increase/models/event_subscription.rbi | 14 ++++++++++++++ .../models/event_subscription_create_params.rbi | 14 ++++++++++++++ sig/increase/models/event.rbs | 8 ++++++++ sig/increase/models/event_list_params.rbs | 8 ++++++++ sig/increase/models/event_subscription.rbs | 8 ++++++++ .../models/event_subscription_create_params.rbs | 8 ++++++++ 13 files changed, 108 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index b26d90908..d843fc927 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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-2965cbcf43d274ee029249246f9e3760a82372b9120a033bd651cad24765a4fb.yml +openapi_spec_hash: ae42e357b1bedbf992105c2a37f1b544 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/lib/increase/models/event.rb b/lib/increase/models/event.rb index f7059ba97..38c98a203 100644 --- a/lib/increase/models/event.rb +++ b/lib/increase/models/event.rb @@ -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" diff --git a/lib/increase/models/event_list_params.rb b/lib/increase/models/event_list_params.rb index 3549088f6..76838ffcc 100644 --- a/lib/increase/models/event_list_params.rb +++ b/lib/increase/models/event_list_params.rb @@ -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" diff --git a/lib/increase/models/event_subscription.rb b/lib/increase/models/event_subscription.rb index ed4d3b492..84aae83e7 100644 --- a/lib/increase/models/event_subscription.rb +++ b/lib/increase/models/event_subscription.rb @@ -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" diff --git a/lib/increase/models/event_subscription_create_params.rb b/lib/increase/models/event_subscription_create_params.rb index 232abd10c..79c24aad9 100644 --- a/lib/increase/models/event_subscription_create_params.rb +++ b/lib/increase/models/event_subscription_create_params.rb @@ -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" diff --git a/rbi/increase/models/event.rbi b/rbi/increase/models/event.rbi index 88b1e17e9..5698b8949 100644 --- a/rbi/increase/models/event.rbi +++ b/rbi/increase/models/event.rbi @@ -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( diff --git a/rbi/increase/models/event_list_params.rbi b/rbi/increase/models/event_list_params.rbi index f84efffcd..8e7500be8 100644 --- a/rbi/increase/models/event_list_params.rbi +++ b/rbi/increase/models/event_list_params.rbi @@ -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( diff --git a/rbi/increase/models/event_subscription.rbi b/rbi/increase/models/event_subscription.rbi index 364c39167..32a20225b 100644 --- a/rbi/increase/models/event_subscription.rbi +++ b/rbi/increase/models/event_subscription.rbi @@ -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( diff --git a/rbi/increase/models/event_subscription_create_params.rbi b/rbi/increase/models/event_subscription_create_params.rbi index 6cd472e25..4783fa8b2 100644 --- a/rbi/increase/models/event_subscription_create_params.rbi +++ b/rbi/increase/models/event_subscription_create_params.rbi @@ -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( diff --git a/sig/increase/models/event.rbs b/sig/increase/models/event.rbs index df38c855d..ed24c7a37 100644 --- a/sig/increase/models/event.rbs +++ b/sig/increase/models/event.rbs @@ -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" @@ -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" diff --git a/sig/increase/models/event_list_params.rbs b/sig/increase/models/event_list_params.rbs index cc7e24bd5..7a6f46529 100644 --- a/sig/increase/models/event_list_params.rbs +++ b/sig/increase/models/event_list_params.rbs @@ -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" @@ -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" diff --git a/sig/increase/models/event_subscription.rbs b/sig/increase/models/event_subscription.rbs index c9c420e11..32c3cfa83 100644 --- a/sig/increase/models/event_subscription.rbs +++ b/sig/increase/models/event_subscription.rbs @@ -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" @@ -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" diff --git a/sig/increase/models/event_subscription_create_params.rbs b/sig/increase/models/event_subscription_create_params.rbs index f57c38d02..29710cf03 100644 --- a/sig/increase/models/event_subscription_create_params.rbs +++ b/sig/increase/models/event_subscription_create_params.rbs @@ -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" @@ -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" From 03708647f4f70800c3b9660e50f00632f679d7fa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 19:46:24 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/entity_create_params.rb | 10 +--------- rbi/increase/models/entity_create_params.rbi | 17 +++-------------- sig/increase/models/entity_create_params.rbs | 13 +++---------- 4 files changed, 9 insertions(+), 35 deletions(-) diff --git a/.stats.yml b/.stats.yml index d843fc927..02225f19a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2965cbcf43d274ee029249246f9e3760a82372b9120a033bd651cad24765a4fb.yml -openapi_spec_hash: ae42e357b1bedbf992105c2a37f1b544 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-43d34b4805f305e7e2c71644ade73722d053018acd6009352360e8a87cbe2250.yml +openapi_spec_hash: cfff23de89960d895052350a33499cf1 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/lib/increase/models/entity_create_params.rb b/lib/increase/models/entity_create_params.rb index d155081bb..44b8b33f5 100644 --- a/lib/increase/models/entity_create_params.rb +++ b/lib/increase/models/entity_create_params.rb @@ -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] 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 diff --git a/rbi/increase/models/entity_create_params.rbi b/rbi/increase/models/entity_create_params.rbi index d53e928b2..49a47fc6b 100644 --- a/rbi/increase/models/entity_create_params.rbi +++ b/rbi/increase/models/entity_create_params.rbi @@ -1467,27 +1467,17 @@ 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 @@ -1495,8 +1485,7 @@ module Increase override.returns( { individuals: - T::Array[Increase::EntityCreateParams::Joint::Individual], - name: String + T::Array[Increase::EntityCreateParams::Joint::Individual] } ) end diff --git a/sig/increase/models/entity_create_params.rbs b/sig/increase/models/entity_create_params.rbs index 08cc4ad5a..da2585376 100644 --- a/sig/increase/models/entity_create_params.rbs +++ b/sig/increase/models/entity_create_params.rbs @@ -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 = From d903cbec639242aa2474316eec6cf2ca0d32df30 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 19:46:43 +0000 Subject: [PATCH 3/3] release: 1.15.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e72f11310..7ccfe12c9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.14.0" + ".": "1.15.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d68ba999d..01a94ea86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Gemfile.lock b/Gemfile.lock index 3bab1f0ac..fd5b84eae 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.14.0) + increase (1.15.0) connection_pool GEM diff --git a/README.md b/README.md index 9dcf1e82b..6d4650d8b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.14.0" +gem "increase", "~> 1.15.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 79f3d932f..0c9f1f0bf 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.14.0" + VERSION = "1.15.0" end