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.
Files changed (846) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +5 -4
  3. data/.fern/replay.lock +1447 -1
  4. data/.fernignore +5 -3
  5. data/lib/whop_sdk/accounts/client.rb +13 -11
  6. data/lib/whop_sdk/accounts/fees/client.rb +2 -2
  7. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups.rb +3 -2
  8. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_card_spend.rb +1 -1
  9. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_crypto_swaps.rb +1 -1
  10. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_deposits_value.rb +1 -1
  11. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_payment_methods_value.rb +17 -0
  12. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_payments.rb +1 -1
  13. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_payouts_value.rb +1 -1
  14. data/lib/whop_sdk/accounts/fees/types/update_fees_request_child_markups_transfers.rb +1 -1
  15. data/lib/whop_sdk/accounts/fees/types/update_fees_request_covered_payout_fees.rb +2 -2
  16. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups.rb +3 -1
  17. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_card_spend.rb +1 -1
  18. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_crypto_swaps.rb +1 -1
  19. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_deposits_value.rb +1 -1
  20. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_payment_methods_value.rb +17 -0
  21. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_payments.rb +1 -1
  22. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_payouts_value.rb +1 -1
  23. data/lib/whop_sdk/accounts/fees/types/update_fees_request_markups_transfers.rb +1 -1
  24. data/lib/whop_sdk/accounts/preferences/client.rb +12 -13
  25. data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response.rb +13 -3
  26. data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_economic_intelligence_offers_item_key.rb +1 -0
  27. data/lib/whop_sdk/accounts/preferences/types/update_preferences_request.rb +13 -3
  28. data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_customer_tracking.rb +2 -2
  29. data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_economic_intelligence_duration_key.rb +1 -0
  30. data/lib/whop_sdk/accounts/preferences/types/update_preferences_response.rb +13 -3
  31. data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_economic_intelligence_offers_item_key.rb +1 -0
  32. data/lib/whop_sdk/accounts/types/create_accounts_request.rb +4 -0
  33. data/lib/whop_sdk/accounts/types/list_accounts_request.rb +2 -0
  34. data/lib/whop_sdk/accounts/types/update_accounts_request.rb +2 -0
  35. data/lib/whop_sdk/ad_campaigns/client.rb +45 -9
  36. 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
  37. data/lib/whop_sdk/ad_campaigns/types/create_ad_campaigns_request.rb +0 -4
  38. data/lib/whop_sdk/ad_campaigns/types/create_ad_campaigns_request_objective.rb +0 -1
  39. data/lib/whop_sdk/ad_campaigns/types/duplicate_ad_campaigns_request.rb +0 -2
  40. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data.rb +7 -7
  41. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_delivery_status.rb +1 -0
  42. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_status.rb +0 -6
  43. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data.rb +7 -7
  44. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_delivery_status.rb +1 -0
  45. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_status.rb +0 -6
  46. data/lib/whop_sdk/ad_campaigns/types/update_ad_campaigns_request.rb +0 -4
  47. data/lib/whop_sdk/ad_groups/client.rb +3 -112
  48. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request.rb +0 -18
  49. data/lib/whop_sdk/ad_groups/types/duplicate_ad_groups_request.rb +0 -2
  50. data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data.rb +0 -18
  51. data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_delivery_status.rb +1 -0
  52. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request.rb +0 -16
  53. data/lib/whop_sdk/ad_pixels/types/create_ad_pixels_request_platform.rb +1 -0
  54. data/lib/whop_sdk/ads/client.rb +51 -23
  55. data/lib/whop_sdk/ads/types/create_ads_request.rb +0 -20
  56. data/lib/whop_sdk/ads/types/create_ads_request_creatives_item.rb +0 -2
  57. data/lib/whop_sdk/ads/types/create_ads_request_descriptions_item.rb +0 -2
  58. data/lib/whop_sdk/ads/types/create_ads_request_headlines_item.rb +0 -2
  59. data/lib/whop_sdk/ads/types/create_ads_request_primary_texts_item.rb +0 -2
  60. data/lib/whop_sdk/ads/types/duplicate_ads_request.rb +0 -2
  61. data/lib/whop_sdk/ads/types/post_ad_updated_payload_data.rb +2 -24
  62. data/lib/whop_sdk/ads/types/report_issues_ads_request.rb +15 -0
  63. data/lib/whop_sdk/ads/types/report_issues_ads_request_issues_item.rb +13 -0
  64. data/lib/whop_sdk/ads/types/report_issues_ads_request_issues_item_policy.rb +21 -0
  65. data/lib/whop_sdk/ads/types/report_issues_ads_request_issues_item_reason.rb +17 -0
  66. data/lib/whop_sdk/{ad_groups/types/search_targeting_options_ad_groups_response.rb → ads/types/report_issues_ads_response.rb} +3 -3
  67. data/lib/whop_sdk/ads/types/report_stats_ads_request.rb +0 -2
  68. data/lib/whop_sdk/ads/types/report_stats_ads_request_spend.rb +2 -1
  69. data/lib/whop_sdk/ads/types/update_ads_request.rb +0 -20
  70. data/lib/whop_sdk/ads/types/update_ads_request_creatives_item.rb +0 -2
  71. data/lib/whop_sdk/ads/types/update_ads_request_descriptions_item.rb +0 -2
  72. data/lib/whop_sdk/ads/types/update_ads_request_headlines_item.rb +0 -2
  73. data/lib/whop_sdk/ads/types/update_ads_request_primary_texts_item.rb +0 -2
  74. data/lib/whop_sdk/ai_chats/client.rb +8 -0
  75. data/lib/whop_sdk/ai_chats/types/list_ai_chats_request.rb +2 -0
  76. data/lib/whop_sdk/api_keys/client.rb +6 -4
  77. data/lib/whop_sdk/api_keys/types/create_api_keys_request_api_version_date.rb +25 -0
  78. data/lib/whop_sdk/api_keys/types/create_api_keys_request_resource_type.rb +1 -0
  79. data/lib/whop_sdk/api_keys/types/list_api_keys_request_resource_type.rb +1 -0
  80. data/lib/whop_sdk/api_keys/types/update_api_keys_request_api_version_date.rb +25 -0
  81. data/lib/whop_sdk/apps/categories/client.rb +80 -0
  82. data/lib/whop_sdk/apps/categories/types/list_categories_request.rb +21 -0
  83. 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
  84. data/lib/whop_sdk/apps/categories/types/list_categories_response.rb +15 -0
  85. 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
  86. data/lib/whop_sdk/apps/client.rb +18 -4
  87. data/lib/whop_sdk/apps/types/list_apps_request.rb +10 -0
  88. data/lib/whop_sdk/apps/types/list_apps_response_page_info.rb +4 -0
  89. data/lib/whop_sdk/apps/types/update_apps_request.rb +2 -0
  90. data/lib/whop_sdk/audiences/client.rb +4 -13
  91. data/lib/whop_sdk/audiences/types/create_audiences_request.rb +0 -2
  92. data/lib/whop_sdk/audiences/types/create_audiences_request_source_type.rb +0 -1
  93. data/lib/whop_sdk/automation_enrollments/client.rb +162 -0
  94. 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
  95. data/lib/whop_sdk/automation_enrollments/types/list_automation_enrollments_request.rb +31 -0
  96. 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
  97. 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
  98. data/lib/whop_sdk/automation_enrollments/types/list_automation_enrollments_request_status.rb +15 -0
  99. data/lib/whop_sdk/automation_enrollments/types/list_automation_enrollments_response.rb +13 -0
  100. 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
  101. 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
  102. data/lib/whop_sdk/automation_steps/client.rb +297 -0
  103. data/lib/whop_sdk/automation_steps/types/create_automation_steps_request.rb +19 -0
  104. data/lib/whop_sdk/automation_steps/types/create_automation_steps_request_action_type.rb +15 -0
  105. data/lib/whop_sdk/automation_steps/types/delete_automation_steps_request.rb +11 -0
  106. data/lib/whop_sdk/automation_steps/types/list_automation_steps_request.rb +27 -0
  107. data/lib/whop_sdk/automation_steps/types/list_automation_steps_request_direction.rb +14 -0
  108. data/lib/whop_sdk/automation_steps/types/list_automation_steps_request_order.rb +13 -0
  109. data/lib/whop_sdk/automation_steps/types/list_automation_steps_response.rb +13 -0
  110. 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
  111. data/lib/whop_sdk/automation_steps/types/preview_automation_steps_request.rb +15 -0
  112. data/lib/whop_sdk/automation_steps/types/retrieve_automation_steps_request.rb +11 -0
  113. data/lib/whop_sdk/automation_steps/types/update_automation_steps_request.rb +17 -0
  114. data/lib/whop_sdk/automation_steps/types/update_automation_steps_request_action_type.rb +15 -0
  115. data/lib/whop_sdk/{ad_conversion_value_rules → automations}/client.rb +69 -66
  116. data/lib/whop_sdk/automations/types/create_automations_request.rb +15 -0
  117. data/lib/whop_sdk/automations/types/create_automations_request_trigger_event.rb +25 -0
  118. data/lib/whop_sdk/automations/types/delete_automations_request.rb +11 -0
  119. data/lib/whop_sdk/automations/types/list_automations_request.rb +27 -0
  120. data/lib/whop_sdk/automations/types/list_automations_request_direction.rb +14 -0
  121. data/lib/whop_sdk/{audiences/types/create_audiences_request_engagement_platform.rb → automations/types/list_automations_request_order.rb} +3 -3
  122. 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
  123. data/lib/whop_sdk/automations/types/list_automations_request_trigger_event.rb +25 -0
  124. data/lib/whop_sdk/automations/types/list_automations_response.rb +13 -0
  125. data/lib/whop_sdk/automations/types/list_automations_response_page_info.rb +17 -0
  126. data/lib/whop_sdk/automations/types/publish_automations_request.rb +11 -0
  127. data/lib/whop_sdk/automations/types/retrieve_automations_request.rb +11 -0
  128. data/lib/whop_sdk/automations/types/trigger_automations_request.rb +13 -0
  129. data/lib/whop_sdk/automations/types/trigger_automations_request_members.rb +17 -0
  130. data/lib/whop_sdk/automations/types/update_automations_request.rb +19 -0
  131. 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
  132. data/lib/whop_sdk/automations/types/update_automations_request_trigger_event.rb +25 -0
  133. data/lib/whop_sdk/cards/types/create_cards_response.rb +4 -0
  134. data/lib/whop_sdk/cards/types/create_cards_response_digital_wallets_item.rb +14 -0
  135. data/lib/whop_sdk/cards/types/list_cards_response_data_item.rb +4 -0
  136. data/lib/whop_sdk/cards/types/list_cards_response_data_item_digital_wallets_item.rb +14 -0
  137. data/lib/whop_sdk/cards/types/post_card_canceled_payload_data.rb +4 -0
  138. data/lib/whop_sdk/cards/types/post_card_canceled_payload_data_digital_wallets_item.rb +14 -0
  139. data/lib/whop_sdk/cards/types/post_card_created_payload_data.rb +4 -0
  140. data/lib/whop_sdk/cards/types/post_card_created_payload_data_digital_wallets_item.rb +14 -0
  141. data/lib/whop_sdk/cards/types/post_card_frozen_payload_data.rb +4 -0
  142. data/lib/whop_sdk/cards/types/post_card_frozen_payload_data_digital_wallets_item.rb +14 -0
  143. data/lib/whop_sdk/cards/types/post_card_updated_payload_data.rb +4 -0
  144. data/lib/whop_sdk/cards/types/post_card_updated_payload_data_digital_wallets_item.rb +14 -0
  145. data/lib/whop_sdk/cards/types/retrieve_cards_response.rb +4 -0
  146. data/lib/whop_sdk/cards/types/retrieve_cards_response_digital_wallets_item.rb +14 -0
  147. data/lib/whop_sdk/cards/types/update_cards_response.rb +4 -0
  148. data/lib/whop_sdk/cards/types/update_cards_response_digital_wallets_item.rb +14 -0
  149. data/lib/whop_sdk/cashback_rules/client.rb +9 -9
  150. data/lib/whop_sdk/{leads → channel_members}/client.rb +74 -66
  151. data/lib/whop_sdk/channel_members/types/create_channel_members_request.rb +13 -0
  152. data/lib/whop_sdk/channel_members/types/delete_channel_members_request.rb +11 -0
  153. data/lib/whop_sdk/{leads/types/list_leads_request.rb → channel_members/types/list_channel_members_request.rb} +7 -11
  154. data/lib/whop_sdk/channel_members/types/list_channel_members_response.rb +13 -0
  155. data/lib/whop_sdk/channel_members/types/list_channel_members_response_page_info.rb +17 -0
  156. data/lib/whop_sdk/channel_members/types/retrieve_channel_members_request.rb +11 -0
  157. data/lib/whop_sdk/channel_members/types/update_channel_members_request.rb +13 -0
  158. data/lib/whop_sdk/channel_members/types/update_channel_members_request_notification_preference.rb +15 -0
  159. data/lib/whop_sdk/channels/client.rb +600 -0
  160. data/lib/whop_sdk/channels/types/accept_channels_request.rb +11 -0
  161. data/lib/whop_sdk/channels/types/create_channels_request.rb +27 -0
  162. data/lib/whop_sdk/channels/types/create_channels_request_icon.rb +14 -0
  163. data/lib/whop_sdk/channels/types/create_channels_request_kind.rb +15 -0
  164. data/lib/whop_sdk/channels/types/delete_channels_request.rb +11 -0
  165. data/lib/whop_sdk/channels/types/hide_channels_request.rb +11 -0
  166. data/lib/whop_sdk/channels/types/list_channels_request.rb +55 -0
  167. data/lib/whop_sdk/channels/types/list_channels_request_direction.rb +14 -0
  168. data/lib/whop_sdk/channels/types/list_channels_request_kind_item.rb +15 -0
  169. data/lib/whop_sdk/channels/types/list_channels_request_order.rb +15 -0
  170. data/lib/whop_sdk/channels/types/list_channels_request_status.rb +14 -0
  171. data/lib/whop_sdk/channels/types/list_channels_request_support_role.rb +14 -0
  172. data/lib/whop_sdk/channels/types/list_channels_response.rb +13 -0
  173. data/lib/whop_sdk/channels/types/list_channels_response_page_info.rb +21 -0
  174. data/lib/whop_sdk/channels/types/mark_read_channels_request.rb +15 -0
  175. data/lib/whop_sdk/channels/types/mark_unread_channels_request.rb +11 -0
  176. data/lib/whop_sdk/channels/types/pin_channels_request.rb +13 -0
  177. data/lib/whop_sdk/channels/types/reopen_channels_request.rb +11 -0
  178. data/lib/whop_sdk/channels/types/resolve_channels_request.rb +11 -0
  179. data/lib/whop_sdk/channels/types/retrieve_channels_request.rb +11 -0
  180. data/lib/whop_sdk/channels/types/unpin_channels_request.rb +11 -0
  181. data/lib/whop_sdk/channels/types/update_channels_request.rb +19 -0
  182. data/lib/whop_sdk/channels/types/update_channels_request_icon.rb +14 -0
  183. data/lib/whop_sdk/channels/types/update_channels_request_moderation.rb +23 -0
  184. data/lib/whop_sdk/channels/types/update_channels_request_moderation_who_can_post.rb +14 -0
  185. data/lib/whop_sdk/channels/types/update_channels_request_moderation_who_can_react.rb +14 -0
  186. data/lib/whop_sdk/checkout_configurations/types/create_checkout_configurations_request_variant.rb +2 -0
  187. data/lib/whop_sdk/client.rb +41 -16
  188. data/lib/whop_sdk/deposits/client.rb +6 -5
  189. data/lib/whop_sdk/disputes/client.rb +10 -5
  190. data/lib/whop_sdk/disputes/types/list_disputes_request.rb +1 -1
  191. data/lib/whop_sdk/disputes/types/list_disputes_request_status_item.rb +1 -0
  192. data/lib/whop_sdk/disputes/types/summary_disputes_request.rb +1 -1
  193. data/lib/whop_sdk/disputes/types/summary_disputes_request_status_item.rb +1 -0
  194. data/lib/whop_sdk/disputes/types/summary_disputes_response_groups_status.rb +2 -0
  195. data/lib/whop_sdk/domains/client.rb +5 -2
  196. data/lib/whop_sdk/domains/types/create_domains_request.rb +2 -0
  197. data/lib/whop_sdk/domains/types/create_domains_request_email.rb +3 -3
  198. data/lib/whop_sdk/domains/types/create_domains_request_subdomain.rb +15 -0
  199. data/lib/whop_sdk/domains/types/list_domains_request.rb +2 -0
  200. data/lib/whop_sdk/domains/types/list_domains_request_subdomain.rb +17 -0
  201. data/lib/whop_sdk/domains/types/update_domains_request.rb +2 -0
  202. data/lib/whop_sdk/domains/types/update_domains_request_email.rb +3 -3
  203. data/lib/whop_sdk/domains/types/update_domains_request_subdomain.rb +15 -0
  204. data/lib/whop_sdk/economic_intelligence/client.rb +10 -11
  205. data/lib/whop_sdk/events/types/create_events_request.rb +2 -2
  206. data/lib/whop_sdk/events/types/post_events_created_payload.rb +25 -0
  207. data/lib/whop_sdk/{ad_campaigns/types/create_ad_campaigns_request_platform.rb → events/types/post_events_created_payload_api_version.rb} +3 -3
  208. data/lib/whop_sdk/events/types/post_events_created_payload_data.rb +13 -0
  209. data/lib/whop_sdk/events/types/post_events_created_payload_data_events_item.rb +35 -0
  210. data/lib/whop_sdk/events/types/post_events_created_payload_data_events_item_context.rb +50 -0
  211. data/lib/whop_sdk/events/types/post_events_created_payload_data_events_item_user.rb +22 -0
  212. 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
  213. data/lib/whop_sdk/experiments/client.rb +6 -2
  214. data/lib/whop_sdk/experiments/types/create_experiments_request.rb +2 -0
  215. data/lib/whop_sdk/experiments/types/create_experiments_request_targeting_rules_item.rb +2 -0
  216. data/lib/whop_sdk/experiments/types/update_experiments_request_targeting_rules_item.rb +2 -0
  217. data/lib/whop_sdk/external_accounts/client.rb +7 -22
  218. data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request.rb +0 -2
  219. data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request_platform.rb +0 -2
  220. data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body.rb +21 -0
  221. data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_aimerce.rb +15 -0
  222. data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_facebook.rb +12 -0
  223. data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_klaviyo.rb +14 -0
  224. data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_body_tiktok.rb +14 -0
  225. data/lib/whop_sdk/external_accounts/types/list_external_accounts_request_platform.rb +1 -0
  226. data/lib/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.rb +3 -1
  227. data/lib/whop_sdk/financial_reports/client.rb +0 -4
  228. data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_request.rb +0 -4
  229. data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.rb +3 -1
  230. data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_response_rows_item_grouping.rb +3 -1
  231. data/lib/whop_sdk/financial_reports/types/retrieve_financial_reports_response_rows_item_line_category.rb +28 -0
  232. data/lib/whop_sdk/financing_applications/client.rb +1 -1
  233. data/lib/whop_sdk/helpers/oidc.rb +118 -0
  234. data/lib/whop_sdk/internal/http/raw_client.rb +1 -1
  235. data/lib/whop_sdk/invoices/client.rb +119 -16
  236. data/lib/whop_sdk/{external_accounts/posts → invoices/sends}/client.rb +15 -14
  237. data/lib/whop_sdk/{external_accounts/posts/types/list_posts_request.rb → invoices/sends/types/list_sends_request.rb} +7 -7
  238. data/lib/whop_sdk/invoices/sends/types/list_sends_response.rb +15 -0
  239. 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
  240. data/lib/whop_sdk/invoices/types/charge_invoices_request.rb +13 -0
  241. data/lib/whop_sdk/invoices/types/create_invoices_request.rb +4 -0
  242. data/lib/whop_sdk/invoices/types/create_invoices_request_items_item_variant.rb +2 -0
  243. data/lib/whop_sdk/invoices/types/create_invoices_request_payment_method_configuration.rb +18 -0
  244. data/lib/whop_sdk/invoices/types/delete_invoices_request.rb +11 -0
  245. data/lib/whop_sdk/{social_accounts/types/remove_partner_social_accounts_response.rb → invoices/types/delete_invoices_response.rb} +2 -2
  246. data/lib/whop_sdk/invoices/types/generate_pdf_invoices_request.rb +2 -0
  247. data/lib/whop_sdk/invoices/types/issue_invoices_request.rb +2 -0
  248. data/lib/whop_sdk/invoices/types/issue_invoices_request_collection_method.rb +14 -0
  249. data/lib/whop_sdk/invoices/types/list_invoices_request.rb +2 -0
  250. data/lib/whop_sdk/invoices/types/list_invoices_response_page_info.rb +4 -0
  251. data/lib/whop_sdk/invoices/types/send_invoices_request.rb +2 -0
  252. data/lib/whop_sdk/invoices/types/send_invoices_request_collection_method.rb +14 -0
  253. data/lib/whop_sdk/invoices/types/update_invoices_request.rb +4 -0
  254. data/lib/whop_sdk/invoices/types/update_invoices_request_items_item_variant.rb +2 -0
  255. data/lib/whop_sdk/invoices/types/update_invoices_request_payment_method_configuration.rb +18 -0
  256. data/lib/whop_sdk/members/client.rb +126 -0
  257. data/lib/whop_sdk/members/notes/client.rb +2 -0
  258. data/lib/whop_sdk/members/notes/types/list_notes_request.rb +2 -0
  259. data/lib/whop_sdk/members/notes/types/list_notes_response_page_info.rb +4 -0
  260. data/lib/whop_sdk/members/types/create_members_request.rb +15 -0
  261. data/lib/whop_sdk/members/types/list_members_request.rb +2 -0
  262. data/lib/whop_sdk/members/types/list_members_request_order.rb +1 -0
  263. data/lib/whop_sdk/members/types/list_members_response_page_info.rb +4 -0
  264. data/lib/whop_sdk/members/types/unsubscribe_members_request.rb +13 -0
  265. data/lib/whop_sdk/members/types/update_members_request.rb +17 -0
  266. data/lib/whop_sdk/{ads/types/report_stats_ads_request_clicks.rb → members/types/update_members_request_metadata_value.rb} +5 -4
  267. data/lib/whop_sdk/members/types/update_members_request_unsubscribe_status.rb +13 -0
  268. data/lib/whop_sdk/memberships/client.rb +4 -1
  269. data/lib/whop_sdk/memberships/types/list_memberships_request.rb +2 -0
  270. data/lib/whop_sdk/memberships/types/list_memberships_response_page_info.rb +4 -0
  271. data/lib/whop_sdk/memberships/types/update_memberships_request.rb +4 -0
  272. data/lib/whop_sdk/messages/client.rb +329 -64
  273. data/lib/whop_sdk/messages/types/create_messages_request.rb +6 -0
  274. data/lib/whop_sdk/messages/types/create_messages_request_attachments_item.rb +0 -1
  275. data/lib/whop_sdk/messages/types/create_messages_request_gifs_item.rb +23 -0
  276. data/lib/whop_sdk/messages/types/create_messages_request_link_previews_item.rb +11 -0
  277. data/lib/whop_sdk/messages/types/create_messages_request_poll.rb +0 -1
  278. data/lib/whop_sdk/messages/types/create_messages_request_poll_options_item.rb +0 -1
  279. data/lib/whop_sdk/messages/types/list_messages_request.rb +27 -5
  280. data/lib/whop_sdk/messages/types/list_messages_request_direction.rb +14 -0
  281. data/lib/whop_sdk/messages/types/list_messages_request_order.rb +14 -0
  282. data/lib/whop_sdk/messages/types/list_messages_response.rb +2 -3
  283. data/lib/whop_sdk/messages/types/list_messages_response_page_info.rb +17 -0
  284. data/lib/whop_sdk/{social_accounts/types/posts_social_accounts_request.rb → messages/types/list_reactions_messages_request.rb} +8 -6
  285. data/lib/whop_sdk/messages/types/list_reactions_messages_response.rb +13 -0
  286. data/lib/whop_sdk/messages/types/list_reactions_messages_response_page_info.rb +17 -0
  287. data/lib/whop_sdk/messages/types/pin_messages_request.rb +11 -0
  288. data/lib/whop_sdk/{ad_conversion_value_rules/types/retrieve_ad_conversion_value_rules_request.rb → messages/types/react_messages_request.rb} +4 -2
  289. data/lib/whop_sdk/messages/types/unpin_messages_request.rb +11 -0
  290. data/lib/whop_sdk/messages/types/unreact_messages_request.rb +13 -0
  291. data/lib/whop_sdk/messages/types/update_messages_request.rb +3 -1
  292. data/lib/whop_sdk/messages/types/update_messages_request_attachments_item.rb +0 -1
  293. data/lib/whop_sdk/messages/types/update_messages_request_gifs_item.rb +23 -0
  294. data/lib/whop_sdk/messages/types/update_messages_request_link_previews_item.rb +11 -0
  295. data/lib/whop_sdk/messages/types/vote_messages_request.rb +13 -0
  296. data/lib/whop_sdk/partner_referral_requests/client.rb +8 -0
  297. data/lib/whop_sdk/partner_referral_requests/types/list_partner_referral_requests_request.rb +8 -0
  298. data/lib/whop_sdk/partners/businesses/client.rb +4 -0
  299. data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_request_income_source_item.rb +1 -0
  300. data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item.rb +2 -0
  301. data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_income_source.rb +1 -0
  302. data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource.rb +6 -3
  303. data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource_created_at.rb +21 -0
  304. data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource_created_at_income_source.rb +26 -0
  305. data/lib/whop_sdk/partners/businesses/earnings/types/list_earnings_response_data_item_resource_created_at_object.rb +17 -0
  306. data/lib/whop_sdk/partners/businesses/types/list_businesses_request.rb +4 -0
  307. data/lib/whop_sdk/partners/businesses/types/list_businesses_response_data_item_payout_percentages.rb +2 -1
  308. data/lib/whop_sdk/partners/businesses/types/list_businesses_response_page_info.rb +4 -0
  309. data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response.rb +2 -0
  310. data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_my_payout_percentages.rb +26 -0
  311. data/lib/whop_sdk/partners/businesses/types/resend_invite_businesses_response_payout_percentages.rb +2 -1
  312. data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response.rb +8 -0
  313. data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response_my_payout_percentages.rb +26 -0
  314. data/lib/whop_sdk/partners/businesses/types/retrieve_businesses_response_payout_percentages.rb +2 -1
  315. data/lib/whop_sdk/partners/client.rb +7 -1
  316. data/lib/whop_sdk/partners/types/retrieve_partners_request.rb +2 -0
  317. data/lib/whop_sdk/payment_method_domains/client.rb +2 -2
  318. data/lib/whop_sdk/payments/client.rb +23 -4
  319. data/lib/whop_sdk/payments/direct/types/create_direct_request_plan.rb +2 -0
  320. data/lib/whop_sdk/{external_accounts/lead_forms → payments/levels_rebate}/client.rb +11 -19
  321. data/lib/whop_sdk/payments/levels_rebate/types/retrieve_levels_rebate_request.rb +13 -0
  322. data/lib/whop_sdk/payments/types/create_payments_request_line_items_item_variant.rb +2 -0
  323. data/lib/whop_sdk/payments/types/create_payments_request_payment_method.rb +2 -0
  324. data/lib/whop_sdk/payments/types/create_payments_request_payment_method_paypal.rb +12 -0
  325. data/lib/whop_sdk/payments/types/list_payments_request.rb +7 -1
  326. data/lib/whop_sdk/payments/types/list_payments_request_payment_methods_item.rb +2 -0
  327. data/lib/whop_sdk/payments/types/list_payments_response_page_info.rb +4 -0
  328. data/lib/whop_sdk/payments/types/post_shipping_address_changed_payload.rb +25 -0
  329. 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
  330. data/lib/whop_sdk/payments/types/post_shipping_address_changed_payload_type.rb +13 -0
  331. data/lib/whop_sdk/payments/types/post_shipping_address_changed_response.rb +15 -0
  332. data/lib/whop_sdk/payments/types/post_shipping_address_changed_response_decline.rb +11 -0
  333. data/lib/whop_sdk/payments/types/summary_payments_request.rb +5 -1
  334. data/lib/whop_sdk/payments/types/summary_payments_request_payment_methods_item.rb +2 -0
  335. data/lib/whop_sdk/payouts/client.rb +4 -2
  336. data/lib/whop_sdk/payouts/methods/types/create_methods_response.rb +2 -0
  337. data/lib/whop_sdk/{stats/reports/types/platform_trends_reports_request_direction.rb → payouts/methods/types/create_methods_response_type.rb} +5 -5
  338. data/lib/whop_sdk/payouts/methods/types/list_methods_response_data_item.rb +2 -0
  339. data/lib/whop_sdk/payouts/methods/types/list_methods_response_data_item_type.rb +16 -0
  340. data/lib/whop_sdk/payouts/methods/types/update_methods_response.rb +2 -0
  341. data/lib/whop_sdk/payouts/methods/types/update_methods_response_type.rb +16 -0
  342. data/lib/whop_sdk/payouts/supported_methods/client.rb +4 -0
  343. data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_request.rb +4 -0
  344. data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_request_party_type.rb +16 -0
  345. data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_response_data_item.rb +4 -0
  346. data/lib/whop_sdk/payouts/supported_methods/types/list_supported_methods_response_data_item_fee_structure.rb +17 -0
  347. data/lib/whop_sdk/payouts/types/cancel_payouts_response_payout_method.rb +2 -0
  348. data/lib/whop_sdk/payouts/types/cancel_payouts_response_payout_method_type.rb +14 -0
  349. data/lib/whop_sdk/payouts/types/create_payouts_request.rb +1 -1
  350. data/lib/whop_sdk/payouts/types/create_payouts_response_payout_method.rb +2 -0
  351. data/lib/whop_sdk/payouts/types/create_payouts_response_payout_method_type.rb +14 -0
  352. data/lib/whop_sdk/payouts/types/create_quote_payouts_response.rb +8 -0
  353. data/lib/whop_sdk/payouts/types/create_quote_payouts_response_conversion.rb +17 -0
  354. data/lib/whop_sdk/payouts/types/list_payouts_response_data_item_payout_method.rb +2 -0
  355. data/lib/whop_sdk/payouts/types/list_payouts_response_data_item_payout_method_type.rb +14 -0
  356. data/lib/whop_sdk/payouts/types/post_payout_created_payload_data_payout_method.rb +2 -0
  357. data/lib/whop_sdk/payouts/types/post_payout_created_payload_data_payout_method_type.rb +14 -0
  358. data/lib/whop_sdk/payouts/types/post_payout_method_created_payload_data.rb +2 -0
  359. data/lib/whop_sdk/payouts/types/post_payout_method_created_payload_data_type.rb +14 -0
  360. data/lib/whop_sdk/payouts/types/post_payout_reversed_payload_data_payout_method.rb +2 -0
  361. data/lib/whop_sdk/payouts/types/post_payout_reversed_payload_data_payout_method_type.rb +14 -0
  362. data/lib/whop_sdk/payouts/types/post_payout_updated_payload_data_payout_method.rb +2 -0
  363. data/lib/whop_sdk/payouts/types/post_payout_updated_payload_data_payout_method_type.rb +14 -0
  364. data/lib/whop_sdk/payouts/types/retrieve_payouts_response_payout_method.rb +2 -0
  365. data/lib/whop_sdk/payouts/types/retrieve_payouts_response_payout_method_type.rb +14 -0
  366. data/lib/whop_sdk/products/client.rb +6 -2
  367. data/lib/whop_sdk/products/types/list_products_request.rb +3 -1
  368. data/lib/whop_sdk/products/types/list_products_request_order.rb +18 -0
  369. data/lib/whop_sdk/products/types/list_products_response_page_info.rb +4 -0
  370. data/lib/whop_sdk/promo_codes/client.rb +2 -0
  371. data/lib/whop_sdk/promo_codes/types/list_promo_codes_request.rb +2 -0
  372. data/lib/whop_sdk/promo_codes/types/list_promo_codes_response_page_info.rb +4 -0
  373. data/lib/whop_sdk/review_reports/client.rb +92 -0
  374. data/lib/whop_sdk/review_reports/types/list_review_reports_request.rb +31 -0
  375. data/lib/whop_sdk/review_reports/types/list_review_reports_request_direction.rb +14 -0
  376. 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
  377. data/lib/whop_sdk/review_reports/types/list_review_reports_request_status.rb +15 -0
  378. data/lib/whop_sdk/review_reports/types/list_review_reports_response.rb +13 -0
  379. data/lib/whop_sdk/review_reports/types/list_review_reports_response_page_info.rb +17 -0
  380. data/lib/whop_sdk/reviews/client.rb +2 -0
  381. data/lib/whop_sdk/reviews/types/list_reviews_request.rb +2 -0
  382. data/lib/whop_sdk/reviews/types/list_reviews_response_page_info.rb +4 -0
  383. data/lib/whop_sdk/search/client.rb +89 -0
  384. data/lib/whop_sdk/search/types/list_search_request.rb +19 -0
  385. data/lib/whop_sdk/search/types/list_search_request_types_item.rb +20 -0
  386. data/lib/whop_sdk/search/types/list_search_response.rb +13 -0
  387. data/lib/whop_sdk/{social_accounts/types/posts_social_accounts_response_page_info.rb → search/types/list_search_response_page_info.rb} +6 -2
  388. data/lib/whop_sdk/shipments/client.rb +4 -2
  389. data/lib/whop_sdk/social_accounts/client.rb +5 -257
  390. data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request.rb +0 -2
  391. data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request_platform.rb +0 -2
  392. data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body.rb +21 -0
  393. data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_aimerce.rb +15 -0
  394. data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_facebook.rb +12 -0
  395. data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_klaviyo.rb +14 -0
  396. data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_body_tiktok.rb +14 -0
  397. data/lib/whop_sdk/social_accounts/types/list_social_accounts_request_platform.rb +1 -0
  398. data/lib/whop_sdk/stats/client.rb +8 -0
  399. data/lib/whop_sdk/stats/reports/client.rb +0 -71
  400. data/lib/whop_sdk/stats/time_series/client.rb +12 -1
  401. data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_request.rb +8 -0
  402. 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
  403. data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_request_interval.rb +1 -0
  404. data/lib/whop_sdk/stats/time_series/types/retrieve_time_series_response_data.rb +2 -0
  405. data/lib/whop_sdk/stats/types/retrieve_stats_request.rb +8 -0
  406. data/lib/whop_sdk/stats/types/retrieve_stats_request_activity.rb +15 -0
  407. data/lib/whop_sdk/stats/types/retrieve_stats_request_interval.rb +1 -0
  408. data/lib/whop_sdk/stats/types/retrieve_stats_response_data.rb +2 -0
  409. data/lib/whop_sdk/swaps/client.rb +5 -4
  410. data/lib/whop_sdk/swaps/types/create_quote_swaps_request.rb +4 -0
  411. data/lib/whop_sdk/team_members/client.rb +18 -6
  412. data/lib/whop_sdk/team_members/types/list_team_members_request.rb +9 -1
  413. data/lib/whop_sdk/trades/candles/client.rb +93 -0
  414. data/lib/whop_sdk/trades/candles/types/list_candles_request.rb +27 -0
  415. data/lib/whop_sdk/trades/candles/types/list_candles_request_interval.rb +21 -0
  416. data/lib/whop_sdk/trades/candles/types/list_candles_response.rb +15 -0
  417. data/lib/whop_sdk/trades/candles/types/list_candles_response_page_info.rb +19 -0
  418. data/lib/whop_sdk/trades/client.rb +47 -1
  419. data/lib/whop_sdk/trades/markets/client.rb +4 -2
  420. data/lib/whop_sdk/{leads/types/retrieve_leads_request.rb → trades/types/cancel_trades_request.rb} +2 -2
  421. data/lib/whop_sdk/trades/types/create_trades_request.rb +8 -0
  422. data/lib/whop_sdk/trades/types/create_trades_request_order_type.rb +2 -0
  423. data/lib/whop_sdk/trades/types/create_trades_request_stop_loss.rb +13 -0
  424. data/lib/whop_sdk/trades/types/create_trades_request_take_profit.rb +13 -0
  425. data/lib/whop_sdk/trades/types/create_trades_request_time_in_force.rb +15 -0
  426. data/lib/whop_sdk/transfers/types/create_transfers_request_body_claim_link.rb +2 -0
  427. data/lib/whop_sdk/transfers/types/create_transfers_request_body_claim_link_currency.rb +96 -0
  428. data/lib/whop_sdk/types/account.rb +6 -0
  429. data/lib/whop_sdk/types/account_economic_intelligence_offer_key.rb +1 -0
  430. data/lib/whop_sdk/types/account_fee_markups.rb +2 -0
  431. data/lib/whop_sdk/types/account_fee_region.rb +2 -0
  432. data/lib/whop_sdk/types/account_level.rb +13 -1
  433. data/lib/whop_sdk/types/account_partner.rb +2 -0
  434. data/lib/whop_sdk/types/account_payment_controls.rb +2 -0
  435. data/lib/whop_sdk/types/account_preferences.rb +13 -3
  436. data/lib/whop_sdk/types/account_processing_offer_level.rb +15 -0
  437. data/lib/whop_sdk/types/account_processing_offer_regional_rate.rb +11 -0
  438. data/lib/whop_sdk/types/account_processing_offer_regional_rate_region.rb +15 -0
  439. data/lib/whop_sdk/types/account_required_action_action.rb +2 -0
  440. data/lib/whop_sdk/types/ad.rb +2 -24
  441. data/lib/whop_sdk/types/ad_campaign.rb +8 -8
  442. data/lib/whop_sdk/types/ad_campaign_delivery_status.rb +1 -0
  443. data/lib/whop_sdk/types/ad_campaign_status.rb +0 -6
  444. data/lib/whop_sdk/types/ad_content_review.rb +13 -0
  445. data/lib/whop_sdk/types/ad_content_review_network.rb +11 -0
  446. data/lib/whop_sdk/types/{ad_conversion_value_rule_target_platform.rb → ad_content_review_network_title.rb} +3 -2
  447. data/lib/whop_sdk/types/ad_content_review_status.rb +13 -0
  448. data/lib/whop_sdk/types/{ad_messaging_config.rb → ad_content_review_tag.rb} +3 -3
  449. data/lib/whop_sdk/types/ad_group.rb +0 -18
  450. data/lib/whop_sdk/types/ad_group_delivery_status.rb +1 -0
  451. data/lib/whop_sdk/types/ad_issue.rb +23 -0
  452. data/lib/whop_sdk/types/ad_issue_policy.rb +19 -0
  453. data/lib/whop_sdk/types/ad_issue_reason.rb +15 -0
  454. data/lib/whop_sdk/types/{ad_conversion_value_rule_target_scope.rb → ad_issue_resource_type.rb} +2 -4
  455. data/lib/whop_sdk/types/ad_pixel_platform.rb +1 -0
  456. data/lib/whop_sdk/types/api_key_api_version_date.rb +25 -0
  457. data/lib/whop_sdk/types/app.rb +12 -0
  458. data/lib/whop_sdk/types/app_category.rb +13 -0
  459. data/lib/whop_sdk/types/app_list_item.rb +10 -0
  460. data/lib/whop_sdk/types/audience.rb +0 -2
  461. data/lib/whop_sdk/types/audience_status.rb +0 -1
  462. data/lib/whop_sdk/types/automation.rb +39 -0
  463. data/lib/whop_sdk/types/automation_actor.rb +11 -0
  464. data/lib/whop_sdk/types/{ad_group_platform.rb → automation_actor_object.rb} +4 -4
  465. data/lib/whop_sdk/types/automation_enrollment.rb +37 -0
  466. data/lib/whop_sdk/types/automation_enrollment_status.rb +13 -0
  467. data/lib/whop_sdk/types/automation_enrollment_trigger_event.rb +23 -0
  468. data/lib/whop_sdk/types/{ad_conversion_value_rule_status.rb → automation_status.rb} +3 -2
  469. data/lib/whop_sdk/types/automation_step.rb +33 -0
  470. data/lib/whop_sdk/types/automation_step_action_type.rb +13 -0
  471. data/lib/whop_sdk/types/automation_step_config.rb +17 -0
  472. data/lib/whop_sdk/types/{ad_group_targeting_category.rb → automation_step_email_address_sender.rb} +3 -3
  473. data/lib/whop_sdk/types/automation_step_email_config.rb +9 -0
  474. data/lib/whop_sdk/types/automation_step_message_config.rb +9 -0
  475. data/lib/whop_sdk/types/automation_step_preview.rb +21 -0
  476. data/lib/whop_sdk/types/automation_step_preview_action_type.rb +12 -0
  477. data/lib/whop_sdk/types/automation_step_preview_outcome.rb +13 -0
  478. data/lib/whop_sdk/types/automation_step_sender.rb +17 -0
  479. data/lib/whop_sdk/types/{lead_user.rb → automation_step_user_sender.rb} +1 -4
  480. data/lib/whop_sdk/types/automation_step_wait_config.rb +9 -0
  481. data/lib/whop_sdk/types/automation_trigger_event.rb +23 -0
  482. data/lib/whop_sdk/types/candle.rb +19 -0
  483. data/lib/whop_sdk/types/card_transaction.rb +2 -0
  484. data/lib/whop_sdk/types/channel.rb +37 -0
  485. data/lib/whop_sdk/types/channel_kind.rb +13 -0
  486. data/lib/whop_sdk/types/channel_list_item.rb +43 -0
  487. data/lib/whop_sdk/types/channel_list_item_kind.rb +13 -0
  488. data/lib/whop_sdk/types/channel_member.rb +29 -0
  489. data/lib/whop_sdk/types/channel_member_inbox_status.rb +13 -0
  490. data/lib/whop_sdk/types/channel_member_notification_preference.rb +13 -0
  491. data/lib/whop_sdk/types/channel_moderation.rb +19 -0
  492. data/lib/whop_sdk/types/channel_moderation_who_can_post.rb +12 -0
  493. data/lib/whop_sdk/types/channel_moderation_who_can_react.rb +12 -0
  494. data/lib/whop_sdk/types/channel_support_state.rb +17 -0
  495. data/lib/whop_sdk/types/{ad_campaign_platform.rb → channel_support_state_last_message_by.rb} +3 -4
  496. data/lib/whop_sdk/types/channel_support_state_status.rb +12 -0
  497. data/lib/whop_sdk/types/chat_message.rb +55 -0
  498. data/lib/whop_sdk/types/chat_message_message_type.rb +13 -0
  499. data/lib/whop_sdk/types/chat_message_poll.rb +9 -0
  500. data/lib/whop_sdk/types/chat_message_poll_option.rb +15 -0
  501. data/lib/whop_sdk/types/chat_reaction.rb +15 -0
  502. data/lib/whop_sdk/types/customer_tracking_preferences.rb +4 -4
  503. data/lib/whop_sdk/types/dispute.rb +4 -0
  504. data/lib/whop_sdk/types/dispute_alert.rb +2 -0
  505. data/lib/whop_sdk/types/dispute_alert_category.rb +12 -0
  506. data/lib/whop_sdk/types/dispute_status.rb +1 -0
  507. data/lib/whop_sdk/types/domain.rb +2 -0
  508. data/lib/whop_sdk/types/domain_issue_capability.rb +1 -0
  509. data/lib/whop_sdk/types/domain_issue_code.rb +3 -0
  510. data/lib/whop_sdk/types/domain_list_item.rb +2 -0
  511. data/lib/whop_sdk/types/domain_subdomain.rb +9 -0
  512. data/lib/whop_sdk/types/{external_account_partnership_status.rb → domain_subdomain_state.rb} +4 -3
  513. data/lib/whop_sdk/types/embed.rb +25 -0
  514. data/lib/whop_sdk/types/embed_field.rb +13 -0
  515. data/lib/whop_sdk/types/embed_footer.rb +11 -0
  516. data/lib/whop_sdk/types/embed_image.rb +15 -0
  517. data/lib/whop_sdk/types/experiment.rb +2 -0
  518. data/lib/whop_sdk/types/experiment_targeting_rules_item.rb +2 -0
  519. data/lib/whop_sdk/types/external_account.rb +1 -1
  520. data/lib/whop_sdk/types/external_account_parent_platform.rb +1 -0
  521. data/lib/whop_sdk/types/external_account_platform.rb +1 -0
  522. data/lib/whop_sdk/types/forum.rb +4 -0
  523. data/lib/whop_sdk/types/forum_banner_image.rb +16 -0
  524. data/lib/whop_sdk/types/gif.rb +21 -0
  525. data/lib/whop_sdk/types/invoice.rb +12 -0
  526. data/lib/whop_sdk/types/invoice_line_item.rb +2 -0
  527. data/lib/whop_sdk/types/invoice_scheduled_collection_method.rb +12 -0
  528. data/lib/whop_sdk/types/invoice_send.rb +17 -0
  529. data/lib/whop_sdk/types/invoice_send_kind.rb +15 -0
  530. data/lib/whop_sdk/types/ledger_activity_line_type.rb +28 -1
  531. data/lib/whop_sdk/types/ledger_activity_resource_authorized_at.rb +2 -0
  532. data/lib/whop_sdk/types/ledger_activity_source_payout_destination.rb +2 -0
  533. data/lib/whop_sdk/types/market.rb +4 -0
  534. data/lib/whop_sdk/types/member.rb +11 -1
  535. data/lib/whop_sdk/types/member_last_activity.rb +23 -0
  536. data/lib/whop_sdk/types/member_last_activity_message.rb +19 -0
  537. data/lib/whop_sdk/types/{audience_engagement_platform.rb → member_last_activity_message_object.rb} +2 -2
  538. data/lib/whop_sdk/types/{ad_post_source.rb → member_unsubscribe_status.rb} +2 -3
  539. data/lib/whop_sdk/types/member_user.rb +21 -0
  540. data/lib/whop_sdk/types/membership.rb +2 -0
  541. data/lib/whop_sdk/types/membership_external_account.rb +13 -0
  542. data/lib/whop_sdk/types/membership_external_account_platform.rb +12 -0
  543. data/lib/whop_sdk/types/membership_legacy.rb +2 -0
  544. data/lib/whop_sdk/types/membership_legacy_external_accounts_item.rb +14 -0
  545. data/lib/whop_sdk/types/membership_list_item.rb +2 -0
  546. data/lib/whop_sdk/types/membership_list_item_external_accounts_item.rb +14 -0
  547. data/lib/whop_sdk/types/message_custom_author.rb +11 -0
  548. data/lib/whop_sdk/types/message_link_footer.rb +13 -0
  549. data/lib/whop_sdk/types/message_link_preview.rb +21 -0
  550. data/lib/whop_sdk/types/message_reaction_count.rb +17 -0
  551. data/lib/whop_sdk/types/message_reaction_count_kind.rb +13 -0
  552. data/lib/whop_sdk/types/owner_level.rb +11 -1
  553. data/lib/whop_sdk/types/owner_level_points.rb +2 -0
  554. data/lib/whop_sdk/types/partner.rb +2 -0
  555. data/lib/whop_sdk/types/partner_referral_request.rb +2 -0
  556. data/lib/whop_sdk/types/payment.rb +10 -0
  557. data/lib/whop_sdk/types/payment_bank_transfer.rb +4 -0
  558. data/lib/whop_sdk/types/payment_checkout_surface.rb +18 -0
  559. data/lib/whop_sdk/types/payment_input_variant.rb +2 -0
  560. data/lib/whop_sdk/types/payment_instrument_card.rb +2 -0
  561. data/lib/whop_sdk/types/payment_levels_rebate.rb +27 -0
  562. data/lib/whop_sdk/types/payment_levels_rebate_ineligible_reason.rb +16 -0
  563. data/lib/whop_sdk/types/payment_levels_rebate_region.rb +15 -0
  564. data/lib/whop_sdk/types/payment_levels_rebate_status.rb +14 -0
  565. data/lib/whop_sdk/types/payment_method_types.rb +2 -0
  566. data/lib/whop_sdk/types/payment_qr.rb +2 -0
  567. data/lib/whop_sdk/types/permission_action.rb +162 -155
  568. data/lib/whop_sdk/types/product.rb +4 -0
  569. data/lib/whop_sdk/types/product_experience.rb +15 -0
  570. data/lib/whop_sdk/types/product_experience_app.rb +13 -0
  571. data/lib/whop_sdk/types/product_list_item.rb +4 -0
  572. data/lib/whop_sdk/types/product_public_variant.rb +2 -0
  573. data/lib/whop_sdk/types/review_report.rb +21 -0
  574. data/lib/whop_sdk/types/{social_account_partnership_status.rb → review_report_status.rb} +3 -3
  575. data/lib/whop_sdk/types/search_record.rb +29 -0
  576. data/lib/whop_sdk/types/search_record_account.rb +21 -0
  577. data/lib/whop_sdk/types/search_record_affiliate.rb +21 -0
  578. data/lib/whop_sdk/types/search_record_member.rb +25 -0
  579. data/lib/whop_sdk/types/{ad_platform.rb → search_record_member_status.rb} +3 -4
  580. data/lib/whop_sdk/types/search_record_membership.rb +23 -0
  581. data/lib/whop_sdk/types/search_record_membership_status.rb +17 -0
  582. data/lib/whop_sdk/types/search_record_payment.rb +31 -0
  583. data/lib/whop_sdk/types/search_record_promo_code.rb +27 -0
  584. data/lib/whop_sdk/types/search_record_promo_code_currency.rb +100 -0
  585. data/lib/whop_sdk/types/{ad_conversion_value_rule_adjustment_type.rb → search_record_promo_code_promo_type.rb} +2 -2
  586. data/lib/whop_sdk/types/search_record_resolution_center_case.rb +19 -0
  587. data/lib/whop_sdk/types/search_record_review.rb +21 -0
  588. data/lib/whop_sdk/types/search_result.rb +11 -0
  589. data/lib/whop_sdk/types/search_result_match_reason.rb +20 -0
  590. data/lib/whop_sdk/types/shipping_address_changed_webhook_address.rb +15 -0
  591. data/lib/whop_sdk/types/shipping_address_changed_webhook_data.rb +17 -0
  592. data/lib/whop_sdk/types/shipping_address_changed_webhook_line_item.rb +15 -0
  593. data/lib/whop_sdk/types/shipping_address_changed_webhook_reply.rb +13 -0
  594. data/lib/whop_sdk/types/shipping_address_changed_webhook_reply_line_item.rb +11 -0
  595. data/lib/whop_sdk/types/shipping_address_changed_webhook_reply_shipping_option.rb +13 -0
  596. data/lib/whop_sdk/types/social_account.rb +1 -1
  597. data/lib/whop_sdk/types/social_account_parent_platform.rb +1 -0
  598. data/lib/whop_sdk/types/social_account_platform.rb +1 -0
  599. data/lib/whop_sdk/types/team_member.rb +5 -1
  600. data/lib/whop_sdk/types/{ad_group_detailed_targeting_body_interests_item.rb → team_member_manager.rb} +2 -2
  601. data/lib/whop_sdk/types/trade.rb +8 -0
  602. data/lib/whop_sdk/types/trade_order_type.rb +2 -0
  603. data/lib/whop_sdk/types/trade_step.rb +18 -0
  604. data/lib/whop_sdk/types/trading_account.rb +2 -0
  605. data/lib/whop_sdk/types/trading_hyperliquid_account.rb +6 -0
  606. data/lib/whop_sdk/types/trading_margin_summary.rb +0 -2
  607. data/lib/whop_sdk/types/trading_spot_account.rb +9 -0
  608. data/lib/whop_sdk/types/trading_spot_holding.rb +19 -0
  609. data/lib/whop_sdk/types/user.rb +8 -0
  610. data/lib/whop_sdk/types/user_preferences.rb +0 -2
  611. data/lib/whop_sdk/types/webhook_event.rb +5 -0
  612. data/lib/whop_sdk/types/webhook_events_item.rb +5 -0
  613. data/lib/whop_sdk/types/webhook_list_item_events_item.rb +5 -0
  614. data/lib/whop_sdk/types/webhook_testable_events_item.rb +5 -0
  615. data/lib/whop_sdk/users/client.rb +4 -3
  616. data/lib/whop_sdk/users/oauth_grants/client.rb +1 -1
  617. data/lib/whop_sdk/users/passkeys/client.rb +5 -3
  618. data/lib/whop_sdk/users/passkeys/types/create_passkeys_request.rb +1 -1
  619. data/lib/whop_sdk/users/preferences/types/update_preferences_request.rb +0 -2
  620. data/lib/whop_sdk/users/types/list_users_request.rb +2 -0
  621. data/lib/whop_sdk/users/types/update_me_users_request.rb +2 -0
  622. data/lib/whop_sdk/users/types/update_users_request.rb +2 -0
  623. data/lib/whop_sdk/version.rb +1 -1
  624. data/lib/whop_sdk/webhooks/types/create_webhooks_request_events_item.rb +5 -0
  625. data/lib/whop_sdk/webhooks/types/list_deliveries_webhooks_request_events_item.rb +5 -0
  626. data/lib/whop_sdk/webhooks/types/update_webhooks_request_events_item.rb +5 -0
  627. data/lib/whop_sdk.rb +347 -299
  628. data/reference.md +8678 -6285
  629. metadata +315 -266
  630. data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item.rb +0 -29
  631. data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item_business_type.rb +0 -17
  632. data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item_certification_type.rb +0 -15
  633. data/lib/whop_sdk/accounts/preferences/types/retrieve_preferences_response_ads_certifications_item_status.rb +0 -19
  634. data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_ads_certifications_value.rb +0 -13
  635. data/lib/whop_sdk/accounts/preferences/types/update_preferences_request_ads_certifications_value_status.rb +0 -15
  636. data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item.rb +0 -29
  637. data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item_business_type.rb +0 -17
  638. data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item_certification_type.rb +0 -15
  639. data/lib/whop_sdk/accounts/preferences/types/update_preferences_response_ads_certifications_item_status.rb +0 -19
  640. data/lib/whop_sdk/ad_campaigns/types/create_ad_campaigns_request_bid_type.rb +0 -15
  641. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_bid_type.rb +0 -15
  642. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_payment_failed_payload_data_platform.rb +0 -15
  643. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_bid_type.rb +0 -15
  644. data/lib/whop_sdk/ad_campaigns/types/post_ad_campaign_updated_payload_data_platform.rb +0 -15
  645. data/lib/whop_sdk/ad_campaigns/types/update_ad_campaigns_request_bid_type.rb +0 -15
  646. data/lib/whop_sdk/ad_campaigns/types/update_ad_campaigns_request_x_ads_platform.rb +0 -15
  647. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request.rb +0 -27
  648. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_adjustment_type.rb +0 -14
  649. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_events_item.rb +0 -13
  650. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_events_item_event_name.rb +0 -23
  651. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_fixed_value.rb +0 -13
  652. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_targets_item.rb +0 -15
  653. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_targets_item_platform.rb +0 -15
  654. data/lib/whop_sdk/ad_conversion_value_rules/types/create_ad_conversion_value_rules_request_targets_item_scope.rb +0 -16
  655. data/lib/whop_sdk/ad_conversion_value_rules/types/delete_ad_conversion_value_rules_response.rb +0 -13
  656. data/lib/whop_sdk/ad_conversion_value_rules/types/list_ad_conversion_value_rules_request.rb +0 -29
  657. data/lib/whop_sdk/ad_conversion_value_rules/types/list_ad_conversion_value_rules_request_platform.rb +0 -15
  658. data/lib/whop_sdk/ad_conversion_value_rules/types/list_ad_conversion_value_rules_response.rb +0 -13
  659. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request.rb +0 -25
  660. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_adjustment_type.rb +0 -14
  661. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_events_item.rb +0 -13
  662. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_events_item_event_name.rb +0 -23
  663. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_fixed_value.rb +0 -13
  664. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_targets_item.rb +0 -15
  665. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_targets_item_platform.rb +0 -15
  666. data/lib/whop_sdk/ad_conversion_value_rules/types/update_ad_conversion_value_rules_request_targets_item_scope.rb +0 -16
  667. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_conversion_location.rb +0 -21
  668. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_frequency_cap.rb +0 -17
  669. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_message_apps_item.rb +0 -15
  670. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_optimization_goal.rb +0 -30
  671. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_placements.rb +0 -28
  672. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_placements_one_item.rb +0 -13
  673. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_placements_one_item_platform.rb +0 -18
  674. data/lib/whop_sdk/ad_groups/types/create_ad_groups_request_x_ads_platform.rb +0 -15
  675. data/lib/whop_sdk/ad_groups/types/estimate_reach_ad_groups_request.rb +0 -25
  676. data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_conversion_location.rb +0 -21
  677. data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_message_apps_item.rb +0 -15
  678. data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_optimization_goal.rb +0 -30
  679. data/lib/whop_sdk/ad_groups/types/post_ad_group_updated_payload_data_platform.rb +0 -15
  680. data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request.rb +0 -25
  681. data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request_location_types_item.rb +0 -19
  682. data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request_special_ad_categories_item.rb +0 -16
  683. data/lib/whop_sdk/ad_groups/types/search_targeting_options_ad_groups_request_types_item.rb +0 -24
  684. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_conversion_location.rb +0 -21
  685. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_frequency_cap.rb +0 -17
  686. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_message_apps_item.rb +0 -15
  687. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_optimization_goal.rb +0 -30
  688. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements.rb +0 -28
  689. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements_one_item.rb +0 -13
  690. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements_one_item_platform.rb +0 -18
  691. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_placements_zero.rb +0 -13
  692. data/lib/whop_sdk/ad_groups/types/update_ad_groups_request_x_ads_platform.rb +0 -15
  693. data/lib/whop_sdk/ads/types/create_ads_request_external_accounts_item.rb +0 -11
  694. data/lib/whop_sdk/ads/types/create_ads_request_lead_form.rb +0 -28
  695. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_completion.rb +0 -25
  696. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_completion_button_type.rb +0 -15
  697. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_disclaimer.rb +0 -16
  698. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_disclaimer_checkboxes_item.rb +0 -17
  699. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_form_type.rb +0 -14
  700. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_intro.rb +0 -14
  701. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_privacy_policy.rb +0 -14
  702. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item.rb +0 -17
  703. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_format.rb +0 -15
  704. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_options_item.rb +0 -15
  705. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_options_item_logic.rb +0 -15
  706. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_options_item_logic_action.rb +0 -15
  707. data/lib/whop_sdk/ads/types/create_ads_request_lead_form_questions_item_type.rb +0 -33
  708. data/lib/whop_sdk/ads/types/create_ads_request_messaging_config.rb +0 -14
  709. data/lib/whop_sdk/ads/types/create_ads_request_music.rb +0 -13
  710. data/lib/whop_sdk/ads/types/create_ads_request_post_source.rb +0 -14
  711. data/lib/whop_sdk/ads/types/create_ads_request_translations.rb +0 -20
  712. data/lib/whop_sdk/ads/types/create_ads_request_x_ads_platform.rb +0 -15
  713. data/lib/whop_sdk/ads/types/post_ad_updated_payload_data_platform.rb +0 -15
  714. data/lib/whop_sdk/ads/types/post_ad_updated_payload_data_post_source.rb +0 -14
  715. data/lib/whop_sdk/ads/types/update_ads_request_external_accounts_item.rb +0 -11
  716. data/lib/whop_sdk/ads/types/update_ads_request_lead_form.rb +0 -28
  717. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_completion.rb +0 -25
  718. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_completion_button_type.rb +0 -15
  719. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_disclaimer.rb +0 -16
  720. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_disclaimer_checkboxes_item.rb +0 -17
  721. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_form_type.rb +0 -14
  722. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_intro.rb +0 -14
  723. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_privacy_policy.rb +0 -14
  724. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item.rb +0 -17
  725. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_format.rb +0 -15
  726. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_options_item.rb +0 -15
  727. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_options_item_logic.rb +0 -15
  728. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_options_item_logic_action.rb +0 -15
  729. data/lib/whop_sdk/ads/types/update_ads_request_lead_form_questions_item_type.rb +0 -33
  730. data/lib/whop_sdk/ads/types/update_ads_request_messaging_config.rb +0 -14
  731. data/lib/whop_sdk/ads/types/update_ads_request_music.rb +0 -14
  732. data/lib/whop_sdk/ads/types/update_ads_request_post_source.rb +0 -14
  733. data/lib/whop_sdk/ads/types/update_ads_request_translations.rb +0 -20
  734. data/lib/whop_sdk/ads/types/update_ads_request_x_ads_platform.rb +0 -15
  735. data/lib/whop_sdk/audiences/types/create_audiences_request_engagement.rb +0 -16
  736. data/lib/whop_sdk/external_accounts/lead_forms/types/list_lead_forms_request.rb +0 -15
  737. data/lib/whop_sdk/external_accounts/lead_forms/types/list_lead_forms_response.rb +0 -13
  738. data/lib/whop_sdk/external_accounts/partners/client.rb +0 -168
  739. data/lib/whop_sdk/external_accounts/partners/types/create_partners_request.rb +0 -17
  740. data/lib/whop_sdk/external_accounts/partners/types/delete_partners_request.rb +0 -17
  741. data/lib/whop_sdk/external_accounts/partners/types/delete_partners_response.rb +0 -15
  742. data/lib/whop_sdk/external_accounts/partners/types/list_partners_request.rb +0 -19
  743. data/lib/whop_sdk/external_accounts/partners/types/list_partners_response.rb +0 -15
  744. data/lib/whop_sdk/external_accounts/posts/types/list_posts_response.rb +0 -15
  745. data/lib/whop_sdk/external_accounts/posts/types/list_posts_response_page_info.rb +0 -15
  746. data/lib/whop_sdk/external_accounts/types/connect_external_accounts_request_scopes_item.rb +0 -13
  747. data/lib/whop_sdk/external_accounts/types/create_external_accounts_request.rb +0 -15
  748. data/lib/whop_sdk/external_accounts/types/create_external_accounts_request_platform.rb +0 -15
  749. data/lib/whop_sdk/leads/types/create_leads_request.rb +0 -19
  750. data/lib/whop_sdk/leads/types/list_leads_response.rb +0 -14
  751. data/lib/whop_sdk/leads/types/update_leads_request.rb +0 -15
  752. data/lib/whop_sdk/social_accounts/types/add_partner_social_accounts_request.rb +0 -15
  753. data/lib/whop_sdk/social_accounts/types/connect_social_accounts_request_scopes_item.rb +0 -13
  754. data/lib/whop_sdk/social_accounts/types/create_social_accounts_request.rb +0 -15
  755. data/lib/whop_sdk/social_accounts/types/create_social_accounts_request_platform.rb +0 -15
  756. data/lib/whop_sdk/social_accounts/types/lead_forms_social_accounts_request.rb +0 -13
  757. data/lib/whop_sdk/social_accounts/types/lead_forms_social_accounts_response.rb +0 -11
  758. data/lib/whop_sdk/social_accounts/types/partners_social_accounts_request.rb +0 -17
  759. data/lib/whop_sdk/social_accounts/types/partners_social_accounts_response.rb +0 -13
  760. data/lib/whop_sdk/social_accounts/types/posts_social_accounts_response.rb +0 -13
  761. data/lib/whop_sdk/social_accounts/types/remove_partner_social_accounts_request.rb +0 -15
  762. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request.rb +0 -41
  763. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request_breakdown_by.rb +0 -19
  764. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_request_order.rb +0 -26
  765. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response.rb +0 -15
  766. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data.rb +0 -21
  767. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_columns_item.rb +0 -23
  768. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_columns_item_aggregate.rb +0 -17
  769. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_columns_item_unit.rb +0 -19
  770. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item.rb +0 -15
  771. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item.rb +0 -45
  772. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_account_country.rb +0 -15
  773. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_business_type.rb +0 -15
  774. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_customer_country.rb +0 -15
  775. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_industry_type.rb +0 -15
  776. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_rows_item_product_category.rb +0 -15
  777. data/lib/whop_sdk/stats/reports/types/platform_trends_reports_response_data_reports_item_window.rb +0 -23
  778. data/lib/whop_sdk/types/ad_campaign_bid_type.rb +0 -13
  779. data/lib/whop_sdk/types/ad_conversion_value_rule.rb +0 -29
  780. data/lib/whop_sdk/types/ad_conversion_value_rule_event.rb +0 -11
  781. data/lib/whop_sdk/types/ad_conversion_value_rule_event_event_name.rb +0 -21
  782. data/lib/whop_sdk/types/ad_conversion_value_rule_target.rb +0 -15
  783. data/lib/whop_sdk/types/ad_group_behavior_category.rb +0 -15
  784. data/lib/whop_sdk/types/ad_group_behavior_category_behavior_type.rb +0 -13
  785. data/lib/whop_sdk/types/ad_group_conversion_location.rb +0 -19
  786. data/lib/whop_sdk/types/ad_group_demographic_category.rb +0 -13
  787. data/lib/whop_sdk/types/ad_group_demographic_category_type.rb +0 -18
  788. data/lib/whop_sdk/types/ad_group_detailed_targeting.rb +0 -13
  789. data/lib/whop_sdk/types/ad_group_detailed_targeting_body.rb +0 -17
  790. data/lib/whop_sdk/types/ad_group_detailed_targeting_body_behaviors_item.rb +0 -15
  791. data/lib/whop_sdk/types/ad_group_detailed_targeting_body_behaviors_item_behavior_type.rb +0 -13
  792. data/lib/whop_sdk/types/ad_group_detailed_targeting_body_demographics_item.rb +0 -13
  793. data/lib/whop_sdk/types/ad_group_detailed_targeting_body_demographics_item_type.rb +0 -18
  794. data/lib/whop_sdk/types/ad_group_frequency_cap.rb +0 -11
  795. data/lib/whop_sdk/types/ad_group_message_apps_item.rb +0 -13
  796. data/lib/whop_sdk/types/ad_group_optimization_goal.rb +0 -28
  797. data/lib/whop_sdk/types/ad_group_placement.rb +0 -11
  798. data/lib/whop_sdk/types/ad_group_placement_platform.rb +0 -16
  799. data/lib/whop_sdk/types/ad_lead_form.rb +0 -23
  800. data/lib/whop_sdk/types/ad_lead_form_completion.rb +0 -21
  801. data/lib/whop_sdk/types/ad_lead_form_completion_button_type.rb +0 -13
  802. data/lib/whop_sdk/types/ad_lead_form_disclaimer.rb +0 -13
  803. data/lib/whop_sdk/types/ad_lead_form_disclaimer_checkbox.rb +0 -15
  804. data/lib/whop_sdk/types/ad_lead_form_form_type.rb +0 -12
  805. data/lib/whop_sdk/types/ad_lead_form_intro.rb +0 -11
  806. data/lib/whop_sdk/types/ad_lead_form_option_logic.rb +0 -13
  807. data/lib/whop_sdk/types/ad_lead_form_option_logic_action.rb +0 -13
  808. data/lib/whop_sdk/types/ad_lead_form_privacy_policy.rb +0 -11
  809. data/lib/whop_sdk/types/ad_lead_form_question.rb +0 -15
  810. data/lib/whop_sdk/types/ad_lead_form_question_option.rb +0 -13
  811. data/lib/whop_sdk/types/ad_music.rb +0 -13
  812. data/lib/whop_sdk/types/ad_translations.rb +0 -11
  813. data/lib/whop_sdk/types/audience_engagement.rb +0 -13
  814. data/lib/whop_sdk/types/audience_engagement_facebook_page_rule.rb +0 -13
  815. data/lib/whop_sdk/types/audience_engagement_facebook_page_rule_event.rb +0 -17
  816. data/lib/whop_sdk/types/audience_engagement_instagram_profile_rule.rb +0 -13
  817. data/lib/whop_sdk/types/audience_engagement_instagram_profile_rule_event.rb +0 -27
  818. data/lib/whop_sdk/types/audience_engagement_lead_form_rule.rb +0 -15
  819. data/lib/whop_sdk/types/audience_engagement_lead_form_rule_event.rb +0 -13
  820. data/lib/whop_sdk/types/audience_engagement_rule.rb +0 -19
  821. data/lib/whop_sdk/types/audience_engagement_video_rule.rb +0 -15
  822. data/lib/whop_sdk/types/audience_engagement_video_rule_event.rb +0 -17
  823. data/lib/whop_sdk/types/detailed_targeting_option.rb +0 -19
  824. data/lib/whop_sdk/types/detailed_targeting_option_behavior_type.rb +0 -13
  825. data/lib/whop_sdk/types/external_account_lead_form.rb +0 -31
  826. data/lib/whop_sdk/types/external_account_lead_form_form_type.rb +0 -12
  827. data/lib/whop_sdk/types/external_account_post.rb +0 -25
  828. data/lib/whop_sdk/types/external_account_post_call_to_action.rb +0 -41
  829. data/lib/whop_sdk/types/external_account_post_restrictions_item.rb +0 -16
  830. data/lib/whop_sdk/types/language_targeting_option.rb +0 -11
  831. data/lib/whop_sdk/types/lead.rb +0 -24
  832. data/lib/whop_sdk/types/lead_list_item.rb +0 -24
  833. data/lib/whop_sdk/types/lead_list_item_member.rb +0 -10
  834. data/lib/whop_sdk/types/lead_list_item_product.rb +0 -12
  835. data/lib/whop_sdk/types/lead_list_item_user.rb +0 -16
  836. data/lib/whop_sdk/types/lead_member.rb +0 -10
  837. data/lib/whop_sdk/types/lead_product.rb +0 -12
  838. data/lib/whop_sdk/types/location_targeting_option.rb +0 -21
  839. data/lib/whop_sdk/types/location_targeting_option_location_type.rb +0 -19
  840. data/lib/whop_sdk/types/reach_estimate.rb +0 -11
  841. data/lib/whop_sdk/types/social_account_lead_form.rb +0 -31
  842. data/lib/whop_sdk/types/social_account_lead_form_form_type.rb +0 -12
  843. data/lib/whop_sdk/types/social_account_post.rb +0 -25
  844. data/lib/whop_sdk/types/social_account_post_call_to_action.rb +0 -41
  845. data/lib/whop_sdk/types/social_account_post_restrictions_item.rb +0 -16
  846. 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 :include_connected_accounts, -> { Internal::Types::Boolean }, optional: true, nullable: false
21
+ field :include_subaccounts, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
22
  end
23
23
  end
24
24
  end
@@ -10,6 +10,7 @@ module Whop_sdk
10
10
  WARNING_NEEDS_RESPONSE = "warning_needs_response"
11
11
  UNDER_REVIEW = "under_review"
12
12
  WARNING_UNDER_REVIEW = "warning_under_review"
13
+ GENERATING_RESPONSE = "generating_response"
13
14
  WON = "won"
14
15
  LOST = "lost"
15
16
  PREVENTED = "prevented"
@@ -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. Pass `website` with an `app_id` to serve that app on the domain.
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: "store.example.com")
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. Only a domain bought through Whop, or a subdomain of one in the same
7
- # account, can have it. Whop publishes the DNS records and stays `pending` until its email provider verifies them,
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. Only a domain bought through Whop, or a subdomain of one in the same
7
- # account, can have it. Whop publishes the DNS records and stays `pending` until its email provider verifies them,
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 and generation requests, newest first by default. When no recommendations are
18
- # ready or in progress and you have `company:update` permission, listing queues generation, with a ten-minute
19
- # cooldown after an unsuccessful request; unsuccessful requests are not listed. An account's executed
20
- # recommendations and runs stay listed after Economic Intelligence turns off, but new recommendations are offered
21
- # only while it is on. For visitor countries, page views, ad impressions and clicks, or payment volume over a time
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 and request replacements; a rating alone leaves its status
91
- # unchanged. To run a recommendation yourself, send `status: running` to start, then `status: executed` when it is
92
- # carried out (with `result_id` naming what it changed, or `result_page` naming where it worked, so the result
93
- # links there) or `status: incomplete` if the run ended without carrying it out. Whop AI reports its own runs the
94
- # same way. Send `status: acknowledged` once an executed run's result has been seen.
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 AdCampaigns
4
+ module Events
5
5
  module Types
6
- module CreateAdCampaignsRequestPlatform
6
+ module PostEventsCreatedPayloadAPIVersion
7
7
  extend Whop_sdk::Internal::Types::Enum
8
8
 
9
- WHOP = "whop"
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 AdGroups
4
+ module Events
5
5
  module Types
6
- module SearchTargetingOptionsAdGroupsRequestPlatform
6
+ module PostEventsCreatedPayloadType
7
7
  extend Whop_sdk::Internal::Types::Enum
8
8
 
9
- META = "meta"
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`. Requires `experiment:manage` on the account.
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 Facebook page or TikTok account for an account, or connects the account's
89
- # existing Klaviyo account with a private API key.
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::CreateExternalAccountsRequest]
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(platform: "facebook")
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::CreateExternalAccountsRequest.new(params).to_h,
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: "meta_business",
141
- # redirect_url: "https://whop.com/dashboard/biz_xxxxxxxxxxxxxx/ads/settings"
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