whop_sdk 0.0.27 → 0.0.28
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 +34 -0
- data/README.md +1 -1
- data/lib/whop_sdk/models/access_token_create_params.rb +13 -17
- data/lib/whop_sdk/models/access_token_create_response.rb +11 -5
- data/lib/whop_sdk/models/account_link_create_params.rb +14 -11
- data/lib/whop_sdk/models/account_link_create_response.rb +10 -6
- data/lib/whop_sdk/models/ai_chat.rb +18 -12
- data/lib/whop_sdk/models/ai_chat_create_params.rb +31 -10
- data/lib/whop_sdk/models/ai_chat_list_response.rb +18 -12
- data/lib/whop_sdk/models/ai_chat_update_params.rb +8 -4
- data/lib/whop_sdk/models/app.rb +89 -71
- data/lib/whop_sdk/models/app_build.rb +18 -18
- data/lib/whop_sdk/models/app_build_create_params.rb +20 -21
- data/lib/whop_sdk/models/app_build_list_params.rb +6 -6
- data/lib/whop_sdk/models/app_build_list_response.rb +18 -18
- data/lib/whop_sdk/models/app_create_params.rb +25 -10
- data/lib/whop_sdk/models/app_list_params.rb +7 -7
- data/lib/whop_sdk/models/app_list_response.rb +54 -50
- data/lib/whop_sdk/models/app_update_params.rb +53 -20
- data/lib/whop_sdk/models/authorized_user_list_params.rb +12 -8
- data/lib/whop_sdk/models/authorized_user_list_response.rb +22 -17
- data/lib/whop_sdk/models/authorized_user_retrieve_response.rb +22 -17
- data/lib/whop_sdk/models/business_types.rb +6 -0
- data/lib/whop_sdk/models/card_brands.rb +2 -0
- data/lib/whop_sdk/models/chat_channel.rb +27 -18
- data/lib/whop_sdk/models/chat_channel_list_params.rb +8 -4
- data/lib/whop_sdk/models/chat_channel_list_response.rb +27 -18
- data/lib/whop_sdk/models/chat_channel_update_params.rb +13 -8
- data/lib/whop_sdk/models/checkout_configuration.rb +22 -15
- data/lib/whop_sdk/models/checkout_configuration_create_params.rb +29 -22
- data/lib/whop_sdk/models/checkout_configuration_list_params.rb +12 -8
- data/lib/whop_sdk/models/checkout_configuration_list_response.rb +22 -15
- data/lib/whop_sdk/models/company.rb +36 -31
- data/lib/whop_sdk/models/company_create_params.rb +26 -16
- data/lib/whop_sdk/models/company_list_params.rb +8 -7
- data/lib/whop_sdk/models/company_list_response.rb +31 -27
- data/lib/whop_sdk/models/company_token_transaction.rb +34 -26
- data/lib/whop_sdk/models/company_token_transaction_create_params.rb +19 -12
- data/lib/whop_sdk/models/company_token_transaction_list_params.rb +7 -7
- data/lib/whop_sdk/models/company_token_transaction_list_response.rb +34 -26
- data/lib/whop_sdk/models/{bot_token_transaction_types.rb → company_token_transaction_type.rb} +1 -1
- data/lib/whop_sdk/models/company_update_params.rb +32 -16
- data/lib/whop_sdk/models/course.rb +91 -63
- data/lib/whop_sdk/models/course_chapter.rb +18 -12
- data/lib/whop_sdk/models/course_chapter_create_params.rb +8 -4
- data/lib/whop_sdk/models/course_chapter_list_params.rb +2 -2
- data/lib/whop_sdk/models/course_chapter_list_response.rb +6 -5
- data/lib/whop_sdk/models/course_chapter_update_params.rb +2 -2
- data/lib/whop_sdk/models/course_create_params.rb +20 -19
- data/lib/whop_sdk/models/course_lesson_create_params.rb +21 -15
- data/lib/whop_sdk/models/course_lesson_interaction.rb +30 -26
- data/lib/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rb +7 -2
- data/lib/whop_sdk/models/course_lesson_interaction_list_item.rb +19 -18
- data/lib/whop_sdk/models/course_lesson_interaction_list_params.rb +8 -8
- data/lib/whop_sdk/models/course_lesson_list_params.rb +4 -4
- data/lib/whop_sdk/models/course_lesson_list_response.rb +28 -22
- data/lib/whop_sdk/models/course_lesson_submit_assessment_params.rb +2 -2
- data/lib/whop_sdk/models/course_lesson_submit_assessment_response.rb +6 -6
- data/lib/whop_sdk/models/course_lesson_update_params.rb +31 -26
- data/lib/whop_sdk/models/course_list_params.rb +4 -4
- data/lib/whop_sdk/models/course_list_response.rb +51 -38
- data/lib/whop_sdk/models/course_student_list_params.rb +4 -4
- data/lib/whop_sdk/models/course_student_list_response.rb +25 -18
- data/lib/whop_sdk/models/course_student_retrieve_response.rb +36 -26
- data/lib/whop_sdk/models/course_update_params.rb +19 -18
- data/lib/whop_sdk/models/dispute.rb +160 -110
- data/lib/whop_sdk/models/dispute_list_params.rb +6 -6
- data/lib/whop_sdk/models/dispute_list_response.rb +43 -28
- data/lib/whop_sdk/models/dispute_update_evidence_params.rb +37 -32
- data/lib/whop_sdk/models/dm_channel.rb +11 -5
- data/lib/whop_sdk/models/dm_channel_create_params.rb +11 -6
- data/lib/whop_sdk/models/dm_channel_list_params.rb +6 -2
- data/lib/whop_sdk/models/dm_channel_list_response.rb +11 -5
- data/lib/whop_sdk/models/dm_channel_update_params.rb +5 -2
- data/lib/whop_sdk/models/dm_member.rb +14 -12
- data/lib/whop_sdk/models/dm_member_create_params.rb +8 -4
- data/lib/whop_sdk/models/dm_member_list_params.rb +2 -2
- data/lib/whop_sdk/models/dm_member_list_response.rb +12 -10
- data/lib/whop_sdk/models/entry.rb +36 -21
- data/lib/whop_sdk/models/entry_list_params.rb +12 -12
- data/lib/whop_sdk/models/entry_list_response.rb +33 -19
- data/lib/whop_sdk/models/experience.rb +52 -38
- data/lib/whop_sdk/models/experience_attach_params.rb +2 -2
- data/lib/whop_sdk/models/experience_create_params.rb +13 -13
- data/lib/whop_sdk/models/experience_detach_params.rb +2 -2
- data/lib/whop_sdk/models/experience_duplicate_params.rb +6 -2
- data/lib/whop_sdk/models/experience_list_params.rb +10 -10
- data/lib/whop_sdk/models/experience_list_response.rb +42 -30
- data/lib/whop_sdk/models/experience_update_params.rb +11 -11
- data/lib/whop_sdk/models/fee_markup_create_params.rb +15 -12
- data/lib/whop_sdk/models/fee_markup_create_response.rb +16 -9
- data/lib/whop_sdk/models/fee_markup_list_params.rb +3 -3
- data/lib/whop_sdk/models/fee_markup_list_response.rb +16 -9
- data/lib/whop_sdk/models/file_create_params.rb +6 -2
- data/lib/whop_sdk/models/file_create_response.rb +20 -15
- data/lib/whop_sdk/models/file_retrieve_response.rb +14 -11
- data/lib/whop_sdk/models/forum.rb +23 -12
- data/lib/whop_sdk/models/forum_list_params.rb +8 -4
- data/lib/whop_sdk/models/forum_list_response.rb +23 -12
- data/lib/whop_sdk/models/forum_post.rb +32 -30
- data/lib/whop_sdk/models/forum_post_create_params.rb +38 -25
- data/lib/whop_sdk/models/forum_post_list_params.rb +11 -6
- data/lib/whop_sdk/models/forum_post_list_response.rb +32 -30
- data/lib/whop_sdk/models/forum_post_update_params.rb +13 -9
- data/lib/whop_sdk/models/industry_groups.rb +148 -0
- data/lib/whop_sdk/models/industry_types.rb +1871 -0
- data/lib/whop_sdk/models/invoice.rb +34 -24
- data/lib/whop_sdk/models/invoice_create_params.rb +45 -35
- data/lib/whop_sdk/models/invoice_created_webhook_event.rb +7 -2
- data/lib/whop_sdk/models/invoice_list_item.rb +34 -24
- data/lib/whop_sdk/models/invoice_list_params.rb +16 -12
- data/lib/whop_sdk/models/invoice_paid_webhook_event.rb +7 -2
- data/lib/whop_sdk/models/invoice_past_due_webhook_event.rb +7 -2
- data/lib/whop_sdk/models/invoice_status.rb +1 -0
- data/lib/whop_sdk/models/invoice_voided_webhook_event.rb +7 -2
- data/lib/whop_sdk/models/lead.rb +39 -22
- data/lib/whop_sdk/models/lead_create_params.rb +15 -11
- data/lib/whop_sdk/models/lead_list_params.rb +8 -8
- data/lib/whop_sdk/models/lead_list_response.rb +39 -22
- data/lib/whop_sdk/models/lead_update_params.rb +8 -4
- data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +23 -13
- data/lib/whop_sdk/models/lesson.rb +83 -59
- data/lib/whop_sdk/models/member_list_params.rb +21 -21
- data/lib/whop_sdk/models/member_list_response.rb +2 -3
- data/lib/whop_sdk/models/member_retrieve_response.rb +2 -3
- data/lib/whop_sdk/models/membership.rb +73 -54
- data/lib/whop_sdk/models/membership_list_params.rb +22 -18
- data/lib/whop_sdk/models/membership_list_response.rb +70 -52
- data/lib/whop_sdk/models/membership_pause_params.rb +3 -3
- data/lib/whop_sdk/models/membership_update_params.rb +6 -2
- data/lib/whop_sdk/models/message.rb +36 -31
- data/lib/whop_sdk/models/message_create_params.rb +17 -11
- data/lib/whop_sdk/models/message_list_params.rb +2 -2
- data/lib/whop_sdk/models/message_list_response.rb +36 -31
- data/lib/whop_sdk/models/message_update_params.rb +12 -6
- data/lib/whop_sdk/models/notification_create_params.rb +26 -22
- data/lib/whop_sdk/models/payment.rb +409 -26
- data/lib/whop_sdk/models/payment_create_params.rb +9 -1
- data/lib/whop_sdk/models/payment_created_webhook_event.rb +3 -3
- data/lib/whop_sdk/models/payment_failed_webhook_event.rb +3 -3
- data/lib/whop_sdk/models/payment_list_params.rb +39 -26
- data/lib/whop_sdk/models/payment_list_response.rb +42 -25
- data/lib/whop_sdk/models/payment_method_list_params.rb +12 -8
- data/lib/whop_sdk/models/payment_method_list_response.rb +182 -92
- data/lib/whop_sdk/models/payment_method_retrieve_params.rb +9 -4
- data/lib/whop_sdk/models/payment_method_retrieve_response.rb +182 -92
- data/lib/whop_sdk/models/payment_method_types.rb +1 -0
- data/lib/whop_sdk/models/payment_pending_webhook_event.rb +3 -3
- data/lib/whop_sdk/models/payment_provider.rb +1 -0
- data/lib/whop_sdk/models/payment_refund_params.rb +6 -2
- data/lib/whop_sdk/models/payment_succeeded_webhook_event.rb +3 -3
- data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +33 -22
- data/lib/whop_sdk/models/payout_method_list_params.rb +2 -2
- data/lib/whop_sdk/models/payout_method_list_response.rb +27 -20
- data/lib/whop_sdk/models/payout_method_retrieve_response.rb +27 -20
- data/lib/whop_sdk/models/plan.rb +80 -51
- data/lib/whop_sdk/models/plan_create_params.rb +45 -42
- data/lib/whop_sdk/models/plan_list_params.rb +14 -14
- data/lib/whop_sdk/models/plan_list_response.rb +71 -45
- data/lib/whop_sdk/models/plan_update_params.rb +45 -44
- data/lib/whop_sdk/models/product.rb +117 -59
- data/lib/whop_sdk/models/product_create_params.rb +43 -91
- data/lib/whop_sdk/models/product_list_item.rb +22 -18
- data/lib/whop_sdk/models/product_list_params.rb +10 -10
- data/lib/whop_sdk/models/product_update_params.rb +62 -29
- data/lib/whop_sdk/models/promo_code.rb +6 -2
- data/lib/whop_sdk/models/promo_code_create_params.rb +41 -35
- data/lib/whop_sdk/models/promo_code_list_params.rb +10 -10
- data/lib/whop_sdk/models/promo_code_list_response.rb +6 -2
- data/lib/whop_sdk/models/reaction.rb +16 -12
- data/lib/whop_sdk/models/reaction_create_params.rb +8 -8
- data/lib/whop_sdk/models/reaction_delete_params.rb +7 -2
- data/lib/whop_sdk/models/reaction_list_params.rb +2 -2
- data/lib/whop_sdk/models/reaction_list_response.rb +16 -12
- data/lib/whop_sdk/models/refund_created_webhook_event.rb +41 -26
- data/lib/whop_sdk/models/refund_list_params.rb +6 -6
- data/lib/whop_sdk/models/refund_list_response.rb +21 -16
- data/lib/whop_sdk/models/refund_retrieve_response.rb +40 -26
- data/lib/whop_sdk/models/refund_updated_webhook_event.rb +41 -26
- data/lib/whop_sdk/models/review_list_params.rb +10 -10
- data/lib/whop_sdk/models/review_list_response.rb +40 -33
- data/lib/whop_sdk/models/review_retrieve_response.rb +59 -45
- data/lib/whop_sdk/models/setup_intent.rb +43 -25
- data/lib/whop_sdk/models/setup_intent_canceled_webhook_event.rb +3 -2
- data/lib/whop_sdk/models/setup_intent_list_params.rb +6 -6
- data/lib/whop_sdk/models/setup_intent_list_response.rb +44 -25
- data/lib/whop_sdk/models/setup_intent_requires_action_webhook_event.rb +3 -2
- data/lib/whop_sdk/models/setup_intent_succeeded_webhook_event.rb +3 -2
- data/lib/whop_sdk/models/shipment.rb +22 -14
- data/lib/whop_sdk/models/shipment_create_params.rb +11 -6
- data/lib/whop_sdk/models/shipment_list_params.rb +6 -6
- data/lib/whop_sdk/models/shipment_list_response.rb +22 -14
- data/lib/whop_sdk/models/support_channel.rb +26 -16
- data/lib/whop_sdk/models/support_channel_create_params.rb +8 -4
- data/lib/whop_sdk/models/support_channel_list_params.rb +5 -6
- data/lib/whop_sdk/models/support_channel_list_response.rb +26 -16
- data/lib/whop_sdk/models/topup_create_params.rb +9 -9
- data/lib/whop_sdk/models/topup_create_response.rb +8 -4
- data/lib/whop_sdk/models/transfer.rb +47 -39
- data/lib/whop_sdk/models/transfer_create_params.rb +19 -17
- data/lib/whop_sdk/models/transfer_list_params.rb +10 -10
- data/lib/whop_sdk/models/transfer_list_response.rb +19 -17
- data/lib/whop_sdk/models/user.rb +17 -12
- data/lib/whop_sdk/models/user_update_profile_params.rb +13 -9
- data/lib/whop_sdk/models/verification_retrieve_response.rb +10 -5
- data/lib/whop_sdk/models/verification_succeeded_webhook_event.rb +16 -7
- data/lib/whop_sdk/models/webhook.rb +16 -16
- data/lib/whop_sdk/models/webhook_create_response.rb +19 -18
- data/lib/whop_sdk/models/webhook_list_params.rb +2 -2
- data/lib/whop_sdk/models/webhook_list_response.rb +12 -12
- data/lib/whop_sdk/models/withdrawal.rb +53 -41
- data/lib/whop_sdk/models/withdrawal_created_webhook_event.rb +3 -3
- data/lib/whop_sdk/models/withdrawal_list_params.rb +6 -6
- data/lib/whop_sdk/models/withdrawal_list_response.rb +18 -18
- data/lib/whop_sdk/models/withdrawal_updated_webhook_event.rb +3 -3
- data/lib/whop_sdk/models.rb +4 -2
- data/lib/whop_sdk/resources/access_tokens.rb +8 -8
- data/lib/whop_sdk/resources/account_links.rb +6 -7
- data/lib/whop_sdk/resources/ai_chats.rb +20 -15
- data/lib/whop_sdk/resources/app_builds.rb +21 -15
- data/lib/whop_sdk/resources/apps.rb +40 -24
- data/lib/whop_sdk/resources/authorized_users.rb +11 -7
- data/lib/whop_sdk/resources/chat_channels.rb +16 -14
- data/lib/whop_sdk/resources/checkout_configurations.rb +18 -14
- data/lib/whop_sdk/resources/companies.rb +31 -26
- data/lib/whop_sdk/resources/company_token_transactions.rb +19 -13
- data/lib/whop_sdk/resources/course_chapters.rb +15 -12
- data/lib/whop_sdk/resources/course_lesson_interactions.rb +8 -7
- data/lib/whop_sdk/resources/course_lessons.rb +45 -35
- data/lib/whop_sdk/resources/course_students.rb +6 -5
- data/lib/whop_sdk/resources/courses.rb +28 -24
- data/lib/whop_sdk/resources/disputes.rb +27 -22
- data/lib/whop_sdk/resources/dm_channels.rb +26 -13
- data/lib/whop_sdk/resources/dm_members.rb +18 -11
- data/lib/whop_sdk/resources/entries.rb +16 -13
- data/lib/whop_sdk/resources/experiences.rb +34 -30
- data/lib/whop_sdk/resources/fee_markups.rb +17 -11
- data/lib/whop_sdk/resources/files.rb +8 -4
- data/lib/whop_sdk/resources/forum_posts.rb +34 -23
- data/lib/whop_sdk/resources/forums.rb +15 -7
- data/lib/whop_sdk/resources/invoices.rb +33 -24
- data/lib/whop_sdk/resources/leads.rb +23 -17
- data/lib/whop_sdk/resources/ledger_accounts.rb +2 -2
- data/lib/whop_sdk/resources/members.rb +14 -13
- data/lib/whop_sdk/resources/memberships.rb +35 -25
- data/lib/whop_sdk/resources/messages.rb +28 -17
- data/lib/whop_sdk/resources/notifications.rb +10 -9
- data/lib/whop_sdk/resources/payment_methods.rb +18 -17
- data/lib/whop_sdk/resources/payments.rb +48 -25
- data/lib/whop_sdk/resources/payout_methods.rb +5 -4
- data/lib/whop_sdk/resources/plans.rb +53 -49
- data/lib/whop_sdk/resources/products.rb +49 -45
- data/lib/whop_sdk/resources/promo_codes.rb +30 -26
- data/lib/whop_sdk/resources/reactions.rb +14 -11
- data/lib/whop_sdk/resources/refunds.rb +7 -6
- data/lib/whop_sdk/resources/reviews.rb +9 -8
- data/lib/whop_sdk/resources/setup_intents.rb +8 -14
- data/lib/whop_sdk/resources/shipments.rb +15 -10
- data/lib/whop_sdk/resources/support_channels.rb +13 -9
- data/lib/whop_sdk/resources/topups.rb +6 -5
- data/lib/whop_sdk/resources/transfers.rb +17 -15
- data/lib/whop_sdk/resources/users.rb +14 -10
- data/lib/whop_sdk/resources/verifications.rb +2 -2
- data/lib/whop_sdk/resources/webhooks.rb +5 -4
- data/lib/whop_sdk/resources/withdrawals.rb +7 -6
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +2 -1
- data/rbi/whop_sdk/models/access_token_create_params.rbi +18 -26
- data/rbi/whop_sdk/models/access_token_create_response.rbi +10 -5
- data/rbi/whop_sdk/models/account_link_create_params.rbi +18 -13
- data/rbi/whop_sdk/models/account_link_create_response.rbi +8 -6
- data/rbi/whop_sdk/models/ai_chat.rbi +17 -12
- data/rbi/whop_sdk/models/ai_chat_create_params.rbi +56 -10
- data/rbi/whop_sdk/models/ai_chat_list_response.rbi +17 -12
- data/rbi/whop_sdk/models/ai_chat_update_params.rbi +6 -4
- data/rbi/whop_sdk/models/app.rbi +112 -86
- data/rbi/whop_sdk/models/app_build.rbi +20 -21
- data/rbi/whop_sdk/models/app_build_create_params.rbi +25 -27
- data/rbi/whop_sdk/models/app_build_list_params.rbi +6 -6
- data/rbi/whop_sdk/models/app_build_list_response.rbi +20 -21
- data/rbi/whop_sdk/models/app_create_params.rbi +23 -9
- data/rbi/whop_sdk/models/app_list_params.rbi +8 -8
- data/rbi/whop_sdk/models/app_list_response.rbi +70 -62
- data/rbi/whop_sdk/models/app_update_params.rbi +75 -19
- data/rbi/whop_sdk/models/authorized_user_list_params.rbi +10 -8
- data/rbi/whop_sdk/models/authorized_user_list_response.rbi +20 -17
- data/rbi/whop_sdk/models/authorized_user_retrieve_response.rbi +20 -17
- data/rbi/whop_sdk/models/business_types.rbi +8 -0
- data/rbi/whop_sdk/models/card_brands.rbi +2 -0
- data/rbi/whop_sdk/models/chat_channel.rbi +23 -18
- data/rbi/whop_sdk/models/chat_channel_list_params.rbi +6 -4
- data/rbi/whop_sdk/models/chat_channel_list_response.rbi +23 -18
- data/rbi/whop_sdk/models/chat_channel_update_params.rbi +12 -8
- data/rbi/whop_sdk/models/checkout_configuration.rbi +29 -15
- data/rbi/whop_sdk/models/checkout_configuration_create_params.rbi +31 -24
- data/rbi/whop_sdk/models/checkout_configuration_list_params.rbi +10 -8
- data/rbi/whop_sdk/models/checkout_configuration_list_response.rbi +29 -15
- data/rbi/whop_sdk/models/company.rbi +43 -33
- data/rbi/whop_sdk/models/company_create_params.rbi +29 -17
- data/rbi/whop_sdk/models/company_list_params.rbi +10 -8
- data/rbi/whop_sdk/models/company_list_response.rbi +37 -29
- data/rbi/whop_sdk/models/company_token_transaction.rbi +37 -27
- data/rbi/whop_sdk/models/company_token_transaction_create_params.rbi +20 -12
- data/rbi/whop_sdk/models/company_token_transaction_list_params.rbi +7 -7
- data/rbi/whop_sdk/models/company_token_transaction_list_response.rbi +37 -27
- data/rbi/whop_sdk/models/company_token_transaction_type.rbi +28 -0
- data/rbi/whop_sdk/models/company_update_params.rbi +34 -18
- data/rbi/whop_sdk/models/course.rbi +108 -70
- data/rbi/whop_sdk/models/course_chapter.rbi +16 -12
- data/rbi/whop_sdk/models/course_chapter_create_params.rbi +6 -4
- data/rbi/whop_sdk/models/course_chapter_list_params.rbi +2 -2
- data/rbi/whop_sdk/models/course_chapter_list_response.rbi +6 -5
- data/rbi/whop_sdk/models/course_chapter_update_params.rbi +2 -2
- data/rbi/whop_sdk/models/course_create_params.rbi +25 -23
- data/rbi/whop_sdk/models/course_lesson_create_params.rbi +21 -15
- data/rbi/whop_sdk/models/course_lesson_interaction.rbi +27 -26
- data/rbi/whop_sdk/models/course_lesson_interaction_completed_webhook_event.rbi +4 -2
- data/rbi/whop_sdk/models/course_lesson_interaction_list_item.rbi +19 -18
- data/rbi/whop_sdk/models/course_lesson_interaction_list_params.rbi +8 -8
- data/rbi/whop_sdk/models/course_lesson_list_params.rbi +4 -4
- data/rbi/whop_sdk/models/course_lesson_list_response.rbi +34 -24
- data/rbi/whop_sdk/models/course_lesson_submit_assessment_params.rbi +2 -2
- data/rbi/whop_sdk/models/course_lesson_submit_assessment_response.rbi +6 -6
- data/rbi/whop_sdk/models/course_lesson_update_params.rbi +36 -27
- data/rbi/whop_sdk/models/course_list_params.rbi +4 -4
- data/rbi/whop_sdk/models/course_list_response.rbi +68 -44
- data/rbi/whop_sdk/models/course_student_list_params.rbi +4 -4
- data/rbi/whop_sdk/models/course_student_list_response.rbi +25 -18
- data/rbi/whop_sdk/models/course_student_retrieve_response.rbi +33 -26
- data/rbi/whop_sdk/models/course_update_params.rbi +23 -21
- data/rbi/whop_sdk/models/dispute.rbi +194 -118
- data/rbi/whop_sdk/models/dispute_list_params.rbi +6 -6
- data/rbi/whop_sdk/models/dispute_list_response.rbi +44 -28
- data/rbi/whop_sdk/models/dispute_update_evidence_params.rbi +35 -32
- data/rbi/whop_sdk/models/dm_channel.rbi +10 -5
- data/rbi/whop_sdk/models/dm_channel_create_params.rbi +10 -6
- data/rbi/whop_sdk/models/dm_channel_list_params.rbi +4 -2
- data/rbi/whop_sdk/models/dm_channel_list_response.rbi +10 -5
- data/rbi/whop_sdk/models/dm_channel_update_params.rbi +2 -2
- data/rbi/whop_sdk/models/dm_member.rbi +16 -13
- data/rbi/whop_sdk/models/dm_member_create_params.rbi +6 -4
- data/rbi/whop_sdk/models/dm_member_list_params.rbi +2 -2
- data/rbi/whop_sdk/models/dm_member_list_response.rbi +14 -11
- data/rbi/whop_sdk/models/entry.rbi +32 -21
- data/rbi/whop_sdk/models/entry_list_params.rbi +12 -12
- data/rbi/whop_sdk/models/entry_list_response.rbi +28 -19
- data/rbi/whop_sdk/models/experience.rbi +58 -43
- data/rbi/whop_sdk/models/experience_attach_params.rbi +2 -2
- data/rbi/whop_sdk/models/experience_create_params.rbi +13 -13
- data/rbi/whop_sdk/models/experience_detach_params.rbi +2 -2
- data/rbi/whop_sdk/models/experience_duplicate_params.rbi +4 -2
- data/rbi/whop_sdk/models/experience_list_params.rbi +10 -10
- data/rbi/whop_sdk/models/experience_list_response.rbi +44 -33
- data/rbi/whop_sdk/models/experience_update_params.rbi +11 -11
- data/rbi/whop_sdk/models/fee_markup_create_params.rbi +12 -12
- data/rbi/whop_sdk/models/fee_markup_create_response.rbi +16 -9
- data/rbi/whop_sdk/models/fee_markup_list_params.rbi +4 -4
- data/rbi/whop_sdk/models/fee_markup_list_response.rbi +16 -9
- data/rbi/whop_sdk/models/file_create_params.rbi +4 -2
- data/rbi/whop_sdk/models/file_create_response.rbi +19 -15
- data/rbi/whop_sdk/models/file_retrieve_response.rbi +11 -11
- data/rbi/whop_sdk/models/forum.rbi +21 -12
- data/rbi/whop_sdk/models/forum_list_params.rbi +6 -4
- data/rbi/whop_sdk/models/forum_list_response.rbi +21 -12
- data/rbi/whop_sdk/models/forum_post.rbi +33 -30
- data/rbi/whop_sdk/models/forum_post_create_params.rbi +45 -29
- data/rbi/whop_sdk/models/forum_post_list_params.rbi +10 -6
- data/rbi/whop_sdk/models/forum_post_list_response.rbi +33 -30
- data/rbi/whop_sdk/models/forum_post_update_params.rbi +16 -10
- data/rbi/whop_sdk/models/industry_groups.rbi +418 -0
- data/rbi/whop_sdk/models/industry_types.rbi +3843 -0
- data/rbi/whop_sdk/models/invoice.rbi +36 -25
- data/rbi/whop_sdk/models/invoice_create_params.rbi +52 -43
- data/rbi/whop_sdk/models/invoice_created_webhook_event.rbi +6 -2
- data/rbi/whop_sdk/models/invoice_list_item.rbi +36 -25
- data/rbi/whop_sdk/models/invoice_list_params.rbi +14 -12
- data/rbi/whop_sdk/models/invoice_paid_webhook_event.rbi +6 -2
- data/rbi/whop_sdk/models/invoice_past_due_webhook_event.rbi +6 -2
- data/rbi/whop_sdk/models/invoice_status.rbi +1 -0
- data/rbi/whop_sdk/models/invoice_voided_webhook_event.rbi +6 -2
- data/rbi/whop_sdk/models/lead.rbi +35 -22
- data/rbi/whop_sdk/models/lead_create_params.rbi +18 -12
- data/rbi/whop_sdk/models/lead_list_params.rbi +8 -8
- data/rbi/whop_sdk/models/lead_list_response.rbi +35 -22
- data/rbi/whop_sdk/models/lead_update_params.rbi +6 -4
- data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +16 -13
- data/rbi/whop_sdk/models/lesson.rbi +108 -64
- data/rbi/whop_sdk/models/member_list_params.rbi +22 -22
- data/rbi/whop_sdk/models/member_list_response.rbi +2 -3
- data/rbi/whop_sdk/models/member_retrieve_response.rbi +2 -3
- data/rbi/whop_sdk/models/membership.rbi +82 -58
- data/rbi/whop_sdk/models/membership_list_params.rbi +20 -18
- data/rbi/whop_sdk/models/membership_list_response.rbi +78 -56
- data/rbi/whop_sdk/models/membership_pause_params.rbi +4 -4
- data/rbi/whop_sdk/models/membership_update_params.rbi +4 -2
- data/rbi/whop_sdk/models/message.rbi +41 -31
- data/rbi/whop_sdk/models/message_create_params.rbi +17 -11
- data/rbi/whop_sdk/models/message_list_params.rbi +2 -2
- data/rbi/whop_sdk/models/message_list_response.rbi +41 -31
- data/rbi/whop_sdk/models/message_update_params.rbi +10 -6
- data/rbi/whop_sdk/models/notification_create_params.rbi +36 -28
- data/rbi/whop_sdk/models/payment.rbi +794 -25
- data/rbi/whop_sdk/models/payment_create_params.rbi +8 -0
- data/rbi/whop_sdk/models/payment_created_webhook_event.rbi +4 -4
- data/rbi/whop_sdk/models/payment_failed_webhook_event.rbi +4 -4
- data/rbi/whop_sdk/models/payment_list_params.rbi +38 -26
- data/rbi/whop_sdk/models/payment_list_response.rbi +40 -25
- data/rbi/whop_sdk/models/payment_method_list_params.rbi +10 -8
- data/rbi/whop_sdk/models/payment_method_list_response.rbi +178 -86
- data/rbi/whop_sdk/models/payment_method_retrieve_params.rbi +8 -4
- data/rbi/whop_sdk/models/payment_method_retrieve_response.rbi +178 -86
- data/rbi/whop_sdk/models/payment_method_types.rbi +1 -0
- data/rbi/whop_sdk/models/payment_pending_webhook_event.rbi +4 -4
- data/rbi/whop_sdk/models/payment_provider.rbi +2 -0
- data/rbi/whop_sdk/models/payment_refund_params.rbi +4 -2
- data/rbi/whop_sdk/models/payment_succeeded_webhook_event.rbi +4 -4
- data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +38 -25
- data/rbi/whop_sdk/models/payout_method_list_params.rbi +2 -2
- data/rbi/whop_sdk/models/payout_method_list_response.rbi +34 -23
- data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +34 -23
- data/rbi/whop_sdk/models/plan.rbi +99 -51
- data/rbi/whop_sdk/models/plan_create_params.rbi +53 -47
- data/rbi/whop_sdk/models/plan_list_params.rbi +14 -14
- data/rbi/whop_sdk/models/plan_list_response.rbi +87 -45
- data/rbi/whop_sdk/models/plan_update_params.rbi +53 -51
- data/rbi/whop_sdk/models/product.rbi +139 -62
- data/rbi/whop_sdk/models/product_create_params.rbi +47 -156
- data/rbi/whop_sdk/models/product_list_item.rbi +28 -20
- data/rbi/whop_sdk/models/product_list_params.rbi +10 -10
- data/rbi/whop_sdk/models/product_update_params.rbi +83 -29
- data/rbi/whop_sdk/models/promo_code.rbi +4 -2
- data/rbi/whop_sdk/models/promo_code_create_params.rbi +50 -40
- data/rbi/whop_sdk/models/promo_code_list_params.rbi +10 -10
- data/rbi/whop_sdk/models/promo_code_list_response.rbi +4 -2
- data/rbi/whop_sdk/models/reaction.rbi +14 -12
- data/rbi/whop_sdk/models/reaction_create_params.rbi +10 -10
- data/rbi/whop_sdk/models/reaction_delete_params.rbi +6 -2
- data/rbi/whop_sdk/models/reaction_list_params.rbi +2 -2
- data/rbi/whop_sdk/models/reaction_list_response.rbi +14 -12
- data/rbi/whop_sdk/models/refund_created_webhook_event.rbi +42 -27
- data/rbi/whop_sdk/models/refund_list_params.rbi +6 -6
- data/rbi/whop_sdk/models/refund_list_response.rbi +26 -17
- data/rbi/whop_sdk/models/refund_retrieve_response.rbi +42 -27
- data/rbi/whop_sdk/models/refund_updated_webhook_event.rbi +42 -27
- data/rbi/whop_sdk/models/review_list_params.rbi +10 -10
- data/rbi/whop_sdk/models/review_list_response.rbi +47 -34
- data/rbi/whop_sdk/models/review_retrieve_response.rbi +61 -46
- data/rbi/whop_sdk/models/setup_intent.rbi +44 -25
- data/rbi/whop_sdk/models/setup_intent_canceled_webhook_event.rbi +4 -2
- data/rbi/whop_sdk/models/setup_intent_list_params.rbi +6 -6
- data/rbi/whop_sdk/models/setup_intent_list_response.rbi +44 -25
- data/rbi/whop_sdk/models/setup_intent_requires_action_webhook_event.rbi +4 -2
- data/rbi/whop_sdk/models/setup_intent_succeeded_webhook_event.rbi +4 -2
- data/rbi/whop_sdk/models/shipment.rbi +22 -14
- data/rbi/whop_sdk/models/shipment_create_params.rbi +10 -6
- data/rbi/whop_sdk/models/shipment_list_params.rbi +6 -6
- data/rbi/whop_sdk/models/shipment_list_response.rbi +22 -14
- data/rbi/whop_sdk/models/support_channel.rbi +28 -16
- data/rbi/whop_sdk/models/support_channel_create_params.rbi +6 -4
- data/rbi/whop_sdk/models/support_channel_list_params.rbi +6 -8
- data/rbi/whop_sdk/models/support_channel_list_response.rbi +28 -16
- data/rbi/whop_sdk/models/topup_create_params.rbi +10 -10
- data/rbi/whop_sdk/models/topup_create_response.rbi +6 -4
- data/rbi/whop_sdk/models/transfer.rbi +45 -41
- data/rbi/whop_sdk/models/transfer_create_params.rbi +24 -20
- data/rbi/whop_sdk/models/transfer_list_params.rbi +12 -12
- data/rbi/whop_sdk/models/transfer_list_response.rbi +23 -19
- data/rbi/whop_sdk/models/user.rbi +16 -13
- data/rbi/whop_sdk/models/user_update_profile_params.rbi +11 -9
- data/rbi/whop_sdk/models/verification_retrieve_response.rbi +8 -5
- data/rbi/whop_sdk/models/verification_succeeded_webhook_event.rbi +12 -7
- data/rbi/whop_sdk/models/webhook.rbi +18 -18
- data/rbi/whop_sdk/models/webhook_create_response.rbi +22 -20
- data/rbi/whop_sdk/models/webhook_list_params.rbi +2 -2
- data/rbi/whop_sdk/models/webhook_list_response.rbi +14 -14
- data/rbi/whop_sdk/models/withdrawal.rbi +68 -48
- data/rbi/whop_sdk/models/withdrawal_created_webhook_event.rbi +4 -4
- data/rbi/whop_sdk/models/withdrawal_list_params.rbi +6 -6
- data/rbi/whop_sdk/models/withdrawal_list_response.rbi +22 -22
- data/rbi/whop_sdk/models/withdrawal_updated_webhook_event.rbi +4 -4
- data/rbi/whop_sdk/models.rbi +4 -2
- data/rbi/whop_sdk/resources/access_tokens.rbi +13 -17
- data/rbi/whop_sdk/resources/account_links.rbi +10 -9
- data/rbi/whop_sdk/resources/ai_chats.rbi +21 -15
- data/rbi/whop_sdk/resources/app_builds.rbi +24 -21
- data/rbi/whop_sdk/resources/apps.rbi +42 -23
- data/rbi/whop_sdk/resources/authorized_users.rbi +9 -7
- data/rbi/whop_sdk/resources/chat_channels.rbi +17 -13
- data/rbi/whop_sdk/resources/checkout_configurations.rbi +19 -17
- data/rbi/whop_sdk/resources/companies.rbi +41 -30
- data/rbi/whop_sdk/resources/company_token_transactions.rbi +20 -13
- data/rbi/whop_sdk/resources/course_chapters.rbi +13 -12
- data/rbi/whop_sdk/resources/course_lesson_interactions.rbi +8 -7
- data/rbi/whop_sdk/resources/course_lessons.rbi +48 -36
- data/rbi/whop_sdk/resources/course_students.rbi +6 -5
- data/rbi/whop_sdk/resources/courses.rbi +37 -31
- data/rbi/whop_sdk/resources/disputes.rbi +26 -23
- data/rbi/whop_sdk/resources/dm_channels.rbi +20 -13
- data/rbi/whop_sdk/resources/dm_members.rbi +16 -11
- data/rbi/whop_sdk/resources/entries.rbi +16 -13
- data/rbi/whop_sdk/resources/experiences.rbi +32 -30
- data/rbi/whop_sdk/resources/fee_markups.rbi +15 -12
- data/rbi/whop_sdk/resources/files.rbi +6 -4
- data/rbi/whop_sdk/resources/forum_posts.rbi +44 -28
- data/rbi/whop_sdk/resources/forums.rbi +11 -7
- data/rbi/whop_sdk/resources/invoices.rbi +39 -32
- data/rbi/whop_sdk/resources/leads.rbi +24 -18
- data/rbi/whop_sdk/resources/ledger_accounts.rbi +3 -3
- data/rbi/whop_sdk/resources/members.rbi +15 -14
- data/rbi/whop_sdk/resources/memberships.rbi +32 -26
- data/rbi/whop_sdk/resources/messages.rbi +26 -17
- data/rbi/whop_sdk/resources/notifications.rbi +20 -15
- data/rbi/whop_sdk/resources/payment_methods.rbi +15 -17
- data/rbi/whop_sdk/resources/payments.rbi +45 -24
- data/rbi/whop_sdk/resources/payout_methods.rbi +5 -4
- data/rbi/whop_sdk/resources/plans.rbi +69 -61
- data/rbi/whop_sdk/resources/products.rbi +63 -49
- data/rbi/whop_sdk/resources/promo_codes.rbi +39 -31
- data/rbi/whop_sdk/resources/reactions.rbi +20 -14
- data/rbi/whop_sdk/resources/refunds.rbi +7 -6
- data/rbi/whop_sdk/resources/reviews.rbi +9 -8
- data/rbi/whop_sdk/resources/setup_intents.rbi +8 -14
- data/rbi/whop_sdk/resources/shipments.rbi +14 -10
- data/rbi/whop_sdk/resources/support_channels.rbi +12 -11
- data/rbi/whop_sdk/resources/topups.rbi +7 -6
- data/rbi/whop_sdk/resources/transfers.rbi +24 -20
- data/rbi/whop_sdk/resources/users.rbi +13 -11
- data/rbi/whop_sdk/resources/verifications.rbi +2 -2
- data/rbi/whop_sdk/resources/webhooks.rbi +5 -4
- data/rbi/whop_sdk/resources/withdrawals.rbi +7 -6
- data/sig/whop_sdk/models/ai_chat_create_params.rbs +17 -0
- data/sig/whop_sdk/models/app.rbs +5 -0
- data/sig/whop_sdk/models/app_create_params.rbs +6 -1
- data/sig/whop_sdk/models/app_update_params.rbs +21 -0
- data/sig/whop_sdk/models/business_types.rbs +12 -0
- data/sig/whop_sdk/models/card_brands.rbs +4 -0
- data/sig/whop_sdk/models/checkout_configuration_create_params.rbs +5 -0
- data/sig/whop_sdk/models/company_create_params.rbs +5 -0
- data/sig/whop_sdk/models/company_token_transaction.rbs +4 -4
- data/sig/whop_sdk/models/company_token_transaction_list_params.rbs +4 -4
- data/sig/whop_sdk/models/company_token_transaction_list_response.rbs +4 -4
- data/sig/whop_sdk/models/company_token_transaction_type.rbs +15 -0
- data/sig/whop_sdk/models/company_update_params.rbs +10 -0
- data/sig/whop_sdk/models/forum_post_create_params.rbs +5 -0
- data/sig/whop_sdk/models/industry_groups.rbs +280 -0
- data/sig/whop_sdk/models/industry_types.rbs +3742 -0
- data/sig/whop_sdk/models/invoice_create_params.rbs +5 -0
- data/sig/whop_sdk/models/invoice_status.rbs +2 -1
- data/sig/whop_sdk/models/payment.rbs +316 -0
- data/sig/whop_sdk/models/payment_create_params.rbs +5 -0
- data/sig/whop_sdk/models/payment_list_params.rbs +10 -5
- data/sig/whop_sdk/models/payment_method_types.rbs +2 -0
- data/sig/whop_sdk/models/payment_provider.rbs +2 -0
- data/sig/whop_sdk/models/product.rbs +17 -0
- data/sig/whop_sdk/models/product_create_params.rbs +5 -46
- data/sig/whop_sdk/models/product_update_params.rbs +20 -0
- data/sig/whop_sdk/models/withdrawal.rbs +2 -0
- data/sig/whop_sdk/models.rbs +4 -2
- data/sig/whop_sdk/resources/ai_chats.rbs +1 -0
- data/sig/whop_sdk/resources/apps.rbs +3 -0
- data/sig/whop_sdk/resources/companies.rbs +3 -0
- data/sig/whop_sdk/resources/company_token_transactions.rbs +1 -1
- data/sig/whop_sdk/resources/forum_posts.rbs +1 -0
- data/sig/whop_sdk/resources/invoices.rbs +1 -0
- data/sig/whop_sdk/resources/payments.rbs +2 -1
- data/sig/whop_sdk/resources/products.rbs +3 -1
- metadata +8 -5
- data/rbi/whop_sdk/models/bot_token_transaction_types.rbi +0 -28
- data/sig/whop_sdk/models/bot_token_transaction_types.rbs +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65d1daae72b60c920b505a3d0d31fa263abea2a5c3d7d64f3f08a28dd1ca19b8
|
|
4
|
+
data.tar.gz: ff1e4ffb828933835fc5d71a89c7fd64cc5fbf06cc925d72f5cd666feb24f612
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca8f9e650c7cf95c9c542f8a8f0d875c898edcbf3206ec04aa2b74073da7081bf4bbbbbcb0d4f2e856a693a277c8caf195efb3aa753a8ca82e36d405e034c3be
|
|
7
|
+
data.tar.gz: bb1912a81b99c2bf887636a855d30a82cebe518b3f6948523794279e2b513f037f8f8b1e597c44c72ed41c1549e6bddd0a8ed4b0265d47f16581f20675d2cabf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.28 (2026-02-19)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.0.27...v0.0.28](https://github.com/whopio/whopsdk-ruby/compare/v0.0.27...v0.0.28)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([19a8f84](https://github.com/whopio/whopsdk-ruby/commit/19a8f842c19aec2b89cb06edb301d31144ff8f6f))
|
|
10
|
+
* **api:** api update ([9a84f83](https://github.com/whopio/whopsdk-ruby/commit/9a84f83c5637fcf915631af3ce01216c9ab96617))
|
|
11
|
+
* **api:** api update ([a87dffa](https://github.com/whopio/whopsdk-ruby/commit/a87dffa1f3f8c8e88605bf443c565d55f92b8207))
|
|
12
|
+
* **api:** api update ([193161d](https://github.com/whopio/whopsdk-ruby/commit/193161dc23d8868a252b4f98ad550d22b3dabac7))
|
|
13
|
+
* **api:** api update ([5ce4893](https://github.com/whopio/whopsdk-ruby/commit/5ce4893f759e45aadf3703b5d8074b61d333e903))
|
|
14
|
+
* **api:** api update ([3d480a8](https://github.com/whopio/whopsdk-ruby/commit/3d480a8c7b7d440c4edfa1067b156c88a7c07efd))
|
|
15
|
+
* **api:** api update ([1721944](https://github.com/whopio/whopsdk-ruby/commit/1721944bb515a5ee1eecb3f7ba43eea96763b00b))
|
|
16
|
+
* **api:** api update ([3b32134](https://github.com/whopio/whopsdk-ruby/commit/3b321344577fa04c3cb70743bd381108fafdc7c2))
|
|
17
|
+
* **api:** api update ([c4dbb11](https://github.com/whopio/whopsdk-ruby/commit/c4dbb11f8dd3862aa616d63387f96a5ae62392c0))
|
|
18
|
+
* **api:** api update ([a6cec2c](https://github.com/whopio/whopsdk-ruby/commit/a6cec2c09ed799f3d6607d884f543653fb490b57))
|
|
19
|
+
* **api:** api update ([f173bf9](https://github.com/whopio/whopsdk-ruby/commit/f173bf9fa8441ed9cd7fcd92f241dd2d1972e057))
|
|
20
|
+
* **api:** api update ([3fa5697](https://github.com/whopio/whopsdk-ruby/commit/3fa56971b88284df0612640c581e446205d9b5b6))
|
|
21
|
+
* **api:** api update ([63accfc](https://github.com/whopio/whopsdk-ruby/commit/63accfc1df49a36eead79abc81d75f3d4ebf7ce9))
|
|
22
|
+
* **api:** api update ([7eada7c](https://github.com/whopio/whopsdk-ruby/commit/7eada7c05cb4f18d8d84dba1a0c22ca4a61cf460))
|
|
23
|
+
* **api:** api update ([b3c3d77](https://github.com/whopio/whopsdk-ruby/commit/b3c3d77fe6c08d878e4983beacf9fb6b4a84b238))
|
|
24
|
+
* **api:** api update ([6d1c4e9](https://github.com/whopio/whopsdk-ruby/commit/6d1c4e99fe46d43a67aba8bac62ad6347cf22d1c))
|
|
25
|
+
* **api:** api update ([bb02a5e](https://github.com/whopio/whopsdk-ruby/commit/bb02a5ebaa149af41f46d860e0f6da07dec20c0f))
|
|
26
|
+
* **api:** api update ([1957770](https://github.com/whopio/whopsdk-ruby/commit/1957770a92a4fba413f9277312aabeac1ba51dad))
|
|
27
|
+
* **api:** api update ([929026d](https://github.com/whopio/whopsdk-ruby/commit/929026d0eee42ab7f930f81bbeb582348d8b5b8b))
|
|
28
|
+
* **api:** manual updates ([1bd14df](https://github.com/whopio/whopsdk-ruby/commit/1bd14df4007aedf72be1206f27fce029609660b1))
|
|
29
|
+
* **api:** manual updates ([7c05fd4](https://github.com/whopio/whopsdk-ruby/commit/7c05fd452333841f7ca142cd235d922bb281b94a))
|
|
30
|
+
* **api:** manual updates ([023f1ca](https://github.com/whopio/whopsdk-ruby/commit/023f1ca270e0caf1c53fdcd2897a66ac3aa2d863))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Chores
|
|
34
|
+
|
|
35
|
+
* configure new SDK language ([8483357](https://github.com/whopio/whopsdk-ruby/commit/8483357ba5ca5b76ebb4ec832b40861982adf85f))
|
|
36
|
+
|
|
3
37
|
## 0.0.27 (2026-02-09)
|
|
4
38
|
|
|
5
39
|
Full Changelog: [v0.0.26...v0.0.27](https://github.com/whopio/whopsdk-ruby/compare/v0.0.26...v0.0.27)
|
data/README.md
CHANGED
|
@@ -8,34 +8,30 @@ module WhopSDK
|
|
|
8
8
|
include WhopSDK::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute company_id
|
|
11
|
-
# The
|
|
12
|
-
#
|
|
13
|
-
# belongs to or a sub-merchant of it
|
|
11
|
+
# The unique identifier of the company to generate the token for, starting with
|
|
12
|
+
# 'biz\_'. The API key must have permission to access this company.
|
|
14
13
|
#
|
|
15
14
|
# @return [String, nil]
|
|
16
15
|
optional :company_id, String, nil?: true
|
|
17
16
|
|
|
18
17
|
# @!attribute expires_at
|
|
19
|
-
# The expiration timestamp for the access token.
|
|
20
|
-
#
|
|
21
|
-
# of 3 hours from the current time.
|
|
18
|
+
# The expiration timestamp for the access token. Defaults to 1 hour from now, with
|
|
19
|
+
# a maximum of 3 hours.
|
|
22
20
|
#
|
|
23
21
|
# @return [Time, nil]
|
|
24
22
|
optional :expires_at, Time, nil?: true
|
|
25
23
|
|
|
26
24
|
# @!attribute scoped_actions
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
# must be a subset of the credential's existing permissions. Otherwise, an error
|
|
31
|
-
# will be raised.
|
|
25
|
+
# An array of permission scopes to grant to the access token. If empty or omitted,
|
|
26
|
+
# all permissions from the authenticating credential are inherited. Must be a
|
|
27
|
+
# subset of the credential's permissions.
|
|
32
28
|
#
|
|
33
29
|
# @return [Array<String>, nil]
|
|
34
30
|
optional :scoped_actions, WhopSDK::Internal::Type::ArrayOf[String], nil?: true
|
|
35
31
|
|
|
36
32
|
# @!attribute user_id
|
|
37
|
-
# The
|
|
38
|
-
# to access this
|
|
33
|
+
# The unique identifier of the user to generate the token for, starting with
|
|
34
|
+
# 'user\_'. The API key must have permission to access this user.
|
|
39
35
|
#
|
|
40
36
|
# @return [String, nil]
|
|
41
37
|
optional :user_id, String, nil?: true
|
|
@@ -44,13 +40,13 @@ module WhopSDK
|
|
|
44
40
|
# Some parameter documentations has been truncated, see
|
|
45
41
|
# {WhopSDK::Models::AccessTokenCreateParams} for more details.
|
|
46
42
|
#
|
|
47
|
-
# @param company_id [String, nil] The
|
|
43
|
+
# @param company_id [String, nil] The unique identifier of the company to generate the token for, starting with 'b
|
|
48
44
|
#
|
|
49
|
-
# @param expires_at [Time, nil] The expiration timestamp for the access token.
|
|
45
|
+
# @param expires_at [Time, nil] The expiration timestamp for the access token. Defaults to 1 hour from now, with
|
|
50
46
|
#
|
|
51
|
-
# @param scoped_actions [Array<String>, nil]
|
|
47
|
+
# @param scoped_actions [Array<String>, nil] An array of permission scopes to grant to the access token. If empty or omitted,
|
|
52
48
|
#
|
|
53
|
-
# @param user_id [String, nil] The
|
|
49
|
+
# @param user_id [String, nil] The unique identifier of the user to generate the token for, starting with 'user
|
|
54
50
|
#
|
|
55
51
|
# @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
|
|
56
52
|
end
|
|
@@ -5,23 +5,29 @@ module WhopSDK
|
|
|
5
5
|
# @see WhopSDK::Resources::AccessTokens#create
|
|
6
6
|
class AccessTokenCreateResponse < WhopSDK::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute token
|
|
8
|
-
# The JWT access token string
|
|
8
|
+
# The signed JWT access token string to include in API request Authorization
|
|
9
|
+
# headers.
|
|
9
10
|
#
|
|
10
11
|
# @return [String]
|
|
11
12
|
required :token, String
|
|
12
13
|
|
|
13
14
|
# @!attribute expires_at
|
|
14
|
-
# The
|
|
15
|
+
# The timestamp after which this access token is no longer valid and must be
|
|
16
|
+
# refreshed.
|
|
15
17
|
#
|
|
16
18
|
# @return [Time]
|
|
17
19
|
required :expires_at, Time
|
|
18
20
|
|
|
19
21
|
# @!method initialize(token:, expires_at:)
|
|
20
|
-
#
|
|
22
|
+
# Some parameter documentations has been truncated, see
|
|
23
|
+
# {WhopSDK::Models::AccessTokenCreateResponse} for more details.
|
|
21
24
|
#
|
|
22
|
-
#
|
|
25
|
+
# A short-lived access token used to authenticate API requests on behalf of a
|
|
26
|
+
# user.
|
|
23
27
|
#
|
|
24
|
-
# @param
|
|
28
|
+
# @param token [String] The signed JWT access token string to include in API request Authorization heade
|
|
29
|
+
#
|
|
30
|
+
# @param expires_at [Time] The timestamp after which this access token is no longer valid and must be refre
|
|
25
31
|
end
|
|
26
32
|
end
|
|
27
33
|
end
|
|
@@ -8,27 +8,29 @@ module WhopSDK
|
|
|
8
8
|
include WhopSDK::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute company_id
|
|
11
|
-
# The
|
|
12
|
-
# sub-merchant of the API key's company.
|
|
11
|
+
# The unique identifier of the company to generate the link for, starting with
|
|
12
|
+
# 'biz\_'. Must be a sub-merchant of the API key's company.
|
|
13
13
|
#
|
|
14
14
|
# @return [String]
|
|
15
15
|
required :company_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute refresh_url
|
|
18
|
-
# The URL to redirect to if the session expires and needs to be
|
|
19
|
-
#
|
|
18
|
+
# The URL to redirect the user to if the session expires and needs to be
|
|
19
|
+
# re-authenticated, such as 'https://example.com/refresh'.
|
|
20
20
|
#
|
|
21
21
|
# @return [String]
|
|
22
22
|
required :refresh_url, String
|
|
23
23
|
|
|
24
24
|
# @!attribute return_url
|
|
25
|
-
# The URL to redirect to when
|
|
25
|
+
# The URL to redirect the user to when they want to return to your site, such as
|
|
26
|
+
# 'https://example.com/return'.
|
|
26
27
|
#
|
|
27
28
|
# @return [String]
|
|
28
29
|
required :return_url, String
|
|
29
30
|
|
|
30
31
|
# @!attribute use_case
|
|
31
|
-
# The
|
|
32
|
+
# The purpose of the account link, such as hosted payouts portal or hosted KYC
|
|
33
|
+
# onboarding.
|
|
32
34
|
#
|
|
33
35
|
# @return [Symbol, WhopSDK::Models::AccountLinkCreateParams::UseCase]
|
|
34
36
|
required :use_case, enum: -> { WhopSDK::AccountLinkCreateParams::UseCase }
|
|
@@ -37,17 +39,18 @@ module WhopSDK
|
|
|
37
39
|
# Some parameter documentations has been truncated, see
|
|
38
40
|
# {WhopSDK::Models::AccountLinkCreateParams} for more details.
|
|
39
41
|
#
|
|
40
|
-
# @param company_id [String] The
|
|
42
|
+
# @param company_id [String] The unique identifier of the company to generate the link for, starting with 'bi
|
|
41
43
|
#
|
|
42
|
-
# @param refresh_url [String] The URL to redirect to if the session expires and needs to be re-
|
|
44
|
+
# @param refresh_url [String] The URL to redirect the user to if the session expires and needs to be re-authen
|
|
43
45
|
#
|
|
44
|
-
# @param return_url [String] The URL to redirect to when
|
|
46
|
+
# @param return_url [String] The URL to redirect the user to when they want to return to your site, such as '
|
|
45
47
|
#
|
|
46
|
-
# @param use_case [Symbol, WhopSDK::Models::AccountLinkCreateParams::UseCase] The
|
|
48
|
+
# @param use_case [Symbol, WhopSDK::Models::AccountLinkCreateParams::UseCase] The purpose of the account link, such as hosted payouts portal or hosted KYC onb
|
|
47
49
|
#
|
|
48
50
|
# @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
|
|
49
51
|
|
|
50
|
-
# The
|
|
52
|
+
# The purpose of the account link, such as hosted payouts portal or hosted KYC
|
|
53
|
+
# onboarding.
|
|
51
54
|
module UseCase
|
|
52
55
|
extend WhopSDK::Internal::Type::Enum
|
|
53
56
|
|
|
@@ -5,24 +5,28 @@ module WhopSDK
|
|
|
5
5
|
# @see WhopSDK::Resources::AccountLinks#create
|
|
6
6
|
class AccountLinkCreateResponse < WhopSDK::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute expires_at
|
|
8
|
-
# The
|
|
8
|
+
# The timestamp after which this account link URL is no longer valid.
|
|
9
9
|
#
|
|
10
10
|
# @return [Time]
|
|
11
11
|
required :expires_at, Time
|
|
12
12
|
|
|
13
13
|
# @!attribute url
|
|
14
|
-
# The URL to
|
|
14
|
+
# The temporary URL to redirect the user to for account access. Expires at the
|
|
15
|
+
# time specified by expires_at.
|
|
15
16
|
#
|
|
16
17
|
# @return [String]
|
|
17
18
|
required :url, String
|
|
18
19
|
|
|
19
20
|
# @!method initialize(expires_at:, url:)
|
|
20
|
-
#
|
|
21
|
-
#
|
|
21
|
+
# Some parameter documentations has been truncated, see
|
|
22
|
+
# {WhopSDK::Models::AccountLinkCreateResponse} for more details.
|
|
22
23
|
#
|
|
23
|
-
#
|
|
24
|
+
# A temporary, time-limited URL that grants a user access to an external account
|
|
25
|
+
# management page.
|
|
24
26
|
#
|
|
25
|
-
# @param
|
|
27
|
+
# @param expires_at [Time] The timestamp after which this account link URL is no longer valid.
|
|
28
|
+
#
|
|
29
|
+
# @param url [String] The temporary URL to redirect the user to for account access. Expires at the tim
|
|
26
30
|
end
|
|
27
31
|
end
|
|
28
32
|
end
|
|
@@ -11,7 +11,7 @@ module WhopSDK
|
|
|
11
11
|
required :id, String
|
|
12
12
|
|
|
13
13
|
# @!attribute blended_token_usage
|
|
14
|
-
# The total number of tokens
|
|
14
|
+
# The total number of tokens consumed across all messages in this conversation.
|
|
15
15
|
#
|
|
16
16
|
# @return [String]
|
|
17
17
|
required :blended_token_usage, String
|
|
@@ -23,19 +23,21 @@ module WhopSDK
|
|
|
23
23
|
required :created_at, Time
|
|
24
24
|
|
|
25
25
|
# @!attribute last_message_at
|
|
26
|
-
#
|
|
26
|
+
# The timestamp of the most recent message in this conversation. Null if no
|
|
27
|
+
# messages have been sent yet.
|
|
27
28
|
#
|
|
28
29
|
# @return [Time, nil]
|
|
29
30
|
required :last_message_at, Time, nil?: true
|
|
30
31
|
|
|
31
32
|
# @!attribute message_count
|
|
32
|
-
# The number of messages in
|
|
33
|
+
# The total number of messages exchanged in this conversation.
|
|
33
34
|
#
|
|
34
35
|
# @return [Integer]
|
|
35
36
|
required :message_count, Integer
|
|
36
37
|
|
|
37
38
|
# @!attribute title
|
|
38
|
-
#
|
|
39
|
+
# A short descriptive title for this AI chat conversation. Null if no title has
|
|
40
|
+
# been set.
|
|
39
41
|
#
|
|
40
42
|
# @return [String, nil]
|
|
41
43
|
required :title, String, nil?: true
|
|
@@ -47,29 +49,33 @@ module WhopSDK
|
|
|
47
49
|
required :updated_at, Time
|
|
48
50
|
|
|
49
51
|
# @!attribute user
|
|
50
|
-
# The user who owns
|
|
52
|
+
# The user who owns this AI chat conversation.
|
|
51
53
|
#
|
|
52
54
|
# @return [WhopSDK::Models::AIChat::User]
|
|
53
55
|
required :user, -> { WhopSDK::AIChat::User }
|
|
54
56
|
|
|
55
57
|
# @!method initialize(id:, blended_token_usage:, created_at:, last_message_at:, message_count:, title:, updated_at:, user:)
|
|
56
|
-
#
|
|
58
|
+
# Some parameter documentations has been truncated, see {WhopSDK::Models::AIChat}
|
|
59
|
+
# for more details.
|
|
60
|
+
#
|
|
61
|
+
# An AI-powered chat conversation belonging to a user, with optional scheduled
|
|
62
|
+
# automation.
|
|
57
63
|
#
|
|
58
64
|
# @param id [String] The unique identifier for the ai chat.
|
|
59
65
|
#
|
|
60
|
-
# @param blended_token_usage [String] The total number of tokens
|
|
66
|
+
# @param blended_token_usage [String] The total number of tokens consumed across all messages in this conversation.
|
|
61
67
|
#
|
|
62
68
|
# @param created_at [Time] The datetime the ai chat was created.
|
|
63
69
|
#
|
|
64
|
-
# @param last_message_at [Time, nil]
|
|
70
|
+
# @param last_message_at [Time, nil] The timestamp of the most recent message in this conversation. Null if no messag
|
|
65
71
|
#
|
|
66
|
-
# @param message_count [Integer] The number of messages in
|
|
72
|
+
# @param message_count [Integer] The total number of messages exchanged in this conversation.
|
|
67
73
|
#
|
|
68
|
-
# @param title [String, nil]
|
|
74
|
+
# @param title [String, nil] A short descriptive title for this AI chat conversation. Null if no title has be
|
|
69
75
|
#
|
|
70
76
|
# @param updated_at [Time] The datetime the ai chat was last updated.
|
|
71
77
|
#
|
|
72
|
-
# @param user [WhopSDK::Models::AIChat::User] The user who owns
|
|
78
|
+
# @param user [WhopSDK::Models::AIChat::User] The user who owns this AI chat conversation.
|
|
73
79
|
|
|
74
80
|
# @see WhopSDK::Models::AIChat#user
|
|
75
81
|
class User < WhopSDK::Internal::Type::BaseModel
|
|
@@ -80,7 +86,7 @@ module WhopSDK
|
|
|
80
86
|
required :id, String
|
|
81
87
|
|
|
82
88
|
# @!method initialize(id:)
|
|
83
|
-
# The user who owns
|
|
89
|
+
# The user who owns this AI chat conversation.
|
|
84
90
|
#
|
|
85
91
|
# @param id [String] The unique identifier for the user.
|
|
86
92
|
end
|
|
@@ -8,43 +8,52 @@ module WhopSDK
|
|
|
8
8
|
include WhopSDK::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute message_text
|
|
11
|
-
# The text content of the first message
|
|
11
|
+
# The text content of the first message to send to the AI agent.
|
|
12
12
|
#
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :message_text, String
|
|
15
15
|
|
|
16
16
|
# @!attribute current_company_id
|
|
17
|
-
# The
|
|
17
|
+
# The unique identifier of the company to set as context for the AI chat (e.g.,
|
|
18
|
+
# "biz_XXXXX").
|
|
18
19
|
#
|
|
19
20
|
# @return [String, nil]
|
|
20
21
|
optional :current_company_id, String, nil?: true
|
|
21
22
|
|
|
22
23
|
# @!attribute message_attachments
|
|
23
|
-
#
|
|
24
|
-
#
|
|
24
|
+
# A list of previously uploaded file attachments to include with the first
|
|
25
|
+
# message.
|
|
25
26
|
#
|
|
26
27
|
# @return [Array<WhopSDK::Models::AIChatCreateParams::MessageAttachment>, nil]
|
|
27
28
|
optional :message_attachments,
|
|
28
29
|
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AIChatCreateParams::MessageAttachment] },
|
|
29
30
|
nil?: true
|
|
30
31
|
|
|
32
|
+
# @!attribute message_source
|
|
33
|
+
# The source of an AI chat message
|
|
34
|
+
#
|
|
35
|
+
# @return [Symbol, WhopSDK::Models::AIChatCreateParams::MessageSource, nil]
|
|
36
|
+
optional :message_source, enum: -> { WhopSDK::AIChatCreateParams::MessageSource }, nil?: true
|
|
37
|
+
|
|
31
38
|
# @!attribute title
|
|
32
|
-
#
|
|
39
|
+
# An optional display title for the AI chat thread (e.g., "Help with billing").
|
|
33
40
|
#
|
|
34
41
|
# @return [String, nil]
|
|
35
42
|
optional :title, String, nil?: true
|
|
36
43
|
|
|
37
|
-
# @!method initialize(message_text:, current_company_id: nil, message_attachments: nil, title: nil, request_options: {})
|
|
44
|
+
# @!method initialize(message_text:, current_company_id: nil, message_attachments: nil, message_source: nil, title: nil, request_options: {})
|
|
38
45
|
# Some parameter documentations has been truncated, see
|
|
39
46
|
# {WhopSDK::Models::AIChatCreateParams} for more details.
|
|
40
47
|
#
|
|
41
|
-
# @param message_text [String] The text content of the first message
|
|
48
|
+
# @param message_text [String] The text content of the first message to send to the AI agent.
|
|
42
49
|
#
|
|
43
|
-
# @param current_company_id [String, nil] The
|
|
50
|
+
# @param current_company_id [String, nil] The unique identifier of the company to set as context for the AI chat (e.g., "b
|
|
44
51
|
#
|
|
45
|
-
# @param message_attachments [Array<WhopSDK::Models::AIChatCreateParams::MessageAttachment>, nil]
|
|
52
|
+
# @param message_attachments [Array<WhopSDK::Models::AIChatCreateParams::MessageAttachment>, nil] A list of previously uploaded file attachments to include with the first message
|
|
46
53
|
#
|
|
47
|
-
# @param
|
|
54
|
+
# @param message_source [Symbol, WhopSDK::Models::AIChatCreateParams::MessageSource, nil] The source of an AI chat message
|
|
55
|
+
#
|
|
56
|
+
# @param title [String, nil] An optional display title for the AI chat thread (e.g., "Help with billing").
|
|
48
57
|
#
|
|
49
58
|
# @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
|
|
50
59
|
|
|
@@ -60,6 +69,18 @@ module WhopSDK
|
|
|
60
69
|
#
|
|
61
70
|
# @param id [String] The ID of an existing file object.
|
|
62
71
|
end
|
|
72
|
+
|
|
73
|
+
# The source of an AI chat message
|
|
74
|
+
module MessageSource
|
|
75
|
+
extend WhopSDK::Internal::Type::Enum
|
|
76
|
+
|
|
77
|
+
MANUAL = :manual
|
|
78
|
+
SUGGESTION = :suggestion
|
|
79
|
+
LINK = :link
|
|
80
|
+
|
|
81
|
+
# @!method self.values
|
|
82
|
+
# @return [Array<Symbol>]
|
|
83
|
+
end
|
|
63
84
|
end
|
|
64
85
|
end
|
|
65
86
|
end
|
|
@@ -11,7 +11,7 @@ module WhopSDK
|
|
|
11
11
|
required :id, String
|
|
12
12
|
|
|
13
13
|
# @!attribute blended_token_usage
|
|
14
|
-
# The total number of tokens
|
|
14
|
+
# The total number of tokens consumed across all messages in this conversation.
|
|
15
15
|
#
|
|
16
16
|
# @return [String]
|
|
17
17
|
required :blended_token_usage, String
|
|
@@ -23,19 +23,21 @@ module WhopSDK
|
|
|
23
23
|
required :created_at, Time
|
|
24
24
|
|
|
25
25
|
# @!attribute last_message_at
|
|
26
|
-
#
|
|
26
|
+
# The timestamp of the most recent message in this conversation. Null if no
|
|
27
|
+
# messages have been sent yet.
|
|
27
28
|
#
|
|
28
29
|
# @return [Time, nil]
|
|
29
30
|
required :last_message_at, Time, nil?: true
|
|
30
31
|
|
|
31
32
|
# @!attribute message_count
|
|
32
|
-
# The number of messages in
|
|
33
|
+
# The total number of messages exchanged in this conversation.
|
|
33
34
|
#
|
|
34
35
|
# @return [Integer]
|
|
35
36
|
required :message_count, Integer
|
|
36
37
|
|
|
37
38
|
# @!attribute title
|
|
38
|
-
#
|
|
39
|
+
# A short descriptive title for this AI chat conversation. Null if no title has
|
|
40
|
+
# been set.
|
|
39
41
|
#
|
|
40
42
|
# @return [String, nil]
|
|
41
43
|
required :title, String, nil?: true
|
|
@@ -47,29 +49,33 @@ module WhopSDK
|
|
|
47
49
|
required :updated_at, Time
|
|
48
50
|
|
|
49
51
|
# @!attribute user
|
|
50
|
-
# The user who owns
|
|
52
|
+
# The user who owns this AI chat conversation.
|
|
51
53
|
#
|
|
52
54
|
# @return [WhopSDK::Models::AIChatListResponse::User]
|
|
53
55
|
required :user, -> { WhopSDK::Models::AIChatListResponse::User }
|
|
54
56
|
|
|
55
57
|
# @!method initialize(id:, blended_token_usage:, created_at:, last_message_at:, message_count:, title:, updated_at:, user:)
|
|
56
|
-
#
|
|
58
|
+
# Some parameter documentations has been truncated, see
|
|
59
|
+
# {WhopSDK::Models::AIChatListResponse} for more details.
|
|
60
|
+
#
|
|
61
|
+
# An AI-powered chat conversation belonging to a user, with optional scheduled
|
|
62
|
+
# automation.
|
|
57
63
|
#
|
|
58
64
|
# @param id [String] The unique identifier for the ai chat.
|
|
59
65
|
#
|
|
60
|
-
# @param blended_token_usage [String] The total number of tokens
|
|
66
|
+
# @param blended_token_usage [String] The total number of tokens consumed across all messages in this conversation.
|
|
61
67
|
#
|
|
62
68
|
# @param created_at [Time] The datetime the ai chat was created.
|
|
63
69
|
#
|
|
64
|
-
# @param last_message_at [Time, nil]
|
|
70
|
+
# @param last_message_at [Time, nil] The timestamp of the most recent message in this conversation. Null if no messag
|
|
65
71
|
#
|
|
66
|
-
# @param message_count [Integer] The number of messages in
|
|
72
|
+
# @param message_count [Integer] The total number of messages exchanged in this conversation.
|
|
67
73
|
#
|
|
68
|
-
# @param title [String, nil]
|
|
74
|
+
# @param title [String, nil] A short descriptive title for this AI chat conversation. Null if no title has be
|
|
69
75
|
#
|
|
70
76
|
# @param updated_at [Time] The datetime the ai chat was last updated.
|
|
71
77
|
#
|
|
72
|
-
# @param user [WhopSDK::Models::AIChatListResponse::User] The user who owns
|
|
78
|
+
# @param user [WhopSDK::Models::AIChatListResponse::User] The user who owns this AI chat conversation.
|
|
73
79
|
|
|
74
80
|
# @see WhopSDK::Models::AIChatListResponse#user
|
|
75
81
|
class User < WhopSDK::Internal::Type::BaseModel
|
|
@@ -80,7 +86,7 @@ module WhopSDK
|
|
|
80
86
|
required :id, String
|
|
81
87
|
|
|
82
88
|
# @!method initialize(id:)
|
|
83
|
-
# The user who owns
|
|
89
|
+
# The user who owns this AI chat conversation.
|
|
84
90
|
#
|
|
85
91
|
# @param id [String] The unique identifier for the user.
|
|
86
92
|
end
|
|
@@ -8,21 +8,25 @@ module WhopSDK
|
|
|
8
8
|
include WhopSDK::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute current_company_id
|
|
11
|
-
# The
|
|
11
|
+
# The unique identifier of the company to set as context for the AI chat (e.g.,
|
|
12
|
+
# "biz_XXXXX").
|
|
12
13
|
#
|
|
13
14
|
# @return [String, nil]
|
|
14
15
|
optional :current_company_id, String, nil?: true
|
|
15
16
|
|
|
16
17
|
# @!attribute title
|
|
17
|
-
# The new title for the AI chat
|
|
18
|
+
# The new display title for the AI chat thread (e.g., "Help with billing").
|
|
18
19
|
#
|
|
19
20
|
# @return [String, nil]
|
|
20
21
|
optional :title, String, nil?: true
|
|
21
22
|
|
|
22
23
|
# @!method initialize(current_company_id: nil, title: nil, request_options: {})
|
|
23
|
-
#
|
|
24
|
+
# Some parameter documentations has been truncated, see
|
|
25
|
+
# {WhopSDK::Models::AIChatUpdateParams} for more details.
|
|
24
26
|
#
|
|
25
|
-
# @param
|
|
27
|
+
# @param current_company_id [String, nil] The unique identifier of the company to set as context for the AI chat (e.g., "b
|
|
28
|
+
#
|
|
29
|
+
# @param title [String, nil] The new display title for the AI chat thread (e.g., "Help with billing").
|
|
26
30
|
#
|
|
27
31
|
# @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
|
|
28
32
|
end
|