whop_sdk 2.7.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +5 -4
- data/.fern/replay.lock +1447 -1
- data/.fernignore +5 -3
- data/lib/whop_sdk/accounts/client.rb +13 -11
- data/lib/whop_sdk/accounts/fees/client.rb +2 -2
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups.rb +3 -2
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_card_spend.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_crypto_swaps.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_deposits_value.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_payment_methods_value.rb +17 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_payments.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_payouts_value.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_transfers.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_covered_payout_fees.rb +2 -2
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups.rb +3 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_card_spend.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_crypto_swaps.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_deposits_value.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_payment_methods_value.rb +17 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_payments.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_payouts_value.rb +1 -1
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_transfers.rb +1 -1
- data/lib/whop_sdk/accounts/preferences/client.rb +12 -13
- data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response.rb +13 -3
- data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_economic_intelligence_offers_item_key.rb +1 -0
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_request.rb +13 -3
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_customer_tracking.rb +2 -2
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_economic_intelligence_duration_key.rb +1 -0
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_response.rb +13 -3
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_economic_intelligence_offers_item_key.rb +1 -0
- data/lib/whop_sdk/accounts/types/create_accounts_request.rb +4 -0
- data/lib/whop_sdk/accounts/types/list_accounts_request.rb +2 -0
- data/lib/whop_sdk/accounts/types/update_accounts_request.rb +2 -0
- data/lib/whop_sdk/ad_campaigns/client.rb +45 -9
- data/lib/whop_sdk/{ad_conversion_value_rules/types/delete_ad_conversion_value_rules_request.rb → ad_campaigns/types/claim_ad_campaigns_request.rb} +2 -2
- data/lib/whop_sdk/ad_campaigns/types/create_ad_campaigns_request.rb +0 -4
- data/lib/whop_sdk/ad_campaigns/types/create_ad_campaigns_request_objective.rb +0 -1
- data/lib/whop_sdk/ad_campaigns/types/duplicate_ad_campaigns_request.rb +0 -2
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data.rb +7 -7
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_delivery_status.rb +1 -0
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_status.rb +0 -6
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data.rb +7 -7
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_delivery_status.rb +1 -0
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_status.rb +0 -6
- data/lib/whop_sdk/ad_campaigns/types/update_ad_campaigns_request.rb +0 -4
- data/lib/whop_sdk/ad_groups/client.rb +3 -112
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request.rb +0 -18
- data/lib/whop_sdk/ad_groups/types/duplicate_ad_groups_request.rb +0 -2
- data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data.rb +0 -18
- data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_delivery_status.rb +1 -0
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request.rb +0 -16
- data/lib/whop_sdk/ad_pixels/types/create_ad_pixels_request_platform.rb +1 -0
- data/lib/whop_sdk/ads/client.rb +51 -23
- data/lib/whop_sdk/ads/types/create_ads_request.rb +0 -20
- data/lib/whop_sdk/ads/types/create_ads_request_creatives_item.rb +0 -2
- data/lib/whop_sdk/ads/types/create_ads_request_descriptions_item.rb +0 -2
- data/lib/whop_sdk/ads/types/create_ads_request_headlines_item.rb +0 -2
- data/lib/whop_sdk/ads/types/create_ads_request_primary_texts_item.rb +0 -2
- data/lib/whop_sdk/ads/types/duplicate_ads_request.rb +0 -2
- data/lib/whop_sdk/ads/types/post_ad_updated_payload_data.rb +2 -24
- data/lib/whop_sdk/ads/types/report_issues_ads_request.rb +15 -0
- data/lib/whop_sdk/ads/types/report_issues_ads_request_issues_item.rb +13 -0
- data/lib/whop_sdk/ads/types/report_issues_ads_request_issues_item_policy.rb +21 -0
- data/lib/whop_sdk/ads/types/report_issues_ads_request_issues_item_reason.rb +17 -0
- data/lib/whop_sdk/{ad_groups/types/search_targeting_options_ad_groups_response.rb → ads/types/report_issues_ads_response.rb} +3 -3
- data/lib/whop_sdk/ads/types/report_stats_ads_request.rb +0 -2
- data/lib/whop_sdk/ads/types/report_stats_ads_request_spend.rb +2 -1
- data/lib/whop_sdk/ads/types/update_ads_request.rb +0 -20
- data/lib/whop_sdk/ads/types/update_ads_request_creatives_item.rb +0 -2
- data/lib/whop_sdk/ads/types/update_ads_request_descriptions_item.rb +0 -2
- data/lib/whop_sdk/ads/types/update_ads_request_headlines_item.rb +0 -2
- data/lib/whop_sdk/ads/types/update_ads_request_primary_texts_item.rb +0 -2
- data/lib/whop_sdk/ai_chats/client.rb +8 -0
- data/lib/whop_sdk/ai_chats/types/list_ai_chats_request.rb +2 -0
- data/lib/whop_sdk/api_keys/client.rb +6 -4
- data/lib/whop_sdk/api_keys/types/create_api_keys_request_api_version_date.rb +25 -0
- data/lib/whop_sdk/api_keys/types/create_api_keys_request_resource_type.rb +1 -0
- data/lib/whop_sdk/api_keys/types/list_api_keys_request_resource_type.rb +1 -0
- data/lib/whop_sdk/api_keys/types/update_api_keys_request_api_version_date.rb +25 -0
- data/lib/whop_sdk/apps/categories/client.rb +80 -0
- data/lib/whop_sdk/apps/categories/types/list_categories_request.rb +21 -0
- data/lib/whop_sdk/{stats/reports/types/platform_trends_reports_response_data_reports_item_window_kind.rb → apps/categories/types/list_categories_request_app_type.rb} +5 -4
- data/lib/whop_sdk/apps/categories/types/list_categories_response.rb +15 -0
- data/lib/whop_sdk/{stats/reports/types/platform_trends_reports_response_page_info.rb → apps/categories/types/list_categories_response_page_info.rb} +3 -3
- data/lib/whop_sdk/apps/client.rb +18 -4
- data/lib/whop_sdk/apps/types/list_apps_request.rb +10 -0
- data/lib/whop_sdk/apps/types/list_apps_response_page_info.rb +4 -0
- data/lib/whop_sdk/apps/types/update_apps_request.rb +2 -0
- data/lib/whop_sdk/audiences/client.rb +4 -13
- data/lib/whop_sdk/audiences/types/create_audiences_request.rb +0 -2
- data/lib/whop_sdk/audiences/types/create_audiences_request_source_type.rb +0 -1
- data/lib/whop_sdk/automation_enrollments/client.rb +162 -0
- data/lib/whop_sdk/{ad_conversion_value_rules/types/pause_ad_conversion_value_rules_request.rb → automation_enrollments/types/cancel_automation_enrollments_request.rb} +2 -2
- data/lib/whop_sdk/automation_enrollments/types/list_automation_enrollments_request.rb +31 -0
- data/lib/whop_sdk/{ad_conversion_value_rules/types/list_ad_conversion_value_rules_request_direction.rb → automation_enrollments/types/list_automation_enrollments_request_direction.rb} +2 -2
- data/lib/whop_sdk/{ad_conversion_value_rules/types/list_ad_conversion_value_rules_request_order.rb → automation_enrollments/types/list_automation_enrollments_request_order.rb} +2 -2
- data/lib/whop_sdk/automation_enrollments/types/list_automation_enrollments_request_status.rb +15 -0
- data/lib/whop_sdk/automation_enrollments/types/list_automation_enrollments_response.rb +13 -0
- data/lib/whop_sdk/{ad_conversion_value_rules/types/list_ad_conversion_value_rules_response_page_info.rb → automation_enrollments/types/list_automation_enrollments_response_page_info.rb} +2 -2
- data/lib/whop_sdk/{ad_conversion_value_rules/types/unpause_ad_conversion_value_rules_request.rb → automation_enrollments/types/retrieve_automation_enrollments_request.rb} +2 -2
- data/lib/whop_sdk/automation_steps/client.rb +297 -0
- data/lib/whop_sdk/automation_steps/types/create_automation_steps_request.rb +19 -0
- data/lib/whop_sdk/automation_steps/types/create_automation_steps_request_action_type.rb +15 -0
- data/lib/whop_sdk/automation_steps/types/delete_automation_steps_request.rb +11 -0
- data/lib/whop_sdk/automation_steps/types/list_automation_steps_request.rb +27 -0
- data/lib/whop_sdk/automation_steps/types/list_automation_steps_request_direction.rb +14 -0
- data/lib/whop_sdk/automation_steps/types/list_automation_steps_request_order.rb +13 -0
- data/lib/whop_sdk/automation_steps/types/list_automation_steps_response.rb +13 -0
- data/lib/whop_sdk/{social_accounts/types/partners_social_accounts_response_page_info.rb → automation_steps/types/list_automation_steps_response_page_info.rb} +2 -2
- data/lib/whop_sdk/automation_steps/types/preview_automation_steps_request.rb +15 -0
- data/lib/whop_sdk/automation_steps/types/retrieve_automation_steps_request.rb +11 -0
- data/lib/whop_sdk/automation_steps/types/update_automation_steps_request.rb +17 -0
- data/lib/whop_sdk/automation_steps/types/update_automation_steps_request_action_type.rb +15 -0
- data/lib/whop_sdk/{ad_conversion_value_rules → automations}/client.rb +69 -66
- data/lib/whop_sdk/automations/types/create_automations_request.rb +15 -0
- data/lib/whop_sdk/automations/types/create_automations_request_trigger_event.rb +25 -0
- data/lib/whop_sdk/automations/types/delete_automations_request.rb +11 -0
- data/lib/whop_sdk/automations/types/list_automations_request.rb +27 -0
- data/lib/whop_sdk/automations/types/list_automations_request_direction.rb +14 -0
- data/lib/whop_sdk/{audiences/types/create_audiences_request_engagement_platform.rb → automations/types/list_automations_request_order.rb} +3 -3
- data/lib/whop_sdk/{ad_conversion_value_rules/types/list_ad_conversion_value_rules_request_status.rb → automations/types/list_automations_request_status.rb} +4 -3
- data/lib/whop_sdk/automations/types/list_automations_request_trigger_event.rb +25 -0
- data/lib/whop_sdk/automations/types/list_automations_response.rb +13 -0
- data/lib/whop_sdk/automations/types/list_automations_response_page_info.rb +17 -0
- data/lib/whop_sdk/automations/types/publish_automations_request.rb +11 -0
- data/lib/whop_sdk/automations/types/retrieve_automations_request.rb +11 -0
- data/lib/whop_sdk/automations/types/trigger_automations_request.rb +13 -0
- data/lib/whop_sdk/automations/types/trigger_automations_request_members.rb +17 -0
- data/lib/whop_sdk/automations/types/update_automations_request.rb +19 -0
- data/lib/whop_sdk/{ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_status.rb → automations/types/update_automations_request_status.rb} +4 -3
- data/lib/whop_sdk/automations/types/update_automations_request_trigger_event.rb +25 -0
- data/lib/whop_sdk/cards/types/create_cards_response.rb +4 -0
- data/lib/whop_sdk/cards/types/create_cards_response_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cards/types/list_cards_response_data_item.rb +4 -0
- data/lib/whop_sdk/cards/types/list_cards_response_data_item_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cards/types/post_card_canceled_payload_data.rb +4 -0
- data/lib/whop_sdk/cards/types/post_card_canceled_payload_data_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cards/types/post_card_created_payload_data.rb +4 -0
- data/lib/whop_sdk/cards/types/post_card_created_payload_data_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cards/types/post_card_frozen_payload_data.rb +4 -0
- data/lib/whop_sdk/cards/types/post_card_frozen_payload_data_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cards/types/post_card_updated_payload_data.rb +4 -0
- data/lib/whop_sdk/cards/types/post_card_updated_payload_data_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cards/types/retrieve_cards_response.rb +4 -0
- data/lib/whop_sdk/cards/types/retrieve_cards_response_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cards/types/update_cards_response.rb +4 -0
- data/lib/whop_sdk/cards/types/update_cards_response_digital_wallets_item.rb +14 -0
- data/lib/whop_sdk/cashback_rules/client.rb +9 -9
- data/lib/whop_sdk/{leads → channel_members}/client.rb +74 -66
- data/lib/whop_sdk/channel_members/types/create_channel_members_request.rb +13 -0
- data/lib/whop_sdk/channel_members/types/delete_channel_members_request.rb +11 -0
- data/lib/whop_sdk/{leads/types/list_leads_request.rb → channel_members/types/list_channel_members_request.rb} +7 -11
- data/lib/whop_sdk/channel_members/types/list_channel_members_response.rb +13 -0
- data/lib/whop_sdk/channel_members/types/list_channel_members_response_page_info.rb +17 -0
- data/lib/whop_sdk/channel_members/types/retrieve_channel_members_request.rb +11 -0
- data/lib/whop_sdk/channel_members/types/update_channel_members_request.rb +13 -0
- data/lib/whop_sdk/channel_members/types/update_channel_members_request_notification_preference.rb +15 -0
- data/lib/whop_sdk/channels/client.rb +600 -0
- data/lib/whop_sdk/channels/types/accept_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/create_channels_request.rb +27 -0
- data/lib/whop_sdk/channels/types/create_channels_request_icon.rb +14 -0
- data/lib/whop_sdk/channels/types/create_channels_request_kind.rb +15 -0
- data/lib/whop_sdk/channels/types/delete_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/hide_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/list_channels_request.rb +55 -0
- data/lib/whop_sdk/channels/types/list_channels_request_direction.rb +14 -0
- data/lib/whop_sdk/channels/types/list_channels_request_kind_item.rb +15 -0
- data/lib/whop_sdk/channels/types/list_channels_request_order.rb +15 -0
- data/lib/whop_sdk/channels/types/list_channels_request_status.rb +14 -0
- data/lib/whop_sdk/channels/types/list_channels_request_support_role.rb +14 -0
- data/lib/whop_sdk/channels/types/list_channels_response.rb +13 -0
- data/lib/whop_sdk/channels/types/list_channels_response_page_info.rb +21 -0
- data/lib/whop_sdk/channels/types/mark_read_channels_request.rb +15 -0
- data/lib/whop_sdk/channels/types/mark_unread_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/pin_channels_request.rb +13 -0
- data/lib/whop_sdk/channels/types/reopen_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/resolve_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/retrieve_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/unpin_channels_request.rb +11 -0
- data/lib/whop_sdk/channels/types/update_channels_request.rb +19 -0
- data/lib/whop_sdk/channels/types/update_channels_request_icon.rb +14 -0
- data/lib/whop_sdk/channels/types/update_channels_request_moderation.rb +23 -0
- data/lib/whop_sdk/channels/types/update_channels_request_moderation_who_can_post.rb +14 -0
- data/lib/whop_sdk/channels/types/update_channels_request_moderation_who_can_react.rb +14 -0
- data/lib/whop_sdk/checkout_configurations/types/create_checkout_configurations_request_variant.rb +2 -0
- data/lib/whop_sdk/client.rb +41 -16
- data/lib/whop_sdk/deposits/client.rb +6 -5
- data/lib/whop_sdk/disputes/client.rb +10 -5
- data/lib/whop_sdk/disputes/types/list_disputes_request.rb +1 -1
- data/lib/whop_sdk/disputes/types/list_disputes_request_status_item.rb +1 -0
- data/lib/whop_sdk/disputes/types/summary_disputes_request.rb +1 -1
- data/lib/whop_sdk/disputes/types/summary_disputes_request_status_item.rb +1 -0
- data/lib/whop_sdk/disputes/types/summary_disputes_response_groups_status.rb +2 -0
- data/lib/whop_sdk/domains/client.rb +5 -2
- data/lib/whop_sdk/domains/types/create_domains_request.rb +2 -0
- data/lib/whop_sdk/domains/types/create_domains_request_email.rb +3 -3
- data/lib/whop_sdk/domains/types/create_domains_request_subdomain.rb +15 -0
- data/lib/whop_sdk/domains/types/list_domains_request.rb +2 -0
- data/lib/whop_sdk/domains/types/list_domains_request_subdomain.rb +17 -0
- data/lib/whop_sdk/domains/types/update_domains_request.rb +2 -0
- data/lib/whop_sdk/domains/types/update_domains_request_email.rb +3 -3
- data/lib/whop_sdk/domains/types/update_domains_request_subdomain.rb +15 -0
- data/lib/whop_sdk/economic_intelligence/client.rb +10 -11
- data/lib/whop_sdk/events/types/create_events_request.rb +2 -2
- data/lib/whop_sdk/events/types/post_events_created_payload.rb +25 -0
- data/lib/whop_sdk/{ad_campaigns/types/create_ad_campaigns_request_platform.rb → events/types/post_events_created_payload_api_version.rb} +3 -3
- data/lib/whop_sdk/events/types/post_events_created_payload_data.rb +13 -0
- data/lib/whop_sdk/events/types/post_events_created_payload_data_events_item.rb +35 -0
- data/lib/whop_sdk/events/types/post_events_created_payload_data_events_item_context.rb +50 -0
- data/lib/whop_sdk/events/types/post_events_created_payload_data_events_item_user.rb +22 -0
- data/lib/whop_sdk/{ad_groups/types/search_targeting_options_ad_groups_request_platform.rb → events/types/post_events_created_payload_type.rb} +3 -3
- data/lib/whop_sdk/experiments/client.rb +6 -2
- data/lib/whop_sdk/experiments/types/create_experiments_request.rb +2 -0
- data/lib/whop_sdk/experiments/types/create_experiments_request_targeting_rules_item.rb +2 -0
- data/lib/whop_sdk/experiments/types/update_experiments_request_targeting_rules_item.rb +2 -0
- data/lib/whop_sdk/external_accounts/client.rb +7 -22
- data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request.rb +0 -2
- data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request_platform.rb +0 -2
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body.rb +21 -0
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_aimerce.rb +15 -0
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_facebook.rb +12 -0
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_klaviyo.rb +14 -0
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_tiktok.rb +14 -0
- data/lib/whop_sdk/external_accounts/types/list_external_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.rb +3 -1
- data/lib/whop_sdk/financial_reports/client.rb +0 -4
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_request.rb +0 -4
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.rb +3 -1
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_response_rows_item_grouping.rb +3 -1
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_response_rows_item_line_category.rb +28 -0
- data/lib/whop_sdk/financing_applications/client.rb +1 -1
- data/lib/whop_sdk/helpers/oidc.rb +118 -0
- data/lib/whop_sdk/internal/http/raw_client.rb +1 -1
- data/lib/whop_sdk/invoices/client.rb +119 -16
- data/lib/whop_sdk/{external_accounts/posts → invoices/sends}/client.rb +15 -14
- data/lib/whop_sdk/{external_accounts/posts/types/list_posts_request.rb → invoices/sends/types/list_sends_request.rb} +7 -7
- data/lib/whop_sdk/invoices/sends/types/list_sends_response.rb +15 -0
- data/lib/whop_sdk/{external_accounts/partners/types/list_partners_response_page_info.rb → invoices/sends/types/list_sends_response_page_info.rb} +3 -3
- data/lib/whop_sdk/invoices/types/charge_invoices_request.rb +13 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request.rb +4 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant.rb +2 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_payment_method_configuration.rb +18 -0
- data/lib/whop_sdk/invoices/types/delete_invoices_request.rb +11 -0
- data/lib/whop_sdk/{social_accounts/types/remove_partner_social_accounts_response.rb → invoices/types/delete_invoices_response.rb} +2 -2
- data/lib/whop_sdk/invoices/types/generate_pdf_invoices_request.rb +2 -0
- data/lib/whop_sdk/invoices/types/issue_invoices_request.rb +2 -0
- data/lib/whop_sdk/invoices/types/issue_invoices_request_collection_method.rb +14 -0
- data/lib/whop_sdk/invoices/types/list_invoices_request.rb +2 -0
- data/lib/whop_sdk/invoices/types/list_invoices_response_page_info.rb +4 -0
- data/lib/whop_sdk/invoices/types/send_invoices_request.rb +2 -0
- data/lib/whop_sdk/invoices/types/send_invoices_request_collection_method.rb +14 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request.rb +4 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant.rb +2 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_payment_method_configuration.rb +18 -0
- data/lib/whop_sdk/members/client.rb +126 -0
- data/lib/whop_sdk/members/notes/client.rb +2 -0
- data/lib/whop_sdk/members/notes/types/list_notes_request.rb +2 -0
- data/lib/whop_sdk/members/notes/types/list_notes_response_page_info.rb +4 -0
- data/lib/whop_sdk/members/types/create_members_request.rb +15 -0
- data/lib/whop_sdk/members/types/list_members_request.rb +2 -0
- data/lib/whop_sdk/members/types/list_members_request_order.rb +1 -0
- data/lib/whop_sdk/members/types/list_members_response_page_info.rb +4 -0
- data/lib/whop_sdk/members/types/unsubscribe_members_request.rb +13 -0
- data/lib/whop_sdk/members/types/update_members_request.rb +17 -0
- data/lib/whop_sdk/{ads/types/report_stats_ads_request_clicks.rb → members/types/update_members_request_metadata_value.rb} +5 -4
- data/lib/whop_sdk/members/types/update_members_request_unsubscribe_status.rb +13 -0
- data/lib/whop_sdk/memberships/client.rb +4 -1
- data/lib/whop_sdk/memberships/types/list_memberships_request.rb +2 -0
- data/lib/whop_sdk/memberships/types/list_memberships_response_page_info.rb +4 -0
- data/lib/whop_sdk/memberships/types/update_memberships_request.rb +4 -0
- data/lib/whop_sdk/messages/client.rb +329 -64
- data/lib/whop_sdk/messages/types/create_messages_request.rb +6 -0
- data/lib/whop_sdk/messages/types/create_messages_request_attachments_item.rb +0 -1
- data/lib/whop_sdk/messages/types/create_messages_request_gifs_item.rb +23 -0
- data/lib/whop_sdk/messages/types/create_messages_request_link_previews_item.rb +11 -0
- data/lib/whop_sdk/messages/types/create_messages_request_poll.rb +0 -1
- data/lib/whop_sdk/messages/types/create_messages_request_poll_options_item.rb +0 -1
- data/lib/whop_sdk/messages/types/list_messages_request.rb +27 -5
- data/lib/whop_sdk/messages/types/list_messages_request_direction.rb +14 -0
- data/lib/whop_sdk/messages/types/list_messages_request_order.rb +14 -0
- data/lib/whop_sdk/messages/types/list_messages_response.rb +2 -3
- data/lib/whop_sdk/messages/types/list_messages_response_page_info.rb +17 -0
- data/lib/whop_sdk/{social_accounts/types/posts_social_accounts_request.rb → messages/types/list_reactions_messages_request.rb} +8 -6
- data/lib/whop_sdk/messages/types/list_reactions_messages_response.rb +13 -0
- data/lib/whop_sdk/messages/types/list_reactions_messages_response_page_info.rb +17 -0
- data/lib/whop_sdk/messages/types/pin_messages_request.rb +11 -0
- data/lib/whop_sdk/{ad_conversion_value_rules/types/retrieve_ad_conversion_value_rules_request.rb → messages/types/react_messages_request.rb} +4 -2
- data/lib/whop_sdk/messages/types/unpin_messages_request.rb +11 -0
- data/lib/whop_sdk/messages/types/unreact_messages_request.rb +13 -0
- data/lib/whop_sdk/messages/types/update_messages_request.rb +3 -1
- data/lib/whop_sdk/messages/types/update_messages_request_attachments_item.rb +0 -1
- data/lib/whop_sdk/messages/types/update_messages_request_gifs_item.rb +23 -0
- data/lib/whop_sdk/messages/types/update_messages_request_link_previews_item.rb +11 -0
- data/lib/whop_sdk/messages/types/vote_messages_request.rb +13 -0
- data/lib/whop_sdk/partner_referral_requests/client.rb +8 -0
- data/lib/whop_sdk/partner_referral_requests/types/list_partner_referral_requests_request.rb +8 -0
- data/lib/whop_sdk/partners/businesses/client.rb +4 -0
- data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_request_income_source_item.rb +1 -0
- data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item.rb +2 -0
- data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_income_source.rb +1 -0
- data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource.rb +6 -3
- data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource_created_at.rb +21 -0
- data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource_created_at_income_source.rb +26 -0
- data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource_created_at_object.rb +17 -0
- data/lib/whop_sdk/partners/businesses/types/list_businesses_request.rb +4 -0
- data/lib/whop_sdk/partners/businesses/types/list_businesses_response_data_item_payout_percentages.rb +2 -1
- data/lib/whop_sdk/partners/businesses/types/list_businesses_response_page_info.rb +4 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response.rb +2 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_my_payout_percentages.rb +26 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_payout_percentages.rb +2 -1
- data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response.rb +8 -0
- data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response_my_payout_percentages.rb +26 -0
- data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response_payout_percentages.rb +2 -1
- data/lib/whop_sdk/partners/client.rb +7 -1
- data/lib/whop_sdk/partners/types/retrieve_partners_request.rb +2 -0
- data/lib/whop_sdk/payment_method_domains/client.rb +2 -2
- data/lib/whop_sdk/payments/client.rb +23 -4
- data/lib/whop_sdk/payments/direct/types/create_direct_request_plan.rb +2 -0
- data/lib/whop_sdk/{external_accounts/lead_forms → payments/levels_rebate}/client.rb +11 -19
- data/lib/whop_sdk/payments/levels_rebate/types/retrieve_levels_rebate_request.rb +13 -0
- data/lib/whop_sdk/payments/types/create_payments_request_line_items_item_variant.rb +2 -0
- data/lib/whop_sdk/payments/types/create_payments_request_payment_method.rb +2 -0
- data/lib/whop_sdk/payments/types/create_payments_request_payment_method_paypal.rb +12 -0
- data/lib/whop_sdk/payments/types/list_payments_request.rb +7 -1
- data/lib/whop_sdk/payments/types/list_payments_request_payment_methods_item.rb +2 -0
- data/lib/whop_sdk/payments/types/list_payments_response_page_info.rb +4 -0
- data/lib/whop_sdk/payments/types/post_shipping_address_changed_payload.rb +25 -0
- data/lib/whop_sdk/{ad_groups/types/estimate_reach_ad_groups_request_platform.rb → payments/types/post_shipping_address_changed_payload_api_version.rb} +3 -3
- data/lib/whop_sdk/payments/types/post_shipping_address_changed_payload_type.rb +13 -0
- data/lib/whop_sdk/payments/types/post_shipping_address_changed_response.rb +15 -0
- data/lib/whop_sdk/payments/types/post_shipping_address_changed_response_decline.rb +11 -0
- data/lib/whop_sdk/payments/types/summary_payments_request.rb +5 -1
- data/lib/whop_sdk/payments/types/summary_payments_request_payment_methods_item.rb +2 -0
- data/lib/whop_sdk/payouts/client.rb +4 -2
- data/lib/whop_sdk/payouts/methods/types/create_methods_response.rb +2 -0
- data/lib/whop_sdk/{stats/reports/types/platform_trends_reports_request_direction.rb → payouts/methods/types/create_methods_response_type.rb} +5 -5
- data/lib/whop_sdk/payouts/methods/types/list_methods_response_data_item.rb +2 -0
- data/lib/whop_sdk/payouts/methods/types/list_methods_response_data_item_type.rb +16 -0
- data/lib/whop_sdk/payouts/methods/types/update_methods_response.rb +2 -0
- data/lib/whop_sdk/payouts/methods/types/update_methods_response_type.rb +16 -0
- data/lib/whop_sdk/payouts/supported_methods/client.rb +4 -0
- data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_request.rb +4 -0
- data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_request_party_type.rb +16 -0
- data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_response_data_item.rb +4 -0
- data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_response_data_item_fee_structure.rb +17 -0
- data/lib/whop_sdk/payouts/types/cancel_payouts_response_payout_method.rb +2 -0
- data/lib/whop_sdk/payouts/types/cancel_payouts_response_payout_method_type.rb +14 -0
- data/lib/whop_sdk/payouts/types/create_payouts_request.rb +1 -1
- data/lib/whop_sdk/payouts/types/create_payouts_response_payout_method.rb +2 -0
- data/lib/whop_sdk/payouts/types/create_payouts_response_payout_method_type.rb +14 -0
- data/lib/whop_sdk/payouts/types/create_quote_payouts_response.rb +8 -0
- data/lib/whop_sdk/payouts/types/create_quote_payouts_response_conversion.rb +17 -0
- data/lib/whop_sdk/payouts/types/list_payouts_response_data_item_payout_method.rb +2 -0
- data/lib/whop_sdk/payouts/types/list_payouts_response_data_item_payout_method_type.rb +14 -0
- data/lib/whop_sdk/payouts/types/post_payout_created_payload_data_payout_method.rb +2 -0
- data/lib/whop_sdk/payouts/types/post_payout_created_payload_data_payout_method_type.rb +14 -0
- data/lib/whop_sdk/payouts/types/post_payout_method_created_payload_data.rb +2 -0
- data/lib/whop_sdk/payouts/types/post_payout_method_created_payload_data_type.rb +14 -0
- data/lib/whop_sdk/payouts/types/post_payout_reversed_payload_data_payout_method.rb +2 -0
- data/lib/whop_sdk/payouts/types/post_payout_reversed_payload_data_payout_method_type.rb +14 -0
- data/lib/whop_sdk/payouts/types/post_payout_updated_payload_data_payout_method.rb +2 -0
- data/lib/whop_sdk/payouts/types/post_payout_updated_payload_data_payout_method_type.rb +14 -0
- data/lib/whop_sdk/payouts/types/retrieve_payouts_response_payout_method.rb +2 -0
- data/lib/whop_sdk/payouts/types/retrieve_payouts_response_payout_method_type.rb +14 -0
- data/lib/whop_sdk/products/client.rb +6 -2
- data/lib/whop_sdk/products/types/list_products_request.rb +3 -1
- data/lib/whop_sdk/products/types/list_products_request_order.rb +18 -0
- data/lib/whop_sdk/products/types/list_products_response_page_info.rb +4 -0
- data/lib/whop_sdk/promo_codes/client.rb +2 -0
- data/lib/whop_sdk/promo_codes/types/list_promo_codes_request.rb +2 -0
- data/lib/whop_sdk/promo_codes/types/list_promo_codes_response_page_info.rb +4 -0
- data/lib/whop_sdk/review_reports/client.rb +92 -0
- data/lib/whop_sdk/review_reports/types/list_review_reports_request.rb +31 -0
- data/lib/whop_sdk/review_reports/types/list_review_reports_request_direction.rb +14 -0
- data/lib/whop_sdk/{ad_groups/types/create_ad_groups_request_placements_zero.rb → review_reports/types/list_review_reports_request_order.rb} +3 -3
- data/lib/whop_sdk/review_reports/types/list_review_reports_request_status.rb +15 -0
- data/lib/whop_sdk/review_reports/types/list_review_reports_response.rb +13 -0
- data/lib/whop_sdk/review_reports/types/list_review_reports_response_page_info.rb +17 -0
- data/lib/whop_sdk/reviews/client.rb +2 -0
- data/lib/whop_sdk/reviews/types/list_reviews_request.rb +2 -0
- data/lib/whop_sdk/reviews/types/list_reviews_response_page_info.rb +4 -0
- data/lib/whop_sdk/search/client.rb +89 -0
- data/lib/whop_sdk/search/types/list_search_request.rb +19 -0
- data/lib/whop_sdk/search/types/list_search_request_types_item.rb +20 -0
- data/lib/whop_sdk/search/types/list_search_response.rb +13 -0
- data/lib/whop_sdk/{social_accounts/types/posts_social_accounts_response_page_info.rb → search/types/list_search_response_page_info.rb} +6 -2
- data/lib/whop_sdk/shipments/client.rb +4 -2
- data/lib/whop_sdk/social_accounts/client.rb +5 -257
- data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request.rb +0 -2
- data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request_platform.rb +0 -2
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body.rb +21 -0
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_aimerce.rb +15 -0
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_facebook.rb +12 -0
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_klaviyo.rb +14 -0
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_tiktok.rb +14 -0
- data/lib/whop_sdk/social_accounts/types/list_social_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/stats/client.rb +8 -0
- data/lib/whop_sdk/stats/reports/client.rb +0 -71
- data/lib/whop_sdk/stats/time_series/client.rb +12 -1
- data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_request.rb +8 -0
- data/lib/whop_sdk/stats/{reports/types/platform_trends_reports_response_data_columns_item_type.rb → time_series/types/retrieve_time_series_request_activity.rb} +5 -4
- data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_request_interval.rb +1 -0
- data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_response_data.rb +2 -0
- data/lib/whop_sdk/stats/types/retrieve_stats_request.rb +8 -0
- data/lib/whop_sdk/stats/types/retrieve_stats_request_activity.rb +15 -0
- data/lib/whop_sdk/stats/types/retrieve_stats_request_interval.rb +1 -0
- data/lib/whop_sdk/stats/types/retrieve_stats_response_data.rb +2 -0
- data/lib/whop_sdk/swaps/client.rb +5 -4
- data/lib/whop_sdk/swaps/types/create_quote_swaps_request.rb +4 -0
- data/lib/whop_sdk/team_members/client.rb +18 -6
- data/lib/whop_sdk/team_members/types/list_team_members_request.rb +9 -1
- data/lib/whop_sdk/trades/candles/client.rb +93 -0
- data/lib/whop_sdk/trades/candles/types/list_candles_request.rb +27 -0
- data/lib/whop_sdk/trades/candles/types/list_candles_request_interval.rb +21 -0
- data/lib/whop_sdk/trades/candles/types/list_candles_response.rb +15 -0
- data/lib/whop_sdk/trades/candles/types/list_candles_response_page_info.rb +19 -0
- data/lib/whop_sdk/trades/client.rb +47 -1
- data/lib/whop_sdk/trades/markets/client.rb +4 -2
- data/lib/whop_sdk/{leads/types/retrieve_leads_request.rb → trades/types/cancel_trades_request.rb} +2 -2
- data/lib/whop_sdk/trades/types/create_trades_request.rb +8 -0
- data/lib/whop_sdk/trades/types/create_trades_request_order_type.rb +2 -0
- data/lib/whop_sdk/trades/types/create_trades_request_stop_loss.rb +13 -0
- data/lib/whop_sdk/trades/types/create_trades_request_take_profit.rb +13 -0
- data/lib/whop_sdk/trades/types/create_trades_request_time_in_force.rb +15 -0
- data/lib/whop_sdk/transfers/types/create_transfers_request_body_claim_link.rb +2 -0
- data/lib/whop_sdk/transfers/types/create_transfers_request_body_claim_link_currency.rb +96 -0
- data/lib/whop_sdk/types/account.rb +6 -0
- data/lib/whop_sdk/types/account_economic_intelligence_offer_key.rb +1 -0
- data/lib/whop_sdk/types/account_fee_markups.rb +2 -0
- data/lib/whop_sdk/types/account_fee_region.rb +2 -0
- data/lib/whop_sdk/types/account_level.rb +13 -1
- data/lib/whop_sdk/types/account_partner.rb +2 -0
- data/lib/whop_sdk/types/account_payment_controls.rb +2 -0
- data/lib/whop_sdk/types/account_preferences.rb +13 -3
- data/lib/whop_sdk/types/account_processing_offer_level.rb +15 -0
- data/lib/whop_sdk/types/account_processing_offer_regional_rate.rb +11 -0
- data/lib/whop_sdk/types/account_processing_offer_regional_rate_region.rb +15 -0
- data/lib/whop_sdk/types/account_required_action_action.rb +2 -0
- data/lib/whop_sdk/types/ad.rb +2 -24
- data/lib/whop_sdk/types/ad_campaign.rb +8 -8
- data/lib/whop_sdk/types/ad_campaign_delivery_status.rb +1 -0
- data/lib/whop_sdk/types/ad_campaign_status.rb +0 -6
- data/lib/whop_sdk/types/ad_content_review.rb +13 -0
- data/lib/whop_sdk/types/ad_content_review_network.rb +11 -0
- data/lib/whop_sdk/types/{ad_conversion_value_rule_target_platform.rb → ad_content_review_network_title.rb} +3 -2
- data/lib/whop_sdk/types/ad_content_review_status.rb +13 -0
- data/lib/whop_sdk/types/{ad_messaging_config.rb → ad_content_review_tag.rb} +3 -3
- data/lib/whop_sdk/types/ad_group.rb +0 -18
- data/lib/whop_sdk/types/ad_group_delivery_status.rb +1 -0
- data/lib/whop_sdk/types/ad_issue.rb +23 -0
- data/lib/whop_sdk/types/ad_issue_policy.rb +19 -0
- data/lib/whop_sdk/types/ad_issue_reason.rb +15 -0
- data/lib/whop_sdk/types/{ad_conversion_value_rule_target_scope.rb → ad_issue_resource_type.rb} +2 -4
- data/lib/whop_sdk/types/ad_pixel_platform.rb +1 -0
- data/lib/whop_sdk/types/api_key_api_version_date.rb +25 -0
- data/lib/whop_sdk/types/app.rb +12 -0
- data/lib/whop_sdk/types/app_category.rb +13 -0
- data/lib/whop_sdk/types/app_list_item.rb +10 -0
- data/lib/whop_sdk/types/audience.rb +0 -2
- data/lib/whop_sdk/types/audience_status.rb +0 -1
- data/lib/whop_sdk/types/automation.rb +39 -0
- data/lib/whop_sdk/types/automation_actor.rb +11 -0
- data/lib/whop_sdk/types/{ad_group_platform.rb → automation_actor_object.rb} +4 -4
- data/lib/whop_sdk/types/automation_enrollment.rb +37 -0
- data/lib/whop_sdk/types/automation_enrollment_status.rb +13 -0
- data/lib/whop_sdk/types/automation_enrollment_trigger_event.rb +23 -0
- data/lib/whop_sdk/types/{ad_conversion_value_rule_status.rb → automation_status.rb} +3 -2
- data/lib/whop_sdk/types/automation_step.rb +33 -0
- data/lib/whop_sdk/types/automation_step_action_type.rb +13 -0
- data/lib/whop_sdk/types/automation_step_config.rb +17 -0
- data/lib/whop_sdk/types/{ad_group_targeting_category.rb → automation_step_email_address_sender.rb} +3 -3
- data/lib/whop_sdk/types/automation_step_email_config.rb +9 -0
- data/lib/whop_sdk/types/automation_step_message_config.rb +9 -0
- data/lib/whop_sdk/types/automation_step_preview.rb +21 -0
- data/lib/whop_sdk/types/automation_step_preview_action_type.rb +12 -0
- data/lib/whop_sdk/types/automation_step_preview_outcome.rb +13 -0
- data/lib/whop_sdk/types/automation_step_sender.rb +17 -0
- data/lib/whop_sdk/types/{lead_user.rb → automation_step_user_sender.rb} +1 -4
- data/lib/whop_sdk/types/automation_step_wait_config.rb +9 -0
- data/lib/whop_sdk/types/automation_trigger_event.rb +23 -0
- data/lib/whop_sdk/types/candle.rb +19 -0
- data/lib/whop_sdk/types/card_transaction.rb +2 -0
- data/lib/whop_sdk/types/channel.rb +37 -0
- data/lib/whop_sdk/types/channel_kind.rb +13 -0
- data/lib/whop_sdk/types/channel_list_item.rb +43 -0
- data/lib/whop_sdk/types/channel_list_item_kind.rb +13 -0
- data/lib/whop_sdk/types/channel_member.rb +29 -0
- data/lib/whop_sdk/types/channel_member_inbox_status.rb +13 -0
- data/lib/whop_sdk/types/channel_member_notification_preference.rb +13 -0
- data/lib/whop_sdk/types/channel_moderation.rb +19 -0
- data/lib/whop_sdk/types/channel_moderation_who_can_post.rb +12 -0
- data/lib/whop_sdk/types/channel_moderation_who_can_react.rb +12 -0
- data/lib/whop_sdk/types/channel_support_state.rb +17 -0
- data/lib/whop_sdk/types/{ad_campaign_platform.rb → channel_support_state_last_message_by.rb} +3 -4
- data/lib/whop_sdk/types/channel_support_state_status.rb +12 -0
- data/lib/whop_sdk/types/chat_message.rb +55 -0
- data/lib/whop_sdk/types/chat_message_message_type.rb +13 -0
- data/lib/whop_sdk/types/chat_message_poll.rb +9 -0
- data/lib/whop_sdk/types/chat_message_poll_option.rb +15 -0
- data/lib/whop_sdk/types/chat_reaction.rb +15 -0
- data/lib/whop_sdk/types/customer_tracking_preferences.rb +4 -4
- data/lib/whop_sdk/types/dispute.rb +4 -0
- data/lib/whop_sdk/types/dispute_alert.rb +2 -0
- data/lib/whop_sdk/types/dispute_alert_category.rb +12 -0
- data/lib/whop_sdk/types/dispute_status.rb +1 -0
- data/lib/whop_sdk/types/domain.rb +2 -0
- data/lib/whop_sdk/types/domain_issue_capability.rb +1 -0
- data/lib/whop_sdk/types/domain_issue_code.rb +3 -0
- data/lib/whop_sdk/types/domain_list_item.rb +2 -0
- data/lib/whop_sdk/types/domain_subdomain.rb +9 -0
- data/lib/whop_sdk/types/{external_account_partnership_status.rb → domain_subdomain_state.rb} +4 -3
- data/lib/whop_sdk/types/embed.rb +25 -0
- data/lib/whop_sdk/types/embed_field.rb +13 -0
- data/lib/whop_sdk/types/embed_footer.rb +11 -0
- data/lib/whop_sdk/types/embed_image.rb +15 -0
- data/lib/whop_sdk/types/experiment.rb +2 -0
- data/lib/whop_sdk/types/experiment_targeting_rules_item.rb +2 -0
- data/lib/whop_sdk/types/external_account.rb +1 -1
- data/lib/whop_sdk/types/external_account_parent_platform.rb +1 -0
- data/lib/whop_sdk/types/external_account_platform.rb +1 -0
- data/lib/whop_sdk/types/forum.rb +4 -0
- data/lib/whop_sdk/types/forum_banner_image.rb +16 -0
- data/lib/whop_sdk/types/gif.rb +21 -0
- data/lib/whop_sdk/types/invoice.rb +12 -0
- data/lib/whop_sdk/types/invoice_line_item.rb +2 -0
- data/lib/whop_sdk/types/invoice_scheduled_collection_method.rb +12 -0
- data/lib/whop_sdk/types/invoice_send.rb +17 -0
- data/lib/whop_sdk/types/invoice_send_kind.rb +15 -0
- data/lib/whop_sdk/types/ledger_activity_line_type.rb +28 -1
- data/lib/whop_sdk/types/ledger_activity_resource_authorized_at.rb +2 -0
- data/lib/whop_sdk/types/ledger_activity_source_payout_destination.rb +2 -0
- data/lib/whop_sdk/types/market.rb +4 -0
- data/lib/whop_sdk/types/member.rb +11 -1
- data/lib/whop_sdk/types/member_last_activity.rb +23 -0
- data/lib/whop_sdk/types/member_last_activity_message.rb +19 -0
- data/lib/whop_sdk/types/{audience_engagement_platform.rb → member_last_activity_message_object.rb} +2 -2
- data/lib/whop_sdk/types/{ad_post_source.rb → member_unsubscribe_status.rb} +2 -3
- data/lib/whop_sdk/types/member_user.rb +21 -0
- data/lib/whop_sdk/types/membership.rb +2 -0
- data/lib/whop_sdk/types/membership_external_account.rb +13 -0
- data/lib/whop_sdk/types/membership_external_account_platform.rb +12 -0
- data/lib/whop_sdk/types/membership_legacy.rb +2 -0
- data/lib/whop_sdk/types/membership_legacy_external_accounts_item.rb +14 -0
- data/lib/whop_sdk/types/membership_list_item.rb +2 -0
- data/lib/whop_sdk/types/membership_list_item_external_accounts_item.rb +14 -0
- data/lib/whop_sdk/types/message_custom_author.rb +11 -0
- data/lib/whop_sdk/types/message_link_footer.rb +13 -0
- data/lib/whop_sdk/types/message_link_preview.rb +21 -0
- data/lib/whop_sdk/types/message_reaction_count.rb +17 -0
- data/lib/whop_sdk/types/message_reaction_count_kind.rb +13 -0
- data/lib/whop_sdk/types/owner_level.rb +11 -1
- data/lib/whop_sdk/types/owner_level_points.rb +2 -0
- data/lib/whop_sdk/types/partner.rb +2 -0
- data/lib/whop_sdk/types/partner_referral_request.rb +2 -0
- data/lib/whop_sdk/types/payment.rb +10 -0
- data/lib/whop_sdk/types/payment_bank_transfer.rb +4 -0
- data/lib/whop_sdk/types/payment_checkout_surface.rb +18 -0
- data/lib/whop_sdk/types/payment_input_variant.rb +2 -0
- data/lib/whop_sdk/types/payment_instrument_card.rb +2 -0
- data/lib/whop_sdk/types/payment_levels_rebate.rb +27 -0
- data/lib/whop_sdk/types/payment_levels_rebate_ineligible_reason.rb +16 -0
- data/lib/whop_sdk/types/payment_levels_rebate_region.rb +15 -0
- data/lib/whop_sdk/types/payment_levels_rebate_status.rb +14 -0
- data/lib/whop_sdk/types/payment_method_types.rb +2 -0
- data/lib/whop_sdk/types/payment_qr.rb +2 -0
- data/lib/whop_sdk/types/permission_action.rb +162 -155
- data/lib/whop_sdk/types/product.rb +4 -0
- data/lib/whop_sdk/types/product_experience.rb +15 -0
- data/lib/whop_sdk/types/product_experience_app.rb +13 -0
- data/lib/whop_sdk/types/product_list_item.rb +4 -0
- data/lib/whop_sdk/types/product_public_variant.rb +2 -0
- data/lib/whop_sdk/types/review_report.rb +21 -0
- data/lib/whop_sdk/types/{social_account_partnership_status.rb → review_report_status.rb} +3 -3
- data/lib/whop_sdk/types/search_record.rb +29 -0
- data/lib/whop_sdk/types/search_record_account.rb +21 -0
- data/lib/whop_sdk/types/search_record_affiliate.rb +21 -0
- data/lib/whop_sdk/types/search_record_member.rb +25 -0
- data/lib/whop_sdk/types/{ad_platform.rb → search_record_member_status.rb} +3 -4
- data/lib/whop_sdk/types/search_record_membership.rb +23 -0
- data/lib/whop_sdk/types/search_record_membership_status.rb +17 -0
- data/lib/whop_sdk/types/search_record_payment.rb +31 -0
- data/lib/whop_sdk/types/search_record_promo_code.rb +27 -0
- data/lib/whop_sdk/types/search_record_promo_code_currency.rb +100 -0
- data/lib/whop_sdk/types/{ad_conversion_value_rule_adjustment_type.rb → search_record_promo_code_promo_type.rb} +2 -2
- data/lib/whop_sdk/types/search_record_resolution_center_case.rb +19 -0
- data/lib/whop_sdk/types/search_record_review.rb +21 -0
- data/lib/whop_sdk/types/search_result.rb +11 -0
- data/lib/whop_sdk/types/search_result_match_reason.rb +20 -0
- data/lib/whop_sdk/types/shipping_address_changed_webhook_address.rb +15 -0
- data/lib/whop_sdk/types/shipping_address_changed_webhook_data.rb +17 -0
- data/lib/whop_sdk/types/shipping_address_changed_webhook_line_item.rb +15 -0
- data/lib/whop_sdk/types/shipping_address_changed_webhook_reply.rb +13 -0
- data/lib/whop_sdk/types/shipping_address_changed_webhook_reply_line_item.rb +11 -0
- data/lib/whop_sdk/types/shipping_address_changed_webhook_reply_shipping_option.rb +13 -0
- data/lib/whop_sdk/types/social_account.rb +1 -1
- data/lib/whop_sdk/types/social_account_parent_platform.rb +1 -0
- data/lib/whop_sdk/types/social_account_platform.rb +1 -0
- data/lib/whop_sdk/types/team_member.rb +5 -1
- data/lib/whop_sdk/types/{ad_group_detailed_targeting_body_interests_item.rb → team_member_manager.rb} +2 -2
- data/lib/whop_sdk/types/trade.rb +8 -0
- data/lib/whop_sdk/types/trade_order_type.rb +2 -0
- data/lib/whop_sdk/types/trade_step.rb +18 -0
- data/lib/whop_sdk/types/trading_account.rb +2 -0
- data/lib/whop_sdk/types/trading_hyperliquid_account.rb +6 -0
- data/lib/whop_sdk/types/trading_margin_summary.rb +0 -2
- data/lib/whop_sdk/types/trading_spot_account.rb +9 -0
- data/lib/whop_sdk/types/trading_spot_holding.rb +19 -0
- data/lib/whop_sdk/types/user.rb +8 -0
- data/lib/whop_sdk/types/user_preferences.rb +0 -2
- data/lib/whop_sdk/types/webhook_event.rb +5 -0
- data/lib/whop_sdk/types/webhook_events_item.rb +5 -0
- data/lib/whop_sdk/types/webhook_list_item_events_item.rb +5 -0
- data/lib/whop_sdk/types/webhook_testable_events_item.rb +5 -0
- data/lib/whop_sdk/users/client.rb +4 -3
- data/lib/whop_sdk/users/oauth_grants/client.rb +1 -1
- data/lib/whop_sdk/users/passkeys/client.rb +5 -3
- data/lib/whop_sdk/users/passkeys/types/create_passkeys_request.rb +1 -1
- data/lib/whop_sdk/users/preferences/types/update_preferences_request.rb +0 -2
- data/lib/whop_sdk/users/types/list_users_request.rb +2 -0
- data/lib/whop_sdk/users/types/update_me_users_request.rb +2 -0
- data/lib/whop_sdk/users/types/update_users_request.rb +2 -0
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk/webhooks/types/create_webhooks_request_events_item.rb +5 -0
- data/lib/whop_sdk/webhooks/types/list_deliveries_webhooks_request_events_item.rb +5 -0
- data/lib/whop_sdk/webhooks/types/update_webhooks_request_events_item.rb +5 -0
- data/lib/whop_sdk.rb +347 -299
- data/reference.md +8678 -6285
- metadata +315 -266
- data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item.rb +0 -29
- data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item_business_type.rb +0 -17
- data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item_certification_type.rb +0 -15
- data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item_status.rb +0 -19
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_ads_certifications_value.rb +0 -13
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_ads_certifications_value_status.rb +0 -15
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item.rb +0 -29
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item_business_type.rb +0 -17
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item_certification_type.rb +0 -15
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item_status.rb +0 -19
- data/lib/whop_sdk/ad_campaigns/types/create_ad_campaigns_request_bid_type.rb +0 -15
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_bid_type.rb +0 -15
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_platform.rb +0 -15
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_bid_type.rb +0 -15
- data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_platform.rb +0 -15
- data/lib/whop_sdk/ad_campaigns/types/update_ad_campaigns_request_bid_type.rb +0 -15
- data/lib/whop_sdk/ad_campaigns/types/update_ad_campaigns_request_x_ads_platform.rb +0 -15
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request.rb +0 -27
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_adjustment_type.rb +0 -14
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_events_item.rb +0 -13
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_events_item_event_name.rb +0 -23
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_fixed_value.rb +0 -13
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_targets_item.rb +0 -15
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_targets_item_platform.rb +0 -15
- data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_targets_item_scope.rb +0 -16
- data/lib/whop_sdk/ad_conversion_value_rules/types/delete_ad_conversion_value_rules_response.rb +0 -13
- data/lib/whop_sdk/ad_conversion_value_rules/types/list_ad_conversion_value_rules_request.rb +0 -29
- data/lib/whop_sdk/ad_conversion_value_rules/types/list_ad_conversion_value_rules_request_platform.rb +0 -15
- data/lib/whop_sdk/ad_conversion_value_rules/types/list_ad_conversion_value_rules_response.rb +0 -13
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request.rb +0 -25
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_adjustment_type.rb +0 -14
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_events_item.rb +0 -13
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_events_item_event_name.rb +0 -23
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_fixed_value.rb +0 -13
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_targets_item.rb +0 -15
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_targets_item_platform.rb +0 -15
- data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_targets_item_scope.rb +0 -16
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_conversion_location.rb +0 -21
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_frequency_cap.rb +0 -17
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_message_apps_item.rb +0 -15
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_optimization_goal.rb +0 -30
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_placements.rb +0 -28
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_placements_one_item.rb +0 -13
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_placements_one_item_platform.rb +0 -18
- data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_x_ads_platform.rb +0 -15
- data/lib/whop_sdk/ad_groups/types/estimate_reach_ad_groups_request.rb +0 -25
- data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_conversion_location.rb +0 -21
- data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_message_apps_item.rb +0 -15
- data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_optimization_goal.rb +0 -30
- data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_platform.rb +0 -15
- data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request.rb +0 -25
- data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request_location_types_item.rb +0 -19
- data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request_special_ad_categories_item.rb +0 -16
- data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request_types_item.rb +0 -24
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_conversion_location.rb +0 -21
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_frequency_cap.rb +0 -17
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_message_apps_item.rb +0 -15
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_optimization_goal.rb +0 -30
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements.rb +0 -28
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements_one_item.rb +0 -13
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements_one_item_platform.rb +0 -18
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements_zero.rb +0 -13
- data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_x_ads_platform.rb +0 -15
- data/lib/whop_sdk/ads/types/create_ads_request_external_accounts_item.rb +0 -11
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form.rb +0 -28
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_completion.rb +0 -25
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_completion_button_type.rb +0 -15
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_disclaimer.rb +0 -16
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_disclaimer_checkboxes_item.rb +0 -17
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_form_type.rb +0 -14
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_intro.rb +0 -14
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_privacy_policy.rb +0 -14
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item.rb +0 -17
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_format.rb +0 -15
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_options_item.rb +0 -15
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_options_item_logic.rb +0 -15
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_options_item_logic_action.rb +0 -15
- data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_type.rb +0 -33
- data/lib/whop_sdk/ads/types/create_ads_request_messaging_config.rb +0 -14
- data/lib/whop_sdk/ads/types/create_ads_request_music.rb +0 -13
- data/lib/whop_sdk/ads/types/create_ads_request_post_source.rb +0 -14
- data/lib/whop_sdk/ads/types/create_ads_request_translations.rb +0 -20
- data/lib/whop_sdk/ads/types/create_ads_request_x_ads_platform.rb +0 -15
- data/lib/whop_sdk/ads/types/post_ad_updated_payload_data_platform.rb +0 -15
- data/lib/whop_sdk/ads/types/post_ad_updated_payload_data_post_source.rb +0 -14
- data/lib/whop_sdk/ads/types/update_ads_request_external_accounts_item.rb +0 -11
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form.rb +0 -28
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_completion.rb +0 -25
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_completion_button_type.rb +0 -15
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_disclaimer.rb +0 -16
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_disclaimer_checkboxes_item.rb +0 -17
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_form_type.rb +0 -14
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_intro.rb +0 -14
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_privacy_policy.rb +0 -14
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item.rb +0 -17
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_format.rb +0 -15
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_options_item.rb +0 -15
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_options_item_logic.rb +0 -15
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_options_item_logic_action.rb +0 -15
- data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_type.rb +0 -33
- data/lib/whop_sdk/ads/types/update_ads_request_messaging_config.rb +0 -14
- data/lib/whop_sdk/ads/types/update_ads_request_music.rb +0 -14
- data/lib/whop_sdk/ads/types/update_ads_request_post_source.rb +0 -14
- data/lib/whop_sdk/ads/types/update_ads_request_translations.rb +0 -20
- data/lib/whop_sdk/ads/types/update_ads_request_x_ads_platform.rb +0 -15
- data/lib/whop_sdk/audiences/types/create_audiences_request_engagement.rb +0 -16
- data/lib/whop_sdk/external_accounts/lead_forms/types/list_lead_forms_request.rb +0 -15
- data/lib/whop_sdk/external_accounts/lead_forms/types/list_lead_forms_response.rb +0 -13
- data/lib/whop_sdk/external_accounts/partners/client.rb +0 -168
- data/lib/whop_sdk/external_accounts/partners/types/create_partners_request.rb +0 -17
- data/lib/whop_sdk/external_accounts/partners/types/delete_partners_request.rb +0 -17
- data/lib/whop_sdk/external_accounts/partners/types/delete_partners_response.rb +0 -15
- data/lib/whop_sdk/external_accounts/partners/types/list_partners_request.rb +0 -19
- data/lib/whop_sdk/external_accounts/partners/types/list_partners_response.rb +0 -15
- data/lib/whop_sdk/external_accounts/posts/types/list_posts_response.rb +0 -15
- data/lib/whop_sdk/external_accounts/posts/types/list_posts_response_page_info.rb +0 -15
- data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request_scopes_item.rb +0 -13
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request.rb +0 -15
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_platform.rb +0 -15
- data/lib/whop_sdk/leads/types/create_leads_request.rb +0 -19
- data/lib/whop_sdk/leads/types/list_leads_response.rb +0 -14
- data/lib/whop_sdk/leads/types/update_leads_request.rb +0 -15
- data/lib/whop_sdk/social_accounts/types/add_partner_social_accounts_request.rb +0 -15
- data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request_scopes_item.rb +0 -13
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request.rb +0 -15
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_platform.rb +0 -15
- data/lib/whop_sdk/social_accounts/types/lead_forms_social_accounts_request.rb +0 -13
- data/lib/whop_sdk/social_accounts/types/lead_forms_social_accounts_response.rb +0 -11
- data/lib/whop_sdk/social_accounts/types/partners_social_accounts_request.rb +0 -17
- data/lib/whop_sdk/social_accounts/types/partners_social_accounts_response.rb +0 -13
- data/lib/whop_sdk/social_accounts/types/posts_social_accounts_response.rb +0 -13
- data/lib/whop_sdk/social_accounts/types/remove_partner_social_accounts_request.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request.rb +0 -41
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request_breakdown_by.rb +0 -19
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request_order.rb +0 -26
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data.rb +0 -21
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_columns_item.rb +0 -23
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_columns_item_aggregate.rb +0 -17
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_columns_item_unit.rb +0 -19
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item.rb +0 -45
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_account_country.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_business_type.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_customer_country.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_industry_type.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_product_category.rb +0 -15
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_window.rb +0 -23
- data/lib/whop_sdk/types/ad_campaign_bid_type.rb +0 -13
- data/lib/whop_sdk/types/ad_conversion_value_rule.rb +0 -29
- data/lib/whop_sdk/types/ad_conversion_value_rule_event.rb +0 -11
- data/lib/whop_sdk/types/ad_conversion_value_rule_event_event_name.rb +0 -21
- data/lib/whop_sdk/types/ad_conversion_value_rule_target.rb +0 -15
- data/lib/whop_sdk/types/ad_group_behavior_category.rb +0 -15
- data/lib/whop_sdk/types/ad_group_behavior_category_behavior_type.rb +0 -13
- data/lib/whop_sdk/types/ad_group_conversion_location.rb +0 -19
- data/lib/whop_sdk/types/ad_group_demographic_category.rb +0 -13
- data/lib/whop_sdk/types/ad_group_demographic_category_type.rb +0 -18
- data/lib/whop_sdk/types/ad_group_detailed_targeting.rb +0 -13
- data/lib/whop_sdk/types/ad_group_detailed_targeting_body.rb +0 -17
- data/lib/whop_sdk/types/ad_group_detailed_targeting_body_behaviors_item.rb +0 -15
- data/lib/whop_sdk/types/ad_group_detailed_targeting_body_behaviors_item_behavior_type.rb +0 -13
- data/lib/whop_sdk/types/ad_group_detailed_targeting_body_demographics_item.rb +0 -13
- data/lib/whop_sdk/types/ad_group_detailed_targeting_body_demographics_item_type.rb +0 -18
- data/lib/whop_sdk/types/ad_group_frequency_cap.rb +0 -11
- data/lib/whop_sdk/types/ad_group_message_apps_item.rb +0 -13
- data/lib/whop_sdk/types/ad_group_optimization_goal.rb +0 -28
- data/lib/whop_sdk/types/ad_group_placement.rb +0 -11
- data/lib/whop_sdk/types/ad_group_placement_platform.rb +0 -16
- data/lib/whop_sdk/types/ad_lead_form.rb +0 -23
- data/lib/whop_sdk/types/ad_lead_form_completion.rb +0 -21
- data/lib/whop_sdk/types/ad_lead_form_completion_button_type.rb +0 -13
- data/lib/whop_sdk/types/ad_lead_form_disclaimer.rb +0 -13
- data/lib/whop_sdk/types/ad_lead_form_disclaimer_checkbox.rb +0 -15
- data/lib/whop_sdk/types/ad_lead_form_form_type.rb +0 -12
- data/lib/whop_sdk/types/ad_lead_form_intro.rb +0 -11
- data/lib/whop_sdk/types/ad_lead_form_option_logic.rb +0 -13
- data/lib/whop_sdk/types/ad_lead_form_option_logic_action.rb +0 -13
- data/lib/whop_sdk/types/ad_lead_form_privacy_policy.rb +0 -11
- data/lib/whop_sdk/types/ad_lead_form_question.rb +0 -15
- data/lib/whop_sdk/types/ad_lead_form_question_option.rb +0 -13
- data/lib/whop_sdk/types/ad_music.rb +0 -13
- data/lib/whop_sdk/types/ad_translations.rb +0 -11
- data/lib/whop_sdk/types/audience_engagement.rb +0 -13
- data/lib/whop_sdk/types/audience_engagement_facebook_page_rule.rb +0 -13
- data/lib/whop_sdk/types/audience_engagement_facebook_page_rule_event.rb +0 -17
- data/lib/whop_sdk/types/audience_engagement_instagram_profile_rule.rb +0 -13
- data/lib/whop_sdk/types/audience_engagement_instagram_profile_rule_event.rb +0 -27
- data/lib/whop_sdk/types/audience_engagement_lead_form_rule.rb +0 -15
- data/lib/whop_sdk/types/audience_engagement_lead_form_rule_event.rb +0 -13
- data/lib/whop_sdk/types/audience_engagement_rule.rb +0 -19
- data/lib/whop_sdk/types/audience_engagement_video_rule.rb +0 -15
- data/lib/whop_sdk/types/audience_engagement_video_rule_event.rb +0 -17
- data/lib/whop_sdk/types/detailed_targeting_option.rb +0 -19
- data/lib/whop_sdk/types/detailed_targeting_option_behavior_type.rb +0 -13
- data/lib/whop_sdk/types/external_account_lead_form.rb +0 -31
- data/lib/whop_sdk/types/external_account_lead_form_form_type.rb +0 -12
- data/lib/whop_sdk/types/external_account_post.rb +0 -25
- data/lib/whop_sdk/types/external_account_post_call_to_action.rb +0 -41
- data/lib/whop_sdk/types/external_account_post_restrictions_item.rb +0 -16
- data/lib/whop_sdk/types/language_targeting_option.rb +0 -11
- data/lib/whop_sdk/types/lead.rb +0 -24
- data/lib/whop_sdk/types/lead_list_item.rb +0 -24
- data/lib/whop_sdk/types/lead_list_item_member.rb +0 -10
- data/lib/whop_sdk/types/lead_list_item_product.rb +0 -12
- data/lib/whop_sdk/types/lead_list_item_user.rb +0 -16
- data/lib/whop_sdk/types/lead_member.rb +0 -10
- data/lib/whop_sdk/types/lead_product.rb +0 -12
- data/lib/whop_sdk/types/location_targeting_option.rb +0 -21
- data/lib/whop_sdk/types/location_targeting_option_location_type.rb +0 -19
- data/lib/whop_sdk/types/reach_estimate.rb +0 -11
- data/lib/whop_sdk/types/social_account_lead_form.rb +0 -31
- data/lib/whop_sdk/types/social_account_lead_form_form_type.rb +0 -12
- data/lib/whop_sdk/types/social_account_post.rb +0 -25
- data/lib/whop_sdk/types/social_account_post_call_to_action.rb +0 -41
- data/lib/whop_sdk/types/social_account_post_restrictions_item.rb +0 -16
- data/lib/whop_sdk/types/targeting_option.rb +0 -38
|
@@ -18,7 +18,7 @@ module Whop_sdk
|
|
|
18
18
|
|
|
19
19
|
field :query, -> { String }, optional: true, nullable: false
|
|
20
20
|
|
|
21
|
-
field :
|
|
21
|
+
field :include_subaccounts, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
end
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
# How many of the matching disputes are in each status. Every status is present, including those with a count of
|
|
7
7
|
# zero.
|
|
8
8
|
class SummaryDisputesResponseGroupsStatus < Internal::Types::Model
|
|
9
|
+
field :generating_response, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :lost, -> { Integer }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :needs_response, -> { Integer }, optional: false, nullable: false
|
|
@@ -41,6 +41,7 @@ module Whop_sdk
|
|
|
41
41
|
# @option params [Whop_sdk::Domains::Types::ListDomainsRequestVerification, nil] :verification
|
|
42
42
|
# @option params [Whop_sdk::Domains::Types::ListDomainsRequestRegistration, nil] :registration
|
|
43
43
|
# @option params [Whop_sdk::Domains::Types::ListDomainsRequestPlatform, nil] :platform
|
|
44
|
+
# @option params [Whop_sdk::Domains::Types::ListDomainsRequestSubdomain, nil] :subdomain
|
|
44
45
|
# @option params [Whop_sdk::Domains::Types::ListDomainsRequestWebsite, nil] :website
|
|
45
46
|
# @option params [Whop_sdk::Domains::Types::ListDomainsRequestApplePay, nil] :apple_pay
|
|
46
47
|
# @option params [Whop_sdk::Domains::Types::ListDomainsRequestPixel, nil] :pixel
|
|
@@ -69,6 +70,7 @@ module Whop_sdk
|
|
|
69
70
|
query_params["verification"] = params[:verification] if params.key?(:verification)
|
|
70
71
|
query_params["registration"] = params[:registration] if params.key?(:registration)
|
|
71
72
|
query_params["platform"] = params[:platform] if params.key?(:platform)
|
|
73
|
+
query_params["subdomain"] = params[:subdomain] if params.key?(:subdomain)
|
|
72
74
|
query_params["website"] = params[:website] if params.key?(:website)
|
|
73
75
|
query_params["apple_pay"] = params[:apple_pay] if params.key?(:apple_pay)
|
|
74
76
|
query_params["pixel"] = params[:pixel] if params.key?(:pixel)
|
|
@@ -115,7 +117,8 @@ module Whop_sdk
|
|
|
115
117
|
# `issues` say what the transfer needs from you.
|
|
116
118
|
#
|
|
117
119
|
# Pass `verification` to connect a domain you registered elsewhere: its `issues` list the TXT and routing records
|
|
118
|
-
# to publish.
|
|
120
|
+
# to publish. A subdomain of a domain this account bought through Whop takes `subdomain` by default, and Whop
|
|
121
|
+
# publishes its DNS records itself. Pass `website` with an `app_id` to serve that app on the domain.
|
|
119
122
|
#
|
|
120
123
|
# To change a domain you already have, update it instead. Adding a domain this account deleted revives it under
|
|
121
124
|
# its original ID.
|
|
@@ -129,7 +132,7 @@ module Whop_sdk
|
|
|
129
132
|
# @option request_options [Integer] :timeout_in_seconds
|
|
130
133
|
#
|
|
131
134
|
# @example
|
|
132
|
-
# client.domains.create(domain: "
|
|
135
|
+
# client.domains.create(domain: "www.bought.com")
|
|
133
136
|
#
|
|
134
137
|
# @return [Whop_sdk::Types::Domain]
|
|
135
138
|
def create(request_options: {}, **params)
|
|
@@ -18,6 +18,8 @@ module Whop_sdk
|
|
|
18
18
|
|
|
19
19
|
field :registration, -> { Whop_sdk::Domains::Types::CreateDomainsRequestRegistration }, optional: true, nullable: false
|
|
20
20
|
|
|
21
|
+
field :subdomain, -> { Whop_sdk::Domains::Types::CreateDomainsRequestSubdomain }, optional: true, nullable: false
|
|
22
|
+
|
|
21
23
|
field :transfer, -> { Whop_sdk::Domains::Types::CreateDomainsRequestTransfer }, optional: true, nullable: false
|
|
22
24
|
|
|
23
25
|
field :verification, -> { Whop_sdk::Domains::Types::CreateDomainsRequestVerification }, optional: true, nullable: false
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
module Whop_sdk
|
|
4
4
|
module Domains
|
|
5
5
|
module Types
|
|
6
|
-
# Send and receive email on the domain.
|
|
7
|
-
# account, can have it. Whop publishes the DNS records and stays `pending`
|
|
8
|
-
# then turns `ready`. Pass `null` to remove email.
|
|
6
|
+
# Send and receive email on the domain. It needs `registration` or `subdomain`, so only a domain bought through
|
|
7
|
+
# Whop, or a subdomain of one in the same account, can have it. Whop publishes the DNS records and stays `pending`
|
|
8
|
+
# until its email provider verifies them, then turns `ready`. Pass `null` to remove email.
|
|
9
9
|
class CreateDomainsRequestEmail < Internal::Types::Model; end
|
|
10
10
|
end
|
|
11
11
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Domains
|
|
5
|
+
module Types
|
|
6
|
+
# Use a subdomain of a domain this account bought through Whop, such as shop.example.com under example.com. It's
|
|
7
|
+
# the default when you add such a subdomain without a capability. Whop publishes its DNS records in the root
|
|
8
|
+
# domain's zone, so it needs nothing from you: it stays `pending` until the root domain is set up, then turns
|
|
9
|
+
# `ready`. Whop releases it, and its website, when the account no longer holds the root domain, and deletes it
|
|
10
|
+
# when the root domain leaves the account. Pass `null` to release it. Can't be combined with `verification` or
|
|
11
|
+
# `registration`.
|
|
12
|
+
class CreateDomainsRequestSubdomain < Internal::Types::Model; end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -34,6 +34,8 @@ module Whop_sdk
|
|
|
34
34
|
|
|
35
35
|
field :platform, -> { Whop_sdk::Domains::Types::ListDomainsRequestPlatform }, optional: true, nullable: false
|
|
36
36
|
|
|
37
|
+
field :subdomain, -> { Whop_sdk::Domains::Types::ListDomainsRequestSubdomain }, optional: true, nullable: false
|
|
38
|
+
|
|
37
39
|
field :website, -> { Whop_sdk::Domains::Types::ListDomainsRequestWebsite }, optional: true, nullable: false
|
|
38
40
|
|
|
39
41
|
field :apple_pay, -> { Whop_sdk::Domains::Types::ListDomainsRequestApplePay }, optional: true, nullable: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Domains
|
|
5
|
+
module Types
|
|
6
|
+
module ListDomainsRequestSubdomain
|
|
7
|
+
extend Whop_sdk::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
PENDING = "pending"
|
|
10
|
+
READY = "ready"
|
|
11
|
+
ACTION_REQUIRED = "action_required"
|
|
12
|
+
RELEASING = "releasing"
|
|
13
|
+
ANY = "any"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -16,6 +16,8 @@ module Whop_sdk
|
|
|
16
16
|
|
|
17
17
|
field :registration, -> { Whop_sdk::Domains::Types::UpdateDomainsRequestRegistration }, optional: true, nullable: false
|
|
18
18
|
|
|
19
|
+
field :subdomain, -> { Whop_sdk::Domains::Types::UpdateDomainsRequestSubdomain }, optional: true, nullable: false
|
|
20
|
+
|
|
19
21
|
field :transfer, -> { Whop_sdk::Domains::Types::UpdateDomainsRequestTransfer }, optional: true, nullable: false
|
|
20
22
|
|
|
21
23
|
field :verification, -> { Whop_sdk::Domains::Types::UpdateDomainsRequestVerification }, optional: true, nullable: false
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
module Whop_sdk
|
|
4
4
|
module Domains
|
|
5
5
|
module Types
|
|
6
|
-
# Send and receive email on the domain.
|
|
7
|
-
# account, can have it. Whop publishes the DNS records and stays `pending`
|
|
8
|
-
# then turns `ready`. Pass `null` to remove email.
|
|
6
|
+
# Send and receive email on the domain. It needs `registration` or `subdomain`, so only a domain bought through
|
|
7
|
+
# Whop, or a subdomain of one in the same account, can have it. Whop publishes the DNS records and stays `pending`
|
|
8
|
+
# until its email provider verifies them, then turns `ready`. Pass `null` to remove email.
|
|
9
9
|
class UpdateDomainsRequestEmail < Internal::Types::Model; end
|
|
10
10
|
end
|
|
11
11
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Domains
|
|
5
|
+
module Types
|
|
6
|
+
# Use a subdomain of a domain this account bought through Whop, such as shop.example.com under example.com. It's
|
|
7
|
+
# the default when you add such a subdomain without a capability. Whop publishes its DNS records in the root
|
|
8
|
+
# domain's zone, so it needs nothing from you: it stays `pending` until the root domain is set up, then turns
|
|
9
|
+
# `ready`. Whop releases it, and its website, when the account no longer holds the root domain, and deletes it
|
|
10
|
+
# when the root domain leaves the account. Pass `null` to release it. Can't be combined with `verification` or
|
|
11
|
+
# `registration`.
|
|
12
|
+
class UpdateDomainsRequestSubdomain < Internal::Types::Model; end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -14,12 +14,11 @@ module Whop_sdk
|
|
|
14
14
|
@environment = environment
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
# Lists an account's recommendations
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
# range, use `GET /stats/time_series/:metric`.
|
|
17
|
+
# Lists an account's recommendations, newest first by default. `status: ready` is what the account can act on now.
|
|
18
|
+
# Any other listing is its history of runs. Executed recommendations and runs stay listed after Economic
|
|
19
|
+
# Intelligence turns off, but new recommendations are offered only to businesses it is written for. For visitor
|
|
20
|
+
# countries, page views, ad impressions and clicks, or payment volume over a time range, use `GET
|
|
21
|
+
# /stats/time_series/:metric`.
|
|
23
22
|
#
|
|
24
23
|
# @param request_options [Hash]
|
|
25
24
|
# @param params [Hash]
|
|
@@ -87,11 +86,11 @@ module Whop_sdk
|
|
|
87
86
|
end
|
|
88
87
|
|
|
89
88
|
# Updates a recommendation status, records feedback, or both. Send `sentiment` to rate it. Include `status:
|
|
90
|
-
# superseded` to retire a ready recommendation
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
#
|
|
89
|
+
# superseded` to retire a ready recommendation. A rating alone leaves its status unchanged. To run a
|
|
90
|
+
# recommendation yourself, send `status: running` to start. Send `status: executed` when it is carried out, or
|
|
91
|
+
# `status: incomplete` if the run ended without carrying it out. With `executed`, name what changed in `result_id`
|
|
92
|
+
# or where the run worked in `result_page`, and the result links there. Whop AI reports its own runs the same way.
|
|
93
|
+
# Send `status: acknowledged` once an executed run's result has been seen.
|
|
95
94
|
#
|
|
96
95
|
# @param request_options [Hash]
|
|
97
96
|
# @param params [Whop_sdk::EconomicIntelligence::Types::UpdateEconomicIntelligenceRequest]
|
|
@@ -26,8 +26,6 @@ module Whop_sdk
|
|
|
26
26
|
|
|
27
27
|
field :event_time, -> { String }, optional: true, nullable: false
|
|
28
28
|
|
|
29
|
-
field :plan_id, -> { String }, optional: true, nullable: false
|
|
30
|
-
|
|
31
29
|
field :product_id, -> { String }, optional: true, nullable: false
|
|
32
30
|
|
|
33
31
|
field :referrer_url, -> { String }, optional: true, nullable: false
|
|
@@ -43,6 +41,8 @@ module Whop_sdk
|
|
|
43
41
|
field :user, -> { Whop_sdk::Events::Types::CreateEventsRequestUser }, optional: true, nullable: false
|
|
44
42
|
|
|
45
43
|
field :value, -> { Integer }, optional: true, nullable: false
|
|
44
|
+
|
|
45
|
+
field :variant_id, -> { String }, optional: true, nullable: false
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Events
|
|
5
|
+
module Types
|
|
6
|
+
class PostEventsCreatedPayload < Internal::Types::Model
|
|
7
|
+
field :account_id, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :api_version, -> { Whop_sdk::Events::Types::PostEventsCreatedPayloadAPIVersion }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :api_version_date, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :data, -> { Whop_sdk::Events::Types::PostEventsCreatedPayloadData }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :previous_attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :timestamp, -> { String }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :type, -> { Whop_sdk::Events::Types::PostEventsCreatedPayloadType }, optional: false, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Whop_sdk
|
|
4
|
-
module
|
|
4
|
+
module Events
|
|
5
5
|
module Types
|
|
6
|
-
module
|
|
6
|
+
module PostEventsCreatedPayloadAPIVersion
|
|
7
7
|
extend Whop_sdk::Internal::Types::Enum
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
V1 = "v1"
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Events
|
|
5
|
+
module Types
|
|
6
|
+
class PostEventsCreatedPayloadData < Internal::Types::Model
|
|
7
|
+
field :events, -> { Internal::Types::Array[Whop_sdk::Events::Types::PostEventsCreatedPayloadDataEventsItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Events
|
|
5
|
+
module Types
|
|
6
|
+
class PostEventsCreatedPayloadDataEventsItem < Internal::Types::Model
|
|
7
|
+
field :context, -> { Whop_sdk::Events::Types::PostEventsCreatedPayloadDataEventsItemContext }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :custom_name, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :event_name, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :event_time, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :product_id, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :referrer_url, -> { String }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :title, -> { String }, optional: true, nullable: false
|
|
22
|
+
|
|
23
|
+
field :url, -> { String }, optional: true, nullable: false
|
|
24
|
+
|
|
25
|
+
field :user, -> { Whop_sdk::Events::Types::PostEventsCreatedPayloadDataEventsItemUser }, optional: false, nullable: false
|
|
26
|
+
|
|
27
|
+
field :value, -> { Whop_sdk::Types::Money }, optional: true, nullable: false
|
|
28
|
+
|
|
29
|
+
field :variant_id, -> { String }, optional: true, nullable: false
|
|
30
|
+
|
|
31
|
+
field :wuid, -> { String }, optional: false, nullable: true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Events
|
|
5
|
+
module Types
|
|
6
|
+
# UTM parameters, ad click ids and ad ids, as the page reported them. Keys the event did not carry are left out.
|
|
7
|
+
class PostEventsCreatedPayloadDataEventsItemContext < Internal::Types::Model
|
|
8
|
+
field :ad_campaign_id, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :ad_id, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :ad_set_id, -> { String }, optional: true, nullable: false
|
|
13
|
+
|
|
14
|
+
field :fbclid, -> { String }, optional: true, nullable: false
|
|
15
|
+
|
|
16
|
+
field :gbraid, -> { String }, optional: true, nullable: false
|
|
17
|
+
|
|
18
|
+
field :gclid, -> { String }, optional: true, nullable: false
|
|
19
|
+
|
|
20
|
+
field :ig_sid, -> { String }, optional: true, nullable: false
|
|
21
|
+
|
|
22
|
+
field :li_fat_id, -> { String }, optional: true, nullable: false
|
|
23
|
+
|
|
24
|
+
field :msclkid, -> { String }, optional: true, nullable: false
|
|
25
|
+
|
|
26
|
+
field :rdt_cid, -> { String }, optional: true, nullable: false
|
|
27
|
+
|
|
28
|
+
field :sccid, -> { String }, optional: true, nullable: false
|
|
29
|
+
|
|
30
|
+
field :ttclid, -> { String }, optional: true, nullable: false
|
|
31
|
+
|
|
32
|
+
field :twclid, -> { String }, optional: true, nullable: false
|
|
33
|
+
|
|
34
|
+
field :utm_campaign, -> { String }, optional: true, nullable: false
|
|
35
|
+
|
|
36
|
+
field :utm_content, -> { String }, optional: true, nullable: false
|
|
37
|
+
|
|
38
|
+
field :utm_id, -> { String }, optional: true, nullable: false
|
|
39
|
+
|
|
40
|
+
field :utm_medium, -> { String }, optional: true, nullable: false
|
|
41
|
+
|
|
42
|
+
field :utm_source, -> { String }, optional: true, nullable: false
|
|
43
|
+
|
|
44
|
+
field :utm_term, -> { String }, optional: true, nullable: false
|
|
45
|
+
|
|
46
|
+
field :wbraid, -> { String }, optional: true, nullable: false
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Events
|
|
5
|
+
module Types
|
|
6
|
+
# Who the event was about, as far as the page knew. Keys the event did not carry are left out.
|
|
7
|
+
class PostEventsCreatedPayloadDataEventsItemUser < Internal::Types::Model
|
|
8
|
+
field :email, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :first_name, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :last_name, -> { String }, optional: true, nullable: false
|
|
13
|
+
|
|
14
|
+
field :name, -> { String }, optional: true, nullable: false
|
|
15
|
+
|
|
16
|
+
field :phone, -> { String }, optional: true, nullable: false
|
|
17
|
+
|
|
18
|
+
field :user_id, -> { String }, optional: true, nullable: false
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Whop_sdk
|
|
4
|
-
module
|
|
4
|
+
module Events
|
|
5
5
|
module Types
|
|
6
|
-
module
|
|
6
|
+
module PostEventsCreatedPayloadType
|
|
7
7
|
extend Whop_sdk::Internal::Types::Enum
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
EVENTS_CREATED = "events.created"
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
end
|
|
@@ -80,7 +80,8 @@ module Whop_sdk
|
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
# Creates an experiment or feature flag in `draft` status for an account. Nothing is served until you activate it
|
|
83
|
-
# with `POST /experiments/:id/activate
|
|
83
|
+
# with `POST /experiments/:id/activate`, which needs Economic Intelligence on for the account. Requires
|
|
84
|
+
# `experiment:manage` on the account.
|
|
84
85
|
#
|
|
85
86
|
# @param request_options [Hash]
|
|
86
87
|
# @param params [Whop_sdk::Experiments::Types::CreateExperimentsRequest]
|
|
@@ -268,7 +269,10 @@ module Whop_sdk
|
|
|
268
269
|
|
|
269
270
|
# Starts (or resumes) an experiment or feature flag so evaluation begins serving it. Activating a draft stamps
|
|
270
271
|
# `started_at`; resuming a paused experiment keeps the original start. Only drafts and paused experiments can be
|
|
271
|
-
# activated. Requires `experiment:manage` on the owning account.
|
|
272
|
+
# activated. Requires `experiment:manage` on the owning account. Activating needs Economic Intelligence on for the
|
|
273
|
+
# owning account: while the account's `economic_intelligence` is `false`, this returns a `403` and the experiment
|
|
274
|
+
# keeps its status. Turn it on with `PATCH /accounts/:account_id/preferences`. Creating, editing, pausing and
|
|
275
|
+
# ending an experiment don't need it.
|
|
272
276
|
#
|
|
273
277
|
# @param request_options [Hash]
|
|
274
278
|
# @param params [Whop_sdk::Experiments::Types::ActivateExperimentsRequest]
|
|
@@ -16,6 +16,8 @@ module Whop_sdk
|
|
|
16
16
|
|
|
17
17
|
field :hypothesis, -> { String }, optional: true, nullable: false
|
|
18
18
|
|
|
19
|
+
field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
|
|
20
|
+
|
|
19
21
|
field :name, -> { String }, optional: true, nullable: false
|
|
20
22
|
|
|
21
23
|
field :related_resource, -> { Whop_sdk::Types::ExperimentResourceReference }, optional: true, nullable: false
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class CreateExperimentsRequestTargetingRulesItem < Internal::Types::Model
|
|
7
7
|
field :conditions, -> { Internal::Types::Array[Whop_sdk::Experiments::Types::CreateExperimentsRequestTargetingRulesItemConditionsItem] }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :pass_percentage, -> { Integer }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :type, -> { Whop_sdk::Experiments::Types::CreateExperimentsRequestTargetingRulesItemType }, optional: true, nullable: false
|
|
10
12
|
end
|
|
11
13
|
end
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class UpdateExperimentsRequestTargetingRulesItem < Internal::Types::Model
|
|
7
7
|
field :conditions, -> { Internal::Types::Array[Whop_sdk::Experiments::Types::UpdateExperimentsRequestTargetingRulesItemConditionsItem] }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :pass_percentage, -> { Integer }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :type, -> { Whop_sdk::Experiments::Types::UpdateExperimentsRequestTargetingRulesItemType }, optional: true, nullable: false
|
|
10
12
|
end
|
|
11
13
|
end
|
|
@@ -85,11 +85,11 @@ module Whop_sdk
|
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
# Creates or returns a Whop-managed
|
|
89
|
-
#
|
|
88
|
+
# Creates or returns a Whop-managed TikTok account for an account, or connects the account's existing Klaviyo
|
|
89
|
+
# account with a private API key. Whop no longer creates Facebook pages.
|
|
90
90
|
#
|
|
91
91
|
# @param request_options [Hash]
|
|
92
|
-
# @param params [Whop_sdk::ExternalAccounts::Types::
|
|
92
|
+
# @param params [Whop_sdk::ExternalAccounts::Types::CreateExternalAccountsRequestBody]
|
|
93
93
|
# @option request_options [String] :base_url
|
|
94
94
|
# @option request_options [Hash{String => Object}] :additional_headers
|
|
95
95
|
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
@@ -97,7 +97,7 @@ module Whop_sdk
|
|
|
97
97
|
# @option request_options [Integer] :timeout_in_seconds
|
|
98
98
|
#
|
|
99
99
|
# @example
|
|
100
|
-
# client.external_accounts.create
|
|
100
|
+
# client.external_accounts.create
|
|
101
101
|
#
|
|
102
102
|
# @return [Whop_sdk::Types::ExternalAccount]
|
|
103
103
|
def create(request_options: {}, **params)
|
|
@@ -106,7 +106,7 @@ module Whop_sdk
|
|
|
106
106
|
base_url: request_options[:base_url] || @base_url || @environment&.dig(:api),
|
|
107
107
|
method: "POST",
|
|
108
108
|
path: "external_accounts",
|
|
109
|
-
body: Whop_sdk::ExternalAccounts::Types::
|
|
109
|
+
body: Whop_sdk::ExternalAccounts::Types::CreateExternalAccountsRequestBody.new(params).to_h,
|
|
110
110
|
request_options: request_options
|
|
111
111
|
)
|
|
112
112
|
begin
|
|
@@ -137,8 +137,8 @@ module Whop_sdk
|
|
|
137
137
|
#
|
|
138
138
|
# @example
|
|
139
139
|
# client.external_accounts.connect(
|
|
140
|
-
# platform: "
|
|
141
|
-
# redirect_url: "https://whop.com/dashboard/biz_xxxxxxxxxxxxxx/
|
|
140
|
+
# platform: "tiktok",
|
|
141
|
+
# redirect_url: "https://whop.com/dashboard/biz_xxxxxxxxxxxxxx/settings"
|
|
142
142
|
# )
|
|
143
143
|
#
|
|
144
144
|
# @return [Whop_sdk::ExternalAccounts::Types::ConnectExternalAccountsResponse]
|
|
@@ -250,21 +250,6 @@ module Whop_sdk
|
|
|
250
250
|
raise error_class.new(response.body, code: code)
|
|
251
251
|
end
|
|
252
252
|
end
|
|
253
|
-
|
|
254
|
-
# @return [Whop_sdk::Partners::Client]
|
|
255
|
-
def partners
|
|
256
|
-
@partners ||= Whop_sdk::ExternalAccounts::Partners::Client.new(client: @client, base_url: @base_url, environment: @environment)
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
# @return [Whop_sdk::LeadForms::Client]
|
|
260
|
-
def lead_forms
|
|
261
|
-
@lead_forms ||= Whop_sdk::ExternalAccounts::LeadForms::Client.new(client: @client, base_url: @base_url, environment: @environment)
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
# @return [Whop_sdk::Posts::Client]
|
|
265
|
-
def posts
|
|
266
|
-
@posts ||= Whop_sdk::ExternalAccounts::Posts::Client.new(client: @client, base_url: @base_url, environment: @environment)
|
|
267
|
-
end
|
|
268
253
|
end
|
|
269
254
|
end
|
|
270
255
|
end
|
|
@@ -9,8 +9,6 @@ module Whop_sdk
|
|
|
9
9
|
field :platform, -> { Whop_sdk::ExternalAccounts::Types::ConnectExternalAccountsRequestPlatform }, optional: false, nullable: false
|
|
10
10
|
|
|
11
11
|
field :redirect_url, -> { String }, optional: false, nullable: false
|
|
12
|
-
|
|
13
|
-
field :scopes, -> { Internal::Types::Array[Whop_sdk::ExternalAccounts::Types::ConnectExternalAccountsRequestScopesItem] }, optional: true, nullable: false
|
|
14
12
|
end
|
|
15
13
|
end
|
|
16
14
|
end
|
|
@@ -6,12 +6,10 @@ module Whop_sdk
|
|
|
6
6
|
module ConnectExternalAccountsRequestPlatform
|
|
7
7
|
extend Whop_sdk::Internal::Types::Enum
|
|
8
8
|
|
|
9
|
-
META_BUSINESS = "meta_business"
|
|
10
9
|
TIKTOK = "tiktok"
|
|
11
10
|
LINKEDIN = "linkedin"
|
|
12
11
|
YOUTUBE = "youtube"
|
|
13
12
|
X = "x"
|
|
14
|
-
SNAPCHAT = "snapchat"
|
|
15
13
|
QUICKBOOKS = "quickbooks"
|
|
16
14
|
end
|
|
17
15
|
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module ExternalAccounts
|
|
5
|
+
module Types
|
|
6
|
+
class CreateExternalAccountsRequestBody < Internal::Types::Model
|
|
7
|
+
extend Whop_sdk::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
discriminant :platform
|
|
10
|
+
|
|
11
|
+
member -> { Whop_sdk::ExternalAccounts::Types::CreateExternalAccountsRequestBodyFacebook }, key: "FACEBOOK"
|
|
12
|
+
|
|
13
|
+
member -> { Whop_sdk::ExternalAccounts::Types::CreateExternalAccountsRequestBodyTiktok }, key: "TIKTOK"
|
|
14
|
+
|
|
15
|
+
member -> { Whop_sdk::ExternalAccounts::Types::CreateExternalAccountsRequestBodyKlaviyo }, key: "KLAVIYO"
|
|
16
|
+
|
|
17
|
+
member -> { Whop_sdk::ExternalAccounts::Types::CreateExternalAccountsRequestBodyAimerce }, key: "AIMERCE"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module ExternalAccounts
|
|
5
|
+
module Types
|
|
6
|
+
# Connects the account's Aimerce shop with an API key and turns on the Aimerce tracking pixel. Requires the
|
|
7
|
+
# `company:manage_checkout` scope instead of `social_account:create`.
|
|
8
|
+
class CreateExternalAccountsRequestBodyAimerce < Internal::Types::Model
|
|
9
|
+
field :account_id, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :api_key, -> { String }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module ExternalAccounts
|
|
5
|
+
module Types
|
|
6
|
+
# Whop no longer creates Facebook pages, so this returns a `facebook_page_provisioning_retired` error.
|
|
7
|
+
class CreateExternalAccountsRequestBodyFacebook < Internal::Types::Model
|
|
8
|
+
field :account_id, -> { String }, optional: true, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module ExternalAccounts
|
|
5
|
+
module Types
|
|
6
|
+
# Connects the account's existing Klaviyo account with a private API key.
|
|
7
|
+
class CreateExternalAccountsRequestBodyKlaviyo < Internal::Types::Model
|
|
8
|
+
field :account_id, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :api_key, -> { String }, optional: false, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module ExternalAccounts
|
|
5
|
+
module Types
|
|
6
|
+
# Provisions a Whop-managed TikTok account for the account. Requires the account's `logo`; configure it with
|
|
7
|
+
# [Update Account](/api-reference/accounts/update-account). The account is returned before TikTok has created it —
|
|
8
|
+
# its `id` is usable right away, and the rest of the profile fills in once provisioning finishes.
|
|
9
|
+
class CreateExternalAccountsRequestBodyTiktok < Internal::Types::Model
|
|
10
|
+
field :account_id, -> { String }, optional: true, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|