whop_sdk 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +3 -3
- data/.fern/replay.lock +943 -1
- data/lib/whop_sdk/accounts/client.rb +8 -3
- data/lib/whop_sdk/accounts/customer_tracking/client.rb +59 -0
- data/lib/whop_sdk/accounts/{financing_applications/types/create_financing_applications_request.rb → customer_tracking/types/retrieve_customer_tracking_request.rb} +2 -2
- data/lib/whop_sdk/accounts/fees/types/update_fees_request.rb +8 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_ach_dispute.rb +18 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_ach_dispute_regions_value.rb +15 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_ach_return.rb +18 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_ach_return_regions_value.rb +15 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_sepa_dispute.rb +18 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_sepa_dispute_regions_value.rb +15 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_sepa_return.rb +18 -0
- data/lib/whop_sdk/accounts/fees/types/update_fees_request_sepa_return_regions_value.rb +15 -0
- data/lib/whop_sdk/accounts/financing_providers/client.rb +79 -0
- data/lib/whop_sdk/accounts/financing_providers/types/list_financing_providers_request.rb +23 -0
- data/lib/whop_sdk/accounts/financing_providers/types/list_financing_providers_request_status.rb +19 -0
- data/lib/whop_sdk/accounts/financing_providers/types/list_financing_providers_response.rb +15 -0
- data/lib/whop_sdk/accounts/{financing_applications/types/list_financing_applications_response_page_info.rb → financing_providers/types/list_financing_providers_response_page_info.rb} +2 -2
- data/lib/whop_sdk/accounts/preferences/client.rb +3 -2
- data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response.rb +4 -0
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_request.rb +4 -0
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_customer_tracking.rb +26 -0
- data/lib/whop_sdk/accounts/preferences/types/update_preferences_response.rb +4 -0
- data/lib/whop_sdk/accounts/types/transfer_ownership_accounts_request.rb +2 -0
- data/lib/whop_sdk/ad_campaigns/client.rb +2 -2
- data/lib/whop_sdk/ad_campaigns/types/create_ad_campaigns_request_platform.rb +1 -1
- 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_updated_payload_data_delivery_status.rb +1 -0
- data/lib/whop_sdk/ad_campaigns/types/update_ad_campaigns_request.rb +2 -0
- data/lib/whop_sdk/ad_pixels/client.rb +3 -1
- data/lib/whop_sdk/ad_pixels/types/create_ad_pixels_request_platform.rb +2 -0
- data/lib/whop_sdk/ads/client.rb +48 -0
- data/lib/whop_sdk/ads/types/report_stats_ads_request.rb +19 -0
- data/lib/whop_sdk/ads/types/report_stats_ads_request_clicks.rb +16 -0
- data/lib/whop_sdk/ads/types/report_stats_ads_request_impressions.rb +16 -0
- data/lib/whop_sdk/ads/types/report_stats_ads_request_spend.rb +16 -0
- data/lib/whop_sdk/api_keys/types/create_api_keys_request_api_version_date.rb +6 -0
- data/lib/whop_sdk/api_keys/types/update_api_keys_request_api_version_date.rb +6 -0
- data/lib/whop_sdk/app_installations/client.rb +172 -0
- data/lib/whop_sdk/app_installations/types/list_app_installations_request.rb +33 -0
- data/lib/whop_sdk/app_installations/types/list_app_installations_request_direction.rb +14 -0
- data/lib/whop_sdk/app_installations/types/list_app_installations_request_order.rb +14 -0
- data/lib/whop_sdk/app_installations/types/list_app_installations_request_view_type.rb +19 -0
- data/lib/whop_sdk/app_installations/types/list_app_installations_response.rb +13 -0
- data/lib/whop_sdk/app_installations/types/list_app_installations_response_page_info.rb +17 -0
- data/lib/whop_sdk/app_installations/types/post_app_installation_created_payload.rb +25 -0
- data/lib/whop_sdk/app_installations/types/post_app_installation_created_payload_api_version.rb +13 -0
- data/lib/whop_sdk/app_installations/types/post_app_installation_created_payload_type.rb +13 -0
- data/lib/whop_sdk/app_installations/types/post_app_installation_deleted_payload.rb +25 -0
- data/lib/whop_sdk/app_installations/types/post_app_installation_deleted_payload_api_version.rb +13 -0
- data/lib/whop_sdk/app_installations/types/post_app_installation_deleted_payload_type.rb +13 -0
- data/lib/whop_sdk/app_installations/types/retrieve_app_installations_request.rb +11 -0
- data/lib/whop_sdk/app_installations/types/update_app_installations_request.rb +15 -0
- data/lib/whop_sdk/apps/types/update_apps_request.rb +4 -0
- data/lib/whop_sdk/cards/client.rb +2 -1
- data/lib/whop_sdk/cards/types/create_cards_request.rb +6 -0
- data/lib/whop_sdk/cards/types/create_cards_request_billing.rb +23 -0
- data/lib/whop_sdk/cards/types/create_cards_request_cardholder.rb +21 -0
- data/lib/whop_sdk/cards/types/create_cards_request_kind.rb +14 -0
- data/lib/whop_sdk/checkout_configurations/client.rb +3 -3
- data/lib/whop_sdk/checkout_configurations/types/create_checkout_configurations_request.rb +4 -4
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_request_plan.rb → create_checkout_configurations_request_variant.rb} +8 -8
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_request_plan_plan_type.rb → create_checkout_configurations_request_variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_request_plan_payment_method_configuration.rb → create_checkout_configurations_request_variant_payment_method_configuration.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{retrieve_checkout_configurations_response_plan_release_method.rb → create_checkout_configurations_request_variant_release_method.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{retrieve_checkout_configurations_response_plan_three_ds_level.rb → create_checkout_configurations_request_variant_three_ds_level.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{retrieve_checkout_configurations_response_plan_visibility.rb → create_checkout_configurations_request_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/create_checkout_configurations_response.rb +2 -2
- data/lib/whop_sdk/checkout_configurations/types/{list_checkout_configurations_response_data_item_plan.rb → create_checkout_configurations_response_variant.rb} +6 -6
- data/lib/whop_sdk/checkout_configurations/types/{list_checkout_configurations_response_data_item_plan_plan_type.rb → create_checkout_configurations_response_variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_request_plan_release_method.rb → create_checkout_configurations_response_variant_release_method.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_response_plan_three_ds_level.rb → create_checkout_configurations_response_variant_three_ds_level.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_response_plan_visibility.rb → create_checkout_configurations_response_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/list_checkout_configurations_request.rb +1 -1
- data/lib/whop_sdk/checkout_configurations/types/list_checkout_configurations_response_data_item.rb +2 -2
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_response_plan.rb → list_checkout_configurations_response_data_item_variant.rb} +6 -6
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_response_plan_plan_type.rb → list_checkout_configurations_response_data_item_variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{list_checkout_configurations_response_data_item_plan_release_method.rb → list_checkout_configurations_response_data_item_variant_release_method.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{list_checkout_configurations_response_data_item_plan_three_ds_level.rb → list_checkout_configurations_response_data_item_variant_three_ds_level.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{list_checkout_configurations_response_data_item_plan_visibility.rb → list_checkout_configurations_response_data_item_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/retrieve_checkout_configurations_response.rb +2 -2
- data/lib/whop_sdk/checkout_configurations/types/{retrieve_checkout_configurations_response_plan.rb → retrieve_checkout_configurations_response_variant.rb} +6 -6
- data/lib/whop_sdk/checkout_configurations/types/{retrieve_checkout_configurations_response_plan_plan_type.rb → retrieve_checkout_configurations_response_variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_response_plan_release_method.rb → retrieve_checkout_configurations_response_variant_release_method.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_request_plan_three_ds_level.rb → retrieve_checkout_configurations_response_variant_three_ds_level.rb} +1 -1
- data/lib/whop_sdk/checkout_configurations/types/{create_checkout_configurations_request_plan_visibility.rb → retrieve_checkout_configurations_response_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/client.rb +21 -1
- data/lib/whop_sdk/deposits/client.rb +46 -0
- data/lib/whop_sdk/deposits/types/create_deposits_request.rb +4 -0
- data/lib/whop_sdk/deposits/types/create_deposits_request_metadata_value.rb +17 -0
- data/lib/whop_sdk/deposits/types/create_deposits_response_methods_card.rb +2 -0
- data/lib/whop_sdk/deposits/types/reverse_deposits_request.rb +17 -0
- data/lib/whop_sdk/deposits/types/reverse_deposits_request_metadata_value.rb +17 -0
- data/lib/whop_sdk/disputes/client.rb +8 -0
- data/lib/whop_sdk/disputes/types/list_disputes_request.rb +4 -0
- data/lib/whop_sdk/disputes/types/summary_disputes_request.rb +4 -0
- data/lib/whop_sdk/domains/client.rb +11 -2
- data/lib/whop_sdk/domains/types/create_domains_request.rb +4 -0
- data/lib/whop_sdk/domains/types/create_domains_request_email.rb +12 -0
- data/lib/whop_sdk/domains/types/create_domains_request_registration.rb +5 -2
- data/lib/whop_sdk/domains/types/create_domains_request_transfer.rb +16 -0
- data/lib/whop_sdk/domains/types/create_domains_request_transfer_destination.rb +13 -0
- data/lib/whop_sdk/domains/types/list_domains_request.rb +4 -0
- data/lib/whop_sdk/domains/types/list_domains_request_email.rb +17 -0
- data/lib/whop_sdk/domains/types/list_domains_request_transfer.rb +17 -0
- data/lib/whop_sdk/domains/types/post_domain_created_payload.rb +25 -0
- data/lib/whop_sdk/domains/types/post_domain_created_payload_api_version.rb +13 -0
- data/lib/whop_sdk/domains/types/post_domain_created_payload_type.rb +13 -0
- data/lib/whop_sdk/domains/types/post_domain_deleted_payload.rb +25 -0
- data/lib/whop_sdk/domains/types/post_domain_deleted_payload_api_version.rb +13 -0
- data/lib/whop_sdk/domains/types/post_domain_deleted_payload_type.rb +13 -0
- data/lib/whop_sdk/domains/types/post_domain_updated_payload.rb +25 -0
- data/lib/whop_sdk/domains/types/post_domain_updated_payload_api_version.rb +13 -0
- data/lib/whop_sdk/domains/types/post_domain_updated_payload_type.rb +13 -0
- data/lib/whop_sdk/domains/types/update_domains_request.rb +4 -0
- data/lib/whop_sdk/domains/types/update_domains_request_email.rb +12 -0
- data/lib/whop_sdk/domains/types/update_domains_request_registration.rb +5 -2
- data/lib/whop_sdk/domains/types/update_domains_request_transfer.rb +16 -0
- data/lib/whop_sdk/domains/types/update_domains_request_transfer_destination.rb +13 -0
- data/lib/whop_sdk/email_addresses/client.rb +314 -0
- data/lib/whop_sdk/email_addresses/types/create_email_addresses_request.rb +15 -0
- data/lib/whop_sdk/email_addresses/types/delete_email_addresses_request.rb +11 -0
- data/lib/whop_sdk/email_addresses/types/list_email_addresses_request.rb +23 -0
- data/lib/whop_sdk/email_addresses/types/list_email_addresses_request_direction.rb +14 -0
- data/lib/whop_sdk/email_addresses/types/list_email_addresses_request_order.rb +14 -0
- data/lib/whop_sdk/email_addresses/types/list_email_addresses_response.rb +13 -0
- data/lib/whop_sdk/email_addresses/types/list_email_addresses_response_page_info.rb +17 -0
- data/lib/whop_sdk/email_addresses/types/mobileconfig_email_addresses_request.rb +11 -0
- data/lib/whop_sdk/email_addresses/types/reset_password_email_addresses_request.rb +11 -0
- data/lib/whop_sdk/email_addresses/types/retrieve_email_addresses_request.rb +11 -0
- data/lib/whop_sdk/email_addresses/types/update_email_addresses_request.rb +13 -0
- data/lib/whop_sdk/events/types/list_events_response_data_item_related.rb +2 -2
- data/lib/whop_sdk/events/types/{list_events_response_data_item_related_plan.rb → list_events_response_data_item_related_variant.rb} +1 -1
- data/lib/whop_sdk/exports/types/create_exports_request_resource.rb +1 -0
- data/lib/whop_sdk/exports/types/list_exports_request_resource.rb +1 -0
- data/lib/whop_sdk/external_accounts/client.rb +3 -2
- data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request.rb +2 -0
- data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/external_accounts/types/list_external_accounts_request_platform.rb +2 -0
- data/lib/whop_sdk/external_accounts/types/list_external_accounts_request_trust_level.rb +1 -0
- data/lib/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.rb +3 -0
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.rb +3 -0
- data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_response_rows_item_line_category.rb +3 -0
- data/lib/whop_sdk/financing_applications/client.rb +268 -0
- data/lib/whop_sdk/financing_applications/types/create_financing_applications_request.rb +11 -0
- data/lib/whop_sdk/financing_applications/types/list_financing_applications_request.rb +29 -0
- data/lib/whop_sdk/financing_applications/types/list_financing_applications_request_direction.rb +14 -0
- data/lib/whop_sdk/financing_applications/types/list_financing_applications_request_order.rb +14 -0
- data/lib/whop_sdk/financing_applications/types/list_financing_applications_request_status.rb +17 -0
- data/lib/whop_sdk/financing_applications/types/list_financing_applications_response.rb +13 -0
- data/lib/whop_sdk/financing_applications/types/list_financing_applications_response_page_info.rb +17 -0
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_approved_payload.rb +3 -3
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_approved_payload_api_version.rb +1 -1
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_approved_payload_type.rb +1 -1
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_denied_payload.rb +3 -3
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_denied_payload_api_version.rb +1 -1
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_denied_payload_type.rb +1 -1
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_disabled_payload.rb +3 -3
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_disabled_payload_api_version.rb +1 -1
- data/lib/whop_sdk/{accounts → financing_applications}/types/post_account_financing_disabled_payload_type.rb +1 -1
- data/lib/whop_sdk/financing_applications/types/retrieve_financing_applications_request.rb +11 -0
- data/lib/whop_sdk/financing_applications/types/submit_financing_applications_request.rb +13 -0
- data/lib/whop_sdk/financing_applications/types/submit_financing_applications_request_merchant_acceptance.rb +13 -0
- data/lib/whop_sdk/financing_applications/types/update_financing_applications_request.rb +13 -0
- data/lib/whop_sdk/financing_applications/types/update_financing_applications_request_answers_item.rb +17 -0
- data/lib/whop_sdk/financing_applications/types/update_financing_applications_request_answers_item_money.rb +14 -0
- data/lib/whop_sdk/financing_applications/types/update_financing_applications_request_answers_item_money_currency.rb +96 -0
- data/lib/whop_sdk/internal/http/raw_client.rb +1 -1
- data/lib/whop_sdk/invoices/client.rb +129 -110
- data/lib/whop_sdk/invoices/types/create_invoices_request.rb +21 -4
- data/lib/whop_sdk/invoices/types/create_invoices_request_billing_address.rb +26 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item.rb +13 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant.rb +44 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant_billing_type.rb +14 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant_currency.rb +102 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant_override_tax_type.rb +15 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant_product.rb +34 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant_product_global_affiliate_status.rb +14 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant_product_visibility.rb +16 -0
- data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant_visibility.rb +16 -0
- data/lib/whop_sdk/invoices/types/{delete_invoices_request.rb → generate_pdf_invoices_request.rb} +1 -1
- data/lib/whop_sdk/invoices/types/issue_invoices_request.rb +13 -0
- data/lib/whop_sdk/invoices/types/list_invoices_request.rb +14 -12
- data/lib/whop_sdk/invoices/types/list_invoices_request_direction.rb +14 -0
- data/lib/whop_sdk/invoices/types/list_invoices_request_order.rb +14 -0
- data/lib/whop_sdk/invoices/types/list_invoices_request_status.rb +20 -0
- data/lib/whop_sdk/invoices/types/list_invoices_response.rb +2 -3
- data/lib/whop_sdk/invoices/types/list_invoices_response_page_info.rb +17 -0
- data/lib/whop_sdk/invoices/types/post_invoice_created_payload.rb +1 -1
- data/lib/whop_sdk/invoices/types/post_invoice_marked_uncollectible_payload.rb +1 -1
- data/lib/whop_sdk/invoices/types/post_invoice_paid_payload.rb +1 -1
- data/lib/whop_sdk/invoices/types/post_invoice_past_due_payload.rb +1 -1
- data/lib/whop_sdk/invoices/types/post_invoice_voided_payload.rb +1 -1
- data/lib/whop_sdk/invoices/types/send_invoices_request.rb +15 -0
- data/lib/whop_sdk/invoices/types/{mark_paid_invoices_request.rb → unschedule_invoices_request.rb} +1 -1
- data/lib/whop_sdk/invoices/types/update_invoices_request.rb +6 -16
- data/lib/whop_sdk/invoices/types/update_invoices_request_billing_address.rb +5 -9
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item.rb +13 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant.rb +44 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant_billing_type.rb +14 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant_currency.rb +102 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant_override_tax_type.rb +15 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant_product.rb +34 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant_product_global_affiliate_status.rb +14 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant_product_visibility.rb +16 -0
- data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant_visibility.rb +16 -0
- data/lib/whop_sdk/livestreams/client.rb +191 -0
- data/lib/whop_sdk/livestreams/types/list_livestreams_request.rb +23 -0
- data/lib/whop_sdk/livestreams/types/list_livestreams_response.rb +13 -0
- data/lib/whop_sdk/livestreams/types/list_livestreams_response_page_info.rb +17 -0
- data/lib/whop_sdk/{invoices/types/resend_invoices_request.rb → livestreams/types/pin_livestreams_request.rb} +2 -2
- data/lib/whop_sdk/livestreams/types/retrieve_livestreams_request.rb +11 -0
- data/lib/whop_sdk/livestreams/types/unpin_livestreams_request.rb +11 -0
- data/lib/whop_sdk/members/client.rb +3 -3
- data/lib/whop_sdk/members/types/list_members_request.rb +1 -1
- data/lib/whop_sdk/memberships/client.rb +10 -7
- data/lib/whop_sdk/memberships/types/invite_memberships_request_body_email.rb +1 -1
- data/lib/whop_sdk/memberships/types/invite_memberships_request_body_user_id.rb +2 -2
- data/lib/whop_sdk/memberships/types/list_memberships_request.rb +4 -2
- data/lib/whop_sdk/partner_referral_requests/types/create_partner_referral_requests_request_body_account_id.rb +2 -0
- data/lib/whop_sdk/partner_referral_requests/types/create_partner_referral_requests_request_body_account_url.rb +2 -0
- data/lib/whop_sdk/partner_referral_requests/types/create_partner_referral_requests_request_body_code.rb +2 -0
- data/lib/whop_sdk/partner_referral_requests/types/create_partner_referral_requests_request_body_target_email.rb +2 -0
- data/lib/whop_sdk/partner_referral_requests/types/create_partner_referral_requests_request_body_target_user_id.rb +2 -0
- data/lib/whop_sdk/partner_referral_requests/types/create_partner_referral_requests_request_body_target_username.rb +2 -0
- data/lib/whop_sdk/partners/businesses/client.rb +4 -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.rb +6 -0
- data/lib/whop_sdk/partners/businesses/types/list_businesses_response_data_item_referring_business.rb +21 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response.rb +6 -0
- data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_referring_business.rb +21 -0
- data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response.rb +8 -0
- data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response_referring_business.rb +21 -0
- data/lib/whop_sdk/partners/businesses/types/update_businesses_request.rb +2 -0
- data/lib/whop_sdk/payment_quotes/client.rb +1 -1
- data/lib/whop_sdk/payment_quotes/types/create_payment_quotes_request.rb +4 -4
- data/lib/whop_sdk/payment_quotes/types/create_payment_quotes_request_line_items_item.rb +2 -2
- data/lib/whop_sdk/payment_rules/types/create_payment_rules_request_conditions_all_item_field.rb +7 -0
- data/lib/whop_sdk/payment_rules/types/replace_payment_rules_request_conditions_all_item_field.rb +7 -0
- data/lib/whop_sdk/payments/client.rb +133 -7
- data/lib/whop_sdk/payments/direct/types/create_direct_request.rb +8 -4
- data/lib/whop_sdk/payments/direct/types/create_direct_request_line_items_item.rb +2 -2
- data/lib/whop_sdk/payments/direct/types/create_direct_request_plan.rb +47 -0
- data/lib/whop_sdk/{accounts/financing_applications/types/update_financing_applications_request_answers_item_money_currency.rb → payments/direct/types/create_direct_request_plan_currency.rb} +9 -3
- data/lib/whop_sdk/payments/direct/types/create_direct_request_plan_override_tax_type.rb +17 -0
- data/lib/whop_sdk/{accounts/financing_applications/types/list_financing_applications_request_direction.rb → payments/direct/types/create_direct_request_plan_plan_type.rb} +5 -5
- data/lib/whop_sdk/payments/direct/types/create_direct_request_plan_product.rb +36 -0
- data/lib/whop_sdk/payments/direct/types/create_direct_request_plan_product_global_affiliate_status.rb +16 -0
- data/lib/whop_sdk/payments/direct/types/create_direct_request_plan_product_visibility.rb +18 -0
- data/lib/whop_sdk/payments/direct/types/create_direct_request_plan_visibility.rb +18 -0
- data/lib/whop_sdk/payments/types/create_payments_request.rb +8 -4
- data/lib/whop_sdk/{invoices/types/create_invoices_request_product_billing_address.rb → payments/types/create_payments_request_billing_address.rb} +4 -10
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan.rb → create_payments_request_line_items_item_variant.rb} +9 -10
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan_plan_type.rb → create_payments_request_line_items_item_variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan_currency.rb → create_payments_request_line_items_item_variant_currency.rb} +1 -1
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan_override_tax_type.rb → create_payments_request_line_items_item_variant_override_tax_type.rb} +1 -1
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan_product.rb → create_payments_request_line_items_item_variant_product.rb} +3 -3
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan_product_global_affiliate_status.rb → create_payments_request_line_items_item_variant_product_global_affiliate_status.rb} +1 -1
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan_product_visibility.rb → create_payments_request_line_items_item_variant_product_visibility.rb} +1 -1
- data/lib/whop_sdk/payments/types/{create_payments_request_line_items_item_plan_visibility.rb → create_payments_request_line_items_item_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/payments/types/create_payments_request_payment_method.rb +8 -6
- data/lib/whop_sdk/payments/types/create_payments_request_payment_method_card_present.rb +1 -1
- data/lib/whop_sdk/payments/types/create_payments_request_payment_method_type.rb +1 -0
- data/lib/whop_sdk/payments/types/create_payments_request_setup_future_usage.rb +13 -0
- data/lib/whop_sdk/payments/types/list_payments_request.rb +33 -1
- data/lib/whop_sdk/payments/types/list_payments_request_billing_reasons_item.rb +18 -0
- data/lib/whop_sdk/payments/types/list_payments_request_order.rb +1 -0
- data/lib/whop_sdk/payments/types/list_payments_request_payment_methods_item.rb +196 -0
- data/lib/whop_sdk/payments/types/list_payments_request_statuses_item.rb +19 -0
- data/lib/whop_sdk/payments/types/list_payments_request_substatuses_item.rb +40 -0
- data/lib/whop_sdk/payments/types/list_payments_request_tracking_states_item.rb +24 -0
- data/lib/whop_sdk/payments/types/list_payments_request_tracking_status.rb +24 -0
- data/lib/whop_sdk/payments/types/resume_payments_request.rb +2 -0
- data/lib/whop_sdk/payments/types/retrieve_status_payments_request.rb +2 -0
- data/lib/whop_sdk/payments/types/summary_payments_request.rb +49 -0
- data/lib/whop_sdk/payments/types/summary_payments_request_billing_reasons_item.rb +18 -0
- data/lib/whop_sdk/payments/types/summary_payments_request_groups_item.rb +14 -0
- data/lib/whop_sdk/payments/types/summary_payments_request_payment_methods_item.rb +196 -0
- data/lib/whop_sdk/payments/types/summary_payments_request_statuses_item.rb +19 -0
- data/lib/whop_sdk/payments/types/summary_payments_request_substatuses_item.rb +40 -0
- data/lib/whop_sdk/payments/types/summary_payments_request_tracking_states_item.rb +24 -0
- data/lib/whop_sdk/payments/types/summary_payments_response.rb +13 -0
- data/lib/whop_sdk/payments/types/summary_payments_response_groups.rb +14 -0
- data/lib/whop_sdk/payments/types/summary_payments_response_groups_substatus.rb +67 -0
- data/lib/whop_sdk/payments/types/update_return_url_payments_request.rb +2 -0
- data/lib/whop_sdk/payouts/client.rb +1 -4
- data/lib/whop_sdk/payouts/methods/client.rb +4 -1
- data/lib/whop_sdk/payouts/methods/types/create_methods_request_recipient.rb +2 -0
- data/lib/whop_sdk/payouts/methods/types/create_methods_request_recipient_address.rb +23 -0
- data/lib/whop_sdk/payouts/methods/types/update_methods_request.rb +2 -0
- data/lib/whop_sdk/payouts/methods/types/update_methods_request_address.rb +23 -0
- data/lib/whop_sdk/payouts/types/create_payouts_request.rb +2 -0
- data/lib/whop_sdk/payouts/types/create_quote_payouts_request.rb +5 -1
- data/lib/whop_sdk/plans/client.rb +2 -2
- data/lib/whop_sdk/plans/types/create_plans_request.rb +10 -2
- data/lib/whop_sdk/plans/types/list_plans_request.rb +1 -1
- data/lib/whop_sdk/plans/types/update_plans_request.rb +4 -0
- data/lib/whop_sdk/products/client.rb +5 -5
- data/lib/whop_sdk/products/types/list_products_request.rb +1 -1
- data/lib/whop_sdk/products/types/{list_products_request_plan_types_item.rb → list_products_request_billing_types_item.rb} +1 -1
- data/lib/whop_sdk/promo_codes/client.rb +3 -3
- data/lib/whop_sdk/promo_codes/types/create_promo_codes_request.rb +2 -2
- data/lib/whop_sdk/promo_codes/types/list_promo_codes_request.rb +1 -1
- data/lib/whop_sdk/resolution_center_cases/client.rb +1 -1
- data/lib/whop_sdk/setup_intents/client.rb +7 -2
- data/lib/whop_sdk/setup_intents/types/retrieve_status_setup_intents_request.rb +2 -0
- data/lib/whop_sdk/setup_intents/types/update_return_url_setup_intents_request.rb +2 -0
- data/lib/whop_sdk/shipments/client.rb +45 -0
- data/lib/whop_sdk/shipments/types/lookup_shipments_request.rb +17 -0
- data/lib/whop_sdk/social_accounts/client.rb +1 -1
- data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request.rb +2 -0
- data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_platform.rb +1 -0
- data/lib/whop_sdk/social_accounts/types/list_social_accounts_request_platform.rb +2 -0
- data/lib/whop_sdk/social_accounts/types/list_social_accounts_request_trust_level.rb +1 -0
- data/lib/whop_sdk/stats/client.rb +2 -0
- data/lib/whop_sdk/stats/reports/client.rb +2 -0
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request.rb +2 -0
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request_order.rb +1 -0
- data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item.rb +2 -0
- data/lib/whop_sdk/stats/time_series/client.rb +2 -0
- data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_request.rb +2 -0
- data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_request_snapshot_window.rb +2 -0
- data/lib/whop_sdk/stats/types/retrieve_stats_request.rb +2 -0
- data/lib/whop_sdk/stats/types/retrieve_stats_request_snapshot_window.rb +2 -0
- data/lib/whop_sdk/swaps/types/create_swaps_response.rb +2 -0
- data/lib/whop_sdk/swaps/types/list_swaps_response_data_item.rb +2 -0
- data/lib/whop_sdk/swaps/types/retrieve_swaps_response.rb +2 -0
- data/lib/whop_sdk/team_members/client.rb +6 -5
- data/lib/whop_sdk/trades/client.rb +5 -0
- data/lib/whop_sdk/trades/markets/client.rb +85 -0
- data/lib/whop_sdk/trades/markets/types/list_markets_request.rb +21 -0
- data/lib/whop_sdk/trades/markets/types/list_markets_request_instrument_type.rb +16 -0
- data/lib/whop_sdk/trades/markets/types/list_markets_response.rb +15 -0
- data/lib/whop_sdk/trades/markets/types/list_markets_response_page_info.rb +19 -0
- data/lib/whop_sdk/types/account.rb +2 -0
- data/lib/whop_sdk/types/account_balance_breakdown.rb +2 -0
- data/lib/whop_sdk/types/account_customer_tracking.rb +23 -0
- data/lib/whop_sdk/types/account_customer_tracking_button_text_color.rb +12 -0
- data/lib/whop_sdk/types/account_fees.rb +8 -0
- data/lib/whop_sdk/types/account_payment_controls_restricted_payment_methods_item.rb +1 -0
- data/lib/whop_sdk/types/account_preferences.rb +4 -0
- data/lib/whop_sdk/types/account_required_action_action.rb +0 -1
- data/lib/whop_sdk/types/ad_campaign_delivery_status.rb +1 -0
- data/lib/whop_sdk/types/ad_pixel_platform.rb +2 -0
- data/lib/whop_sdk/types/ad_stat.rb +21 -0
- data/lib/whop_sdk/types/api_key_api_version_date.rb +6 -0
- data/lib/whop_sdk/types/app.rb +4 -0
- data/lib/whop_sdk/types/app_installation.rb +23 -0
- data/lib/whop_sdk/types/app_summary.rb +15 -0
- data/lib/whop_sdk/types/card_brands.rb +4 -0
- data/lib/whop_sdk/types/checkout_configuration.rb +2 -2
- data/lib/whop_sdk/types/{checkout_configuration_plan.rb → checkout_configuration_variant.rb} +6 -6
- data/lib/whop_sdk/types/{checkout_configuration_plan_plan_type.rb → checkout_configuration_variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/types/{checkout_configuration_plan_release_method.rb → checkout_configuration_variant_release_method.rb} +1 -1
- data/lib/whop_sdk/types/{checkout_configuration_plan_three_ds_level.rb → checkout_configuration_variant_three_ds_level.rb} +1 -1
- data/lib/whop_sdk/types/{checkout_configuration_plan_visibility.rb → checkout_configuration_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/types/customer_tracking_preferences.rb +19 -0
- data/lib/whop_sdk/types/dispute.rb +2 -2
- data/lib/whop_sdk/types/dispute_alert.rb +2 -0
- data/lib/whop_sdk/types/dispute_alert_source.rb +16 -0
- data/lib/whop_sdk/types/domain.rb +4 -0
- data/lib/whop_sdk/types/domain_email.rb +9 -0
- data/lib/whop_sdk/types/domain_email_state.rb +14 -0
- data/lib/whop_sdk/types/domain_issue_capability.rb +2 -0
- data/lib/whop_sdk/types/domain_issue_code.rb +11 -0
- data/lib/whop_sdk/types/domain_list_item.rb +4 -0
- data/lib/whop_sdk/types/domain_registration.rb +4 -0
- data/lib/whop_sdk/types/domain_registration_method.rb +12 -0
- data/lib/whop_sdk/types/domain_registration_phase.rb +1 -0
- data/lib/whop_sdk/types/domain_transfer.rb +13 -0
- data/lib/whop_sdk/types/{variant_list_item_plan_type.rb → domain_transfer_destination.rb} +2 -3
- data/lib/whop_sdk/types/domain_transfer_state.rb +12 -0
- data/lib/whop_sdk/types/email_address.rb +23 -0
- data/lib/whop_sdk/types/export_resource.rb +1 -0
- data/lib/whop_sdk/types/external_account_parent_platform.rb +2 -0
- data/lib/whop_sdk/types/external_account_platform.rb +2 -0
- data/lib/whop_sdk/types/financing_provider.rb +21 -0
- data/lib/whop_sdk/types/financing_provider_action.rb +12 -0
- data/lib/whop_sdk/types/financing_provider_currency.rb +11 -0
- data/lib/whop_sdk/types/financing_provider_currency_currency.rb +100 -0
- data/lib/whop_sdk/types/financing_provider_details.rb +13 -0
- data/lib/whop_sdk/types/financing_provider_details_source_provider.rb +15 -0
- data/lib/whop_sdk/types/financing_provider_provider.rb +22 -0
- data/lib/whop_sdk/types/financing_provider_reason.rb +33 -0
- data/lib/whop_sdk/types/financing_provider_status.rb +15 -0
- data/lib/whop_sdk/types/invoice.rb +34 -22
- data/lib/whop_sdk/types/invoice_legacy.rb +55 -0
- data/lib/whop_sdk/types/invoice_legacy_company.rb +14 -0
- data/lib/whop_sdk/types/invoice_legacy_company_logo.rb +10 -0
- data/lib/whop_sdk/types/invoice_legacy_current_plan.rb +26 -0
- data/lib/whop_sdk/types/{invoice_line_items_item.rb → invoice_legacy_line_items_item.rb} +1 -1
- data/lib/whop_sdk/types/{invoice_mailing_address.rb → invoice_legacy_mailing_address.rb} +1 -1
- data/lib/whop_sdk/types/{invoice_member.rb → invoice_legacy_member.rb} +1 -1
- data/lib/whop_sdk/types/{invoice_payment.rb → invoice_legacy_payment.rb} +1 -1
- data/lib/whop_sdk/types/{invoice_product.rb → invoice_legacy_product.rb} +1 -1
- data/lib/whop_sdk/types/{invoice_user.rb → invoice_legacy_user.rb} +1 -1
- data/lib/whop_sdk/types/invoice_line_item.rb +25 -0
- data/lib/whop_sdk/types/invoice_object.rb +11 -0
- data/lib/whop_sdk/types/invoice_pdf.rb +11 -0
- data/lib/whop_sdk/types/invoice_status.rb +18 -0
- data/lib/whop_sdk/types/invoice_totals_status.rb +12 -0
- data/lib/whop_sdk/types/ledger_activity_line_type.rb +3 -0
- data/lib/whop_sdk/types/legacy_invoice.rb +55 -0
- data/lib/whop_sdk/types/legacy_invoice_company.rb +14 -0
- data/lib/whop_sdk/types/legacy_invoice_company_logo.rb +10 -0
- data/lib/whop_sdk/types/legacy_invoice_current_plan.rb +26 -0
- data/lib/whop_sdk/types/{invoice_list_item_line_items_item.rb → legacy_invoice_line_items_item.rb} +1 -1
- data/lib/whop_sdk/types/{invoice_list_item.rb → legacy_invoice_list_item.rb} +4 -4
- data/lib/whop_sdk/types/{invoice_list_item_current_plan.rb → legacy_invoice_list_item_current_plan.rb} +1 -1
- data/lib/whop_sdk/types/legacy_invoice_list_item_line_items_item.rb +18 -0
- data/lib/whop_sdk/types/{invoice_list_item_user.rb → legacy_invoice_list_item_user.rb} +1 -1
- data/lib/whop_sdk/types/legacy_invoice_mailing_address.rb +24 -0
- data/lib/whop_sdk/types/legacy_invoice_member.rb +11 -0
- data/lib/whop_sdk/types/legacy_invoice_payment.rb +11 -0
- data/lib/whop_sdk/types/legacy_invoice_product.rb +12 -0
- data/lib/whop_sdk/types/legacy_invoice_user.rb +16 -0
- data/lib/whop_sdk/types/livestream.rb +27 -0
- data/lib/whop_sdk/types/livestream_recording_status.rb +14 -0
- data/lib/whop_sdk/types/market.rb +17 -0
- data/lib/whop_sdk/types/market_instrument_type.rb +12 -0
- data/lib/whop_sdk/types/member.rb +2 -0
- data/lib/whop_sdk/types/membership.rb +2 -2
- data/lib/whop_sdk/types/membership_affiliate.rb +2 -0
- data/lib/whop_sdk/types/membership_affiliate_commission_source.rb +14 -0
- data/lib/whop_sdk/types/partner_referral_request.rb +2 -0
- data/lib/whop_sdk/types/passkey_authenticator_selection.rb +13 -0
- data/lib/whop_sdk/types/passkey_authenticator_selection_resident_key.rb +11 -0
- data/lib/whop_sdk/types/passkey_authenticator_selection_user_verification.rb +11 -0
- data/lib/whop_sdk/types/passkey_challenge.rb +13 -0
- data/lib/whop_sdk/types/passkey_creation_extensions.rb +9 -0
- data/lib/whop_sdk/types/passkey_creation_options.rb +25 -0
- data/lib/whop_sdk/types/passkey_creation_options_attestation.rb +11 -0
- data/lib/whop_sdk/types/passkey_credential_descriptor.rb +13 -0
- data/lib/whop_sdk/types/passkey_credential_descriptor_transports_item.rb +16 -0
- data/lib/whop_sdk/types/passkey_credential_descriptor_type.rb +11 -0
- data/lib/whop_sdk/types/passkey_credential_parameter.rb +11 -0
- data/lib/whop_sdk/types/passkey_credential_parameter_type.rb +11 -0
- data/lib/whop_sdk/types/{invoice_company.rb → passkey_relying_party.rb} +3 -2
- data/lib/whop_sdk/types/passkey_request_options.rb +17 -0
- data/lib/whop_sdk/types/passkey_request_options_user_verification.rb +11 -0
- data/lib/whop_sdk/types/passkey_user_entity.rb +13 -0
- data/lib/whop_sdk/types/payment.rb +13 -1
- data/lib/whop_sdk/types/payment_fee_origin.rb +1 -0
- data/lib/whop_sdk/types/payment_input.rb +4 -4
- data/lib/whop_sdk/types/{payment_input_plan.rb → payment_input_variant.rb} +9 -9
- data/lib/whop_sdk/types/{product_public_plan_plan_type.rb → payment_input_variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/types/{payment_input_plan_currency.rb → payment_input_variant_currency.rb} +1 -1
- data/lib/whop_sdk/types/{payment_input_plan_override_tax_type.rb → payment_input_variant_override_tax_type.rb} +1 -1
- data/lib/whop_sdk/types/{payment_input_plan_product.rb → payment_input_variant_product.rb} +3 -3
- data/lib/whop_sdk/types/{payment_input_plan_product_global_affiliate_status.rb → payment_input_variant_product_global_affiliate_status.rb} +1 -1
- data/lib/whop_sdk/types/{payment_input_plan_product_visibility.rb → payment_input_variant_product_visibility.rb} +1 -1
- data/lib/whop_sdk/types/{payment_input_plan_visibility.rb → payment_input_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/types/payment_quote_line_item.rb +2 -2
- data/lib/whop_sdk/types/payment_rule_condition_field.rb +7 -0
- data/lib/whop_sdk/types/payment_rule_field_field.rb +7 -0
- data/lib/whop_sdk/types/permission_action.rb +8 -0
- data/lib/whop_sdk/types/plan.rb +4 -2
- data/lib/whop_sdk/types/{plan_plan_type.rb → plan_billing_type.rb} +1 -1
- data/lib/whop_sdk/types/plan_list_item.rb +4 -2
- data/lib/whop_sdk/types/{plan_list_item_plan_type.rb → plan_list_item_billing_type.rb} +1 -1
- data/lib/whop_sdk/types/product.rb +1 -1
- data/lib/whop_sdk/types/product_list_item.rb +1 -1
- data/lib/whop_sdk/types/{product_public_plan.rb → product_public_variant.rb} +4 -4
- data/lib/whop_sdk/types/product_public_variant_billing_type.rb +12 -0
- data/lib/whop_sdk/types/{product_public_plan_visibility.rb → product_public_variant_visibility.rb} +1 -1
- data/lib/whop_sdk/types/promo_code.rb +2 -0
- data/lib/whop_sdk/types/promo_code_affiliate.rb +11 -0
- data/lib/whop_sdk/types/promo_code_affiliate_user.rb +15 -0
- data/lib/whop_sdk/types/promo_code_list_item.rb +2 -0
- data/lib/whop_sdk/types/receipt_line_item.rb +4 -4
- data/lib/whop_sdk/types/resolution_center_case.rb +2 -2
- data/lib/whop_sdk/types/shipment_lookup.rb +11 -0
- data/lib/whop_sdk/types/social_account_parent_platform.rb +2 -0
- data/lib/whop_sdk/types/social_account_platform.rb +2 -0
- data/lib/whop_sdk/types/specific_fee_origins.rb +1 -0
- data/lib/whop_sdk/types/variant.rb +4 -2
- data/lib/whop_sdk/types/{variant_plan_type.rb → variant_billing_type.rb} +1 -1
- data/lib/whop_sdk/types/variant_list_item.rb +4 -2
- data/lib/whop_sdk/types/{payment_input_plan_plan_type.rb → variant_list_item_billing_type.rb} +1 -1
- data/lib/whop_sdk/types/waitlist_entry.rb +9 -1
- data/lib/whop_sdk/types/waitlist_entry_product.rb +11 -0
- data/lib/whop_sdk/types/waitlist_entry_variant.rb +23 -0
- data/lib/whop_sdk/types/waitlist_entry_variant_billing_type.rb +12 -0
- data/lib/whop_sdk/types/webhook.rb +2 -0
- data/lib/whop_sdk/types/webhook_delivery.rb +2 -0
- data/lib/whop_sdk/types/webhook_delivery_status.rb +12 -0
- 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.rb +2 -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/passkeys/client.rb +13 -9
- data/lib/whop_sdk/users/passkeys/types/create_passkeys_request.rb +4 -0
- data/lib/whop_sdk/variants/client.rb +5 -5
- data/lib/whop_sdk/variants/types/create_variants_request.rb +10 -2
- data/lib/whop_sdk/variants/types/list_variants_request.rb +1 -1
- data/lib/whop_sdk/variants/types/update_variants_request.rb +4 -0
- data/lib/whop_sdk/verifications/client.rb +39 -19
- data/lib/whop_sdk/verifications/types/create_verifications_response.rb +6 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_owners_item.rb +4 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_owners_item_rejected_checks_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/create_verifications_response_requested_information_item.rb +2 -0
- data/lib/whop_sdk/verifications/types/list_verifications_request.rb +10 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response.rb +3 -1
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item.rb +6 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_owners_item.rb +4 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_owners_item_rejected_checks_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_data_item_requested_information_item.rb +2 -0
- data/lib/whop_sdk/verifications/types/list_verifications_response_page_info.rb +17 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response.rb +6 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_owners_item.rb +4 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_owners_item_rejected_checks_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/retrieve_verifications_response_requested_information_item.rb +2 -0
- data/lib/whop_sdk/verifications/types/update_verifications_request_body_business_address_owners_item.rb +4 -3
- data/lib/whop_sdk/verifications/types/update_verifications_response.rb +6 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_owners_item.rb +4 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_owners_item_rejected_checks_item.rb +15 -0
- data/lib/whop_sdk/verifications/types/update_verifications_response_requested_information_item.rb +2 -0
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk/waitlist_entries/client.rb +20 -12
- data/lib/whop_sdk/waitlist_entries/types/approve_all_waitlist_entries_request.rb +1 -1
- data/lib/whop_sdk/waitlist_entries/types/approve_all_waitlist_entries_response.rb +2 -2
- data/lib/whop_sdk/waitlist_entries/types/create_waitlist_entries_request.rb +3 -1
- data/lib/whop_sdk/waitlist_entries/types/list_waitlist_entries_request.rb +5 -1
- data/lib/whop_sdk/webhooks/client.rb +17 -2
- data/lib/whop_sdk/webhooks/types/create_webhooks_request.rb +2 -0
- data/lib/whop_sdk/webhooks/types/create_webhooks_request_events_item.rb +5 -0
- data/lib/whop_sdk/webhooks/types/list_deliveries_webhooks_request.rb +10 -0
- data/lib/whop_sdk/webhooks/types/list_deliveries_webhooks_request_events_item.rb +127 -0
- data/lib/whop_sdk/webhooks/types/list_deliveries_webhooks_request_status.rb +14 -0
- data/lib/whop_sdk/webhooks/types/update_webhooks_request.rb +2 -0
- data/lib/whop_sdk/webhooks/types/update_webhooks_request_events_item.rb +5 -0
- data/lib/whop_sdk.rb +334 -139
- data/reference.md +3742 -1077
- metadata +305 -110
- data/lib/whop_sdk/accounts/financing_applications/client.rb +0 -281
- data/lib/whop_sdk/accounts/financing_applications/types/list_financing_applications_request.rb +0 -31
- data/lib/whop_sdk/accounts/financing_applications/types/list_financing_applications_request_order.rb +0 -16
- data/lib/whop_sdk/accounts/financing_applications/types/list_financing_applications_request_status.rb +0 -19
- data/lib/whop_sdk/accounts/financing_applications/types/list_financing_applications_response.rb +0 -15
- data/lib/whop_sdk/accounts/financing_applications/types/retrieve_financing_applications_request.rb +0 -15
- data/lib/whop_sdk/accounts/financing_applications/types/submit_financing_applications_request.rb +0 -17
- data/lib/whop_sdk/accounts/financing_applications/types/submit_financing_applications_request_merchant_acceptance.rb +0 -15
- data/lib/whop_sdk/accounts/financing_applications/types/update_financing_applications_request.rb +0 -17
- data/lib/whop_sdk/accounts/financing_applications/types/update_financing_applications_request_answers_item.rb +0 -19
- data/lib/whop_sdk/accounts/financing_applications/types/update_financing_applications_request_answers_item_money.rb +0 -16
- data/lib/whop_sdk/invoices/types/create_invoices_request_product.rb +0 -44
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_id.rb +0 -44
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_id_billing_address.rb +0 -31
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_id_line_items_item.rb +0 -16
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_id_plan.rb +0 -44
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_id_plan_custom_fields_item.rb +0 -21
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_id_plan_payment_method_configuration.rb +0 -17
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_line_items_item.rb +0 -16
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_plan.rb +0 -44
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_plan_custom_fields_item.rb +0 -21
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_plan_payment_method_configuration.rb +0 -17
- data/lib/whop_sdk/invoices/types/create_invoices_request_product_product.rb +0 -14
- data/lib/whop_sdk/invoices/types/update_invoices_request_line_items_item.rb +0 -16
- data/lib/whop_sdk/invoices/types/update_invoices_request_plan.rb +0 -44
- data/lib/whop_sdk/invoices/types/update_invoices_request_plan_custom_fields_item.rb +0 -21
- data/lib/whop_sdk/invoices/types/update_invoices_request_plan_payment_method_configuration.rb +0 -17
- data/lib/whop_sdk/types/invoice_current_plan.rb +0 -16
- data/lib/whop_sdk/users/passkeys/types/challenge_passkeys_response.rb +0 -13
data/lib/whop_sdk/verifications/types/create_verifications_response_requested_information_item.rb
CHANGED
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class CreateVerificationsResponseRequestedInformationItem < Internal::Types::Model
|
|
7
7
|
field :action_url, -> { String }, optional: true, nullable: false
|
|
8
8
|
|
|
9
|
+
field :alternative_document_label, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :details_label, -> { String }, optional: true, nullable: false
|
|
10
12
|
|
|
11
13
|
field :details_required, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
@@ -8,6 +8,16 @@ module Whop_sdk
|
|
|
8
8
|
|
|
9
9
|
field :user_id, -> { String }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :include_subaccounts, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :first, -> { Integer }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :after, -> { String }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :last, -> { Integer }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :before, -> { String }, optional: true, nullable: false
|
|
20
|
+
|
|
11
21
|
field :order, -> { Whop_sdk::Verifications::Types::ListVerificationsRequestOrder }, optional: true, nullable: false
|
|
12
22
|
|
|
13
23
|
field :direction, -> { Whop_sdk::Verifications::Types::ListVerificationsRequestDirection }, optional: true, nullable: false
|
|
@@ -4,7 +4,9 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
class ListVerificationsResponse < Internal::Types::Model
|
|
7
|
-
field :data, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::ListVerificationsResponseDataItem] }, optional:
|
|
7
|
+
field :data, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::ListVerificationsResponseDataItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :page_info, -> { Whop_sdk::Verifications::Types::ListVerificationsResponsePageInfo }, optional: false, nullable: false
|
|
8
10
|
end
|
|
9
11
|
end
|
|
10
12
|
end
|
|
@@ -4,6 +4,8 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
class ListVerificationsResponseDataItem < Internal::Types::Model
|
|
7
|
+
field :account_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :address, -> { Whop_sdk::Verifications::Types::ListVerificationsResponseDataItemAddress }, optional: true, nullable: false
|
|
8
10
|
|
|
9
11
|
field :business_name, -> { String }, optional: true, nullable: false
|
|
@@ -22,6 +24,8 @@ module Whop_sdk
|
|
|
22
24
|
|
|
23
25
|
field :id, -> { String }, optional: true, nullable: false
|
|
24
26
|
|
|
27
|
+
field :incorporation_date, -> { String }, optional: true, nullable: false
|
|
28
|
+
|
|
25
29
|
field :kind, -> { Whop_sdk::Verifications::Types::ListVerificationsResponseDataItemKind }, optional: true, nullable: false
|
|
26
30
|
|
|
27
31
|
field :last_name, -> { String }, optional: true, nullable: false
|
|
@@ -30,6 +34,8 @@ module Whop_sdk
|
|
|
30
34
|
|
|
31
35
|
field :phone, -> { String }, optional: true, nullable: false
|
|
32
36
|
|
|
37
|
+
field :place_of_incorporation, -> { String }, optional: true, nullable: false
|
|
38
|
+
|
|
33
39
|
field :registration_number, -> { String }, optional: true, nullable: false
|
|
34
40
|
|
|
35
41
|
field :requested_information, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::ListVerificationsResponseDataItemRequestedInformationItem] }, optional: true, nullable: false
|
|
@@ -4,6 +4,8 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
class ListVerificationsResponseDataItemOwnersItem < Internal::Types::Model
|
|
7
|
+
field :date_of_birth, -> { String }, optional: false, nullable: true
|
|
8
|
+
|
|
7
9
|
field :first_name, -> { String }, optional: false, nullable: true
|
|
8
10
|
|
|
9
11
|
field :id, -> { String }, optional: false, nullable: false
|
|
@@ -12,6 +14,8 @@ module Whop_sdk
|
|
|
12
14
|
|
|
13
15
|
field :ownership_percentage, -> { Integer }, optional: false, nullable: true
|
|
14
16
|
|
|
17
|
+
field :rejected_checks, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::ListVerificationsResponseDataItemOwnersItemRejectedChecksItem] }, optional: false, nullable: false
|
|
18
|
+
|
|
15
19
|
field :required_documents, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::ListVerificationsResponseDataItemOwnersItemRequiredDocumentsItem] }, optional: false, nullable: false
|
|
16
20
|
|
|
17
21
|
field :roles, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::ListVerificationsResponseDataItemOwnersItemRolesItem] }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Verifications
|
|
5
|
+
module Types
|
|
6
|
+
module ListVerificationsResponseDataItemOwnersItemRejectedChecksItem
|
|
7
|
+
extend Whop_sdk::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
DETAILS = "details"
|
|
10
|
+
IDENTITY_DOCUMENT = "identity_document"
|
|
11
|
+
SELFIE = "selfie"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class ListVerificationsResponseDataItemRequestedInformationItem < Internal::Types::Model
|
|
7
7
|
field :action_url, -> { String }, optional: true, nullable: false
|
|
8
8
|
|
|
9
|
+
field :alternative_document_label, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :details_label, -> { String }, optional: true, nullable: false
|
|
10
12
|
|
|
11
13
|
field :details_required, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Verifications
|
|
5
|
+
module Types
|
|
6
|
+
class ListVerificationsResponsePageInfo < Internal::Types::Model
|
|
7
|
+
field :end_cursor, -> { String }, optional: false, nullable: true
|
|
8
|
+
|
|
9
|
+
field :has_next_page, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :has_previous_page, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :start_cursor, -> { String }, optional: false, nullable: true
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -4,6 +4,8 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
class RetrieveVerificationsResponse < Internal::Types::Model
|
|
7
|
+
field :account_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :address, -> { Whop_sdk::Verifications::Types::RetrieveVerificationsResponseAddress }, optional: true, nullable: false
|
|
8
10
|
|
|
9
11
|
field :business_name, -> { String }, optional: true, nullable: false
|
|
@@ -22,6 +24,8 @@ module Whop_sdk
|
|
|
22
24
|
|
|
23
25
|
field :id, -> { String }, optional: true, nullable: false
|
|
24
26
|
|
|
27
|
+
field :incorporation_date, -> { String }, optional: true, nullable: false
|
|
28
|
+
|
|
25
29
|
field :kind, -> { Whop_sdk::Verifications::Types::RetrieveVerificationsResponseKind }, optional: true, nullable: false
|
|
26
30
|
|
|
27
31
|
field :last_name, -> { String }, optional: true, nullable: false
|
|
@@ -30,6 +34,8 @@ module Whop_sdk
|
|
|
30
34
|
|
|
31
35
|
field :phone, -> { String }, optional: true, nullable: false
|
|
32
36
|
|
|
37
|
+
field :place_of_incorporation, -> { String }, optional: true, nullable: false
|
|
38
|
+
|
|
33
39
|
field :registration_number, -> { String }, optional: true, nullable: false
|
|
34
40
|
|
|
35
41
|
field :requested_information, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::RetrieveVerificationsResponseRequestedInformationItem] }, optional: true, nullable: false
|
|
@@ -4,6 +4,8 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
class RetrieveVerificationsResponseOwnersItem < Internal::Types::Model
|
|
7
|
+
field :date_of_birth, -> { String }, optional: false, nullable: true
|
|
8
|
+
|
|
7
9
|
field :first_name, -> { String }, optional: false, nullable: true
|
|
8
10
|
|
|
9
11
|
field :id, -> { String }, optional: false, nullable: false
|
|
@@ -12,6 +14,8 @@ module Whop_sdk
|
|
|
12
14
|
|
|
13
15
|
field :ownership_percentage, -> { Integer }, optional: false, nullable: true
|
|
14
16
|
|
|
17
|
+
field :rejected_checks, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::RetrieveVerificationsResponseOwnersItemRejectedChecksItem] }, optional: false, nullable: false
|
|
18
|
+
|
|
15
19
|
field :required_documents, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::RetrieveVerificationsResponseOwnersItemRequiredDocumentsItem] }, optional: false, nullable: false
|
|
16
20
|
|
|
17
21
|
field :roles, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::RetrieveVerificationsResponseOwnersItemRolesItem] }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Verifications
|
|
5
|
+
module Types
|
|
6
|
+
module RetrieveVerificationsResponseOwnersItemRejectedChecksItem
|
|
7
|
+
extend Whop_sdk::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
DETAILS = "details"
|
|
10
|
+
IDENTITY_DOCUMENT = "identity_document"
|
|
11
|
+
SELFIE = "selfie"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/whop_sdk/verifications/types/retrieve_verifications_response_requested_information_item.rb
CHANGED
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class RetrieveVerificationsResponseRequestedInformationItem < Internal::Types::Model
|
|
7
7
|
field :action_url, -> { String }, optional: true, nullable: false
|
|
8
8
|
|
|
9
|
+
field :alternative_document_label, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :details_label, -> { String }, optional: true, nullable: false
|
|
10
12
|
|
|
11
13
|
field :details_required, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
@@ -4,9 +4,10 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
# An owner to add, change, or remove. Send `id` to change an owner already on the verification: new `roles` or
|
|
7
|
-
# `ownership_percentage
|
|
8
|
-
# `
|
|
9
|
-
#
|
|
7
|
+
# `ownership_percentage`; corrected details such as `date_of_birth` or `first_name`, or `document_type` and
|
|
8
|
+
# `documents`, while the owner's verification is waiting on them (see `rejected_checks`). Send `id` with `remove`
|
|
9
|
+
# set to `true` to remove that owner. Without `id`, the entry adds an owner as it does on Create Verification.
|
|
10
|
+
# Owners left out are not changed.
|
|
10
11
|
class UpdateVerificationsRequestBodyBusinessAddressOwnersItem < Internal::Types::Model
|
|
11
12
|
field :address, -> { Whop_sdk::Verifications::Types::UpdateVerificationsRequestBodyBusinessAddressOwnersItemAddress }, optional: true, nullable: false
|
|
12
13
|
|
|
@@ -4,6 +4,8 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
class UpdateVerificationsResponse < Internal::Types::Model
|
|
7
|
+
field :account_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :address, -> { Whop_sdk::Verifications::Types::UpdateVerificationsResponseAddress }, optional: true, nullable: false
|
|
8
10
|
|
|
9
11
|
field :business_name, -> { String }, optional: true, nullable: false
|
|
@@ -22,6 +24,8 @@ module Whop_sdk
|
|
|
22
24
|
|
|
23
25
|
field :id, -> { String }, optional: true, nullable: false
|
|
24
26
|
|
|
27
|
+
field :incorporation_date, -> { String }, optional: true, nullable: false
|
|
28
|
+
|
|
25
29
|
field :kind, -> { Whop_sdk::Verifications::Types::UpdateVerificationsResponseKind }, optional: true, nullable: false
|
|
26
30
|
|
|
27
31
|
field :last_name, -> { String }, optional: true, nullable: false
|
|
@@ -30,6 +34,8 @@ module Whop_sdk
|
|
|
30
34
|
|
|
31
35
|
field :phone, -> { String }, optional: true, nullable: false
|
|
32
36
|
|
|
37
|
+
field :place_of_incorporation, -> { String }, optional: true, nullable: false
|
|
38
|
+
|
|
33
39
|
field :registration_number, -> { String }, optional: true, nullable: false
|
|
34
40
|
|
|
35
41
|
field :requested_information, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::UpdateVerificationsResponseRequestedInformationItem] }, optional: true, nullable: false
|
|
@@ -4,6 +4,8 @@ module Whop_sdk
|
|
|
4
4
|
module Verifications
|
|
5
5
|
module Types
|
|
6
6
|
class UpdateVerificationsResponseOwnersItem < Internal::Types::Model
|
|
7
|
+
field :date_of_birth, -> { String }, optional: false, nullable: true
|
|
8
|
+
|
|
7
9
|
field :first_name, -> { String }, optional: false, nullable: true
|
|
8
10
|
|
|
9
11
|
field :id, -> { String }, optional: false, nullable: false
|
|
@@ -12,6 +14,8 @@ module Whop_sdk
|
|
|
12
14
|
|
|
13
15
|
field :ownership_percentage, -> { Integer }, optional: false, nullable: true
|
|
14
16
|
|
|
17
|
+
field :rejected_checks, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::UpdateVerificationsResponseOwnersItemRejectedChecksItem] }, optional: false, nullable: false
|
|
18
|
+
|
|
15
19
|
field :required_documents, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::UpdateVerificationsResponseOwnersItemRequiredDocumentsItem] }, optional: false, nullable: false
|
|
16
20
|
|
|
17
21
|
field :roles, -> { Internal::Types::Array[Whop_sdk::Verifications::Types::UpdateVerificationsResponseOwnersItemRolesItem] }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Whop_sdk
|
|
4
|
+
module Verifications
|
|
5
|
+
module Types
|
|
6
|
+
module UpdateVerificationsResponseOwnersItemRejectedChecksItem
|
|
7
|
+
extend Whop_sdk::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
DETAILS = "details"
|
|
10
|
+
IDENTITY_DOCUMENT = "identity_document"
|
|
11
|
+
SELFIE = "selfie"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/whop_sdk/verifications/types/update_verifications_response_requested_information_item.rb
CHANGED
|
@@ -6,6 +6,8 @@ module Whop_sdk
|
|
|
6
6
|
class UpdateVerificationsResponseRequestedInformationItem < Internal::Types::Model
|
|
7
7
|
field :action_url, -> { String }, optional: true, nullable: false
|
|
8
8
|
|
|
9
|
+
field :alternative_document_label, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :details_label, -> { String }, optional: true, nullable: false
|
|
10
12
|
|
|
11
13
|
field :details_required, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
data/lib/whop_sdk/version.rb
CHANGED
|
@@ -14,9 +14,11 @@ module Whop_sdk
|
|
|
14
14
|
@environment = environment
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
# Lists the waitlist signups you can see. `waitlist_entry:read` returns
|
|
18
|
-
#
|
|
19
|
-
#
|
|
17
|
+
# Lists the waitlist signups you can see. `waitlist_entry:read` returns your own signups, and `plan:waitlist:read`
|
|
18
|
+
# returns signups to the seller accounts you are authorized on; with both, you get both sets. Signups submitted on
|
|
19
|
+
# behalf of an account are not in this list; pass `buyer_account_id` to list them instead, which needs
|
|
20
|
+
# `waitlist_entry:read` on that account. Account credentials see the signups submitted to their own account, and
|
|
21
|
+
# pass their own account as `buyer_account_id` to see the ones it submitted.
|
|
20
22
|
#
|
|
21
23
|
# @param request_options [Hash]
|
|
22
24
|
# @param params [Hash]
|
|
@@ -29,10 +31,12 @@ module Whop_sdk
|
|
|
29
31
|
# @option params [String, nil] :after
|
|
30
32
|
# @option params [Integer, nil] :last
|
|
31
33
|
# @option params [String, nil] :before
|
|
32
|
-
# @option params [String, nil] :
|
|
34
|
+
# @option params [String, nil] :variant_id
|
|
33
35
|
# @option params [String, nil] :account_id
|
|
34
36
|
# @option params [String, nil] :product_id
|
|
37
|
+
# @option params [String, nil] :buyer_account_id
|
|
35
38
|
# @option params [Whop_sdk::WaitlistEntries::Types::ListWaitlistEntriesRequestStatus, nil] :status
|
|
39
|
+
# @option params [String, nil] :query
|
|
36
40
|
# @option params [String, nil] :created_before
|
|
37
41
|
# @option params [String, nil] :created_after
|
|
38
42
|
# @option params [Whop_sdk::WaitlistEntries::Types::ListWaitlistEntriesRequestOrder, nil] :order
|
|
@@ -49,10 +53,12 @@ module Whop_sdk
|
|
|
49
53
|
query_params["after"] = params[:after] if params.key?(:after)
|
|
50
54
|
query_params["last"] = params[:last] if params.key?(:last)
|
|
51
55
|
query_params["before"] = params[:before] if params.key?(:before)
|
|
52
|
-
query_params["
|
|
56
|
+
query_params["variant_id"] = params[:variant_id] if params.key?(:variant_id)
|
|
53
57
|
query_params["account_id"] = params[:account_id] if params.key?(:account_id)
|
|
54
58
|
query_params["product_id"] = params[:product_id] if params.key?(:product_id)
|
|
59
|
+
query_params["buyer_account_id"] = params[:buyer_account_id] if params.key?(:buyer_account_id)
|
|
55
60
|
query_params["status"] = params[:status] if params.key?(:status)
|
|
61
|
+
query_params["query"] = params[:query] if params.key?(:query)
|
|
56
62
|
query_params["created_before"] = params[:created_before] if params.key?(:created_before)
|
|
57
63
|
query_params["created_after"] = params[:created_after] if params.key?(:created_after)
|
|
58
64
|
query_params["order"] = params[:order] if params.key?(:order)
|
|
@@ -87,9 +93,10 @@ module Whop_sdk
|
|
|
87
93
|
end
|
|
88
94
|
end
|
|
89
95
|
|
|
90
|
-
# Joins a free waitlist variant as the authenticated user
|
|
91
|
-
#
|
|
92
|
-
#
|
|
96
|
+
# Joins a free waitlist variant as the authenticated user, or on behalf of an account with `buyer_account_id`.
|
|
97
|
+
# Requires `waitlist_entry:create`, on that account when one is given. Joining again returns the existing pending
|
|
98
|
+
# signup, or the approved one while its membership is valid. Paid variants are rejected; joining collects no
|
|
99
|
+
# payment method and grants no membership.
|
|
93
100
|
#
|
|
94
101
|
# @param request_options [Hash]
|
|
95
102
|
# @param params [Whop_sdk::WaitlistEntries::Types::CreateWaitlistEntriesRequest]
|
|
@@ -100,7 +107,7 @@ module Whop_sdk
|
|
|
100
107
|
# @option request_options [Integer] :timeout_in_seconds
|
|
101
108
|
#
|
|
102
109
|
# @example
|
|
103
|
-
# client.waitlist_entries.create(
|
|
110
|
+
# client.waitlist_entries.create(variant_id: "plan_xxxxxxxxxxxxxx")
|
|
104
111
|
#
|
|
105
112
|
# @return [Whop_sdk::Types::WaitlistEntry]
|
|
106
113
|
def create(request_options: {}, **params)
|
|
@@ -166,8 +173,8 @@ module Whop_sdk
|
|
|
166
173
|
end
|
|
167
174
|
end
|
|
168
175
|
|
|
169
|
-
# Retrieves
|
|
170
|
-
# with `plan:waitlist:read`.
|
|
176
|
+
# Retrieves your own signup or one submitted on behalf of an account you hold `waitlist_entry:read` on, or one
|
|
177
|
+
# submitted to an account you can read, with `plan:waitlist:read`.
|
|
171
178
|
#
|
|
172
179
|
# @param request_options [Hash]
|
|
173
180
|
# @param params [Hash]
|
|
@@ -243,7 +250,8 @@ module Whop_sdk
|
|
|
243
250
|
end
|
|
244
251
|
end
|
|
245
252
|
|
|
246
|
-
# Withdraws
|
|
253
|
+
# Withdraws a pending signup: your own, or one submitted on behalf of an account you hold `waitlist_entry:cancel`
|
|
254
|
+
# on. Requires `waitlist_entry:cancel`, on that account for an account's signup. Does not cancel an approved
|
|
247
255
|
# membership.
|
|
248
256
|
#
|
|
249
257
|
# @param request_options [Hash]
|
|
@@ -6,7 +6,7 @@ module Whop_sdk
|
|
|
6
6
|
class ApproveAllWaitlistEntriesRequest < Internal::Types::Model
|
|
7
7
|
field :account_id, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
-
field :
|
|
9
|
+
field :variant_id, -> { String }, optional: true, nullable: false
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
end
|
|
@@ -6,9 +6,9 @@ module Whop_sdk
|
|
|
6
6
|
class ApproveAllWaitlistEntriesResponse < Internal::Types::Model
|
|
7
7
|
field :account_id, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
-
field :plan_id, -> { String }, optional: false, nullable: true
|
|
10
|
-
|
|
11
9
|
field :queued, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :variant_id, -> { String }, optional: false, nullable: true
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
14
|
end
|
|
@@ -4,11 +4,13 @@ module Whop_sdk
|
|
|
4
4
|
module WaitlistEntries
|
|
5
5
|
module Types
|
|
6
6
|
class CreateWaitlistEntriesRequest < Internal::Types::Model
|
|
7
|
+
field :buyer_account_id, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
7
9
|
field :custom_field_responses, -> { Internal::Types::Array[Whop_sdk::WaitlistEntries::Types::CreateWaitlistEntriesRequestCustomFieldResponsesItem] }, optional: true, nullable: false
|
|
8
10
|
|
|
9
11
|
field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
10
12
|
|
|
11
|
-
field :
|
|
13
|
+
field :variant_id, -> { String }, optional: false, nullable: false
|
|
12
14
|
end
|
|
13
15
|
end
|
|
14
16
|
end
|
|
@@ -12,14 +12,18 @@ module Whop_sdk
|
|
|
12
12
|
|
|
13
13
|
field :before, -> { String }, optional: true, nullable: false
|
|
14
14
|
|
|
15
|
-
field :
|
|
15
|
+
field :variant_id, -> { String }, optional: true, nullable: false
|
|
16
16
|
|
|
17
17
|
field :account_id, -> { String }, optional: true, nullable: false
|
|
18
18
|
|
|
19
19
|
field :product_id, -> { String }, optional: true, nullable: false
|
|
20
20
|
|
|
21
|
+
field :buyer_account_id, -> { String }, optional: true, nullable: false
|
|
22
|
+
|
|
21
23
|
field :status, -> { Whop_sdk::WaitlistEntries::Types::ListWaitlistEntriesRequestStatus }, optional: true, nullable: false
|
|
22
24
|
|
|
25
|
+
field :query, -> { String }, optional: true, nullable: false
|
|
26
|
+
|
|
23
27
|
field :created_before, -> { String }, optional: true, nullable: false
|
|
24
28
|
|
|
25
29
|
field :created_after, -> { String }, optional: true, nullable: false
|
|
@@ -232,7 +232,9 @@ module Whop_sdk
|
|
|
232
232
|
end
|
|
233
233
|
|
|
234
234
|
# Returns a paginated list of delivery attempts for a webhook, ordered by most recent first. Includes the request
|
|
235
|
-
# payload, response body, response code, and timing for each attempt.
|
|
235
|
+
# payload, response body, response code, and timing for each attempt. Filtered queries use a bounded read budget,
|
|
236
|
+
# so a page may be partial or empty. Continue with `page_info.end_cursor` while `page_info.has_next_page` is
|
|
237
|
+
# `true`.
|
|
236
238
|
#
|
|
237
239
|
# @param request_options [Hash]
|
|
238
240
|
# @param params [Hash]
|
|
@@ -244,9 +246,17 @@ module Whop_sdk
|
|
|
244
246
|
# @option params [String] :id
|
|
245
247
|
# @option params [Integer, nil] :first
|
|
246
248
|
# @option params [String, nil] :after
|
|
249
|
+
# @option params [String, nil] :sent_after
|
|
250
|
+
# @option params [String, nil] :sent_before
|
|
251
|
+
# @option params [Whop_sdk::Webhooks::Types::ListDeliveriesWebhooksRequestEventsItem, nil] :events
|
|
252
|
+
# @option params [Whop_sdk::Webhooks::Types::ListDeliveriesWebhooksRequestStatus, nil] :status
|
|
253
|
+
# @option params [String, nil] :resource_id
|
|
247
254
|
#
|
|
248
255
|
# @example
|
|
249
|
-
# client.webhooks.list_deliveries(
|
|
256
|
+
# client.webhooks.list_deliveries(
|
|
257
|
+
# id: "id",
|
|
258
|
+
# resource_id: "pay_xxxxxxxxxxxxx"
|
|
259
|
+
# )
|
|
250
260
|
#
|
|
251
261
|
# @return [Whop_sdk::Webhooks::Types::ListDeliveriesWebhooksResponse]
|
|
252
262
|
def list_deliveries(request_options: {}, **params)
|
|
@@ -254,6 +264,11 @@ module Whop_sdk
|
|
|
254
264
|
query_params = {}
|
|
255
265
|
query_params["first"] = params[:first] if params.key?(:first)
|
|
256
266
|
query_params["after"] = params[:after] if params.key?(:after)
|
|
267
|
+
query_params["sent_after"] = params[:sent_after] if params.key?(:sent_after)
|
|
268
|
+
query_params["sent_before"] = params[:sent_before] if params.key?(:sent_before)
|
|
269
|
+
query_params["events"] = params[:events] if params.key?(:events)
|
|
270
|
+
query_params["status"] = params[:status] if params.key?(:status)
|
|
271
|
+
query_params["resource_id"] = params[:resource_id] if params.key?(:resource_id)
|
|
257
272
|
|
|
258
273
|
Whop_sdk::Internal::CursorItemIterator.new(
|
|
259
274
|
cursor_field: :end_cursor,
|
|
@@ -52,6 +52,9 @@ module Whop_sdk
|
|
|
52
52
|
CARD_APPLICATION_APPROVED = "card_application.approved"
|
|
53
53
|
CARD_APPLICATION_DENIED = "card_application.denied"
|
|
54
54
|
COURSE_LESSON_INTERACTION_COMPLETED = "course_lesson_interaction.completed"
|
|
55
|
+
DOMAIN_CREATED = "domain.created"
|
|
56
|
+
DOMAIN_UPDATED = "domain.updated"
|
|
57
|
+
DOMAIN_DELETED = "domain.deleted"
|
|
55
58
|
PAYOUT_METHOD_CREATED = "payout_method.created"
|
|
56
59
|
VERIFICATION_SUCCEEDED = "verification.succeeded"
|
|
57
60
|
IDENTITY_PROFILE_APPROVED = "identity_profile.approved"
|
|
@@ -84,6 +87,8 @@ module Whop_sdk
|
|
|
84
87
|
AD_GROUP_UPDATED = "ad_group.updated"
|
|
85
88
|
AD_CREATED = "ad.created"
|
|
86
89
|
AD_UPDATED = "ad.updated"
|
|
90
|
+
APP_INSTALLATION_CREATED = "app_installation.created"
|
|
91
|
+
APP_INSTALLATION_DELETED = "app_installation.deleted"
|
|
87
92
|
CHAT_MESSAGE_CREATED = "chat.message.created"
|
|
88
93
|
CHAT_REACTION_CREATED = "chat.reaction.created"
|
|
89
94
|
PAYMENT_CREATED = "payment.created"
|
|
@@ -9,6 +9,16 @@ module Whop_sdk
|
|
|
9
9
|
field :first, -> { Integer }, optional: true, nullable: false
|
|
10
10
|
|
|
11
11
|
field :after, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :sent_after, -> { String }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :sent_before, -> { String }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :events, -> { Whop_sdk::Webhooks::Types::ListDeliveriesWebhooksRequestEventsItem }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :status, -> { Whop_sdk::Webhooks::Types::ListDeliveriesWebhooksRequestStatus }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :resource_id, -> { String }, optional: true, nullable: false
|
|
12
22
|
end
|
|
13
23
|
end
|
|
14
24
|
end
|