whop_sdk 0.0.20 → 0.0.23
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 +41 -0
- data/README.md +10 -1
- data/lib/whop_sdk/client.rb +16 -0
- data/lib/whop_sdk/internal/transport/pooled_net_requester.rb +12 -10
- data/lib/whop_sdk/internal/util.rb +7 -2
- data/lib/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/dispute_created_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/dispute_updated_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/entry_approved_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/entry_created_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/entry_deleted_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/entry_denied_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/file_create_params.rb +22 -0
- data/lib/whop_sdk/models/file_create_response.rb +90 -0
- data/lib/whop_sdk/models/file_retrieve_params.rb +14 -0
- data/lib/whop_sdk/models/file_retrieve_response.rb +74 -0
- data/lib/whop_sdk/models/invoice_created_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/invoice_paid_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/invoice_past_due_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/invoice_voided_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/lead_create_params.rb +58 -0
- data/lib/whop_sdk/models/lead_create_response.rb +149 -0
- data/lib/whop_sdk/models/lead_list_params.rb +78 -0
- data/lib/whop_sdk/models/lead_list_response.rb +149 -0
- data/lib/whop_sdk/models/lead_retrieve_params.rb +14 -0
- data/lib/whop_sdk/models/lead_retrieve_response.rb +149 -0
- data/lib/whop_sdk/models/lead_update_params.rb +30 -0
- data/lib/whop_sdk/models/lead_update_response.rb +149 -0
- data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +106 -1
- data/lib/whop_sdk/models/membership_activated_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/membership_cancel_at_period_end_changed_webhook_event.rb +61 -0
- data/lib/whop_sdk/models/membership_deactivated_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/membership_status.rb +1 -0
- data/lib/whop_sdk/models/payment.rb +3 -3
- data/lib/whop_sdk/models/payment_create_params.rb +9 -1
- data/lib/whop_sdk/models/payment_created_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/payment_failed_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/payment_list_fees_response.rb +1 -0
- data/lib/whop_sdk/models/payment_list_response.rb +3 -3
- data/lib/whop_sdk/models/payment_method_list_params.rb +16 -8
- data/lib/whop_sdk/models/payment_method_retrieve_params.rb +13 -5
- data/lib/whop_sdk/models/payment_method_types.rb +30 -30
- data/lib/whop_sdk/models/payment_pending_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/payment_succeeded_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +176 -0
- data/lib/whop_sdk/models/payout_method_list_response.rb +31 -1
- data/lib/whop_sdk/models/payout_method_retrieve_params.rb +14 -0
- data/lib/whop_sdk/models/payout_method_retrieve_response.rb +125 -0
- data/lib/whop_sdk/models/plan_create_params.rb +9 -1
- data/lib/whop_sdk/models/plan_update_params.rb +9 -1
- data/lib/whop_sdk/models/refund_created_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/refund_updated_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/setup_intent_canceled_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/setup_intent_requires_action_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/setup_intent_succeeded_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/support_channel_create_params.rb +2 -2
- data/lib/whop_sdk/models/topup_create_params.rb +46 -0
- data/lib/whop_sdk/models/topup_create_response.rb +67 -0
- data/lib/whop_sdk/models/unwrap_webhook_event.rb +8 -1
- data/lib/whop_sdk/models/verification_retrieve_params.rb +14 -0
- data/lib/whop_sdk/models/verification_retrieve_response.rb +99 -0
- data/lib/whop_sdk/models/verification_succeeded_webhook_event.rb +150 -0
- data/lib/whop_sdk/models/webhook_create_params.rb +117 -0
- data/lib/whop_sdk/models/webhook_create_response.rb +184 -0
- data/lib/whop_sdk/models/webhook_delete_params.rb +14 -0
- data/lib/whop_sdk/models/webhook_delete_response.rb +8 -0
- data/lib/whop_sdk/models/webhook_list_params.rb +54 -0
- data/lib/whop_sdk/models/webhook_list_response.rb +123 -0
- data/lib/whop_sdk/models/webhook_retrieve_params.rb +14 -0
- data/lib/whop_sdk/models/webhook_retrieve_response.rb +176 -0
- data/lib/whop_sdk/models/webhook_update_params.rb +104 -0
- data/lib/whop_sdk/models/webhook_update_response.rb +176 -0
- data/lib/whop_sdk/models/withdrawal_created_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/withdrawal_updated_webhook_event.rb +9 -1
- data/lib/whop_sdk/models.rb +35 -0
- data/lib/whop_sdk/resources/files.rb +56 -0
- data/lib/whop_sdk/resources/leads.rb +158 -0
- data/lib/whop_sdk/resources/payment_methods.rb +12 -8
- data/lib/whop_sdk/resources/payments.rb +3 -1
- data/lib/whop_sdk/resources/payout_methods.rb +24 -0
- data/lib/whop_sdk/resources/plans.rb +6 -2
- data/lib/whop_sdk/resources/support_channels.rb +1 -1
- data/lib/whop_sdk/resources/topups.rb +46 -0
- data/lib/whop_sdk/resources/verifications.rb +38 -0
- data/lib/whop_sdk/resources/webhooks.rb +159 -1
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +35 -0
- data/rbi/whop_sdk/client.rbi +12 -0
- data/rbi/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/dispute_created_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/dispute_updated_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/entry_approved_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/entry_created_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/entry_deleted_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/entry_denied_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/file_create_params.rbi +40 -0
- data/rbi/whop_sdk/models/file_create_response.rbi +140 -0
- data/rbi/whop_sdk/models/file_retrieve_params.rbi +27 -0
- data/rbi/whop_sdk/models/file_retrieve_response.rbi +129 -0
- data/rbi/whop_sdk/models/invoice_created_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/invoice_paid_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/invoice_past_due_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/invoice_voided_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/lead_create_params.rbi +77 -0
- data/rbi/whop_sdk/models/lead_create_response.rbi +234 -0
- data/rbi/whop_sdk/models/lead_list_params.rbi +99 -0
- data/rbi/whop_sdk/models/lead_list_response.rbi +230 -0
- data/rbi/whop_sdk/models/lead_retrieve_params.rbi +27 -0
- data/rbi/whop_sdk/models/lead_retrieve_response.rbi +238 -0
- data/rbi/whop_sdk/models/lead_update_params.rbi +51 -0
- data/rbi/whop_sdk/models/lead_update_response.rbi +234 -0
- data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +318 -0
- data/rbi/whop_sdk/models/membership_activated_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/membership_cancel_at_period_end_changed_webhook_event.rbi +85 -0
- data/rbi/whop_sdk/models/membership_deactivated_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/membership_status.rbi +1 -0
- data/rbi/whop_sdk/models/payment.rbi +4 -4
- data/rbi/whop_sdk/models/payment_create_params.rbi +8 -0
- data/rbi/whop_sdk/models/payment_created_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/payment_failed_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/payment_list_fees_response.rbi +5 -0
- data/rbi/whop_sdk/models/payment_list_response.rbi +4 -4
- data/rbi/whop_sdk/models/payment_method_list_params.rbi +16 -8
- data/rbi/whop_sdk/models/payment_method_retrieve_params.rbi +17 -6
- data/rbi/whop_sdk/models/payment_method_types.rbi +33 -33
- data/rbi/whop_sdk/models/payment_pending_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/payment_succeeded_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +348 -0
- data/rbi/whop_sdk/models/payout_method_list_response.rbi +58 -0
- data/rbi/whop_sdk/models/payout_method_retrieve_params.rbi +27 -0
- data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +262 -0
- data/rbi/whop_sdk/models/plan_create_params.rbi +8 -0
- data/rbi/whop_sdk/models/plan_update_params.rbi +8 -0
- data/rbi/whop_sdk/models/refund_created_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/refund_updated_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/setup_intent_canceled_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/setup_intent_requires_action_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/setup_intent_succeeded_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/support_channel_create_params.rbi +2 -2
- data/rbi/whop_sdk/models/topup_create_params.rbi +67 -0
- data/rbi/whop_sdk/models/topup_create_response.rbi +89 -0
- data/rbi/whop_sdk/models/unwrap_webhook_event.rbi +4 -1
- data/rbi/whop_sdk/models/verification_retrieve_params.rbi +27 -0
- data/rbi/whop_sdk/models/verification_retrieve_response.rbi +290 -0
- data/rbi/whop_sdk/models/verification_succeeded_webhook_event.rbi +375 -0
- data/rbi/whop_sdk/models/webhook_create_params.rbi +275 -0
- data/rbi/whop_sdk/models/webhook_create_response.rbi +494 -0
- data/rbi/whop_sdk/models/webhook_delete_params.rbi +27 -0
- data/rbi/whop_sdk/models/webhook_delete_response.rbi +8 -0
- data/rbi/whop_sdk/models/webhook_list_params.rbi +75 -0
- data/rbi/whop_sdk/models/webhook_list_response.rbi +297 -0
- data/rbi/whop_sdk/models/webhook_retrieve_params.rbi +27 -0
- data/rbi/whop_sdk/models/webhook_retrieve_response.rbi +491 -0
- data/rbi/whop_sdk/models/webhook_update_params.rbi +263 -0
- data/rbi/whop_sdk/models/webhook_update_response.rbi +486 -0
- data/rbi/whop_sdk/models/withdrawal_created_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/withdrawal_updated_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models.rbi +37 -0
- data/rbi/whop_sdk/resources/files.rbi +40 -0
- data/rbi/whop_sdk/resources/leads.rbi +138 -0
- data/rbi/whop_sdk/resources/payment_methods.rbi +13 -7
- data/rbi/whop_sdk/resources/payments.rbi +3 -0
- data/rbi/whop_sdk/resources/payout_methods.rbi +18 -0
- data/rbi/whop_sdk/resources/plans.rbi +6 -0
- data/rbi/whop_sdk/resources/support_channels.rbi +1 -1
- data/rbi/whop_sdk/resources/topups.rbi +39 -0
- data/rbi/whop_sdk/resources/verifications.rbi +30 -0
- data/rbi/whop_sdk/resources/webhooks.rbi +144 -1
- data/sig/whop_sdk/client.rbs +8 -0
- data/sig/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/dispute_created_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/dispute_updated_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/entry_approved_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/entry_created_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/entry_deleted_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/entry_denied_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/file_create_params.rbs +23 -0
- data/sig/whop_sdk/models/file_create_response.rbs +68 -0
- data/sig/whop_sdk/models/file_retrieve_params.rbs +15 -0
- data/sig/whop_sdk/models/file_retrieve_response.rbs +58 -0
- data/sig/whop_sdk/models/invoice_created_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/invoice_paid_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/invoice_past_due_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/invoice_voided_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/lead_create_params.rbs +46 -0
- data/sig/whop_sdk/models/lead_create_response.rbs +104 -0
- data/sig/whop_sdk/models/lead_list_params.rbs +61 -0
- data/sig/whop_sdk/models/lead_list_response.rbs +104 -0
- data/sig/whop_sdk/models/lead_retrieve_params.rbs +15 -0
- data/sig/whop_sdk/models/lead_retrieve_response.rbs +104 -0
- data/sig/whop_sdk/models/lead_update_params.rbs +28 -0
- data/sig/whop_sdk/models/lead_update_response.rbs +104 -0
- data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +119 -0
- data/sig/whop_sdk/models/membership_activated_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/membership_cancel_at_period_end_changed_webhook_event.rbs +45 -0
- data/sig/whop_sdk/models/membership_deactivated_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/membership_status.rbs +2 -0
- data/sig/whop_sdk/models/payment_create_params.rbs +5 -0
- data/sig/whop_sdk/models/payment_created_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/payment_failed_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/payment_list_fees_response.rbs +2 -0
- data/sig/whop_sdk/models/payment_method_list_params.rbs +11 -6
- data/sig/whop_sdk/models/payment_method_retrieve_params.rbs +9 -4
- data/sig/whop_sdk/models/payment_method_types.rbs +61 -61
- data/sig/whop_sdk/models/payment_pending_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/payment_succeeded_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/payout_method_created_webhook_event.rbs +145 -0
- data/sig/whop_sdk/models/payout_method_list_response.rbs +20 -0
- data/sig/whop_sdk/models/payout_method_retrieve_params.rbs +15 -0
- data/sig/whop_sdk/models/payout_method_retrieve_response.rbs +103 -0
- data/sig/whop_sdk/models/plan_create_params.rbs +5 -0
- data/sig/whop_sdk/models/plan_update_params.rbs +5 -0
- data/sig/whop_sdk/models/refund_created_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/refund_updated_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/setup_intent_canceled_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/setup_intent_requires_action_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/setup_intent_succeeded_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/topup_create_params.rbs +41 -0
- data/sig/whop_sdk/models/topup_create_response.rbs +50 -0
- data/sig/whop_sdk/models/unwrap_webhook_event.rbs +3 -0
- data/sig/whop_sdk/models/verification_retrieve_params.rbs +15 -0
- data/sig/whop_sdk/models/verification_retrieve_response.rbs +117 -0
- data/sig/whop_sdk/models/verification_succeeded_webhook_event.rbs +159 -0
- data/sig/whop_sdk/models/webhook_create_params.rbs +126 -0
- data/sig/whop_sdk/models/webhook_create_response.rbs +203 -0
- data/sig/whop_sdk/models/webhook_delete_params.rbs +15 -0
- data/sig/whop_sdk/models/webhook_delete_response.rbs +5 -0
- data/sig/whop_sdk/models/webhook_list_params.rbs +46 -0
- data/sig/whop_sdk/models/webhook_list_response.rbs +125 -0
- data/sig/whop_sdk/models/webhook_retrieve_params.rbs +15 -0
- data/sig/whop_sdk/models/webhook_retrieve_response.rbs +198 -0
- data/sig/whop_sdk/models/webhook_update_params.rbs +121 -0
- data/sig/whop_sdk/models/webhook_update_response.rbs +198 -0
- data/sig/whop_sdk/models/withdrawal_created_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/withdrawal_updated_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models.rbs +34 -0
- data/sig/whop_sdk/resources/files.rbs +17 -0
- data/sig/whop_sdk/resources/leads.rbs +40 -0
- data/sig/whop_sdk/resources/payment_methods.rbs +4 -2
- data/sig/whop_sdk/resources/payments.rbs +1 -0
- data/sig/whop_sdk/resources/payout_methods.rbs +5 -0
- data/sig/whop_sdk/resources/plans.rbs +2 -0
- data/sig/whop_sdk/resources/topups.rbs +15 -0
- data/sig/whop_sdk/resources/verifications.rbs +12 -0
- data/sig/whop_sdk/resources/webhooks.rbs +40 -1
- metadata +107 -2
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type payout_method_retrieve_response =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
company: WhopSDK::Models::PayoutMethodRetrieveResponse::Company?,
|
|
7
|
+
currency: String,
|
|
8
|
+
destination: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination?,
|
|
9
|
+
is_default: bool,
|
|
10
|
+
nickname: String?
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class PayoutMethodRetrieveResponse < WhopSDK::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor id: String
|
|
15
|
+
|
|
16
|
+
attr_accessor company: WhopSDK::Models::PayoutMethodRetrieveResponse::Company?
|
|
17
|
+
|
|
18
|
+
attr_accessor currency: String
|
|
19
|
+
|
|
20
|
+
attr_accessor destination: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination?
|
|
21
|
+
|
|
22
|
+
attr_accessor is_default: bool
|
|
23
|
+
|
|
24
|
+
attr_accessor nickname: String?
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
id: String,
|
|
28
|
+
company: WhopSDK::Models::PayoutMethodRetrieveResponse::Company?,
|
|
29
|
+
currency: String,
|
|
30
|
+
destination: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination?,
|
|
31
|
+
is_default: bool,
|
|
32
|
+
nickname: String?
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
id: String,
|
|
37
|
+
company: WhopSDK::Models::PayoutMethodRetrieveResponse::Company?,
|
|
38
|
+
currency: String,
|
|
39
|
+
destination: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination?,
|
|
40
|
+
is_default: bool,
|
|
41
|
+
nickname: String?
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
type company = { id: String }
|
|
45
|
+
|
|
46
|
+
class Company < WhopSDK::Internal::Type::BaseModel
|
|
47
|
+
attr_accessor id: String
|
|
48
|
+
|
|
49
|
+
def initialize: (id: String) -> void
|
|
50
|
+
|
|
51
|
+
def to_hash: -> { id: String }
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
type destination =
|
|
55
|
+
{
|
|
56
|
+
category: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::category,
|
|
57
|
+
country_code: String,
|
|
58
|
+
name: String
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
class Destination < WhopSDK::Internal::Type::BaseModel
|
|
62
|
+
attr_accessor category: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::category
|
|
63
|
+
|
|
64
|
+
attr_accessor country_code: String
|
|
65
|
+
|
|
66
|
+
attr_accessor name: String
|
|
67
|
+
|
|
68
|
+
def initialize: (
|
|
69
|
+
category: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::category,
|
|
70
|
+
country_code: String,
|
|
71
|
+
name: String
|
|
72
|
+
) -> void
|
|
73
|
+
|
|
74
|
+
def to_hash: -> {
|
|
75
|
+
category: WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::category,
|
|
76
|
+
country_code: String,
|
|
77
|
+
name: String
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
type category =
|
|
81
|
+
:crypto
|
|
82
|
+
| :rtp
|
|
83
|
+
| :next_day_bank
|
|
84
|
+
| :bank_wire
|
|
85
|
+
| :digital_wallet
|
|
86
|
+
| :unknown
|
|
87
|
+
|
|
88
|
+
module Category
|
|
89
|
+
extend WhopSDK::Internal::Type::Enum
|
|
90
|
+
|
|
91
|
+
CRYPTO: :crypto
|
|
92
|
+
RTP: :rtp
|
|
93
|
+
NEXT_DAY_BANK: :next_day_bank
|
|
94
|
+
BANK_WIRE: :bank_wire
|
|
95
|
+
DIGITAL_WALLET: :digital_wallet
|
|
96
|
+
UNKNOWN: :unknown
|
|
97
|
+
|
|
98
|
+
def self?.values: -> ::Array[WhopSDK::Models::PayoutMethodRetrieveResponse::Destination::category]
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
@@ -12,6 +12,7 @@ module WhopSDK
|
|
|
12
12
|
image: WhopSDK::Models::PlanCreateParams::image?,
|
|
13
13
|
initial_price: Float?,
|
|
14
14
|
internal_notes: String?,
|
|
15
|
+
legacy_payment_method_controls: bool?,
|
|
15
16
|
override_tax_type: WhopSDK::Models::tax_type?,
|
|
16
17
|
payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?,
|
|
17
18
|
plan_type: WhopSDK::Models::plan_type?,
|
|
@@ -50,6 +51,8 @@ module WhopSDK
|
|
|
50
51
|
|
|
51
52
|
attr_accessor internal_notes: String?
|
|
52
53
|
|
|
54
|
+
attr_accessor legacy_payment_method_controls: bool?
|
|
55
|
+
|
|
53
56
|
attr_accessor override_tax_type: WhopSDK::Models::tax_type?
|
|
54
57
|
|
|
55
58
|
attr_accessor payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?
|
|
@@ -83,6 +86,7 @@ module WhopSDK
|
|
|
83
86
|
?image: WhopSDK::Models::PlanCreateParams::image?,
|
|
84
87
|
?initial_price: Float?,
|
|
85
88
|
?internal_notes: String?,
|
|
89
|
+
?legacy_payment_method_controls: bool?,
|
|
86
90
|
?override_tax_type: WhopSDK::Models::tax_type?,
|
|
87
91
|
?payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?,
|
|
88
92
|
?plan_type: WhopSDK::Models::plan_type?,
|
|
@@ -108,6 +112,7 @@ module WhopSDK
|
|
|
108
112
|
image: WhopSDK::Models::PlanCreateParams::image?,
|
|
109
113
|
initial_price: Float?,
|
|
110
114
|
internal_notes: String?,
|
|
115
|
+
legacy_payment_method_controls: bool?,
|
|
111
116
|
override_tax_type: WhopSDK::Models::tax_type?,
|
|
112
117
|
payment_method_configuration: WhopSDK::PlanCreateParams::PaymentMethodConfiguration?,
|
|
113
118
|
plan_type: WhopSDK::Models::plan_type?,
|
|
@@ -10,6 +10,7 @@ module WhopSDK
|
|
|
10
10
|
image: WhopSDK::Models::PlanUpdateParams::image?,
|
|
11
11
|
initial_price: Float?,
|
|
12
12
|
internal_notes: String?,
|
|
13
|
+
legacy_payment_method_controls: bool?,
|
|
13
14
|
offer_cancel_discount: bool?,
|
|
14
15
|
override_tax_type: WhopSDK::Models::tax_type?,
|
|
15
16
|
payment_method_configuration: WhopSDK::PlanUpdateParams::PaymentMethodConfiguration?,
|
|
@@ -44,6 +45,8 @@ module WhopSDK
|
|
|
44
45
|
|
|
45
46
|
attr_accessor internal_notes: String?
|
|
46
47
|
|
|
48
|
+
attr_accessor legacy_payment_method_controls: bool?
|
|
49
|
+
|
|
47
50
|
attr_accessor offer_cancel_discount: bool?
|
|
48
51
|
|
|
49
52
|
attr_accessor override_tax_type: WhopSDK::Models::tax_type?
|
|
@@ -75,6 +78,7 @@ module WhopSDK
|
|
|
75
78
|
?image: WhopSDK::Models::PlanUpdateParams::image?,
|
|
76
79
|
?initial_price: Float?,
|
|
77
80
|
?internal_notes: String?,
|
|
81
|
+
?legacy_payment_method_controls: bool?,
|
|
78
82
|
?offer_cancel_discount: bool?,
|
|
79
83
|
?override_tax_type: WhopSDK::Models::tax_type?,
|
|
80
84
|
?payment_method_configuration: WhopSDK::PlanUpdateParams::PaymentMethodConfiguration?,
|
|
@@ -98,6 +102,7 @@ module WhopSDK
|
|
|
98
102
|
image: WhopSDK::Models::PlanUpdateParams::image?,
|
|
99
103
|
initial_price: Float?,
|
|
100
104
|
internal_notes: String?,
|
|
105
|
+
legacy_payment_method_controls: bool?,
|
|
101
106
|
offer_cancel_discount: bool?,
|
|
102
107
|
override_tax_type: WhopSDK::Models::tax_type?,
|
|
103
108
|
payment_method_configuration: WhopSDK::PlanUpdateParams::PaymentMethodConfiguration?,
|
|
@@ -6,7 +6,8 @@ module WhopSDK
|
|
|
6
6
|
api_version: :v1,
|
|
7
7
|
data: WhopSDK::RefundCreatedWebhookEvent::Data,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"refund.created"
|
|
9
|
+
type: :"refund.created",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class RefundCreatedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"refund.created"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::RefundCreatedWebhookEvent::Data,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"refund.created"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::RefundCreatedWebhookEvent::Data,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"refund.created"
|
|
40
|
+
type: :"refund.created",
|
|
41
|
+
company_id: String?
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
type data =
|
|
@@ -6,7 +6,8 @@ module WhopSDK
|
|
|
6
6
|
api_version: :v1,
|
|
7
7
|
data: WhopSDK::RefundUpdatedWebhookEvent::Data,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"refund.updated"
|
|
9
|
+
type: :"refund.updated",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class RefundUpdatedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"refund.updated"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::RefundUpdatedWebhookEvent::Data,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"refund.updated"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::RefundUpdatedWebhookEvent::Data,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"refund.updated"
|
|
40
|
+
type: :"refund.updated",
|
|
41
|
+
company_id: String?
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
type data =
|
|
@@ -6,7 +6,8 @@ module WhopSDK
|
|
|
6
6
|
api_version: :v1,
|
|
7
7
|
data: WhopSDK::SetupIntent,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"setup_intent.canceled"
|
|
9
|
+
type: :"setup_intent.canceled",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class SetupIntentCanceledWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"setup_intent.canceled"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::SetupIntent,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"setup_intent.canceled"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::SetupIntent,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"setup_intent.canceled"
|
|
40
|
+
type: :"setup_intent.canceled",
|
|
41
|
+
company_id: String?
|
|
37
42
|
}
|
|
38
43
|
end
|
|
39
44
|
end
|
|
@@ -6,7 +6,8 @@ module WhopSDK
|
|
|
6
6
|
api_version: :v1,
|
|
7
7
|
data: WhopSDK::SetupIntent,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"setup_intent.requires_action"
|
|
9
|
+
type: :"setup_intent.requires_action",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class SetupIntentRequiresActionWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"setup_intent.requires_action"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::SetupIntent,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"setup_intent.requires_action"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::SetupIntent,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"setup_intent.requires_action"
|
|
40
|
+
type: :"setup_intent.requires_action",
|
|
41
|
+
company_id: String?
|
|
37
42
|
}
|
|
38
43
|
end
|
|
39
44
|
end
|
|
@@ -6,7 +6,8 @@ module WhopSDK
|
|
|
6
6
|
api_version: :v1,
|
|
7
7
|
data: WhopSDK::SetupIntent,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"setup_intent.succeeded"
|
|
9
|
+
type: :"setup_intent.succeeded",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class SetupIntentSucceededWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"setup_intent.succeeded"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::SetupIntent,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"setup_intent.succeeded"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::SetupIntent,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"setup_intent.succeeded"
|
|
40
|
+
type: :"setup_intent.succeeded",
|
|
41
|
+
company_id: String?
|
|
37
42
|
}
|
|
38
43
|
end
|
|
39
44
|
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type topup_create_params =
|
|
4
|
+
{
|
|
5
|
+
amount: Float,
|
|
6
|
+
company_id: String,
|
|
7
|
+
currency: WhopSDK::Models::currency,
|
|
8
|
+
payment_method_id: String
|
|
9
|
+
}
|
|
10
|
+
& WhopSDK::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class TopupCreateParams < WhopSDK::Internal::Type::BaseModel
|
|
13
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor amount: Float
|
|
17
|
+
|
|
18
|
+
attr_accessor company_id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor currency: WhopSDK::Models::currency
|
|
21
|
+
|
|
22
|
+
attr_accessor payment_method_id: String
|
|
23
|
+
|
|
24
|
+
def initialize: (
|
|
25
|
+
amount: Float,
|
|
26
|
+
company_id: String,
|
|
27
|
+
currency: WhopSDK::Models::currency,
|
|
28
|
+
payment_method_id: String,
|
|
29
|
+
?request_options: WhopSDK::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
amount: Float,
|
|
34
|
+
company_id: String,
|
|
35
|
+
currency: WhopSDK::Models::currency,
|
|
36
|
+
payment_method_id: String,
|
|
37
|
+
request_options: WhopSDK::RequestOptions
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type topup_create_response =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
created_at: Time,
|
|
7
|
+
currency: WhopSDK::Models::currency?,
|
|
8
|
+
failure_message: String?,
|
|
9
|
+
paid_at: Time?,
|
|
10
|
+
status: WhopSDK::Models::receipt_status?,
|
|
11
|
+
total: Float?
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class TopupCreateResponse < WhopSDK::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor id: String
|
|
16
|
+
|
|
17
|
+
attr_accessor created_at: Time
|
|
18
|
+
|
|
19
|
+
attr_accessor currency: WhopSDK::Models::currency?
|
|
20
|
+
|
|
21
|
+
attr_accessor failure_message: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor paid_at: Time?
|
|
24
|
+
|
|
25
|
+
attr_accessor status: WhopSDK::Models::receipt_status?
|
|
26
|
+
|
|
27
|
+
attr_accessor total: Float?
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
id: String,
|
|
31
|
+
created_at: Time,
|
|
32
|
+
currency: WhopSDK::Models::currency?,
|
|
33
|
+
failure_message: String?,
|
|
34
|
+
paid_at: Time?,
|
|
35
|
+
status: WhopSDK::Models::receipt_status?,
|
|
36
|
+
total: Float?
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
id: String,
|
|
41
|
+
created_at: Time,
|
|
42
|
+
currency: WhopSDK::Models::currency?,
|
|
43
|
+
failure_message: String?,
|
|
44
|
+
paid_at: Time?,
|
|
45
|
+
status: WhopSDK::Models::receipt_status?,
|
|
46
|
+
total: Float?
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -17,6 +17,8 @@ module WhopSDK
|
|
|
17
17
|
| WhopSDK::WithdrawalCreatedWebhookEvent
|
|
18
18
|
| WhopSDK::WithdrawalUpdatedWebhookEvent
|
|
19
19
|
| WhopSDK::CourseLessonInteractionCompletedWebhookEvent
|
|
20
|
+
| WhopSDK::PayoutMethodCreatedWebhookEvent
|
|
21
|
+
| WhopSDK::VerificationSucceededWebhookEvent
|
|
20
22
|
| WhopSDK::PaymentCreatedWebhookEvent
|
|
21
23
|
| WhopSDK::PaymentSucceededWebhookEvent
|
|
22
24
|
| WhopSDK::PaymentFailedWebhookEvent
|
|
@@ -25,6 +27,7 @@ module WhopSDK
|
|
|
25
27
|
| WhopSDK::DisputeUpdatedWebhookEvent
|
|
26
28
|
| WhopSDK::RefundCreatedWebhookEvent
|
|
27
29
|
| WhopSDK::RefundUpdatedWebhookEvent
|
|
30
|
+
| WhopSDK::MembershipCancelAtPeriodEndChangedWebhookEvent
|
|
28
31
|
|
|
29
32
|
module UnwrapWebhookEvent
|
|
30
33
|
extend WhopSDK::Internal::Type::Union
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type verification_retrieve_params =
|
|
4
|
+
{ } & WhopSDK::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class VerificationRetrieveParams < WhopSDK::Internal::Type::BaseModel
|
|
7
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: WhopSDK::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: WhopSDK::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type verification_retrieve_response =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
last_error_code: WhopSDK::Models::VerificationRetrieveResponse::last_error_code?,
|
|
7
|
+
last_error_reason: String?,
|
|
8
|
+
status: WhopSDK::Models::VerificationRetrieveResponse::status
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class VerificationRetrieveResponse < WhopSDK::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor id: String
|
|
13
|
+
|
|
14
|
+
attr_accessor last_error_code: WhopSDK::Models::VerificationRetrieveResponse::last_error_code?
|
|
15
|
+
|
|
16
|
+
attr_accessor last_error_reason: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor status: WhopSDK::Models::VerificationRetrieveResponse::status
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
id: String,
|
|
22
|
+
last_error_code: WhopSDK::Models::VerificationRetrieveResponse::last_error_code?,
|
|
23
|
+
last_error_reason: String?,
|
|
24
|
+
status: WhopSDK::Models::VerificationRetrieveResponse::status
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
id: String,
|
|
29
|
+
last_error_code: WhopSDK::Models::VerificationRetrieveResponse::last_error_code?,
|
|
30
|
+
last_error_reason: String?,
|
|
31
|
+
status: WhopSDK::Models::VerificationRetrieveResponse::status
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type last_error_code =
|
|
35
|
+
:abandoned
|
|
36
|
+
| :consent_declined
|
|
37
|
+
| :country_not_supported
|
|
38
|
+
| :device_not_supported
|
|
39
|
+
| :document_expired
|
|
40
|
+
| :document_type_not_supported
|
|
41
|
+
| :document_unverified_other
|
|
42
|
+
| :email_unverified_other
|
|
43
|
+
| :email_verification_declined
|
|
44
|
+
| :id_number_insufficient_document_data
|
|
45
|
+
| :id_number_mismatch
|
|
46
|
+
| :id_number_unverified_other
|
|
47
|
+
| :phone_unverified_other
|
|
48
|
+
| :phone_verification_declined
|
|
49
|
+
| :selfie_document_missing_photo
|
|
50
|
+
| :selfie_face_mismatch
|
|
51
|
+
| :selfie_manipulated
|
|
52
|
+
| :selfie_unverified_other
|
|
53
|
+
| :under_supported_age
|
|
54
|
+
|
|
55
|
+
module LastErrorCode
|
|
56
|
+
extend WhopSDK::Internal::Type::Enum
|
|
57
|
+
|
|
58
|
+
ABANDONED: :abandoned
|
|
59
|
+
CONSENT_DECLINED: :consent_declined
|
|
60
|
+
COUNTRY_NOT_SUPPORTED: :country_not_supported
|
|
61
|
+
DEVICE_NOT_SUPPORTED: :device_not_supported
|
|
62
|
+
DOCUMENT_EXPIRED: :document_expired
|
|
63
|
+
DOCUMENT_TYPE_NOT_SUPPORTED: :document_type_not_supported
|
|
64
|
+
DOCUMENT_UNVERIFIED_OTHER: :document_unverified_other
|
|
65
|
+
EMAIL_UNVERIFIED_OTHER: :email_unverified_other
|
|
66
|
+
EMAIL_VERIFICATION_DECLINED: :email_verification_declined
|
|
67
|
+
ID_NUMBER_INSUFFICIENT_DOCUMENT_DATA: :id_number_insufficient_document_data
|
|
68
|
+
ID_NUMBER_MISMATCH: :id_number_mismatch
|
|
69
|
+
ID_NUMBER_UNVERIFIED_OTHER: :id_number_unverified_other
|
|
70
|
+
PHONE_UNVERIFIED_OTHER: :phone_unverified_other
|
|
71
|
+
PHONE_VERIFICATION_DECLINED: :phone_verification_declined
|
|
72
|
+
SELFIE_DOCUMENT_MISSING_PHOTO: :selfie_document_missing_photo
|
|
73
|
+
SELFIE_FACE_MISMATCH: :selfie_face_mismatch
|
|
74
|
+
SELFIE_MANIPULATED: :selfie_manipulated
|
|
75
|
+
SELFIE_UNVERIFIED_OTHER: :selfie_unverified_other
|
|
76
|
+
UNDER_SUPPORTED_AGE: :under_supported_age
|
|
77
|
+
|
|
78
|
+
def self?.values: -> ::Array[WhopSDK::Models::VerificationRetrieveResponse::last_error_code]
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
type status =
|
|
82
|
+
:requires_input
|
|
83
|
+
| :processing
|
|
84
|
+
| :verified
|
|
85
|
+
| :canceled
|
|
86
|
+
| :created
|
|
87
|
+
| :started
|
|
88
|
+
| :submitted
|
|
89
|
+
| :approved
|
|
90
|
+
| :declined
|
|
91
|
+
| :resubmission_requested
|
|
92
|
+
| :expired
|
|
93
|
+
| :abandoned
|
|
94
|
+
| :review
|
|
95
|
+
|
|
96
|
+
module Status
|
|
97
|
+
extend WhopSDK::Internal::Type::Enum
|
|
98
|
+
|
|
99
|
+
REQUIRES_INPUT: :requires_input
|
|
100
|
+
PROCESSING: :processing
|
|
101
|
+
VERIFIED: :verified
|
|
102
|
+
CANCELED: :canceled
|
|
103
|
+
CREATED: :created
|
|
104
|
+
STARTED: :started
|
|
105
|
+
SUBMITTED: :submitted
|
|
106
|
+
APPROVED: :approved
|
|
107
|
+
DECLINED: :declined
|
|
108
|
+
RESUBMISSION_REQUESTED: :resubmission_requested
|
|
109
|
+
EXPIRED: :expired
|
|
110
|
+
ABANDONED: :abandoned
|
|
111
|
+
REVIEW: :review
|
|
112
|
+
|
|
113
|
+
def self?.values: -> ::Array[WhopSDK::Models::VerificationRetrieveResponse::status]
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|