whop_sdk 0.0.39 → 0.0.41
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/CHANGELOG.md +11 -0
- data/README.md +3 -3
- data/lib/whop_sdk/client.rb +227 -72
- data/lib/whop_sdk/internal/transport/base_client.rb +5 -0
- data/lib/whop_sdk/internal/type/union.rb +6 -6
- data/lib/whop_sdk/models/account.rb +967 -0
- data/lib/whop_sdk/models/account_create_params.rb +43 -0
- data/lib/whop_sdk/models/account_list_params.rb +83 -0
- data/lib/whop_sdk/models/account_me_params.rb +14 -0
- data/lib/whop_sdk/models/account_recommend_actions_params.rb +20 -0
- data/lib/whop_sdk/models/account_recommend_actions_response.rb +143 -0
- data/lib/whop_sdk/models/account_retrieve_params.rb +20 -0
- data/lib/whop_sdk/models/account_social_link.rb +60 -0
- data/lib/whop_sdk/models/account_update_params.rb +512 -0
- data/lib/whop_sdk/models/accounts/preference_retrieve_params.rb +22 -0
- data/lib/whop_sdk/models/accounts/preference_retrieve_response.rb +129 -0
- data/lib/whop_sdk/models/accounts/preference_update_params.rb +142 -0
- data/lib/whop_sdk/models/accounts/preference_update_response.rb +129 -0
- data/lib/whop_sdk/models/ad.rb +808 -0
- data/lib/whop_sdk/models/ad_campaign.rb +635 -0
- data/lib/whop_sdk/models/ad_campaign_create_params.rb +194 -0
- data/lib/whop_sdk/models/{payout_method_retrieve_params.rb → ad_campaign_delete_params.rb} +2 -2
- data/lib/whop_sdk/models/ad_campaign_delete_response.rb +8 -0
- data/lib/whop_sdk/models/ad_campaign_list_params.rb +120 -36
- data/lib/whop_sdk/models/ad_campaign_retrieve_params.rb +26 -1
- data/lib/whop_sdk/models/ad_campaign_update_params.rb +99 -6
- data/lib/whop_sdk/models/ad_create_params.rb +660 -0
- data/lib/whop_sdk/models/ad_delete_params.rb +20 -0
- data/lib/whop_sdk/models/ad_delete_response.rb +8 -0
- data/lib/whop_sdk/models/ad_group.rb +774 -0
- data/lib/whop_sdk/models/ad_group_create_params.rb +346 -0
- data/lib/whop_sdk/models/ad_group_list_params.rb +114 -44
- data/lib/whop_sdk/models/ad_group_pause_params.rb +20 -0
- data/lib/whop_sdk/models/ad_group_retrieve_params.rb +26 -1
- data/lib/whop_sdk/models/ad_group_unpause_params.rb +20 -0
- data/lib/whop_sdk/models/ad_group_update_params.rb +238 -3109
- data/lib/whop_sdk/models/ad_list_params.rb +127 -42
- data/lib/whop_sdk/models/ad_pause_params.rb +20 -0
- data/lib/whop_sdk/models/ad_report_retrieve_params.rb +53 -23
- data/lib/whop_sdk/models/ad_report_retrieve_response.rb +403 -130
- data/lib/whop_sdk/models/ad_retrieve_params.rb +26 -1
- data/lib/whop_sdk/models/ad_unpause_params.rb +20 -0
- data/lib/whop_sdk/models/ad_update_params.rb +650 -0
- data/lib/whop_sdk/models/app.rb +81 -1
- data/lib/whop_sdk/models/app_build_create_params.rb +2 -2
- data/lib/whop_sdk/models/app_create_params.rb +10 -1
- data/lib/whop_sdk/models/app_list_response.rb +19 -1
- data/lib/whop_sdk/models/app_logs_params.rb +103 -0
- data/lib/whop_sdk/models/app_logs_response.rb +157 -0
- data/lib/whop_sdk/models/app_update_params.rb +21 -1
- data/lib/whop_sdk/models/audience.rb +191 -0
- data/lib/whop_sdk/models/audience_create_params.rb +96 -0
- data/lib/whop_sdk/models/audience_delete_params.rb +20 -0
- data/lib/whop_sdk/models/audience_delete_response.rb +16 -0
- data/lib/whop_sdk/models/audience_list_params.rb +46 -0
- data/lib/whop_sdk/models/authorized_user_create_params.rb +70 -1
- data/lib/whop_sdk/models/bounty_create_params.rb +70 -3
- data/lib/whop_sdk/models/bounty_create_response.rb +1 -0
- data/lib/whop_sdk/models/bounty_list_params.rb +1 -0
- data/lib/whop_sdk/models/bounty_list_response.rb +1 -0
- data/lib/whop_sdk/models/bounty_retrieve_response.rb +1 -0
- data/lib/whop_sdk/models/card_brands.rb +1 -0
- data/lib/whop_sdk/models/card_create_params.rb +88 -0
- data/lib/whop_sdk/models/card_create_response.rb +277 -0
- data/lib/whop_sdk/models/card_list_params.rb +30 -0
- data/lib/whop_sdk/models/card_list_response.rb +287 -0
- data/lib/whop_sdk/models/card_retrieve_params.rb +37 -0
- data/lib/whop_sdk/models/card_retrieve_response.rb +277 -0
- data/lib/whop_sdk/models/card_update_params.rb +181 -0
- data/lib/whop_sdk/models/card_update_response.rb +277 -0
- data/lib/whop_sdk/models/chat_message_created_webhook_event.rb +151 -0
- data/lib/whop_sdk/models/chat_reaction_created_webhook_event.rb +159 -0
- data/lib/whop_sdk/models/checkout_configuration.rb +35 -24
- data/lib/whop_sdk/models/checkout_configuration_create_params.rb +303 -1021
- data/lib/whop_sdk/models/checkout_configuration_create_response.rb +275 -0
- data/lib/whop_sdk/models/checkout_configuration_delete_params.rb +20 -0
- data/lib/whop_sdk/models/checkout_configuration_list_params.rb +50 -41
- data/lib/whop_sdk/models/checkout_configuration_list_response.rb +136 -122
- data/lib/whop_sdk/models/checkout_configuration_retrieve_response.rb +275 -0
- data/lib/whop_sdk/models/company.rb +2 -2
- data/lib/whop_sdk/models/company_list_response.rb +2 -2
- data/lib/whop_sdk/models/course.rb +2 -2
- data/lib/whop_sdk/models/course_list_response.rb +2 -2
- data/lib/whop_sdk/models/currency.rb +3 -0
- data/lib/whop_sdk/models/deposit_create_params.rb +90 -0
- data/lib/whop_sdk/models/deposit_create_response.rb +228 -0
- data/lib/whop_sdk/models/deposit_list_params.rb +22 -0
- data/lib/whop_sdk/models/deposit_list_response.rb +101 -0
- data/lib/whop_sdk/models/dispute.rb +14 -15
- data/lib/whop_sdk/models/dispute_alert_created_webhook_event.rb +4 -4
- data/lib/whop_sdk/models/dispute_alert_retrieve_response.rb +4 -4
- data/lib/whop_sdk/models/dispute_list_response.rb +2 -3
- data/lib/whop_sdk/models/{conversion_create_params.rb → event_create_params.rb} +294 -32
- data/lib/whop_sdk/models/event_create_response.rb +16 -0
- data/lib/whop_sdk/models/event_list_params.rb +75 -0
- data/lib/whop_sdk/models/event_list_response.rb +242 -0
- data/lib/whop_sdk/models/experience.rb +5 -8
- data/lib/whop_sdk/models/experience_list_response.rb +2 -5
- data/lib/whop_sdk/models/file_create_params.rb +3 -15
- data/lib/whop_sdk/models/file_create_response.rb +3 -16
- data/lib/whop_sdk/models/file_retrieve_response.rb +3 -16
- data/lib/whop_sdk/models/file_visibility.rb +17 -0
- data/lib/whop_sdk/models/financial_activity_list_params.rb +113 -0
- data/lib/whop_sdk/models/financial_activity_list_response.rb +1174 -0
- data/lib/whop_sdk/models/forum_post.rb +2 -2
- data/lib/whop_sdk/models/forum_post_list_response.rb +2 -2
- data/lib/whop_sdk/models/granularities.rb +18 -0
- data/lib/whop_sdk/models/identity_profile_approved_webhook_event.rb +431 -0
- data/lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb +432 -0
- data/lib/whop_sdk/models/identity_profile_rejected_webhook_event.rb +431 -0
- data/lib/whop_sdk/models/identity_profile_updated_webhook_event.rb +431 -0
- data/lib/whop_sdk/models/invoice_create_params.rb +34 -2
- data/lib/whop_sdk/models/invoice_update_params.rb +17 -1
- data/lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb +578 -0
- data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +67 -7
- data/lib/whop_sdk/models/lesson.rb +6 -6
- data/lib/whop_sdk/models/media_asset.rb +224 -0
- data/lib/whop_sdk/models/media_generate_params.rb +105 -0
- data/lib/whop_sdk/models/media_retrieve_params.rb +20 -0
- data/lib/whop_sdk/models/member_list_response.rb +3 -2
- data/lib/whop_sdk/models/member_retrieve_response.rb +3 -2
- data/lib/whop_sdk/models/membership.rb +26 -3
- data/lib/whop_sdk/models/membership_list_response.rb +26 -3
- data/lib/whop_sdk/models/membership_trial_ending_soon_webhook_event.rb +60 -0
- data/lib/whop_sdk/models/payment.rb +213 -26
- data/lib/whop_sdk/models/payment_create_params.rb +22 -2
- data/lib/whop_sdk/models/payment_list_params.rb +9 -1
- data/lib/whop_sdk/models/payment_list_response.rb +118 -17
- data/lib/whop_sdk/models/payout_create_params.rb +58 -0
- data/lib/whop_sdk/models/payout_create_response.rb +185 -0
- data/lib/whop_sdk/models/payout_list_params.rb +70 -0
- data/lib/whop_sdk/models/payout_list_response.rb +195 -0
- data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +20 -3
- data/lib/whop_sdk/models/payouts/method_list_params.rb +120 -0
- data/lib/whop_sdk/models/payouts/method_list_response.rb +315 -0
- data/lib/whop_sdk/models/person_list_params.rb +103 -0
- data/lib/whop_sdk/models/person_list_response.rb +167 -0
- data/lib/whop_sdk/models/person_retrieve_params.rb +50 -0
- data/lib/whop_sdk/models/person_retrieve_response.rb +179 -0
- data/lib/whop_sdk/models/plan.rb +311 -246
- data/lib/whop_sdk/models/plan_calculate_tax_params.rb +248 -0
- data/lib/whop_sdk/models/plan_calculate_tax_response.rb +94 -0
- data/lib/whop_sdk/models/plan_create_params.rb +137 -153
- data/lib/whop_sdk/models/plan_list_params.rb +54 -47
- data/lib/whop_sdk/models/plan_list_response.rb +105 -221
- data/lib/whop_sdk/models/plan_update_params.rb +116 -133
- data/lib/whop_sdk/models/product.rb +40 -37
- data/lib/whop_sdk/models/product_create_params.rb +48 -189
- data/lib/whop_sdk/models/product_list_item.rb +20 -11
- data/lib/whop_sdk/models/product_list_params.rb +35 -57
- data/lib/whop_sdk/models/product_update_params.rb +20 -148
- data/lib/whop_sdk/models/referral_referred_users_params.rb +66 -0
- data/lib/whop_sdk/models/referral_referred_users_response.rb +127 -0
- data/lib/whop_sdk/models/referrals/business_leaderboard_params.rb +45 -0
- data/lib/whop_sdk/models/referrals/business_leaderboard_response.rb +284 -0
- data/lib/whop_sdk/models/referrals/business_list_params.rb +175 -0
- data/lib/whop_sdk/models/referrals/business_list_response.rb +361 -0
- data/lib/whop_sdk/models/referrals/business_retrieve_params.rb +22 -0
- data/lib/whop_sdk/models/referrals/business_retrieve_response.rb +881 -0
- data/lib/whop_sdk/models/referrals/businesses/earning_list_params.rb +131 -0
- data/lib/whop_sdk/models/referrals/businesses/earning_list_response.rb +371 -0
- data/lib/whop_sdk/models/referrals/partner_create_params.rb +16 -0
- data/lib/whop_sdk/models/referrals/partner_create_response.rb +31 -0
- data/lib/whop_sdk/models/refund_created_webhook_event.rb +86 -5
- data/lib/whop_sdk/models/refund_retrieve_response.rb +84 -5
- data/lib/whop_sdk/models/refund_updated_webhook_event.rb +86 -5
- data/lib/whop_sdk/models/resolution_center_case_platform_response.rb +0 -1
- data/lib/whop_sdk/models/result_label_keys.rb +48 -0
- data/lib/whop_sdk/models/review_list_response.rb +2 -2
- data/lib/whop_sdk/models/review_retrieve_response.rb +4 -7
- data/lib/whop_sdk/models/setup_intent.rb +10 -1
- data/lib/whop_sdk/models/social_account.rb +101 -0
- data/lib/whop_sdk/models/social_account_connect_params.rb +74 -0
- data/lib/whop_sdk/models/social_account_connect_response.rb +17 -0
- data/lib/whop_sdk/models/social_account_create_params.rb +45 -0
- data/lib/whop_sdk/models/social_account_delete_params.rb +42 -0
- data/lib/whop_sdk/models/social_account_delete_response.rb +8 -0
- data/lib/whop_sdk/models/social_account_list_params.rb +152 -0
- data/lib/whop_sdk/models/social_account_post.rb +99 -0
- data/lib/whop_sdk/models/social_account_posts_params.rb +53 -0
- data/lib/whop_sdk/models/social_account_posts_response.rb +39 -0
- data/lib/whop_sdk/models/stat_list_params.rb +14 -0
- data/lib/whop_sdk/models/stat_list_response.rb +89 -0
- data/lib/whop_sdk/models/stat_retrieve_params.rb +265 -0
- data/lib/whop_sdk/models/stat_retrieve_response.rb +88 -0
- data/lib/whop_sdk/models/swap_create_params.rb +101 -0
- data/lib/whop_sdk/models/swap_create_quote_params.rb +117 -0
- data/lib/whop_sdk/models/swap_create_quote_response.rb +130 -0
- data/lib/whop_sdk/models/swap_create_response.rb +82 -0
- data/lib/whop_sdk/models/swap_list_params.rb +22 -0
- data/lib/whop_sdk/models/swap_list_response.rb +77 -0
- data/lib/whop_sdk/models/swap_retrieve_params.rb +20 -0
- data/lib/whop_sdk/models/swap_retrieve_response.rb +66 -0
- data/lib/whop_sdk/models/tax_identifier_type.rb +2 -0
- data/lib/whop_sdk/models/transfer_create_params.rb +62 -27
- data/lib/whop_sdk/models/transfer_create_response.rb +452 -0
- data/lib/whop_sdk/models/transfer_list_params.rb +46 -40
- data/lib/whop_sdk/models/transfer_list_response.rb +29 -36
- data/lib/whop_sdk/models/transfer_retrieve_response.rb +267 -0
- data/lib/whop_sdk/models/unwrap_webhook_event.rb +46 -30
- data/lib/whop_sdk/models/user.rb +276 -31
- data/lib/whop_sdk/models/user_balance.rb +226 -0
- data/lib/whop_sdk/models/user_check_access_response.rb +16 -9
- data/lib/whop_sdk/models/user_list_params.rb +15 -15
- data/lib/whop_sdk/models/user_retrieve_params.rb +66 -6
- data/lib/whop_sdk/models/user_update_me_params.rb +70 -0
- data/lib/whop_sdk/models/user_update_params.rb +23 -30
- data/lib/whop_sdk/models/verification_create_params.rb +414 -0
- data/lib/whop_sdk/models/verification_create_response.rb +400 -0
- data/lib/whop_sdk/models/verification_list_params.rb +40 -30
- data/lib/whop_sdk/models/verification_list_response.rb +396 -34
- data/lib/whop_sdk/models/verification_retrieve_params.rb +4 -4
- data/lib/whop_sdk/models/verification_retrieve_response.rb +373 -21
- data/lib/whop_sdk/models/verification_update_params.rb +578 -0
- data/lib/whop_sdk/models/verification_update_response.rb +400 -0
- data/lib/whop_sdk/models/webhook_event.rb +8 -0
- data/lib/whop_sdk/models/withdrawal.rb +1 -0
- data/lib/whop_sdk/models/withdrawal_create_params.rb +2 -2
- data/lib/whop_sdk/models/workforce/bounty_list_params.rb +153 -0
- data/lib/whop_sdk/models/workforce/bounty_retrieve_params.rb +22 -0
- data/lib/whop_sdk/models/workforce/workforce_bounty.rb +351 -0
- data/lib/whop_sdk/models/workforce/workforce_bounty_list_item.rb +347 -0
- data/lib/whop_sdk/models.rb +151 -7
- data/lib/whop_sdk/resources/access_tokens.rb +0 -1
- data/lib/whop_sdk/resources/account_links.rb +0 -1
- data/lib/whop_sdk/resources/accounts/preferences.rb +78 -0
- data/lib/whop_sdk/resources/accounts.rb +254 -0
- data/lib/whop_sdk/resources/ad_campaigns.rb +136 -47
- data/lib/whop_sdk/resources/ad_groups.rb +194 -47
- data/lib/whop_sdk/resources/ad_reports.rb +14 -9
- data/lib/whop_sdk/resources/ads.rb +210 -25
- data/lib/whop_sdk/resources/affiliates/overrides.rb +0 -1
- data/lib/whop_sdk/resources/affiliates.rb +0 -2
- data/lib/whop_sdk/resources/ai_chats.rb +0 -1
- data/lib/whop_sdk/resources/app_builds.rb +0 -1
- data/lib/whop_sdk/resources/apps.rb +63 -3
- data/lib/whop_sdk/resources/audiences.rb +104 -0
- data/lib/whop_sdk/resources/authorized_users.rb +3 -2
- data/lib/whop_sdk/resources/bounties.rb +9 -2
- data/lib/whop_sdk/resources/cards.rb +178 -0
- data/lib/whop_sdk/resources/chat_channels.rb +0 -1
- data/lib/whop_sdk/resources/checkout_configurations.rb +69 -42
- data/lib/whop_sdk/resources/companies.rb +0 -1
- data/lib/whop_sdk/resources/company_token_transactions.rb +0 -1
- data/lib/whop_sdk/resources/course_chapters.rb +0 -1
- data/lib/whop_sdk/resources/course_lesson_interactions.rb +0 -1
- data/lib/whop_sdk/resources/course_lessons.rb +0 -1
- data/lib/whop_sdk/resources/course_students.rb +0 -1
- data/lib/whop_sdk/resources/courses.rb +0 -1
- data/lib/whop_sdk/resources/deposits.rb +77 -0
- data/lib/whop_sdk/resources/dispute_alerts.rb +0 -1
- data/lib/whop_sdk/resources/disputes.rb +0 -1
- data/lib/whop_sdk/resources/dm_channels.rb +0 -1
- data/lib/whop_sdk/resources/dm_members.rb +0 -1
- data/lib/whop_sdk/resources/entries.rb +0 -1
- data/lib/whop_sdk/resources/events.rb +121 -0
- data/lib/whop_sdk/resources/experiences.rb +0 -1
- data/lib/whop_sdk/resources/fee_markups.rb +0 -1
- data/lib/whop_sdk/resources/files.rb +1 -2
- data/lib/whop_sdk/resources/financial_activity.rb +76 -0
- data/lib/whop_sdk/resources/forum_posts.rb +0 -1
- data/lib/whop_sdk/resources/forums.rb +0 -1
- data/lib/whop_sdk/resources/invoices.rb +0 -1
- data/lib/whop_sdk/resources/leads.rb +0 -1
- data/lib/whop_sdk/resources/ledger_accounts.rb +0 -1
- data/lib/whop_sdk/resources/media.rb +77 -0
- data/lib/whop_sdk/resources/members.rb +0 -1
- data/lib/whop_sdk/resources/memberships.rb +0 -1
- data/lib/whop_sdk/resources/messages.rb +0 -1
- data/lib/whop_sdk/resources/notifications.rb +0 -1
- data/lib/whop_sdk/resources/payment_methods.rb +0 -1
- data/lib/whop_sdk/resources/payments.rb +3 -2
- data/lib/whop_sdk/resources/payout_accounts.rb +0 -1
- data/lib/whop_sdk/resources/payouts/methods.rb +71 -0
- data/lib/whop_sdk/resources/payouts.rb +107 -0
- data/lib/whop_sdk/resources/people.rb +99 -0
- data/lib/whop_sdk/resources/plans.rb +99 -79
- data/lib/whop_sdk/resources/products.rb +48 -93
- data/lib/whop_sdk/resources/promo_codes.rb +0 -1
- data/lib/whop_sdk/resources/reactions.rb +0 -1
- data/lib/whop_sdk/resources/referrals/businesses/earnings.rb +67 -0
- data/lib/whop_sdk/resources/referrals/businesses.rb +132 -0
- data/lib/whop_sdk/resources/referrals/partners.rb +42 -0
- data/lib/whop_sdk/resources/referrals.rb +77 -0
- data/lib/whop_sdk/resources/refunds.rb +2 -1
- data/lib/whop_sdk/resources/resolution_center_cases.rb +0 -1
- data/lib/whop_sdk/resources/reviews.rb +0 -1
- data/lib/whop_sdk/resources/setup_intents.rb +0 -1
- data/lib/whop_sdk/resources/shipments.rb +0 -1
- data/lib/whop_sdk/resources/social_accounts.rb +192 -0
- data/lib/whop_sdk/resources/stats.rb +113 -0
- data/lib/whop_sdk/resources/support_channels.rb +0 -1
- data/lib/whop_sdk/resources/swaps.rb +143 -0
- data/lib/whop_sdk/resources/topups.rb +0 -1
- data/lib/whop_sdk/resources/transfers.rb +42 -42
- data/lib/whop_sdk/resources/users.rb +82 -33
- data/lib/whop_sdk/resources/verifications.rb +81 -20
- data/lib/whop_sdk/resources/webhooks.rb +1 -2
- data/lib/whop_sdk/resources/withdrawals.rb +1 -2
- data/lib/whop_sdk/resources/workforce/bounties.rb +97 -0
- data/lib/whop_sdk/resources/workforce.rb +25 -0
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +148 -21
- data/rbi/whop_sdk/client.rbi +211 -69
- data/rbi/whop_sdk/models/account.rbi +1532 -0
- data/rbi/whop_sdk/models/account_create_params.rbi +72 -0
- data/rbi/whop_sdk/models/account_list_params.rbi +145 -0
- data/rbi/whop_sdk/models/account_me_params.rbi +27 -0
- data/rbi/whop_sdk/models/account_recommend_actions_params.rbi +38 -0
- data/rbi/whop_sdk/models/account_recommend_actions_response.rbi +296 -0
- data/rbi/whop_sdk/models/account_retrieve_params.rbi +35 -0
- data/rbi/whop_sdk/models/account_social_link.rbi +96 -0
- data/rbi/whop_sdk/models/account_update_params.rbi +1141 -0
- data/rbi/whop_sdk/models/accounts/preference_retrieve_params.rbi +40 -0
- data/rbi/whop_sdk/models/accounts/preference_retrieve_response.rbi +323 -0
- data/rbi/whop_sdk/models/accounts/preference_update_params.rbi +331 -0
- data/rbi/whop_sdk/models/accounts/preference_update_response.rbi +323 -0
- data/rbi/whop_sdk/models/ad.rbi +983 -0
- data/rbi/whop_sdk/models/ad_campaign.rbi +846 -0
- data/rbi/whop_sdk/models/ad_campaign_create_params.rbi +428 -0
- data/rbi/whop_sdk/models/{payout_method_retrieve_params.rbi → ad_campaign_delete_params.rbi} +2 -2
- data/rbi/whop_sdk/models/ad_campaign_delete_response.rbi +8 -0
- data/rbi/whop_sdk/models/ad_campaign_list_params.rbi +248 -56
- data/rbi/whop_sdk/models/ad_campaign_retrieve_params.rbi +41 -2
- data/rbi/whop_sdk/models/ad_campaign_update_params.rbi +207 -8
- data/rbi/whop_sdk/models/ad_create_params.rbi +1491 -0
- data/rbi/whop_sdk/models/ad_delete_params.rbi +35 -0
- data/rbi/whop_sdk/models/ad_delete_response.rbi +7 -0
- data/rbi/whop_sdk/models/ad_group.rbi +948 -0
- data/rbi/whop_sdk/models/ad_group_create_params.rbi +654 -0
- data/rbi/whop_sdk/models/ad_group_list_params.rbi +217 -67
- data/rbi/whop_sdk/models/ad_group_pause_params.rbi +35 -0
- data/rbi/whop_sdk/models/ad_group_retrieve_params.rbi +41 -2
- data/rbi/whop_sdk/models/ad_group_unpause_params.rbi +35 -0
- data/rbi/whop_sdk/models/ad_group_update_params.rbi +494 -5988
- data/rbi/whop_sdk/models/ad_list_params.rbi +220 -59
- data/rbi/whop_sdk/models/ad_pause_params.rbi +35 -0
- data/rbi/whop_sdk/models/ad_report_retrieve_params.rbi +89 -33
- data/rbi/whop_sdk/models/ad_report_retrieve_response.rbi +566 -378
- data/rbi/whop_sdk/models/ad_retrieve_params.rbi +41 -2
- data/rbi/whop_sdk/models/ad_unpause_params.rbi +35 -0
- data/rbi/whop_sdk/models/ad_update_params.rbi +1473 -0
- data/rbi/whop_sdk/models/app.rbi +111 -0
- data/rbi/whop_sdk/models/app_build_create_params.rbi +3 -3
- data/rbi/whop_sdk/models/app_create_params.rbi +10 -0
- data/rbi/whop_sdk/models/app_list_response.rbi +20 -0
- data/rbi/whop_sdk/models/app_logs_params.rbi +154 -0
- data/rbi/whop_sdk/models/app_logs_response.rbi +261 -0
- data/rbi/whop_sdk/models/app_update_params.rbi +24 -0
- data/rbi/whop_sdk/models/audience.rbi +262 -0
- data/rbi/whop_sdk/models/audience_create_params.rbi +160 -0
- data/rbi/whop_sdk/models/audience_delete_params.rbi +35 -0
- data/rbi/whop_sdk/models/audience_delete_response.rbi +26 -0
- data/rbi/whop_sdk/models/audience_list_params.rbi +76 -0
- data/rbi/whop_sdk/models/authorized_user_create_params.rbi +102 -0
- data/rbi/whop_sdk/models/bounty_create_params.rbi +164 -4
- data/rbi/whop_sdk/models/bounty_create_response.rbi +5 -0
- data/rbi/whop_sdk/models/bounty_list_params.rbi +2 -0
- data/rbi/whop_sdk/models/bounty_list_response.rbi +5 -0
- data/rbi/whop_sdk/models/bounty_retrieve_response.rbi +5 -0
- data/rbi/whop_sdk/models/card_brands.rbi +1 -0
- data/rbi/whop_sdk/models/card_create_params.rbi +167 -0
- data/rbi/whop_sdk/models/card_create_response.rbi +446 -0
- data/rbi/whop_sdk/models/card_list_params.rbi +57 -0
- data/rbi/whop_sdk/models/card_list_response.rbi +511 -0
- data/rbi/whop_sdk/models/card_retrieve_params.rbi +63 -0
- data/rbi/whop_sdk/models/card_retrieve_response.rbi +457 -0
- data/rbi/whop_sdk/models/card_update_params.rbi +299 -0
- data/rbi/whop_sdk/models/card_update_response.rbi +446 -0
- data/rbi/whop_sdk/models/chat_message_created_webhook_event.rbi +319 -0
- data/rbi/whop_sdk/models/chat_reaction_created_webhook_event.rbi +335 -0
- data/rbi/whop_sdk/models/checkout_configuration.rbi +84 -44
- data/rbi/whop_sdk/models/checkout_configuration_create_params.rbi +404 -1537
- data/rbi/whop_sdk/models/checkout_configuration_create_response.rbi +420 -0
- data/rbi/whop_sdk/models/checkout_configuration_delete_params.rbi +38 -0
- data/rbi/whop_sdk/models/checkout_configuration_list_params.rbi +142 -51
- data/rbi/whop_sdk/models/checkout_configuration_list_response.rbi +202 -161
- data/rbi/whop_sdk/models/checkout_configuration_retrieve_response.rbi +422 -0
- data/rbi/whop_sdk/models/company.rbi +2 -2
- data/rbi/whop_sdk/models/company_list_response.rbi +2 -2
- data/rbi/whop_sdk/models/course.rbi +2 -2
- data/rbi/whop_sdk/models/course_list_response.rbi +2 -2
- data/rbi/whop_sdk/models/currency.rbi +3 -0
- data/rbi/whop_sdk/models/deposit_create_params.rbi +165 -0
- data/rbi/whop_sdk/models/deposit_create_response.rbi +437 -0
- data/rbi/whop_sdk/models/deposit_list_params.rbi +40 -0
- data/rbi/whop_sdk/models/deposit_list_response.rbi +163 -0
- data/rbi/whop_sdk/models/dispute.rbi +15 -17
- data/rbi/whop_sdk/models/dispute_alert_created_webhook_event.rbi +5 -5
- data/rbi/whop_sdk/models/dispute_alert_retrieve_response.rbi +5 -5
- data/rbi/whop_sdk/models/dispute_list_response.rbi +2 -4
- data/rbi/whop_sdk/models/event_create_params.rbi +891 -0
- data/rbi/whop_sdk/models/{conversion_create_response.rbi → event_create_response.rbi} +3 -8
- data/rbi/whop_sdk/models/event_list_params.rbi +111 -0
- data/rbi/whop_sdk/models/event_list_response.rbi +350 -0
- data/rbi/whop_sdk/models/experience.rbi +6 -6
- data/rbi/whop_sdk/models/experience_list_response.rbi +2 -2
- data/rbi/whop_sdk/models/file_create_params.rbi +3 -30
- data/rbi/whop_sdk/models/file_create_response.rbi +3 -38
- data/rbi/whop_sdk/models/file_retrieve_response.rbi +3 -39
- data/rbi/whop_sdk/models/file_visibility.rbi +21 -0
- data/rbi/whop_sdk/models/financial_activity_list_params.rbi +175 -0
- data/rbi/whop_sdk/models/financial_activity_list_response.rbi +2066 -0
- data/rbi/whop_sdk/models/forum_post.rbi +2 -2
- data/rbi/whop_sdk/models/forum_post_list_response.rbi +2 -2
- data/rbi/whop_sdk/models/granularities.rbi +22 -0
- data/rbi/whop_sdk/models/identity_profile_approved_webhook_event.rbi +669 -0
- data/rbi/whop_sdk/models/identity_profile_needs_action_webhook_event.rbi +669 -0
- data/rbi/whop_sdk/models/identity_profile_rejected_webhook_event.rbi +669 -0
- data/rbi/whop_sdk/models/identity_profile_updated_webhook_event.rbi +669 -0
- data/rbi/whop_sdk/models/invoice_create_params.rbi +32 -0
- data/rbi/whop_sdk/models/invoice_update_params.rbi +16 -0
- data/rbi/whop_sdk/models/ledger_account_funds_available_webhook_event.rbi +1001 -0
- data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +111 -5
- data/rbi/whop_sdk/models/lesson.rbi +6 -6
- data/rbi/whop_sdk/models/media_asset.rbi +325 -0
- data/rbi/whop_sdk/models/media_generate_params.rbi +204 -0
- data/rbi/whop_sdk/models/media_retrieve_params.rbi +35 -0
- data/rbi/whop_sdk/models/member_list_response.rbi +4 -2
- data/rbi/whop_sdk/models/member_retrieve_response.rbi +4 -2
- data/rbi/whop_sdk/models/membership.rbi +50 -7
- data/rbi/whop_sdk/models/membership_list_response.rbi +50 -7
- data/rbi/whop_sdk/models/membership_trial_ending_soon_webhook_event.rbi +85 -0
- data/rbi/whop_sdk/models/payment.rbi +295 -40
- data/rbi/whop_sdk/models/payment_create_params.rbi +30 -6
- data/rbi/whop_sdk/models/payment_list_params.rbi +8 -0
- data/rbi/whop_sdk/models/payment_list_response.rbi +188 -28
- data/rbi/whop_sdk/models/payout_create_params.rbi +83 -0
- data/rbi/whop_sdk/models/payout_create_response.rbi +352 -0
- data/rbi/whop_sdk/models/payout_list_params.rbi +112 -0
- data/rbi/whop_sdk/models/payout_list_response.rbi +353 -0
- data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +64 -3
- data/rbi/whop_sdk/models/payouts/method_list_params.rbi +209 -0
- data/rbi/whop_sdk/models/payouts/method_list_response.rbi +554 -0
- data/rbi/whop_sdk/models/person_list_params.rbi +160 -0
- data/rbi/whop_sdk/models/person_list_response.rbi +282 -0
- data/rbi/whop_sdk/models/person_retrieve_params.rbi +76 -0
- data/rbi/whop_sdk/models/person_retrieve_response.rbi +349 -0
- data/rbi/whop_sdk/models/plan.rbi +346 -332
- data/rbi/whop_sdk/models/plan_calculate_tax_params.rbi +795 -0
- data/rbi/whop_sdk/models/plan_calculate_tax_response.rbi +170 -0
- data/rbi/whop_sdk/models/plan_create_params.rbi +267 -217
- data/rbi/whop_sdk/models/plan_list_params.rbi +121 -67
- data/rbi/whop_sdk/models/plan_list_response.rbi +127 -360
- data/rbi/whop_sdk/models/plan_update_params.rbi +228 -192
- data/rbi/whop_sdk/models/product.rbi +48 -44
- data/rbi/whop_sdk/models/product_create_params.rbi +69 -273
- data/rbi/whop_sdk/models/product_list_item.rbi +24 -14
- data/rbi/whop_sdk/models/product_list_params.rbi +75 -78
- data/rbi/whop_sdk/models/product_update_params.rbi +30 -207
- data/rbi/whop_sdk/models/referral_referred_users_params.rbi +106 -0
- data/rbi/whop_sdk/models/referral_referred_users_response.rbi +259 -0
- data/rbi/whop_sdk/models/referrals/business_leaderboard_params.rbi +120 -0
- data/rbi/whop_sdk/models/referrals/business_leaderboard_response.rbi +535 -0
- data/rbi/whop_sdk/models/referrals/business_list_params.rbi +376 -0
- data/rbi/whop_sdk/models/referrals/business_list_response.rbi +701 -0
- data/rbi/whop_sdk/models/referrals/business_retrieve_params.rbi +40 -0
- data/rbi/whop_sdk/models/referrals/business_retrieve_response.rbi +1846 -0
- data/rbi/whop_sdk/models/referrals/businesses/earning_list_params.rbi +308 -0
- data/rbi/whop_sdk/models/referrals/businesses/earning_list_response.rbi +693 -0
- data/rbi/whop_sdk/models/referrals/partner_create_params.rbi +32 -0
- data/rbi/whop_sdk/models/referrals/partner_create_response.rbi +48 -0
- data/rbi/whop_sdk/models/refund_created_webhook_event.rbi +163 -5
- data/rbi/whop_sdk/models/refund_retrieve_response.rbi +161 -5
- data/rbi/whop_sdk/models/refund_updated_webhook_event.rbi +163 -5
- data/rbi/whop_sdk/models/resolution_center_case_platform_response.rbi +0 -5
- data/rbi/whop_sdk/models/result_label_keys.rbi +87 -0
- data/rbi/whop_sdk/models/review_list_response.rbi +2 -2
- data/rbi/whop_sdk/models/review_retrieve_response.rbi +4 -4
- data/rbi/whop_sdk/models/setup_intent.rbi +13 -3
- data/rbi/whop_sdk/models/social_account.rbi +129 -0
- data/rbi/whop_sdk/models/social_account_connect_params.rbi +146 -0
- data/rbi/whop_sdk/models/social_account_connect_response.rbi +30 -0
- data/rbi/whop_sdk/models/social_account_create_params.rbi +81 -0
- data/rbi/whop_sdk/models/social_account_delete_params.rbi +67 -0
- data/rbi/whop_sdk/models/social_account_delete_response.rbi +8 -0
- data/rbi/whop_sdk/models/social_account_list_params.rbi +308 -0
- data/rbi/whop_sdk/models/social_account_post.rbi +261 -0
- data/rbi/whop_sdk/models/social_account_posts_params.rbi +82 -0
- data/rbi/whop_sdk/models/social_account_posts_response.rbi +83 -0
- data/rbi/whop_sdk/models/stat_list_params.rbi +27 -0
- data/rbi/whop_sdk/models/stat_list_response.rbi +159 -0
- data/rbi/whop_sdk/models/stat_retrieve_params.rbi +411 -0
- data/rbi/whop_sdk/models/stat_retrieve_response.rbi +198 -0
- data/rbi/whop_sdk/models/swap_create_params.rbi +128 -0
- data/rbi/whop_sdk/models/swap_create_quote_params.rbi +154 -0
- data/rbi/whop_sdk/models/swap_create_quote_response.rbi +174 -0
- data/rbi/whop_sdk/models/swap_create_response.rbi +127 -0
- data/rbi/whop_sdk/models/swap_list_params.rbi +40 -0
- data/rbi/whop_sdk/models/swap_list_response.rbi +137 -0
- data/rbi/whop_sdk/models/swap_retrieve_params.rbi +35 -0
- data/rbi/whop_sdk/models/swap_retrieve_response.rbi +106 -0
- data/rbi/whop_sdk/models/tax_identifier_type.rbi +2 -0
- data/rbi/whop_sdk/models/transfer_create_params.rbi +94 -36
- data/rbi/whop_sdk/models/transfer_create_response.rbi +767 -0
- data/rbi/whop_sdk/models/transfer_list_params.rbi +111 -60
- data/rbi/whop_sdk/models/transfer_list_response.rbi +32 -40
- data/rbi/whop_sdk/models/transfer_retrieve_response.rbi +416 -0
- data/rbi/whop_sdk/models/unwrap_webhook_event.rbi +29 -21
- data/rbi/whop_sdk/models/user.rbi +427 -45
- data/rbi/whop_sdk/models/user_balance.rbi +301 -0
- data/rbi/whop_sdk/models/user_check_access_response.rbi +46 -12
- data/rbi/whop_sdk/models/user_list_params.rbi +40 -25
- data/rbi/whop_sdk/models/user_retrieve_params.rbi +106 -8
- data/rbi/whop_sdk/models/user_update_me_params.rbi +120 -0
- data/rbi/whop_sdk/models/user_update_params.rbi +46 -45
- data/rbi/whop_sdk/models/verification_create_params.rbi +783 -0
- data/rbi/whop_sdk/models/verification_create_response.rbi +757 -0
- data/rbi/whop_sdk/models/verification_list_params.rbi +88 -34
- data/rbi/whop_sdk/models/verification_list_response.rbi +783 -39
- data/rbi/whop_sdk/models/verification_retrieve_params.rbi +4 -4
- data/rbi/whop_sdk/models/verification_retrieve_response.rbi +722 -30
- data/rbi/whop_sdk/models/verification_update_params.rbi +1187 -0
- data/rbi/whop_sdk/models/verification_update_response.rbi +757 -0
- data/rbi/whop_sdk/models/webhook_event.rbi +25 -0
- data/rbi/whop_sdk/models/withdrawal.rbi +5 -0
- data/rbi/whop_sdk/models/withdrawal_create_params.rbi +2 -2
- data/rbi/whop_sdk/models/workforce/bounty_list_params.rbi +313 -0
- data/rbi/whop_sdk/models/workforce/bounty_retrieve_params.rbi +40 -0
- data/rbi/whop_sdk/models/workforce/workforce_bounty.rbi +588 -0
- data/rbi/whop_sdk/models/workforce/workforce_bounty_list_item.rbi +590 -0
- data/rbi/whop_sdk/models.rbi +160 -7
- data/rbi/whop_sdk/resources/access_tokens.rbi +0 -1
- data/rbi/whop_sdk/resources/account_links.rbi +0 -1
- data/rbi/whop_sdk/resources/accounts/preferences.rbi +62 -0
- data/rbi/whop_sdk/resources/accounts.rbi +253 -0
- data/rbi/whop_sdk/resources/ad_campaigns.rbi +173 -60
- data/rbi/whop_sdk/resources/ad_groups.rbi +287 -72
- data/rbi/whop_sdk/resources/ad_reports.rbi +29 -19
- data/rbi/whop_sdk/resources/ads.rbi +254 -39
- data/rbi/whop_sdk/resources/affiliates/overrides.rbi +0 -1
- data/rbi/whop_sdk/resources/affiliates.rbi +0 -2
- data/rbi/whop_sdk/resources/ai_chats.rbi +0 -1
- data/rbi/whop_sdk/resources/app_builds.rbi +1 -2
- data/rbi/whop_sdk/resources/apps.rbi +66 -1
- data/rbi/whop_sdk/resources/audiences.rbi +82 -0
- data/rbi/whop_sdk/resources/authorized_users.rbi +4 -1
- data/rbi/whop_sdk/resources/bounties.rbi +23 -3
- data/rbi/whop_sdk/resources/cards.rbi +160 -0
- data/rbi/whop_sdk/resources/chat_channels.rbi +0 -1
- data/rbi/whop_sdk/resources/checkout_configurations.rbi +82 -51
- data/rbi/whop_sdk/resources/companies.rbi +0 -1
- data/rbi/whop_sdk/resources/company_token_transactions.rbi +0 -1
- data/rbi/whop_sdk/resources/course_chapters.rbi +0 -1
- data/rbi/whop_sdk/resources/course_lesson_interactions.rbi +0 -1
- data/rbi/whop_sdk/resources/course_lessons.rbi +0 -1
- data/rbi/whop_sdk/resources/course_students.rbi +0 -1
- data/rbi/whop_sdk/resources/courses.rbi +0 -1
- data/rbi/whop_sdk/resources/deposits.rbi +63 -0
- data/rbi/whop_sdk/resources/dispute_alerts.rbi +0 -1
- data/rbi/whop_sdk/resources/disputes.rbi +0 -1
- data/rbi/whop_sdk/resources/dm_channels.rbi +0 -1
- data/rbi/whop_sdk/resources/dm_members.rbi +0 -1
- data/rbi/whop_sdk/resources/entries.rbi +0 -1
- data/rbi/whop_sdk/resources/events.rbi +122 -0
- data/rbi/whop_sdk/resources/experiences.rbi +0 -1
- data/rbi/whop_sdk/resources/fee_markups.rbi +0 -1
- data/rbi/whop_sdk/resources/files.rbi +1 -3
- data/rbi/whop_sdk/resources/financial_activity.rbi +80 -0
- data/rbi/whop_sdk/resources/forum_posts.rbi +0 -1
- data/rbi/whop_sdk/resources/forums.rbi +0 -1
- data/rbi/whop_sdk/resources/invoices.rbi +0 -1
- data/rbi/whop_sdk/resources/leads.rbi +0 -1
- data/rbi/whop_sdk/resources/ledger_accounts.rbi +0 -1
- data/rbi/whop_sdk/resources/media.rbi +67 -0
- data/rbi/whop_sdk/resources/members.rbi +0 -1
- data/rbi/whop_sdk/resources/memberships.rbi +0 -1
- data/rbi/whop_sdk/resources/messages.rbi +0 -1
- data/rbi/whop_sdk/resources/notifications.rbi +0 -1
- data/rbi/whop_sdk/resources/payment_methods.rbi +0 -1
- data/rbi/whop_sdk/resources/payments.rbi +3 -1
- data/rbi/whop_sdk/resources/payout_accounts.rbi +0 -1
- data/rbi/whop_sdk/resources/payouts/methods.rbi +76 -0
- data/rbi/whop_sdk/resources/payouts.rbi +96 -0
- data/rbi/whop_sdk/resources/people.rbi +86 -0
- data/rbi/whop_sdk/resources/plans.rbi +120 -112
- data/rbi/whop_sdk/resources/products.rbi +67 -144
- data/rbi/whop_sdk/resources/promo_codes.rbi +0 -1
- data/rbi/whop_sdk/resources/reactions.rbi +0 -1
- data/rbi/whop_sdk/resources/referrals/businesses/earnings.rbi +67 -0
- data/rbi/whop_sdk/resources/referrals/businesses.rbi +122 -0
- data/rbi/whop_sdk/resources/referrals/partners.rbi +31 -0
- data/rbi/whop_sdk/resources/referrals.rbi +67 -0
- data/rbi/whop_sdk/resources/refunds.rbi +2 -1
- data/rbi/whop_sdk/resources/resolution_center_cases.rbi +0 -1
- data/rbi/whop_sdk/resources/reviews.rbi +0 -1
- data/rbi/whop_sdk/resources/setup_intents.rbi +0 -1
- data/rbi/whop_sdk/resources/shipments.rbi +0 -1
- data/rbi/whop_sdk/resources/social_accounts.rbi +161 -0
- data/rbi/whop_sdk/resources/stats.rbi +143 -0
- data/rbi/whop_sdk/resources/support_channels.rbi +0 -1
- data/rbi/whop_sdk/resources/swaps.rbi +124 -0
- data/rbi/whop_sdk/resources/topups.rbi +0 -1
- data/rbi/whop_sdk/resources/transfers.rbi +62 -59
- data/rbi/whop_sdk/resources/users.rbi +92 -48
- data/rbi/whop_sdk/resources/verifications.rbi +85 -35
- data/rbi/whop_sdk/resources/webhooks.rbi +29 -22
- data/rbi/whop_sdk/resources/withdrawals.rbi +1 -2
- data/rbi/whop_sdk/resources/workforce/bounties.rbi +94 -0
- data/rbi/whop_sdk/resources/workforce.rbi +22 -0
- data/sig/whop_sdk/client.rbs +31 -4
- data/sig/whop_sdk/models/account.rbs +706 -0
- data/sig/whop_sdk/models/account_create_params.rbs +38 -0
- data/sig/whop_sdk/models/account_list_params.rbs +88 -0
- data/sig/whop_sdk/models/account_me_params.rbs +14 -0
- data/sig/whop_sdk/models/account_recommend_actions_params.rbs +23 -0
- data/sig/whop_sdk/models/account_recommend_actions_response.rbs +129 -0
- data/sig/whop_sdk/models/account_retrieve_params.rbs +23 -0
- data/sig/whop_sdk/models/account_social_link.rbs +62 -0
- data/sig/whop_sdk/models/account_update_params.rbs +536 -0
- data/sig/whop_sdk/models/accounts/preference_retrieve_params.rbs +25 -0
- data/sig/whop_sdk/models/accounts/preference_retrieve_response.rbs +110 -0
- data/sig/whop_sdk/models/accounts/preference_update_params.rbs +133 -0
- data/sig/whop_sdk/models/accounts/preference_update_response.rbs +110 -0
- data/sig/whop_sdk/models/ad.rbs +597 -0
- data/sig/whop_sdk/models/ad_campaign.rbs +472 -0
- data/sig/whop_sdk/models/ad_campaign_create_params.rbs +179 -0
- data/sig/whop_sdk/models/{payout_method_retrieve_params.rbs → ad_campaign_delete_params.rbs} +2 -2
- data/sig/whop_sdk/models/ad_campaign_delete_response.rbs +5 -0
- data/sig/whop_sdk/models/ad_campaign_list_params.rbs +145 -41
- data/sig/whop_sdk/models/ad_campaign_retrieve_params.rbs +24 -2
- data/sig/whop_sdk/models/ad_campaign_update_params.rbs +90 -4
- data/sig/whop_sdk/models/ad_create_params.rbs +751 -0
- data/sig/whop_sdk/models/ad_delete_params.rbs +20 -0
- data/sig/whop_sdk/models/ad_delete_response.rbs +5 -0
- data/sig/whop_sdk/models/ad_group.rbs +543 -0
- data/sig/whop_sdk/models/ad_group_create_params.rbs +292 -0
- data/sig/whop_sdk/models/ad_group_list_params.rbs +141 -50
- data/sig/whop_sdk/models/ad_group_pause_params.rbs +20 -0
- data/sig/whop_sdk/models/ad_group_retrieve_params.rbs +24 -2
- data/sig/whop_sdk/models/ad_group_unpause_params.rbs +20 -0
- data/sig/whop_sdk/models/ad_group_update_params.rbs +200 -2354
- data/sig/whop_sdk/models/ad_list_params.rbs +157 -44
- data/sig/whop_sdk/models/ad_pause_params.rbs +20 -0
- data/sig/whop_sdk/models/ad_report_retrieve_params.rbs +38 -16
- data/sig/whop_sdk/models/ad_report_retrieve_response.rbs +258 -149
- data/sig/whop_sdk/models/ad_retrieve_params.rbs +24 -2
- data/sig/whop_sdk/models/ad_unpause_params.rbs +20 -0
- data/sig/whop_sdk/models/ad_update_params.rbs +742 -0
- data/sig/whop_sdk/models/app.rbs +52 -0
- data/sig/whop_sdk/models/app_create_params.rbs +6 -1
- data/sig/whop_sdk/models/app_list_response.rbs +10 -0
- data/sig/whop_sdk/models/app_logs_params.rbs +98 -0
- data/sig/whop_sdk/models/app_logs_response.rbs +162 -0
- data/sig/whop_sdk/models/app_update_params.rbs +10 -0
- data/sig/whop_sdk/models/audience.rbs +145 -0
- data/sig/whop_sdk/models/audience_create_params.rbs +88 -0
- data/sig/whop_sdk/models/audience_delete_params.rbs +23 -0
- data/sig/whop_sdk/models/audience_delete_response.rbs +13 -0
- data/sig/whop_sdk/models/audience_list_params.rbs +42 -0
- data/sig/whop_sdk/models/authorized_user_create_params.rbs +52 -0
- data/sig/whop_sdk/models/bounty_create_params.rbs +56 -1
- data/sig/whop_sdk/models/bounty_create_response.rbs +2 -1
- data/sig/whop_sdk/models/bounty_list_params.rbs +2 -1
- data/sig/whop_sdk/models/bounty_list_response.rbs +2 -1
- data/sig/whop_sdk/models/bounty_retrieve_response.rbs +2 -1
- data/sig/whop_sdk/models/card_brands.rbs +2 -0
- data/sig/whop_sdk/models/card_create_params.rbs +85 -0
- data/sig/whop_sdk/models/card_create_response.rbs +200 -0
- data/sig/whop_sdk/models/card_list_params.rbs +32 -0
- data/sig/whop_sdk/models/card_list_response.rbs +214 -0
- data/sig/whop_sdk/models/card_retrieve_params.rbs +36 -0
- data/sig/whop_sdk/models/card_retrieve_response.rbs +200 -0
- data/sig/whop_sdk/models/card_update_params.rbs +164 -0
- data/sig/whop_sdk/models/card_update_response.rbs +200 -0
- data/sig/whop_sdk/models/chat_message_created_webhook_event.rbs +149 -0
- data/sig/whop_sdk/models/chat_reaction_created_webhook_event.rbs +154 -0
- data/sig/whop_sdk/models/checkout_configuration.rbs +16 -5
- data/sig/whop_sdk/models/checkout_configuration_create_params.rbs +206 -649
- data/sig/whop_sdk/models/checkout_configuration_create_response.rbs +196 -0
- data/sig/whop_sdk/models/checkout_configuration_delete_params.rbs +20 -0
- data/sig/whop_sdk/models/checkout_configuration_list_params.rbs +66 -32
- data/sig/whop_sdk/models/checkout_configuration_list_response.rbs +88 -56
- data/sig/whop_sdk/models/checkout_configuration_retrieve_response.rbs +196 -0
- data/sig/whop_sdk/models/currency.rbs +6 -0
- data/sig/whop_sdk/models/deposit_create_params.rbs +83 -0
- data/sig/whop_sdk/models/deposit_create_response.rbs +187 -0
- data/sig/whop_sdk/models/deposit_list_params.rbs +23 -0
- data/sig/whop_sdk/models/deposit_list_response.rbs +87 -0
- data/sig/whop_sdk/models/dispute.rbs +4 -4
- data/sig/whop_sdk/models/dispute_alert_created_webhook_event.rbs +4 -4
- data/sig/whop_sdk/models/dispute_alert_retrieve_response.rbs +4 -4
- data/sig/whop_sdk/models/event_create_params.rbs +639 -0
- data/sig/whop_sdk/models/{conversion_create_response.rbs → event_create_response.rbs} +2 -2
- data/sig/whop_sdk/models/event_list_params.rbs +68 -0
- data/sig/whop_sdk/models/event_list_response.rbs +231 -0
- data/sig/whop_sdk/models/file_create_params.rbs +4 -18
- data/sig/whop_sdk/models/file_create_response.rbs +4 -15
- data/sig/whop_sdk/models/file_retrieve_response.rbs +4 -15
- data/sig/whop_sdk/models/file_visibility.rbs +14 -0
- data/sig/whop_sdk/models/financial_activity_list_params.rbs +98 -0
- data/sig/whop_sdk/models/financial_activity_list_response.rbs +935 -0
- data/sig/whop_sdk/models/granularities.rbs +16 -0
- data/sig/whop_sdk/models/identity_profile_approved_webhook_event.rbs +293 -0
- data/sig/whop_sdk/models/identity_profile_needs_action_webhook_event.rbs +293 -0
- data/sig/whop_sdk/models/identity_profile_rejected_webhook_event.rbs +293 -0
- data/sig/whop_sdk/models/identity_profile_updated_webhook_event.rbs +293 -0
- data/sig/whop_sdk/models/invoice_create_params.rbs +20 -0
- data/sig/whop_sdk/models/invoice_update_params.rbs +10 -0
- data/sig/whop_sdk/models/ledger_account_funds_available_webhook_event.rbs +418 -0
- data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +50 -3
- data/sig/whop_sdk/models/media_asset.rbs +160 -0
- data/sig/whop_sdk/models/media_generate_params.rbs +99 -0
- data/sig/whop_sdk/models/media_retrieve_params.rbs +20 -0
- data/sig/whop_sdk/models/membership.rbs +19 -6
- data/sig/whop_sdk/models/membership_list_response.rbs +19 -6
- data/sig/whop_sdk/models/membership_trial_ending_soon_webhook_event.rbs +45 -0
- data/sig/whop_sdk/models/payment.rbs +161 -15
- data/sig/whop_sdk/models/payment_create_params.rbs +16 -6
- data/sig/whop_sdk/models/payment_list_params.rbs +5 -0
- data/sig/whop_sdk/models/payment_list_response.rbs +104 -15
- data/sig/whop_sdk/models/payout_create_params.rbs +50 -0
- data/sig/whop_sdk/models/payout_create_response.rbs +139 -0
- data/sig/whop_sdk/models/payout_list_params.rbs +70 -0
- data/sig/whop_sdk/models/payout_list_response.rbs +153 -0
- data/sig/whop_sdk/models/payout_method_created_webhook_event.rbs +25 -4
- data/sig/whop_sdk/models/payouts/method_list_params.rbs +107 -0
- data/sig/whop_sdk/models/payouts/method_list_response.rbs +229 -0
- data/sig/whop_sdk/models/person_list_params.rbs +97 -0
- data/sig/whop_sdk/models/person_list_response.rbs +162 -0
- data/sig/whop_sdk/models/person_retrieve_params.rbs +42 -0
- data/sig/whop_sdk/models/person_retrieve_response.rbs +175 -0
- data/sig/whop_sdk/models/plan.rbs +325 -119
- data/sig/whop_sdk/models/plan_calculate_tax_params.rbs +344 -0
- data/sig/whop_sdk/models/plan_calculate_tax_response.rbs +67 -0
- data/sig/whop_sdk/models/plan_create_params.rbs +139 -98
- data/sig/whop_sdk/models/plan_list_params.rbs +93 -54
- data/sig/whop_sdk/models/plan_list_response.rbs +75 -126
- data/sig/whop_sdk/models/plan_update_params.rbs +115 -82
- data/sig/whop_sdk/models/product.rbs +5 -0
- data/sig/whop_sdk/models/product_create_params.rbs +33 -124
- data/sig/whop_sdk/models/product_list_item.rbs +5 -0
- data/sig/whop_sdk/models/product_list_params.rbs +53 -48
- data/sig/whop_sdk/models/product_update_params.rbs +15 -88
- data/sig/whop_sdk/models/referral_referred_users_params.rbs +63 -0
- data/sig/whop_sdk/models/referral_referred_users_response.rbs +140 -0
- data/sig/whop_sdk/models/referrals/business_leaderboard_params.rbs +46 -0
- data/sig/whop_sdk/models/referrals/business_leaderboard_response.rbs +221 -0
- data/sig/whop_sdk/models/referrals/business_list_params.rbs +176 -0
- data/sig/whop_sdk/models/referrals/business_list_response.rbs +267 -0
- data/sig/whop_sdk/models/referrals/business_retrieve_params.rbs +22 -0
- data/sig/whop_sdk/models/referrals/business_retrieve_response.rbs +677 -0
- data/sig/whop_sdk/models/referrals/businesses/earning_list_params.rbs +139 -0
- data/sig/whop_sdk/models/referrals/businesses/earning_list_response.rbs +288 -0
- data/sig/whop_sdk/models/referrals/partner_create_params.rbs +17 -0
- data/sig/whop_sdk/models/referrals/partner_create_response.rbs +21 -0
- data/sig/whop_sdk/models/refund_created_webhook_event.rbs +43 -4
- data/sig/whop_sdk/models/refund_retrieve_response.rbs +43 -4
- data/sig/whop_sdk/models/refund_updated_webhook_event.rbs +43 -4
- data/sig/whop_sdk/models/resolution_center_case_platform_response.rbs +0 -2
- data/sig/whop_sdk/models/result_label_keys.rbs +80 -0
- data/sig/whop_sdk/models/setup_intent.rbs +8 -3
- data/sig/whop_sdk/models/social_account.rbs +74 -0
- data/sig/whop_sdk/models/social_account_connect_params.rbs +69 -0
- data/sig/whop_sdk/models/social_account_connect_response.rbs +13 -0
- data/sig/whop_sdk/models/social_account_create_params.rbs +43 -0
- data/sig/whop_sdk/models/social_account_delete_params.rbs +36 -0
- data/sig/whop_sdk/models/social_account_delete_response.rbs +5 -0
- data/sig/whop_sdk/models/social_account_list_params.rbs +152 -0
- data/sig/whop_sdk/models/social_account_post.rbs +111 -0
- data/sig/whop_sdk/models/social_account_posts_params.rbs +52 -0
- data/sig/whop_sdk/models/social_account_posts_response.rbs +37 -0
- data/sig/whop_sdk/models/stat_list_params.rbs +14 -0
- data/sig/whop_sdk/models/stat_list_response.rbs +72 -0
- data/sig/whop_sdk/models/stat_retrieve_params.rbs +211 -0
- data/sig/whop_sdk/models/stat_retrieve_response.rbs +81 -0
- data/sig/whop_sdk/models/swap_create_params.rbs +72 -0
- data/sig/whop_sdk/models/swap_create_quote_params.rbs +84 -0
- data/sig/whop_sdk/models/swap_create_quote_response.rbs +97 -0
- data/sig/whop_sdk/models/swap_create_response.rbs +73 -0
- data/sig/whop_sdk/models/swap_list_params.rbs +23 -0
- data/sig/whop_sdk/models/swap_list_response.rbs +68 -0
- data/sig/whop_sdk/models/swap_retrieve_params.rbs +20 -0
- data/sig/whop_sdk/models/swap_retrieve_response.rbs +55 -0
- data/sig/whop_sdk/models/tax_identifier_type.rbs +4 -0
- data/sig/whop_sdk/models/transfer_create_params.rbs +47 -10
- data/sig/whop_sdk/models/transfer_create_response.rbs +366 -0
- data/sig/whop_sdk/models/transfer_list_params.rbs +77 -42
- data/sig/whop_sdk/models/transfer_list_response.rbs +14 -14
- data/sig/whop_sdk/models/{transfer.rbs → transfer_retrieve_response.rbs} +83 -78
- data/sig/whop_sdk/models/unwrap_webhook_event.rbs +30 -22
- data/sig/whop_sdk/models/user.rbs +203 -16
- data/sig/whop_sdk/models/user_balance.rbs +171 -0
- data/sig/whop_sdk/models/user_check_access_response.rbs +19 -4
- data/sig/whop_sdk/models/user_list_params.rbs +30 -20
- data/sig/whop_sdk/models/user_retrieve_params.rbs +59 -4
- data/sig/whop_sdk/models/user_update_me_params.rbs +74 -0
- data/sig/whop_sdk/models/user_update_params.rbs +42 -24
- data/sig/whop_sdk/models/verification_create_params.rbs +364 -0
- data/sig/whop_sdk/models/verification_create_response.rbs +333 -0
- data/sig/whop_sdk/models/verification_list_params.rbs +40 -20
- data/sig/whop_sdk/models/verification_list_response.rbs +337 -20
- data/sig/whop_sdk/models/verification_retrieve_params.rbs +7 -4
- data/sig/whop_sdk/models/verification_retrieve_response.rbs +312 -14
- data/sig/whop_sdk/models/verification_update_params.rbs +570 -0
- data/sig/whop_sdk/models/verification_update_response.rbs +333 -0
- data/sig/whop_sdk/models/webhook_event.rbs +16 -0
- data/sig/whop_sdk/models/withdrawal.rbs +2 -0
- data/sig/whop_sdk/models/workforce/bounty_list_params.rbs +149 -0
- data/sig/whop_sdk/models/workforce/bounty_retrieve_params.rbs +22 -0
- data/sig/whop_sdk/models/workforce/workforce_bounty.rbs +232 -0
- data/sig/whop_sdk/models/workforce/workforce_bounty_list_item.rbs +227 -0
- data/sig/whop_sdk/models.rbs +151 -7
- data/sig/whop_sdk/resources/accounts/preferences.rbs +20 -0
- data/sig/whop_sdk/resources/accounts.rbs +76 -0
- data/sig/whop_sdk/resources/ad_campaigns.rbs +47 -15
- data/sig/whop_sdk/resources/ad_groups.rbs +77 -20
- data/sig/whop_sdk/resources/ad_reports.rbs +6 -4
- data/sig/whop_sdk/resources/ads.rbs +74 -12
- data/sig/whop_sdk/resources/apps.rbs +16 -0
- data/sig/whop_sdk/resources/audiences.rbs +28 -0
- data/sig/whop_sdk/resources/authorized_users.rbs +1 -0
- data/sig/whop_sdk/resources/bounties.rbs +4 -0
- data/sig/whop_sdk/resources/cards.rbs +47 -0
- data/sig/whop_sdk/resources/checkout_configurations.rbs +21 -11
- data/sig/whop_sdk/resources/deposits.rbs +20 -0
- data/sig/whop_sdk/resources/events.rbs +40 -0
- data/sig/whop_sdk/resources/files.rbs +1 -1
- data/sig/whop_sdk/resources/financial_activity.rbs +22 -0
- data/sig/whop_sdk/resources/media.rbs +22 -0
- data/sig/whop_sdk/resources/payments.rbs +1 -0
- data/sig/whop_sdk/resources/payouts/methods.rbs +23 -0
- data/sig/whop_sdk/resources/payouts.rbs +29 -0
- data/sig/whop_sdk/resources/people.rbs +28 -0
- data/sig/whop_sdk/resources/plans.rbs +37 -25
- data/sig/whop_sdk/resources/products.rbs +17 -31
- data/sig/whop_sdk/resources/referrals/businesses/earnings.rbs +25 -0
- data/sig/whop_sdk/resources/referrals/businesses.rbs +38 -0
- data/sig/whop_sdk/resources/referrals/partners.rbs +13 -0
- data/sig/whop_sdk/resources/referrals.rbs +21 -0
- data/sig/whop_sdk/resources/social_accounts.rbs +52 -0
- data/sig/whop_sdk/resources/stats.rbs +39 -0
- data/sig/whop_sdk/resources/swaps.rbs +41 -0
- data/sig/whop_sdk/resources/transfers.rbs +17 -14
- data/sig/whop_sdk/resources/users.rbs +26 -12
- data/sig/whop_sdk/resources/verifications.rbs +17 -7
- data/sig/whop_sdk/resources/webhooks.rbs +30 -22
- data/sig/whop_sdk/resources/workforce/bounties.rbs +30 -0
- data/sig/whop_sdk/resources/workforce.rbs +9 -0
- metadata +446 -65
- data/lib/whop_sdk/models/ad_campaign_list_response.rb +0 -126
- data/lib/whop_sdk/models/ad_campaign_pause_response.rb +0 -328
- data/lib/whop_sdk/models/ad_campaign_retrieve_response.rb +0 -328
- data/lib/whop_sdk/models/ad_campaign_unpause_response.rb +0 -328
- data/lib/whop_sdk/models/ad_campaign_update_response.rb +0 -328
- data/lib/whop_sdk/models/ad_group_list_response.rb +0 -118
- data/lib/whop_sdk/models/ad_group_retrieve_response.rb +0 -140
- data/lib/whop_sdk/models/ad_group_update_response.rb +0 -140
- data/lib/whop_sdk/models/ad_list_response.rb +0 -89
- data/lib/whop_sdk/models/ad_retrieve_response.rb +0 -133
- data/lib/whop_sdk/models/conversion_create_response.rb +0 -19
- data/lib/whop_sdk/models/payout_destination_category.rb +0 -20
- data/lib/whop_sdk/models/payout_method_list_params.rb +0 -54
- data/lib/whop_sdk/models/payout_method_list_response.rb +0 -140
- data/lib/whop_sdk/models/payout_method_retrieve_response.rb +0 -140
- data/lib/whop_sdk/models/transfer.rb +0 -299
- data/lib/whop_sdk/models/user_list_response.rb +0 -83
- data/lib/whop_sdk/resources/conversions.rb +0 -67
- data/lib/whop_sdk/resources/payout_methods.rb +0 -76
- data/rbi/whop_sdk/models/ad_campaign_list_response.rbi +0 -239
- data/rbi/whop_sdk/models/ad_campaign_pause_response.rbi +0 -668
- data/rbi/whop_sdk/models/ad_campaign_retrieve_response.rbi +0 -679
- data/rbi/whop_sdk/models/ad_campaign_unpause_response.rbi +0 -675
- data/rbi/whop_sdk/models/ad_campaign_update_response.rbi +0 -670
- data/rbi/whop_sdk/models/ad_group_list_response.rbi +0 -228
- data/rbi/whop_sdk/models/ad_group_retrieve_response.rbi +0 -277
- data/rbi/whop_sdk/models/ad_group_update_response.rbi +0 -274
- data/rbi/whop_sdk/models/ad_list_response.rbi +0 -146
- data/rbi/whop_sdk/models/ad_retrieve_response.rbi +0 -245
- data/rbi/whop_sdk/models/conversion_create_params.rbi +0 -661
- data/rbi/whop_sdk/models/payout_destination_category.rbi +0 -33
- data/rbi/whop_sdk/models/payout_method_list_params.rbi +0 -75
- data/rbi/whop_sdk/models/payout_method_list_response.rbi +0 -234
- data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +0 -238
- data/rbi/whop_sdk/models/transfer.rbi +0 -407
- data/rbi/whop_sdk/models/user_list_response.rbi +0 -124
- data/rbi/whop_sdk/resources/conversions.rbi +0 -71
- data/rbi/whop_sdk/resources/payout_methods.rbi +0 -66
- data/sig/whop_sdk/models/ad_campaign_list_response.rbs +0 -98
- data/sig/whop_sdk/models/ad_campaign_pause_response.rbs +0 -232
- data/sig/whop_sdk/models/ad_campaign_retrieve_response.rbs +0 -232
- data/sig/whop_sdk/models/ad_campaign_unpause_response.rbs +0 -232
- data/sig/whop_sdk/models/ad_campaign_update_response.rbs +0 -232
- data/sig/whop_sdk/models/ad_group_list_response.rbs +0 -93
- data/sig/whop_sdk/models/ad_group_retrieve_response.rbs +0 -108
- data/sig/whop_sdk/models/ad_group_update_response.rbs +0 -108
- data/sig/whop_sdk/models/ad_list_response.rbs +0 -72
- data/sig/whop_sdk/models/ad_retrieve_response.rbs +0 -102
- data/sig/whop_sdk/models/conversion_create_params.rbs +0 -349
- data/sig/whop_sdk/models/payout_destination_category.rbs +0 -19
- data/sig/whop_sdk/models/payout_method_list_params.rbs +0 -46
- data/sig/whop_sdk/models/payout_method_list_response.rbs +0 -97
- data/sig/whop_sdk/models/payout_method_retrieve_response.rbs +0 -97
- data/sig/whop_sdk/models/user_list_response.rbs +0 -55
- data/sig/whop_sdk/resources/conversions.rbs +0 -25
- data/sig/whop_sdk/resources/payout_methods.rbs +0 -21
|
@@ -0,0 +1,967 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module WhopSDK
|
|
4
|
+
module Models
|
|
5
|
+
# @see WhopSDK::Resources::Accounts#create
|
|
6
|
+
class Account < WhopSDK::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# Account ID, prefixed `biz_`.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute balances
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<WhopSDK::Models::Account::Balance>]
|
|
16
|
+
required :balances, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Account::Balance] }
|
|
17
|
+
|
|
18
|
+
# @!attribute banner_image_url
|
|
19
|
+
# Account banner image URL.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
required :banner_image_url, String, nil?: true
|
|
23
|
+
|
|
24
|
+
# @!attribute business_address
|
|
25
|
+
# Account business address used to calculate tax, with `line1`, `line2`, `city`,
|
|
26
|
+
# `state`, `postal_code`, and `country`. `null` when no address is set.
|
|
27
|
+
#
|
|
28
|
+
# @return [Object, nil]
|
|
29
|
+
required :business_address, WhopSDK::Internal::Type::Unknown, nil?: true
|
|
30
|
+
|
|
31
|
+
# @!attribute business_type
|
|
32
|
+
# High-level business category for the account.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
required :business_type, String, nil?: true
|
|
36
|
+
|
|
37
|
+
# @!attribute capabilities
|
|
38
|
+
# Payment rails enabled for this account, each `active`, `inactive`, or `pending`
|
|
39
|
+
# (onboarding or review in progress). Computed only on `retrieve` and `me` for
|
|
40
|
+
# callers with `company:balance:read` scope; `null` otherwise.
|
|
41
|
+
#
|
|
42
|
+
# @return [WhopSDK::Models::Account::Capabilities, nil]
|
|
43
|
+
required :capabilities, -> { WhopSDK::Account::Capabilities }, nil?: true
|
|
44
|
+
|
|
45
|
+
# @!attribute country
|
|
46
|
+
# Country where the account is located.
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
required :country, String, nil?: true
|
|
50
|
+
|
|
51
|
+
# @!attribute created_at
|
|
52
|
+
# When the account was created, as an ISO 8601 timestamp.
|
|
53
|
+
#
|
|
54
|
+
# @return [String]
|
|
55
|
+
required :created_at, String
|
|
56
|
+
|
|
57
|
+
# @!attribute description
|
|
58
|
+
# Account promotional description.
|
|
59
|
+
#
|
|
60
|
+
# @return [String, nil]
|
|
61
|
+
required :description, String, nil?: true
|
|
62
|
+
|
|
63
|
+
# @!attribute email
|
|
64
|
+
# Account owner email address.
|
|
65
|
+
#
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
required :email, String, nil?: true
|
|
68
|
+
|
|
69
|
+
# @!attribute home_preferences
|
|
70
|
+
#
|
|
71
|
+
# @return [Array<String>]
|
|
72
|
+
required :home_preferences, WhopSDK::Internal::Type::ArrayOf[String]
|
|
73
|
+
|
|
74
|
+
# @!attribute industry_group
|
|
75
|
+
# Account industry group.
|
|
76
|
+
#
|
|
77
|
+
# @return [String, nil]
|
|
78
|
+
required :industry_group, String, nil?: true
|
|
79
|
+
|
|
80
|
+
# @!attribute industry_type
|
|
81
|
+
# Specific industry vertical for the account.
|
|
82
|
+
#
|
|
83
|
+
# @return [String, nil]
|
|
84
|
+
required :industry_type, String, nil?: true
|
|
85
|
+
|
|
86
|
+
# @!attribute invoice_prefix
|
|
87
|
+
# Prefix used for account invoices.
|
|
88
|
+
#
|
|
89
|
+
# @return [String, nil]
|
|
90
|
+
required :invoice_prefix, String, nil?: true
|
|
91
|
+
|
|
92
|
+
# @!attribute logo_url
|
|
93
|
+
# Account logo image URL.
|
|
94
|
+
#
|
|
95
|
+
# @return [String, nil]
|
|
96
|
+
required :logo_url, String, nil?: true
|
|
97
|
+
|
|
98
|
+
# @!attribute metadata
|
|
99
|
+
# Arbitrary key/value metadata supplied at account creation.
|
|
100
|
+
#
|
|
101
|
+
# @return [Object]
|
|
102
|
+
required :metadata, WhopSDK::Internal::Type::Unknown
|
|
103
|
+
|
|
104
|
+
# @!attribute onboarding_type
|
|
105
|
+
# Type of onboarding the account has completed.
|
|
106
|
+
#
|
|
107
|
+
# @return [String, nil]
|
|
108
|
+
required :onboarding_type, String, nil?: true
|
|
109
|
+
|
|
110
|
+
# @!attribute opengraph_image_url
|
|
111
|
+
# Account Open Graph image URL.
|
|
112
|
+
#
|
|
113
|
+
# @return [String, nil]
|
|
114
|
+
required :opengraph_image_url, String, nil?: true
|
|
115
|
+
|
|
116
|
+
# @!attribute opengraph_image_variant
|
|
117
|
+
# Account Open Graph image variant.
|
|
118
|
+
#
|
|
119
|
+
# @return [String, nil]
|
|
120
|
+
required :opengraph_image_variant, String, nil?: true
|
|
121
|
+
|
|
122
|
+
# @!attribute other_business_description
|
|
123
|
+
# Business type details when business_type is `other`.
|
|
124
|
+
#
|
|
125
|
+
# @return [String, nil]
|
|
126
|
+
required :other_business_description, String, nil?: true
|
|
127
|
+
|
|
128
|
+
# @!attribute other_industry_description
|
|
129
|
+
# Industry details when industry_type is `other`.
|
|
130
|
+
#
|
|
131
|
+
# @return [String, nil]
|
|
132
|
+
required :other_industry_description, String, nil?: true
|
|
133
|
+
|
|
134
|
+
# @!attribute parent_account_id
|
|
135
|
+
# Parent account ID for connected accounts.
|
|
136
|
+
#
|
|
137
|
+
# @return [String, nil]
|
|
138
|
+
required :parent_account_id, String, nil?: true
|
|
139
|
+
|
|
140
|
+
# @!attribute product_tax_code
|
|
141
|
+
# Tax classification code applied by default to the account's products, with `id`,
|
|
142
|
+
# `name`, and `product_type`. `null` when no default is set.
|
|
143
|
+
#
|
|
144
|
+
# @return [Object, nil]
|
|
145
|
+
required :product_tax_code, WhopSDK::Internal::Type::Unknown, nil?: true
|
|
146
|
+
|
|
147
|
+
# @!attribute recommended_actions
|
|
148
|
+
# @deprecated
|
|
149
|
+
#
|
|
150
|
+
# DEPRECATED: Use the `GET /accounts/{account_id}/recommend_actions` endpoint
|
|
151
|
+
# instead.
|
|
152
|
+
#
|
|
153
|
+
# @return [Array<WhopSDK::Models::Account::RecommendedAction>, nil]
|
|
154
|
+
required :recommended_actions,
|
|
155
|
+
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Account::RecommendedAction] },
|
|
156
|
+
nil?: true
|
|
157
|
+
|
|
158
|
+
# @!attribute require_2fa
|
|
159
|
+
# Whether authorized users must enable two-factor authentication.
|
|
160
|
+
#
|
|
161
|
+
# @return [Boolean]
|
|
162
|
+
required :require_2fa, WhopSDK::Internal::Type::Boolean
|
|
163
|
+
|
|
164
|
+
# @!attribute required_actions
|
|
165
|
+
#
|
|
166
|
+
# @return [Array<WhopSDK::Models::Account::RequiredAction>, nil]
|
|
167
|
+
required :required_actions,
|
|
168
|
+
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Account::RequiredAction] },
|
|
169
|
+
nil?: true
|
|
170
|
+
|
|
171
|
+
# @!attribute route
|
|
172
|
+
# Account public route identifier.
|
|
173
|
+
#
|
|
174
|
+
# @return [String]
|
|
175
|
+
required :route, String
|
|
176
|
+
|
|
177
|
+
# @!attribute send_customer_emails
|
|
178
|
+
# Whether Whop sends transactional emails to customers on behalf of this account.
|
|
179
|
+
#
|
|
180
|
+
# @return [Boolean]
|
|
181
|
+
required :send_customer_emails, WhopSDK::Internal::Type::Boolean
|
|
182
|
+
|
|
183
|
+
# @!attribute show_joined_whops
|
|
184
|
+
# Whether the account appears in joined whops on other accounts.
|
|
185
|
+
#
|
|
186
|
+
# @return [Boolean]
|
|
187
|
+
required :show_joined_whops, WhopSDK::Internal::Type::Boolean
|
|
188
|
+
|
|
189
|
+
# @!attribute show_reviews_dtc
|
|
190
|
+
# Whether reviews are displayed on direct-to-consumer product pages.
|
|
191
|
+
#
|
|
192
|
+
# @return [Boolean]
|
|
193
|
+
required :show_reviews_dtc, WhopSDK::Internal::Type::Boolean
|
|
194
|
+
|
|
195
|
+
# @!attribute show_user_directory
|
|
196
|
+
# Whether the account shows users in the user directory.
|
|
197
|
+
#
|
|
198
|
+
# @return [Boolean]
|
|
199
|
+
required :show_user_directory, WhopSDK::Internal::Type::Boolean
|
|
200
|
+
|
|
201
|
+
# @!attribute social_links
|
|
202
|
+
#
|
|
203
|
+
# @return [Array<WhopSDK::Models::AccountSocialLink>]
|
|
204
|
+
required :social_links, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AccountSocialLink] }
|
|
205
|
+
|
|
206
|
+
# @!attribute status
|
|
207
|
+
# Whether the account can operate on Whop: `active` or `suspended`. Computed only
|
|
208
|
+
# on `retrieve` and `me`; `null` otherwise.
|
|
209
|
+
#
|
|
210
|
+
# @return [String, nil]
|
|
211
|
+
required :status, String, nil?: true
|
|
212
|
+
|
|
213
|
+
# @!attribute store_page_config
|
|
214
|
+
# Account store page display configuration.
|
|
215
|
+
#
|
|
216
|
+
# @return [Object]
|
|
217
|
+
required :store_page_config, WhopSDK::Internal::Type::Unknown
|
|
218
|
+
|
|
219
|
+
# @!attribute target_audience
|
|
220
|
+
# Target audience for this account.
|
|
221
|
+
#
|
|
222
|
+
# @return [String, nil]
|
|
223
|
+
required :target_audience, String, nil?: true
|
|
224
|
+
|
|
225
|
+
# @!attribute tax_identifiers
|
|
226
|
+
# Account tax/VAT registrations, each with `id`, `tax_id_type`, and
|
|
227
|
+
# `tax_id_value`. Empty when none are set.
|
|
228
|
+
#
|
|
229
|
+
# @return [Array<Object>]
|
|
230
|
+
required :tax_identifiers, WhopSDK::Internal::Type::ArrayOf[WhopSDK::Internal::Type::Unknown]
|
|
231
|
+
|
|
232
|
+
# @!attribute tax_remitted_by
|
|
233
|
+
# Who calculates and remits tax for the account: `whop` (Whop calculates and
|
|
234
|
+
# remits), `self` (Whop calculates; the account collects and remits), or `none`
|
|
235
|
+
# (neither; the account is responsible). `null` until the account enrolls in the
|
|
236
|
+
# Whop tax service.
|
|
237
|
+
#
|
|
238
|
+
# @return [String, nil]
|
|
239
|
+
required :tax_remitted_by, String, nil?: true
|
|
240
|
+
|
|
241
|
+
# @!attribute title
|
|
242
|
+
# Account display name.
|
|
243
|
+
#
|
|
244
|
+
# @return [String]
|
|
245
|
+
required :title, String
|
|
246
|
+
|
|
247
|
+
# @!attribute total_earned_usd
|
|
248
|
+
# Account lifetime sales, normalized to USD. Computed only on `retrieve` and `me`
|
|
249
|
+
# for callers with `stats:read` scope; `null` otherwise.
|
|
250
|
+
#
|
|
251
|
+
# @return [Float, nil]
|
|
252
|
+
required :total_earned_usd, Float, nil?: true
|
|
253
|
+
|
|
254
|
+
# @!attribute total_usd
|
|
255
|
+
# Total USD value across balances with known exchange rates. Computed only on
|
|
256
|
+
# single-account reads (`retrieve` and `me`); `null` on list responses, writes,
|
|
257
|
+
# missing balance-read permission, or unavailable balance source.
|
|
258
|
+
#
|
|
259
|
+
# @return [String, nil]
|
|
260
|
+
required :total_usd, String, nil?: true
|
|
261
|
+
|
|
262
|
+
# @!attribute use_logo_as_opengraph_image_fallback
|
|
263
|
+
# Whether the account uses its logo as the fallback Open Graph image.
|
|
264
|
+
#
|
|
265
|
+
# @return [Boolean]
|
|
266
|
+
required :use_logo_as_opengraph_image_fallback, WhopSDK::Internal::Type::Boolean
|
|
267
|
+
|
|
268
|
+
# @!attribute verification
|
|
269
|
+
# Account identity verification status for the `individual` (KYC) and `business`
|
|
270
|
+
# (KYB) profiles. Each is `null` until created, otherwise a `status` of
|
|
271
|
+
# `not_started`, `pending`, `approved`, or `rejected`.
|
|
272
|
+
#
|
|
273
|
+
# @return [Object]
|
|
274
|
+
required :verification, WhopSDK::Internal::Type::Unknown
|
|
275
|
+
|
|
276
|
+
# @!attribute wallet
|
|
277
|
+
# Account primary crypto wallet, or `null` if none has been provisioned.
|
|
278
|
+
#
|
|
279
|
+
# @return [WhopSDK::Models::Account::Wallet, nil]
|
|
280
|
+
required :wallet, -> { WhopSDK::Account::Wallet }, nil?: true
|
|
281
|
+
|
|
282
|
+
# @!method initialize(id:, balances:, banner_image_url:, business_address:, business_type:, capabilities:, country:, created_at:, description:, email:, home_preferences:, industry_group:, industry_type:, invoice_prefix:, logo_url:, metadata:, onboarding_type:, opengraph_image_url:, opengraph_image_variant:, other_business_description:, other_industry_description:, parent_account_id:, product_tax_code:, recommended_actions:, require_2fa:, required_actions:, route:, send_customer_emails:, show_joined_whops:, show_reviews_dtc:, show_user_directory:, social_links:, status:, store_page_config:, target_audience:, tax_identifiers:, tax_remitted_by:, title:, total_earned_usd:, total_usd:, use_logo_as_opengraph_image_fallback:, verification:, wallet:)
|
|
283
|
+
# Some parameter documentations has been truncated, see {WhopSDK::Models::Account}
|
|
284
|
+
# for more details.
|
|
285
|
+
#
|
|
286
|
+
# @param id [String] Account ID, prefixed `biz_`.
|
|
287
|
+
#
|
|
288
|
+
# @param balances [Array<WhopSDK::Models::Account::Balance>]
|
|
289
|
+
#
|
|
290
|
+
# @param banner_image_url [String, nil] Account banner image URL.
|
|
291
|
+
#
|
|
292
|
+
# @param business_address [Object, nil] Account business address used to calculate tax, with `line1`, `line2`, `city`, `
|
|
293
|
+
#
|
|
294
|
+
# @param business_type [String, nil] High-level business category for the account.
|
|
295
|
+
#
|
|
296
|
+
# @param capabilities [WhopSDK::Models::Account::Capabilities, nil] Payment rails enabled for this account, each `active`, `inactive`, or `pending`
|
|
297
|
+
#
|
|
298
|
+
# @param country [String, nil] Country where the account is located.
|
|
299
|
+
#
|
|
300
|
+
# @param created_at [String] When the account was created, as an ISO 8601 timestamp.
|
|
301
|
+
#
|
|
302
|
+
# @param description [String, nil] Account promotional description.
|
|
303
|
+
#
|
|
304
|
+
# @param email [String, nil] Account owner email address.
|
|
305
|
+
#
|
|
306
|
+
# @param home_preferences [Array<String>]
|
|
307
|
+
#
|
|
308
|
+
# @param industry_group [String, nil] Account industry group.
|
|
309
|
+
#
|
|
310
|
+
# @param industry_type [String, nil] Specific industry vertical for the account.
|
|
311
|
+
#
|
|
312
|
+
# @param invoice_prefix [String, nil] Prefix used for account invoices.
|
|
313
|
+
#
|
|
314
|
+
# @param logo_url [String, nil] Account logo image URL.
|
|
315
|
+
#
|
|
316
|
+
# @param metadata [Object] Arbitrary key/value metadata supplied at account creation.
|
|
317
|
+
#
|
|
318
|
+
# @param onboarding_type [String, nil] Type of onboarding the account has completed.
|
|
319
|
+
#
|
|
320
|
+
# @param opengraph_image_url [String, nil] Account Open Graph image URL.
|
|
321
|
+
#
|
|
322
|
+
# @param opengraph_image_variant [String, nil] Account Open Graph image variant.
|
|
323
|
+
#
|
|
324
|
+
# @param other_business_description [String, nil] Business type details when business_type is `other`.
|
|
325
|
+
#
|
|
326
|
+
# @param other_industry_description [String, nil] Industry details when industry_type is `other`.
|
|
327
|
+
#
|
|
328
|
+
# @param parent_account_id [String, nil] Parent account ID for connected accounts.
|
|
329
|
+
#
|
|
330
|
+
# @param product_tax_code [Object, nil] Tax classification code applied by default to the account's products, with `id`,
|
|
331
|
+
#
|
|
332
|
+
# @param recommended_actions [Array<WhopSDK::Models::Account::RecommendedAction>, nil] DEPRECATED: Use the `GET /accounts/{account_id}/recommend_actions` endpoint inst
|
|
333
|
+
#
|
|
334
|
+
# @param require_2fa [Boolean] Whether authorized users must enable two-factor authentication.
|
|
335
|
+
#
|
|
336
|
+
# @param required_actions [Array<WhopSDK::Models::Account::RequiredAction>, nil]
|
|
337
|
+
#
|
|
338
|
+
# @param route [String] Account public route identifier.
|
|
339
|
+
#
|
|
340
|
+
# @param send_customer_emails [Boolean] Whether Whop sends transactional emails to customers on behalf of this account.
|
|
341
|
+
#
|
|
342
|
+
# @param show_joined_whops [Boolean] Whether the account appears in joined whops on other accounts.
|
|
343
|
+
#
|
|
344
|
+
# @param show_reviews_dtc [Boolean] Whether reviews are displayed on direct-to-consumer product pages.
|
|
345
|
+
#
|
|
346
|
+
# @param show_user_directory [Boolean] Whether the account shows users in the user directory.
|
|
347
|
+
#
|
|
348
|
+
# @param social_links [Array<WhopSDK::Models::AccountSocialLink>]
|
|
349
|
+
#
|
|
350
|
+
# @param status [String, nil] Whether the account can operate on Whop: `active` or `suspended`. Computed only
|
|
351
|
+
#
|
|
352
|
+
# @param store_page_config [Object] Account store page display configuration.
|
|
353
|
+
#
|
|
354
|
+
# @param target_audience [String, nil] Target audience for this account.
|
|
355
|
+
#
|
|
356
|
+
# @param tax_identifiers [Array<Object>] Account tax/VAT registrations, each with `id`, `tax_id_type`, and `tax_id_value`
|
|
357
|
+
#
|
|
358
|
+
# @param tax_remitted_by [String, nil] Who calculates and remits tax for the account: `whop` (Whop calculates and remit
|
|
359
|
+
#
|
|
360
|
+
# @param title [String] Account display name.
|
|
361
|
+
#
|
|
362
|
+
# @param total_earned_usd [Float, nil] Account lifetime sales, normalized to USD. Computed only on `retrieve` and `me`
|
|
363
|
+
#
|
|
364
|
+
# @param total_usd [String, nil] Total USD value across balances with known exchange rates. Computed only on sing
|
|
365
|
+
#
|
|
366
|
+
# @param use_logo_as_opengraph_image_fallback [Boolean] Whether the account uses its logo as the fallback Open Graph image.
|
|
367
|
+
#
|
|
368
|
+
# @param verification [Object] Account identity verification status for the `individual` (KYC) and `business` (
|
|
369
|
+
#
|
|
370
|
+
# @param wallet [WhopSDK::Models::Account::Wallet, nil] Account primary crypto wallet, or `null` if none has been provisioned.
|
|
371
|
+
|
|
372
|
+
class Balance < WhopSDK::Internal::Type::BaseModel
|
|
373
|
+
# @!attribute balance
|
|
374
|
+
# Total amount held in native units, as a decimal string.
|
|
375
|
+
#
|
|
376
|
+
# @return [String]
|
|
377
|
+
required :balance, String
|
|
378
|
+
|
|
379
|
+
# @!attribute breakdown
|
|
380
|
+
# Balance split into available, pending, and reserve amounts, as native-unit
|
|
381
|
+
# decimal strings. On-chain crypto is entirely available; good_funds and fiat cash
|
|
382
|
+
# can have pending or reserve portions.
|
|
383
|
+
#
|
|
384
|
+
# @return [Object]
|
|
385
|
+
required :breakdown, WhopSDK::Internal::Type::Unknown
|
|
386
|
+
|
|
387
|
+
# @!attribute icon_url
|
|
388
|
+
# Holding icon URL.
|
|
389
|
+
#
|
|
390
|
+
# @return [String, nil]
|
|
391
|
+
required :icon_url, String, nil?: true
|
|
392
|
+
|
|
393
|
+
# @!attribute name
|
|
394
|
+
# The holding's display name
|
|
395
|
+
#
|
|
396
|
+
# @return [String]
|
|
397
|
+
required :name, String
|
|
398
|
+
|
|
399
|
+
# @!attribute price_usd
|
|
400
|
+
# USD price per unit, or `null` when no exchange rate is available.
|
|
401
|
+
#
|
|
402
|
+
# @return [Float, nil]
|
|
403
|
+
required :price_usd, Float, nil?: true
|
|
404
|
+
|
|
405
|
+
# @!attribute symbol
|
|
406
|
+
# Holding display symbol, such as `USDT`, `cbBTC`, or `EUR`.
|
|
407
|
+
#
|
|
408
|
+
# @return [String]
|
|
409
|
+
required :symbol, String
|
|
410
|
+
|
|
411
|
+
# @!attribute value_usd
|
|
412
|
+
# Holding USD value, or `null` when no exchange rate is available.
|
|
413
|
+
#
|
|
414
|
+
# @return [String, nil]
|
|
415
|
+
required :value_usd, String, nil?: true
|
|
416
|
+
|
|
417
|
+
# @!method initialize(balance:, breakdown:, icon_url:, name:, price_usd:, symbol:, value_usd:)
|
|
418
|
+
# Some parameter documentations has been truncated, see
|
|
419
|
+
# {WhopSDK::Models::Account::Balance} for more details.
|
|
420
|
+
#
|
|
421
|
+
# Account holdings, each with USD value. Empty when `total_usd` is `null`.
|
|
422
|
+
#
|
|
423
|
+
# @param balance [String] Total amount held in native units, as a decimal string.
|
|
424
|
+
#
|
|
425
|
+
# @param breakdown [Object] Balance split into available, pending, and reserve amounts, as native-unit decim
|
|
426
|
+
#
|
|
427
|
+
# @param icon_url [String, nil] Holding icon URL.
|
|
428
|
+
#
|
|
429
|
+
# @param name [String] The holding's display name
|
|
430
|
+
#
|
|
431
|
+
# @param price_usd [Float, nil] USD price per unit, or `null` when no exchange rate is available.
|
|
432
|
+
#
|
|
433
|
+
# @param symbol [String] Holding display symbol, such as `USDT`, `cbBTC`, or `EUR`.
|
|
434
|
+
#
|
|
435
|
+
# @param value_usd [String, nil] Holding USD value, or `null` when no exchange rate is available.
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# @see WhopSDK::Models::Account#capabilities
|
|
439
|
+
class Capabilities < WhopSDK::Internal::Type::BaseModel
|
|
440
|
+
# @!attribute accept_bank_payments
|
|
441
|
+
# Bank payins: debits, transfers, and local bank rails
|
|
442
|
+
#
|
|
443
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::AcceptBankPayments]
|
|
444
|
+
required :accept_bank_payments, enum: -> { WhopSDK::Account::Capabilities::AcceptBankPayments }
|
|
445
|
+
|
|
446
|
+
# @!attribute accept_bnpl_payments
|
|
447
|
+
# Buy-now-pay-later payins; requires approval
|
|
448
|
+
#
|
|
449
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::AcceptBnplPayments]
|
|
450
|
+
required :accept_bnpl_payments, enum: -> { WhopSDK::Account::Capabilities::AcceptBnplPayments }
|
|
451
|
+
|
|
452
|
+
# @!attribute accept_card_payments
|
|
453
|
+
# Card payins, including Apple Pay and Google Pay
|
|
454
|
+
#
|
|
455
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::AcceptCardPayments]
|
|
456
|
+
required :accept_card_payments, enum: -> { WhopSDK::Account::Capabilities::AcceptCardPayments }
|
|
457
|
+
|
|
458
|
+
# @!attribute bank_deposit
|
|
459
|
+
# Deposits by bank wire or ACH to the account's virtual bank account
|
|
460
|
+
#
|
|
461
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::BankDeposit]
|
|
462
|
+
required :bank_deposit, enum: -> { WhopSDK::Account::Capabilities::BankDeposit }
|
|
463
|
+
|
|
464
|
+
# @!attribute card_deposit
|
|
465
|
+
# Balance top-ups by charging a stored payment method
|
|
466
|
+
#
|
|
467
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::CardDeposit]
|
|
468
|
+
required :card_deposit, enum: -> { WhopSDK::Account::Capabilities::CardDeposit }
|
|
469
|
+
|
|
470
|
+
# @!attribute card_issuing
|
|
471
|
+
# Issuing Whop cards; requires card application approval
|
|
472
|
+
#
|
|
473
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::CardIssuing]
|
|
474
|
+
required :card_issuing, enum: -> { WhopSDK::Account::Capabilities::CardIssuing }
|
|
475
|
+
|
|
476
|
+
# @!attribute crypto_deposit
|
|
477
|
+
# On-chain deposits to the account's crypto wallet
|
|
478
|
+
#
|
|
479
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::CryptoDeposit]
|
|
480
|
+
required :crypto_deposit, enum: -> { WhopSDK::Account::Capabilities::CryptoDeposit }
|
|
481
|
+
|
|
482
|
+
# @!attribute crypto_payout
|
|
483
|
+
# On-chain payouts to a crypto wallet
|
|
484
|
+
#
|
|
485
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::CryptoPayout]
|
|
486
|
+
required :crypto_payout, enum: -> { WhopSDK::Account::Capabilities::CryptoPayout }
|
|
487
|
+
|
|
488
|
+
# @!attribute instant_payout
|
|
489
|
+
# Instant payouts to an eligible payout destination
|
|
490
|
+
#
|
|
491
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::InstantPayout]
|
|
492
|
+
required :instant_payout, enum: -> { WhopSDK::Account::Capabilities::InstantPayout }
|
|
493
|
+
|
|
494
|
+
# @!attribute standard_payout
|
|
495
|
+
# Standard payouts to an external payout destination
|
|
496
|
+
#
|
|
497
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::StandardPayout]
|
|
498
|
+
required :standard_payout, enum: -> { WhopSDK::Account::Capabilities::StandardPayout }
|
|
499
|
+
|
|
500
|
+
# @!attribute transfer
|
|
501
|
+
# Transfers to other accounts
|
|
502
|
+
#
|
|
503
|
+
# @return [Symbol, WhopSDK::Models::Account::Capabilities::Transfer]
|
|
504
|
+
required :transfer, enum: -> { WhopSDK::Account::Capabilities::Transfer }
|
|
505
|
+
|
|
506
|
+
# @!method initialize(accept_bank_payments:, accept_bnpl_payments:, accept_card_payments:, bank_deposit:, card_deposit:, card_issuing:, crypto_deposit:, crypto_payout:, instant_payout:, standard_payout:, transfer:)
|
|
507
|
+
# Payment rails enabled for this account, each `active`, `inactive`, or `pending`
|
|
508
|
+
# (onboarding or review in progress). Computed only on `retrieve` and `me` for
|
|
509
|
+
# callers with `company:balance:read` scope; `null` otherwise.
|
|
510
|
+
#
|
|
511
|
+
# @param accept_bank_payments [Symbol, WhopSDK::Models::Account::Capabilities::AcceptBankPayments] Bank payins: debits, transfers, and local bank rails
|
|
512
|
+
#
|
|
513
|
+
# @param accept_bnpl_payments [Symbol, WhopSDK::Models::Account::Capabilities::AcceptBnplPayments] Buy-now-pay-later payins; requires approval
|
|
514
|
+
#
|
|
515
|
+
# @param accept_card_payments [Symbol, WhopSDK::Models::Account::Capabilities::AcceptCardPayments] Card payins, including Apple Pay and Google Pay
|
|
516
|
+
#
|
|
517
|
+
# @param bank_deposit [Symbol, WhopSDK::Models::Account::Capabilities::BankDeposit] Deposits by bank wire or ACH to the account's virtual bank account
|
|
518
|
+
#
|
|
519
|
+
# @param card_deposit [Symbol, WhopSDK::Models::Account::Capabilities::CardDeposit] Balance top-ups by charging a stored payment method
|
|
520
|
+
#
|
|
521
|
+
# @param card_issuing [Symbol, WhopSDK::Models::Account::Capabilities::CardIssuing] Issuing Whop cards; requires card application approval
|
|
522
|
+
#
|
|
523
|
+
# @param crypto_deposit [Symbol, WhopSDK::Models::Account::Capabilities::CryptoDeposit] On-chain deposits to the account's crypto wallet
|
|
524
|
+
#
|
|
525
|
+
# @param crypto_payout [Symbol, WhopSDK::Models::Account::Capabilities::CryptoPayout] On-chain payouts to a crypto wallet
|
|
526
|
+
#
|
|
527
|
+
# @param instant_payout [Symbol, WhopSDK::Models::Account::Capabilities::InstantPayout] Instant payouts to an eligible payout destination
|
|
528
|
+
#
|
|
529
|
+
# @param standard_payout [Symbol, WhopSDK::Models::Account::Capabilities::StandardPayout] Standard payouts to an external payout destination
|
|
530
|
+
#
|
|
531
|
+
# @param transfer [Symbol, WhopSDK::Models::Account::Capabilities::Transfer] Transfers to other accounts
|
|
532
|
+
|
|
533
|
+
# Bank payins: debits, transfers, and local bank rails
|
|
534
|
+
#
|
|
535
|
+
# @see WhopSDK::Models::Account::Capabilities#accept_bank_payments
|
|
536
|
+
module AcceptBankPayments
|
|
537
|
+
extend WhopSDK::Internal::Type::Enum
|
|
538
|
+
|
|
539
|
+
ACTIVE = :active
|
|
540
|
+
INACTIVE = :inactive
|
|
541
|
+
PENDING = :pending
|
|
542
|
+
|
|
543
|
+
# @!method self.values
|
|
544
|
+
# @return [Array<Symbol>]
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
# Buy-now-pay-later payins; requires approval
|
|
548
|
+
#
|
|
549
|
+
# @see WhopSDK::Models::Account::Capabilities#accept_bnpl_payments
|
|
550
|
+
module AcceptBnplPayments
|
|
551
|
+
extend WhopSDK::Internal::Type::Enum
|
|
552
|
+
|
|
553
|
+
ACTIVE = :active
|
|
554
|
+
INACTIVE = :inactive
|
|
555
|
+
PENDING = :pending
|
|
556
|
+
|
|
557
|
+
# @!method self.values
|
|
558
|
+
# @return [Array<Symbol>]
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
# Card payins, including Apple Pay and Google Pay
|
|
562
|
+
#
|
|
563
|
+
# @see WhopSDK::Models::Account::Capabilities#accept_card_payments
|
|
564
|
+
module AcceptCardPayments
|
|
565
|
+
extend WhopSDK::Internal::Type::Enum
|
|
566
|
+
|
|
567
|
+
ACTIVE = :active
|
|
568
|
+
INACTIVE = :inactive
|
|
569
|
+
PENDING = :pending
|
|
570
|
+
|
|
571
|
+
# @!method self.values
|
|
572
|
+
# @return [Array<Symbol>]
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
# Deposits by bank wire or ACH to the account's virtual bank account
|
|
576
|
+
#
|
|
577
|
+
# @see WhopSDK::Models::Account::Capabilities#bank_deposit
|
|
578
|
+
module BankDeposit
|
|
579
|
+
extend WhopSDK::Internal::Type::Enum
|
|
580
|
+
|
|
581
|
+
ACTIVE = :active
|
|
582
|
+
INACTIVE = :inactive
|
|
583
|
+
PENDING = :pending
|
|
584
|
+
|
|
585
|
+
# @!method self.values
|
|
586
|
+
# @return [Array<Symbol>]
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
# Balance top-ups by charging a stored payment method
|
|
590
|
+
#
|
|
591
|
+
# @see WhopSDK::Models::Account::Capabilities#card_deposit
|
|
592
|
+
module CardDeposit
|
|
593
|
+
extend WhopSDK::Internal::Type::Enum
|
|
594
|
+
|
|
595
|
+
ACTIVE = :active
|
|
596
|
+
INACTIVE = :inactive
|
|
597
|
+
PENDING = :pending
|
|
598
|
+
|
|
599
|
+
# @!method self.values
|
|
600
|
+
# @return [Array<Symbol>]
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
# Issuing Whop cards; requires card application approval
|
|
604
|
+
#
|
|
605
|
+
# @see WhopSDK::Models::Account::Capabilities#card_issuing
|
|
606
|
+
module CardIssuing
|
|
607
|
+
extend WhopSDK::Internal::Type::Enum
|
|
608
|
+
|
|
609
|
+
ACTIVE = :active
|
|
610
|
+
INACTIVE = :inactive
|
|
611
|
+
PENDING = :pending
|
|
612
|
+
|
|
613
|
+
# @!method self.values
|
|
614
|
+
# @return [Array<Symbol>]
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
# On-chain deposits to the account's crypto wallet
|
|
618
|
+
#
|
|
619
|
+
# @see WhopSDK::Models::Account::Capabilities#crypto_deposit
|
|
620
|
+
module CryptoDeposit
|
|
621
|
+
extend WhopSDK::Internal::Type::Enum
|
|
622
|
+
|
|
623
|
+
ACTIVE = :active
|
|
624
|
+
INACTIVE = :inactive
|
|
625
|
+
PENDING = :pending
|
|
626
|
+
|
|
627
|
+
# @!method self.values
|
|
628
|
+
# @return [Array<Symbol>]
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
# On-chain payouts to a crypto wallet
|
|
632
|
+
#
|
|
633
|
+
# @see WhopSDK::Models::Account::Capabilities#crypto_payout
|
|
634
|
+
module CryptoPayout
|
|
635
|
+
extend WhopSDK::Internal::Type::Enum
|
|
636
|
+
|
|
637
|
+
ACTIVE = :active
|
|
638
|
+
INACTIVE = :inactive
|
|
639
|
+
PENDING = :pending
|
|
640
|
+
|
|
641
|
+
# @!method self.values
|
|
642
|
+
# @return [Array<Symbol>]
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
# Instant payouts to an eligible payout destination
|
|
646
|
+
#
|
|
647
|
+
# @see WhopSDK::Models::Account::Capabilities#instant_payout
|
|
648
|
+
module InstantPayout
|
|
649
|
+
extend WhopSDK::Internal::Type::Enum
|
|
650
|
+
|
|
651
|
+
ACTIVE = :active
|
|
652
|
+
INACTIVE = :inactive
|
|
653
|
+
PENDING = :pending
|
|
654
|
+
|
|
655
|
+
# @!method self.values
|
|
656
|
+
# @return [Array<Symbol>]
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
# Standard payouts to an external payout destination
|
|
660
|
+
#
|
|
661
|
+
# @see WhopSDK::Models::Account::Capabilities#standard_payout
|
|
662
|
+
module StandardPayout
|
|
663
|
+
extend WhopSDK::Internal::Type::Enum
|
|
664
|
+
|
|
665
|
+
ACTIVE = :active
|
|
666
|
+
INACTIVE = :inactive
|
|
667
|
+
PENDING = :pending
|
|
668
|
+
|
|
669
|
+
# @!method self.values
|
|
670
|
+
# @return [Array<Symbol>]
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
# Transfers to other accounts
|
|
674
|
+
#
|
|
675
|
+
# @see WhopSDK::Models::Account::Capabilities#transfer
|
|
676
|
+
module Transfer
|
|
677
|
+
extend WhopSDK::Internal::Type::Enum
|
|
678
|
+
|
|
679
|
+
ACTIVE = :active
|
|
680
|
+
INACTIVE = :inactive
|
|
681
|
+
PENDING = :pending
|
|
682
|
+
|
|
683
|
+
# @!method self.values
|
|
684
|
+
# @return [Array<Symbol>]
|
|
685
|
+
end
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
class RecommendedAction < WhopSDK::Internal::Type::BaseModel
|
|
689
|
+
# @!attribute action
|
|
690
|
+
# The recommendation; new values may be added, so handle unknown actions
|
|
691
|
+
# gracefully
|
|
692
|
+
#
|
|
693
|
+
# @return [Symbol, WhopSDK::Models::Account::RecommendedAction::Action]
|
|
694
|
+
required :action, enum: -> { WhopSDK::Account::RecommendedAction::Action }
|
|
695
|
+
|
|
696
|
+
# @!attribute blocked_capabilities
|
|
697
|
+
#
|
|
698
|
+
# @return [Array<String>]
|
|
699
|
+
required :blocked_capabilities, WhopSDK::Internal::Type::ArrayOf[String]
|
|
700
|
+
|
|
701
|
+
# @!attribute cta
|
|
702
|
+
# The URL the call-to-action links to
|
|
703
|
+
#
|
|
704
|
+
# @return [String]
|
|
705
|
+
required :cta, String
|
|
706
|
+
|
|
707
|
+
# @!attribute cta_label
|
|
708
|
+
# Button label
|
|
709
|
+
#
|
|
710
|
+
# @return [String]
|
|
711
|
+
required :cta_label, String
|
|
712
|
+
|
|
713
|
+
# @!attribute description
|
|
714
|
+
# Supporting copy, or empty
|
|
715
|
+
#
|
|
716
|
+
# @return [String]
|
|
717
|
+
required :description, String
|
|
718
|
+
|
|
719
|
+
# @!attribute icon_url
|
|
720
|
+
# Illustration icon URL, or `null`
|
|
721
|
+
#
|
|
722
|
+
# @return [String, nil]
|
|
723
|
+
required :icon_url, String, nil?: true
|
|
724
|
+
|
|
725
|
+
# @!attribute impact_score
|
|
726
|
+
# Estimated revenue impact from 0-100, comparable across accounts, or `null` when
|
|
727
|
+
# not ranked
|
|
728
|
+
#
|
|
729
|
+
# @return [Integer, nil]
|
|
730
|
+
required :impact_score, Integer, nil?: true
|
|
731
|
+
|
|
732
|
+
# @!attribute reasoning
|
|
733
|
+
# Why this action was recommended for this account, or `null`
|
|
734
|
+
#
|
|
735
|
+
# @return [String, nil]
|
|
736
|
+
required :reasoning, String, nil?: true
|
|
737
|
+
|
|
738
|
+
# @!attribute status
|
|
739
|
+
# Always optional — never blocking
|
|
740
|
+
#
|
|
741
|
+
# @return [Symbol, WhopSDK::Models::Account::RecommendedAction::Status]
|
|
742
|
+
required :status, enum: -> { WhopSDK::Account::RecommendedAction::Status }
|
|
743
|
+
|
|
744
|
+
# @!attribute title
|
|
745
|
+
# Headline for the recommendation
|
|
746
|
+
#
|
|
747
|
+
# @return [String]
|
|
748
|
+
required :title, String
|
|
749
|
+
|
|
750
|
+
# @!method initialize(action:, blocked_capabilities:, cta:, cta_label:, description:, icon_url:, impact_score:, reasoning:, status:, title:)
|
|
751
|
+
# Some parameter documentations has been truncated, see
|
|
752
|
+
# {WhopSDK::Models::Account::RecommendedAction} for more details.
|
|
753
|
+
#
|
|
754
|
+
# Deprecated: use the `GET /accounts/{account_id}/recommend_actions` endpoint
|
|
755
|
+
# instead. Optional actions that unlock capabilities or grow the account, same
|
|
756
|
+
# shape as `required_actions`. Computed only on `retrieve` and `me`; `null`
|
|
757
|
+
# otherwise.
|
|
758
|
+
#
|
|
759
|
+
# @param action [Symbol, WhopSDK::Models::Account::RecommendedAction::Action] The recommendation; new values may be added, so handle unknown actions gracefull
|
|
760
|
+
#
|
|
761
|
+
# @param blocked_capabilities [Array<String>]
|
|
762
|
+
#
|
|
763
|
+
# @param cta [String] The URL the call-to-action links to
|
|
764
|
+
#
|
|
765
|
+
# @param cta_label [String] Button label
|
|
766
|
+
#
|
|
767
|
+
# @param description [String] Supporting copy, or empty
|
|
768
|
+
#
|
|
769
|
+
# @param icon_url [String, nil] Illustration icon URL, or `null`
|
|
770
|
+
#
|
|
771
|
+
# @param impact_score [Integer, nil] Estimated revenue impact from 0-100, comparable across accounts, or `null` when
|
|
772
|
+
#
|
|
773
|
+
# @param reasoning [String, nil] Why this action was recommended for this account, or `null`
|
|
774
|
+
#
|
|
775
|
+
# @param status [Symbol, WhopSDK::Models::Account::RecommendedAction::Status] Always optional — never blocking
|
|
776
|
+
#
|
|
777
|
+
# @param title [String] Headline for the recommendation
|
|
778
|
+
|
|
779
|
+
# The recommendation; new values may be added, so handle unknown actions
|
|
780
|
+
# gracefully
|
|
781
|
+
#
|
|
782
|
+
# @see WhopSDK::Models::Account::RecommendedAction#action
|
|
783
|
+
module Action
|
|
784
|
+
extend WhopSDK::Internal::Type::Enum
|
|
785
|
+
|
|
786
|
+
THEME_BUSINESS = :theme_business
|
|
787
|
+
CREATE_PRODUCT = :create_product
|
|
788
|
+
CREATE_PLAN = :create_plan
|
|
789
|
+
VERIFY_IDENTITY = :verify_identity
|
|
790
|
+
CONNECT_AFFILIATE_PROGRAM = :connect_affiliate_program
|
|
791
|
+
CREATE_PROMOTION = :create_promotion
|
|
792
|
+
SETUP_TRACKING_PIXEL = :setup_tracking_pixel
|
|
793
|
+
MIGRATE_FROM_STRIPE = :migrate_from_stripe
|
|
794
|
+
ACCEPT_FIRST_PAYMENT = :accept_first_payment
|
|
795
|
+
LAUNCH_FIRST_AD = :launch_first_ad
|
|
796
|
+
INVITE_TEAM_MEMBER = :invite_team_member
|
|
797
|
+
ENABLE_TAX_COLLECTION = :enable_tax_collection
|
|
798
|
+
CREATE_CARD = :create_card
|
|
799
|
+
JOIN_WHOP_UNIVERSITY = :join_whop_university
|
|
800
|
+
APPLY_FOR_FINANCING = :apply_for_financing
|
|
801
|
+
|
|
802
|
+
# @!method self.values
|
|
803
|
+
# @return [Array<Symbol>]
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
# Always optional — never blocking
|
|
807
|
+
#
|
|
808
|
+
# @see WhopSDK::Models::Account::RecommendedAction#status
|
|
809
|
+
module Status
|
|
810
|
+
extend WhopSDK::Internal::Type::Enum
|
|
811
|
+
|
|
812
|
+
OPTIONAL = :optional
|
|
813
|
+
|
|
814
|
+
# @!method self.values
|
|
815
|
+
# @return [Array<Symbol>]
|
|
816
|
+
end
|
|
817
|
+
end
|
|
818
|
+
|
|
819
|
+
class RequiredAction < WhopSDK::Internal::Type::BaseModel
|
|
820
|
+
# @!attribute action
|
|
821
|
+
# What the holder must do; new values may be added, so handle unknown actions
|
|
822
|
+
# gracefully
|
|
823
|
+
#
|
|
824
|
+
# @return [Symbol, WhopSDK::Models::Account::RequiredAction::Action]
|
|
825
|
+
required :action, enum: -> { WhopSDK::Account::RequiredAction::Action }
|
|
826
|
+
|
|
827
|
+
# @!attribute blocked_capabilities
|
|
828
|
+
#
|
|
829
|
+
# @return [Array<String>]
|
|
830
|
+
required :blocked_capabilities, WhopSDK::Internal::Type::ArrayOf[String]
|
|
831
|
+
|
|
832
|
+
# @!attribute cta
|
|
833
|
+
# The URL the call-to-action links to, or null when there is no button
|
|
834
|
+
#
|
|
835
|
+
# @return [String, nil]
|
|
836
|
+
required :cta, String, nil?: true
|
|
837
|
+
|
|
838
|
+
# @!attribute cta_label
|
|
839
|
+
# Button label, or empty when there is no button
|
|
840
|
+
#
|
|
841
|
+
# @return [String]
|
|
842
|
+
required :cta_label, String
|
|
843
|
+
|
|
844
|
+
# @!attribute description
|
|
845
|
+
# Supporting copy, or empty
|
|
846
|
+
#
|
|
847
|
+
# @return [String]
|
|
848
|
+
required :description, String
|
|
849
|
+
|
|
850
|
+
# @!attribute icon_url
|
|
851
|
+
# The URL of the action's illustration icon, or null if it has none
|
|
852
|
+
#
|
|
853
|
+
# @return [String, nil]
|
|
854
|
+
required :icon_url, String, nil?: true
|
|
855
|
+
|
|
856
|
+
# @!attribute status
|
|
857
|
+
# required (act now) or pending (under review)
|
|
858
|
+
#
|
|
859
|
+
# @return [Symbol, WhopSDK::Models::Account::RequiredAction::Status]
|
|
860
|
+
required :status, enum: -> { WhopSDK::Account::RequiredAction::Status }
|
|
861
|
+
|
|
862
|
+
# @!attribute title
|
|
863
|
+
# Headline for the action
|
|
864
|
+
#
|
|
865
|
+
# @return [String]
|
|
866
|
+
required :title, String
|
|
867
|
+
|
|
868
|
+
# @!method initialize(action:, blocked_capabilities:, cta:, cta_label:, description:, icon_url:, status:, title:)
|
|
869
|
+
# Some parameter documentations has been truncated, see
|
|
870
|
+
# {WhopSDK::Models::Account::RequiredAction} for more details.
|
|
871
|
+
#
|
|
872
|
+
# Actions the account owner must take to unblock capabilities like payouts and
|
|
873
|
+
# card spend, ordered by display priority. Computed only on `retrieve` and `me`
|
|
874
|
+
# for callers with `company:balance:read` scope; `null` otherwise.
|
|
875
|
+
#
|
|
876
|
+
# @param action [Symbol, WhopSDK::Models::Account::RequiredAction::Action] What the holder must do; new values may be added, so handle unknown actions grac
|
|
877
|
+
#
|
|
878
|
+
# @param blocked_capabilities [Array<String>]
|
|
879
|
+
#
|
|
880
|
+
# @param cta [String, nil] The URL the call-to-action links to, or null when there is no button
|
|
881
|
+
#
|
|
882
|
+
# @param cta_label [String] Button label, or empty when there is no button
|
|
883
|
+
#
|
|
884
|
+
# @param description [String] Supporting copy, or empty
|
|
885
|
+
#
|
|
886
|
+
# @param icon_url [String, nil] The URL of the action's illustration icon, or null if it has none
|
|
887
|
+
#
|
|
888
|
+
# @param status [Symbol, WhopSDK::Models::Account::RequiredAction::Status] required (act now) or pending (under review)
|
|
889
|
+
#
|
|
890
|
+
# @param title [String] Headline for the action
|
|
891
|
+
|
|
892
|
+
# What the holder must do; new values may be added, so handle unknown actions
|
|
893
|
+
# gracefully
|
|
894
|
+
#
|
|
895
|
+
# @see WhopSDK::Models::Account::RequiredAction#action
|
|
896
|
+
module Action
|
|
897
|
+
extend WhopSDK::Internal::Type::Enum
|
|
898
|
+
|
|
899
|
+
DEPOSIT_FUNDS = :deposit_funds
|
|
900
|
+
SUBMIT_INFORMATION_REQUEST = :submit_information_request
|
|
901
|
+
VERIFY_IDENTITY = :verify_identity
|
|
902
|
+
CONNECT_FULFILLMENT_TRACKER = :connect_fulfillment_tracker
|
|
903
|
+
|
|
904
|
+
# @!method self.values
|
|
905
|
+
# @return [Array<Symbol>]
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
# required (act now) or pending (under review)
|
|
909
|
+
#
|
|
910
|
+
# @see WhopSDK::Models::Account::RequiredAction#status
|
|
911
|
+
module Status
|
|
912
|
+
extend WhopSDK::Internal::Type::Enum
|
|
913
|
+
|
|
914
|
+
REQUIRED = :required
|
|
915
|
+
PENDING = :pending
|
|
916
|
+
|
|
917
|
+
# @!method self.values
|
|
918
|
+
# @return [Array<Symbol>]
|
|
919
|
+
end
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
# @see WhopSDK::Models::Account#wallet
|
|
923
|
+
class Wallet < WhopSDK::Internal::Type::BaseModel
|
|
924
|
+
# @!attribute id
|
|
925
|
+
# Wallet ID, prefixed `wallet_`.
|
|
926
|
+
#
|
|
927
|
+
# @return [String]
|
|
928
|
+
required :id, String
|
|
929
|
+
|
|
930
|
+
# @!attribute address
|
|
931
|
+
# The on-chain address of the wallet
|
|
932
|
+
#
|
|
933
|
+
# @return [String]
|
|
934
|
+
required :address, String
|
|
935
|
+
|
|
936
|
+
# @!attribute network
|
|
937
|
+
# The blockchain network the wallet lives on
|
|
938
|
+
#
|
|
939
|
+
# @return [Symbol, WhopSDK::Models::Account::Wallet::Network]
|
|
940
|
+
required :network, enum: -> { WhopSDK::Account::Wallet::Network }
|
|
941
|
+
|
|
942
|
+
# @!method initialize(id:, address:, network:)
|
|
943
|
+
# Account primary crypto wallet, or `null` if none has been provisioned.
|
|
944
|
+
#
|
|
945
|
+
# @param id [String] Wallet ID, prefixed `wallet_`.
|
|
946
|
+
#
|
|
947
|
+
# @param address [String] The on-chain address of the wallet
|
|
948
|
+
#
|
|
949
|
+
# @param network [Symbol, WhopSDK::Models::Account::Wallet::Network] The blockchain network the wallet lives on
|
|
950
|
+
|
|
951
|
+
# The blockchain network the wallet lives on
|
|
952
|
+
#
|
|
953
|
+
# @see WhopSDK::Models::Account::Wallet#network
|
|
954
|
+
module Network
|
|
955
|
+
extend WhopSDK::Internal::Type::Enum
|
|
956
|
+
|
|
957
|
+
SOLANA = :solana
|
|
958
|
+
ETHEREUM = :ethereum
|
|
959
|
+
BITCOIN = :bitcoin
|
|
960
|
+
|
|
961
|
+
# @!method self.values
|
|
962
|
+
# @return [Array<Symbol>]
|
|
963
|
+
end
|
|
964
|
+
end
|
|
965
|
+
end
|
|
966
|
+
end
|
|
967
|
+
end
|