whop_sdk 0.0.23 → 0.0.24

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 (176) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/README.md +1 -1
  4. data/lib/whop_sdk/models/app_build_create_params.rb +16 -55
  5. data/lib/whop_sdk/models/app_create_params.rb +22 -1
  6. data/lib/whop_sdk/models/app_list_params.rb +5 -0
  7. data/lib/whop_sdk/models/app_update_params.rb +14 -53
  8. data/lib/whop_sdk/models/card_brands.rb +16 -0
  9. data/lib/whop_sdk/models/checkout_configuration_create_params.rb +32 -56
  10. data/lib/whop_sdk/models/company_create_params.rb +22 -1
  11. data/lib/whop_sdk/models/company_update_params.rb +28 -106
  12. data/lib/whop_sdk/models/course_create_params.rb +15 -62
  13. data/lib/whop_sdk/models/course_lesson_create_params.rb +14 -53
  14. data/lib/whop_sdk/models/course_lesson_update_params.rb +53 -214
  15. data/lib/whop_sdk/models/course_update_params.rb +14 -61
  16. data/lib/whop_sdk/models/dispute_update_evidence_params.rb +56 -212
  17. data/lib/whop_sdk/models/experience_create_params.rb +22 -1
  18. data/lib/whop_sdk/models/experience_update_params.rb +14 -53
  19. data/lib/whop_sdk/models/forum_post_create_params.rb +13 -52
  20. data/lib/whop_sdk/models/forum_post_update_params.rb +13 -52
  21. data/lib/whop_sdk/models/friendly_receipt_status.rb +23 -11
  22. data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +1 -34
  23. data/lib/whop_sdk/models/member_list_response.rb +9 -1
  24. data/lib/whop_sdk/models/member_retrieve_response.rb +9 -1
  25. data/lib/whop_sdk/models/membership.rb +76 -2
  26. data/lib/whop_sdk/models/membership_list_response.rb +38 -2
  27. data/lib/whop_sdk/models/membership_uncancel_params.rb +14 -0
  28. data/lib/whop_sdk/models/message_create_params.rb +13 -52
  29. data/lib/whop_sdk/models/message_update_params.rb +14 -53
  30. data/lib/whop_sdk/models/payment.rb +17 -1
  31. data/lib/whop_sdk/models/payment_list_response.rb +17 -1
  32. data/lib/whop_sdk/models/payment_method_types.rb +58 -57
  33. data/lib/whop_sdk/models/payment_provider.rb +1 -0
  34. data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +26 -1
  35. data/lib/whop_sdk/models/payout_method_list_response.rb +26 -1
  36. data/lib/whop_sdk/models/payout_method_retrieve_response.rb +26 -1
  37. data/lib/whop_sdk/models/plan_create_params.rb +14 -53
  38. data/lib/whop_sdk/models/plan_update_params.rb +14 -53
  39. data/lib/whop_sdk/models/withdrawal_create_params.rb +21 -1
  40. data/lib/whop_sdk/models/withdrawal_create_response.rb +2 -9
  41. data/lib/whop_sdk/models/withdrawal_created_webhook_event.rb +2 -9
  42. data/lib/whop_sdk/models/withdrawal_list_response.rb +1 -9
  43. data/lib/whop_sdk/models/withdrawal_retrieve_response.rb +2 -9
  44. data/lib/whop_sdk/models/withdrawal_updated_webhook_event.rb +2 -9
  45. data/lib/whop_sdk/models.rb +2 -2
  46. data/lib/whop_sdk/resources/app_builds.rb +1 -1
  47. data/lib/whop_sdk/resources/apps.rb +4 -2
  48. data/lib/whop_sdk/resources/checkout_configurations.rb +3 -1
  49. data/lib/whop_sdk/resources/companies.rb +5 -3
  50. data/lib/whop_sdk/resources/course_lessons.rb +4 -4
  51. data/lib/whop_sdk/resources/courses.rb +4 -8
  52. data/lib/whop_sdk/resources/disputes.rb +4 -4
  53. data/lib/whop_sdk/resources/experiences.rb +4 -2
  54. data/lib/whop_sdk/resources/forum_posts.rb +2 -2
  55. data/lib/whop_sdk/resources/memberships.rb +32 -0
  56. data/lib/whop_sdk/resources/messages.rb +2 -2
  57. data/lib/whop_sdk/resources/notifications.rb +4 -0
  58. data/lib/whop_sdk/resources/plans.rb +2 -2
  59. data/lib/whop_sdk/resources/withdrawals.rb +8 -1
  60. data/lib/whop_sdk/version.rb +1 -1
  61. data/lib/whop_sdk.rb +1 -1
  62. data/rbi/whop_sdk/models/app_build_create_params.rbi +26 -89
  63. data/rbi/whop_sdk/models/app_create_params.rbi +36 -0
  64. data/rbi/whop_sdk/models/app_list_params.rbi +10 -0
  65. data/rbi/whop_sdk/models/app_update_params.rbi +21 -93
  66. data/rbi/whop_sdk/models/card_brands.rbi +17 -0
  67. data/rbi/whop_sdk/models/checkout_configuration_create_params.rbi +45 -87
  68. data/rbi/whop_sdk/models/company_create_params.rbi +39 -0
  69. data/rbi/whop_sdk/models/company_update_params.rbi +47 -185
  70. data/rbi/whop_sdk/models/course_create_params.rbi +24 -101
  71. data/rbi/whop_sdk/models/course_lesson_create_params.rbi +25 -92
  72. data/rbi/whop_sdk/models/course_lesson_update_params.rbi +97 -359
  73. data/rbi/whop_sdk/models/course_update_params.rbi +24 -101
  74. data/rbi/whop_sdk/models/dispute_update_evidence_params.rbi +116 -340
  75. data/rbi/whop_sdk/models/experience_create_params.rbi +41 -0
  76. data/rbi/whop_sdk/models/experience_update_params.rbi +24 -93
  77. data/rbi/whop_sdk/models/forum_post_create_params.rbi +18 -94
  78. data/rbi/whop_sdk/models/forum_post_update_params.rbi +18 -94
  79. data/rbi/whop_sdk/models/friendly_receipt_status.rbi +62 -17
  80. data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +0 -105
  81. data/rbi/whop_sdk/models/member_list_response.rbi +8 -0
  82. data/rbi/whop_sdk/models/member_retrieve_response.rbi +8 -0
  83. data/rbi/whop_sdk/models/membership.rbi +126 -4
  84. data/rbi/whop_sdk/models/membership_list_response.rbi +98 -4
  85. data/rbi/whop_sdk/models/membership_uncancel_params.rbi +27 -0
  86. data/rbi/whop_sdk/models/message_create_params.rbi +18 -94
  87. data/rbi/whop_sdk/models/message_update_params.rbi +18 -94
  88. data/rbi/whop_sdk/models/payment.rbi +16 -0
  89. data/rbi/whop_sdk/models/payment_list_response.rbi +16 -0
  90. data/rbi/whop_sdk/models/payment_method_types.rbi +66 -64
  91. data/rbi/whop_sdk/models/payment_provider.rbi +1 -0
  92. data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +26 -0
  93. data/rbi/whop_sdk/models/payout_method_list_response.rbi +26 -0
  94. data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +26 -0
  95. data/rbi/whop_sdk/models/plan_create_params.rbi +21 -93
  96. data/rbi/whop_sdk/models/plan_update_params.rbi +21 -93
  97. data/rbi/whop_sdk/models/withdrawal_create_params.rbi +18 -0
  98. data/rbi/whop_sdk/models/withdrawal_create_response.rbi +8 -11
  99. data/rbi/whop_sdk/models/withdrawal_created_webhook_event.rbi +8 -11
  100. data/rbi/whop_sdk/models/withdrawal_list_response.rbi +3 -11
  101. data/rbi/whop_sdk/models/withdrawal_retrieve_response.rbi +8 -11
  102. data/rbi/whop_sdk/models/withdrawal_updated_webhook_event.rbi +8 -11
  103. data/rbi/whop_sdk/models.rbi +2 -2
  104. data/rbi/whop_sdk/resources/app_builds.rbi +1 -5
  105. data/rbi/whop_sdk/resources/apps.rbi +4 -7
  106. data/rbi/whop_sdk/resources/checkout_configurations.rbi +3 -0
  107. data/rbi/whop_sdk/resources/companies.rbi +5 -13
  108. data/rbi/whop_sdk/resources/course_lessons.rbi +4 -24
  109. data/rbi/whop_sdk/resources/courses.rbi +2 -20
  110. data/rbi/whop_sdk/resources/disputes.rbi +4 -16
  111. data/rbi/whop_sdk/resources/experiences.rbi +4 -7
  112. data/rbi/whop_sdk/resources/forum_posts.rbi +2 -12
  113. data/rbi/whop_sdk/resources/memberships.rbi +26 -0
  114. data/rbi/whop_sdk/resources/messages.rbi +2 -12
  115. data/rbi/whop_sdk/resources/notifications.rbi +4 -0
  116. data/rbi/whop_sdk/resources/plans.rbi +2 -14
  117. data/rbi/whop_sdk/resources/withdrawals.rbi +7 -0
  118. data/sig/whop_sdk/models/app_build_create_params.rbs +9 -30
  119. data/sig/whop_sdk/models/app_create_params.rbs +20 -1
  120. data/sig/whop_sdk/models/app_list_params.rbs +10 -0
  121. data/sig/whop_sdk/models/app_update_params.rbs +9 -30
  122. data/sig/whop_sdk/models/card_brands.rbs +32 -0
  123. data/sig/whop_sdk/models/checkout_configuration_create_params.rbs +19 -30
  124. data/sig/whop_sdk/models/company_create_params.rbs +15 -0
  125. data/sig/whop_sdk/models/company_update_params.rbs +18 -60
  126. data/sig/whop_sdk/models/course_create_params.rbs +9 -35
  127. data/sig/whop_sdk/models/course_lesson_create_params.rbs +9 -30
  128. data/sig/whop_sdk/models/course_lesson_update_params.rbs +36 -120
  129. data/sig/whop_sdk/models/course_update_params.rbs +9 -35
  130. data/sig/whop_sdk/models/dispute_update_evidence_params.rbs +36 -120
  131. data/sig/whop_sdk/models/experience_create_params.rbs +15 -0
  132. data/sig/whop_sdk/models/experience_update_params.rbs +9 -30
  133. data/sig/whop_sdk/models/forum_post_create_params.rbs +9 -30
  134. data/sig/whop_sdk/models/forum_post_update_params.rbs +9 -30
  135. data/sig/whop_sdk/models/friendly_receipt_status.rbs +46 -22
  136. data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +0 -38
  137. data/sig/whop_sdk/models/member_list_response.rbs +5 -0
  138. data/sig/whop_sdk/models/member_retrieve_response.rbs +5 -0
  139. data/sig/whop_sdk/models/membership.rbs +65 -4
  140. data/sig/whop_sdk/models/membership_list_response.rbs +45 -4
  141. data/sig/whop_sdk/models/membership_uncancel_params.rbs +15 -0
  142. data/sig/whop_sdk/models/message_create_params.rbs +9 -30
  143. data/sig/whop_sdk/models/message_update_params.rbs +9 -30
  144. data/sig/whop_sdk/models/payment.rbs +10 -0
  145. data/sig/whop_sdk/models/payment_list_response.rbs +10 -0
  146. data/sig/whop_sdk/models/payment_method_types.rbs +117 -115
  147. data/sig/whop_sdk/models/payment_provider.rbs +2 -0
  148. data/sig/whop_sdk/models/payout_method_created_webhook_event.rbs +15 -0
  149. data/sig/whop_sdk/models/payout_method_list_response.rbs +15 -0
  150. data/sig/whop_sdk/models/payout_method_retrieve_response.rbs +15 -0
  151. data/sig/whop_sdk/models/plan_create_params.rbs +9 -30
  152. data/sig/whop_sdk/models/plan_update_params.rbs +9 -30
  153. data/sig/whop_sdk/models/withdrawal_create_params.rbs +11 -1
  154. data/sig/whop_sdk/models/withdrawal_create_response.rbs +5 -8
  155. data/sig/whop_sdk/models/withdrawal_created_webhook_event.rbs +5 -8
  156. data/sig/whop_sdk/models/withdrawal_list_response.rbs +3 -8
  157. data/sig/whop_sdk/models/withdrawal_retrieve_response.rbs +5 -8
  158. data/sig/whop_sdk/models/withdrawal_updated_webhook_event.rbs +5 -8
  159. data/sig/whop_sdk/models.rbs +2 -2
  160. data/sig/whop_sdk/resources/app_builds.rbs +1 -1
  161. data/sig/whop_sdk/resources/apps.rbs +2 -1
  162. data/sig/whop_sdk/resources/checkout_configurations.rbs +1 -0
  163. data/sig/whop_sdk/resources/companies.rbs +3 -2
  164. data/sig/whop_sdk/resources/course_lessons.rbs +4 -4
  165. data/sig/whop_sdk/resources/courses.rbs +2 -4
  166. data/sig/whop_sdk/resources/disputes.rbs +4 -4
  167. data/sig/whop_sdk/resources/experiences.rbs +2 -1
  168. data/sig/whop_sdk/resources/forum_posts.rbs +2 -2
  169. data/sig/whop_sdk/resources/memberships.rbs +5 -0
  170. data/sig/whop_sdk/resources/messages.rbs +2 -2
  171. data/sig/whop_sdk/resources/plans.rbs +2 -2
  172. data/sig/whop_sdk/resources/withdrawals.rbs +2 -0
  173. metadata +19 -5
  174. data/lib/whop_sdk/models/withdrawal_types.rb +0 -16
  175. data/rbi/whop_sdk/models/withdrawal_types.rbi +0 -20
  176. data/sig/whop_sdk/models/withdrawal_types.rbs +0 -14
@@ -148,13 +148,7 @@ module WhopSDK
148
148
  # @return [String, nil]
149
149
  required :trace_code, String, nil?: true
150
150
 
151
- # @!attribute withdrawal_type
152
- # The type of withdrawal.
153
- #
154
- # @return [Symbol, WhopSDK::Models::WithdrawalTypes]
155
- required :withdrawal_type, enum: -> { WhopSDK::WithdrawalTypes }
156
-
157
- # @!method initialize(id:, amount:, created_at:, currency:, error_code:, error_message:, estimated_availability:, fee_amount:, fee_type:, ledger_account:, markup_fee:, payout_token:, speed:, status:, trace_code:, withdrawal_type:)
151
+ # @!method initialize(id:, amount:, created_at:, currency:, error_code:, error_message:, estimated_availability:, fee_amount:, fee_type:, ledger_account:, markup_fee:, payout_token:, speed:, status:, trace_code:)
158
152
  # Some parameter documentations has been truncated, see
159
153
  # {WhopSDK::Models::WithdrawalCreatedWebhookEvent::Data} for more details.
160
154
  #
@@ -189,8 +183,6 @@ module WhopSDK
189
183
  # @param status [Symbol, WhopSDK::Models::WithdrawalStatus] Status of the withdrawal.
190
184
  #
191
185
  # @param trace_code [String, nil] The trace code for the payout, if applicable. Provided on ACH transactions when
192
- #
193
- # @param withdrawal_type [Symbol, WhopSDK::Models::WithdrawalTypes] The type of withdrawal.
194
186
 
195
187
  # The different error codes a payout can be in.
196
188
  #
@@ -223,6 +215,7 @@ module WhopSDK
223
215
  INVALID_ACCOUNT_NUMBER = :invalid_account_number
224
216
  INVALID_BANK_CODE = :invalid_bank_code
225
217
  INVALID_BENEFICIARY = :invalid_beneficiary
218
+ INVALID_MAILING_ADDRESS = :invalid_mailing_address
226
219
  INVALID_BRANCH_NUMBER = :invalid_branch_number
227
220
  INVALID_BRANCH_CODE = :invalid_branch_code
228
221
  INVALID_PHONE_NUMBER = :invalid_phone_number
@@ -61,13 +61,7 @@ module WhopSDK
61
61
  # @return [Symbol, WhopSDK::Models::WithdrawalStatus]
62
62
  required :status, enum: -> { WhopSDK::WithdrawalStatus }
63
63
 
64
- # @!attribute withdrawal_type
65
- # The type of withdrawal.
66
- #
67
- # @return [Symbol, WhopSDK::Models::WithdrawalTypes]
68
- required :withdrawal_type, enum: -> { WhopSDK::WithdrawalTypes }
69
-
70
- # @!method initialize(id:, amount:, created_at:, currency:, fee_amount:, fee_type:, markup_fee:, speed:, status:, withdrawal_type:)
64
+ # @!method initialize(id:, amount:, created_at:, currency:, fee_amount:, fee_type:, markup_fee:, speed:, status:)
71
65
  # Some parameter documentations has been truncated, see
72
66
  # {WhopSDK::Models::WithdrawalListResponse} for more details.
73
67
  #
@@ -90,8 +84,6 @@ module WhopSDK
90
84
  # @param speed [Symbol, WhopSDK::Models::WithdrawalSpeeds] The speed of the withdrawal.
91
85
  #
92
86
  # @param status [Symbol, WhopSDK::Models::WithdrawalStatus] Status of the withdrawal.
93
- #
94
- # @param withdrawal_type [Symbol, WhopSDK::Models::WithdrawalTypes] The type of withdrawal.
95
87
  end
96
88
  end
97
89
  end
@@ -98,13 +98,7 @@ module WhopSDK
98
98
  # @return [String, nil]
99
99
  required :trace_code, String, nil?: true
100
100
 
101
- # @!attribute withdrawal_type
102
- # The type of withdrawal.
103
- #
104
- # @return [Symbol, WhopSDK::Models::WithdrawalTypes]
105
- required :withdrawal_type, enum: -> { WhopSDK::WithdrawalTypes }
106
-
107
- # @!method initialize(id:, amount:, created_at:, currency:, error_code:, error_message:, estimated_availability:, fee_amount:, fee_type:, ledger_account:, markup_fee:, payout_token:, speed:, status:, trace_code:, withdrawal_type:)
101
+ # @!method initialize(id:, amount:, created_at:, currency:, error_code:, error_message:, estimated_availability:, fee_amount:, fee_type:, ledger_account:, markup_fee:, payout_token:, speed:, status:, trace_code:)
108
102
  # Some parameter documentations has been truncated, see
109
103
  # {WhopSDK::Models::WithdrawalRetrieveResponse} for more details.
110
104
  #
@@ -139,8 +133,6 @@ module WhopSDK
139
133
  # @param status [Symbol, WhopSDK::Models::WithdrawalStatus] Status of the withdrawal.
140
134
  #
141
135
  # @param trace_code [String, nil] The trace code for the payout, if applicable. Provided on ACH transactions when
142
- #
143
- # @param withdrawal_type [Symbol, WhopSDK::Models::WithdrawalTypes] The type of withdrawal.
144
136
 
145
137
  # The different error codes a payout can be in.
146
138
  #
@@ -173,6 +165,7 @@ module WhopSDK
173
165
  INVALID_ACCOUNT_NUMBER = :invalid_account_number
174
166
  INVALID_BANK_CODE = :invalid_bank_code
175
167
  INVALID_BENEFICIARY = :invalid_beneficiary
168
+ INVALID_MAILING_ADDRESS = :invalid_mailing_address
176
169
  INVALID_BRANCH_NUMBER = :invalid_branch_number
177
170
  INVALID_BRANCH_CODE = :invalid_branch_code
178
171
  INVALID_PHONE_NUMBER = :invalid_phone_number
@@ -148,13 +148,7 @@ module WhopSDK
148
148
  # @return [String, nil]
149
149
  required :trace_code, String, nil?: true
150
150
 
151
- # @!attribute withdrawal_type
152
- # The type of withdrawal.
153
- #
154
- # @return [Symbol, WhopSDK::Models::WithdrawalTypes]
155
- required :withdrawal_type, enum: -> { WhopSDK::WithdrawalTypes }
156
-
157
- # @!method initialize(id:, amount:, created_at:, currency:, error_code:, error_message:, estimated_availability:, fee_amount:, fee_type:, ledger_account:, markup_fee:, payout_token:, speed:, status:, trace_code:, withdrawal_type:)
151
+ # @!method initialize(id:, amount:, created_at:, currency:, error_code:, error_message:, estimated_availability:, fee_amount:, fee_type:, ledger_account:, markup_fee:, payout_token:, speed:, status:, trace_code:)
158
152
  # Some parameter documentations has been truncated, see
159
153
  # {WhopSDK::Models::WithdrawalUpdatedWebhookEvent::Data} for more details.
160
154
  #
@@ -189,8 +183,6 @@ module WhopSDK
189
183
  # @param status [Symbol, WhopSDK::Models::WithdrawalStatus] Status of the withdrawal.
190
184
  #
191
185
  # @param trace_code [String, nil] The trace code for the payout, if applicable. Provided on ACH transactions when
192
- #
193
- # @param withdrawal_type [Symbol, WhopSDK::Models::WithdrawalTypes] The type of withdrawal.
194
186
 
195
187
  # The different error codes a payout can be in.
196
188
  #
@@ -223,6 +215,7 @@ module WhopSDK
223
215
  INVALID_ACCOUNT_NUMBER = :invalid_account_number
224
216
  INVALID_BANK_CODE = :invalid_bank_code
225
217
  INVALID_BENEFICIARY = :invalid_beneficiary
218
+ INVALID_MAILING_ADDRESS = :invalid_mailing_address
226
219
  INVALID_BRANCH_NUMBER = :invalid_branch_number
227
220
  INVALID_BRANCH_CODE = :invalid_branch_code
228
221
  INVALID_PHONE_NUMBER = :invalid_phone_number
@@ -349,6 +349,8 @@ module WhopSDK
349
349
 
350
350
  MembershipStatus = WhopSDK::Models::MembershipStatus
351
351
 
352
+ MembershipUncancelParams = WhopSDK::Models::MembershipUncancelParams
353
+
352
354
  MembershipUpdateParams = WhopSDK::Models::MembershipUpdateParams
353
355
 
354
356
  MemberStatuses = WhopSDK::Models::MemberStatuses
@@ -577,7 +579,5 @@ module WhopSDK
577
579
 
578
580
  WithdrawalStatus = WhopSDK::Models::WithdrawalStatus
579
581
 
580
- WithdrawalTypes = WhopSDK::Models::WithdrawalTypes
581
-
582
582
  WithdrawalUpdatedWebhookEvent = WhopSDK::Models::WithdrawalUpdatedWebhookEvent
583
583
  end
@@ -14,7 +14,7 @@ module WhopSDK
14
14
  #
15
15
  # @overload create(attachment:, checksum:, platform:, ai_prompt_id: nil, app_id: nil, supported_app_view_types: nil, request_options: {})
16
16
  #
17
- # @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
17
+ # @param attachment [WhopSDK::Models::AppBuildCreateParams::Attachment] Attachment input for the app build file. This should be an upload in .zip format
18
18
  #
19
19
  # @param checksum [String] Checksum of the app build file. This is generated by the client and used to veri
20
20
  #
@@ -10,7 +10,7 @@ module WhopSDK
10
10
  # - `developer:create_app`
11
11
  # - `developer:manage_api_key`
12
12
  #
13
- # @overload create(company_id:, name:, base_url: nil, request_options: {})
13
+ # @overload create(company_id:, name:, base_url: nil, icon: nil, request_options: {})
14
14
  #
15
15
  # @param company_id [String] The ID of the company to create the app for
16
16
  #
@@ -18,6 +18,8 @@ module WhopSDK
18
18
  #
19
19
  # @param base_url [String, nil] The base URL of the app to be created
20
20
  #
21
+ # @param icon [WhopSDK::Models::AppCreateParams::Icon, nil] The icon for the app in png, jpeg, or gif format
22
+ #
21
23
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
22
24
  #
23
25
  # @return [WhopSDK::Models::App]
@@ -77,7 +79,7 @@ module WhopSDK
77
79
  #
78
80
  # @param experience_path [String, nil] The path for the hub view of the app
79
81
  #
80
- # @param icon [WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithDirectUploadID, WhopSDK::Models::AppUpdateParams::Icon::AttachmentInputWithID, nil] The icon for the app
82
+ # @param icon [WhopSDK::Models::AppUpdateParams::Icon, nil] The icon for the app
81
83
  #
82
84
  # @param name [String, nil] The name of the app
83
85
  #
@@ -16,7 +16,7 @@ module WhopSDK
16
16
  # - `access_pass:update`
17
17
  # - `checkout_configuration:basic:read`
18
18
  #
19
- # @overload create(plan:, plan_id:, company_id:, affiliate_code: nil, currency: nil, metadata: nil, payment_method_configuration: nil, redirect_url: nil, mode: :setup, request_options: {})
19
+ # @overload create(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: {})
20
20
  #
21
21
  # @param plan [WhopSDK::Models::CheckoutConfigurationCreateParams::Plan] Pass this object to create a new plan for this checkout configuration
22
22
  #
@@ -34,6 +34,8 @@ module WhopSDK
34
34
  #
35
35
  # @param redirect_url [String, nil] The URL to redirect the user to after the checkout configuration is created
36
36
  #
37
+ # @param source_url [String, nil] The URL of the page where the checkout is being initiated from.
38
+ #
37
39
  # @param mode [Symbol, :setup]
38
40
  #
39
41
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -13,7 +13,7 @@ module WhopSDK
13
13
  # - `company:create_child`
14
14
  # - `company:basic:read`
15
15
  #
16
- # @overload create(email:, parent_company_id:, title:, business_type: nil, industry_type: nil, metadata: nil, send_customer_emails: nil, request_options: {})
16
+ # @overload create(email:, parent_company_id:, title:, business_type: nil, industry_type: nil, logo: nil, metadata: nil, send_customer_emails: nil, request_options: {})
17
17
  #
18
18
  # @param email [String] The email of the user who the company will belong to.
19
19
  #
@@ -25,6 +25,8 @@ module WhopSDK
25
25
  #
26
26
  # @param industry_type [Symbol, WhopSDK::Models::IndustryTypes, nil] The different industry types a company can be in.
27
27
  #
28
+ # @param logo [WhopSDK::Models::CompanyCreateParams::Logo, nil] The logo for the company in png, jpeg, or gif format
29
+ #
28
30
  # @param metadata [Hash{Symbol=>Object}, nil] Additional metadata for the account
29
31
  #
30
32
  # @param send_customer_emails [Boolean, nil] Whether Whop sends transactional emails to customers on behalf of this company.
@@ -84,13 +86,13 @@ module WhopSDK
84
86
  #
85
87
  # @param id [String] The ID of the company to update
86
88
  #
87
- # @param banner_image [WhopSDK::Models::CompanyUpdateParams::BannerImage::AttachmentInputWithDirectUploadID, WhopSDK::Models::CompanyUpdateParams::BannerImage::AttachmentInputWithID, nil] The banner image for the company in png or jpeg format
89
+ # @param banner_image [WhopSDK::Models::CompanyUpdateParams::BannerImage, nil] The banner image for the company in png or jpeg format
88
90
  #
89
91
  # @param business_type [Symbol, WhopSDK::Models::BusinessTypes, nil] The different business types a company can be.
90
92
  #
91
93
  # @param industry_type [Symbol, WhopSDK::Models::IndustryTypes, nil] The different industry types a company can be in.
92
94
  #
93
- # @param logo [WhopSDK::Models::CompanyUpdateParams::Logo::AttachmentInputWithDirectUploadID, WhopSDK::Models::CompanyUpdateParams::Logo::AttachmentInputWithID, nil] The logo for the company in png, jpeg, or gif format
95
+ # @param logo [WhopSDK::Models::CompanyUpdateParams::Logo, nil] The logo for the company in png, jpeg, or gif format
94
96
  #
95
97
  # @param send_customer_emails [Boolean, nil] Whether Whop sends transactional emails to customers on behalf of this company.
96
98
  #
@@ -23,7 +23,7 @@ module WhopSDK
23
23
  #
24
24
  # @param embed_type [Symbol, WhopSDK::Models::EmbedType, nil] The type of embed for a lesson
25
25
  #
26
- # @param thumbnail [WhopSDK::Models::CourseLessonCreateParams::Thumbnail::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseLessonCreateParams::Thumbnail::AttachmentInputWithID, nil] The thumbnail for the lesson in png, jpeg, or gif format
26
+ # @param thumbnail [WhopSDK::Models::CourseLessonCreateParams::Thumbnail, nil] The thumbnail for the lesson in png, jpeg, or gif format
27
27
  #
28
28
  # @param title [String, nil] The title of the lesson
29
29
  #
@@ -84,7 +84,7 @@ module WhopSDK
84
84
  #
85
85
  # @param assessment_questions [Array<WhopSDK::Models::CourseLessonUpdateParams::AssessmentQuestion>, nil] Assessment questions for quiz/knowledge check lessons. Replaces all existing que
86
86
  #
87
- # @param attachments [Array<WhopSDK::Models::CourseLessonUpdateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseLessonUpdateParams::Attachment::AttachmentInputWithID>, nil] General attachments for the lesson (PDFs, files, etc). Replaces all existing att
87
+ # @param attachments [Array<WhopSDK::Models::CourseLessonUpdateParams::Attachment>, nil] General attachments for the lesson (PDFs, files, etc). Replaces all existing att
88
88
  #
89
89
  # @param content [String, nil] The content of the lesson
90
90
  #
@@ -96,13 +96,13 @@ module WhopSDK
96
96
  #
97
97
  # @param lesson_type [Symbol, WhopSDK::Models::LessonTypes, nil] The available types for a lesson
98
98
  #
99
- # @param main_pdf [WhopSDK::Models::CourseLessonUpdateParams::MainPdf::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseLessonUpdateParams::MainPdf::AttachmentInputWithID, nil] The main PDF file for this lesson
99
+ # @param main_pdf [WhopSDK::Models::CourseLessonUpdateParams::MainPdf, nil] The main PDF file for this lesson
100
100
  #
101
101
  # @param max_attempts [Integer, nil] Maximum number of attempts allowed for assessments
102
102
  #
103
103
  # @param mux_asset_id [String, nil] The ID of the Mux asset to attach to this lesson for video lessons
104
104
  #
105
- # @param thumbnail [WhopSDK::Models::CourseLessonUpdateParams::Thumbnail::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseLessonUpdateParams::Thumbnail::AttachmentInputWithID, nil] The thumbnail for the lesson in png, jpeg, or gif format
105
+ # @param thumbnail [WhopSDK::Models::CourseLessonUpdateParams::Thumbnail, nil] The thumbnail for the lesson in png, jpeg, or gif format
106
106
  #
107
107
  # @param title [String, nil] The title of the lesson
108
108
  #
@@ -12,7 +12,7 @@ module WhopSDK
12
12
  #
13
13
  # - `courses:update`
14
14
  #
15
- # @overload create(experience_id:, title:, certificate_after_completion_enabled: nil, cover_image: nil, order: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, visibility: nil, request_options: {})
15
+ # @overload create(experience_id:, title:, certificate_after_completion_enabled: nil, order: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, visibility: nil, request_options: {})
16
16
  #
17
17
  # @param experience_id [String] The ID of the experience to create the course in
18
18
  #
@@ -20,15 +20,13 @@ module WhopSDK
20
20
  #
21
21
  # @param certificate_after_completion_enabled [Boolean, nil] Whether the course will award its students a PDF certificate after completing al
22
22
  #
23
- # @param cover_image [String, nil] The cover image URL of the course
24
- #
25
23
  # @param order [String, nil] The decimal order position of the course within its experience. If not provided,
26
24
  #
27
25
  # @param require_completing_lessons_in_order [Boolean, nil] Whether the course requires students to complete the previous lesson before movi
28
26
  #
29
27
  # @param tagline [String, nil] The tagline of the course
30
28
  #
31
- # @param thumbnail [WhopSDK::Models::CourseCreateParams::Thumbnail::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseCreateParams::Thumbnail::AttachmentInputWithID, nil] The thumbnail for the course in png, jpeg, or gif format
29
+ # @param thumbnail [WhopSDK::Models::CourseCreateParams::Thumbnail, nil] The thumbnail for the course in png, jpeg, or gif format
32
30
  #
33
31
  # @param visibility [Symbol, WhopSDK::Models::CourseVisibilities, nil] The available visibilities for a course. Determines how / whether a course is vi
34
32
  #
@@ -81,7 +79,7 @@ module WhopSDK
81
79
  #
82
80
  # - `courses:update`
83
81
  #
84
- # @overload update(id, certificate_after_completion_enabled: nil, chapters: nil, cover_image: nil, description: nil, language: nil, order: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, title: nil, visibility: nil, request_options: {})
82
+ # @overload update(id, certificate_after_completion_enabled: nil, chapters: nil, description: nil, language: nil, order: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, title: nil, visibility: nil, request_options: {})
85
83
  #
86
84
  # @param id [String] The ID of the course to update
87
85
  #
@@ -89,8 +87,6 @@ module WhopSDK
89
87
  #
90
88
  # @param chapters [Array<WhopSDK::Models::CourseUpdateParams::Chapter>, nil] The chapters and lessons to update
91
89
  #
92
- # @param cover_image [String, nil] The cover image URL of the course
93
- #
94
90
  # @param description [String, nil] A short description of the course
95
91
  #
96
92
  # @param language [Symbol, WhopSDK::Models::Languages, nil] The available languages for a course
@@ -101,7 +97,7 @@ module WhopSDK
101
97
  #
102
98
  # @param tagline [String, nil] A short tagline for the course
103
99
  #
104
- # @param thumbnail [WhopSDK::Models::CourseUpdateParams::Thumbnail::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseUpdateParams::Thumbnail::AttachmentInputWithID, nil] The thumbnail for the course in png, jpeg, or gif format
100
+ # @param thumbnail [WhopSDK::Models::CourseUpdateParams::Thumbnail, nil] The thumbnail for the course in png, jpeg, or gif format
105
101
  #
106
102
  # @param title [String, nil] The title of the course
107
103
  #
@@ -135,11 +135,11 @@ module WhopSDK
135
135
  #
136
136
  # @param billing_address [String, nil] The billing address of the user from their payment details.
137
137
  #
138
- # @param cancellation_policy_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::CancellationPolicyAttachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::DisputeUpdateEvidenceParams::CancellationPolicyAttachment::AttachmentInputWithID, nil] A file containing the cancellation policy from the company.
138
+ # @param cancellation_policy_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::CancellationPolicyAttachment, nil] A file containing the cancellation policy from the company.
139
139
  #
140
140
  # @param cancellation_policy_disclosure [String, nil] A cancellation policy disclosure from the company.
141
141
  #
142
- # @param customer_communication_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment::AttachmentInputWithID, nil] A file containing the customer communication from the company (An image).
142
+ # @param customer_communication_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment, nil] A file containing the customer communication from the company (An image).
143
143
  #
144
144
  # @param customer_email_address [String, nil] The email of the customer from their payment details.
145
145
  #
@@ -149,7 +149,7 @@ module WhopSDK
149
149
  #
150
150
  # @param product_description [String, nil] The description of the product from the company.
151
151
  #
152
- # @param refund_policy_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::RefundPolicyAttachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::DisputeUpdateEvidenceParams::RefundPolicyAttachment::AttachmentInputWithID, nil] A file containing the refund policy from the company.
152
+ # @param refund_policy_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::RefundPolicyAttachment, nil] A file containing the refund policy from the company.
153
153
  #
154
154
  # @param refund_policy_disclosure [String, nil] A refund policy disclosure from the company.
155
155
  #
@@ -157,7 +157,7 @@ module WhopSDK
157
157
  #
158
158
  # @param service_date [String, nil] When the product was delivered by the company.
159
159
  #
160
- # @param uncategorized_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::UncategorizedAttachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::DisputeUpdateEvidenceParams::UncategorizedAttachment::AttachmentInputWithID, nil] A file that does not fit in the other categories.
160
+ # @param uncategorized_attachment [WhopSDK::Models::DisputeUpdateEvidenceParams::UncategorizedAttachment, nil] A file that does not fit in the other categories.
161
161
  #
162
162
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
163
163
  #
@@ -7,7 +7,7 @@ module WhopSDK
7
7
  #
8
8
  # - `experience:create`
9
9
  #
10
- # @overload create(app_id:, company_id:, is_public: nil, name: nil, section_id: nil, request_options: {})
10
+ # @overload create(app_id:, company_id:, is_public: nil, logo: nil, name: nil, section_id: nil, request_options: {})
11
11
  #
12
12
  # @param app_id [String] The ID of the app to create the experience for
13
13
  #
@@ -15,6 +15,8 @@ module WhopSDK
15
15
  #
16
16
  # @param is_public [Boolean, nil] Whether the experience is publicly accessible
17
17
  #
18
+ # @param logo [WhopSDK::Models::ExperienceCreateParams::Logo, nil] The logo for the experience
19
+ #
18
20
  # @param name [String, nil] The name of the experience
19
21
  #
20
22
  # @param section_id [String, nil] The ID of the section to create the experience in
@@ -67,7 +69,7 @@ module WhopSDK
67
69
  #
68
70
  # @param is_public [Boolean, nil] Whether the experience is publicly accessible.
69
71
  #
70
- # @param logo [WhopSDK::Models::ExperienceUpdateParams::Logo::AttachmentInputWithDirectUploadID, WhopSDK::Models::ExperienceUpdateParams::Logo::AttachmentInputWithID, nil] The logo for the experience
72
+ # @param logo [WhopSDK::Models::ExperienceUpdateParams::Logo, nil] The logo for the experience
71
73
  #
72
74
  # @param name [String, nil] The name of the experience.
73
75
  #
@@ -16,7 +16,7 @@ module WhopSDK
16
16
  #
17
17
  # @param experience_id [String] The experience to create this post in
18
18
  #
19
- # @param attachments [Array<WhopSDK::Models::ForumPostCreateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::ForumPostCreateParams::Attachment::AttachmentInputWithID>, nil] The attachments for this post
19
+ # @param attachments [Array<WhopSDK::Models::ForumPostCreateParams::Attachment>, nil] The attachments for this post
20
20
  #
21
21
  # @param content [String, nil] This is the main body of the post in Markdown format. Hidden if paywalled and us
22
22
  #
@@ -85,7 +85,7 @@ module WhopSDK
85
85
  #
86
86
  # @param id [String] The ID of the forum post to update
87
87
  #
88
- # @param attachments [Array<WhopSDK::Models::ForumPostUpdateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::ForumPostUpdateParams::Attachment::AttachmentInputWithID>, nil] The attachments for this post
88
+ # @param attachments [Array<WhopSDK::Models::ForumPostUpdateParams::Attachment>, nil] The attachments for this post
89
89
  #
90
90
  # @param content [String, nil] This is the main body of the post in Markdown format. Hidden if paywalled and us
91
91
  #
@@ -8,6 +8,7 @@ module WhopSDK
8
8
  # Required permissions:
9
9
  #
10
10
  # - `member:basic:read`
11
+ # - `member:email:read`
11
12
  #
12
13
  # @overload retrieve(id, request_options: {})
13
14
  #
@@ -32,6 +33,7 @@ module WhopSDK
32
33
  # Required permissions:
33
34
  #
34
35
  # - `member:manage`
36
+ # - `member:email:read`
35
37
  # - `member:basic:read`
36
38
  #
37
39
  # @overload update(id, metadata: nil, request_options: {})
@@ -61,6 +63,7 @@ module WhopSDK
61
63
  # Required permissions:
62
64
  #
63
65
  # - `member:basic:read`
66
+ # - `member:email:read`
64
67
  #
65
68
  # @overload list(after: nil, before: nil, cancel_options: nil, company_id: nil, created_after: nil, created_before: nil, direction: nil, first: nil, last: nil, order: nil, plan_ids: nil, product_ids: nil, promo_code_ids: nil, statuses: nil, user_ids: nil, request_options: {})
66
69
  #
@@ -117,6 +120,7 @@ module WhopSDK
117
120
  # Required permissions:
118
121
  #
119
122
  # - `member:manage`
123
+ # - `member:email:read`
120
124
  # - `member:basic:read`
121
125
  #
122
126
  # @overload cancel(id, cancellation_mode: nil, request_options: {})
@@ -149,6 +153,7 @@ module WhopSDK
149
153
  # Required permissions:
150
154
  #
151
155
  # - `member:manage`
156
+ # - `member:email:read`
152
157
  # - `member:basic:read`
153
158
  #
154
159
  # @overload pause(id, void_payments: nil, request_options: {})
@@ -178,6 +183,7 @@ module WhopSDK
178
183
  # Required permissions:
179
184
  #
180
185
  # - `member:manage`
186
+ # - `member:email:read`
181
187
  # - `member:basic:read`
182
188
  #
183
189
  # @overload resume(id, request_options: {})
@@ -198,6 +204,32 @@ module WhopSDK
198
204
  )
199
205
  end
200
206
 
207
+ # Uncancels a membership that was scheduled to cancel at period end
208
+ #
209
+ # Required permissions:
210
+ #
211
+ # - `member:manage`
212
+ # - `member:email:read`
213
+ # - `member:basic:read`
214
+ #
215
+ # @overload uncancel(id, request_options: {})
216
+ #
217
+ # @param id [String] The ID of the membership.
218
+ #
219
+ # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
220
+ #
221
+ # @return [WhopSDK::Models::Membership]
222
+ #
223
+ # @see WhopSDK::Models::MembershipUncancelParams
224
+ def uncancel(id, params = {})
225
+ @client.request(
226
+ method: :post,
227
+ path: ["memberships/%1$s/uncancel", id],
228
+ model: WhopSDK::Membership,
229
+ options: params[:request_options]
230
+ )
231
+ end
232
+
201
233
  # @api private
202
234
  #
203
235
  # @param client [WhopSDK::Client]
@@ -15,7 +15,7 @@ module WhopSDK
15
15
  #
16
16
  # @param content [String] The content of the message in Markdown format.
17
17
  #
18
- # @param attachments [Array<WhopSDK::Models::MessageCreateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::MessageCreateParams::Attachment::AttachmentInputWithID>, nil] The attachments for this message, such as videos or images.
18
+ # @param attachments [Array<WhopSDK::Models::MessageCreateParams::Attachment>, nil] The attachments for this message, such as videos or images.
19
19
  #
20
20
  # @param poll [WhopSDK::Models::MessageCreateParams::Poll, nil] The poll for this message
21
21
  #
@@ -65,7 +65,7 @@ module WhopSDK
65
65
  #
66
66
  # @param id [String] The ID of the message to update
67
67
  #
68
- # @param attachments [Array<WhopSDK::Models::MessageUpdateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::MessageUpdateParams::Attachment::AttachmentInputWithID>, nil] The attachments for this message
68
+ # @param attachments [Array<WhopSDK::Models::MessageUpdateParams::Attachment>, nil] The attachments for this message
69
69
  #
70
70
  # @param content [String, nil] The content of the message in Markdown format
71
71
  #
@@ -8,6 +8,10 @@ module WhopSDK
8
8
  #
9
9
  # Queues a notification to be sent to users in an experience or company team
10
10
  #
11
+ # Required permissions:
12
+ #
13
+ # - `notification:create`
14
+ #
11
15
  # @overload create(company_id:, content:, title:, experience_id:, icon_user_id: nil, rest_path: nil, subtitle: nil, user_ids: nil, request_options: {})
12
16
  #
13
17
  # @param company_id [String] The id of the company to target. Only team members of this company will receive
@@ -30,7 +30,7 @@ module WhopSDK
30
30
  #
31
31
  # @param expiration_days [Integer, nil] The interval at which the plan expires and revokes access (expiration plans).
32
32
  #
33
- # @param image [WhopSDK::Models::PlanCreateParams::Image::AttachmentInputWithDirectUploadID, WhopSDK::Models::PlanCreateParams::Image::AttachmentInputWithID, nil] An image for the plan. This will be visible on the product page to customers.
33
+ # @param image [WhopSDK::Models::PlanCreateParams::Image, nil] An image for the plan. This will be visible on the product page to customers.
34
34
  #
35
35
  # @param initial_price [Float, nil] An additional amount charged upon first purchase. Use only if a one time payment
36
36
  #
@@ -119,7 +119,7 @@ module WhopSDK
119
119
  #
120
120
  # @param expiration_days [Integer, nil] The interval at which the plan charges (expiration plans).
121
121
  #
122
- # @param image [WhopSDK::Models::PlanUpdateParams::Image::AttachmentInputWithDirectUploadID, WhopSDK::Models::PlanUpdateParams::Image::AttachmentInputWithID, nil] An image for the plan. This will be visible on the product page to customers.
122
+ # @param image [WhopSDK::Models::PlanUpdateParams::Image, nil] An image for the plan. This will be visible on the product page to customers.
123
123
  #
124
124
  # @param initial_price [Float, nil] An additional amount charged upon first purchase.
125
125
  #
@@ -3,6 +3,9 @@
3
3
  module WhopSDK
4
4
  module Resources
5
5
  class Withdrawals
6
+ # Some parameter documentations has been truncated, see
7
+ # {WhopSDK::Models::WithdrawalCreateParams} for more details.
8
+ #
6
9
  # Creates a withdrawal request for a ledger account
7
10
  #
8
11
  # Required permissions:
@@ -10,7 +13,7 @@ module WhopSDK
10
13
  # - `payout:withdraw_funds`
11
14
  # - `payout:destination:read`
12
15
  #
13
- # @overload create(amount:, company_id:, currency:, payout_method_id: nil, request_options: {})
16
+ # @overload create(amount:, company_id:, currency:, payout_method_id: nil, platform_covers_fees: nil, statement_descriptor: nil, request_options: {})
14
17
  #
15
18
  # @param amount [Float] The amount to withdraw in the specified currency
16
19
  #
@@ -20,6 +23,10 @@ module WhopSDK
20
23
  #
21
24
  # @param payout_method_id [String, nil] The ID of the payout method to use for the withdrawal.
22
25
  #
26
+ # @param platform_covers_fees [Boolean, nil] Whether the platform covers the payout fees instead of the connected account.
27
+ #
28
+ # @param statement_descriptor [String, nil] Custom statement descriptor for the withdrawal. Must be between 5 and 22 charact
29
+ #
23
30
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
24
31
  #
25
32
  # @return [WhopSDK::Models::WithdrawalCreateResponse]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WhopSDK
4
- VERSION = "0.0.23"
4
+ VERSION = "0.0.24"
5
5
  end
data/lib/whop_sdk.rb CHANGED
@@ -248,6 +248,7 @@ require_relative "whop_sdk/models/membership_pause_params"
248
248
  require_relative "whop_sdk/models/membership_resume_params"
249
249
  require_relative "whop_sdk/models/membership_retrieve_params"
250
250
  require_relative "whop_sdk/models/membership_status"
251
+ require_relative "whop_sdk/models/membership_uncancel_params"
251
252
  require_relative "whop_sdk/models/membership_update_params"
252
253
  require_relative "whop_sdk/models/member_statuses"
253
254
  require_relative "whop_sdk/models/message"
@@ -396,7 +397,6 @@ require_relative "whop_sdk/models/withdrawal_retrieve_params"
396
397
  require_relative "whop_sdk/models/withdrawal_retrieve_response"
397
398
  require_relative "whop_sdk/models/withdrawal_speeds"
398
399
  require_relative "whop_sdk/models/withdrawal_status"
399
- require_relative "whop_sdk/models/withdrawal_types"
400
400
  require_relative "whop_sdk/models/withdrawal_updated_webhook_event"
401
401
  require_relative "whop_sdk/models"
402
402
  require_relative "whop_sdk/resources/access_tokens"