whop_sdk 0.0.17 → 0.0.19
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/README.md +1 -1
- data/lib/whop_sdk/models/company_update_params.rb +61 -1
- data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +145 -1
- data/lib/whop_sdk/models/payment_created_webhook_event.rb +48 -0
- data/lib/whop_sdk/models/payment_method_list_response.rb +227 -1
- data/lib/whop_sdk/models/payment_method_retrieve_response.rb +229 -1
- data/lib/whop_sdk/models/unwrap_webhook_event.rb +3 -1
- data/lib/whop_sdk/models.rb +2 -0
- data/lib/whop_sdk/resources/companies.rb +3 -1
- data/lib/whop_sdk/resources/ledger_accounts.rb +1 -0
- data/lib/whop_sdk/resources/payment_methods.rb +2 -2
- data/lib/whop_sdk/resources/webhooks.rb +1 -1
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +1 -0
- data/rbi/whop_sdk/models/company_update_params.rbi +110 -0
- data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +270 -0
- data/rbi/whop_sdk/models/payment_created_webhook_event.rbi +72 -0
- data/rbi/whop_sdk/models/payment_method_list_response.rbi +391 -1
- data/rbi/whop_sdk/models/payment_method_retrieve_response.rbi +391 -1
- data/rbi/whop_sdk/models/unwrap_webhook_event.rbi +1 -0
- data/rbi/whop_sdk/models.rbi +2 -0
- data/rbi/whop_sdk/resources/companies.rbi +9 -0
- data/rbi/whop_sdk/resources/ledger_accounts.rbi +1 -0
- data/rbi/whop_sdk/resources/webhooks.rbi +1 -0
- data/sig/whop_sdk/models/company_update_params.rbs +36 -0
- data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +107 -0
- data/sig/whop_sdk/models/payment_created_webhook_event.rbs +40 -0
- data/sig/whop_sdk/models/payment_method_list_response.rbs +170 -0
- data/sig/whop_sdk/models/payment_method_retrieve_response.rbs +170 -0
- data/sig/whop_sdk/models/unwrap_webhook_event.rbs +1 -0
- data/sig/whop_sdk/models.rbs +2 -0
- data/sig/whop_sdk/resources/companies.rbs +1 -0
- data/sig/whop_sdk/resources/webhooks.rbs +1 -0
- metadata +5 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type payment_created_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
api_version: :v1,
|
|
7
|
+
data: WhopSDK::Payment,
|
|
8
|
+
timestamp: Time,
|
|
9
|
+
type: :"payment.created"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class PaymentCreatedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor id: String
|
|
14
|
+
|
|
15
|
+
attr_accessor api_version: :v1
|
|
16
|
+
|
|
17
|
+
attr_accessor data: WhopSDK::Payment
|
|
18
|
+
|
|
19
|
+
attr_accessor timestamp: Time
|
|
20
|
+
|
|
21
|
+
attr_accessor type: :"payment.created"
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
id: String,
|
|
25
|
+
data: WhopSDK::Payment,
|
|
26
|
+
timestamp: Time,
|
|
27
|
+
?api_version: :v1,
|
|
28
|
+
?type: :"payment.created"
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
id: String,
|
|
33
|
+
api_version: :v1,
|
|
34
|
+
data: WhopSDK::Payment,
|
|
35
|
+
timestamp: Time,
|
|
36
|
+
type: :"payment.created"
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -4,6 +4,9 @@ module WhopSDK
|
|
|
4
4
|
WhopSDK::Models::PaymentMethodListResponse::BasePaymentMethod
|
|
5
5
|
| WhopSDK::Models::PaymentMethodListResponse::CardPaymentMethod
|
|
6
6
|
| WhopSDK::Models::PaymentMethodListResponse::UsBankAccountPaymentMethod
|
|
7
|
+
| WhopSDK::Models::PaymentMethodListResponse::CashappPaymentMethod
|
|
8
|
+
| WhopSDK::Models::PaymentMethodListResponse::IdealPaymentMethod
|
|
9
|
+
| WhopSDK::Models::PaymentMethodListResponse::SepaDebitPaymentMethod
|
|
7
10
|
|
|
8
11
|
module PaymentMethodListResponse
|
|
9
12
|
extend WhopSDK::Internal::Type::Union
|
|
@@ -169,6 +172,173 @@ module WhopSDK
|
|
|
169
172
|
end
|
|
170
173
|
end
|
|
171
174
|
|
|
175
|
+
type cashapp_payment_method =
|
|
176
|
+
{
|
|
177
|
+
id: String,
|
|
178
|
+
cashapp: WhopSDK::Models::PaymentMethodListResponse::CashappPaymentMethod::Cashapp,
|
|
179
|
+
created_at: Time,
|
|
180
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
181
|
+
typename: :CashappPaymentMethod
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
class CashappPaymentMethod < WhopSDK::Internal::Type::BaseModel
|
|
185
|
+
attr_accessor id: String
|
|
186
|
+
|
|
187
|
+
attr_accessor cashapp: WhopSDK::Models::PaymentMethodListResponse::CashappPaymentMethod::Cashapp
|
|
188
|
+
|
|
189
|
+
attr_accessor created_at: Time
|
|
190
|
+
|
|
191
|
+
attr_accessor payment_method_type: WhopSDK::Models::payment_method_types
|
|
192
|
+
|
|
193
|
+
attr_accessor typename: :CashappPaymentMethod
|
|
194
|
+
|
|
195
|
+
def initialize: (
|
|
196
|
+
id: String,
|
|
197
|
+
cashapp: WhopSDK::Models::PaymentMethodListResponse::CashappPaymentMethod::Cashapp,
|
|
198
|
+
created_at: Time,
|
|
199
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
200
|
+
?typename: :CashappPaymentMethod
|
|
201
|
+
) -> void
|
|
202
|
+
|
|
203
|
+
def to_hash: -> {
|
|
204
|
+
id: String,
|
|
205
|
+
cashapp: WhopSDK::Models::PaymentMethodListResponse::CashappPaymentMethod::Cashapp,
|
|
206
|
+
created_at: Time,
|
|
207
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
208
|
+
typename: :CashappPaymentMethod
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
type cashapp = { buyer_id: String?, cashtag: String? }
|
|
212
|
+
|
|
213
|
+
class Cashapp < WhopSDK::Internal::Type::BaseModel
|
|
214
|
+
attr_accessor buyer_id: String?
|
|
215
|
+
|
|
216
|
+
attr_accessor cashtag: String?
|
|
217
|
+
|
|
218
|
+
def initialize: (buyer_id: String?, cashtag: String?) -> void
|
|
219
|
+
|
|
220
|
+
def to_hash: -> { buyer_id: String?, cashtag: String? }
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
type ideal_payment_method =
|
|
225
|
+
{
|
|
226
|
+
id: String,
|
|
227
|
+
created_at: Time,
|
|
228
|
+
ideal: WhopSDK::Models::PaymentMethodListResponse::IdealPaymentMethod::Ideal,
|
|
229
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
230
|
+
typename: :IdealPaymentMethod
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
class IdealPaymentMethod < WhopSDK::Internal::Type::BaseModel
|
|
234
|
+
attr_accessor id: String
|
|
235
|
+
|
|
236
|
+
attr_accessor created_at: Time
|
|
237
|
+
|
|
238
|
+
attr_accessor ideal: WhopSDK::Models::PaymentMethodListResponse::IdealPaymentMethod::Ideal
|
|
239
|
+
|
|
240
|
+
attr_accessor payment_method_type: WhopSDK::Models::payment_method_types
|
|
241
|
+
|
|
242
|
+
attr_accessor typename: :IdealPaymentMethod
|
|
243
|
+
|
|
244
|
+
def initialize: (
|
|
245
|
+
id: String,
|
|
246
|
+
created_at: Time,
|
|
247
|
+
ideal: WhopSDK::Models::PaymentMethodListResponse::IdealPaymentMethod::Ideal,
|
|
248
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
249
|
+
?typename: :IdealPaymentMethod
|
|
250
|
+
) -> void
|
|
251
|
+
|
|
252
|
+
def to_hash: -> {
|
|
253
|
+
id: String,
|
|
254
|
+
created_at: Time,
|
|
255
|
+
ideal: WhopSDK::Models::PaymentMethodListResponse::IdealPaymentMethod::Ideal,
|
|
256
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
257
|
+
typename: :IdealPaymentMethod
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
type ideal = { bank: String?, bic: String? }
|
|
261
|
+
|
|
262
|
+
class Ideal < WhopSDK::Internal::Type::BaseModel
|
|
263
|
+
attr_accessor bank: String?
|
|
264
|
+
|
|
265
|
+
attr_accessor bic: String?
|
|
266
|
+
|
|
267
|
+
def initialize: (bank: String?, bic: String?) -> void
|
|
268
|
+
|
|
269
|
+
def to_hash: -> { bank: String?, bic: String? }
|
|
270
|
+
end
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
type sepa_debit_payment_method =
|
|
274
|
+
{
|
|
275
|
+
id: String,
|
|
276
|
+
created_at: Time,
|
|
277
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
278
|
+
sepa_debit: WhopSDK::Models::PaymentMethodListResponse::SepaDebitPaymentMethod::SepaDebit,
|
|
279
|
+
typename: :SepaDebitPaymentMethod
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
class SepaDebitPaymentMethod < WhopSDK::Internal::Type::BaseModel
|
|
283
|
+
attr_accessor id: String
|
|
284
|
+
|
|
285
|
+
attr_accessor created_at: Time
|
|
286
|
+
|
|
287
|
+
attr_accessor payment_method_type: WhopSDK::Models::payment_method_types
|
|
288
|
+
|
|
289
|
+
attr_accessor sepa_debit: WhopSDK::Models::PaymentMethodListResponse::SepaDebitPaymentMethod::SepaDebit
|
|
290
|
+
|
|
291
|
+
attr_accessor typename: :SepaDebitPaymentMethod
|
|
292
|
+
|
|
293
|
+
def initialize: (
|
|
294
|
+
id: String,
|
|
295
|
+
created_at: Time,
|
|
296
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
297
|
+
sepa_debit: WhopSDK::Models::PaymentMethodListResponse::SepaDebitPaymentMethod::SepaDebit,
|
|
298
|
+
?typename: :SepaDebitPaymentMethod
|
|
299
|
+
) -> void
|
|
300
|
+
|
|
301
|
+
def to_hash: -> {
|
|
302
|
+
id: String,
|
|
303
|
+
created_at: Time,
|
|
304
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
305
|
+
sepa_debit: WhopSDK::Models::PaymentMethodListResponse::SepaDebitPaymentMethod::SepaDebit,
|
|
306
|
+
typename: :SepaDebitPaymentMethod
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
type sepa_debit =
|
|
310
|
+
{
|
|
311
|
+
bank_code: String?,
|
|
312
|
+
branch_code: String?,
|
|
313
|
+
country: String?,
|
|
314
|
+
:last4 => String?
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
class SepaDebit < WhopSDK::Internal::Type::BaseModel
|
|
318
|
+
attr_accessor bank_code: String?
|
|
319
|
+
|
|
320
|
+
attr_accessor branch_code: String?
|
|
321
|
+
|
|
322
|
+
attr_accessor country: String?
|
|
323
|
+
|
|
324
|
+
attr_accessor last4: String?
|
|
325
|
+
|
|
326
|
+
def initialize: (
|
|
327
|
+
bank_code: String?,
|
|
328
|
+
branch_code: String?,
|
|
329
|
+
country: String?,
|
|
330
|
+
last4: String?
|
|
331
|
+
) -> void
|
|
332
|
+
|
|
333
|
+
def to_hash: -> {
|
|
334
|
+
bank_code: String?,
|
|
335
|
+
branch_code: String?,
|
|
336
|
+
country: String?,
|
|
337
|
+
:last4 => String?
|
|
338
|
+
}
|
|
339
|
+
end
|
|
340
|
+
end
|
|
341
|
+
|
|
172
342
|
def self?.variants: -> ::Array[WhopSDK::Models::payment_method_list_response]
|
|
173
343
|
end
|
|
174
344
|
end
|
|
@@ -4,6 +4,9 @@ module WhopSDK
|
|
|
4
4
|
WhopSDK::Models::PaymentMethodRetrieveResponse::BasePaymentMethod
|
|
5
5
|
| WhopSDK::Models::PaymentMethodRetrieveResponse::CardPaymentMethod
|
|
6
6
|
| WhopSDK::Models::PaymentMethodRetrieveResponse::UsBankAccountPaymentMethod
|
|
7
|
+
| WhopSDK::Models::PaymentMethodRetrieveResponse::CashappPaymentMethod
|
|
8
|
+
| WhopSDK::Models::PaymentMethodRetrieveResponse::IdealPaymentMethod
|
|
9
|
+
| WhopSDK::Models::PaymentMethodRetrieveResponse::SepaDebitPaymentMethod
|
|
7
10
|
|
|
8
11
|
module PaymentMethodRetrieveResponse
|
|
9
12
|
extend WhopSDK::Internal::Type::Union
|
|
@@ -169,6 +172,173 @@ module WhopSDK
|
|
|
169
172
|
end
|
|
170
173
|
end
|
|
171
174
|
|
|
175
|
+
type cashapp_payment_method =
|
|
176
|
+
{
|
|
177
|
+
id: String,
|
|
178
|
+
cashapp: WhopSDK::Models::PaymentMethodRetrieveResponse::CashappPaymentMethod::Cashapp,
|
|
179
|
+
created_at: Time,
|
|
180
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
181
|
+
typename: :CashappPaymentMethod
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
class CashappPaymentMethod < WhopSDK::Internal::Type::BaseModel
|
|
185
|
+
attr_accessor id: String
|
|
186
|
+
|
|
187
|
+
attr_accessor cashapp: WhopSDK::Models::PaymentMethodRetrieveResponse::CashappPaymentMethod::Cashapp
|
|
188
|
+
|
|
189
|
+
attr_accessor created_at: Time
|
|
190
|
+
|
|
191
|
+
attr_accessor payment_method_type: WhopSDK::Models::payment_method_types
|
|
192
|
+
|
|
193
|
+
attr_accessor typename: :CashappPaymentMethod
|
|
194
|
+
|
|
195
|
+
def initialize: (
|
|
196
|
+
id: String,
|
|
197
|
+
cashapp: WhopSDK::Models::PaymentMethodRetrieveResponse::CashappPaymentMethod::Cashapp,
|
|
198
|
+
created_at: Time,
|
|
199
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
200
|
+
?typename: :CashappPaymentMethod
|
|
201
|
+
) -> void
|
|
202
|
+
|
|
203
|
+
def to_hash: -> {
|
|
204
|
+
id: String,
|
|
205
|
+
cashapp: WhopSDK::Models::PaymentMethodRetrieveResponse::CashappPaymentMethod::Cashapp,
|
|
206
|
+
created_at: Time,
|
|
207
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
208
|
+
typename: :CashappPaymentMethod
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
type cashapp = { buyer_id: String?, cashtag: String? }
|
|
212
|
+
|
|
213
|
+
class Cashapp < WhopSDK::Internal::Type::BaseModel
|
|
214
|
+
attr_accessor buyer_id: String?
|
|
215
|
+
|
|
216
|
+
attr_accessor cashtag: String?
|
|
217
|
+
|
|
218
|
+
def initialize: (buyer_id: String?, cashtag: String?) -> void
|
|
219
|
+
|
|
220
|
+
def to_hash: -> { buyer_id: String?, cashtag: String? }
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
type ideal_payment_method =
|
|
225
|
+
{
|
|
226
|
+
id: String,
|
|
227
|
+
created_at: Time,
|
|
228
|
+
ideal: WhopSDK::Models::PaymentMethodRetrieveResponse::IdealPaymentMethod::Ideal,
|
|
229
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
230
|
+
typename: :IdealPaymentMethod
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
class IdealPaymentMethod < WhopSDK::Internal::Type::BaseModel
|
|
234
|
+
attr_accessor id: String
|
|
235
|
+
|
|
236
|
+
attr_accessor created_at: Time
|
|
237
|
+
|
|
238
|
+
attr_accessor ideal: WhopSDK::Models::PaymentMethodRetrieveResponse::IdealPaymentMethod::Ideal
|
|
239
|
+
|
|
240
|
+
attr_accessor payment_method_type: WhopSDK::Models::payment_method_types
|
|
241
|
+
|
|
242
|
+
attr_accessor typename: :IdealPaymentMethod
|
|
243
|
+
|
|
244
|
+
def initialize: (
|
|
245
|
+
id: String,
|
|
246
|
+
created_at: Time,
|
|
247
|
+
ideal: WhopSDK::Models::PaymentMethodRetrieveResponse::IdealPaymentMethod::Ideal,
|
|
248
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
249
|
+
?typename: :IdealPaymentMethod
|
|
250
|
+
) -> void
|
|
251
|
+
|
|
252
|
+
def to_hash: -> {
|
|
253
|
+
id: String,
|
|
254
|
+
created_at: Time,
|
|
255
|
+
ideal: WhopSDK::Models::PaymentMethodRetrieveResponse::IdealPaymentMethod::Ideal,
|
|
256
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
257
|
+
typename: :IdealPaymentMethod
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
type ideal = { bank: String?, bic: String? }
|
|
261
|
+
|
|
262
|
+
class Ideal < WhopSDK::Internal::Type::BaseModel
|
|
263
|
+
attr_accessor bank: String?
|
|
264
|
+
|
|
265
|
+
attr_accessor bic: String?
|
|
266
|
+
|
|
267
|
+
def initialize: (bank: String?, bic: String?) -> void
|
|
268
|
+
|
|
269
|
+
def to_hash: -> { bank: String?, bic: String? }
|
|
270
|
+
end
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
type sepa_debit_payment_method =
|
|
274
|
+
{
|
|
275
|
+
id: String,
|
|
276
|
+
created_at: Time,
|
|
277
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
278
|
+
sepa_debit: WhopSDK::Models::PaymentMethodRetrieveResponse::SepaDebitPaymentMethod::SepaDebit,
|
|
279
|
+
typename: :SepaDebitPaymentMethod
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
class SepaDebitPaymentMethod < WhopSDK::Internal::Type::BaseModel
|
|
283
|
+
attr_accessor id: String
|
|
284
|
+
|
|
285
|
+
attr_accessor created_at: Time
|
|
286
|
+
|
|
287
|
+
attr_accessor payment_method_type: WhopSDK::Models::payment_method_types
|
|
288
|
+
|
|
289
|
+
attr_accessor sepa_debit: WhopSDK::Models::PaymentMethodRetrieveResponse::SepaDebitPaymentMethod::SepaDebit
|
|
290
|
+
|
|
291
|
+
attr_accessor typename: :SepaDebitPaymentMethod
|
|
292
|
+
|
|
293
|
+
def initialize: (
|
|
294
|
+
id: String,
|
|
295
|
+
created_at: Time,
|
|
296
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
297
|
+
sepa_debit: WhopSDK::Models::PaymentMethodRetrieveResponse::SepaDebitPaymentMethod::SepaDebit,
|
|
298
|
+
?typename: :SepaDebitPaymentMethod
|
|
299
|
+
) -> void
|
|
300
|
+
|
|
301
|
+
def to_hash: -> {
|
|
302
|
+
id: String,
|
|
303
|
+
created_at: Time,
|
|
304
|
+
payment_method_type: WhopSDK::Models::payment_method_types,
|
|
305
|
+
sepa_debit: WhopSDK::Models::PaymentMethodRetrieveResponse::SepaDebitPaymentMethod::SepaDebit,
|
|
306
|
+
typename: :SepaDebitPaymentMethod
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
type sepa_debit =
|
|
310
|
+
{
|
|
311
|
+
bank_code: String?,
|
|
312
|
+
branch_code: String?,
|
|
313
|
+
country: String?,
|
|
314
|
+
:last4 => String?
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
class SepaDebit < WhopSDK::Internal::Type::BaseModel
|
|
318
|
+
attr_accessor bank_code: String?
|
|
319
|
+
|
|
320
|
+
attr_accessor branch_code: String?
|
|
321
|
+
|
|
322
|
+
attr_accessor country: String?
|
|
323
|
+
|
|
324
|
+
attr_accessor last4: String?
|
|
325
|
+
|
|
326
|
+
def initialize: (
|
|
327
|
+
bank_code: String?,
|
|
328
|
+
branch_code: String?,
|
|
329
|
+
country: String?,
|
|
330
|
+
last4: String?
|
|
331
|
+
) -> void
|
|
332
|
+
|
|
333
|
+
def to_hash: -> {
|
|
334
|
+
bank_code: String?,
|
|
335
|
+
branch_code: String?,
|
|
336
|
+
country: String?,
|
|
337
|
+
:last4 => String?
|
|
338
|
+
}
|
|
339
|
+
end
|
|
340
|
+
end
|
|
341
|
+
|
|
172
342
|
def self?.variants: -> ::Array[WhopSDK::Models::payment_method_retrieve_response]
|
|
173
343
|
end
|
|
174
344
|
end
|
|
@@ -17,6 +17,7 @@ module WhopSDK
|
|
|
17
17
|
| WhopSDK::WithdrawalCreatedWebhookEvent
|
|
18
18
|
| WhopSDK::WithdrawalUpdatedWebhookEvent
|
|
19
19
|
| WhopSDK::CourseLessonInteractionCompletedWebhookEvent
|
|
20
|
+
| WhopSDK::PaymentCreatedWebhookEvent
|
|
20
21
|
| WhopSDK::PaymentSucceededWebhookEvent
|
|
21
22
|
| WhopSDK::PaymentFailedWebhookEvent
|
|
22
23
|
| WhopSDK::PaymentPendingWebhookEvent
|
data/sig/whop_sdk/models.rbs
CHANGED
|
@@ -313,6 +313,8 @@ module WhopSDK
|
|
|
313
313
|
|
|
314
314
|
class Payment = WhopSDK::Models::Payment
|
|
315
315
|
|
|
316
|
+
class PaymentCreatedWebhookEvent = WhopSDK::Models::PaymentCreatedWebhookEvent
|
|
317
|
+
|
|
316
318
|
class PaymentCreateParams = WhopSDK::Models::PaymentCreateParams
|
|
317
319
|
|
|
318
320
|
class PaymentFailedWebhookEvent = WhopSDK::Models::PaymentFailedWebhookEvent
|
|
@@ -19,6 +19,7 @@ module WhopSDK
|
|
|
19
19
|
| WhopSDK::WithdrawalCreatedWebhookEvent
|
|
20
20
|
| WhopSDK::WithdrawalUpdatedWebhookEvent
|
|
21
21
|
| WhopSDK::CourseLessonInteractionCompletedWebhookEvent
|
|
22
|
+
| WhopSDK::PaymentCreatedWebhookEvent
|
|
22
23
|
| WhopSDK::PaymentSucceededWebhookEvent
|
|
23
24
|
| WhopSDK::PaymentFailedWebhookEvent
|
|
24
25
|
| WhopSDK::PaymentPendingWebhookEvent
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: whop_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Whop
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|
|
@@ -280,6 +280,7 @@ files:
|
|
|
280
280
|
- lib/whop_sdk/models/page_info.rb
|
|
281
281
|
- lib/whop_sdk/models/payment.rb
|
|
282
282
|
- lib/whop_sdk/models/payment_create_params.rb
|
|
283
|
+
- lib/whop_sdk/models/payment_created_webhook_event.rb
|
|
283
284
|
- lib/whop_sdk/models/payment_failed_webhook_event.rb
|
|
284
285
|
- lib/whop_sdk/models/payment_list_fees_params.rb
|
|
285
286
|
- lib/whop_sdk/models/payment_list_fees_response.rb
|
|
@@ -657,6 +658,7 @@ files:
|
|
|
657
658
|
- rbi/whop_sdk/models/page_info.rbi
|
|
658
659
|
- rbi/whop_sdk/models/payment.rbi
|
|
659
660
|
- rbi/whop_sdk/models/payment_create_params.rbi
|
|
661
|
+
- rbi/whop_sdk/models/payment_created_webhook_event.rbi
|
|
660
662
|
- rbi/whop_sdk/models/payment_failed_webhook_event.rbi
|
|
661
663
|
- rbi/whop_sdk/models/payment_list_fees_params.rbi
|
|
662
664
|
- rbi/whop_sdk/models/payment_list_fees_response.rbi
|
|
@@ -1033,6 +1035,7 @@ files:
|
|
|
1033
1035
|
- sig/whop_sdk/models/page_info.rbs
|
|
1034
1036
|
- sig/whop_sdk/models/payment.rbs
|
|
1035
1037
|
- sig/whop_sdk/models/payment_create_params.rbs
|
|
1038
|
+
- sig/whop_sdk/models/payment_created_webhook_event.rbs
|
|
1036
1039
|
- sig/whop_sdk/models/payment_failed_webhook_event.rbs
|
|
1037
1040
|
- sig/whop_sdk/models/payment_list_fees_params.rbs
|
|
1038
1041
|
- sig/whop_sdk/models/payment_list_fees_response.rbs
|