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 .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"standardwebhooks": ">= 1.0"
}
},
"originGitCommit": "6b82663397fe1cb79087f508e4bdb37b67f90af5",
"originGitCommit": "ffa770b1b770d2a2b0ff81badbffe828bf5c7535",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "1.1.5",
Expand Down
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/whop_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@
require_relative "whop_sdk/economic_intelligence/types/list_economic_intelligence_response_page_info"
require_relative "whop_sdk/types/economic_intelligence_sentiment"
require_relative "whop_sdk/types/economic_intelligence_status"
require_relative "whop_sdk/types/economic_intelligence_operation"
require_relative "whop_sdk/types/economic_intelligence"
require_relative "whop_sdk/economic_intelligence/types/list_economic_intelligence_response"
require_relative "whop_sdk/economic_intelligence/types/update_economic_intelligence_request_sentiment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module CreateAPIKeysRequestAPIVersionDate
TWO_THOUSAND_TWENTY_SIX09221 = "2026-09-22-1"
TWO_THOUSAND_TWENTY_SIX09222 = "2026-09-22-2"
TWO_THOUSAND_TWENTY_SIX09223 = "2026-09-22-3"
TWO_THOUSAND_TWENTY_SIX09224 = "2026-09-22-4"
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module UpdateAPIKeysRequestAPIVersionDate
TWO_THOUSAND_TWENTY_SIX09221 = "2026-09-22-1"
TWO_THOUSAND_TWENTY_SIX09222 = "2026-09-22-2"
TWO_THOUSAND_TWENTY_SIX09223 = "2026-09-22-3"
TWO_THOUSAND_TWENTY_SIX09224 = "2026-09-22-4"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/whop_sdk/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Client
# @param max_retries [Integer]
#
# @return [void]
def initialize(token:, base_url: nil, environment: Whop_sdk::Environment::PRODUCTION, api_version_date: "2026-09-22-3", idempotency_key: nil, max_retries: 2)
def initialize(token:, base_url: nil, environment: Whop_sdk::Environment::PRODUCTION, api_version_date: "2026-09-22-4", idempotency_key: nil, max_retries: 2)
@base_url = base_url
@environment = environment

Expand Down
1 change: 1 addition & 0 deletions lib/whop_sdk/types/api_key_api_version_date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module APIKeyAPIVersionDate
TWO_THOUSAND_TWENTY_SIX09221 = "2026-09-22-1"
TWO_THOUSAND_TWENTY_SIX09222 = "2026-09-22-2"
TWO_THOUSAND_TWENTY_SIX09223 = "2026-09-22-3"
TWO_THOUSAND_TWENTY_SIX09224 = "2026-09-22-4"
end
end
end
2 changes: 1 addition & 1 deletion lib/whop_sdk/types/economic_intelligence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class EconomicIntelligence < Internal::Types::Model

field :executed_at, -> { String }, optional: false, nullable: true

field :expected_tool_calls, -> { Internal::Types::Array[String] }, optional: false, nullable: true
field :expected_tool_calls, -> { Internal::Types::Array[Whop_sdk::Types::EconomicIntelligenceOperation] }, optional: false, nullable: true

field :id, -> { String }, optional: false, nullable: false

Expand Down
11 changes: 11 additions & 0 deletions lib/whop_sdk/types/economic_intelligence_operation.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

module Whop_sdk
module Types
class EconomicIntelligenceOperation < Internal::Types::Model
field :description, -> { String }, optional: false, nullable: true

field :tool_name, -> { String }, optional: false, nullable: false
end
end
end
Loading