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
@@ -0,0 +1,293 @@
1
+ module WhopSDK
2
+ module Models
3
+ type identity_profile_rejected_webhook_event =
4
+ {
5
+ id: String,
6
+ api_version: :v1,
7
+ data: WhopSDK::IdentityProfileRejectedWebhookEvent::Data,
8
+ timestamp: Time,
9
+ type: :"identity_profile.rejected",
10
+ company_id: String?
11
+ }
12
+
13
+ class IdentityProfileRejectedWebhookEvent < WhopSDK::Internal::Type::BaseModel
14
+ attr_accessor id: String
15
+
16
+ attr_accessor api_version: :v1
17
+
18
+ attr_accessor data: WhopSDK::IdentityProfileRejectedWebhookEvent::Data
19
+
20
+ attr_accessor timestamp: Time
21
+
22
+ attr_accessor type: :"identity_profile.rejected"
23
+
24
+ attr_accessor company_id: String?
25
+
26
+ def initialize: (
27
+ id: String,
28
+ data: WhopSDK::IdentityProfileRejectedWebhookEvent::Data,
29
+ timestamp: Time,
30
+ ?company_id: String?,
31
+ ?api_version: :v1,
32
+ ?type: :"identity_profile.rejected"
33
+ ) -> void
34
+
35
+ def to_hash: -> {
36
+ id: String,
37
+ api_version: :v1,
38
+ data: WhopSDK::IdentityProfileRejectedWebhookEvent::Data,
39
+ timestamp: Time,
40
+ type: :"identity_profile.rejected",
41
+ company_id: String?
42
+ }
43
+
44
+ type data =
45
+ {
46
+ id: String,
47
+ business_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::BusinessAddress?,
48
+ business_name: String?,
49
+ business_structure: String?,
50
+ country: String?,
51
+ created_at: Time,
52
+ date_of_birth: String?,
53
+ email: String?,
54
+ first_name: String?,
55
+ last_name: String?,
56
+ linked_companies: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::LinkedCompany],
57
+ personal_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::PersonalAddress?,
58
+ phone: String?,
59
+ profile_type: String,
60
+ status: WhopSDK::Models::IdentityProfileRejectedWebhookEvent::Data::status,
61
+ updated_at: Time,
62
+ verifications: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::Verification]
63
+ }
64
+
65
+ class Data < WhopSDK::Internal::Type::BaseModel
66
+ attr_accessor id: String
67
+
68
+ attr_accessor business_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::BusinessAddress?
69
+
70
+ attr_accessor business_name: String?
71
+
72
+ attr_accessor business_structure: String?
73
+
74
+ attr_accessor country: String?
75
+
76
+ attr_accessor created_at: Time
77
+
78
+ attr_accessor date_of_birth: String?
79
+
80
+ attr_accessor email: String?
81
+
82
+ attr_accessor first_name: String?
83
+
84
+ attr_accessor last_name: String?
85
+
86
+ attr_accessor linked_companies: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::LinkedCompany]
87
+
88
+ attr_accessor personal_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::PersonalAddress?
89
+
90
+ attr_accessor phone: String?
91
+
92
+ attr_accessor profile_type: String
93
+
94
+ attr_accessor status: WhopSDK::Models::IdentityProfileRejectedWebhookEvent::Data::status
95
+
96
+ attr_accessor updated_at: Time
97
+
98
+ attr_accessor verifications: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::Verification]
99
+
100
+ def initialize: (
101
+ id: String,
102
+ business_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::BusinessAddress?,
103
+ business_name: String?,
104
+ business_structure: String?,
105
+ country: String?,
106
+ created_at: Time,
107
+ date_of_birth: String?,
108
+ email: String?,
109
+ first_name: String?,
110
+ last_name: String?,
111
+ linked_companies: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::LinkedCompany],
112
+ personal_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::PersonalAddress?,
113
+ phone: String?,
114
+ profile_type: String,
115
+ status: WhopSDK::Models::IdentityProfileRejectedWebhookEvent::Data::status,
116
+ updated_at: Time,
117
+ verifications: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::Verification]
118
+ ) -> void
119
+
120
+ def to_hash: -> {
121
+ id: String,
122
+ business_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::BusinessAddress?,
123
+ business_name: String?,
124
+ business_structure: String?,
125
+ country: String?,
126
+ created_at: Time,
127
+ date_of_birth: String?,
128
+ email: String?,
129
+ first_name: String?,
130
+ last_name: String?,
131
+ linked_companies: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::LinkedCompany],
132
+ personal_address: WhopSDK::IdentityProfileRejectedWebhookEvent::Data::PersonalAddress?,
133
+ phone: String?,
134
+ profile_type: String,
135
+ status: WhopSDK::Models::IdentityProfileRejectedWebhookEvent::Data::status,
136
+ updated_at: Time,
137
+ verifications: ::Array[WhopSDK::IdentityProfileRejectedWebhookEvent::Data::Verification]
138
+ }
139
+
140
+ type business_address =
141
+ {
142
+ city: String?,
143
+ country: String?,
144
+ :line1 => String?,
145
+ :line2 => String?,
146
+ postal_code: String?,
147
+ state: String?
148
+ }
149
+
150
+ class BusinessAddress < WhopSDK::Internal::Type::BaseModel
151
+ attr_accessor city: String?
152
+
153
+ attr_accessor country: String?
154
+
155
+ attr_accessor line1: String?
156
+
157
+ attr_accessor line2: String?
158
+
159
+ attr_accessor postal_code: String?
160
+
161
+ attr_accessor state: String?
162
+
163
+ def initialize: (
164
+ city: String?,
165
+ country: String?,
166
+ line1: String?,
167
+ line2: String?,
168
+ postal_code: String?,
169
+ state: String?
170
+ ) -> void
171
+
172
+ def to_hash: -> {
173
+ city: String?,
174
+ country: String?,
175
+ :line1 => String?,
176
+ :line2 => String?,
177
+ postal_code: String?,
178
+ state: String?
179
+ }
180
+ end
181
+
182
+ type linked_company = { id: String, title: String }
183
+
184
+ class LinkedCompany < WhopSDK::Internal::Type::BaseModel
185
+ attr_accessor id: String
186
+
187
+ attr_accessor title: String
188
+
189
+ def initialize: (id: String, title: String) -> void
190
+
191
+ def to_hash: -> { id: String, title: String }
192
+ end
193
+
194
+ type personal_address =
195
+ {
196
+ city: String?,
197
+ country: String?,
198
+ :line1 => String?,
199
+ :line2 => String?,
200
+ postal_code: String?,
201
+ state: String?
202
+ }
203
+
204
+ class PersonalAddress < WhopSDK::Internal::Type::BaseModel
205
+ attr_accessor city: String?
206
+
207
+ attr_accessor country: String?
208
+
209
+ attr_accessor line1: String?
210
+
211
+ attr_accessor line2: String?
212
+
213
+ attr_accessor postal_code: String?
214
+
215
+ attr_accessor state: String?
216
+
217
+ def initialize: (
218
+ city: String?,
219
+ country: String?,
220
+ line1: String?,
221
+ line2: String?,
222
+ postal_code: String?,
223
+ state: String?
224
+ ) -> void
225
+
226
+ def to_hash: -> {
227
+ city: String?,
228
+ country: String?,
229
+ :line1 => String?,
230
+ :line2 => String?,
231
+ postal_code: String?,
232
+ state: String?
233
+ }
234
+ end
235
+
236
+ type status = :not_started | :pending | :approved | :rejected
237
+
238
+ module Status
239
+ extend WhopSDK::Internal::Type::Enum
240
+
241
+ NOT_STARTED: :not_started
242
+ PENDING: :pending
243
+ APPROVED: :approved
244
+ REJECTED: :rejected
245
+
246
+ def self?.values: -> ::Array[WhopSDK::Models::IdentityProfileRejectedWebhookEvent::Data::status]
247
+ end
248
+
249
+ type verification =
250
+ {
251
+ id: String,
252
+ created_at: Time,
253
+ last_error_code: WhopSDK::Models::verification_error_code?,
254
+ last_error_reason: String?,
255
+ session_url: String?,
256
+ status: WhopSDK::Models::verification_status
257
+ }
258
+
259
+ class Verification < WhopSDK::Internal::Type::BaseModel
260
+ attr_accessor id: String
261
+
262
+ attr_accessor created_at: Time
263
+
264
+ attr_accessor last_error_code: WhopSDK::Models::verification_error_code?
265
+
266
+ attr_accessor last_error_reason: String?
267
+
268
+ attr_accessor session_url: String?
269
+
270
+ attr_accessor status: WhopSDK::Models::verification_status
271
+
272
+ def initialize: (
273
+ id: String,
274
+ created_at: Time,
275
+ last_error_code: WhopSDK::Models::verification_error_code?,
276
+ last_error_reason: String?,
277
+ session_url: String?,
278
+ status: WhopSDK::Models::verification_status
279
+ ) -> void
280
+
281
+ def to_hash: -> {
282
+ id: String,
283
+ created_at: Time,
284
+ last_error_code: WhopSDK::Models::verification_error_code?,
285
+ last_error_reason: String?,
286
+ session_url: String?,
287
+ status: WhopSDK::Models::verification_status
288
+ }
289
+ end
290
+ end
291
+ end
292
+ end
293
+ end
@@ -0,0 +1,293 @@
1
+ module WhopSDK
2
+ module Models
3
+ type identity_profile_updated_webhook_event =
4
+ {
5
+ id: String,
6
+ api_version: :v1,
7
+ data: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data,
8
+ timestamp: Time,
9
+ type: :"identity_profile.updated",
10
+ company_id: String?
11
+ }
12
+
13
+ class IdentityProfileUpdatedWebhookEvent < WhopSDK::Internal::Type::BaseModel
14
+ attr_accessor id: String
15
+
16
+ attr_accessor api_version: :v1
17
+
18
+ attr_accessor data: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data
19
+
20
+ attr_accessor timestamp: Time
21
+
22
+ attr_accessor type: :"identity_profile.updated"
23
+
24
+ attr_accessor company_id: String?
25
+
26
+ def initialize: (
27
+ id: String,
28
+ data: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data,
29
+ timestamp: Time,
30
+ ?company_id: String?,
31
+ ?api_version: :v1,
32
+ ?type: :"identity_profile.updated"
33
+ ) -> void
34
+
35
+ def to_hash: -> {
36
+ id: String,
37
+ api_version: :v1,
38
+ data: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data,
39
+ timestamp: Time,
40
+ type: :"identity_profile.updated",
41
+ company_id: String?
42
+ }
43
+
44
+ type data =
45
+ {
46
+ id: String,
47
+ business_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::BusinessAddress?,
48
+ business_name: String?,
49
+ business_structure: String?,
50
+ country: String?,
51
+ created_at: Time,
52
+ date_of_birth: String?,
53
+ email: String?,
54
+ first_name: String?,
55
+ last_name: String?,
56
+ linked_companies: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::LinkedCompany],
57
+ personal_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::PersonalAddress?,
58
+ phone: String?,
59
+ profile_type: String,
60
+ status: WhopSDK::Models::IdentityProfileUpdatedWebhookEvent::Data::status,
61
+ updated_at: Time,
62
+ verifications: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::Verification]
63
+ }
64
+
65
+ class Data < WhopSDK::Internal::Type::BaseModel
66
+ attr_accessor id: String
67
+
68
+ attr_accessor business_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::BusinessAddress?
69
+
70
+ attr_accessor business_name: String?
71
+
72
+ attr_accessor business_structure: String?
73
+
74
+ attr_accessor country: String?
75
+
76
+ attr_accessor created_at: Time
77
+
78
+ attr_accessor date_of_birth: String?
79
+
80
+ attr_accessor email: String?
81
+
82
+ attr_accessor first_name: String?
83
+
84
+ attr_accessor last_name: String?
85
+
86
+ attr_accessor linked_companies: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::LinkedCompany]
87
+
88
+ attr_accessor personal_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::PersonalAddress?
89
+
90
+ attr_accessor phone: String?
91
+
92
+ attr_accessor profile_type: String
93
+
94
+ attr_accessor status: WhopSDK::Models::IdentityProfileUpdatedWebhookEvent::Data::status
95
+
96
+ attr_accessor updated_at: Time
97
+
98
+ attr_accessor verifications: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::Verification]
99
+
100
+ def initialize: (
101
+ id: String,
102
+ business_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::BusinessAddress?,
103
+ business_name: String?,
104
+ business_structure: String?,
105
+ country: String?,
106
+ created_at: Time,
107
+ date_of_birth: String?,
108
+ email: String?,
109
+ first_name: String?,
110
+ last_name: String?,
111
+ linked_companies: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::LinkedCompany],
112
+ personal_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::PersonalAddress?,
113
+ phone: String?,
114
+ profile_type: String,
115
+ status: WhopSDK::Models::IdentityProfileUpdatedWebhookEvent::Data::status,
116
+ updated_at: Time,
117
+ verifications: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::Verification]
118
+ ) -> void
119
+
120
+ def to_hash: -> {
121
+ id: String,
122
+ business_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::BusinessAddress?,
123
+ business_name: String?,
124
+ business_structure: String?,
125
+ country: String?,
126
+ created_at: Time,
127
+ date_of_birth: String?,
128
+ email: String?,
129
+ first_name: String?,
130
+ last_name: String?,
131
+ linked_companies: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::LinkedCompany],
132
+ personal_address: WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::PersonalAddress?,
133
+ phone: String?,
134
+ profile_type: String,
135
+ status: WhopSDK::Models::IdentityProfileUpdatedWebhookEvent::Data::status,
136
+ updated_at: Time,
137
+ verifications: ::Array[WhopSDK::IdentityProfileUpdatedWebhookEvent::Data::Verification]
138
+ }
139
+
140
+ type business_address =
141
+ {
142
+ city: String?,
143
+ country: String?,
144
+ :line1 => String?,
145
+ :line2 => String?,
146
+ postal_code: String?,
147
+ state: String?
148
+ }
149
+
150
+ class BusinessAddress < WhopSDK::Internal::Type::BaseModel
151
+ attr_accessor city: String?
152
+
153
+ attr_accessor country: String?
154
+
155
+ attr_accessor line1: String?
156
+
157
+ attr_accessor line2: String?
158
+
159
+ attr_accessor postal_code: String?
160
+
161
+ attr_accessor state: String?
162
+
163
+ def initialize: (
164
+ city: String?,
165
+ country: String?,
166
+ line1: String?,
167
+ line2: String?,
168
+ postal_code: String?,
169
+ state: String?
170
+ ) -> void
171
+
172
+ def to_hash: -> {
173
+ city: String?,
174
+ country: String?,
175
+ :line1 => String?,
176
+ :line2 => String?,
177
+ postal_code: String?,
178
+ state: String?
179
+ }
180
+ end
181
+
182
+ type linked_company = { id: String, title: String }
183
+
184
+ class LinkedCompany < WhopSDK::Internal::Type::BaseModel
185
+ attr_accessor id: String
186
+
187
+ attr_accessor title: String
188
+
189
+ def initialize: (id: String, title: String) -> void
190
+
191
+ def to_hash: -> { id: String, title: String }
192
+ end
193
+
194
+ type personal_address =
195
+ {
196
+ city: String?,
197
+ country: String?,
198
+ :line1 => String?,
199
+ :line2 => String?,
200
+ postal_code: String?,
201
+ state: String?
202
+ }
203
+
204
+ class PersonalAddress < WhopSDK::Internal::Type::BaseModel
205
+ attr_accessor city: String?
206
+
207
+ attr_accessor country: String?
208
+
209
+ attr_accessor line1: String?
210
+
211
+ attr_accessor line2: String?
212
+
213
+ attr_accessor postal_code: String?
214
+
215
+ attr_accessor state: String?
216
+
217
+ def initialize: (
218
+ city: String?,
219
+ country: String?,
220
+ line1: String?,
221
+ line2: String?,
222
+ postal_code: String?,
223
+ state: String?
224
+ ) -> void
225
+
226
+ def to_hash: -> {
227
+ city: String?,
228
+ country: String?,
229
+ :line1 => String?,
230
+ :line2 => String?,
231
+ postal_code: String?,
232
+ state: String?
233
+ }
234
+ end
235
+
236
+ type status = :not_started | :pending | :approved | :rejected
237
+
238
+ module Status
239
+ extend WhopSDK::Internal::Type::Enum
240
+
241
+ NOT_STARTED: :not_started
242
+ PENDING: :pending
243
+ APPROVED: :approved
244
+ REJECTED: :rejected
245
+
246
+ def self?.values: -> ::Array[WhopSDK::Models::IdentityProfileUpdatedWebhookEvent::Data::status]
247
+ end
248
+
249
+ type verification =
250
+ {
251
+ id: String,
252
+ created_at: Time,
253
+ last_error_code: WhopSDK::Models::verification_error_code?,
254
+ last_error_reason: String?,
255
+ session_url: String?,
256
+ status: WhopSDK::Models::verification_status
257
+ }
258
+
259
+ class Verification < WhopSDK::Internal::Type::BaseModel
260
+ attr_accessor id: String
261
+
262
+ attr_accessor created_at: Time
263
+
264
+ attr_accessor last_error_code: WhopSDK::Models::verification_error_code?
265
+
266
+ attr_accessor last_error_reason: String?
267
+
268
+ attr_accessor session_url: String?
269
+
270
+ attr_accessor status: WhopSDK::Models::verification_status
271
+
272
+ def initialize: (
273
+ id: String,
274
+ created_at: Time,
275
+ last_error_code: WhopSDK::Models::verification_error_code?,
276
+ last_error_reason: String?,
277
+ session_url: String?,
278
+ status: WhopSDK::Models::verification_status
279
+ ) -> void
280
+
281
+ def to_hash: -> {
282
+ id: String,
283
+ created_at: Time,
284
+ last_error_code: WhopSDK::Models::verification_error_code?,
285
+ last_error_reason: String?,
286
+ session_url: String?,
287
+ status: WhopSDK::Models::verification_status
288
+ }
289
+ end
290
+ end
291
+ end
292
+ end
293
+ end
@@ -8,7 +8,8 @@ module WhopSDK
8
8
  owner: WhopSDK::Models::LedgerAccountRetrieveResponse::owner?,
9
9
  payments_approval_status: WhopSDK::Models::LedgerAccountRetrieveResponse::payments_approval_status?,
10
10
  payout_account_details: WhopSDK::Models::LedgerAccountRetrieveResponse::PayoutAccountDetails?,
11
- transfer_fee: Float?
11
+ transfer_fee: Float?,
12
+ treasury_balance: WhopSDK::Models::LedgerAccountRetrieveResponse::TreasuryBalance?
12
13
  }
13
14
 
14
15
  class LedgerAccountRetrieveResponse < WhopSDK::Internal::Type::BaseModel
@@ -26,6 +27,8 @@ module WhopSDK
26
27
 
27
28
  attr_accessor transfer_fee: Float?
28
29
 
30
+ attr_accessor treasury_balance: WhopSDK::Models::LedgerAccountRetrieveResponse::TreasuryBalance?
31
+
29
32
  def initialize: (
30
33
  id: String,
31
34
  balances: ::Array[WhopSDK::Models::LedgerAccountRetrieveResponse::Balance],
@@ -33,7 +36,8 @@ module WhopSDK
33
36
  owner: WhopSDK::Models::LedgerAccountRetrieveResponse::owner?,
34
37
  payments_approval_status: WhopSDK::Models::LedgerAccountRetrieveResponse::payments_approval_status?,
35
38
  payout_account_details: WhopSDK::Models::LedgerAccountRetrieveResponse::PayoutAccountDetails?,
36
- transfer_fee: Float?
39
+ transfer_fee: Float?,
40
+ treasury_balance: WhopSDK::Models::LedgerAccountRetrieveResponse::TreasuryBalance?
37
41
  ) -> void
38
42
 
39
43
  def to_hash: -> {
@@ -43,7 +47,8 @@ module WhopSDK
43
47
  owner: WhopSDK::Models::LedgerAccountRetrieveResponse::owner?,
44
48
  payments_approval_status: WhopSDK::Models::LedgerAccountRetrieveResponse::payments_approval_status?,
45
49
  payout_account_details: WhopSDK::Models::LedgerAccountRetrieveResponse::PayoutAccountDetails?,
46
- transfer_fee: Float?
50
+ transfer_fee: Float?,
51
+ treasury_balance: WhopSDK::Models::LedgerAccountRetrieveResponse::TreasuryBalance?
47
52
  }
48
53
 
49
54
  type balance =
@@ -324,6 +329,48 @@ module WhopSDK
324
329
  }
325
330
  end
326
331
  end
332
+
333
+ type treasury_balance =
334
+ {
335
+ balance: Float,
336
+ balance_usd: Float,
337
+ currency: WhopSDK::Models::currency,
338
+ pending_balance: Float,
339
+ reserve_balance: Float,
340
+ total_withdrawable_balance: Float
341
+ }
342
+
343
+ class TreasuryBalance < WhopSDK::Internal::Type::BaseModel
344
+ attr_accessor balance: Float
345
+
346
+ attr_accessor balance_usd: Float
347
+
348
+ attr_accessor currency: WhopSDK::Models::currency
349
+
350
+ attr_accessor pending_balance: Float
351
+
352
+ attr_accessor reserve_balance: Float
353
+
354
+ attr_accessor total_withdrawable_balance: Float
355
+
356
+ def initialize: (
357
+ balance: Float,
358
+ balance_usd: Float,
359
+ currency: WhopSDK::Models::currency,
360
+ pending_balance: Float,
361
+ reserve_balance: Float,
362
+ total_withdrawable_balance: Float
363
+ ) -> void
364
+
365
+ def to_hash: -> {
366
+ balance: Float,
367
+ balance_usd: Float,
368
+ currency: WhopSDK::Models::currency,
369
+ pending_balance: Float,
370
+ reserve_balance: Float,
371
+ total_withdrawable_balance: Float
372
+ }
373
+ end
327
374
  end
328
375
  end
329
376
  end