Skip to content
Open
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 @@
{
".": "0.1.0-alpha.9"
".": "0.1.0-alpha.10"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 959
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-3260c0cfb88ce2653c37c4c97e1dd39b965df4f2c14177677bc46d95b104525d.yml
openapi_spec_hash: 93b8671a542b331e067319184c943fdd
config_hash: 0bcc56e67986936da66e382674e17c79
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-5488ead22cc650288f5a0fb6a37104332901d820ab6106ec38f2526e75f30b77.yml
openapi_spec_hash: 02e722f05e34ead6d3a47c66162f9875
config_hash: 0d211891335b71bbcacf213fab8a70fe
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.10 (2026-05-28)

Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/HubSpot/hubspot-sdk-ruby/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)

### Features

* **api:** api update ([1fb62c9](https://github.com/HubSpot/hubspot-sdk-ruby/commit/1fb62c9d5b6b70459d9ead6a34288939b5dd4ae7))

## 0.1.0-alpha.9 (2026-05-26)

Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/HubSpot/hubspot-sdk-ruby/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
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:
hubspot-sdk (0.1.0.pre.alpha.9)
hubspot-sdk (0.1.0.pre.alpha.10)
cgi
connection_pool

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

```ruby
gem "hubspot-sdk", "~> 0.1.0.pre.alpha.9"
gem "hubspot-sdk", "~> 0.1.0.pre.alpha.10"
```

<!-- x-release-please-end -->
Expand Down
17 changes: 17 additions & 0 deletions lib/hubspot_sdk/internal/type/union.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ module Type
# else
# puts(subscription_upsert_request)
# end
#
# @example
# case subscription_upsert_request
# in {subscription_type: :OBJECT, actions: actions, object_ids: object_ids, object_type_id: object_type_id}
# puts(actions)
# in {
# subscription_type: :ASSOCIATION,
# actions: actions,
# associated_object_type_ids: associated_object_type_ids,
# object_ids: object_ids
# }
# puts(associated_object_type_ids)
# in {subscription_type: :APP_LIFECYCLE_EVENT, event_type_id: event_type_id, properties: properties}
# puts(event_type_id)
# else
# puts(subscription_upsert_request)
# end
module Union
include HubSpotSDK::Internal::Type::Converter
include HubSpotSDK::Internal::Util::SorbetRuntimeSupport
Expand Down
1 change: 1 addition & 0 deletions lib/hubspot_sdk/models/account/hydrated_critical_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ module Type
TEAM_DELETED = :TEAM_DELETED
TEAM_USER_ADDED = :TEAM_USER_ADDED
TEAM_USER_DELETED = :TEAM_USER_DELETED
TEMPLATE_DELETED = :TEMPLATE_DELETED
TEMPLATE_MODIFIED = :TEMPLATE_MODIFIED
TOUCHLESS_PURCHASE = :TOUCHLESS_PURCHASE
UNIFIED_RESTORE_UNDO_EXECUTION = :UNIFIED_RESTORE_UNDO_EXECUTION
Expand Down
6 changes: 4 additions & 2 deletions lib/hubspot_sdk/models/auth/token_info_response_base_if.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ module Auth
module TokenInfoResponseBaseIf
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Auth::PublicAccessTokenInfoResponse }
discriminator :token_use

variant -> { HubSpotSDK::Auth::PublicRefreshTokenInfoResponse }
variant :access_token, -> { HubSpotSDK::Auth::PublicAccessTokenInfoResponse }

variant :refresh_token, -> { HubSpotSDK::Auth::PublicRefreshTokenInfoResponse }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Auth::PublicAccessTokenInfoResponse, HubSpotSDK::Models::Auth::PublicRefreshTokenInfoResponse)]
Expand Down
6 changes: 4 additions & 2 deletions lib/hubspot_sdk/models/auth/token_response_if.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ module Auth
module TokenResponseIf
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Auth::AccessTokenResponse }
discriminator :token_use

variant -> { HubSpotSDK::Auth::ClientCredentialsTokenResponse }
variant :access_token, -> { HubSpotSDK::Auth::AccessTokenResponse }

variant :client_credentials, -> { HubSpotSDK::Auth::ClientCredentialsTokenResponse }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Auth::AccessTokenResponse, HubSpotSDK::Models::Auth::ClientCredentialsTokenResponse)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,17 @@ class CallbackCompletionBatchRequest < HubSpotSDK::Internal::Type::BaseModel
module RequestContext
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Automation::WorkflowsRequestContext }
discriminator :source

variant -> { HubSpotSDK::Automation::AgentRequestContext }
variant :WORKFLOWS, -> { HubSpotSDK::Automation::WorkflowsRequestContext }

variant -> { HubSpotSDK::Automation::CopilotRequestContext }
variant :AGENTS, -> { HubSpotSDK::Automation::AgentRequestContext }

variant -> { HubSpotSDK::Automation::StandaloneRequestContext }
variant :COPILOT, -> { HubSpotSDK::Automation::CopilotRequestContext }

variant -> { HubSpotSDK::Automation::TestRequestContext }
variant :STANDALONE, -> { HubSpotSDK::Automation::StandaloneRequestContext }

variant :TEST, -> { HubSpotSDK::Automation::TestRequestContext }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Automation::WorkflowsRequestContext, HubSpotSDK::Models::Automation::AgentRequestContext, HubSpotSDK::Models::Automation::CopilotRequestContext, HubSpotSDK::Models::Automation::StandaloneRequestContext, HubSpotSDK::Models::Automation::TestRequestContext)]
Expand Down
12 changes: 7 additions & 5 deletions lib/hubspot_sdk/models/automation/callback_completion_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,17 @@ class CallbackCompletionRequest < HubSpotSDK::Internal::Type::BaseModel
module RequestContext
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Automation::WorkflowsRequestContext }
discriminator :source

variant -> { HubSpotSDK::Automation::AgentRequestContext }
variant :WORKFLOWS, -> { HubSpotSDK::Automation::WorkflowsRequestContext }

variant -> { HubSpotSDK::Automation::CopilotRequestContext }
variant :AGENTS, -> { HubSpotSDK::Automation::AgentRequestContext }

variant -> { HubSpotSDK::Automation::StandaloneRequestContext }
variant :COPILOT, -> { HubSpotSDK::Automation::CopilotRequestContext }

variant -> { HubSpotSDK::Automation::TestRequestContext }
variant :STANDALONE, -> { HubSpotSDK::Automation::StandaloneRequestContext }

variant :TEST, -> { HubSpotSDK::Automation::TestRequestContext }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Automation::WorkflowsRequestContext, HubSpotSDK::Models::Automation::AgentRequestContext, HubSpotSDK::Models::Automation::CopilotRequestContext, HubSpotSDK::Models::Automation::StandaloneRequestContext, HubSpotSDK::Models::Automation::TestRequestContext)]
Expand Down
16 changes: 9 additions & 7 deletions lib/hubspot_sdk/models/automation/field_type_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,21 @@ class FieldTypeDefinition < HubSpotSDK::Internal::Type::BaseModel
module Schema
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Automation::IntegerFieldSchema }
discriminator :type

variant -> { HubSpotSDK::Automation::LongFieldSchema }
variant :INTEGER, -> { HubSpotSDK::Automation::IntegerFieldSchema }

variant -> { HubSpotSDK::Automation::DoubleFieldSchema }
variant :LONG, -> { HubSpotSDK::Automation::LongFieldSchema }

variant -> { HubSpotSDK::Automation::StringFieldSchema }
variant :DOUBLE, -> { HubSpotSDK::Automation::DoubleFieldSchema }

variant -> { HubSpotSDK::Automation::BooleanFieldSchema }
variant :STRING, -> { HubSpotSDK::Automation::StringFieldSchema }

variant -> { HubSpotSDK::Automation::ArrayFieldSchema }
variant :BOOLEAN, -> { HubSpotSDK::Automation::BooleanFieldSchema }

variant -> { HubSpotSDK::Automation::ObjectFieldSchema }
variant :ARRAY, -> { HubSpotSDK::Automation::ArrayFieldSchema }

variant :OBJECT, -> { HubSpotSDK::Automation::ObjectFieldSchema }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Automation::IntegerFieldSchema, HubSpotSDK::Models::Automation::LongFieldSchema, HubSpotSDK::Models::Automation::DoubleFieldSchema, HubSpotSDK::Models::Automation::StringFieldSchema, HubSpotSDK::Models::Automation::BooleanFieldSchema, HubSpotSDK::Models::Automation::ArrayFieldSchema, HubSpotSDK::Models::Automation::ObjectFieldSchema)]
Expand Down
6 changes: 4 additions & 2 deletions lib/hubspot_sdk/models/automation/public_action_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ class PublicActionDefinition < HubSpotSDK::Internal::Type::BaseModel
module InputFieldDependency
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Automation::PublicSingleFieldDependency }
discriminator :dependencyType

variant -> { HubSpotSDK::Automation::PublicConditionalSingleFieldDependency }
variant :SINGLE_FIELD, -> { HubSpotSDK::Automation::PublicSingleFieldDependency }

variant :CONDITIONAL_SINGLE_FIELD, -> { HubSpotSDK::Automation::PublicConditionalSingleFieldDependency }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Automation::PublicSingleFieldDependency, HubSpotSDK::Models::Automation::PublicConditionalSingleFieldDependency)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,11 @@ class PublicActionDefinitionEgg < HubSpotSDK::Internal::Type::BaseModel
module InputFieldDependency
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Automation::PublicSingleFieldDependency }
discriminator :dependencyType

variant -> { HubSpotSDK::Automation::PublicConditionalSingleFieldDependency }
variant :SINGLE_FIELD, -> { HubSpotSDK::Automation::PublicSingleFieldDependency }

variant :CONDITIONAL_SINGLE_FIELD, -> { HubSpotSDK::Automation::PublicConditionalSingleFieldDependency }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Automation::PublicSingleFieldDependency, HubSpotSDK::Models::Automation::PublicConditionalSingleFieldDependency)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ class PublicActionDefinitionPatch < HubSpotSDK::Internal::Type::BaseModel
module InputFieldDependency
extend HubSpotSDK::Internal::Type::Union

variant -> { HubSpotSDK::Automation::PublicSingleFieldDependency }
discriminator :dependencyType

variant -> { HubSpotSDK::Automation::PublicConditionalSingleFieldDependency }
variant :SINGLE_FIELD, -> { HubSpotSDK::Automation::PublicSingleFieldDependency }

variant :CONDITIONAL_SINGLE_FIELD, -> { HubSpotSDK::Automation::PublicConditionalSingleFieldDependency }

# @!method self.variants
# @return [Array(HubSpotSDK::Models::Automation::PublicSingleFieldDependency, HubSpotSDK::Models::Automation::PublicConditionalSingleFieldDependency)]
Expand Down
Loading
Loading