whop_sdk 0.0.39 → 0.0.40

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 (313) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -1
  4. data/lib/whop_sdk/client.rb +18 -2
  5. data/lib/whop_sdk/internal/transport/base_client.rb +2 -0
  6. data/lib/whop_sdk/internal/type/union.rb +6 -6
  7. data/lib/whop_sdk/models/account.rb +144 -0
  8. data/lib/whop_sdk/models/account_create_params.rb +34 -0
  9. data/lib/whop_sdk/models/account_list_params.rb +34 -0
  10. data/lib/whop_sdk/models/account_list_response.rb +66 -0
  11. data/lib/whop_sdk/models/account_me_params.rb +14 -0
  12. data/lib/whop_sdk/models/account_retrieve_params.rb +20 -0
  13. data/lib/whop_sdk/models/account_social_link.rb +60 -0
  14. data/lib/whop_sdk/models/account_update_params.rb +146 -0
  15. data/lib/whop_sdk/models/account_wallet.rb +46 -0
  16. data/lib/whop_sdk/models/{ad_retrieve_response.rb → ad.rb} +15 -45
  17. data/lib/whop_sdk/models/ad_budget_type.rb +16 -0
  18. data/lib/whop_sdk/models/{ad_campaign_pause_response.rb → ad_campaign.rb} +37 -86
  19. data/lib/whop_sdk/models/ad_campaign_list_params.rb +12 -27
  20. data/lib/whop_sdk/models/ad_campaign_list_response.rb +9 -52
  21. data/lib/whop_sdk/models/ad_campaign_platform.rb +16 -0
  22. data/lib/whop_sdk/models/ad_campaign_status.rb +20 -0
  23. data/lib/whop_sdk/models/ad_group.rb +97 -0
  24. data/lib/whop_sdk/models/ad_group_list_params.rb +16 -19
  25. data/lib/whop_sdk/models/ad_group_list_response.rb +30 -51
  26. data/lib/whop_sdk/models/ad_group_pause_params.rb +20 -0
  27. data/lib/whop_sdk/models/ad_group_status.rb +20 -0
  28. data/lib/whop_sdk/models/ad_group_unpause_params.rb +20 -0
  29. data/lib/whop_sdk/models/ad_group_update_params.rb +8 -32
  30. data/lib/whop_sdk/models/ad_list_params.rb +57 -12
  31. data/lib/whop_sdk/models/ad_list_response.rb +45 -31
  32. data/lib/whop_sdk/models/ad_pause_params.rb +20 -0
  33. data/lib/whop_sdk/models/ad_report_retrieve_params.rb +45 -15
  34. data/lib/whop_sdk/models/ad_report_retrieve_response.rb +378 -105
  35. data/lib/whop_sdk/models/ad_unpause_params.rb +20 -0
  36. data/lib/whop_sdk/models/checkout_configuration.rb +22 -1
  37. data/lib/whop_sdk/models/checkout_configuration_create_params.rb +26 -1
  38. data/lib/whop_sdk/models/checkout_configuration_list_response.rb +24 -1
  39. data/lib/whop_sdk/models/currency.rb +3 -0
  40. data/lib/whop_sdk/models/deposit_create_params.rb +85 -0
  41. data/lib/whop_sdk/models/deposit_create_response.rb +102 -0
  42. data/lib/whop_sdk/models/dispute.rb +6 -7
  43. data/lib/whop_sdk/models/dispute_alert_created_webhook_event.rb +4 -4
  44. data/lib/whop_sdk/models/dispute_alert_retrieve_response.rb +4 -4
  45. data/lib/whop_sdk/models/dispute_list_response.rb +2 -3
  46. data/lib/whop_sdk/models/external_ad_status.rb +20 -0
  47. data/lib/whop_sdk/models/file_create_params.rb +3 -15
  48. data/lib/whop_sdk/models/file_create_response.rb +3 -16
  49. data/lib/whop_sdk/models/file_retrieve_response.rb +3 -16
  50. data/lib/whop_sdk/models/file_visibility.rb +17 -0
  51. data/lib/whop_sdk/models/granularities.rb +16 -0
  52. data/lib/whop_sdk/models/identity_profile_approved_webhook_event.rb +431 -0
  53. data/lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb +432 -0
  54. data/lib/whop_sdk/models/identity_profile_rejected_webhook_event.rb +431 -0
  55. data/lib/whop_sdk/models/identity_profile_updated_webhook_event.rb +431 -0
  56. data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +65 -1
  57. data/lib/whop_sdk/models/member_list_response.rb +3 -2
  58. data/lib/whop_sdk/models/member_retrieve_response.rb +3 -2
  59. data/lib/whop_sdk/models/membership.rb +23 -2
  60. data/lib/whop_sdk/models/membership_list_response.rb +23 -2
  61. data/lib/whop_sdk/models/payment.rb +47 -22
  62. data/lib/whop_sdk/models/payment_list_params.rb +9 -1
  63. data/lib/whop_sdk/models/payment_list_response.rb +40 -13
  64. data/lib/whop_sdk/models/plan.rb +31 -1
  65. data/lib/whop_sdk/models/plan_create_params.rb +30 -1
  66. data/lib/whop_sdk/models/plan_list_response.rb +31 -1
  67. data/lib/whop_sdk/models/plan_update_params.rb +30 -1
  68. data/lib/whop_sdk/models/product.rb +10 -1
  69. data/lib/whop_sdk/models/product_create_params.rb +11 -1
  70. data/lib/whop_sdk/models/product_list_item.rb +10 -1
  71. data/lib/whop_sdk/models/product_update_params.rb +11 -1
  72. data/lib/whop_sdk/models/refund_created_webhook_event.rb +84 -5
  73. data/lib/whop_sdk/models/refund_retrieve_response.rb +82 -5
  74. data/lib/whop_sdk/models/refund_updated_webhook_event.rb +84 -5
  75. data/lib/whop_sdk/models/resolution_center_case_platform_response.rb +0 -1
  76. data/lib/whop_sdk/models/result_label_keys.rb +38 -0
  77. data/lib/whop_sdk/models/swap_create_quote_params.rb +102 -0
  78. data/lib/whop_sdk/models/swap_create_quote_response.rb +104 -0
  79. data/lib/whop_sdk/models/transfer_create_params.rb +3 -1
  80. data/lib/whop_sdk/models/unwrap_webhook_event.rb +41 -33
  81. data/lib/whop_sdk/models/wallet_balance_params.rb +20 -0
  82. data/lib/whop_sdk/models/wallet_balance_response.rb +84 -0
  83. data/lib/whop_sdk/models/wallet_list_params.rb +14 -0
  84. data/lib/whop_sdk/models/wallet_list_response.rb +38 -0
  85. data/lib/whop_sdk/models/wallet_send_params.rb +37 -0
  86. data/lib/whop_sdk/models/wallet_send_response.rb +90 -0
  87. data/lib/whop_sdk/models/webhook_event.rb +4 -0
  88. data/lib/whop_sdk/models.rb +64 -0
  89. data/lib/whop_sdk/resources/accounts.rb +168 -0
  90. data/lib/whop_sdk/resources/ad_campaigns.rb +13 -13
  91. data/lib/whop_sdk/resources/ad_groups.rb +63 -8
  92. data/lib/whop_sdk/resources/ad_reports.rb +14 -8
  93. data/lib/whop_sdk/resources/ads.rb +66 -4
  94. data/lib/whop_sdk/resources/deposits.rb +46 -0
  95. data/lib/whop_sdk/resources/files.rb +1 -1
  96. data/lib/whop_sdk/resources/payments.rb +3 -1
  97. data/lib/whop_sdk/resources/plans.rb +10 -2
  98. data/lib/whop_sdk/resources/products.rb +6 -2
  99. data/lib/whop_sdk/resources/refunds.rb +2 -0
  100. data/lib/whop_sdk/resources/swaps.rb +52 -0
  101. data/lib/whop_sdk/resources/wallets.rb +78 -0
  102. data/lib/whop_sdk/resources/webhooks.rb +1 -1
  103. data/lib/whop_sdk/version.rb +1 -1
  104. data/lib/whop_sdk.rb +42 -7
  105. data/rbi/whop_sdk/client.rbi +14 -2
  106. data/rbi/whop_sdk/models/account.rbi +164 -0
  107. data/rbi/whop_sdk/models/account_create_params.rbi +59 -0
  108. data/rbi/whop_sdk/models/account_list_params.rbi +59 -0
  109. data/rbi/whop_sdk/models/account_list_response.rbi +115 -0
  110. data/rbi/whop_sdk/models/account_me_params.rbi +27 -0
  111. data/rbi/whop_sdk/models/account_retrieve_params.rbi +35 -0
  112. data/rbi/whop_sdk/models/account_social_link.rbi +96 -0
  113. data/rbi/whop_sdk/models/account_update_params.rbi +175 -0
  114. data/rbi/whop_sdk/models/account_wallet.rbi +75 -0
  115. data/rbi/whop_sdk/models/ad.rbi +143 -0
  116. data/rbi/whop_sdk/models/ad_budget_type.rbi +20 -0
  117. data/rbi/whop_sdk/models/{ad_campaign_pause_response.rbi → ad_campaign.rbi} +57 -245
  118. data/rbi/whop_sdk/models/ad_campaign_list_params.rbi +11 -46
  119. data/rbi/whop_sdk/models/ad_campaign_list_response.rbi +9 -143
  120. data/rbi/whop_sdk/models/ad_campaign_platform.rbi +22 -0
  121. data/rbi/whop_sdk/models/ad_campaign_status.rbi +27 -0
  122. data/rbi/whop_sdk/models/ad_group.rbi +126 -0
  123. data/rbi/whop_sdk/models/ad_group_list_params.rbi +13 -33
  124. data/rbi/whop_sdk/models/ad_group_list_response.rbi +41 -131
  125. data/rbi/whop_sdk/models/ad_group_pause_params.rbi +35 -0
  126. data/rbi/whop_sdk/models/ad_group_status.rbi +24 -0
  127. data/rbi/whop_sdk/models/ad_group_unpause_params.rbi +35 -0
  128. data/rbi/whop_sdk/models/ad_group_update_params.rbi +16 -67
  129. data/rbi/whop_sdk/models/ad_list_params.rbi +59 -14
  130. data/rbi/whop_sdk/models/ad_list_response.rbi +74 -62
  131. data/rbi/whop_sdk/models/ad_pause_params.rbi +35 -0
  132. data/rbi/whop_sdk/models/ad_report_retrieve_params.rbi +75 -19
  133. data/rbi/whop_sdk/models/ad_report_retrieve_response.rbi +537 -349
  134. data/rbi/whop_sdk/models/ad_unpause_params.rbi +35 -0
  135. data/rbi/whop_sdk/models/checkout_configuration.rbi +52 -0
  136. data/rbi/whop_sdk/models/checkout_configuration_create_params.rbi +56 -1
  137. data/rbi/whop_sdk/models/checkout_configuration_list_response.rbi +55 -0
  138. data/rbi/whop_sdk/models/currency.rbi +3 -0
  139. data/rbi/whop_sdk/models/deposit_create_params.rbi +152 -0
  140. data/rbi/whop_sdk/models/deposit_create_response.rbi +185 -0
  141. data/rbi/whop_sdk/models/dispute.rbi +7 -9
  142. data/rbi/whop_sdk/models/dispute_alert_created_webhook_event.rbi +5 -5
  143. data/rbi/whop_sdk/models/dispute_alert_retrieve_response.rbi +5 -5
  144. data/rbi/whop_sdk/models/dispute_list_response.rbi +2 -4
  145. data/rbi/whop_sdk/models/external_ad_status.rbi +26 -0
  146. data/rbi/whop_sdk/models/file_create_params.rbi +3 -30
  147. data/rbi/whop_sdk/models/file_create_response.rbi +3 -38
  148. data/rbi/whop_sdk/models/file_retrieve_response.rbi +3 -39
  149. data/rbi/whop_sdk/models/file_visibility.rbi +21 -0
  150. data/rbi/whop_sdk/models/granularities.rbi +20 -0
  151. data/rbi/whop_sdk/models/identity_profile_approved_webhook_event.rbi +669 -0
  152. data/rbi/whop_sdk/models/identity_profile_needs_action_webhook_event.rbi +669 -0
  153. data/rbi/whop_sdk/models/identity_profile_rejected_webhook_event.rbi +669 -0
  154. data/rbi/whop_sdk/models/identity_profile_updated_webhook_event.rbi +669 -0
  155. data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +109 -3
  156. data/rbi/whop_sdk/models/member_list_response.rbi +4 -2
  157. data/rbi/whop_sdk/models/member_retrieve_response.rbi +4 -2
  158. data/rbi/whop_sdk/models/membership.rbi +44 -5
  159. data/rbi/whop_sdk/models/membership_list_response.rbi +44 -5
  160. data/rbi/whop_sdk/models/payment.rbi +75 -36
  161. data/rbi/whop_sdk/models/payment_list_params.rbi +8 -0
  162. data/rbi/whop_sdk/models/payment_list_response.rbi +67 -24
  163. data/rbi/whop_sdk/models/plan.rbi +39 -0
  164. data/rbi/whop_sdk/models/plan_create_params.rbi +54 -0
  165. data/rbi/whop_sdk/models/plan_list_response.rbi +62 -0
  166. data/rbi/whop_sdk/models/plan_update_params.rbi +54 -0
  167. data/rbi/whop_sdk/models/product.rbi +10 -0
  168. data/rbi/whop_sdk/models/product_create_params.rbi +12 -0
  169. data/rbi/whop_sdk/models/product_list_item.rbi +10 -0
  170. data/rbi/whop_sdk/models/product_update_params.rbi +12 -0
  171. data/rbi/whop_sdk/models/refund_created_webhook_event.rbi +159 -5
  172. data/rbi/whop_sdk/models/refund_retrieve_response.rbi +157 -5
  173. data/rbi/whop_sdk/models/refund_updated_webhook_event.rbi +159 -5
  174. data/rbi/whop_sdk/models/resolution_center_case_platform_response.rbi +0 -5
  175. data/rbi/whop_sdk/models/result_label_keys.rbi +64 -0
  176. data/rbi/whop_sdk/models/swap_create_quote_params.rbi +134 -0
  177. data/rbi/whop_sdk/models/swap_create_quote_response.rbi +148 -0
  178. data/rbi/whop_sdk/models/transfer_create_params.rbi +6 -2
  179. data/rbi/whop_sdk/models/unwrap_webhook_event.rbi +25 -21
  180. data/rbi/whop_sdk/models/wallet_balance_params.rbi +35 -0
  181. data/rbi/whop_sdk/models/wallet_balance_response.rbi +145 -0
  182. data/rbi/whop_sdk/models/wallet_list_params.rbi +27 -0
  183. data/rbi/whop_sdk/models/wallet_list_response.rbi +66 -0
  184. data/rbi/whop_sdk/models/wallet_send_params.rbi +57 -0
  185. data/rbi/whop_sdk/models/wallet_send_response.rbi +146 -0
  186. data/rbi/whop_sdk/models/webhook_event.rbi +11 -0
  187. data/rbi/whop_sdk/models.rbi +68 -0
  188. data/rbi/whop_sdk/resources/accounts.rbi +137 -0
  189. data/rbi/whop_sdk/resources/ad_campaigns.rbi +8 -8
  190. data/rbi/whop_sdk/resources/ad_groups.rbi +47 -6
  191. data/rbi/whop_sdk/resources/ad_reports.rbi +23 -12
  192. data/rbi/whop_sdk/resources/ads.rbi +59 -2
  193. data/rbi/whop_sdk/resources/deposits.rbi +41 -0
  194. data/rbi/whop_sdk/resources/files.rbi +1 -2
  195. data/rbi/whop_sdk/resources/payments.rbi +3 -0
  196. data/rbi/whop_sdk/resources/plans.rbi +18 -0
  197. data/rbi/whop_sdk/resources/products.rbi +10 -0
  198. data/rbi/whop_sdk/resources/refunds.rbi +2 -0
  199. data/rbi/whop_sdk/resources/swaps.rbi +46 -0
  200. data/rbi/whop_sdk/resources/transfers.rbi +3 -1
  201. data/rbi/whop_sdk/resources/wallets.rbi +55 -0
  202. data/rbi/whop_sdk/resources/webhooks.rbi +25 -21
  203. data/sig/whop_sdk/client.rbs +8 -0
  204. data/sig/whop_sdk/models/account.rbs +100 -0
  205. data/sig/whop_sdk/models/account_create_params.rbs +32 -0
  206. data/sig/whop_sdk/models/account_list_params.rbs +32 -0
  207. data/sig/whop_sdk/models/account_list_response.rbs +62 -0
  208. data/sig/whop_sdk/models/account_me_params.rbs +14 -0
  209. data/sig/whop_sdk/models/account_retrieve_params.rbs +23 -0
  210. data/sig/whop_sdk/models/account_social_link.rbs +62 -0
  211. data/sig/whop_sdk/models/account_update_params.rbs +111 -0
  212. data/sig/whop_sdk/models/account_wallet.rbs +42 -0
  213. data/sig/whop_sdk/models/ad.rbs +75 -0
  214. data/sig/whop_sdk/models/ad_budget_type.rbs +14 -0
  215. data/sig/whop_sdk/models/ad_campaign.rbs +194 -0
  216. data/sig/whop_sdk/models/ad_campaign_list_params.rbs +9 -25
  217. data/sig/whop_sdk/models/ad_campaign_list_response.rbs +12 -50
  218. data/sig/whop_sdk/models/ad_campaign_platform.rbs +14 -0
  219. data/sig/whop_sdk/models/ad_campaign_status.rbs +19 -0
  220. data/sig/whop_sdk/models/ad_group.rbs +70 -0
  221. data/sig/whop_sdk/models/ad_group_list_params.rbs +9 -20
  222. data/sig/whop_sdk/models/ad_group_list_response.rbs +22 -45
  223. data/sig/whop_sdk/models/ad_group_pause_params.rbs +20 -0
  224. data/sig/whop_sdk/models/ad_group_status.rbs +19 -0
  225. data/sig/whop_sdk/models/ad_group_unpause_params.rbs +20 -0
  226. data/sig/whop_sdk/models/ad_group_update_params.rbs +18 -36
  227. data/sig/whop_sdk/models/ad_list_params.rbs +39 -14
  228. data/sig/whop_sdk/models/ad_list_response.rbs +28 -25
  229. data/sig/whop_sdk/models/ad_pause_params.rbs +20 -0
  230. data/sig/whop_sdk/models/ad_report_retrieve_params.rbs +26 -4
  231. data/sig/whop_sdk/models/ad_report_retrieve_response.rbs +240 -131
  232. data/sig/whop_sdk/models/ad_unpause_params.rbs +20 -0
  233. data/sig/whop_sdk/models/checkout_configuration.rbs +16 -0
  234. data/sig/whop_sdk/models/checkout_configuration_create_params.rbs +18 -2
  235. data/sig/whop_sdk/models/checkout_configuration_list_response.rbs +16 -0
  236. data/sig/whop_sdk/models/currency.rbs +6 -0
  237. data/sig/whop_sdk/models/deposit_create_params.rbs +81 -0
  238. data/sig/whop_sdk/models/deposit_create_response.rbs +99 -0
  239. data/sig/whop_sdk/models/dispute.rbs +4 -4
  240. data/sig/whop_sdk/models/dispute_alert_created_webhook_event.rbs +4 -4
  241. data/sig/whop_sdk/models/dispute_alert_retrieve_response.rbs +4 -4
  242. data/sig/whop_sdk/models/external_ad_status.rbs +19 -0
  243. data/sig/whop_sdk/models/file_create_params.rbs +4 -18
  244. data/sig/whop_sdk/models/file_create_response.rbs +4 -15
  245. data/sig/whop_sdk/models/file_retrieve_response.rbs +4 -15
  246. data/sig/whop_sdk/models/file_visibility.rbs +14 -0
  247. data/sig/whop_sdk/models/granularities.rbs +14 -0
  248. data/sig/whop_sdk/models/identity_profile_approved_webhook_event.rbs +293 -0
  249. data/sig/whop_sdk/models/identity_profile_needs_action_webhook_event.rbs +293 -0
  250. data/sig/whop_sdk/models/identity_profile_rejected_webhook_event.rbs +293 -0
  251. data/sig/whop_sdk/models/identity_profile_updated_webhook_event.rbs +293 -0
  252. data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +50 -3
  253. data/sig/whop_sdk/models/membership.rbs +19 -6
  254. data/sig/whop_sdk/models/membership_list_response.rbs +19 -6
  255. data/sig/whop_sdk/models/payment.rbs +52 -15
  256. data/sig/whop_sdk/models/payment_list_params.rbs +5 -0
  257. data/sig/whop_sdk/models/payment_list_response.rbs +52 -15
  258. data/sig/whop_sdk/models/plan.rbs +21 -0
  259. data/sig/whop_sdk/models/plan_create_params.rbs +21 -0
  260. data/sig/whop_sdk/models/plan_list_response.rbs +21 -0
  261. data/sig/whop_sdk/models/plan_update_params.rbs +21 -0
  262. data/sig/whop_sdk/models/product.rbs +5 -0
  263. data/sig/whop_sdk/models/product_create_params.rbs +5 -0
  264. data/sig/whop_sdk/models/product_list_item.rbs +5 -0
  265. data/sig/whop_sdk/models/product_update_params.rbs +5 -0
  266. data/sig/whop_sdk/models/refund_created_webhook_event.rbs +43 -4
  267. data/sig/whop_sdk/models/refund_retrieve_response.rbs +43 -4
  268. data/sig/whop_sdk/models/refund_updated_webhook_event.rbs +43 -4
  269. data/sig/whop_sdk/models/resolution_center_case_platform_response.rbs +0 -2
  270. data/sig/whop_sdk/models/result_label_keys.rbs +60 -0
  271. data/sig/whop_sdk/models/swap_create_quote_params.rbs +84 -0
  272. data/sig/whop_sdk/models/swap_create_quote_response.rbs +97 -0
  273. data/sig/whop_sdk/models/unwrap_webhook_event.rbs +26 -22
  274. data/sig/whop_sdk/models/wallet_balance_params.rbs +23 -0
  275. data/sig/whop_sdk/models/wallet_balance_response.rbs +87 -0
  276. data/sig/whop_sdk/models/wallet_list_params.rbs +14 -0
  277. data/sig/whop_sdk/models/wallet_list_response.rbs +40 -0
  278. data/sig/whop_sdk/models/wallet_send_params.rbs +32 -0
  279. data/sig/whop_sdk/models/wallet_send_response.rbs +79 -0
  280. data/sig/whop_sdk/models/webhook_event.rbs +8 -0
  281. data/sig/whop_sdk/models.rbs +64 -0
  282. data/sig/whop_sdk/resources/accounts.rbs +46 -0
  283. data/sig/whop_sdk/resources/ad_campaigns.rbs +6 -6
  284. data/sig/whop_sdk/resources/ad_groups.rbs +16 -5
  285. data/sig/whop_sdk/resources/ad_reports.rbs +3 -1
  286. data/sig/whop_sdk/resources/ads.rbs +18 -2
  287. data/sig/whop_sdk/resources/deposits.rbs +15 -0
  288. data/sig/whop_sdk/resources/files.rbs +1 -1
  289. data/sig/whop_sdk/resources/payments.rbs +1 -0
  290. data/sig/whop_sdk/resources/plans.rbs +4 -0
  291. data/sig/whop_sdk/resources/products.rbs +2 -0
  292. data/sig/whop_sdk/resources/swaps.rbs +20 -0
  293. data/sig/whop_sdk/resources/wallets.rbs +23 -0
  294. data/sig/whop_sdk/resources/webhooks.rbs +26 -22
  295. metadata +128 -23
  296. data/lib/whop_sdk/models/ad_campaign_retrieve_response.rb +0 -328
  297. data/lib/whop_sdk/models/ad_campaign_unpause_response.rb +0 -328
  298. data/lib/whop_sdk/models/ad_campaign_update_response.rb +0 -328
  299. data/lib/whop_sdk/models/ad_group_retrieve_response.rb +0 -140
  300. data/lib/whop_sdk/models/ad_group_update_response.rb +0 -140
  301. data/rbi/whop_sdk/models/ad_campaign_retrieve_response.rbi +0 -679
  302. data/rbi/whop_sdk/models/ad_campaign_unpause_response.rbi +0 -675
  303. data/rbi/whop_sdk/models/ad_campaign_update_response.rbi +0 -670
  304. data/rbi/whop_sdk/models/ad_group_retrieve_response.rbi +0 -277
  305. data/rbi/whop_sdk/models/ad_group_update_response.rbi +0 -274
  306. data/rbi/whop_sdk/models/ad_retrieve_response.rbi +0 -245
  307. data/sig/whop_sdk/models/ad_campaign_pause_response.rbs +0 -232
  308. data/sig/whop_sdk/models/ad_campaign_retrieve_response.rbs +0 -232
  309. data/sig/whop_sdk/models/ad_campaign_unpause_response.rbs +0 -232
  310. data/sig/whop_sdk/models/ad_campaign_update_response.rbs +0 -232
  311. data/sig/whop_sdk/models/ad_group_retrieve_response.rbs +0 -108
  312. data/sig/whop_sdk/models/ad_group_update_response.rbs +0 -108
  313. data/sig/whop_sdk/models/ad_retrieve_response.rbs +0 -102
@@ -168,26 +168,39 @@ module WhopSDK
168
168
  def to_hash: -> { id: String }
169
169
  end
170
170
 
171
- type plan = { id: String }
171
+ type plan = { id: String, metadata: ::Hash[Symbol, top]? }
172
172
 
173
173
  class Plan < WhopSDK::Internal::Type::BaseModel
174
174
  attr_accessor id: String
175
175
 
176
- def initialize: (id: String) -> void
176
+ attr_accessor metadata: ::Hash[Symbol, top]?
177
177
 
178
- def to_hash: -> { id: String }
178
+ def initialize: (id: String, metadata: ::Hash[Symbol, top]?) -> void
179
+
180
+ def to_hash: -> { id: String, metadata: ::Hash[Symbol, top]? }
179
181
  end
180
182
 
181
- type product = { id: String, title: String }
183
+ type product =
184
+ { id: String, metadata: ::Hash[Symbol, top]?, title: String }
182
185
 
183
186
  class Product < WhopSDK::Internal::Type::BaseModel
184
187
  attr_accessor id: String
185
188
 
189
+ attr_accessor metadata: ::Hash[Symbol, top]?
190
+
186
191
  attr_accessor title: String
187
192
 
188
- def initialize: (id: String, title: String) -> void
193
+ def initialize: (
194
+ id: String,
195
+ metadata: ::Hash[Symbol, top]?,
196
+ title: String
197
+ ) -> void
189
198
 
190
- def to_hash: -> { id: String, title: String }
199
+ def to_hash: -> {
200
+ id: String,
201
+ metadata: ::Hash[Symbol, top]?,
202
+ title: String
203
+ }
191
204
  end
192
205
 
193
206
  type promo_code = { id: String }
@@ -148,26 +148,39 @@ module WhopSDK
148
148
  def to_hash: -> { id: String }
149
149
  end
150
150
 
151
- type plan = { id: String }
151
+ type plan = { id: String, metadata: ::Hash[Symbol, top]? }
152
152
 
153
153
  class Plan < WhopSDK::Internal::Type::BaseModel
154
154
  attr_accessor id: String
155
155
 
156
- def initialize: (id: String) -> void
156
+ attr_accessor metadata: ::Hash[Symbol, top]?
157
157
 
158
- def to_hash: -> { id: String }
158
+ def initialize: (id: String, metadata: ::Hash[Symbol, top]?) -> void
159
+
160
+ def to_hash: -> { id: String, metadata: ::Hash[Symbol, top]? }
159
161
  end
160
162
 
161
- type product = { id: String, title: String }
163
+ type product =
164
+ { id: String, metadata: ::Hash[Symbol, top]?, title: String }
162
165
 
163
166
  class Product < WhopSDK::Internal::Type::BaseModel
164
167
  attr_accessor id: String
165
168
 
169
+ attr_accessor metadata: ::Hash[Symbol, top]?
170
+
166
171
  attr_accessor title: String
167
172
 
168
- def initialize: (id: String, title: String) -> void
173
+ def initialize: (
174
+ id: String,
175
+ metadata: ::Hash[Symbol, top]?,
176
+ title: String
177
+ ) -> void
169
178
 
170
- def to_hash: -> { id: String, title: String }
179
+ def to_hash: -> {
180
+ id: String,
181
+ metadata: ::Hash[Symbol, top]?,
182
+ title: String
183
+ }
171
184
  end
172
185
 
173
186
  type promo_code = { id: String }
@@ -13,7 +13,7 @@ module WhopSDK
13
13
  checkout_configuration_id: String?,
14
14
  company: WhopSDK::Payment::Company?,
15
15
  created_at: Time,
16
- currency: WhopSDK::Models::currency?,
16
+ currency: WhopSDK::Models::currency,
17
17
  dispute_alerted_at: Time?,
18
18
  disputes: ::Array[WhopSDK::Payment::Dispute]?,
19
19
  failure_message: String?,
@@ -37,7 +37,7 @@ module WhopSDK
37
37
  resolutions: ::Array[WhopSDK::Payment::Resolution]?,
38
38
  retryable: bool,
39
39
  settlement_amount: Float,
40
- settlement_currency: String,
40
+ settlement_currency: WhopSDK::Models::currency,
41
41
  settlement_exchange_rate: Float?,
42
42
  status: WhopSDK::Models::receipt_status?,
43
43
  substatus: WhopSDK::Models::friendly_receipt_status,
@@ -75,7 +75,7 @@ module WhopSDK
75
75
 
76
76
  attr_accessor created_at: Time
77
77
 
78
- attr_accessor currency: WhopSDK::Models::currency?
78
+ attr_accessor currency: WhopSDK::Models::currency
79
79
 
80
80
  attr_accessor dispute_alerted_at: Time?
81
81
 
@@ -123,7 +123,7 @@ module WhopSDK
123
123
 
124
124
  attr_accessor settlement_amount: Float
125
125
 
126
- attr_accessor settlement_currency: String
126
+ attr_accessor settlement_currency: WhopSDK::Models::currency
127
127
 
128
128
  attr_accessor settlement_exchange_rate: Float?
129
129
 
@@ -161,7 +161,7 @@ module WhopSDK
161
161
  checkout_configuration_id: String?,
162
162
  company: WhopSDK::Payment::Company?,
163
163
  created_at: Time,
164
- currency: WhopSDK::Models::currency?,
164
+ currency: WhopSDK::Models::currency,
165
165
  dispute_alerted_at: Time?,
166
166
  disputes: ::Array[WhopSDK::Payment::Dispute]?,
167
167
  failure_message: String?,
@@ -185,7 +185,7 @@ module WhopSDK
185
185
  resolutions: ::Array[WhopSDK::Payment::Resolution]?,
186
186
  retryable: bool,
187
187
  settlement_amount: Float,
188
- settlement_currency: String,
188
+ settlement_currency: WhopSDK::Models::currency,
189
189
  settlement_exchange_rate: Float?,
190
190
  status: WhopSDK::Models::receipt_status?,
191
191
  substatus: WhopSDK::Models::friendly_receipt_status,
@@ -212,7 +212,7 @@ module WhopSDK
212
212
  checkout_configuration_id: String?,
213
213
  company: WhopSDK::Payment::Company?,
214
214
  created_at: Time,
215
- currency: WhopSDK::Models::currency?,
215
+ currency: WhopSDK::Models::currency,
216
216
  dispute_alerted_at: Time?,
217
217
  disputes: ::Array[WhopSDK::Payment::Dispute]?,
218
218
  failure_message: String?,
@@ -236,7 +236,7 @@ module WhopSDK
236
236
  resolutions: ::Array[WhopSDK::Payment::Resolution]?,
237
237
  retryable: bool,
238
238
  settlement_amount: Float,
239
- settlement_currency: String,
239
+ settlement_currency: WhopSDK::Models::currency,
240
240
  settlement_exchange_rate: Float?,
241
241
  status: WhopSDK::Models::receipt_status?,
242
242
  substatus: WhopSDK::Models::friendly_receipt_status,
@@ -520,20 +520,28 @@ module WhopSDK
520
520
  end
521
521
 
522
522
  type membership =
523
- { id: String, status: WhopSDK::Models::membership_status }
523
+ {
524
+ id: String,
525
+ phone_number: String?,
526
+ status: WhopSDK::Models::membership_status
527
+ }
524
528
 
525
529
  class Membership < WhopSDK::Internal::Type::BaseModel
526
530
  attr_accessor id: String
527
531
 
532
+ attr_accessor phone_number: String?
533
+
528
534
  attr_accessor status: WhopSDK::Models::membership_status
529
535
 
530
536
  def initialize: (
531
537
  id: String,
538
+ phone_number: String?,
532
539
  status: WhopSDK::Models::membership_status
533
540
  ) -> void
534
541
 
535
542
  def to_hash: -> {
536
543
  id: String,
544
+ phone_number: String?,
537
545
  status: WhopSDK::Models::membership_status
538
546
  }
539
547
  end
@@ -602,30 +610,59 @@ module WhopSDK
602
610
  end
603
611
  end
604
612
 
605
- type plan = { id: String, internal_notes: String? }
613
+ type plan =
614
+ { id: String, internal_notes: String?, metadata: ::Hash[Symbol, top]? }
606
615
 
607
616
  class Plan < WhopSDK::Internal::Type::BaseModel
608
617
  attr_accessor id: String
609
618
 
610
619
  attr_accessor internal_notes: String?
611
620
 
612
- def initialize: (id: String, internal_notes: String?) -> void
621
+ attr_accessor metadata: ::Hash[Symbol, top]?
622
+
623
+ def initialize: (
624
+ id: String,
625
+ internal_notes: String?,
626
+ metadata: ::Hash[Symbol, top]?
627
+ ) -> void
613
628
 
614
- def to_hash: -> { id: String, internal_notes: String? }
629
+ def to_hash: -> {
630
+ id: String,
631
+ internal_notes: String?,
632
+ metadata: ::Hash[Symbol, top]?
633
+ }
615
634
  end
616
635
 
617
- type product = { id: String, route: String, title: String }
636
+ type product =
637
+ {
638
+ id: String,
639
+ metadata: ::Hash[Symbol, top]?,
640
+ route: String,
641
+ title: String
642
+ }
618
643
 
619
644
  class Product < WhopSDK::Internal::Type::BaseModel
620
645
  attr_accessor id: String
621
646
 
647
+ attr_accessor metadata: ::Hash[Symbol, top]?
648
+
622
649
  attr_accessor route: String
623
650
 
624
651
  attr_accessor title: String
625
652
 
626
- def initialize: (id: String, route: String, title: String) -> void
653
+ def initialize: (
654
+ id: String,
655
+ metadata: ::Hash[Symbol, top]?,
656
+ route: String,
657
+ title: String
658
+ ) -> void
627
659
 
628
- def to_hash: -> { id: String, route: String, title: String }
660
+ def to_hash: -> {
661
+ id: String,
662
+ metadata: ::Hash[Symbol, top]?,
663
+ route: String,
664
+ title: String
665
+ }
629
666
  end
630
667
 
631
668
  type promo_code =
@@ -5,6 +5,7 @@ module WhopSDK
5
5
  after: String?,
6
6
  before: String?,
7
7
  billing_reasons: ::Array[WhopSDK::Models::billing_reasons]?,
8
+ checkout_configuration_ids: ::Array[String]?,
8
9
  company_id: String?,
9
10
  created_after: Time?,
10
11
  created_before: Time?,
@@ -34,6 +35,8 @@ module WhopSDK
34
35
 
35
36
  attr_accessor billing_reasons: ::Array[WhopSDK::Models::billing_reasons]?
36
37
 
38
+ attr_accessor checkout_configuration_ids: ::Array[String]?
39
+
37
40
  attr_accessor company_id: String?
38
41
 
39
42
  attr_accessor created_after: Time?
@@ -70,6 +73,7 @@ module WhopSDK
70
73
  ?after: String?,
71
74
  ?before: String?,
72
75
  ?billing_reasons: ::Array[WhopSDK::Models::billing_reasons]?,
76
+ ?checkout_configuration_ids: ::Array[String]?,
73
77
  ?company_id: String?,
74
78
  ?created_after: Time?,
75
79
  ?created_before: Time?,
@@ -93,6 +97,7 @@ module WhopSDK
93
97
  after: String?,
94
98
  before: String?,
95
99
  billing_reasons: ::Array[WhopSDK::Models::billing_reasons]?,
100
+ checkout_configuration_ids: ::Array[String]?,
96
101
  company_id: String?,
97
102
  created_after: Time?,
98
103
  created_before: Time?,
@@ -13,7 +13,7 @@ module WhopSDK
13
13
  checkout_configuration_id: String?,
14
14
  company: WhopSDK::Models::PaymentListResponse::Company?,
15
15
  created_at: Time,
16
- currency: WhopSDK::Models::currency?,
16
+ currency: WhopSDK::Models::currency,
17
17
  dispute_alerted_at: Time?,
18
18
  failure_message: String?,
19
19
  last_payment_attempt: Time?,
@@ -32,7 +32,7 @@ module WhopSDK
32
32
  refunded_amount: Float?,
33
33
  refunded_at: Time?,
34
34
  retryable: bool,
35
- settlement_currency: String,
35
+ settlement_currency: WhopSDK::Models::currency,
36
36
  status: WhopSDK::Models::receipt_status?,
37
37
  substatus: WhopSDK::Models::friendly_receipt_status,
38
38
  subtotal: Float?,
@@ -68,7 +68,7 @@ module WhopSDK
68
68
 
69
69
  attr_accessor created_at: Time
70
70
 
71
- attr_accessor currency: WhopSDK::Models::currency?
71
+ attr_accessor currency: WhopSDK::Models::currency
72
72
 
73
73
  attr_accessor dispute_alerted_at: Time?
74
74
 
@@ -106,7 +106,7 @@ module WhopSDK
106
106
 
107
107
  attr_accessor retryable: bool
108
108
 
109
- attr_accessor settlement_currency: String
109
+ attr_accessor settlement_currency: WhopSDK::Models::currency
110
110
 
111
111
  attr_accessor status: WhopSDK::Models::receipt_status?
112
112
 
@@ -140,7 +140,7 @@ module WhopSDK
140
140
  checkout_configuration_id: String?,
141
141
  company: WhopSDK::Models::PaymentListResponse::Company?,
142
142
  created_at: Time,
143
- currency: WhopSDK::Models::currency?,
143
+ currency: WhopSDK::Models::currency,
144
144
  dispute_alerted_at: Time?,
145
145
  failure_message: String?,
146
146
  last_payment_attempt: Time?,
@@ -159,7 +159,7 @@ module WhopSDK
159
159
  refunded_amount: Float?,
160
160
  refunded_at: Time?,
161
161
  retryable: bool,
162
- settlement_currency: String,
162
+ settlement_currency: WhopSDK::Models::currency,
163
163
  status: WhopSDK::Models::receipt_status?,
164
164
  substatus: WhopSDK::Models::friendly_receipt_status,
165
165
  subtotal: Float?,
@@ -184,7 +184,7 @@ module WhopSDK
184
184
  checkout_configuration_id: String?,
185
185
  company: WhopSDK::Models::PaymentListResponse::Company?,
186
186
  created_at: Time,
187
- currency: WhopSDK::Models::currency?,
187
+ currency: WhopSDK::Models::currency,
188
188
  dispute_alerted_at: Time?,
189
189
  failure_message: String?,
190
190
  last_payment_attempt: Time?,
@@ -203,7 +203,7 @@ module WhopSDK
203
203
  refunded_amount: Float?,
204
204
  refunded_at: Time?,
205
205
  retryable: bool,
206
- settlement_currency: String,
206
+ settlement_currency: WhopSDK::Models::currency,
207
207
  status: WhopSDK::Models::receipt_status?,
208
208
  substatus: WhopSDK::Models::friendly_receipt_status,
209
209
  subtotal: Float?,
@@ -332,20 +332,28 @@ module WhopSDK
332
332
  end
333
333
 
334
334
  type membership =
335
- { id: String, status: WhopSDK::Models::membership_status }
335
+ {
336
+ id: String,
337
+ phone_number: String?,
338
+ status: WhopSDK::Models::membership_status
339
+ }
336
340
 
337
341
  class Membership < WhopSDK::Internal::Type::BaseModel
338
342
  attr_accessor id: String
339
343
 
344
+ attr_accessor phone_number: String?
345
+
340
346
  attr_accessor status: WhopSDK::Models::membership_status
341
347
 
342
348
  def initialize: (
343
349
  id: String,
350
+ phone_number: String?,
344
351
  status: WhopSDK::Models::membership_status
345
352
  ) -> void
346
353
 
347
354
  def to_hash: -> {
348
355
  id: String,
356
+ phone_number: String?,
349
357
  status: WhopSDK::Models::membership_status
350
358
  }
351
359
  end
@@ -414,30 +422,59 @@ module WhopSDK
414
422
  end
415
423
  end
416
424
 
417
- type plan = { id: String, internal_notes: String? }
425
+ type plan =
426
+ { id: String, internal_notes: String?, metadata: ::Hash[Symbol, top]? }
418
427
 
419
428
  class Plan < WhopSDK::Internal::Type::BaseModel
420
429
  attr_accessor id: String
421
430
 
422
431
  attr_accessor internal_notes: String?
423
432
 
424
- def initialize: (id: String, internal_notes: String?) -> void
433
+ attr_accessor metadata: ::Hash[Symbol, top]?
434
+
435
+ def initialize: (
436
+ id: String,
437
+ internal_notes: String?,
438
+ metadata: ::Hash[Symbol, top]?
439
+ ) -> void
425
440
 
426
- def to_hash: -> { id: String, internal_notes: String? }
441
+ def to_hash: -> {
442
+ id: String,
443
+ internal_notes: String?,
444
+ metadata: ::Hash[Symbol, top]?
445
+ }
427
446
  end
428
447
 
429
- type product = { id: String, route: String, title: String }
448
+ type product =
449
+ {
450
+ id: String,
451
+ metadata: ::Hash[Symbol, top]?,
452
+ route: String,
453
+ title: String
454
+ }
430
455
 
431
456
  class Product < WhopSDK::Internal::Type::BaseModel
432
457
  attr_accessor id: String
433
458
 
459
+ attr_accessor metadata: ::Hash[Symbol, top]?
460
+
434
461
  attr_accessor route: String
435
462
 
436
463
  attr_accessor title: String
437
464
 
438
- def initialize: (id: String, route: String, title: String) -> void
465
+ def initialize: (
466
+ id: String,
467
+ metadata: ::Hash[Symbol, top]?,
468
+ route: String,
469
+ title: String
470
+ ) -> void
439
471
 
440
- def to_hash: -> { id: String, route: String, title: String }
472
+ def to_hash: -> {
473
+ id: String,
474
+ metadata: ::Hash[Symbol, top]?,
475
+ route: String,
476
+ title: String
477
+ }
441
478
  end
442
479
 
443
480
  type promo_code =
@@ -16,6 +16,7 @@ module WhopSDK
16
16
  internal_notes: String?,
17
17
  invoice: WhopSDK::Plan::Invoice?,
18
18
  member_count: Integer?,
19
+ metadata: ::Hash[Symbol, top]?,
19
20
  payment_method_configuration: WhopSDK::Plan::PaymentMethodConfiguration?,
20
21
  plan_type: WhopSDK::Models::plan_type,
21
22
  product: WhopSDK::Plan::Product?,
@@ -25,6 +26,7 @@ module WhopSDK
25
26
  split_pay_required_payments: Integer?,
26
27
  stock: Integer?,
27
28
  tax_type: WhopSDK::Models::tax_type,
29
+ three_ds_level: WhopSDK::Models::Plan::three_ds_level?,
28
30
  title: String?,
29
31
  trial_period_days: Integer?,
30
32
  unlimited_stock: bool,
@@ -61,6 +63,8 @@ module WhopSDK
61
63
 
62
64
  attr_accessor member_count: Integer?
63
65
 
66
+ attr_accessor metadata: ::Hash[Symbol, top]?
67
+
64
68
  attr_accessor payment_method_configuration: WhopSDK::Plan::PaymentMethodConfiguration?
65
69
 
66
70
  attr_accessor plan_type: WhopSDK::Models::plan_type
@@ -79,6 +83,8 @@ module WhopSDK
79
83
 
80
84
  attr_accessor tax_type: WhopSDK::Models::tax_type
81
85
 
86
+ attr_accessor three_ds_level: WhopSDK::Models::Plan::three_ds_level?
87
+
82
88
  attr_accessor title: String?
83
89
 
84
90
  attr_accessor trial_period_days: Integer?
@@ -104,6 +110,7 @@ module WhopSDK
104
110
  internal_notes: String?,
105
111
  invoice: WhopSDK::Plan::Invoice?,
106
112
  member_count: Integer?,
113
+ metadata: ::Hash[Symbol, top]?,
107
114
  payment_method_configuration: WhopSDK::Plan::PaymentMethodConfiguration?,
108
115
  plan_type: WhopSDK::Models::plan_type,
109
116
  product: WhopSDK::Plan::Product?,
@@ -113,6 +120,7 @@ module WhopSDK
113
120
  split_pay_required_payments: Integer?,
114
121
  stock: Integer?,
115
122
  tax_type: WhopSDK::Models::tax_type,
123
+ three_ds_level: WhopSDK::Models::Plan::three_ds_level?,
116
124
  title: String?,
117
125
  trial_period_days: Integer?,
118
126
  unlimited_stock: bool,
@@ -135,6 +143,7 @@ module WhopSDK
135
143
  internal_notes: String?,
136
144
  invoice: WhopSDK::Plan::Invoice?,
137
145
  member_count: Integer?,
146
+ metadata: ::Hash[Symbol, top]?,
138
147
  payment_method_configuration: WhopSDK::Plan::PaymentMethodConfiguration?,
139
148
  plan_type: WhopSDK::Models::plan_type,
140
149
  product: WhopSDK::Plan::Product?,
@@ -144,6 +153,7 @@ module WhopSDK
144
153
  split_pay_required_payments: Integer?,
145
154
  stock: Integer?,
146
155
  tax_type: WhopSDK::Models::tax_type,
156
+ three_ds_level: WhopSDK::Models::Plan::three_ds_level?,
147
157
  title: String?,
148
158
  trial_period_days: Integer?,
149
159
  unlimited_stock: bool,
@@ -253,6 +263,17 @@ module WhopSDK
253
263
 
254
264
  def to_hash: -> { id: String, title: String }
255
265
  end
266
+
267
+ type three_ds_level = :mandate_challenge | :frictionless
268
+
269
+ module ThreeDSLevel
270
+ extend WhopSDK::Internal::Type::Enum
271
+
272
+ MANDATE_CHALLENGE: :mandate_challenge
273
+ FRICTIONLESS: :frictionless
274
+
275
+ def self?.values: -> ::Array[WhopSDK::Models::Plan::three_ds_level]
276
+ end
256
277
  end
257
278
  end
258
279
  end
@@ -15,6 +15,7 @@ module WhopSDK
15
15
  initial_price: Float?,
16
16
  internal_notes: String?,
17
17
  legacy_payment_method_controls: bool?,
18
+ metadata: ::Hash[Symbol, top]?,
18
19
  override_tax_type: WhopSDK::Models::tax_type?,
19
20
  payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?,
20
21
  plan_type: WhopSDK::Models::plan_type?,
@@ -22,6 +23,7 @@ module WhopSDK
22
23
  renewal_price: Float?,
23
24
  split_pay_required_payments: Integer?,
24
25
  stock: Integer?,
26
+ three_ds_level: WhopSDK::Models::PlanCreateParams::three_ds_level?,
25
27
  title: String?,
26
28
  trial_period_days: Integer?,
27
29
  unlimited_stock: bool?,
@@ -59,6 +61,8 @@ module WhopSDK
59
61
 
60
62
  attr_accessor legacy_payment_method_controls: bool?
61
63
 
64
+ attr_accessor metadata: ::Hash[Symbol, top]?
65
+
62
66
  attr_accessor override_tax_type: WhopSDK::Models::tax_type?
63
67
 
64
68
  attr_accessor payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?
@@ -73,6 +77,8 @@ module WhopSDK
73
77
 
74
78
  attr_accessor stock: Integer?
75
79
 
80
+ attr_accessor three_ds_level: WhopSDK::Models::PlanCreateParams::three_ds_level?
81
+
76
82
  attr_accessor title: String?
77
83
 
78
84
  attr_accessor trial_period_days: Integer?
@@ -95,6 +101,7 @@ module WhopSDK
95
101
  ?initial_price: Float?,
96
102
  ?internal_notes: String?,
97
103
  ?legacy_payment_method_controls: bool?,
104
+ ?metadata: ::Hash[Symbol, top]?,
98
105
  ?override_tax_type: WhopSDK::Models::tax_type?,
99
106
  ?payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?,
100
107
  ?plan_type: WhopSDK::Models::plan_type?,
@@ -102,6 +109,7 @@ module WhopSDK
102
109
  ?renewal_price: Float?,
103
110
  ?split_pay_required_payments: Integer?,
104
111
  ?stock: Integer?,
112
+ ?three_ds_level: WhopSDK::Models::PlanCreateParams::three_ds_level?,
105
113
  ?title: String?,
106
114
  ?trial_period_days: Integer?,
107
115
  ?unlimited_stock: bool?,
@@ -123,6 +131,7 @@ module WhopSDK
123
131
  initial_price: Float?,
124
132
  internal_notes: String?,
125
133
  legacy_payment_method_controls: bool?,
134
+ metadata: ::Hash[Symbol, top]?,
126
135
  override_tax_type: WhopSDK::Models::tax_type?,
127
136
  payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?,
128
137
  plan_type: WhopSDK::Models::plan_type?,
@@ -130,6 +139,7 @@ module WhopSDK
130
139
  renewal_price: Float?,
131
140
  split_pay_required_payments: Integer?,
132
141
  stock: Integer?,
142
+ three_ds_level: WhopSDK::Models::PlanCreateParams::three_ds_level?,
133
143
  title: String?,
134
144
  trial_period_days: Integer?,
135
145
  unlimited_stock: bool?,
@@ -247,6 +257,17 @@ module WhopSDK
247
257
  include_platform_defaults: bool?
248
258
  }
249
259
  end
260
+
261
+ type three_ds_level = :mandate_challenge | :frictionless
262
+
263
+ module ThreeDSLevel
264
+ extend WhopSDK::Internal::Type::Enum
265
+
266
+ MANDATE_CHALLENGE: :mandate_challenge
267
+ FRICTIONLESS: :frictionless
268
+
269
+ def self?.values: -> ::Array[WhopSDK::Models::PlanCreateParams::three_ds_level]
270
+ end
250
271
  end
251
272
  end
252
273
  end
@@ -14,6 +14,7 @@ module WhopSDK
14
14
  internal_notes: String?,
15
15
  invoice: WhopSDK::Models::PlanListResponse::Invoice?,
16
16
  member_count: Integer?,
17
+ metadata: ::Hash[Symbol, top]?,
17
18
  payment_method_configuration: WhopSDK::Models::PlanListResponse::PaymentMethodConfiguration?,
18
19
  plan_type: WhopSDK::Models::plan_type,
19
20
  product: WhopSDK::Models::PlanListResponse::Product?,
@@ -22,6 +23,7 @@ module WhopSDK
22
23
  renewal_price: Float,
23
24
  split_pay_required_payments: Integer?,
24
25
  stock: Integer?,
26
+ three_ds_level: WhopSDK::Models::PlanListResponse::three_ds_level?,
25
27
  title: String?,
26
28
  trial_period_days: Integer?,
27
29
  unlimited_stock: bool,
@@ -54,6 +56,8 @@ module WhopSDK
54
56
 
55
57
  attr_accessor member_count: Integer?
56
58
 
59
+ attr_accessor metadata: ::Hash[Symbol, top]?
60
+
57
61
  attr_accessor payment_method_configuration: WhopSDK::Models::PlanListResponse::PaymentMethodConfiguration?
58
62
 
59
63
  attr_accessor plan_type: WhopSDK::Models::plan_type
@@ -70,6 +74,8 @@ module WhopSDK
70
74
 
71
75
  attr_accessor stock: Integer?
72
76
 
77
+ attr_accessor three_ds_level: WhopSDK::Models::PlanListResponse::three_ds_level?
78
+
73
79
  attr_accessor title: String?
74
80
 
75
81
  attr_accessor trial_period_days: Integer?
@@ -93,6 +99,7 @@ module WhopSDK
93
99
  internal_notes: String?,
94
100
  invoice: WhopSDK::Models::PlanListResponse::Invoice?,
95
101
  member_count: Integer?,
102
+ metadata: ::Hash[Symbol, top]?,
96
103
  payment_method_configuration: WhopSDK::Models::PlanListResponse::PaymentMethodConfiguration?,
97
104
  plan_type: WhopSDK::Models::plan_type,
98
105
  product: WhopSDK::Models::PlanListResponse::Product?,
@@ -101,6 +108,7 @@ module WhopSDK
101
108
  renewal_price: Float,
102
109
  split_pay_required_payments: Integer?,
103
110
  stock: Integer?,
111
+ three_ds_level: WhopSDK::Models::PlanListResponse::three_ds_level?,
104
112
  title: String?,
105
113
  trial_period_days: Integer?,
106
114
  unlimited_stock: bool,
@@ -121,6 +129,7 @@ module WhopSDK
121
129
  internal_notes: String?,
122
130
  invoice: WhopSDK::Models::PlanListResponse::Invoice?,
123
131
  member_count: Integer?,
132
+ metadata: ::Hash[Symbol, top]?,
124
133
  payment_method_configuration: WhopSDK::Models::PlanListResponse::PaymentMethodConfiguration?,
125
134
  plan_type: WhopSDK::Models::plan_type,
126
135
  product: WhopSDK::Models::PlanListResponse::Product?,
@@ -129,6 +138,7 @@ module WhopSDK
129
138
  renewal_price: Float,
130
139
  split_pay_required_payments: Integer?,
131
140
  stock: Integer?,
141
+ three_ds_level: WhopSDK::Models::PlanListResponse::three_ds_level?,
132
142
  title: String?,
133
143
  trial_period_days: Integer?,
134
144
  unlimited_stock: bool,
@@ -196,6 +206,17 @@ module WhopSDK
196
206
 
197
207
  def to_hash: -> { id: String, title: String }
198
208
  end
209
+
210
+ type three_ds_level = :mandate_challenge | :frictionless
211
+
212
+ module ThreeDSLevel
213
+ extend WhopSDK::Internal::Type::Enum
214
+
215
+ MANDATE_CHALLENGE: :mandate_challenge
216
+ FRICTIONLESS: :frictionless
217
+
218
+ def self?.values: -> ::Array[WhopSDK::Models::PlanListResponse::three_ds_level]
219
+ end
199
220
  end
200
221
  end
201
222
  end