whop_sdk 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/README.md +1 -1
- data/lib/whop_sdk/client.rb +4 -0
- data/lib/whop_sdk/models/app_build_create_params.rb +16 -55
- data/lib/whop_sdk/models/app_create_params.rb +22 -1
- data/lib/whop_sdk/models/app_list_params.rb +5 -0
- data/lib/whop_sdk/models/app_update_params.rb +14 -53
- data/lib/whop_sdk/models/card_brands.rb +16 -0
- data/lib/whop_sdk/models/checkout_configuration_create_params.rb +32 -56
- data/lib/whop_sdk/models/company_create_params.rb +22 -1
- data/lib/whop_sdk/models/company_update_params.rb +28 -106
- data/lib/whop_sdk/models/course_create_params.rb +15 -62
- data/lib/whop_sdk/models/course_lesson_create_params.rb +14 -53
- data/lib/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/course_lesson_update_params.rb +53 -214
- data/lib/whop_sdk/models/course_update_params.rb +14 -61
- data/lib/whop_sdk/models/dispute_created_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/dispute_update_evidence_params.rb +56 -212
- 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/experience_create_params.rb +22 -1
- data/lib/whop_sdk/models/experience_update_params.rb +14 -53
- 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/forum_post_create_params.rb +13 -52
- data/lib/whop_sdk/models/forum_post_update_params.rb +13 -52
- data/lib/whop_sdk/models/friendly_receipt_status.rb +23 -11
- 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/ledger_account_retrieve_response.rb +1 -34
- data/lib/whop_sdk/models/member_list_response.rb +9 -1
- data/lib/whop_sdk/models/member_retrieve_response.rb +9 -1
- data/lib/whop_sdk/models/membership.rb +76 -2
- 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 +9 -1
- data/lib/whop_sdk/models/membership_deactivated_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/membership_list_response.rb +38 -2
- data/lib/whop_sdk/models/membership_uncancel_params.rb +14 -0
- data/lib/whop_sdk/models/message_create_params.rb +13 -52
- data/lib/whop_sdk/models/message_update_params.rb +14 -53
- data/lib/whop_sdk/models/payment.rb +17 -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_response.rb +17 -1
- data/lib/whop_sdk/models/payment_method_types.rb +38 -37
- data/lib/whop_sdk/models/payment_pending_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/payment_provider.rb +1 -0
- data/lib/whop_sdk/models/payment_succeeded_webhook_event.rb +9 -1
- data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +35 -2
- data/lib/whop_sdk/models/payout_method_list_response.rb +26 -1
- data/lib/whop_sdk/models/payout_method_retrieve_response.rb +26 -1
- data/lib/whop_sdk/models/plan_create_params.rb +23 -54
- data/lib/whop_sdk/models/plan_update_params.rb +23 -54
- 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/verification_succeeded_webhook_event.rb +9 -1
- 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_create_params.rb +21 -1
- data/lib/whop_sdk/models/withdrawal_create_response.rb +2 -9
- data/lib/whop_sdk/models/withdrawal_created_webhook_event.rb +11 -10
- data/lib/whop_sdk/models/withdrawal_list_response.rb +1 -9
- data/lib/whop_sdk/models/withdrawal_retrieve_response.rb +2 -9
- data/lib/whop_sdk/models/withdrawal_updated_webhook_event.rb +11 -10
- data/lib/whop_sdk/models.rb +16 -2
- data/lib/whop_sdk/resources/app_builds.rb +1 -1
- data/lib/whop_sdk/resources/apps.rb +4 -2
- data/lib/whop_sdk/resources/checkout_configurations.rb +3 -1
- data/lib/whop_sdk/resources/companies.rb +5 -3
- data/lib/whop_sdk/resources/course_lessons.rb +4 -4
- data/lib/whop_sdk/resources/courses.rb +4 -8
- data/lib/whop_sdk/resources/disputes.rb +4 -4
- data/lib/whop_sdk/resources/experiences.rb +4 -2
- data/lib/whop_sdk/resources/files.rb +56 -0
- data/lib/whop_sdk/resources/forum_posts.rb +2 -2
- data/lib/whop_sdk/resources/memberships.rb +32 -0
- data/lib/whop_sdk/resources/messages.rb +2 -2
- data/lib/whop_sdk/resources/notifications.rb +4 -0
- data/lib/whop_sdk/resources/plans.rb +8 -4
- data/lib/whop_sdk/resources/webhooks.rb +158 -0
- data/lib/whop_sdk/resources/withdrawals.rb +8 -1
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +16 -1
- data/rbi/whop_sdk/client.rbi +3 -0
- data/rbi/whop_sdk/models/app_build_create_params.rbi +26 -89
- data/rbi/whop_sdk/models/app_create_params.rbi +36 -0
- data/rbi/whop_sdk/models/app_list_params.rbi +10 -0
- data/rbi/whop_sdk/models/app_update_params.rbi +21 -93
- data/rbi/whop_sdk/models/card_brands.rbi +17 -0
- data/rbi/whop_sdk/models/checkout_configuration_create_params.rbi +45 -87
- data/rbi/whop_sdk/models/company_create_params.rbi +39 -0
- data/rbi/whop_sdk/models/company_update_params.rbi +47 -185
- data/rbi/whop_sdk/models/course_create_params.rbi +24 -101
- data/rbi/whop_sdk/models/course_lesson_create_params.rbi +25 -92
- data/rbi/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/course_lesson_update_params.rbi +97 -359
- data/rbi/whop_sdk/models/course_update_params.rbi +24 -101
- data/rbi/whop_sdk/models/dispute_created_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/dispute_update_evidence_params.rbi +116 -340
- 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/experience_create_params.rbi +41 -0
- data/rbi/whop_sdk/models/experience_update_params.rbi +24 -93
- 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/forum_post_create_params.rbi +18 -94
- data/rbi/whop_sdk/models/forum_post_update_params.rbi +18 -94
- data/rbi/whop_sdk/models/friendly_receipt_status.rbi +62 -17
- 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/ledger_account_retrieve_response.rbi +0 -105
- data/rbi/whop_sdk/models/member_list_response.rbi +8 -0
- data/rbi/whop_sdk/models/member_retrieve_response.rbi +8 -0
- data/rbi/whop_sdk/models/membership.rbi +126 -4
- 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 +9 -1
- data/rbi/whop_sdk/models/membership_deactivated_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/membership_list_response.rbi +98 -4
- data/rbi/whop_sdk/models/membership_uncancel_params.rbi +27 -0
- data/rbi/whop_sdk/models/message_create_params.rbi +18 -94
- data/rbi/whop_sdk/models/message_update_params.rbi +18 -94
- data/rbi/whop_sdk/models/payment.rbi +16 -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_response.rbi +16 -0
- data/rbi/whop_sdk/models/payment_method_types.rbi +45 -43
- data/rbi/whop_sdk/models/payment_pending_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/payment_provider.rbi +1 -0
- data/rbi/whop_sdk/models/payment_succeeded_webhook_event.rbi +9 -1
- data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +35 -1
- data/rbi/whop_sdk/models/payout_method_list_response.rbi +26 -0
- data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +26 -0
- data/rbi/whop_sdk/models/plan_create_params.rbi +29 -93
- data/rbi/whop_sdk/models/plan_update_params.rbi +29 -93
- 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/verification_succeeded_webhook_event.rbi +9 -1
- 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_create_params.rbi +18 -0
- data/rbi/whop_sdk/models/withdrawal_create_response.rbi +8 -11
- data/rbi/whop_sdk/models/withdrawal_created_webhook_event.rbi +17 -12
- data/rbi/whop_sdk/models/withdrawal_list_response.rbi +3 -11
- data/rbi/whop_sdk/models/withdrawal_retrieve_response.rbi +8 -11
- data/rbi/whop_sdk/models/withdrawal_updated_webhook_event.rbi +17 -12
- data/rbi/whop_sdk/models.rbi +16 -2
- data/rbi/whop_sdk/resources/app_builds.rbi +1 -5
- data/rbi/whop_sdk/resources/apps.rbi +4 -7
- data/rbi/whop_sdk/resources/checkout_configurations.rbi +3 -0
- data/rbi/whop_sdk/resources/companies.rbi +5 -13
- data/rbi/whop_sdk/resources/course_lessons.rbi +4 -24
- data/rbi/whop_sdk/resources/courses.rbi +2 -20
- data/rbi/whop_sdk/resources/disputes.rbi +4 -16
- data/rbi/whop_sdk/resources/experiences.rbi +4 -7
- data/rbi/whop_sdk/resources/files.rbi +40 -0
- data/rbi/whop_sdk/resources/forum_posts.rbi +2 -12
- data/rbi/whop_sdk/resources/memberships.rbi +26 -0
- data/rbi/whop_sdk/resources/messages.rbi +2 -12
- data/rbi/whop_sdk/resources/notifications.rbi +4 -0
- data/rbi/whop_sdk/resources/plans.rbi +8 -14
- data/rbi/whop_sdk/resources/webhooks.rbi +140 -0
- data/rbi/whop_sdk/resources/withdrawals.rbi +7 -0
- data/sig/whop_sdk/client.rbs +2 -0
- data/sig/whop_sdk/models/app_build_create_params.rbs +9 -30
- data/sig/whop_sdk/models/app_create_params.rbs +20 -1
- data/sig/whop_sdk/models/app_list_params.rbs +10 -0
- data/sig/whop_sdk/models/app_update_params.rbs +9 -30
- data/sig/whop_sdk/models/card_brands.rbs +32 -0
- data/sig/whop_sdk/models/checkout_configuration_create_params.rbs +19 -30
- data/sig/whop_sdk/models/company_create_params.rbs +15 -0
- data/sig/whop_sdk/models/company_update_params.rbs +18 -60
- data/sig/whop_sdk/models/course_create_params.rbs +9 -35
- data/sig/whop_sdk/models/course_lesson_create_params.rbs +9 -30
- data/sig/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/course_lesson_update_params.rbs +36 -120
- data/sig/whop_sdk/models/course_update_params.rbs +9 -35
- data/sig/whop_sdk/models/dispute_created_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/dispute_update_evidence_params.rbs +36 -120
- 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/experience_create_params.rbs +15 -0
- data/sig/whop_sdk/models/experience_update_params.rbs +9 -30
- 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/forum_post_create_params.rbs +9 -30
- data/sig/whop_sdk/models/forum_post_update_params.rbs +9 -30
- data/sig/whop_sdk/models/friendly_receipt_status.rbs +46 -22
- 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/ledger_account_retrieve_response.rbs +0 -38
- data/sig/whop_sdk/models/member_list_response.rbs +5 -0
- data/sig/whop_sdk/models/member_retrieve_response.rbs +5 -0
- data/sig/whop_sdk/models/membership.rbs +65 -4
- 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 +7 -2
- data/sig/whop_sdk/models/membership_deactivated_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/membership_list_response.rbs +45 -4
- data/sig/whop_sdk/models/membership_uncancel_params.rbs +15 -0
- data/sig/whop_sdk/models/message_create_params.rbs +9 -30
- data/sig/whop_sdk/models/message_update_params.rbs +9 -30
- data/sig/whop_sdk/models/payment.rbs +10 -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_response.rbs +10 -0
- data/sig/whop_sdk/models/payment_method_types.rbs +76 -74
- data/sig/whop_sdk/models/payment_pending_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/payment_provider.rbs +2 -0
- data/sig/whop_sdk/models/payment_succeeded_webhook_event.rbs +7 -2
- data/sig/whop_sdk/models/payout_method_created_webhook_event.rbs +22 -2
- data/sig/whop_sdk/models/payout_method_list_response.rbs +15 -0
- data/sig/whop_sdk/models/payout_method_retrieve_response.rbs +15 -0
- data/sig/whop_sdk/models/plan_create_params.rbs +14 -30
- data/sig/whop_sdk/models/plan_update_params.rbs +14 -30
- 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/verification_succeeded_webhook_event.rbs +7 -2
- 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_create_params.rbs +11 -1
- data/sig/whop_sdk/models/withdrawal_create_response.rbs +5 -8
- data/sig/whop_sdk/models/withdrawal_created_webhook_event.rbs +12 -10
- data/sig/whop_sdk/models/withdrawal_list_response.rbs +3 -8
- data/sig/whop_sdk/models/withdrawal_retrieve_response.rbs +5 -8
- data/sig/whop_sdk/models/withdrawal_updated_webhook_event.rbs +12 -10
- data/sig/whop_sdk/models.rbs +16 -2
- data/sig/whop_sdk/resources/app_builds.rbs +1 -1
- data/sig/whop_sdk/resources/apps.rbs +2 -1
- data/sig/whop_sdk/resources/checkout_configurations.rbs +1 -0
- data/sig/whop_sdk/resources/companies.rbs +3 -2
- data/sig/whop_sdk/resources/course_lessons.rbs +4 -4
- data/sig/whop_sdk/resources/courses.rbs +2 -4
- data/sig/whop_sdk/resources/disputes.rbs +4 -4
- data/sig/whop_sdk/resources/experiences.rbs +2 -1
- data/sig/whop_sdk/resources/files.rbs +17 -0
- data/sig/whop_sdk/resources/forum_posts.rbs +2 -2
- data/sig/whop_sdk/resources/memberships.rbs +5 -0
- data/sig/whop_sdk/resources/messages.rbs +2 -2
- data/sig/whop_sdk/resources/plans.rbs +4 -2
- data/sig/whop_sdk/resources/webhooks.rbs +36 -0
- data/sig/whop_sdk/resources/withdrawals.rbs +2 -0
- metadata +64 -5
- data/lib/whop_sdk/models/withdrawal_types.rb +0 -16
- data/rbi/whop_sdk/models/withdrawal_types.rbi +0 -20
- data/sig/whop_sdk/models/withdrawal_types.rbs +0 -14
|
@@ -4,13 +4,12 @@ module WhopSDK
|
|
|
4
4
|
{
|
|
5
5
|
certificate_after_completion_enabled: bool?,
|
|
6
6
|
chapters: ::Array[WhopSDK::CourseUpdateParams::Chapter]?,
|
|
7
|
-
cover_image: String?,
|
|
8
7
|
description: String?,
|
|
9
8
|
language: WhopSDK::Models::languages?,
|
|
10
9
|
order: String?,
|
|
11
10
|
require_completing_lessons_in_order: bool?,
|
|
12
11
|
tagline: String?,
|
|
13
|
-
thumbnail: WhopSDK::
|
|
12
|
+
thumbnail: WhopSDK::CourseUpdateParams::Thumbnail?,
|
|
14
13
|
title: String?,
|
|
15
14
|
visibility: WhopSDK::Models::course_visibilities?
|
|
16
15
|
}
|
|
@@ -24,8 +23,6 @@ module WhopSDK
|
|
|
24
23
|
|
|
25
24
|
attr_accessor chapters: ::Array[WhopSDK::CourseUpdateParams::Chapter]?
|
|
26
25
|
|
|
27
|
-
attr_accessor cover_image: String?
|
|
28
|
-
|
|
29
26
|
attr_accessor description: String?
|
|
30
27
|
|
|
31
28
|
attr_accessor language: WhopSDK::Models::languages?
|
|
@@ -36,7 +33,7 @@ module WhopSDK
|
|
|
36
33
|
|
|
37
34
|
attr_accessor tagline: String?
|
|
38
35
|
|
|
39
|
-
attr_accessor thumbnail: WhopSDK::
|
|
36
|
+
attr_accessor thumbnail: WhopSDK::CourseUpdateParams::Thumbnail?
|
|
40
37
|
|
|
41
38
|
attr_accessor title: String?
|
|
42
39
|
|
|
@@ -45,13 +42,12 @@ module WhopSDK
|
|
|
45
42
|
def initialize: (
|
|
46
43
|
?certificate_after_completion_enabled: bool?,
|
|
47
44
|
?chapters: ::Array[WhopSDK::CourseUpdateParams::Chapter]?,
|
|
48
|
-
?cover_image: String?,
|
|
49
45
|
?description: String?,
|
|
50
46
|
?language: WhopSDK::Models::languages?,
|
|
51
47
|
?order: String?,
|
|
52
48
|
?require_completing_lessons_in_order: bool?,
|
|
53
49
|
?tagline: String?,
|
|
54
|
-
?thumbnail: WhopSDK::
|
|
50
|
+
?thumbnail: WhopSDK::CourseUpdateParams::Thumbnail?,
|
|
55
51
|
?title: String?,
|
|
56
52
|
?visibility: WhopSDK::Models::course_visibilities?,
|
|
57
53
|
?request_options: WhopSDK::request_opts
|
|
@@ -60,13 +56,12 @@ module WhopSDK
|
|
|
60
56
|
def to_hash: -> {
|
|
61
57
|
certificate_after_completion_enabled: bool?,
|
|
62
58
|
chapters: ::Array[WhopSDK::CourseUpdateParams::Chapter]?,
|
|
63
|
-
cover_image: String?,
|
|
64
59
|
description: String?,
|
|
65
60
|
language: WhopSDK::Models::languages?,
|
|
66
61
|
order: String?,
|
|
67
62
|
require_completing_lessons_in_order: bool?,
|
|
68
63
|
tagline: String?,
|
|
69
|
-
thumbnail: WhopSDK::
|
|
64
|
+
thumbnail: WhopSDK::CourseUpdateParams::Thumbnail?,
|
|
70
65
|
title: String?,
|
|
71
66
|
visibility: WhopSDK::Models::course_visibilities?,
|
|
72
67
|
request_options: WhopSDK::RequestOptions
|
|
@@ -131,35 +126,14 @@ module WhopSDK
|
|
|
131
126
|
end
|
|
132
127
|
end
|
|
133
128
|
|
|
134
|
-
type thumbnail =
|
|
135
|
-
WhopSDK::CourseUpdateParams::Thumbnail::AttachmentInputWithDirectUploadID
|
|
136
|
-
| WhopSDK::CourseUpdateParams::Thumbnail::AttachmentInputWithID
|
|
137
|
-
|
|
138
|
-
module Thumbnail
|
|
139
|
-
extend WhopSDK::Internal::Type::Union
|
|
140
|
-
|
|
141
|
-
type attachment_input_with_direct_upload_id =
|
|
142
|
-
{ direct_upload_id: String }
|
|
143
|
-
|
|
144
|
-
class AttachmentInputWithDirectUploadID < WhopSDK::Internal::Type::BaseModel
|
|
145
|
-
attr_accessor direct_upload_id: String
|
|
146
|
-
|
|
147
|
-
def initialize: (direct_upload_id: String) -> void
|
|
148
|
-
|
|
149
|
-
def to_hash: -> { direct_upload_id: String }
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
type attachment_input_with_id = { id: String }
|
|
153
|
-
|
|
154
|
-
class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
|
|
155
|
-
attr_accessor id: String
|
|
129
|
+
type thumbnail = { id: String }
|
|
156
130
|
|
|
157
|
-
|
|
131
|
+
class Thumbnail < WhopSDK::Internal::Type::BaseModel
|
|
132
|
+
attr_accessor id: String
|
|
158
133
|
|
|
159
|
-
|
|
160
|
-
end
|
|
134
|
+
def initialize: (id: String) -> void
|
|
161
135
|
|
|
162
|
-
def
|
|
136
|
+
def to_hash: -> { id: String }
|
|
163
137
|
end
|
|
164
138
|
end
|
|
165
139
|
end
|
|
@@ -6,7 +6,8 @@ module WhopSDK
|
|
|
6
6
|
api_version: :v1,
|
|
7
7
|
data: WhopSDK::Dispute,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"dispute.created"
|
|
9
|
+
type: :"dispute.created",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class DisputeCreatedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"dispute.created"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::Dispute,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"dispute.created"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::Dispute,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"dispute.created"
|
|
40
|
+
type: :"dispute.created",
|
|
41
|
+
company_id: String?
|
|
37
42
|
}
|
|
38
43
|
end
|
|
39
44
|
end
|
|
@@ -4,18 +4,18 @@ module WhopSDK
|
|
|
4
4
|
{
|
|
5
5
|
access_activity_log: String?,
|
|
6
6
|
billing_address: String?,
|
|
7
|
-
cancellation_policy_attachment: WhopSDK::
|
|
7
|
+
cancellation_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::CancellationPolicyAttachment?,
|
|
8
8
|
cancellation_policy_disclosure: String?,
|
|
9
|
-
customer_communication_attachment: WhopSDK::
|
|
9
|
+
customer_communication_attachment: WhopSDK::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment?,
|
|
10
10
|
customer_email_address: String?,
|
|
11
11
|
customer_name: String?,
|
|
12
12
|
notes: String?,
|
|
13
13
|
product_description: String?,
|
|
14
|
-
refund_policy_attachment: WhopSDK::
|
|
14
|
+
refund_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::RefundPolicyAttachment?,
|
|
15
15
|
refund_policy_disclosure: String?,
|
|
16
16
|
refund_refusal_explanation: String?,
|
|
17
17
|
service_date: String?,
|
|
18
|
-
uncategorized_attachment: WhopSDK::
|
|
18
|
+
uncategorized_attachment: WhopSDK::DisputeUpdateEvidenceParams::UncategorizedAttachment?
|
|
19
19
|
}
|
|
20
20
|
& WhopSDK::Internal::Type::request_parameters
|
|
21
21
|
|
|
@@ -27,11 +27,11 @@ module WhopSDK
|
|
|
27
27
|
|
|
28
28
|
attr_accessor billing_address: String?
|
|
29
29
|
|
|
30
|
-
attr_accessor cancellation_policy_attachment: WhopSDK::
|
|
30
|
+
attr_accessor cancellation_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::CancellationPolicyAttachment?
|
|
31
31
|
|
|
32
32
|
attr_accessor cancellation_policy_disclosure: String?
|
|
33
33
|
|
|
34
|
-
attr_accessor customer_communication_attachment: WhopSDK::
|
|
34
|
+
attr_accessor customer_communication_attachment: WhopSDK::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment?
|
|
35
35
|
|
|
36
36
|
attr_accessor customer_email_address: String?
|
|
37
37
|
|
|
@@ -41,7 +41,7 @@ module WhopSDK
|
|
|
41
41
|
|
|
42
42
|
attr_accessor product_description: String?
|
|
43
43
|
|
|
44
|
-
attr_accessor refund_policy_attachment: WhopSDK::
|
|
44
|
+
attr_accessor refund_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::RefundPolicyAttachment?
|
|
45
45
|
|
|
46
46
|
attr_accessor refund_policy_disclosure: String?
|
|
47
47
|
|
|
@@ -49,166 +49,82 @@ module WhopSDK
|
|
|
49
49
|
|
|
50
50
|
attr_accessor service_date: String?
|
|
51
51
|
|
|
52
|
-
attr_accessor uncategorized_attachment: WhopSDK::
|
|
52
|
+
attr_accessor uncategorized_attachment: WhopSDK::DisputeUpdateEvidenceParams::UncategorizedAttachment?
|
|
53
53
|
|
|
54
54
|
def initialize: (
|
|
55
55
|
?access_activity_log: String?,
|
|
56
56
|
?billing_address: String?,
|
|
57
|
-
?cancellation_policy_attachment: WhopSDK::
|
|
57
|
+
?cancellation_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::CancellationPolicyAttachment?,
|
|
58
58
|
?cancellation_policy_disclosure: String?,
|
|
59
|
-
?customer_communication_attachment: WhopSDK::
|
|
59
|
+
?customer_communication_attachment: WhopSDK::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment?,
|
|
60
60
|
?customer_email_address: String?,
|
|
61
61
|
?customer_name: String?,
|
|
62
62
|
?notes: String?,
|
|
63
63
|
?product_description: String?,
|
|
64
|
-
?refund_policy_attachment: WhopSDK::
|
|
64
|
+
?refund_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::RefundPolicyAttachment?,
|
|
65
65
|
?refund_policy_disclosure: String?,
|
|
66
66
|
?refund_refusal_explanation: String?,
|
|
67
67
|
?service_date: String?,
|
|
68
|
-
?uncategorized_attachment: WhopSDK::
|
|
68
|
+
?uncategorized_attachment: WhopSDK::DisputeUpdateEvidenceParams::UncategorizedAttachment?,
|
|
69
69
|
?request_options: WhopSDK::request_opts
|
|
70
70
|
) -> void
|
|
71
71
|
|
|
72
72
|
def to_hash: -> {
|
|
73
73
|
access_activity_log: String?,
|
|
74
74
|
billing_address: String?,
|
|
75
|
-
cancellation_policy_attachment: WhopSDK::
|
|
75
|
+
cancellation_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::CancellationPolicyAttachment?,
|
|
76
76
|
cancellation_policy_disclosure: String?,
|
|
77
|
-
customer_communication_attachment: WhopSDK::
|
|
77
|
+
customer_communication_attachment: WhopSDK::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment?,
|
|
78
78
|
customer_email_address: String?,
|
|
79
79
|
customer_name: String?,
|
|
80
80
|
notes: String?,
|
|
81
81
|
product_description: String?,
|
|
82
|
-
refund_policy_attachment: WhopSDK::
|
|
82
|
+
refund_policy_attachment: WhopSDK::DisputeUpdateEvidenceParams::RefundPolicyAttachment?,
|
|
83
83
|
refund_policy_disclosure: String?,
|
|
84
84
|
refund_refusal_explanation: String?,
|
|
85
85
|
service_date: String?,
|
|
86
|
-
uncategorized_attachment: WhopSDK::
|
|
86
|
+
uncategorized_attachment: WhopSDK::DisputeUpdateEvidenceParams::UncategorizedAttachment?,
|
|
87
87
|
request_options: WhopSDK::RequestOptions
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
type cancellation_policy_attachment =
|
|
91
|
-
WhopSDK::DisputeUpdateEvidenceParams::CancellationPolicyAttachment::AttachmentInputWithDirectUploadID
|
|
92
|
-
| WhopSDK::DisputeUpdateEvidenceParams::CancellationPolicyAttachment::AttachmentInputWithID
|
|
90
|
+
type cancellation_policy_attachment = { id: String }
|
|
93
91
|
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
class CancellationPolicyAttachment < WhopSDK::Internal::Type::BaseModel
|
|
93
|
+
attr_accessor id: String
|
|
96
94
|
|
|
97
|
-
|
|
98
|
-
{ direct_upload_id: String }
|
|
95
|
+
def initialize: (id: String) -> void
|
|
99
96
|
|
|
100
|
-
|
|
101
|
-
attr_accessor direct_upload_id: String
|
|
102
|
-
|
|
103
|
-
def initialize: (direct_upload_id: String) -> void
|
|
104
|
-
|
|
105
|
-
def to_hash: -> { direct_upload_id: String }
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
type attachment_input_with_id = { id: String }
|
|
109
|
-
|
|
110
|
-
class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
|
|
111
|
-
attr_accessor id: String
|
|
112
|
-
|
|
113
|
-
def initialize: (id: String) -> void
|
|
114
|
-
|
|
115
|
-
def to_hash: -> { id: String }
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
def self?.variants: -> ::Array[WhopSDK::Models::DisputeUpdateEvidenceParams::cancellation_policy_attachment]
|
|
97
|
+
def to_hash: -> { id: String }
|
|
119
98
|
end
|
|
120
99
|
|
|
121
|
-
type customer_communication_attachment =
|
|
122
|
-
WhopSDK::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment::AttachmentInputWithDirectUploadID
|
|
123
|
-
| WhopSDK::DisputeUpdateEvidenceParams::CustomerCommunicationAttachment::AttachmentInputWithID
|
|
124
|
-
|
|
125
|
-
module CustomerCommunicationAttachment
|
|
126
|
-
extend WhopSDK::Internal::Type::Union
|
|
127
|
-
|
|
128
|
-
type attachment_input_with_direct_upload_id =
|
|
129
|
-
{ direct_upload_id: String }
|
|
130
|
-
|
|
131
|
-
class AttachmentInputWithDirectUploadID < WhopSDK::Internal::Type::BaseModel
|
|
132
|
-
attr_accessor direct_upload_id: String
|
|
133
|
-
|
|
134
|
-
def initialize: (direct_upload_id: String) -> void
|
|
135
|
-
|
|
136
|
-
def to_hash: -> { direct_upload_id: String }
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
type attachment_input_with_id = { id: String }
|
|
140
|
-
|
|
141
|
-
class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
|
|
142
|
-
attr_accessor id: String
|
|
100
|
+
type customer_communication_attachment = { id: String }
|
|
143
101
|
|
|
144
|
-
|
|
102
|
+
class CustomerCommunicationAttachment < WhopSDK::Internal::Type::BaseModel
|
|
103
|
+
attr_accessor id: String
|
|
145
104
|
|
|
146
|
-
|
|
147
|
-
end
|
|
105
|
+
def initialize: (id: String) -> void
|
|
148
106
|
|
|
149
|
-
def
|
|
107
|
+
def to_hash: -> { id: String }
|
|
150
108
|
end
|
|
151
109
|
|
|
152
|
-
type refund_policy_attachment =
|
|
153
|
-
WhopSDK::DisputeUpdateEvidenceParams::RefundPolicyAttachment::AttachmentInputWithDirectUploadID
|
|
154
|
-
| WhopSDK::DisputeUpdateEvidenceParams::RefundPolicyAttachment::AttachmentInputWithID
|
|
110
|
+
type refund_policy_attachment = { id: String }
|
|
155
111
|
|
|
156
|
-
|
|
157
|
-
|
|
112
|
+
class RefundPolicyAttachment < WhopSDK::Internal::Type::BaseModel
|
|
113
|
+
attr_accessor id: String
|
|
158
114
|
|
|
159
|
-
|
|
160
|
-
{ direct_upload_id: String }
|
|
115
|
+
def initialize: (id: String) -> void
|
|
161
116
|
|
|
162
|
-
|
|
163
|
-
attr_accessor direct_upload_id: String
|
|
164
|
-
|
|
165
|
-
def initialize: (direct_upload_id: String) -> void
|
|
166
|
-
|
|
167
|
-
def to_hash: -> { direct_upload_id: String }
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
type attachment_input_with_id = { id: String }
|
|
171
|
-
|
|
172
|
-
class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
|
|
173
|
-
attr_accessor id: String
|
|
174
|
-
|
|
175
|
-
def initialize: (id: String) -> void
|
|
176
|
-
|
|
177
|
-
def to_hash: -> { id: String }
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
def self?.variants: -> ::Array[WhopSDK::Models::DisputeUpdateEvidenceParams::refund_policy_attachment]
|
|
117
|
+
def to_hash: -> { id: String }
|
|
181
118
|
end
|
|
182
119
|
|
|
183
|
-
type uncategorized_attachment =
|
|
184
|
-
WhopSDK::DisputeUpdateEvidenceParams::UncategorizedAttachment::AttachmentInputWithDirectUploadID
|
|
185
|
-
| WhopSDK::DisputeUpdateEvidenceParams::UncategorizedAttachment::AttachmentInputWithID
|
|
186
|
-
|
|
187
|
-
module UncategorizedAttachment
|
|
188
|
-
extend WhopSDK::Internal::Type::Union
|
|
189
|
-
|
|
190
|
-
type attachment_input_with_direct_upload_id =
|
|
191
|
-
{ direct_upload_id: String }
|
|
192
|
-
|
|
193
|
-
class AttachmentInputWithDirectUploadID < WhopSDK::Internal::Type::BaseModel
|
|
194
|
-
attr_accessor direct_upload_id: String
|
|
195
|
-
|
|
196
|
-
def initialize: (direct_upload_id: String) -> void
|
|
197
|
-
|
|
198
|
-
def to_hash: -> { direct_upload_id: String }
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
type attachment_input_with_id = { id: String }
|
|
202
|
-
|
|
203
|
-
class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
|
|
204
|
-
attr_accessor id: String
|
|
120
|
+
type uncategorized_attachment = { id: String }
|
|
205
121
|
|
|
206
|
-
|
|
122
|
+
class UncategorizedAttachment < WhopSDK::Internal::Type::BaseModel
|
|
123
|
+
attr_accessor id: String
|
|
207
124
|
|
|
208
|
-
|
|
209
|
-
end
|
|
125
|
+
def initialize: (id: String) -> void
|
|
210
126
|
|
|
211
|
-
def
|
|
127
|
+
def to_hash: -> { id: String }
|
|
212
128
|
end
|
|
213
129
|
end
|
|
214
130
|
end
|
|
@@ -6,7 +6,8 @@ module WhopSDK
|
|
|
6
6
|
api_version: :v1,
|
|
7
7
|
data: WhopSDK::Dispute,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"dispute.updated"
|
|
9
|
+
type: :"dispute.updated",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class DisputeUpdatedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"dispute.updated"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::Dispute,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"dispute.updated"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::Dispute,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"dispute.updated"
|
|
40
|
+
type: :"dispute.updated",
|
|
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::Entry,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"entry.approved"
|
|
9
|
+
type: :"entry.approved",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class EntryApprovedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"entry.approved"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::Entry,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"entry.approved"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::Entry,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"entry.approved"
|
|
40
|
+
type: :"entry.approved",
|
|
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::Entry,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"entry.created"
|
|
9
|
+
type: :"entry.created",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class EntryCreatedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"entry.created"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::Entry,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"entry.created"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::Entry,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"entry.created"
|
|
40
|
+
type: :"entry.created",
|
|
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::Entry,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"entry.deleted"
|
|
9
|
+
type: :"entry.deleted",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class EntryDeletedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"entry.deleted"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::Entry,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"entry.deleted"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::Entry,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"entry.deleted"
|
|
40
|
+
type: :"entry.deleted",
|
|
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::Entry,
|
|
8
8
|
timestamp: Time,
|
|
9
|
-
type: :"entry.denied"
|
|
9
|
+
type: :"entry.denied",
|
|
10
|
+
company_id: String?
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class EntryDeniedWebhookEvent < WhopSDK::Internal::Type::BaseModel
|
|
@@ -20,10 +21,13 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor type: :"entry.denied"
|
|
22
23
|
|
|
24
|
+
attr_accessor company_id: String?
|
|
25
|
+
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
data: WhopSDK::Entry,
|
|
26
29
|
timestamp: Time,
|
|
30
|
+
?company_id: String?,
|
|
27
31
|
?api_version: :v1,
|
|
28
32
|
?type: :"entry.denied"
|
|
29
33
|
) -> void
|
|
@@ -33,7 +37,8 @@ module WhopSDK
|
|
|
33
37
|
api_version: :v1,
|
|
34
38
|
data: WhopSDK::Entry,
|
|
35
39
|
timestamp: Time,
|
|
36
|
-
type: :"entry.denied"
|
|
40
|
+
type: :"entry.denied",
|
|
41
|
+
company_id: String?
|
|
37
42
|
}
|
|
38
43
|
end
|
|
39
44
|
end
|
|
@@ -5,6 +5,7 @@ module WhopSDK
|
|
|
5
5
|
app_id: String,
|
|
6
6
|
company_id: String,
|
|
7
7
|
is_public: bool?,
|
|
8
|
+
logo: WhopSDK::ExperienceCreateParams::Logo?,
|
|
8
9
|
name: String?,
|
|
9
10
|
section_id: String?
|
|
10
11
|
}
|
|
@@ -20,6 +21,8 @@ module WhopSDK
|
|
|
20
21
|
|
|
21
22
|
attr_accessor is_public: bool?
|
|
22
23
|
|
|
24
|
+
attr_accessor logo: WhopSDK::ExperienceCreateParams::Logo?
|
|
25
|
+
|
|
23
26
|
attr_accessor name: String?
|
|
24
27
|
|
|
25
28
|
attr_accessor section_id: String?
|
|
@@ -28,6 +31,7 @@ module WhopSDK
|
|
|
28
31
|
app_id: String,
|
|
29
32
|
company_id: String,
|
|
30
33
|
?is_public: bool?,
|
|
34
|
+
?logo: WhopSDK::ExperienceCreateParams::Logo?,
|
|
31
35
|
?name: String?,
|
|
32
36
|
?section_id: String?,
|
|
33
37
|
?request_options: WhopSDK::request_opts
|
|
@@ -37,10 +41,21 @@ module WhopSDK
|
|
|
37
41
|
app_id: String,
|
|
38
42
|
company_id: String,
|
|
39
43
|
is_public: bool?,
|
|
44
|
+
logo: WhopSDK::ExperienceCreateParams::Logo?,
|
|
40
45
|
name: String?,
|
|
41
46
|
section_id: String?,
|
|
42
47
|
request_options: WhopSDK::RequestOptions
|
|
43
48
|
}
|
|
49
|
+
|
|
50
|
+
type logo = { id: String }
|
|
51
|
+
|
|
52
|
+
class Logo < WhopSDK::Internal::Type::BaseModel
|
|
53
|
+
attr_accessor id: String
|
|
54
|
+
|
|
55
|
+
def initialize: (id: String) -> void
|
|
56
|
+
|
|
57
|
+
def to_hash: -> { id: String }
|
|
58
|
+
end
|
|
44
59
|
end
|
|
45
60
|
end
|
|
46
61
|
end
|
|
@@ -4,7 +4,7 @@ module WhopSDK
|
|
|
4
4
|
{
|
|
5
5
|
access_level: WhopSDK::Models::ExperienceUpdateParams::access_level?,
|
|
6
6
|
is_public: bool?,
|
|
7
|
-
logo: WhopSDK::
|
|
7
|
+
logo: WhopSDK::ExperienceUpdateParams::Logo?,
|
|
8
8
|
name: String?,
|
|
9
9
|
order: String?,
|
|
10
10
|
section_id: String?
|
|
@@ -19,7 +19,7 @@ module WhopSDK
|
|
|
19
19
|
|
|
20
20
|
attr_accessor is_public: bool?
|
|
21
21
|
|
|
22
|
-
attr_accessor logo: WhopSDK::
|
|
22
|
+
attr_accessor logo: WhopSDK::ExperienceUpdateParams::Logo?
|
|
23
23
|
|
|
24
24
|
attr_accessor name: String?
|
|
25
25
|
|
|
@@ -30,7 +30,7 @@ module WhopSDK
|
|
|
30
30
|
def initialize: (
|
|
31
31
|
?access_level: WhopSDK::Models::ExperienceUpdateParams::access_level?,
|
|
32
32
|
?is_public: bool?,
|
|
33
|
-
?logo: WhopSDK::
|
|
33
|
+
?logo: WhopSDK::ExperienceUpdateParams::Logo?,
|
|
34
34
|
?name: String?,
|
|
35
35
|
?order: String?,
|
|
36
36
|
?section_id: String?,
|
|
@@ -40,7 +40,7 @@ module WhopSDK
|
|
|
40
40
|
def to_hash: -> {
|
|
41
41
|
access_level: WhopSDK::Models::ExperienceUpdateParams::access_level?,
|
|
42
42
|
is_public: bool?,
|
|
43
|
-
logo: WhopSDK::
|
|
43
|
+
logo: WhopSDK::ExperienceUpdateParams::Logo?,
|
|
44
44
|
name: String?,
|
|
45
45
|
order: String?,
|
|
46
46
|
section_id: String?,
|
|
@@ -58,35 +58,14 @@ module WhopSDK
|
|
|
58
58
|
def self?.values: -> ::Array[WhopSDK::Models::ExperienceUpdateParams::access_level]
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
type logo =
|
|
62
|
-
WhopSDK::ExperienceUpdateParams::Logo::AttachmentInputWithDirectUploadID
|
|
63
|
-
| WhopSDK::ExperienceUpdateParams::Logo::AttachmentInputWithID
|
|
61
|
+
type logo = { id: String }
|
|
64
62
|
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
class Logo < WhopSDK::Internal::Type::BaseModel
|
|
64
|
+
attr_accessor id: String
|
|
67
65
|
|
|
68
|
-
|
|
69
|
-
{ direct_upload_id: String }
|
|
66
|
+
def initialize: (id: String) -> void
|
|
70
67
|
|
|
71
|
-
|
|
72
|
-
attr_accessor direct_upload_id: String
|
|
73
|
-
|
|
74
|
-
def initialize: (direct_upload_id: String) -> void
|
|
75
|
-
|
|
76
|
-
def to_hash: -> { direct_upload_id: String }
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
type attachment_input_with_id = { id: String }
|
|
80
|
-
|
|
81
|
-
class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
|
|
82
|
-
attr_accessor id: String
|
|
83
|
-
|
|
84
|
-
def initialize: (id: String) -> void
|
|
85
|
-
|
|
86
|
-
def to_hash: -> { id: String }
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
def self?.variants: -> ::Array[WhopSDK::Models::ExperienceUpdateParams::logo]
|
|
68
|
+
def to_hash: -> { id: String }
|
|
90
69
|
end
|
|
91
70
|
end
|
|
92
71
|
end
|