whop_sdk 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +3 -3
- data/.fern/replay.lock +253 -1
- data/lib/whop_sdk/accounts/client.rb +66 -1
- data/lib/whop_sdk/accounts/types/list_accounts_request.rb +2 -0
- data/lib/whop_sdk/accounts/types/search_accounts_request.rb +23 -0
- data/lib/whop_sdk/accounts/types/search_accounts_request_direction.rb +14 -0
- data/lib/whop_sdk/accounts/types/search_accounts_request_order.rb +13 -0
- data/lib/whop_sdk/accounts/types/search_accounts_response.rb +13 -0
- data/lib/whop_sdk/accounts/types/search_accounts_response_page_info.rb +17 -0
- data/lib/whop_sdk/accounts/types/update_accounts_request.rb +2 -0
- data/lib/whop_sdk/api_keys/types/create_api_keys_request_api_version_date.rb +4 -0
- data/lib/whop_sdk/api_keys/types/update_api_keys_request_api_version_date.rb +4 -0
- data/lib/whop_sdk/client.rb +1 -6
- data/lib/whop_sdk/deposits/client.rb +3 -1
- data/lib/whop_sdk/deposits/types/create_deposits_request.rb +2 -0
- data/lib/whop_sdk/deposits/types/create_deposits_response_methods.rb +2 -0
- data/lib/whop_sdk/deposits/types/create_deposits_response_methods_card.rb +14 -0
- data/lib/whop_sdk/disputes/client.rb +39 -0
- data/lib/whop_sdk/disputes/types/accept_disputes_request.rb +11 -0
- data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.rb +2 -0
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.rb +2 -0
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_response_rows_item_line_category.rb +2 -0
- data/lib/whop_sdk/identity_profiles/client.rb +3 -0
- data/lib/whop_sdk/internal/http/raw_client.rb +1 -1
- data/lib/whop_sdk/partners/businesses/client.rb +57 -10
- data/lib/whop_sdk/partners/businesses/earnings/client.rb +2 -1
- data/lib/whop_sdk/partners/businesses/types/list_businesses_request_advance_status.rb +1 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_request.rb +15 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response.rb +45 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_account.rb +26 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_blueprint_partner.rb +20 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_blueprint_partner_profile_picture.rb +14 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_earnings_usd.rb +17 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_first_tier_partner.rb +21 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_first_tier_partner_profile_picture.rb +14 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_my_partner_tier.rb +17 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_object.rb +15 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_owner.rb +22 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_owner_profile_picture.rb +14 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_payout_percentages.rb +22 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_pending_owner_invites_item.rb +15 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_second_tier_partner.rb +21 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_second_tier_partner_profile_picture.rb +14 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_status.rb +16 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_volume_usd.rb +19 -0
- data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response.rb +2 -0
- data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response_pending_owner_invites_item.rb +15 -0
- data/lib/whop_sdk/partners/businesses/types/update_businesses_request.rb +2 -2
- data/lib/whop_sdk/partners/client.rb +38 -0
- data/lib/whop_sdk/partners/types/fee_options_partners_response.rb +13 -0
- data/lib/whop_sdk/partners/types/fee_options_partners_response_object.rb +13 -0
- data/lib/whop_sdk/partners/types/fee_options_partners_response_streams_item.rb +19 -0
- data/lib/whop_sdk/partners/types/fee_options_partners_response_streams_item_fee.rb +18 -0
- data/lib/whop_sdk/partners/types/fee_options_partners_response_streams_item_fee_regions_item.rb +15 -0
- data/lib/whop_sdk/partners/types/fee_options_partners_response_streams_item_income_stream.rb +20 -0
- data/lib/whop_sdk/partners/types/fee_options_partners_response_streams_item_unadjustable_reason.rb +16 -0
- data/lib/whop_sdk/payment_method_domains/client.rb +11 -5
- data/lib/whop_sdk/payments/types/refund_payments_request.rb +2 -0
- data/lib/whop_sdk/payouts/client.rb +7 -5
- data/lib/whop_sdk/payouts/types/cancel_payouts_response.rb +2 -0
- data/lib/whop_sdk/payouts/types/create_payouts_response.rb +2 -0
- data/lib/whop_sdk/payouts/types/list_payouts_response_data_item.rb +2 -0
- data/lib/whop_sdk/payouts/types/post_payout_created_payload_data.rb +2 -0
- data/lib/whop_sdk/payouts/types/post_payout_reversed_payload_data.rb +2 -0
- data/lib/whop_sdk/payouts/types/post_payout_updated_payload_data.rb +2 -0
- data/lib/whop_sdk/payouts/types/retrieve_payouts_response.rb +2 -0
- data/lib/whop_sdk/setup_intents/types/create_setup_intents_request.rb +2 -0
- data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/stats/client.rb +2 -0
- data/lib/whop_sdk/stats/reports/client.rb +4 -2
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request.rb +2 -0
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request_breakdown_by.rb +1 -0
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item.rb +2 -0
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_product_category.rb +15 -0
- data/lib/whop_sdk/stats/time_series/client.rb +2 -0
- data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_request.rb +2 -0
- data/lib/whop_sdk/stats/types/retrieve_stats_request.rb +2 -0
- data/lib/whop_sdk/support_channels/client.rb +2 -0
- data/lib/whop_sdk/support_channels/types/list_support_channels_request.rb +2 -0
- data/lib/whop_sdk/team_members/client.rb +10 -1
- data/lib/whop_sdk/team_members/types/list_team_members_request.rb +8 -0
- data/lib/whop_sdk/transfers/client.rb +2 -2
- data/lib/whop_sdk/transfers/types/create_transfers_request_body_balance.rb +2 -2
- data/lib/whop_sdk/types/account.rb +6 -2
- data/lib/whop_sdk/types/account_required_action_action.rb +1 -0
- data/lib/whop_sdk/types/account_search_result.rb +15 -0
- data/lib/whop_sdk/types/api_key_api_version_date.rb +4 -0
- data/lib/whop_sdk/types/dispute.rb +2 -0
- data/lib/whop_sdk/types/ledger_activity_line_type.rb +2 -0
- data/lib/whop_sdk/types/partner_advance.rb +4 -4
- data/lib/whop_sdk/types/partner_advance_status.rb +1 -0
- data/lib/whop_sdk/types/payment_method_list_item_us_bank_account_payment_method_us_bank_account.rb +3 -3
- data/lib/whop_sdk/types/payment_method_us_bank_account_payment_method_us_bank_account.rb +3 -3
- data/lib/whop_sdk/types/permission_action.rb +2 -0
- data/lib/whop_sdk/types/refund.rb +2 -0
- data/lib/whop_sdk/types/refund_legacy.rb +2 -0
- data/lib/whop_sdk/types/refund_list_item.rb +2 -0
- data/lib/whop_sdk/types/team_member.rb +4 -0
- data/lib/whop_sdk/types/user_fees.rb +17 -0
- data/lib/whop_sdk/types/webhook_event.rb +3 -0
- data/lib/whop_sdk/types/webhook_events_item.rb +3 -0
- data/lib/whop_sdk/types/webhook_list_item_events_item.rb +3 -0
- data/lib/whop_sdk/types/webhook_testable_events_item.rb +3 -0
- data/lib/whop_sdk/users/client.rb +5 -0
- data/lib/whop_sdk/users/fees/client.rb +59 -0
- data/lib/whop_sdk/users/fees/types/retrieve_fees_request.rb +13 -0
- data/lib/whop_sdk/verifications/client.rb +12 -5
- data/lib/whop_sdk/verifications/types/create_verifications_request_body_business.rb +2 -0
- data/lib/whop_sdk/verifications/types/create_verifications_request_body_business_owners_item.rb +38 -0
- data/lib/whop_sdk/verifications/types/create_verifications_request_body_business_owners_item_address.rb +22 -0
- data/lib/whop_sdk/verifications/types/create_verifications_request_body_business_owners_item_document_type.rb +16 -0
- data/lib/whop_sdk/verifications/types/create_verifications_request_body_business_owners_item_documents.rb +30 -0
- data/lib/whop_sdk/verifications/types/create_verifications_request_body_business_owners_item_roles_item.rb +16 -0
- data/lib/whop_sdk/verifications/types/create_verifications_request_body_individual_document_type.rb +4 -4
- data/lib/whop_sdk/verifications/types/create_verifications_response.rb +2 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_owners_item.rb +23 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_owners_item_required_documents_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_owners_item_required_documents_item_status.rb +14 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_owners_item_roles_item.rb +16 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_owners_item_status.rb +19 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item.rb +2 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_owners_item.rb +23 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_owners_item_required_documents_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_owners_item_required_documents_item_status.rb +14 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_owners_item_roles_item.rb +16 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_owners_item_status.rb +19 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response.rb +2 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_owners_item.rb +23 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_owners_item_required_documents_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_owners_item_required_documents_item_status.rb +14 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_owners_item_roles_item.rb +16 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_owners_item_status.rb +19 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address.rb +10 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address_documents.rb +18 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address_owners_item.rb +43 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address_owners_item_address.rb +22 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address_owners_item_document_type.rb +16 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address_owners_item_documents.rb +30 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address_owners_item_roles_item.rb +16 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response.rb +2 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_owners_item.rb +23 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_owners_item_required_documents_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_owners_item_required_documents_item_status.rb +14 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_owners_item_roles_item.rb +16 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_owners_item_status.rb +19 -0
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk/webhooks/types/create_webhooks_request_events_item.rb +3 -0
- data/lib/whop_sdk/webhooks/types/update_webhooks_request_events_item.rb +3 -0
- data/lib/whop_sdk.rb +69 -3
- data/reference.md +500 -130
- metadata +71 -5
- data/lib/whop_sdk/topups/client.rb +0 -64
- data/lib/whop_sdk/topups/types/create_topups_request.rb +0 -17
- data/lib/whop_sdk/types/topup.rb +0 -23
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
class FeeOptionsPartnersResponseStreamsItem < Internal::Types::Model
|
|
7
|
+
field :adjustable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :commission_percentage, -> { Integer }, optional: false, nullable: true
|
|
10
|
+
|
|
11
|
+
field :fee, -> { Whop_sdk::Partners::Types::FeeOptionsPartnersResponseStreamsItemFee }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :income_stream, -> { Whop_sdk::Partners::Types::FeeOptionsPartnersResponseStreamsItemIncomeStream }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :unadjustable_reason, -> { Whop_sdk::Partners::Types::FeeOptionsPartnersResponseStreamsItemUnadjustableReason }, optional: false, nullable: true
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
# The merchant fee behind this stream, or null when the business is charged nothing on it.
|
|
7
|
+
class FeeOptionsPartnersResponseStreamsItemFee < Internal::Types::Model
|
|
8
|
+
field :minimum_percentage, -> { Integer }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :percentage, -> { Integer }, optional: false, nullable: false
|
|
11
|
+
|
|
12
|
+
field :reference_region, -> { String }, optional: false, nullable: true
|
|
13
|
+
|
|
14
|
+
field :regions, -> { Internal::Types::Array[Whop_sdk::Partners::Types::FeeOptionsPartnersResponseStreamsItemFeeRegionsItem] }, optional: false, nullable: false
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
data/lib/whop_sdk/partners/types/fee_options_partners_response_streams_item_fee_regions_item.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
class FeeOptionsPartnersResponseStreamsItemFeeRegionsItem < Internal::Types::Model
|
|
7
|
+
field :minimum_percentage, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :percentage, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :region, -> { String }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
module FeeOptionsPartnersResponseStreamsItemIncomeStream
|
|
7
|
+
extend Whop_sdk::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
SALES = "sales"
|
|
10
|
+
TRANSFER = "transfer"
|
|
11
|
+
CARD_INTERCHANGE = "card_interchange"
|
|
12
|
+
AD_SPEND = "ad_spend"
|
|
13
|
+
WITHDRAWAL = "withdrawal"
|
|
14
|
+
ONBOARDING_REWARD = "onboarding_reward"
|
|
15
|
+
PARTNER_REWARD = "partner_reward"
|
|
16
|
+
VERIFIED_PARTNER_REFERRAL_PAYBACK = "verified_partner_referral_payback"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
data/lib/whop_sdk/partners/types/fee_options_partners_response_streams_item_unadjustable_reason.rb
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
module FeeOptionsPartnersResponseStreamsItemUnadjustableReason
|
|
7
|
+
extend Whop_sdk::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
NO_MERCHANT_FEE = "no_merchant_fee"
|
|
10
|
+
COMMISSION_FIXED = "commission_fixed"
|
|
11
|
+
NO_HEADROOM = "no_headroom"
|
|
12
|
+
FEE_UNAVAILABLE = "fee_unavailable"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -14,7 +14,8 @@ module Whop_sdk
|
|
|
14
14
|
@environment = environment
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
# Lists the payment method domains registered for your account and its connected accounts.
|
|
17
|
+
# Lists the payment method domains registered for your account and its connected accounts. Deprecated: list
|
|
18
|
+
# domains with `GET /domains` and the `apple_pay` filter instead.
|
|
18
19
|
#
|
|
19
20
|
# @param request_options [Hash]
|
|
20
21
|
# @param params [Hash]
|
|
@@ -88,7 +89,8 @@ module Whop_sdk
|
|
|
88
89
|
# Registers a hostname with the wallet provider and attempts verification inline. Returns `verified` when the
|
|
89
90
|
# provider fetched the domain-association file (for Apple Pay,
|
|
90
91
|
# `/.well-known/apple-developer-merchantid-domain-association`), or `pending` when it could not: host the file,
|
|
91
|
-
# then retry with `POST /payment_method_domains/:id/verify`.
|
|
92
|
+
# then retry with `POST /payment_method_domains/:id/verify`. Deprecated: add Apple Pay with `POST /domains` and
|
|
93
|
+
# `apple_pay: {}` instead.
|
|
92
94
|
#
|
|
93
95
|
# @param request_options [Hash]
|
|
94
96
|
# @param params [Whop_sdk::PaymentMethodDomains::Types::CreatePaymentMethodDomainsRequest]
|
|
@@ -125,7 +127,8 @@ module Whop_sdk
|
|
|
125
127
|
end
|
|
126
128
|
end
|
|
127
129
|
|
|
128
|
-
# Retrieves a payment method domain to check its verification status.
|
|
130
|
+
# Retrieves a payment method domain to check its verification status. Deprecated: retrieve the domain with `GET
|
|
131
|
+
# /domains/{id}` instead, using the same ID.
|
|
129
132
|
#
|
|
130
133
|
# @param request_options [Hash]
|
|
131
134
|
# @param params [Hash]
|
|
@@ -162,7 +165,9 @@ module Whop_sdk
|
|
|
162
165
|
end
|
|
163
166
|
end
|
|
164
167
|
|
|
165
|
-
# Unregisters a payment method domain so its wallet payment methods stop rendering there.
|
|
168
|
+
# Unregisters a payment method domain so its wallet payment methods stop rendering there. Deprecated: remove Apple
|
|
169
|
+
# Pay with `PATCH /domains/{id}` and `apple_pay: null` instead. `DELETE /domains/{id}` removes the whole domain,
|
|
170
|
+
# including any website on it.
|
|
166
171
|
#
|
|
167
172
|
# @param request_options [Hash]
|
|
168
173
|
# @param params [Hash]
|
|
@@ -200,7 +205,8 @@ module Whop_sdk
|
|
|
200
205
|
end
|
|
201
206
|
|
|
202
207
|
# Re-attempts provider verification of a pending domain once the association file is hosted. Fails with a
|
|
203
|
-
# `bad_request` explaining what to fix; verifying an already `verified` domain is a no-op.
|
|
208
|
+
# `bad_request` explaining what to fix; verifying an already `verified` domain is a no-op. Deprecated: check the
|
|
209
|
+
# domain with `POST /domains/{id}/check` instead.
|
|
204
210
|
#
|
|
205
211
|
# @param request_options [Hash]
|
|
206
212
|
# @param params [Hash]
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class RefundPaymentsRequest < Internal::Types::Model
|
|
7
7
|
field :id, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :partial_amount, -> { Integer }, optional: true, nullable: false
|
|
10
12
|
end
|
|
11
13
|
end
|
|
@@ -166,7 +166,7 @@ module Whop_sdk
|
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
-
# Retrieves a payout by its `wdrl_` ID, or by the `cofr_` conversion request ID a
|
|
169
|
+
# Retrieves a payout by its `wdrl_` ID, or by the `cofr_` conversion request ID a payout carries as
|
|
170
170
|
# `payout_request_id`. Authentication is optional: anyone with the ID can view tracking details, including notes,
|
|
171
171
|
# trace code, exchange rate, and payout request ID, while accounting fields require `payout:withdrawal:read` on
|
|
172
172
|
# the account or user that owns the payout. A supplied invalid credential returns 401.
|
|
@@ -213,10 +213,12 @@ module Whop_sdk
|
|
|
213
213
|
end
|
|
214
214
|
end
|
|
215
215
|
|
|
216
|
-
# Cancels a payout
|
|
217
|
-
#
|
|
218
|
-
#
|
|
219
|
-
#
|
|
216
|
+
# Cancels a payout before it is sent to the payout provider, or asks the provider to stop one already sent. While
|
|
217
|
+
# the payout is `in_review`, or `processing` with nothing sent yet (see `cancelable`), it is canceled and the
|
|
218
|
+
# funds, fees included, return to the balance. Once sent, the response is 202 with a `cancellation` object, and
|
|
219
|
+
# the payout reads `canceled` only if the provider confirms it stopped. A `requested` payout returns 409 until it
|
|
220
|
+
# reaches review, a payout the provider can no longer stop returns 409 with error type `not_cancelable`, and
|
|
221
|
+
# canceling an already-canceled payout returns it unchanged.
|
|
220
222
|
#
|
|
221
223
|
# @param request_options [Hash]
|
|
222
224
|
# @param params [Hash]
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class CancelPayoutsResponse < Internal::Types::Model
|
|
7
7
|
field :amount, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :cancelable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class CreatePayoutsResponse < Internal::Types::Model
|
|
7
7
|
field :amount, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :cancelable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class ListPayoutsResponseDataItem < Internal::Types::Model
|
|
7
7
|
field :amount, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :cancelable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class PostPayoutCreatedPayloadData < Internal::Types::Model
|
|
7
7
|
field :amount, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :cancelable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class PostPayoutReversedPayloadData < Internal::Types::Model
|
|
7
7
|
field :amount, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :cancelable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class PostPayoutUpdatedPayloadData < Internal::Types::Model
|
|
7
7
|
field :amount, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :cancelable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class RetrievePayoutsResponse < Internal::Types::Model
|
|
7
7
|
field :amount, -> { String }, optional: true, nullable: false
|
|
8
8
|
|
|
9
|
+
field :cancelable, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -14,6 +14,8 @@ module Whop_sdk
|
|
|
14
14
|
|
|
15
15
|
field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
|
|
16
16
|
|
|
17
|
+
field :owner_id, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
17
19
|
field :payment_method_id, -> { String }, optional: true, nullable: false
|
|
18
20
|
|
|
19
21
|
field :purpose, -> { Whop_sdk::SetupIntents::Types::CreateSetupIntentsRequestPurpose }, optional: true, nullable: false
|
|
@@ -97,6 +97,7 @@ module Whop_sdk
|
|
|
97
97
|
# @option params [String, nil] :event
|
|
98
98
|
# @option params [String, nil] :business_type
|
|
99
99
|
# @option params [String, nil] :industry_type
|
|
100
|
+
# @option params [String, nil] :product_category
|
|
100
101
|
# @option params [String, nil] :issuer
|
|
101
102
|
# @option params [String, nil] :conversion_window
|
|
102
103
|
# @option params [Boolean, nil] :mature_only
|
|
@@ -182,6 +183,7 @@ module Whop_sdk
|
|
|
182
183
|
query_params["event"] = params[:event] if params.key?(:event)
|
|
183
184
|
query_params["business_type"] = params[:business_type] if params.key?(:business_type)
|
|
184
185
|
query_params["industry_type"] = params[:industry_type] if params.key?(:industry_type)
|
|
186
|
+
query_params["product_category"] = params[:product_category] if params.key?(:product_category)
|
|
185
187
|
query_params["issuer"] = params[:issuer] if params.key?(:issuer)
|
|
186
188
|
query_params["conversion_window"] = params[:conversion_window] if params.key?(:conversion_window)
|
|
187
189
|
query_params["mature_only"] = params[:mature_only] if params.key?(:mature_only)
|
|
@@ -53,8 +53,8 @@ module Whop_sdk
|
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# Retrieves payments across all of Whop for up to four windows at once, optionally broken down by business type,
|
|
56
|
-
# industry type, account country or customer country. The report covers the whole platform, so
|
|
57
|
-
# `account_id` and any authenticated caller can read it.
|
|
56
|
+
# industry type, product category, account country or customer country. The report covers the whole platform, so
|
|
57
|
+
# it takes no `account_id` and any authenticated caller can read it.
|
|
58
58
|
#
|
|
59
59
|
# @param request_options [Hash]
|
|
60
60
|
# @param params [Hash]
|
|
@@ -72,6 +72,7 @@ module Whop_sdk
|
|
|
72
72
|
# @option params [String, nil] :convert_to
|
|
73
73
|
# @option params [String, nil] :business_type
|
|
74
74
|
# @option params [String, nil] :industry_type
|
|
75
|
+
# @option params [String, nil] :product_category
|
|
75
76
|
# @option params [String, nil] :account_country
|
|
76
77
|
# @option params [String, nil] :customer_country
|
|
77
78
|
# @option params [Integer, nil] :first
|
|
@@ -93,6 +94,7 @@ module Whop_sdk
|
|
|
93
94
|
query_params["convert_to"] = params[:convert_to] if params.key?(:convert_to)
|
|
94
95
|
query_params["business_type"] = params[:business_type] if params.key?(:business_type)
|
|
95
96
|
query_params["industry_type"] = params[:industry_type] if params.key?(:industry_type)
|
|
97
|
+
query_params["product_category"] = params[:product_category] if params.key?(:product_category)
|
|
96
98
|
query_params["account_country"] = params[:account_country] if params.key?(:account_country)
|
|
97
99
|
query_params["customer_country"] = params[:customer_country] if params.key?(:customer_country)
|
|
98
100
|
query_params["first"] = params[:first] if params.key?(:first)
|
|
@@ -23,6 +23,8 @@ module Whop_sdk
|
|
|
23
23
|
|
|
24
24
|
field :industry_type, -> { String }, optional: true, nullable: false
|
|
25
25
|
|
|
26
|
+
field :product_category, -> { String }, optional: true, nullable: false
|
|
27
|
+
|
|
26
28
|
field :account_country, -> { String }, optional: true, nullable: false
|
|
27
29
|
|
|
28
30
|
field :customer_country, -> { String }, optional: true, nullable: false
|
|
@@ -33,6 +33,8 @@ module Whop_sdk
|
|
|
33
33
|
|
|
34
34
|
field :payments, -> { Integer }, optional: true, nullable: false
|
|
35
35
|
|
|
36
|
+
field :product_category, -> { Whop_sdk::Stats::Reports::Types::PlatformTrendsReportsResponseDataReportsItemRowsItemProductCategory }, optional: true, nullable: false
|
|
37
|
+
|
|
36
38
|
field :repeat_rate, -> { Integer }, optional: true, nullable: false
|
|
37
39
|
end
|
|
38
40
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Stats
|
|
5
|
+
module Reports
|
|
6
|
+
module Types
|
|
7
|
+
class PlatformTrendsReportsResponseDataReportsItemRowsItemProductCategory < Internal::Types::Model
|
|
8
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -99,6 +99,7 @@ module Whop_sdk
|
|
|
99
99
|
# @option params [String, nil] :event
|
|
100
100
|
# @option params [String, nil] :business_type
|
|
101
101
|
# @option params [String, nil] :industry_type
|
|
102
|
+
# @option params [String, nil] :product_category
|
|
102
103
|
# @option params [String, nil] :issuer
|
|
103
104
|
# @option params [String, nil] :conversion_window
|
|
104
105
|
# @option params [Boolean, nil] :mature_only
|
|
@@ -184,6 +185,7 @@ module Whop_sdk
|
|
|
184
185
|
query_params["event"] = params[:event] if params.key?(:event)
|
|
185
186
|
query_params["business_type"] = params[:business_type] if params.key?(:business_type)
|
|
186
187
|
query_params["industry_type"] = params[:industry_type] if params.key?(:industry_type)
|
|
188
|
+
query_params["product_category"] = params[:product_category] if params.key?(:product_category)
|
|
187
189
|
query_params["issuer"] = params[:issuer] if params.key?(:issuer)
|
|
188
190
|
query_params["conversion_window"] = params[:conversion_window] if params.key?(:conversion_window)
|
|
189
191
|
query_params["mature_only"] = params[:mature_only] if params.key?(:mature_only)
|
|
@@ -79,6 +79,8 @@ module Whop_sdk
|
|
|
79
79
|
|
|
80
80
|
field :industry_type, -> { String }, optional: true, nullable: false
|
|
81
81
|
|
|
82
|
+
field :product_category, -> { String }, optional: true, nullable: false
|
|
83
|
+
|
|
82
84
|
field :issuer, -> { String }, optional: true, nullable: false
|
|
83
85
|
|
|
84
86
|
field :conversion_window, -> { String }, optional: true, nullable: false
|
|
@@ -78,6 +78,8 @@ module Whop_sdk
|
|
|
78
78
|
|
|
79
79
|
field :industry_type, -> { String }, optional: true, nullable: false
|
|
80
80
|
|
|
81
|
+
field :product_category, -> { String }, optional: true, nullable: false
|
|
82
|
+
|
|
81
83
|
field :issuer, -> { String }, optional: true, nullable: false
|
|
82
84
|
|
|
83
85
|
field :conversion_window, -> { String }, optional: true, nullable: false
|
|
@@ -34,6 +34,7 @@ module Whop_sdk
|
|
|
34
34
|
# @option params [Whop_sdk::Types::SupportChannelView, nil] :view
|
|
35
35
|
# @option params [Boolean, nil] :open
|
|
36
36
|
# @option params [String, nil] :customer_user_id
|
|
37
|
+
# @option params [String, nil] :customer_user_ids
|
|
37
38
|
# @option params [Boolean, nil] :participated
|
|
38
39
|
# @option params [Boolean, nil] :include_last_message
|
|
39
40
|
# @option params [Boolean, nil] :include_participated
|
|
@@ -59,6 +60,7 @@ module Whop_sdk
|
|
|
59
60
|
query_params["view"] = params[:view] if params.key?(:view)
|
|
60
61
|
query_params["open"] = params[:open] if params.key?(:open)
|
|
61
62
|
query_params["customer_user_id"] = params[:customer_user_id] if params.key?(:customer_user_id)
|
|
63
|
+
query_params["customer_user_ids"] = params[:customer_user_ids] if params.key?(:customer_user_ids)
|
|
62
64
|
query_params["participated"] = params[:participated] if params.key?(:participated)
|
|
63
65
|
query_params["include_last_message"] = params[:include_last_message] if params.key?(:include_last_message)
|
|
64
66
|
query_params["include_participated"] = params[:include_participated] if params.key?(:include_participated)
|
|
@@ -18,6 +18,8 @@ module Whop_sdk
|
|
|
18
18
|
|
|
19
19
|
field :customer_user_id, -> { String }, optional: true, nullable: false
|
|
20
20
|
|
|
21
|
+
field :customer_user_ids, -> { String }, optional: true, nullable: false
|
|
22
|
+
|
|
21
23
|
field :participated, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
22
24
|
|
|
23
25
|
field :include_last_message, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
@@ -16,7 +16,8 @@ module Whop_sdk
|
|
|
16
16
|
|
|
17
17
|
# Lists an account's team members, including pending invites. A user credential with `company:basic:read` may list
|
|
18
18
|
# only its own joined membership by passing its own `user_id` and `status=joined`. Listing `role=workforce` is
|
|
19
|
-
# also allowed with the `bounty:create` scope.
|
|
19
|
+
# also allowed with the `bounty:create` scope. Members with the view-only Partner role are listed after all other
|
|
20
|
+
# members.
|
|
20
21
|
#
|
|
21
22
|
# @param request_options [Hash]
|
|
22
23
|
# @param params [Hash]
|
|
@@ -29,6 +30,10 @@ module Whop_sdk
|
|
|
29
30
|
# @option params [Whop_sdk::TeamMembers::Types::ListTeamMembersRequestStatus, nil] :status
|
|
30
31
|
# @option params [String, nil] :user_id
|
|
31
32
|
# @option params [Whop_sdk::TeamMembers::Types::ListTeamMembersRequestRole, nil] :role
|
|
33
|
+
# @option params [String, nil] :query
|
|
34
|
+
# @option params [String, nil] :reports_to_id
|
|
35
|
+
# @option params [Integer, nil] :direct_reports_min
|
|
36
|
+
# @option params [Integer, nil] :direct_reports_max
|
|
32
37
|
# @option params [String, nil] :created_before
|
|
33
38
|
# @option params [String, nil] :created_after
|
|
34
39
|
# @option params [Whop_sdk::TeamMembers::Types::ListTeamMembersRequestOrder, nil] :order
|
|
@@ -49,6 +54,10 @@ module Whop_sdk
|
|
|
49
54
|
query_params["status"] = params[:status] if params.key?(:status)
|
|
50
55
|
query_params["user_id"] = params[:user_id] if params.key?(:user_id)
|
|
51
56
|
query_params["role"] = params[:role] if params.key?(:role)
|
|
57
|
+
query_params["query"] = params[:query] if params.key?(:query)
|
|
58
|
+
query_params["reports_to_id"] = params[:reports_to_id] if params.key?(:reports_to_id)
|
|
59
|
+
query_params["direct_reports_min"] = params[:direct_reports_min] if params.key?(:direct_reports_min)
|
|
60
|
+
query_params["direct_reports_max"] = params[:direct_reports_max] if params.key?(:direct_reports_max)
|
|
52
61
|
query_params["created_before"] = params[:created_before] if params.key?(:created_before)
|
|
53
62
|
query_params["created_after"] = params[:created_after] if params.key?(:created_after)
|
|
54
63
|
query_params["order"] = params[:order] if params.key?(:order)
|
|
@@ -12,6 +12,14 @@ module Whop_sdk
|
|
|
12
12
|
|
|
13
13
|
field :role, -> { Whop_sdk::TeamMembers::Types::ListTeamMembersRequestRole }, optional: true, nullable: false
|
|
14
14
|
|
|
15
|
+
field :query, -> { String }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :reports_to_id, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :direct_reports_min, -> { Integer }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :direct_reports_max, -> { Integer }, optional: true, nullable: false
|
|
22
|
+
|
|
15
23
|
field :created_before, -> { String }, optional: true, nullable: false
|
|
16
24
|
|
|
17
25
|
field :created_after, -> { String }, optional: true, nullable: false
|
|
@@ -82,8 +82,8 @@ module Whop_sdk
|
|
|
82
82
|
end
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
# Moves money between Whop balances
|
|
86
|
-
#
|
|
85
|
+
# Moves money between Whop balances or funds a claim link anyone with the URL can redeem. The `type` you send
|
|
86
|
+
# decides which object comes back.
|
|
87
87
|
#
|
|
88
88
|
# @param request_options [Hash]
|
|
89
89
|
# @param params [Whop_sdk::Transfers::Types::CreateTransfersRequestBody]
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Whop_sdk
|
|
4
4
|
module Transfers
|
|
5
5
|
module Types
|
|
6
|
-
# Moves credit between two Whop balances and returns a `transfer`.
|
|
7
|
-
#
|
|
6
|
+
# Moves credit between two Whop balances and returns a `transfer`. The transfer can come back `processing` and
|
|
7
|
+
# reach `succeeded` or `failed` asynchronously, usually within seconds.
|
|
8
8
|
class CreateTransfersRequestBodyBalance < Internal::Types::Model
|
|
9
9
|
field :amount, -> { Integer }, optional: false, nullable: false
|
|
10
10
|
|
|
@@ -33,6 +33,8 @@ module Whop_sdk
|
|
|
33
33
|
|
|
34
34
|
field :description, -> { String }, optional: false, nullable: true
|
|
35
35
|
|
|
36
|
+
field :direct_reports_count, -> { Integer }, optional: true, nullable: false
|
|
37
|
+
|
|
36
38
|
field :dispute_fighter_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
37
39
|
|
|
38
40
|
field :economic_intelligence, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
@@ -107,8 +109,6 @@ module Whop_sdk
|
|
|
107
109
|
|
|
108
110
|
field :social_links, -> { Internal::Types::Array[Whop_sdk::Types::AccountSocialLink] }, optional: false, nullable: false
|
|
109
111
|
|
|
110
|
-
field :stablecoin_rails, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
111
|
-
|
|
112
112
|
field :status, -> { String }, optional: false, nullable: true
|
|
113
113
|
|
|
114
114
|
field :status_reason, -> { String }, optional: false, nullable: true
|
|
@@ -141,11 +141,15 @@ module Whop_sdk
|
|
|
141
141
|
|
|
142
142
|
field :verification, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
143
143
|
|
|
144
|
+
field :volume_l30d_usd, -> { Integer }, optional: false, nullable: true
|
|
145
|
+
|
|
144
146
|
field :volume_usd, -> { Integer }, optional: false, nullable: true
|
|
145
147
|
|
|
146
148
|
field :wallet, -> { Whop_sdk::Types::AccountWallet }, optional: false, nullable: true
|
|
147
149
|
|
|
148
150
|
field :website, -> { String }, optional: false, nullable: true
|
|
151
|
+
|
|
152
|
+
field :whop_partner_enabled_at, -> { String }, optional: true, nullable: false
|
|
149
153
|
end
|
|
150
154
|
end
|
|
151
155
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Types
|
|
5
|
+
class AccountSearchResult < Internal::Types::Model
|
|
6
|
+
field :created_at, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :route, -> { String }, optional: false, nullable: false
|
|
11
|
+
|
|
12
|
+
field :title, -> { String }, optional: false, nullable: false
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -71,6 +71,10 @@ module Whop_sdk
|
|
|
71
71
|
TWO_THOUSAND_TWENTY_SIX10092 = "2026-10-09-2"
|
|
72
72
|
TWO_THOUSAND_TWENTY_SIX1013 = "2026-10-13"
|
|
73
73
|
TWO_THOUSAND_TWENTY_SIX10131 = "2026-10-13-1"
|
|
74
|
+
TWO_THOUSAND_TWENTY_SIX1014 = "2026-10-14"
|
|
75
|
+
TWO_THOUSAND_TWENTY_SIX10141 = "2026-10-14-1"
|
|
76
|
+
TWO_THOUSAND_TWENTY_SIX1015 = "2026-10-15"
|
|
77
|
+
TWO_THOUSAND_TWENTY_SIX10151 = "2026-10-15-1"
|
|
74
78
|
end
|
|
75
79
|
end
|
|
76
80
|
end
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
module Whop_sdk
|
|
4
4
|
module Types
|
|
5
5
|
class Dispute < Internal::Types::Model
|
|
6
|
+
field :acceptable, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
7
|
+
|
|
6
8
|
field :account_id, -> { String }, optional: false, nullable: true
|
|
7
9
|
|
|
8
10
|
field :amount, -> { Integer }, optional: false, nullable: false
|
|
@@ -86,6 +86,8 @@ module Whop_sdk
|
|
|
86
86
|
TRADING_ACCOUNT_DEPOSIT_OFFSET = "trading_account_deposit_offset"
|
|
87
87
|
ONCHAIN_WALLET_TRANSFER_OUTGOING = "onchain_wallet_transfer_outgoing"
|
|
88
88
|
ONCHAIN_WALLET_TRANSFER_INCOMING = "onchain_wallet_transfer_incoming"
|
|
89
|
+
ONCHAIN_INTERNAL_TRANSFER_OUTGOING = "onchain_internal_transfer_outgoing"
|
|
90
|
+
ONCHAIN_INTERNAL_TRANSFER_INCOMING = "onchain_internal_transfer_incoming"
|
|
89
91
|
ONCHAIN_SWAP_SOURCE = "onchain_swap_source"
|
|
90
92
|
ONCHAIN_SWAP_TARGET = "onchain_swap_target"
|
|
91
93
|
ONCHAIN_SWAP_OFFSET = "onchain_swap_offset"
|
|
@@ -3,18 +3,20 @@
|
|
|
3
3
|
module Whop_sdk
|
|
4
4
|
module Types
|
|
5
5
|
class PartnerAdvance < Internal::Types::Model
|
|
6
|
+
field :activity30day, -> { Whop_sdk::Types::Money }, optional: false, nullable: true, api_name: "activity_30_day"
|
|
7
|
+
|
|
6
8
|
field :activity60day, -> { Whop_sdk::Types::Money }, optional: false, nullable: true, api_name: "activity_60_day"
|
|
7
9
|
|
|
8
10
|
field :amount, -> { Whop_sdk::Types::Money }, optional: false, nullable: true
|
|
9
11
|
|
|
10
|
-
field :annual_ads, -> { Whop_sdk::Types::Money }, optional: false, nullable: false
|
|
11
|
-
|
|
12
12
|
field :annual_processing, -> { Whop_sdk::Types::Money }, optional: false, nullable: false
|
|
13
13
|
|
|
14
14
|
field :clawed_back_at, -> { String }, optional: false, nullable: true
|
|
15
15
|
|
|
16
16
|
field :deadline_at, -> { String }, optional: false, nullable: true
|
|
17
17
|
|
|
18
|
+
field :estimated_amount, -> { Whop_sdk::Types::Money }, optional: false, nullable: true
|
|
19
|
+
|
|
18
20
|
field :funded_at, -> { String }, optional: false, nullable: true
|
|
19
21
|
|
|
20
22
|
field :offer_token, -> { String }, optional: false, nullable: true
|
|
@@ -23,8 +25,6 @@ module Whop_sdk
|
|
|
23
25
|
|
|
24
26
|
field :projected60day_activity, -> { Whop_sdk::Types::Money }, optional: false, nullable: true, api_name: "projected_60_day_activity"
|
|
25
27
|
|
|
26
|
-
field :projected_ads_commissions, -> { Whop_sdk::Types::Money }, optional: false, nullable: true
|
|
27
|
-
|
|
28
28
|
field :projected_commissions, -> { Whop_sdk::Types::Money }, optional: false, nullable: true
|
|
29
29
|
|
|
30
30
|
field :projected_processing_commissions, -> { Whop_sdk::Types::Money }, optional: false, nullable: true
|