whop_sdk 0.0.25 → 0.0.26
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 +15 -0
- data/README.md +1 -1
- data/lib/whop_sdk/client.rb +4 -0
- data/lib/whop_sdk/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/whop_sdk/models/{ai_chat_create_response.rb → ai_chat.rb} +5 -5
- data/lib/whop_sdk/models/api_version.rb +17 -0
- data/lib/whop_sdk/models/authorized_user_list_params.rb +9 -9
- data/lib/whop_sdk/models/authorized_user_list_response.rb +31 -1
- data/lib/whop_sdk/models/authorized_user_retrieve_response.rb +31 -1
- data/lib/whop_sdk/models/bot_token_transaction_types.rb +17 -0
- data/lib/whop_sdk/models/cancel_options.rb +22 -0
- data/lib/whop_sdk/models/{company_token_transaction_create_response.rb → company_token_transaction.rb} +16 -31
- data/lib/whop_sdk/models/company_token_transaction_list_params.rb +3 -17
- data/lib/whop_sdk/models/company_token_transaction_list_response.rb +3 -18
- data/lib/whop_sdk/models/dm_channel.rb +43 -0
- data/lib/whop_sdk/models/dm_channel_create_params.rb +38 -0
- data/lib/whop_sdk/models/dm_channel_delete_params.rb +14 -0
- data/lib/whop_sdk/models/dm_channel_delete_response.rb +8 -0
- data/lib/whop_sdk/models/dm_channel_list_params.rb +54 -0
- data/lib/whop_sdk/models/dm_channel_list_response.rb +43 -0
- data/lib/whop_sdk/models/dm_channel_retrieve_params.rb +14 -0
- data/lib/whop_sdk/models/dm_channel_update_params.rb +22 -0
- data/lib/whop_sdk/models/dm_feed_member_notification_preferences.rb +17 -0
- data/lib/whop_sdk/models/dm_feed_member_statuses.rb +19 -0
- data/lib/whop_sdk/models/{dm_member_create_response.rb → dm_member.rb} +8 -39
- data/lib/whop_sdk/models/dm_member_list_response.rb +3 -19
- data/lib/whop_sdk/models/dm_member_update_params.rb +6 -34
- data/lib/whop_sdk/models/file_create_response.rb +3 -18
- data/lib/whop_sdk/models/file_retrieve_response.rb +3 -18
- data/lib/whop_sdk/models/{lead_create_response.rb → lead.rb} +13 -13
- data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +6 -63
- data/lib/whop_sdk/models/member_list_params.rb +9 -9
- data/lib/whop_sdk/models/membership.rb +3 -22
- data/lib/whop_sdk/models/membership_list_params.rb +3 -20
- data/lib/whop_sdk/models/membership_list_response.rb +3 -22
- data/lib/whop_sdk/models/payment.rb +63 -1
- data/lib/whop_sdk/models/payment_list_response.rb +63 -1
- data/lib/whop_sdk/models/payout_destination_category.rb +20 -0
- data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +3 -20
- data/lib/whop_sdk/models/payout_method_list_response.rb +3 -20
- data/lib/whop_sdk/models/payout_method_retrieve_response.rb +3 -20
- data/lib/whop_sdk/models/upload_status.rb +18 -0
- data/lib/whop_sdk/models/verification_error_code.rb +33 -0
- data/lib/whop_sdk/models/verification_retrieve_response.rb +6 -62
- data/lib/whop_sdk/models/verification_status.rb +27 -0
- data/lib/whop_sdk/models/verification_succeeded_webhook_event.rb +6 -62
- data/lib/whop_sdk/models/webhook.rb +88 -0
- data/lib/whop_sdk/models/webhook_create_params.rb +6 -56
- data/lib/whop_sdk/models/webhook_create_response.rb +9 -97
- data/lib/whop_sdk/models/webhook_event.rb +41 -0
- data/lib/whop_sdk/models/webhook_list_response.rb +6 -57
- data/lib/whop_sdk/models/webhook_update_params.rb +6 -56
- data/lib/whop_sdk/models/{withdrawal_create_response.rb → withdrawal.rb} +15 -15
- data/lib/whop_sdk/models/withdrawal_created_webhook_event.rb +3 -267
- data/lib/whop_sdk/models/withdrawal_updated_webhook_event.rb +3 -267
- data/lib/whop_sdk/models.rb +44 -0
- data/lib/whop_sdk/resources/ai_chats.rb +6 -6
- data/lib/whop_sdk/resources/authorized_users.rb +4 -4
- data/lib/whop_sdk/resources/company_token_transactions.rb +5 -5
- data/lib/whop_sdk/resources/dm_channels.rb +151 -0
- data/lib/whop_sdk/resources/dm_members.rb +8 -8
- data/lib/whop_sdk/resources/leads.rb +6 -12
- data/lib/whop_sdk/resources/members.rb +4 -4
- data/lib/whop_sdk/resources/memberships.rb +1 -1
- data/lib/whop_sdk/resources/webhooks.rb +8 -8
- data/lib/whop_sdk/resources/withdrawals.rb +4 -4
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +25 -15
- data/rbi/whop_sdk/client.rbi +3 -0
- data/rbi/whop_sdk/models/{ai_chat_update_response.rbi → ai_chat.rbi} +7 -17
- data/rbi/whop_sdk/models/api_version.rbi +21 -0
- data/rbi/whop_sdk/models/authorized_user_list_params.rbi +8 -8
- data/rbi/whop_sdk/models/authorized_user_list_response.rbi +47 -0
- data/rbi/whop_sdk/models/authorized_user_retrieve_response.rbi +49 -0
- data/rbi/whop_sdk/models/bot_token_transaction_types.rbi +28 -0
- data/rbi/whop_sdk/models/cancel_options.rbi +30 -0
- data/rbi/whop_sdk/models/{company_token_transaction_create_response.rbi → company_token_transaction.rbi} +20 -91
- data/rbi/whop_sdk/models/company_token_transaction_list_params.rbi +3 -53
- data/rbi/whop_sdk/models/company_token_transaction_list_response.rbi +3 -49
- data/rbi/whop_sdk/models/dm_channel.rbi +60 -0
- data/rbi/whop_sdk/models/dm_channel_create_params.rbi +59 -0
- data/rbi/whop_sdk/models/dm_channel_delete_params.rbi +27 -0
- data/rbi/whop_sdk/models/dm_channel_delete_response.rbi +8 -0
- data/rbi/whop_sdk/models/dm_channel_list_params.rbi +75 -0
- data/rbi/whop_sdk/models/dm_channel_list_response.rbi +65 -0
- data/rbi/whop_sdk/models/dm_channel_retrieve_params.rbi +27 -0
- data/rbi/whop_sdk/models/dm_channel_update_params.rbi +43 -0
- data/rbi/whop_sdk/models/dm_feed_member_notification_preferences.rbi +34 -0
- data/rbi/whop_sdk/models/dm_feed_member_statuses.rbi +26 -0
- data/rbi/whop_sdk/models/dm_member.rbi +82 -0
- data/rbi/whop_sdk/models/dm_member_list_response.rbi +3 -52
- data/rbi/whop_sdk/models/dm_member_update_params.rbi +6 -79
- data/rbi/whop_sdk/models/file_create_response.rbi +3 -49
- data/rbi/whop_sdk/models/file_retrieve_response.rbi +3 -51
- data/rbi/whop_sdk/models/{lead_update_response.rbi → lead.rbi} +17 -42
- data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +6 -230
- data/rbi/whop_sdk/models/member_list_params.rbi +8 -8
- data/rbi/whop_sdk/models/membership.rbi +3 -47
- data/rbi/whop_sdk/models/membership_list_params.rbi +3 -70
- data/rbi/whop_sdk/models/membership_list_response.rbi +3 -73
- data/rbi/whop_sdk/models/payment.rbi +88 -0
- data/rbi/whop_sdk/models/payment_list_response.rbi +100 -0
- data/rbi/whop_sdk/models/payout_destination_category.rbi +33 -0
- data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +3 -64
- data/rbi/whop_sdk/models/payout_method_list_response.rbi +3 -64
- data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +3 -64
- data/rbi/whop_sdk/models/upload_status.rbi +22 -0
- data/rbi/whop_sdk/models/verification_error_code.rbi +101 -0
- data/rbi/whop_sdk/models/verification_retrieve_response.rbi +6 -230
- data/rbi/whop_sdk/models/verification_status.rbi +38 -0
- data/rbi/whop_sdk/models/verification_succeeded_webhook_event.rbi +6 -232
- data/rbi/whop_sdk/models/webhook.rbi +104 -0
- data/rbi/whop_sdk/models/webhook_create_params.rbi +6 -194
- data/rbi/whop_sdk/models/webhook_create_response.rbi +9 -386
- data/rbi/whop_sdk/models/webhook_event.rbi +79 -0
- data/rbi/whop_sdk/models/webhook_list_response.rbi +6 -210
- data/rbi/whop_sdk/models/webhook_update_params.rbi +6 -194
- data/rbi/whop_sdk/models/{withdrawal_create_response.rbi → withdrawal.rbi} +63 -127
- data/rbi/whop_sdk/models/withdrawal_created_webhook_event.rbi +4 -571
- data/rbi/whop_sdk/models/withdrawal_updated_webhook_event.rbi +4 -571
- data/rbi/whop_sdk/models.rbi +45 -0
- data/rbi/whop_sdk/resources/ai_chats.rbi +3 -3
- data/rbi/whop_sdk/resources/authorized_users.rbi +3 -3
- data/rbi/whop_sdk/resources/company_token_transactions.rbi +3 -5
- data/rbi/whop_sdk/resources/dm_channels.rbi +121 -0
- data/rbi/whop_sdk/resources/dm_members.rbi +5 -7
- data/rbi/whop_sdk/resources/leads.rbi +3 -3
- data/rbi/whop_sdk/resources/members.rbi +3 -3
- data/rbi/whop_sdk/resources/memberships.rbi +1 -4
- data/rbi/whop_sdk/resources/webhooks.rbi +6 -10
- data/rbi/whop_sdk/resources/withdrawals.rbi +2 -2
- data/sig/whop_sdk/client.rbs +2 -0
- data/sig/whop_sdk/models/{ai_chat_update_response.rbs → ai_chat.rbs} +6 -6
- data/sig/whop_sdk/models/api_version.rbs +15 -0
- data/sig/whop_sdk/models/authorized_user_list_params.rbs +5 -5
- data/sig/whop_sdk/models/authorized_user_list_response.rbs +17 -0
- data/sig/whop_sdk/models/authorized_user_retrieve_response.rbs +17 -0
- data/sig/whop_sdk/models/bot_token_transaction_types.rbs +15 -0
- data/sig/whop_sdk/models/cancel_options.rbs +26 -0
- data/sig/whop_sdk/models/{company_token_transaction_create_response.rbs → company_token_transaction.rbs} +18 -30
- data/sig/whop_sdk/models/company_token_transaction_list_params.rbs +4 -16
- data/sig/whop_sdk/models/company_token_transaction_list_response.rbs +4 -16
- data/sig/whop_sdk/models/dm_channel.rbs +30 -0
- data/sig/whop_sdk/models/dm_channel_create_params.rbs +36 -0
- data/sig/whop_sdk/models/dm_channel_delete_params.rbs +15 -0
- data/sig/whop_sdk/models/dm_channel_delete_response.rbs +5 -0
- data/sig/whop_sdk/models/dm_channel_list_params.rbs +46 -0
- data/sig/whop_sdk/models/dm_channel_list_response.rbs +30 -0
- data/sig/whop_sdk/models/dm_channel_retrieve_params.rbs +15 -0
- data/sig/whop_sdk/models/dm_channel_update_params.rbs +23 -0
- data/sig/whop_sdk/models/dm_feed_member_notification_preferences.rbs +15 -0
- data/sig/whop_sdk/models/dm_feed_member_statuses.rbs +18 -0
- data/sig/whop_sdk/models/dm_member.rbs +45 -0
- data/sig/whop_sdk/models/dm_member_list_response.rbs +4 -18
- data/sig/whop_sdk/models/dm_member_update_params.rbs +8 -34
- data/sig/whop_sdk/models/file_create_response.rbs +4 -17
- data/sig/whop_sdk/models/file_retrieve_response.rbs +4 -17
- data/sig/whop_sdk/models/{lead_update_response.rbs → lead.rbs} +14 -14
- data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +8 -90
- data/sig/whop_sdk/models/member_list_params.rbs +5 -5
- data/sig/whop_sdk/models/membership.rbs +4 -27
- data/sig/whop_sdk/models/membership_list_params.rbs +4 -27
- data/sig/whop_sdk/models/membership_list_response.rbs +4 -27
- data/sig/whop_sdk/models/payment.rbs +47 -0
- data/sig/whop_sdk/models/payment_list_response.rbs +47 -0
- data/sig/whop_sdk/models/payout_destination_category.rbs +19 -0
- data/sig/whop_sdk/models/payout_method_created_webhook_event.rbs +4 -25
- data/sig/whop_sdk/models/payout_method_list_response.rbs +4 -25
- data/sig/whop_sdk/models/payout_method_retrieve_response.rbs +4 -25
- data/sig/whop_sdk/models/upload_status.rbs +16 -0
- data/sig/whop_sdk/models/verification_error_code.rbs +50 -0
- data/sig/whop_sdk/models/verification_retrieve_response.rbs +8 -90
- data/sig/whop_sdk/models/verification_status.rbs +38 -0
- data/sig/whop_sdk/models/verification_succeeded_webhook_event.rbs +8 -90
- data/sig/whop_sdk/models/webhook.rbs +60 -0
- data/sig/whop_sdk/models/webhook_create_params.rbs +8 -83
- data/sig/whop_sdk/models/webhook_create_response.rbs +12 -150
- data/sig/whop_sdk/models/webhook_event.rbs +66 -0
- data/sig/whop_sdk/models/webhook_list_response.rbs +8 -83
- data/sig/whop_sdk/models/webhook_update_params.rbs +8 -83
- data/sig/whop_sdk/models/{withdrawal_create_response.rbs → withdrawal.rbs} +15 -15
- data/sig/whop_sdk/models/withdrawal_created_webhook_event.rbs +4 -241
- data/sig/whop_sdk/models/withdrawal_updated_webhook_event.rbs +4 -241
- data/sig/whop_sdk/models.rbs +44 -0
- data/sig/whop_sdk/resources/ai_chats.rbs +3 -3
- data/sig/whop_sdk/resources/authorized_users.rbs +1 -1
- data/sig/whop_sdk/resources/company_token_transactions.rbs +3 -3
- data/sig/whop_sdk/resources/dm_channels.rbs +36 -0
- data/sig/whop_sdk/resources/dm_members.rbs +5 -5
- data/sig/whop_sdk/resources/leads.rbs +3 -3
- data/sig/whop_sdk/resources/members.rbs +1 -1
- data/sig/whop_sdk/resources/memberships.rbs +1 -1
- data/sig/whop_sdk/resources/webhooks.rbs +6 -6
- data/sig/whop_sdk/resources/withdrawals.rbs +2 -2
- metadata +77 -47
- data/lib/whop_sdk/models/ai_chat_retrieve_response.rb +0 -89
- data/lib/whop_sdk/models/ai_chat_update_response.rb +0 -89
- data/lib/whop_sdk/models/company_token_transaction_retrieve_response.rb +0 -180
- data/lib/whop_sdk/models/dm_member_retrieve_response.rb +0 -94
- data/lib/whop_sdk/models/dm_member_update_response.rb +0 -94
- data/lib/whop_sdk/models/lead_retrieve_response.rb +0 -149
- data/lib/whop_sdk/models/lead_update_response.rb +0 -149
- data/lib/whop_sdk/models/webhook_retrieve_response.rb +0 -176
- data/lib/whop_sdk/models/webhook_update_response.rb +0 -176
- data/lib/whop_sdk/models/withdrawal_retrieve_response.rb +0 -268
- data/rbi/whop_sdk/models/ai_chat_create_response.rbi +0 -128
- data/rbi/whop_sdk/models/ai_chat_retrieve_response.rbi +0 -128
- data/rbi/whop_sdk/models/company_token_transaction_retrieve_response.rbi +0 -312
- data/rbi/whop_sdk/models/dm_member_create_response.rbi +0 -179
- data/rbi/whop_sdk/models/dm_member_retrieve_response.rbi +0 -179
- data/rbi/whop_sdk/models/dm_member_update_response.rbi +0 -179
- data/rbi/whop_sdk/models/lead_create_response.rbi +0 -234
- data/rbi/whop_sdk/models/lead_retrieve_response.rbi +0 -238
- data/rbi/whop_sdk/models/webhook_retrieve_response.rbi +0 -491
- data/rbi/whop_sdk/models/webhook_update_response.rbi +0 -486
- data/rbi/whop_sdk/models/withdrawal_retrieve_response.rbi +0 -568
- data/sig/whop_sdk/models/ai_chat_create_response.rbs +0 -65
- data/sig/whop_sdk/models/ai_chat_retrieve_response.rbs +0 -65
- data/sig/whop_sdk/models/company_token_transaction_retrieve_response.rbs +0 -115
- data/sig/whop_sdk/models/dm_member_create_response.rbs +0 -71
- data/sig/whop_sdk/models/dm_member_retrieve_response.rbs +0 -71
- data/sig/whop_sdk/models/dm_member_update_response.rbs +0 -71
- data/sig/whop_sdk/models/lead_create_response.rbs +0 -104
- data/sig/whop_sdk/models/lead_retrieve_response.rbs +0 -104
- data/sig/whop_sdk/models/webhook_retrieve_response.rbs +0 -198
- data/sig/whop_sdk/models/webhook_update_response.rbs +0 -198
- data/sig/whop_sdk/models/withdrawal_retrieve_response.rbs +0 -240
|
@@ -14,6 +14,17 @@ module WhopSDK
|
|
|
14
14
|
sig { returns(Float) }
|
|
15
15
|
attr_accessor :amount_after_fees
|
|
16
16
|
|
|
17
|
+
# The application fee charged on this payment.
|
|
18
|
+
sig { returns(T.nilable(WhopSDK::Payment::ApplicationFee)) }
|
|
19
|
+
attr_reader :application_fee
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
application_fee: T.nilable(WhopSDK::Payment::ApplicationFee::OrHash)
|
|
24
|
+
).void
|
|
25
|
+
end
|
|
26
|
+
attr_writer :application_fee
|
|
27
|
+
|
|
17
28
|
# Whether this payment was auto refunded or not
|
|
18
29
|
sig { returns(T::Boolean) }
|
|
19
30
|
attr_accessor :auto_refunded
|
|
@@ -195,6 +206,7 @@ module WhopSDK
|
|
|
195
206
|
params(
|
|
196
207
|
id: String,
|
|
197
208
|
amount_after_fees: Float,
|
|
209
|
+
application_fee: T.nilable(WhopSDK::Payment::ApplicationFee::OrHash),
|
|
198
210
|
auto_refunded: T::Boolean,
|
|
199
211
|
billing_address: T.nilable(WhopSDK::Payment::BillingAddress::OrHash),
|
|
200
212
|
billing_reason: T.nilable(WhopSDK::BillingReasons::OrSymbol),
|
|
@@ -235,6 +247,8 @@ module WhopSDK
|
|
|
235
247
|
id:,
|
|
236
248
|
# How much the payment is for after fees
|
|
237
249
|
amount_after_fees:,
|
|
250
|
+
# The application fee charged on this payment.
|
|
251
|
+
application_fee:,
|
|
238
252
|
# Whether this payment was auto refunded or not
|
|
239
253
|
auto_refunded:,
|
|
240
254
|
# The address of the user who made the payment.
|
|
@@ -314,6 +328,7 @@ module WhopSDK
|
|
|
314
328
|
{
|
|
315
329
|
id: String,
|
|
316
330
|
amount_after_fees: Float,
|
|
331
|
+
application_fee: T.nilable(WhopSDK::Payment::ApplicationFee),
|
|
317
332
|
auto_refunded: T::Boolean,
|
|
318
333
|
billing_address: T.nilable(WhopSDK::Payment::BillingAddress),
|
|
319
334
|
billing_reason: T.nilable(WhopSDK::BillingReasons::TaggedSymbol),
|
|
@@ -354,6 +369,79 @@ module WhopSDK
|
|
|
354
369
|
def to_hash
|
|
355
370
|
end
|
|
356
371
|
|
|
372
|
+
class ApplicationFee < WhopSDK::Internal::Type::BaseModel
|
|
373
|
+
OrHash =
|
|
374
|
+
T.type_alias do
|
|
375
|
+
T.any(WhopSDK::Payment::ApplicationFee, WhopSDK::Internal::AnyHash)
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# The unique identifier for the application fee.
|
|
379
|
+
sig { returns(String) }
|
|
380
|
+
attr_accessor :id
|
|
381
|
+
|
|
382
|
+
# The application fee amount.
|
|
383
|
+
sig { returns(Float) }
|
|
384
|
+
attr_accessor :amount
|
|
385
|
+
|
|
386
|
+
# The amount of the application fee that has been captured.
|
|
387
|
+
sig { returns(Float) }
|
|
388
|
+
attr_accessor :amount_captured
|
|
389
|
+
|
|
390
|
+
# The amount of the application fee that has been refunded.
|
|
391
|
+
sig { returns(Float) }
|
|
392
|
+
attr_accessor :amount_refunded
|
|
393
|
+
|
|
394
|
+
# When the application fee was created.
|
|
395
|
+
sig { returns(Time) }
|
|
396
|
+
attr_accessor :created_at
|
|
397
|
+
|
|
398
|
+
# The currency of the application fee.
|
|
399
|
+
sig { returns(WhopSDK::Currency::TaggedSymbol) }
|
|
400
|
+
attr_accessor :currency
|
|
401
|
+
|
|
402
|
+
# The application fee charged on this payment.
|
|
403
|
+
sig do
|
|
404
|
+
params(
|
|
405
|
+
id: String,
|
|
406
|
+
amount: Float,
|
|
407
|
+
amount_captured: Float,
|
|
408
|
+
amount_refunded: Float,
|
|
409
|
+
created_at: Time,
|
|
410
|
+
currency: WhopSDK::Currency::OrSymbol
|
|
411
|
+
).returns(T.attached_class)
|
|
412
|
+
end
|
|
413
|
+
def self.new(
|
|
414
|
+
# The unique identifier for the application fee.
|
|
415
|
+
id:,
|
|
416
|
+
# The application fee amount.
|
|
417
|
+
amount:,
|
|
418
|
+
# The amount of the application fee that has been captured.
|
|
419
|
+
amount_captured:,
|
|
420
|
+
# The amount of the application fee that has been refunded.
|
|
421
|
+
amount_refunded:,
|
|
422
|
+
# When the application fee was created.
|
|
423
|
+
created_at:,
|
|
424
|
+
# The currency of the application fee.
|
|
425
|
+
currency:
|
|
426
|
+
)
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
sig do
|
|
430
|
+
override.returns(
|
|
431
|
+
{
|
|
432
|
+
id: String,
|
|
433
|
+
amount: Float,
|
|
434
|
+
amount_captured: Float,
|
|
435
|
+
amount_refunded: Float,
|
|
436
|
+
created_at: Time,
|
|
437
|
+
currency: WhopSDK::Currency::TaggedSymbol
|
|
438
|
+
}
|
|
439
|
+
)
|
|
440
|
+
end
|
|
441
|
+
def to_hash
|
|
442
|
+
end
|
|
443
|
+
end
|
|
444
|
+
|
|
357
445
|
class BillingAddress < WhopSDK::Internal::Type::BaseModel
|
|
358
446
|
OrHash =
|
|
359
447
|
T.type_alias do
|
|
@@ -19,6 +19,22 @@ module WhopSDK
|
|
|
19
19
|
sig { returns(Float) }
|
|
20
20
|
attr_accessor :amount_after_fees
|
|
21
21
|
|
|
22
|
+
# The application fee charged on this payment.
|
|
23
|
+
sig do
|
|
24
|
+
returns(T.nilable(WhopSDK::Models::PaymentListResponse::ApplicationFee))
|
|
25
|
+
end
|
|
26
|
+
attr_reader :application_fee
|
|
27
|
+
|
|
28
|
+
sig do
|
|
29
|
+
params(
|
|
30
|
+
application_fee:
|
|
31
|
+
T.nilable(
|
|
32
|
+
WhopSDK::Models::PaymentListResponse::ApplicationFee::OrHash
|
|
33
|
+
)
|
|
34
|
+
).void
|
|
35
|
+
end
|
|
36
|
+
attr_writer :application_fee
|
|
37
|
+
|
|
22
38
|
# Whether this payment was auto refunded or not
|
|
23
39
|
sig { returns(T::Boolean) }
|
|
24
40
|
attr_accessor :auto_refunded
|
|
@@ -243,6 +259,10 @@ module WhopSDK
|
|
|
243
259
|
params(
|
|
244
260
|
id: String,
|
|
245
261
|
amount_after_fees: Float,
|
|
262
|
+
application_fee:
|
|
263
|
+
T.nilable(
|
|
264
|
+
WhopSDK::Models::PaymentListResponse::ApplicationFee::OrHash
|
|
265
|
+
),
|
|
246
266
|
auto_refunded: T::Boolean,
|
|
247
267
|
billing_address:
|
|
248
268
|
T.nilable(
|
|
@@ -294,6 +314,8 @@ module WhopSDK
|
|
|
294
314
|
id:,
|
|
295
315
|
# How much the payment is for after fees
|
|
296
316
|
amount_after_fees:,
|
|
317
|
+
# The application fee charged on this payment.
|
|
318
|
+
application_fee:,
|
|
297
319
|
# Whether this payment was auto refunded or not
|
|
298
320
|
auto_refunded:,
|
|
299
321
|
# The address of the user who made the payment.
|
|
@@ -373,6 +395,8 @@ module WhopSDK
|
|
|
373
395
|
{
|
|
374
396
|
id: String,
|
|
375
397
|
amount_after_fees: Float,
|
|
398
|
+
application_fee:
|
|
399
|
+
T.nilable(WhopSDK::Models::PaymentListResponse::ApplicationFee),
|
|
376
400
|
auto_refunded: T::Boolean,
|
|
377
401
|
billing_address:
|
|
378
402
|
T.nilable(WhopSDK::Models::PaymentListResponse::BillingAddress),
|
|
@@ -417,6 +441,82 @@ module WhopSDK
|
|
|
417
441
|
def to_hash
|
|
418
442
|
end
|
|
419
443
|
|
|
444
|
+
class ApplicationFee < WhopSDK::Internal::Type::BaseModel
|
|
445
|
+
OrHash =
|
|
446
|
+
T.type_alias do
|
|
447
|
+
T.any(
|
|
448
|
+
WhopSDK::Models::PaymentListResponse::ApplicationFee,
|
|
449
|
+
WhopSDK::Internal::AnyHash
|
|
450
|
+
)
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# The unique identifier for the application fee.
|
|
454
|
+
sig { returns(String) }
|
|
455
|
+
attr_accessor :id
|
|
456
|
+
|
|
457
|
+
# The application fee amount.
|
|
458
|
+
sig { returns(Float) }
|
|
459
|
+
attr_accessor :amount
|
|
460
|
+
|
|
461
|
+
# The amount of the application fee that has been captured.
|
|
462
|
+
sig { returns(Float) }
|
|
463
|
+
attr_accessor :amount_captured
|
|
464
|
+
|
|
465
|
+
# The amount of the application fee that has been refunded.
|
|
466
|
+
sig { returns(Float) }
|
|
467
|
+
attr_accessor :amount_refunded
|
|
468
|
+
|
|
469
|
+
# When the application fee was created.
|
|
470
|
+
sig { returns(Time) }
|
|
471
|
+
attr_accessor :created_at
|
|
472
|
+
|
|
473
|
+
# The currency of the application fee.
|
|
474
|
+
sig { returns(WhopSDK::Currency::TaggedSymbol) }
|
|
475
|
+
attr_accessor :currency
|
|
476
|
+
|
|
477
|
+
# The application fee charged on this payment.
|
|
478
|
+
sig do
|
|
479
|
+
params(
|
|
480
|
+
id: String,
|
|
481
|
+
amount: Float,
|
|
482
|
+
amount_captured: Float,
|
|
483
|
+
amount_refunded: Float,
|
|
484
|
+
created_at: Time,
|
|
485
|
+
currency: WhopSDK::Currency::OrSymbol
|
|
486
|
+
).returns(T.attached_class)
|
|
487
|
+
end
|
|
488
|
+
def self.new(
|
|
489
|
+
# The unique identifier for the application fee.
|
|
490
|
+
id:,
|
|
491
|
+
# The application fee amount.
|
|
492
|
+
amount:,
|
|
493
|
+
# The amount of the application fee that has been captured.
|
|
494
|
+
amount_captured:,
|
|
495
|
+
# The amount of the application fee that has been refunded.
|
|
496
|
+
amount_refunded:,
|
|
497
|
+
# When the application fee was created.
|
|
498
|
+
created_at:,
|
|
499
|
+
# The currency of the application fee.
|
|
500
|
+
currency:
|
|
501
|
+
)
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
sig do
|
|
505
|
+
override.returns(
|
|
506
|
+
{
|
|
507
|
+
id: String,
|
|
508
|
+
amount: Float,
|
|
509
|
+
amount_captured: Float,
|
|
510
|
+
amount_refunded: Float,
|
|
511
|
+
created_at: Time,
|
|
512
|
+
currency: WhopSDK::Currency::TaggedSymbol
|
|
513
|
+
}
|
|
514
|
+
)
|
|
515
|
+
end
|
|
516
|
+
def to_hash
|
|
517
|
+
end
|
|
518
|
+
end
|
|
519
|
+
|
|
420
520
|
class BillingAddress < WhopSDK::Internal::Type::BaseModel
|
|
421
521
|
OrHash =
|
|
422
522
|
T.type_alias do
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module WhopSDK
|
|
4
|
+
module Models
|
|
5
|
+
# The category of a payout destination.
|
|
6
|
+
module PayoutDestinationCategory
|
|
7
|
+
extend WhopSDK::Internal::Type::Enum
|
|
8
|
+
|
|
9
|
+
TaggedSymbol =
|
|
10
|
+
T.type_alias { T.all(Symbol, WhopSDK::PayoutDestinationCategory) }
|
|
11
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
12
|
+
|
|
13
|
+
CRYPTO = T.let(:crypto, WhopSDK::PayoutDestinationCategory::TaggedSymbol)
|
|
14
|
+
RTP = T.let(:rtp, WhopSDK::PayoutDestinationCategory::TaggedSymbol)
|
|
15
|
+
NEXT_DAY_BANK =
|
|
16
|
+
T.let(:next_day_bank, WhopSDK::PayoutDestinationCategory::TaggedSymbol)
|
|
17
|
+
BANK_WIRE =
|
|
18
|
+
T.let(:bank_wire, WhopSDK::PayoutDestinationCategory::TaggedSymbol)
|
|
19
|
+
DIGITAL_WALLET =
|
|
20
|
+
T.let(:digital_wallet, WhopSDK::PayoutDestinationCategory::TaggedSymbol)
|
|
21
|
+
UNKNOWN =
|
|
22
|
+
T.let(:unknown, WhopSDK::PayoutDestinationCategory::TaggedSymbol)
|
|
23
|
+
|
|
24
|
+
sig do
|
|
25
|
+
override.returns(
|
|
26
|
+
T::Array[WhopSDK::PayoutDestinationCategory::TaggedSymbol]
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
def self.values
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -266,11 +266,7 @@ module WhopSDK
|
|
|
266
266
|
end
|
|
267
267
|
|
|
268
268
|
# The category of the payout destination
|
|
269
|
-
sig
|
|
270
|
-
returns(
|
|
271
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
272
|
-
)
|
|
273
|
-
end
|
|
269
|
+
sig { returns(WhopSDK::PayoutDestinationCategory::TaggedSymbol) }
|
|
274
270
|
attr_accessor :category
|
|
275
271
|
|
|
276
272
|
# The country code of the payout destination
|
|
@@ -284,8 +280,7 @@ module WhopSDK
|
|
|
284
280
|
# The payout destination associated with the payout token
|
|
285
281
|
sig do
|
|
286
282
|
params(
|
|
287
|
-
category:
|
|
288
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::OrSymbol,
|
|
283
|
+
category: WhopSDK::PayoutDestinationCategory::OrSymbol,
|
|
289
284
|
country_code: String,
|
|
290
285
|
name: String
|
|
291
286
|
).returns(T.attached_class)
|
|
@@ -303,8 +298,7 @@ module WhopSDK
|
|
|
303
298
|
sig do
|
|
304
299
|
override.returns(
|
|
305
300
|
{
|
|
306
|
-
category:
|
|
307
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol,
|
|
301
|
+
category: WhopSDK::PayoutDestinationCategory::TaggedSymbol,
|
|
308
302
|
country_code: String,
|
|
309
303
|
name: String
|
|
310
304
|
}
|
|
@@ -312,61 +306,6 @@ module WhopSDK
|
|
|
312
306
|
end
|
|
313
307
|
def to_hash
|
|
314
308
|
end
|
|
315
|
-
|
|
316
|
-
# The category of the payout destination
|
|
317
|
-
module Category
|
|
318
|
-
extend WhopSDK::Internal::Type::Enum
|
|
319
|
-
|
|
320
|
-
TaggedSymbol =
|
|
321
|
-
T.type_alias do
|
|
322
|
-
T.all(
|
|
323
|
-
Symbol,
|
|
324
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category
|
|
325
|
-
)
|
|
326
|
-
end
|
|
327
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
328
|
-
|
|
329
|
-
CRYPTO =
|
|
330
|
-
T.let(
|
|
331
|
-
:crypto,
|
|
332
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
333
|
-
)
|
|
334
|
-
RTP =
|
|
335
|
-
T.let(
|
|
336
|
-
:rtp,
|
|
337
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
338
|
-
)
|
|
339
|
-
NEXT_DAY_BANK =
|
|
340
|
-
T.let(
|
|
341
|
-
:next_day_bank,
|
|
342
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
343
|
-
)
|
|
344
|
-
BANK_WIRE =
|
|
345
|
-
T.let(
|
|
346
|
-
:bank_wire,
|
|
347
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
348
|
-
)
|
|
349
|
-
DIGITAL_WALLET =
|
|
350
|
-
T.let(
|
|
351
|
-
:digital_wallet,
|
|
352
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
353
|
-
)
|
|
354
|
-
UNKNOWN =
|
|
355
|
-
T.let(
|
|
356
|
-
:unknown,
|
|
357
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
358
|
-
)
|
|
359
|
-
|
|
360
|
-
sig do
|
|
361
|
-
override.returns(
|
|
362
|
-
T::Array[
|
|
363
|
-
WhopSDK::PayoutMethodCreatedWebhookEvent::Data::Destination::Category::TaggedSymbol
|
|
364
|
-
]
|
|
365
|
-
)
|
|
366
|
-
end
|
|
367
|
-
def self.values
|
|
368
|
-
end
|
|
369
|
-
end
|
|
370
309
|
end
|
|
371
310
|
end
|
|
372
311
|
end
|
|
@@ -177,11 +177,7 @@ module WhopSDK
|
|
|
177
177
|
end
|
|
178
178
|
|
|
179
179
|
# The category of the payout destination
|
|
180
|
-
sig
|
|
181
|
-
returns(
|
|
182
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
183
|
-
)
|
|
184
|
-
end
|
|
180
|
+
sig { returns(WhopSDK::PayoutDestinationCategory::TaggedSymbol) }
|
|
185
181
|
attr_accessor :category
|
|
186
182
|
|
|
187
183
|
# The country code of the payout destination
|
|
@@ -195,8 +191,7 @@ module WhopSDK
|
|
|
195
191
|
# The payout destination associated with the payout token
|
|
196
192
|
sig do
|
|
197
193
|
params(
|
|
198
|
-
category:
|
|
199
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::OrSymbol,
|
|
194
|
+
category: WhopSDK::PayoutDestinationCategory::OrSymbol,
|
|
200
195
|
country_code: String,
|
|
201
196
|
name: String
|
|
202
197
|
).returns(T.attached_class)
|
|
@@ -214,8 +209,7 @@ module WhopSDK
|
|
|
214
209
|
sig do
|
|
215
210
|
override.returns(
|
|
216
211
|
{
|
|
217
|
-
category:
|
|
218
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol,
|
|
212
|
+
category: WhopSDK::PayoutDestinationCategory::TaggedSymbol,
|
|
219
213
|
country_code: String,
|
|
220
214
|
name: String
|
|
221
215
|
}
|
|
@@ -223,61 +217,6 @@ module WhopSDK
|
|
|
223
217
|
end
|
|
224
218
|
def to_hash
|
|
225
219
|
end
|
|
226
|
-
|
|
227
|
-
# The category of the payout destination
|
|
228
|
-
module Category
|
|
229
|
-
extend WhopSDK::Internal::Type::Enum
|
|
230
|
-
|
|
231
|
-
TaggedSymbol =
|
|
232
|
-
T.type_alias do
|
|
233
|
-
T.all(
|
|
234
|
-
Symbol,
|
|
235
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category
|
|
236
|
-
)
|
|
237
|
-
end
|
|
238
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
239
|
-
|
|
240
|
-
CRYPTO =
|
|
241
|
-
T.let(
|
|
242
|
-
:crypto,
|
|
243
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
244
|
-
)
|
|
245
|
-
RTP =
|
|
246
|
-
T.let(
|
|
247
|
-
:rtp,
|
|
248
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
249
|
-
)
|
|
250
|
-
NEXT_DAY_BANK =
|
|
251
|
-
T.let(
|
|
252
|
-
:next_day_bank,
|
|
253
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
254
|
-
)
|
|
255
|
-
BANK_WIRE =
|
|
256
|
-
T.let(
|
|
257
|
-
:bank_wire,
|
|
258
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
259
|
-
)
|
|
260
|
-
DIGITAL_WALLET =
|
|
261
|
-
T.let(
|
|
262
|
-
:digital_wallet,
|
|
263
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
264
|
-
)
|
|
265
|
-
UNKNOWN =
|
|
266
|
-
T.let(
|
|
267
|
-
:unknown,
|
|
268
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
269
|
-
)
|
|
270
|
-
|
|
271
|
-
sig do
|
|
272
|
-
override.returns(
|
|
273
|
-
T::Array[
|
|
274
|
-
WhopSDK::Models::PayoutMethodListResponse::Destination::Category::TaggedSymbol
|
|
275
|
-
]
|
|
276
|
-
)
|
|
277
|
-
end
|
|
278
|
-
def self.values
|
|
279
|
-
end
|
|
280
|
-
end
|
|
281
220
|
end
|
|
282
221
|
end
|
|
283
222
|
end
|
|
@@ -181,11 +181,7 @@ module WhopSDK
|
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# The category of the payout destination
|
|
184
|
-
sig
|
|
185
|
-
returns(
|
|
186
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
187
|
-
)
|
|
188
|
-
end
|
|
184
|
+
sig { returns(WhopSDK::PayoutDestinationCategory::TaggedSymbol) }
|
|
189
185
|
attr_accessor :category
|
|
190
186
|
|
|
191
187
|
# The country code of the payout destination
|
|
@@ -199,8 +195,7 @@ module WhopSDK
|
|
|
199
195
|
# The payout destination associated with the payout token
|
|
200
196
|
sig do
|
|
201
197
|
params(
|
|
202
|
-
category:
|
|
203
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::OrSymbol,
|
|
198
|
+
category: WhopSDK::PayoutDestinationCategory::OrSymbol,
|
|
204
199
|
country_code: String,
|
|
205
200
|
name: String
|
|
206
201
|
).returns(T.attached_class)
|
|
@@ -218,8 +213,7 @@ module WhopSDK
|
|
|
218
213
|
sig do
|
|
219
214
|
override.returns(
|
|
220
215
|
{
|
|
221
|
-
category:
|
|
222
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol,
|
|
216
|
+
category: WhopSDK::PayoutDestinationCategory::TaggedSymbol,
|
|
223
217
|
country_code: String,
|
|
224
218
|
name: String
|
|
225
219
|
}
|
|
@@ -227,61 +221,6 @@ module WhopSDK
|
|
|
227
221
|
end
|
|
228
222
|
def to_hash
|
|
229
223
|
end
|
|
230
|
-
|
|
231
|
-
# The category of the payout destination
|
|
232
|
-
module Category
|
|
233
|
-
extend WhopSDK::Internal::Type::Enum
|
|
234
|
-
|
|
235
|
-
TaggedSymbol =
|
|
236
|
-
T.type_alias do
|
|
237
|
-
T.all(
|
|
238
|
-
Symbol,
|
|
239
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category
|
|
240
|
-
)
|
|
241
|
-
end
|
|
242
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
243
|
-
|
|
244
|
-
CRYPTO =
|
|
245
|
-
T.let(
|
|
246
|
-
:crypto,
|
|
247
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
248
|
-
)
|
|
249
|
-
RTP =
|
|
250
|
-
T.let(
|
|
251
|
-
:rtp,
|
|
252
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
253
|
-
)
|
|
254
|
-
NEXT_DAY_BANK =
|
|
255
|
-
T.let(
|
|
256
|
-
:next_day_bank,
|
|
257
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
258
|
-
)
|
|
259
|
-
BANK_WIRE =
|
|
260
|
-
T.let(
|
|
261
|
-
:bank_wire,
|
|
262
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
263
|
-
)
|
|
264
|
-
DIGITAL_WALLET =
|
|
265
|
-
T.let(
|
|
266
|
-
:digital_wallet,
|
|
267
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
268
|
-
)
|
|
269
|
-
UNKNOWN =
|
|
270
|
-
T.let(
|
|
271
|
-
:unknown,
|
|
272
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
273
|
-
)
|
|
274
|
-
|
|
275
|
-
sig do
|
|
276
|
-
override.returns(
|
|
277
|
-
T::Array[
|
|
278
|
-
WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::Category::TaggedSymbol
|
|
279
|
-
]
|
|
280
|
-
)
|
|
281
|
-
end
|
|
282
|
-
def self.values
|
|
283
|
-
end
|
|
284
|
-
end
|
|
285
224
|
end
|
|
286
225
|
end
|
|
287
226
|
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module WhopSDK
|
|
4
|
+
module Models
|
|
5
|
+
# The upload status of a file
|
|
6
|
+
module UploadStatus
|
|
7
|
+
extend WhopSDK::Internal::Type::Enum
|
|
8
|
+
|
|
9
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, WhopSDK::UploadStatus) }
|
|
10
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
11
|
+
|
|
12
|
+
PENDING = T.let(:pending, WhopSDK::UploadStatus::TaggedSymbol)
|
|
13
|
+
PROCESSING = T.let(:processing, WhopSDK::UploadStatus::TaggedSymbol)
|
|
14
|
+
READY = T.let(:ready, WhopSDK::UploadStatus::TaggedSymbol)
|
|
15
|
+
FAILED = T.let(:failed, WhopSDK::UploadStatus::TaggedSymbol)
|
|
16
|
+
|
|
17
|
+
sig { override.returns(T::Array[WhopSDK::UploadStatus::TaggedSymbol]) }
|
|
18
|
+
def self.values
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module WhopSDK
|
|
4
|
+
module Models
|
|
5
|
+
# An error code for a verification attempt.
|
|
6
|
+
module VerificationErrorCode
|
|
7
|
+
extend WhopSDK::Internal::Type::Enum
|
|
8
|
+
|
|
9
|
+
TaggedSymbol =
|
|
10
|
+
T.type_alias { T.all(Symbol, WhopSDK::VerificationErrorCode) }
|
|
11
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
12
|
+
|
|
13
|
+
ABANDONED =
|
|
14
|
+
T.let(:abandoned, WhopSDK::VerificationErrorCode::TaggedSymbol)
|
|
15
|
+
CONSENT_DECLINED =
|
|
16
|
+
T.let(:consent_declined, WhopSDK::VerificationErrorCode::TaggedSymbol)
|
|
17
|
+
COUNTRY_NOT_SUPPORTED =
|
|
18
|
+
T.let(
|
|
19
|
+
:country_not_supported,
|
|
20
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
21
|
+
)
|
|
22
|
+
DEVICE_NOT_SUPPORTED =
|
|
23
|
+
T.let(
|
|
24
|
+
:device_not_supported,
|
|
25
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
26
|
+
)
|
|
27
|
+
DOCUMENT_EXPIRED =
|
|
28
|
+
T.let(:document_expired, WhopSDK::VerificationErrorCode::TaggedSymbol)
|
|
29
|
+
DOCUMENT_TYPE_NOT_SUPPORTED =
|
|
30
|
+
T.let(
|
|
31
|
+
:document_type_not_supported,
|
|
32
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
33
|
+
)
|
|
34
|
+
DOCUMENT_UNVERIFIED_OTHER =
|
|
35
|
+
T.let(
|
|
36
|
+
:document_unverified_other,
|
|
37
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
38
|
+
)
|
|
39
|
+
EMAIL_UNVERIFIED_OTHER =
|
|
40
|
+
T.let(
|
|
41
|
+
:email_unverified_other,
|
|
42
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
43
|
+
)
|
|
44
|
+
EMAIL_VERIFICATION_DECLINED =
|
|
45
|
+
T.let(
|
|
46
|
+
:email_verification_declined,
|
|
47
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
48
|
+
)
|
|
49
|
+
ID_NUMBER_INSUFFICIENT_DOCUMENT_DATA =
|
|
50
|
+
T.let(
|
|
51
|
+
:id_number_insufficient_document_data,
|
|
52
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
53
|
+
)
|
|
54
|
+
ID_NUMBER_MISMATCH =
|
|
55
|
+
T.let(:id_number_mismatch, WhopSDK::VerificationErrorCode::TaggedSymbol)
|
|
56
|
+
ID_NUMBER_UNVERIFIED_OTHER =
|
|
57
|
+
T.let(
|
|
58
|
+
:id_number_unverified_other,
|
|
59
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
60
|
+
)
|
|
61
|
+
PHONE_UNVERIFIED_OTHER =
|
|
62
|
+
T.let(
|
|
63
|
+
:phone_unverified_other,
|
|
64
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
65
|
+
)
|
|
66
|
+
PHONE_VERIFICATION_DECLINED =
|
|
67
|
+
T.let(
|
|
68
|
+
:phone_verification_declined,
|
|
69
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
70
|
+
)
|
|
71
|
+
SELFIE_DOCUMENT_MISSING_PHOTO =
|
|
72
|
+
T.let(
|
|
73
|
+
:selfie_document_missing_photo,
|
|
74
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
75
|
+
)
|
|
76
|
+
SELFIE_FACE_MISMATCH =
|
|
77
|
+
T.let(
|
|
78
|
+
:selfie_face_mismatch,
|
|
79
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
80
|
+
)
|
|
81
|
+
SELFIE_MANIPULATED =
|
|
82
|
+
T.let(:selfie_manipulated, WhopSDK::VerificationErrorCode::TaggedSymbol)
|
|
83
|
+
SELFIE_UNVERIFIED_OTHER =
|
|
84
|
+
T.let(
|
|
85
|
+
:selfie_unverified_other,
|
|
86
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
87
|
+
)
|
|
88
|
+
UNDER_SUPPORTED_AGE =
|
|
89
|
+
T.let(
|
|
90
|
+
:under_supported_age,
|
|
91
|
+
WhopSDK::VerificationErrorCode::TaggedSymbol
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
sig do
|
|
95
|
+
override.returns(T::Array[WhopSDK::VerificationErrorCode::TaggedSymbol])
|
|
96
|
+
end
|
|
97
|
+
def self.values
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|