whop_sdk 0.0.23 → 0.0.25

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 (284) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +52 -0
  3. data/README.md +3 -3
  4. data/lib/whop_sdk/client.rb +12 -0
  5. data/lib/whop_sdk/models/ai_chat_create_params.rb +22 -0
  6. data/lib/whop_sdk/models/ai_chat_create_response.rb +89 -0
  7. data/lib/whop_sdk/models/ai_chat_delete_params.rb +14 -0
  8. data/lib/whop_sdk/models/ai_chat_delete_response.rb +8 -0
  9. data/lib/whop_sdk/models/ai_chat_list_params.rb +46 -0
  10. data/lib/whop_sdk/models/ai_chat_list_response.rb +89 -0
  11. data/lib/whop_sdk/models/ai_chat_retrieve_params.rb +14 -0
  12. data/lib/whop_sdk/models/ai_chat_retrieve_response.rb +89 -0
  13. data/lib/whop_sdk/models/ai_chat_update_params.rb +22 -0
  14. data/lib/whop_sdk/models/ai_chat_update_response.rb +89 -0
  15. data/lib/whop_sdk/models/app_build_create_params.rb +16 -55
  16. data/lib/whop_sdk/models/app_create_params.rb +22 -1
  17. data/lib/whop_sdk/models/app_list_params.rb +6 -0
  18. data/lib/whop_sdk/models/app_update_params.rb +14 -53
  19. data/lib/whop_sdk/models/card_brands.rb +16 -0
  20. data/lib/whop_sdk/models/checkout_configuration_create_params.rb +32 -56
  21. data/lib/whop_sdk/models/company_create_params.rb +22 -1
  22. data/lib/whop_sdk/models/company_token_transaction_create_params.rb +69 -0
  23. data/lib/whop_sdk/models/company_token_transaction_create_response.rb +180 -0
  24. data/lib/whop_sdk/models/company_token_transaction_list_params.rb +84 -0
  25. data/lib/whop_sdk/models/company_token_transaction_list_response.rb +180 -0
  26. data/lib/whop_sdk/models/company_token_transaction_retrieve_params.rb +14 -0
  27. data/lib/whop_sdk/models/company_token_transaction_retrieve_response.rb +180 -0
  28. data/lib/whop_sdk/models/company_update_params.rb +28 -106
  29. data/lib/whop_sdk/models/course_create_params.rb +15 -62
  30. data/lib/whop_sdk/models/course_lesson_create_params.rb +14 -53
  31. data/lib/whop_sdk/models/course_lesson_update_params.rb +53 -214
  32. data/lib/whop_sdk/models/course_update_params.rb +14 -61
  33. data/lib/whop_sdk/models/dispute_update_evidence_params.rb +56 -212
  34. data/lib/whop_sdk/models/dm_member_create_params.rb +30 -0
  35. data/lib/whop_sdk/models/dm_member_create_response.rb +94 -0
  36. data/lib/whop_sdk/models/dm_member_delete_params.rb +14 -0
  37. data/lib/whop_sdk/models/dm_member_delete_response.rb +8 -0
  38. data/lib/whop_sdk/models/dm_member_list_params.rb +54 -0
  39. data/lib/whop_sdk/models/dm_member_list_response.rb +71 -0
  40. data/lib/whop_sdk/models/dm_member_retrieve_params.rb +14 -0
  41. data/lib/whop_sdk/models/dm_member_retrieve_response.rb +94 -0
  42. data/lib/whop_sdk/models/dm_member_update_params.rb +58 -0
  43. data/lib/whop_sdk/models/dm_member_update_response.rb +94 -0
  44. data/lib/whop_sdk/models/experience_create_params.rb +22 -1
  45. data/lib/whop_sdk/models/experience_update_params.rb +14 -53
  46. data/lib/whop_sdk/models/forum_post_create_params.rb +13 -52
  47. data/lib/whop_sdk/models/forum_post_update_params.rb +13 -52
  48. data/lib/whop_sdk/models/friendly_receipt_status.rb +23 -11
  49. data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +1 -34
  50. data/lib/whop_sdk/models/member_list_response.rb +9 -1
  51. data/lib/whop_sdk/models/member_retrieve_response.rb +9 -1
  52. data/lib/whop_sdk/models/membership.rb +76 -2
  53. data/lib/whop_sdk/models/membership_list_response.rb +38 -2
  54. data/lib/whop_sdk/models/membership_uncancel_params.rb +14 -0
  55. data/lib/whop_sdk/models/message_create_params.rb +22 -53
  56. data/lib/whop_sdk/models/message_delete_params.rb +14 -0
  57. data/lib/whop_sdk/models/message_delete_response.rb +8 -0
  58. data/lib/whop_sdk/models/message_update_params.rb +14 -53
  59. data/lib/whop_sdk/models/payment.rb +17 -1
  60. data/lib/whop_sdk/models/payment_list_response.rb +17 -1
  61. data/lib/whop_sdk/models/payment_method_types.rb +59 -57
  62. data/lib/whop_sdk/models/payment_provider.rb +1 -0
  63. data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +26 -1
  64. data/lib/whop_sdk/models/payout_method_list_response.rb +26 -1
  65. data/lib/whop_sdk/models/payout_method_retrieve_response.rb +26 -1
  66. data/lib/whop_sdk/models/plan_create_params.rb +14 -53
  67. data/lib/whop_sdk/models/plan_update_params.rb +14 -53
  68. data/lib/whop_sdk/models/reaction_create_params.rb +10 -1
  69. data/lib/whop_sdk/models/reaction_delete_params.rb +22 -0
  70. data/lib/whop_sdk/models/reaction_delete_response.rb +8 -0
  71. data/lib/whop_sdk/models/withdrawal_create_params.rb +21 -1
  72. data/lib/whop_sdk/models/withdrawal_create_response.rb +2 -9
  73. data/lib/whop_sdk/models/withdrawal_created_webhook_event.rb +2 -9
  74. data/lib/whop_sdk/models/withdrawal_list_response.rb +1 -9
  75. data/lib/whop_sdk/models/withdrawal_retrieve_response.rb +2 -9
  76. data/lib/whop_sdk/models/withdrawal_updated_webhook_event.rb +2 -9
  77. data/lib/whop_sdk/models.rb +32 -2
  78. data/lib/whop_sdk/resources/ai_chats.rb +141 -0
  79. data/lib/whop_sdk/resources/app_builds.rb +1 -1
  80. data/lib/whop_sdk/resources/apps.rb +4 -2
  81. data/lib/whop_sdk/resources/checkout_configurations.rb +3 -1
  82. data/lib/whop_sdk/resources/companies.rb +5 -3
  83. data/lib/whop_sdk/resources/company_token_transactions.rb +121 -0
  84. data/lib/whop_sdk/resources/course_lessons.rb +4 -4
  85. data/lib/whop_sdk/resources/courses.rb +4 -8
  86. data/lib/whop_sdk/resources/disputes.rb +4 -4
  87. data/lib/whop_sdk/resources/dm_members.rb +155 -0
  88. data/lib/whop_sdk/resources/experiences.rb +4 -2
  89. data/lib/whop_sdk/resources/forum_posts.rb +2 -2
  90. data/lib/whop_sdk/resources/memberships.rb +32 -0
  91. data/lib/whop_sdk/resources/messages.rb +29 -3
  92. data/lib/whop_sdk/resources/notifications.rb +4 -0
  93. data/lib/whop_sdk/resources/plans.rb +2 -2
  94. data/lib/whop_sdk/resources/reactions.rb +34 -1
  95. data/lib/whop_sdk/resources/withdrawals.rb +8 -1
  96. data/lib/whop_sdk/version.rb +1 -1
  97. data/lib/whop_sdk.rb +34 -1
  98. data/rbi/whop_sdk/client.rbi +9 -0
  99. data/rbi/whop_sdk/models/ai_chat_create_params.rbi +40 -0
  100. data/rbi/whop_sdk/models/ai_chat_create_response.rbi +128 -0
  101. data/rbi/whop_sdk/models/ai_chat_delete_params.rbi +27 -0
  102. data/rbi/whop_sdk/models/ai_chat_delete_response.rbi +7 -0
  103. data/rbi/whop_sdk/models/ai_chat_list_params.rbi +67 -0
  104. data/rbi/whop_sdk/models/ai_chat_list_response.rbi +125 -0
  105. data/rbi/whop_sdk/models/ai_chat_retrieve_params.rbi +27 -0
  106. data/rbi/whop_sdk/models/ai_chat_retrieve_response.rbi +128 -0
  107. data/rbi/whop_sdk/models/ai_chat_update_params.rbi +40 -0
  108. data/rbi/whop_sdk/models/ai_chat_update_response.rbi +128 -0
  109. data/rbi/whop_sdk/models/app_build_create_params.rbi +26 -89
  110. data/rbi/whop_sdk/models/app_create_params.rbi +36 -0
  111. data/rbi/whop_sdk/models/app_list_params.rbi +12 -0
  112. data/rbi/whop_sdk/models/app_update_params.rbi +21 -93
  113. data/rbi/whop_sdk/models/card_brands.rbi +17 -0
  114. data/rbi/whop_sdk/models/checkout_configuration_create_params.rbi +45 -87
  115. data/rbi/whop_sdk/models/company_create_params.rbi +39 -0
  116. data/rbi/whop_sdk/models/company_token_transaction_create_params.rbi +92 -0
  117. data/rbi/whop_sdk/models/company_token_transaction_create_response.rbi +308 -0
  118. data/rbi/whop_sdk/models/company_token_transaction_list_params.rbi +146 -0
  119. data/rbi/whop_sdk/models/company_token_transaction_list_response.rbi +308 -0
  120. data/rbi/whop_sdk/models/company_token_transaction_retrieve_params.rbi +30 -0
  121. data/rbi/whop_sdk/models/company_token_transaction_retrieve_response.rbi +312 -0
  122. data/rbi/whop_sdk/models/company_update_params.rbi +47 -185
  123. data/rbi/whop_sdk/models/course_create_params.rbi +24 -101
  124. data/rbi/whop_sdk/models/course_lesson_create_params.rbi +25 -92
  125. data/rbi/whop_sdk/models/course_lesson_update_params.rbi +97 -359
  126. data/rbi/whop_sdk/models/course_update_params.rbi +24 -101
  127. data/rbi/whop_sdk/models/dispute_update_evidence_params.rbi +116 -340
  128. data/rbi/whop_sdk/models/dm_member_create_params.rbi +51 -0
  129. data/rbi/whop_sdk/models/dm_member_create_response.rbi +179 -0
  130. data/rbi/whop_sdk/models/dm_member_delete_params.rbi +27 -0
  131. data/rbi/whop_sdk/models/dm_member_delete_response.rbi +8 -0
  132. data/rbi/whop_sdk/models/dm_member_list_params.rbi +75 -0
  133. data/rbi/whop_sdk/models/dm_member_list_response.rbi +124 -0
  134. data/rbi/whop_sdk/models/dm_member_retrieve_params.rbi +27 -0
  135. data/rbi/whop_sdk/models/dm_member_retrieve_response.rbi +179 -0
  136. data/rbi/whop_sdk/models/dm_member_update_params.rbi +130 -0
  137. data/rbi/whop_sdk/models/dm_member_update_response.rbi +179 -0
  138. data/rbi/whop_sdk/models/experience_create_params.rbi +41 -0
  139. data/rbi/whop_sdk/models/experience_update_params.rbi +24 -93
  140. data/rbi/whop_sdk/models/forum_post_create_params.rbi +18 -94
  141. data/rbi/whop_sdk/models/forum_post_update_params.rbi +18 -94
  142. data/rbi/whop_sdk/models/friendly_receipt_status.rbi +62 -17
  143. data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +0 -105
  144. data/rbi/whop_sdk/models/member_list_response.rbi +8 -0
  145. data/rbi/whop_sdk/models/member_retrieve_response.rbi +8 -0
  146. data/rbi/whop_sdk/models/membership.rbi +126 -4
  147. data/rbi/whop_sdk/models/membership_list_response.rbi +98 -4
  148. data/rbi/whop_sdk/models/membership_uncancel_params.rbi +27 -0
  149. data/rbi/whop_sdk/models/message_create_params.rbi +26 -94
  150. data/rbi/whop_sdk/models/message_delete_params.rbi +27 -0
  151. data/rbi/whop_sdk/models/message_delete_response.rbi +8 -0
  152. data/rbi/whop_sdk/models/message_update_params.rbi +18 -94
  153. data/rbi/whop_sdk/models/payment.rbi +16 -0
  154. data/rbi/whop_sdk/models/payment_list_response.rbi +16 -0
  155. data/rbi/whop_sdk/models/payment_method_types.rbi +67 -64
  156. data/rbi/whop_sdk/models/payment_provider.rbi +1 -0
  157. data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +26 -0
  158. data/rbi/whop_sdk/models/payout_method_list_response.rbi +26 -0
  159. data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +26 -0
  160. data/rbi/whop_sdk/models/plan_create_params.rbi +21 -93
  161. data/rbi/whop_sdk/models/plan_update_params.rbi +21 -93
  162. data/rbi/whop_sdk/models/reaction_create_params.rbi +10 -0
  163. data/rbi/whop_sdk/models/reaction_delete_params.rbi +40 -0
  164. data/rbi/whop_sdk/models/reaction_delete_response.rbi +8 -0
  165. data/rbi/whop_sdk/models/withdrawal_create_params.rbi +18 -0
  166. data/rbi/whop_sdk/models/withdrawal_create_response.rbi +8 -11
  167. data/rbi/whop_sdk/models/withdrawal_created_webhook_event.rbi +8 -11
  168. data/rbi/whop_sdk/models/withdrawal_list_response.rbi +3 -11
  169. data/rbi/whop_sdk/models/withdrawal_retrieve_response.rbi +8 -11
  170. data/rbi/whop_sdk/models/withdrawal_updated_webhook_event.rbi +8 -11
  171. data/rbi/whop_sdk/models.rbi +35 -2
  172. data/rbi/whop_sdk/resources/ai_chats.rbi +108 -0
  173. data/rbi/whop_sdk/resources/app_builds.rbi +1 -5
  174. data/rbi/whop_sdk/resources/apps.rbi +4 -7
  175. data/rbi/whop_sdk/resources/checkout_configurations.rbi +3 -0
  176. data/rbi/whop_sdk/resources/companies.rbi +5 -13
  177. data/rbi/whop_sdk/resources/company_token_transactions.rbi +114 -0
  178. data/rbi/whop_sdk/resources/course_lessons.rbi +4 -24
  179. data/rbi/whop_sdk/resources/courses.rbi +2 -20
  180. data/rbi/whop_sdk/resources/disputes.rbi +4 -16
  181. data/rbi/whop_sdk/resources/dm_members.rbi +128 -0
  182. data/rbi/whop_sdk/resources/experiences.rbi +4 -7
  183. data/rbi/whop_sdk/resources/forum_posts.rbi +2 -12
  184. data/rbi/whop_sdk/resources/memberships.rbi +26 -0
  185. data/rbi/whop_sdk/resources/messages.rbi +23 -12
  186. data/rbi/whop_sdk/resources/notifications.rbi +4 -0
  187. data/rbi/whop_sdk/resources/plans.rbi +2 -14
  188. data/rbi/whop_sdk/resources/reactions.rbi +26 -0
  189. data/rbi/whop_sdk/resources/withdrawals.rbi +7 -0
  190. data/sig/whop_sdk/client.rbs +6 -0
  191. data/sig/whop_sdk/models/ai_chat_create_params.rbs +23 -0
  192. data/sig/whop_sdk/models/ai_chat_create_response.rbs +65 -0
  193. data/sig/whop_sdk/models/ai_chat_delete_params.rbs +15 -0
  194. data/sig/whop_sdk/models/ai_chat_delete_response.rbs +5 -0
  195. data/sig/whop_sdk/models/ai_chat_list_params.rbs +36 -0
  196. data/sig/whop_sdk/models/ai_chat_list_response.rbs +65 -0
  197. data/sig/whop_sdk/models/ai_chat_retrieve_params.rbs +15 -0
  198. data/sig/whop_sdk/models/ai_chat_retrieve_response.rbs +65 -0
  199. data/sig/whop_sdk/models/ai_chat_update_params.rbs +23 -0
  200. data/sig/whop_sdk/models/ai_chat_update_response.rbs +65 -0
  201. data/sig/whop_sdk/models/app_build_create_params.rbs +9 -30
  202. data/sig/whop_sdk/models/app_create_params.rbs +20 -1
  203. data/sig/whop_sdk/models/app_list_params.rbs +13 -1
  204. data/sig/whop_sdk/models/app_update_params.rbs +9 -30
  205. data/sig/whop_sdk/models/card_brands.rbs +32 -0
  206. data/sig/whop_sdk/models/checkout_configuration_create_params.rbs +19 -30
  207. data/sig/whop_sdk/models/company_create_params.rbs +15 -0
  208. data/sig/whop_sdk/models/company_token_transaction_create_params.rbs +56 -0
  209. data/sig/whop_sdk/models/company_token_transaction_create_response.rbs +115 -0
  210. data/sig/whop_sdk/models/company_token_transaction_list_params.rbs +68 -0
  211. data/sig/whop_sdk/models/company_token_transaction_list_response.rbs +115 -0
  212. data/sig/whop_sdk/models/company_token_transaction_retrieve_params.rbs +15 -0
  213. data/sig/whop_sdk/models/company_token_transaction_retrieve_response.rbs +115 -0
  214. data/sig/whop_sdk/models/company_update_params.rbs +18 -60
  215. data/sig/whop_sdk/models/course_create_params.rbs +9 -35
  216. data/sig/whop_sdk/models/course_lesson_create_params.rbs +9 -30
  217. data/sig/whop_sdk/models/course_lesson_update_params.rbs +36 -120
  218. data/sig/whop_sdk/models/course_update_params.rbs +9 -35
  219. data/sig/whop_sdk/models/dispute_update_evidence_params.rbs +36 -120
  220. data/sig/whop_sdk/models/dm_member_create_params.rbs +28 -0
  221. data/sig/whop_sdk/models/dm_member_create_response.rbs +71 -0
  222. data/sig/whop_sdk/models/dm_member_delete_params.rbs +15 -0
  223. data/sig/whop_sdk/models/dm_member_delete_response.rbs +5 -0
  224. data/sig/whop_sdk/models/dm_member_list_params.rbs +46 -0
  225. data/sig/whop_sdk/models/dm_member_list_response.rbs +54 -0
  226. data/sig/whop_sdk/models/dm_member_retrieve_params.rbs +15 -0
  227. data/sig/whop_sdk/models/dm_member_retrieve_response.rbs +71 -0
  228. data/sig/whop_sdk/models/dm_member_update_params.rbs +57 -0
  229. data/sig/whop_sdk/models/dm_member_update_response.rbs +71 -0
  230. data/sig/whop_sdk/models/experience_create_params.rbs +15 -0
  231. data/sig/whop_sdk/models/experience_update_params.rbs +9 -30
  232. data/sig/whop_sdk/models/forum_post_create_params.rbs +9 -30
  233. data/sig/whop_sdk/models/forum_post_update_params.rbs +9 -30
  234. data/sig/whop_sdk/models/friendly_receipt_status.rbs +46 -22
  235. data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +0 -38
  236. data/sig/whop_sdk/models/member_list_response.rbs +5 -0
  237. data/sig/whop_sdk/models/member_retrieve_response.rbs +5 -0
  238. data/sig/whop_sdk/models/membership.rbs +65 -4
  239. data/sig/whop_sdk/models/membership_list_response.rbs +45 -4
  240. data/sig/whop_sdk/models/membership_uncancel_params.rbs +15 -0
  241. data/sig/whop_sdk/models/message_create_params.rbs +15 -31
  242. data/sig/whop_sdk/models/message_delete_params.rbs +15 -0
  243. data/sig/whop_sdk/models/message_delete_response.rbs +5 -0
  244. data/sig/whop_sdk/models/message_update_params.rbs +9 -30
  245. data/sig/whop_sdk/models/payment.rbs +10 -0
  246. data/sig/whop_sdk/models/payment_list_response.rbs +10 -0
  247. data/sig/whop_sdk/models/payment_method_types.rbs +119 -115
  248. data/sig/whop_sdk/models/payment_provider.rbs +2 -0
  249. data/sig/whop_sdk/models/payout_method_created_webhook_event.rbs +15 -0
  250. data/sig/whop_sdk/models/payout_method_list_response.rbs +15 -0
  251. data/sig/whop_sdk/models/payout_method_retrieve_response.rbs +15 -0
  252. data/sig/whop_sdk/models/plan_create_params.rbs +9 -30
  253. data/sig/whop_sdk/models/plan_update_params.rbs +9 -30
  254. data/sig/whop_sdk/models/reaction_create_params.rbs +5 -1
  255. data/sig/whop_sdk/models/reaction_delete_params.rbs +23 -0
  256. data/sig/whop_sdk/models/reaction_delete_response.rbs +5 -0
  257. data/sig/whop_sdk/models/withdrawal_create_params.rbs +11 -1
  258. data/sig/whop_sdk/models/withdrawal_create_response.rbs +5 -8
  259. data/sig/whop_sdk/models/withdrawal_created_webhook_event.rbs +5 -8
  260. data/sig/whop_sdk/models/withdrawal_list_response.rbs +3 -8
  261. data/sig/whop_sdk/models/withdrawal_retrieve_response.rbs +5 -8
  262. data/sig/whop_sdk/models/withdrawal_updated_webhook_event.rbs +5 -8
  263. data/sig/whop_sdk/models.rbs +32 -2
  264. data/sig/whop_sdk/resources/ai_chats.rbs +33 -0
  265. data/sig/whop_sdk/resources/app_builds.rbs +1 -1
  266. data/sig/whop_sdk/resources/apps.rbs +2 -1
  267. data/sig/whop_sdk/resources/checkout_configurations.rbs +1 -0
  268. data/sig/whop_sdk/resources/companies.rbs +3 -2
  269. data/sig/whop_sdk/resources/company_token_transactions.rbs +34 -0
  270. data/sig/whop_sdk/resources/course_lessons.rbs +4 -4
  271. data/sig/whop_sdk/resources/courses.rbs +2 -4
  272. data/sig/whop_sdk/resources/disputes.rbs +4 -4
  273. data/sig/whop_sdk/resources/dm_members.rbs +36 -0
  274. data/sig/whop_sdk/resources/experiences.rbs +2 -1
  275. data/sig/whop_sdk/resources/forum_posts.rbs +2 -2
  276. data/sig/whop_sdk/resources/memberships.rbs +5 -0
  277. data/sig/whop_sdk/resources/messages.rbs +5 -2
  278. data/sig/whop_sdk/resources/plans.rbs +2 -2
  279. data/sig/whop_sdk/resources/reactions.rbs +7 -0
  280. data/sig/whop_sdk/resources/withdrawals.rbs +2 -0
  281. metadata +118 -5
  282. data/lib/whop_sdk/models/withdrawal_types.rb +0 -16
  283. data/rbi/whop_sdk/models/withdrawal_types.rbi +0 -20
  284. data/sig/whop_sdk/models/withdrawal_types.rbs +0 -14
@@ -12,8 +12,8 @@ module WhopSDK
12
12
  # format. The zip should contain at least one main_js_bundle.hbc file and
13
13
  # optionally an assets folder next to it.
14
14
  #
15
- # @return [WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithID]
16
- required :attachment, union: -> { WhopSDK::AppBuildCreateParams::Attachment }
15
+ # @return [WhopSDK::Models::AppBuildCreateParams::Attachment]
16
+ required :attachment, -> { WhopSDK::AppBuildCreateParams::Attachment }
17
17
 
18
18
  # @!attribute checksum
19
19
  # Checksum of the app build file. This is generated by the client and used to
@@ -55,7 +55,7 @@ module WhopSDK
55
55
  # Some parameter documentations has been truncated, see
56
56
  # {WhopSDK::Models::AppBuildCreateParams} for more details.
57
57
  #
58
- # @param attachment [WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithID] Attachment input for the app build file. This should be an upload in .zip format
58
+ # @param attachment [WhopSDK::Models::AppBuildCreateParams::Attachment] Attachment input for the app build file. This should be an upload in .zip format
59
59
  #
60
60
  # @param checksum [String] Checksum of the app build file. This is generated by the client and used to veri
61
61
  #
@@ -69,58 +69,19 @@ module WhopSDK
69
69
  #
70
70
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
71
71
 
72
- # Attachment input for the app build file. This should be an upload in .zip
73
- # format. The zip should contain at least one main_js_bundle.hbc file and
74
- # optionally an assets folder next to it.
75
- module Attachment
76
- extend WhopSDK::Internal::Type::Union
77
-
78
- # Input for an attachment
79
- variant -> { WhopSDK::AppBuildCreateParams::Attachment::AttachmentInputWithDirectUploadID }
80
-
81
- # Input for an attachment
82
- variant -> { WhopSDK::AppBuildCreateParams::Attachment::AttachmentInputWithID }
83
-
84
- class AttachmentInputWithDirectUploadID < WhopSDK::Internal::Type::BaseModel
85
- # @!attribute direct_upload_id
86
- # This ID should be used the first time you upload an attachment. It is the ID of
87
- # the direct upload that was created when uploading the file to S3 via the
88
- # mediaDirectUpload mutation.
89
- #
90
- # @return [String]
91
- required :direct_upload_id, String
92
-
93
- # @!method initialize(direct_upload_id:)
94
- # Some parameter documentations has been truncated, see
95
- # {WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithDirectUploadID}
96
- # for more details.
97
- #
98
- # Input for an attachment
99
- #
100
- # @param direct_upload_id [String] This ID should be used the first time you upload an attachment. It is the ID of
101
- end
102
-
103
- class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
104
- # @!attribute id
105
- # The ID of an existing attachment object. Use this when updating a resource and
106
- # keeping a subset of the attachments. Don't use this unless you know what you're
107
- # doing.
108
- #
109
- # @return [String]
110
- required :id, String
111
-
112
- # @!method initialize(id:)
113
- # Some parameter documentations has been truncated, see
114
- # {WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithID} for
115
- # more details.
116
- #
117
- # Input for an attachment
118
- #
119
- # @param id [String] The ID of an existing attachment object. Use this when updating a resource and k
120
- end
121
-
122
- # @!method self.variants
123
- # @return [Array(WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::AppBuildCreateParams::Attachment::AttachmentInputWithID)]
72
+ class Attachment < WhopSDK::Internal::Type::BaseModel
73
+ # @!attribute id
74
+ # The ID of an existing file object.
75
+ #
76
+ # @return [String]
77
+ required :id, String
78
+
79
+ # @!method initialize(id:)
80
+ # Attachment input for the app build file. This should be an upload in .zip
81
+ # format. The zip should contain at least one main_js_bundle.hbc file and
82
+ # optionally an assets folder next to it.
83
+ #
84
+ # @param id [String] The ID of an existing file object.
124
85
  end
125
86
  end
126
87
  end
@@ -25,14 +25,35 @@ module WhopSDK
25
25
  # @return [String, nil]
26
26
  optional :base_url, String, nil?: true
27
27
 
28
- # @!method initialize(company_id:, name:, base_url: nil, request_options: {})
28
+ # @!attribute icon
29
+ # The icon for the app in png, jpeg, or gif format
30
+ #
31
+ # @return [WhopSDK::Models::AppCreateParams::Icon, nil]
32
+ optional :icon, -> { WhopSDK::AppCreateParams::Icon }, nil?: true
33
+
34
+ # @!method initialize(company_id:, name:, base_url: nil, icon: nil, request_options: {})
29
35
  # @param company_id [String] The ID of the company to create the app for
30
36
  #
31
37
  # @param name [String] The name of the app to be created
32
38
  #
33
39
  # @param base_url [String, nil] The base URL of the app to be created
34
40
  #
41
+ # @param icon [WhopSDK::Models::AppCreateParams::Icon, nil] The icon for the app in png, jpeg, or gif format
42
+ #
35
43
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
44
+
45
+ class Icon < WhopSDK::Internal::Type::BaseModel
46
+ # @!attribute id
47
+ # The ID of an existing file object.
48
+ #
49
+ # @return [String]
50
+ required :id, String
51
+
52
+ # @!method initialize(id:)
53
+ # The icon for the app in png, jpeg, or gif format
54
+ #
55
+ # @param id [String] The ID of an existing file object.
56
+ end
36
57
  end
37
58
  end
38
59
  end
@@ -106,12 +106,18 @@ module WhopSDK
106
106
  module Order
107
107
  extend WhopSDK::Internal::Type::Enum
108
108
 
109
+ CREATED_AT = :created_at
109
110
  DISCOVERABLE_AT = :discoverable_at
110
111
  TOTAL_INSTALLS_LAST_30_DAYS = :total_installs_last_30_days
111
112
  TOTAL_INSTALLS_LAST_7_DAYS = :total_installs_last_7_days
112
113
  TIME_SPENT = :time_spent
113
114
  TIME_SPENT_LAST_24_HOURS = :time_spent_last_24_hours
114
115
  DAILY_ACTIVE_USERS = :daily_active_users
116
+ AI_PROMPT_COUNT = :ai_prompt_count
117
+ TOTAL_AI_COST_USD = :total_ai_cost_usd
118
+ TOTAL_AI_TOKENS = :total_ai_tokens
119
+ LAST_AI_PROMPT_AT = :last_ai_prompt_at
120
+ AI_AVERAGE_RATING = :ai_average_rating
115
121
 
116
122
  # @!method self.values
117
123
  # @return [Array<Symbol>]
@@ -52,8 +52,8 @@ module WhopSDK
52
52
  # @!attribute icon
53
53
  # The icon for the app
54
54
  #
55
- # @return [WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithDirectUploadID, WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithID, nil]
56
- optional :icon, union: -> { WhopSDK::AppUpdateParams::Icon }, nil?: true
55
+ # @return [WhopSDK::Models::AppUpdateParams::Icon, nil]
56
+ optional :icon, -> { WhopSDK::AppUpdateParams::Icon }, nil?: true
57
57
 
58
58
  # @!attribute name
59
59
  # The name of the app
@@ -90,7 +90,7 @@ module WhopSDK
90
90
  #
91
91
  # @param experience_path [String, nil] The path for the hub view of the app
92
92
  #
93
- # @param icon [WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithDirectUploadID, WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithID, nil] The icon for the app
93
+ # @param icon [WhopSDK::Models::AppUpdateParams::Icon, nil] The icon for the app
94
94
  #
95
95
  # @param name [String, nil] The name of the app
96
96
  #
@@ -100,56 +100,17 @@ module WhopSDK
100
100
  #
101
101
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
102
102
 
103
- # The icon for the app
104
- module Icon
105
- extend WhopSDK::Internal::Type::Union
106
-
107
- # Input for an attachment
108
- variant -> { WhopSDK::AppUpdateParams::Icon::AttachmentInputWithDirectUploadID }
109
-
110
- # Input for an attachment
111
- variant -> { WhopSDK::AppUpdateParams::Icon::AttachmentInputWithID }
112
-
113
- class AttachmentInputWithDirectUploadID < WhopSDK::Internal::Type::BaseModel
114
- # @!attribute direct_upload_id
115
- # This ID should be used the first time you upload an attachment. It is the ID of
116
- # the direct upload that was created when uploading the file to S3 via the
117
- # mediaDirectUpload mutation.
118
- #
119
- # @return [String]
120
- required :direct_upload_id, String
121
-
122
- # @!method initialize(direct_upload_id:)
123
- # Some parameter documentations has been truncated, see
124
- # {WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithDirectUploadID} for
125
- # more details.
126
- #
127
- # Input for an attachment
128
- #
129
- # @param direct_upload_id [String] This ID should be used the first time you upload an attachment. It is the ID of
130
- end
131
-
132
- class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
133
- # @!attribute id
134
- # The ID of an existing attachment object. Use this when updating a resource and
135
- # keeping a subset of the attachments. Don't use this unless you know what you're
136
- # doing.
137
- #
138
- # @return [String]
139
- required :id, String
140
-
141
- # @!method initialize(id:)
142
- # Some parameter documentations has been truncated, see
143
- # {WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithID} for more
144
- # details.
145
- #
146
- # Input for an attachment
147
- #
148
- # @param id [String] The ID of an existing attachment object. Use this when updating a resource and k
149
- end
150
-
151
- # @!method self.variants
152
- # @return [Array(WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithDirectUploadID, WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithID)]
103
+ class Icon < WhopSDK::Internal::Type::BaseModel
104
+ # @!attribute id
105
+ # The ID of an existing file object.
106
+ #
107
+ # @return [String]
108
+ required :id, String
109
+
110
+ # @!method initialize(id:)
111
+ # The icon for the app
112
+ #
113
+ # @param id [String] The ID of an existing file object.
153
114
  end
154
115
 
155
116
  # These are the scopes an app can request on behalf of a user
@@ -22,6 +22,22 @@ module WhopSDK
22
22
  JCBRUPAY = :jcbrupay
23
23
  ELO = :elo
24
24
  MAESTRO = :maestro
25
+ TARJETA_NARANJA = :tarjeta_naranja
26
+ CIRRUS = :cirrus
27
+ NSPK_MIR = :nspk_mir
28
+ VERVE = :verve
29
+ EBT = :ebt
30
+ PRIVATE_LABEL = :private_label
31
+ LOCAL_BRAND = :local_brand
32
+ UATP = :uatp
33
+ WEXCARD = :wexcard
34
+ UZCARD = :uzcard
35
+ MEEZA = :meeza
36
+ HRG_STORE_CARD = :hrg_store_card
37
+ GIROCARD = :girocard
38
+ FUEL_CARD = :fuel_card
39
+ DANKORT = :dankort
40
+ CARNET = :carnet
25
41
  UNKNOWN = :unknown
26
42
 
27
43
  # @!method self.values
@@ -52,6 +52,12 @@ module WhopSDK
52
52
  # @return [String, nil]
53
53
  optional :redirect_url, String, nil?: true
54
54
 
55
+ # @!attribute source_url
56
+ # The URL of the page where the checkout is being initiated from.
57
+ #
58
+ # @return [String, nil]
59
+ optional :source_url, String, nil?: true
60
+
55
61
  # @!attribute plan_id
56
62
  # The ID of the plan to use for the checkout configuration
57
63
  #
@@ -65,7 +71,7 @@ module WhopSDK
65
71
  # @return [String]
66
72
  required :company_id, String
67
73
 
68
- # @!method initialize(plan:, plan_id:, company_id:, affiliate_code: nil, currency: nil, metadata: nil, payment_method_configuration: nil, redirect_url: nil, mode: :setup, request_options: {})
74
+ # @!method initialize(plan:, plan_id:, company_id:, affiliate_code: nil, currency: nil, metadata: nil, payment_method_configuration: nil, redirect_url: nil, source_url: nil, mode: :setup, request_options: {})
69
75
  # Some parameter documentations has been truncated, see
70
76
  # {WhopSDK::Models::CheckoutConfigurationCreateParams} for more details.
71
77
  #
@@ -85,6 +91,8 @@ module WhopSDK
85
91
  #
86
92
  # @param redirect_url [String, nil] The URL to redirect the user to after the checkout configuration is created
87
93
  #
94
+ # @param source_url [String, nil] The URL of the page where the checkout is being initiated from.
95
+ #
88
96
  # @param mode [Symbol, :setup]
89
97
  #
90
98
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
@@ -148,8 +156,8 @@ module WhopSDK
148
156
  # @!attribute image
149
157
  # An image for the plan. This will be visible on the product page to customers.
150
158
  #
151
- # @return [WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithDirectUploadID, WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithID, nil]
152
- optional :image, union: -> { WhopSDK::CheckoutConfigurationCreateParams::Plan::Image }, nil?: true
159
+ # @return [WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image, nil]
160
+ optional :image, -> { WhopSDK::CheckoutConfigurationCreateParams::Plan::Image }, nil?: true
153
161
 
154
162
  # @!attribute initial_price
155
163
  # An additional amount charged upon first purchase.
@@ -216,6 +224,12 @@ module WhopSDK
216
224
  # @return [Integer, nil]
217
225
  optional :split_pay_required_payments, Integer, nil?: true
218
226
 
227
+ # @!attribute stock
228
+ # The number of units available for purchase. If not provided, stock is unlimited.
229
+ #
230
+ # @return [Integer, nil]
231
+ optional :stock, Integer, nil?: true
232
+
219
233
  # @!attribute title
220
234
  # The title of the plan. This will be visible on the product page to customers.
221
235
  #
@@ -234,7 +248,7 @@ module WhopSDK
234
248
  # @return [Symbol, WhopSDK::Models::Visibility, nil]
235
249
  optional :visibility, enum: -> { WhopSDK::Visibility }, nil?: true
236
250
 
237
- # @!method initialize(company_id:, currency:, application_fee_amount: nil, billing_period: nil, custom_fields: nil, description: nil, expiration_days: nil, force_create_new_plan: nil, image: nil, initial_price: nil, internal_notes: nil, override_tax_type: nil, payment_method_configuration: nil, plan_type: nil, product: nil, product_id: nil, release_method: nil, renewal_price: nil, split_pay_required_payments: nil, title: nil, trial_period_days: nil, visibility: nil)
251
+ # @!method initialize(company_id:, currency:, application_fee_amount: nil, billing_period: nil, custom_fields: nil, description: nil, expiration_days: nil, force_create_new_plan: nil, image: nil, initial_price: nil, internal_notes: nil, override_tax_type: nil, payment_method_configuration: nil, plan_type: nil, product: nil, product_id: nil, release_method: nil, renewal_price: nil, split_pay_required_payments: nil, stock: nil, title: nil, trial_period_days: nil, visibility: nil)
238
252
  # Some parameter documentations has been truncated, see
239
253
  # {WhopSDK::Models::CheckoutConfigurationCreateParams::Plan} for more details.
240
254
  #
@@ -256,7 +270,7 @@ module WhopSDK
256
270
  #
257
271
  # @param force_create_new_plan [Boolean, nil] Whether to force the creation of a new plan even if one with the same attributes
258
272
  #
259
- # @param image [WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithDirectUploadID, WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithID, nil] An image for the plan. This will be visible on the product page to customers.
273
+ # @param image [WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image, nil] An image for the plan. This will be visible on the product page to customers.
260
274
  #
261
275
  # @param initial_price [Float, nil] An additional amount charged upon first purchase.
262
276
  #
@@ -278,6 +292,8 @@ module WhopSDK
278
292
  #
279
293
  # @param split_pay_required_payments [Integer, nil] The number of payments required before pausing the subscription.
280
294
  #
295
+ # @param stock [Integer, nil] The number of units available for purchase. If not provided, stock is unlimited.
296
+ #
281
297
  # @param title [String, nil] The title of the plan. This will be visible on the product page to customers.
282
298
  #
283
299
  # @param trial_period_days [Integer, nil] The number of free trial days added before a renewal plan.
@@ -335,58 +351,18 @@ module WhopSDK
335
351
  # @param field_type [Symbol, :text] The type of the custom field.
336
352
  end
337
353
 
338
- # An image for the plan. This will be visible on the product page to customers.
339
- #
340
354
  # @see WhopSDK::Models::CheckoutConfigurationCreateParams::Plan#image
341
- module Image
342
- extend WhopSDK::Internal::Type::Union
343
-
344
- # Input for an attachment
345
- variant -> { WhopSDK::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithDirectUploadID }
346
-
347
- # Input for an attachment
348
- variant -> { WhopSDK::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithID }
349
-
350
- class AttachmentInputWithDirectUploadID < WhopSDK::Internal::Type::BaseModel
351
- # @!attribute direct_upload_id
352
- # This ID should be used the first time you upload an attachment. It is the ID of
353
- # the direct upload that was created when uploading the file to S3 via the
354
- # mediaDirectUpload mutation.
355
- #
356
- # @return [String]
357
- required :direct_upload_id, String
358
-
359
- # @!method initialize(direct_upload_id:)
360
- # Some parameter documentations has been truncated, see
361
- # {WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithDirectUploadID}
362
- # for more details.
363
- #
364
- # Input for an attachment
365
- #
366
- # @param direct_upload_id [String] This ID should be used the first time you upload an attachment. It is the ID of
367
- end
368
-
369
- class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
370
- # @!attribute id
371
- # The ID of an existing attachment object. Use this when updating a resource and
372
- # keeping a subset of the attachments. Don't use this unless you know what you're
373
- # doing.
374
- #
375
- # @return [String]
376
- required :id, String
377
-
378
- # @!method initialize(id:)
379
- # Some parameter documentations has been truncated, see
380
- # {WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithID}
381
- # for more details.
382
- #
383
- # Input for an attachment
384
- #
385
- # @param id [String] The ID of an existing attachment object. Use this when updating a resource and k
386
- end
387
-
388
- # @!method self.variants
389
- # @return [Array(WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithDirectUploadID, WhopSDK::Models::CheckoutConfigurationCreateParams::Plan::Image::AttachmentInputWithID)]
355
+ class Image < WhopSDK::Internal::Type::BaseModel
356
+ # @!attribute id
357
+ # The ID of an existing file object.
358
+ #
359
+ # @return [String]
360
+ required :id, String
361
+
362
+ # @!method initialize(id:)
363
+ # An image for the plan. This will be visible on the product page to customers.
364
+ #
365
+ # @param id [String] The ID of an existing file object.
390
366
  end
391
367
 
392
368
  # @see WhopSDK::Models::CheckoutConfigurationCreateParams::Plan#payment_method_configuration
@@ -37,6 +37,12 @@ module WhopSDK
37
37
  # @return [Symbol, WhopSDK::Models::IndustryTypes, nil]
38
38
  optional :industry_type, enum: -> { WhopSDK::IndustryTypes }, nil?: true
39
39
 
40
+ # @!attribute logo
41
+ # The logo for the company in png, jpeg, or gif format
42
+ #
43
+ # @return [WhopSDK::Models::CompanyCreateParams::Logo, nil]
44
+ optional :logo, -> { WhopSDK::CompanyCreateParams::Logo }, nil?: true
45
+
40
46
  # @!attribute metadata
41
47
  # Additional metadata for the account
42
48
  #
@@ -52,7 +58,7 @@ module WhopSDK
52
58
  # @return [Boolean, nil]
53
59
  optional :send_customer_emails, WhopSDK::Internal::Type::Boolean, nil?: true
54
60
 
55
- # @!method initialize(email:, parent_company_id:, title:, business_type: nil, industry_type: nil, metadata: nil, send_customer_emails: nil, request_options: {})
61
+ # @!method initialize(email:, parent_company_id:, title:, business_type: nil, industry_type: nil, logo: nil, metadata: nil, send_customer_emails: nil, request_options: {})
56
62
  # Some parameter documentations has been truncated, see
57
63
  # {WhopSDK::Models::CompanyCreateParams} for more details.
58
64
  #
@@ -66,11 +72,26 @@ module WhopSDK
66
72
  #
67
73
  # @param industry_type [Symbol, WhopSDK::Models::IndustryTypes, nil] The different industry types a company can be in.
68
74
  #
75
+ # @param logo [WhopSDK::Models::CompanyCreateParams::Logo, nil] The logo for the company in png, jpeg, or gif format
76
+ #
69
77
  # @param metadata [Hash{Symbol=>Object}, nil] Additional metadata for the account
70
78
  #
71
79
  # @param send_customer_emails [Boolean, nil] Whether Whop sends transactional emails to customers on behalf of this company.
72
80
  #
73
81
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
82
+
83
+ class Logo < WhopSDK::Internal::Type::BaseModel
84
+ # @!attribute id
85
+ # The ID of an existing file object.
86
+ #
87
+ # @return [String]
88
+ required :id, String
89
+
90
+ # @!method initialize(id:)
91
+ # The logo for the company in png, jpeg, or gif format
92
+ #
93
+ # @param id [String] The ID of an existing file object.
94
+ end
74
95
  end
75
96
  end
76
97
  end
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WhopSDK
4
+ module Models
5
+ # @see WhopSDK::Resources::CompanyTokenTransactions#create
6
+ class CompanyTokenTransactionCreateParams < WhopSDK::Internal::Type::BaseModel
7
+ extend WhopSDK::Internal::Type::RequestParameters::Converter
8
+ include WhopSDK::Internal::Type::RequestParameters
9
+
10
+ # @!attribute amount
11
+ # The positive amount of tokens
12
+ #
13
+ # @return [Float]
14
+ required :amount, Float
15
+
16
+ # @!attribute company_id
17
+ # The company ID
18
+ #
19
+ # @return [String]
20
+ required :company_id, String
21
+
22
+ # @!attribute destination_user_id
23
+ # Required for transfers - the user to receive tokens
24
+ #
25
+ # @return [String]
26
+ required :destination_user_id, String
27
+
28
+ # @!attribute transaction_type
29
+ #
30
+ # @return [Symbol, :subtract]
31
+ required :transaction_type, const: :subtract
32
+
33
+ # @!attribute user_id
34
+ # The user ID whose balance will change
35
+ #
36
+ # @return [String]
37
+ required :user_id, String
38
+
39
+ # @!attribute description
40
+ # Optional description for the transaction
41
+ #
42
+ # @return [String, nil]
43
+ optional :description, String, nil?: true
44
+
45
+ # @!attribute idempotency_key
46
+ # Optional key to prevent duplicate transactions
47
+ #
48
+ # @return [String, nil]
49
+ optional :idempotency_key, String, nil?: true
50
+
51
+ # @!method initialize(amount:, company_id:, destination_user_id:, user_id:, description: nil, idempotency_key: nil, transaction_type: :subtract, request_options: {})
52
+ # @param amount [Float] The positive amount of tokens
53
+ #
54
+ # @param company_id [String] The company ID
55
+ #
56
+ # @param destination_user_id [String] Required for transfers - the user to receive tokens
57
+ #
58
+ # @param user_id [String] The user ID whose balance will change
59
+ #
60
+ # @param description [String, nil] Optional description for the transaction
61
+ #
62
+ # @param idempotency_key [String, nil] Optional key to prevent duplicate transactions
63
+ #
64
+ # @param transaction_type [Symbol, :subtract]
65
+ #
66
+ # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
67
+ end
68
+ end
69
+ end