whop_sdk 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +1 -1
- data/lib/whop_sdk/client.rb +4 -0
- data/lib/whop_sdk/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/whop_sdk/models/{ai_chat_create_response.rb → ai_chat.rb} +5 -5
- data/lib/whop_sdk/models/api_version.rb +17 -0
- data/lib/whop_sdk/models/authorized_user_list_params.rb +9 -9
- data/lib/whop_sdk/models/authorized_user_list_response.rb +31 -1
- data/lib/whop_sdk/models/authorized_user_retrieve_response.rb +31 -1
- data/lib/whop_sdk/models/bot_token_transaction_types.rb +17 -0
- data/lib/whop_sdk/models/cancel_options.rb +22 -0
- data/lib/whop_sdk/models/{company_token_transaction_create_response.rb → company_token_transaction.rb} +16 -31
- data/lib/whop_sdk/models/company_token_transaction_list_params.rb +3 -17
- data/lib/whop_sdk/models/company_token_transaction_list_response.rb +3 -18
- data/lib/whop_sdk/models/dm_channel.rb +43 -0
- data/lib/whop_sdk/models/dm_channel_create_params.rb +38 -0
- data/lib/whop_sdk/models/dm_channel_delete_params.rb +14 -0
- data/lib/whop_sdk/models/dm_channel_delete_response.rb +8 -0
- data/lib/whop_sdk/models/dm_channel_list_params.rb +54 -0
- data/lib/whop_sdk/models/dm_channel_list_response.rb +43 -0
- data/lib/whop_sdk/models/dm_channel_retrieve_params.rb +14 -0
- data/lib/whop_sdk/models/dm_channel_update_params.rb +22 -0
- data/lib/whop_sdk/models/dm_feed_member_notification_preferences.rb +17 -0
- data/lib/whop_sdk/models/dm_feed_member_statuses.rb +19 -0
- data/lib/whop_sdk/models/{dm_member_create_response.rb → dm_member.rb} +8 -39
- data/lib/whop_sdk/models/dm_member_list_response.rb +3 -19
- data/lib/whop_sdk/models/dm_member_update_params.rb +6 -34
- data/lib/whop_sdk/models/file_create_response.rb +3 -18
- data/lib/whop_sdk/models/file_retrieve_response.rb +3 -18
- data/lib/whop_sdk/models/{lead_create_response.rb → lead.rb} +13 -13
- data/lib/whop_sdk/models/ledger_account_retrieve_response.rb +6 -63
- data/lib/whop_sdk/models/member_list_params.rb +9 -9
- data/lib/whop_sdk/models/membership.rb +3 -22
- data/lib/whop_sdk/models/membership_list_params.rb +3 -20
- data/lib/whop_sdk/models/membership_list_response.rb +3 -22
- data/lib/whop_sdk/models/payment.rb +63 -1
- data/lib/whop_sdk/models/payment_list_response.rb +63 -1
- data/lib/whop_sdk/models/payout_destination_category.rb +20 -0
- data/lib/whop_sdk/models/payout_method_created_webhook_event.rb +3 -20
- data/lib/whop_sdk/models/payout_method_list_response.rb +3 -20
- data/lib/whop_sdk/models/payout_method_retrieve_response.rb +3 -20
- data/lib/whop_sdk/models/upload_status.rb +18 -0
- data/lib/whop_sdk/models/verification_error_code.rb +33 -0
- data/lib/whop_sdk/models/verification_retrieve_response.rb +6 -62
- data/lib/whop_sdk/models/verification_status.rb +27 -0
- data/lib/whop_sdk/models/verification_succeeded_webhook_event.rb +6 -62
- data/lib/whop_sdk/models/webhook.rb +88 -0
- data/lib/whop_sdk/models/webhook_create_params.rb +6 -56
- data/lib/whop_sdk/models/webhook_create_response.rb +9 -97
- data/lib/whop_sdk/models/webhook_event.rb +41 -0
- data/lib/whop_sdk/models/webhook_list_response.rb +6 -57
- data/lib/whop_sdk/models/webhook_update_params.rb +6 -56
- data/lib/whop_sdk/models/{withdrawal_create_response.rb → withdrawal.rb} +15 -15
- data/lib/whop_sdk/models/withdrawal_created_webhook_event.rb +3 -267
- data/lib/whop_sdk/models/withdrawal_updated_webhook_event.rb +3 -267
- data/lib/whop_sdk/models.rb +44 -0
- data/lib/whop_sdk/resources/ai_chats.rb +6 -6
- data/lib/whop_sdk/resources/authorized_users.rb +4 -4
- data/lib/whop_sdk/resources/company_token_transactions.rb +5 -5
- data/lib/whop_sdk/resources/dm_channels.rb +151 -0
- data/lib/whop_sdk/resources/dm_members.rb +8 -8
- data/lib/whop_sdk/resources/leads.rb +6 -12
- data/lib/whop_sdk/resources/members.rb +4 -4
- data/lib/whop_sdk/resources/memberships.rb +1 -1
- data/lib/whop_sdk/resources/webhooks.rb +8 -8
- data/lib/whop_sdk/resources/withdrawals.rb +4 -4
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +25 -15
- data/rbi/whop_sdk/client.rbi +3 -0
- data/rbi/whop_sdk/models/{ai_chat_update_response.rbi → ai_chat.rbi} +7 -17
- data/rbi/whop_sdk/models/api_version.rbi +21 -0
- data/rbi/whop_sdk/models/authorized_user_list_params.rbi +8 -8
- data/rbi/whop_sdk/models/authorized_user_list_response.rbi +47 -0
- data/rbi/whop_sdk/models/authorized_user_retrieve_response.rbi +49 -0
- data/rbi/whop_sdk/models/bot_token_transaction_types.rbi +28 -0
- data/rbi/whop_sdk/models/cancel_options.rbi +30 -0
- data/rbi/whop_sdk/models/{company_token_transaction_create_response.rbi → company_token_transaction.rbi} +20 -91
- data/rbi/whop_sdk/models/company_token_transaction_list_params.rbi +3 -53
- data/rbi/whop_sdk/models/company_token_transaction_list_response.rbi +3 -49
- data/rbi/whop_sdk/models/dm_channel.rbi +60 -0
- data/rbi/whop_sdk/models/dm_channel_create_params.rbi +59 -0
- data/rbi/whop_sdk/models/dm_channel_delete_params.rbi +27 -0
- data/rbi/whop_sdk/models/dm_channel_delete_response.rbi +8 -0
- data/rbi/whop_sdk/models/dm_channel_list_params.rbi +75 -0
- data/rbi/whop_sdk/models/dm_channel_list_response.rbi +65 -0
- data/rbi/whop_sdk/models/dm_channel_retrieve_params.rbi +27 -0
- data/rbi/whop_sdk/models/dm_channel_update_params.rbi +43 -0
- data/rbi/whop_sdk/models/dm_feed_member_notification_preferences.rbi +34 -0
- data/rbi/whop_sdk/models/dm_feed_member_statuses.rbi +26 -0
- data/rbi/whop_sdk/models/dm_member.rbi +82 -0
- data/rbi/whop_sdk/models/dm_member_list_response.rbi +3 -52
- data/rbi/whop_sdk/models/dm_member_update_params.rbi +6 -79
- data/rbi/whop_sdk/models/file_create_response.rbi +3 -49
- data/rbi/whop_sdk/models/file_retrieve_response.rbi +3 -51
- data/rbi/whop_sdk/models/{lead_update_response.rbi → lead.rbi} +17 -42
- data/rbi/whop_sdk/models/ledger_account_retrieve_response.rbi +6 -230
- data/rbi/whop_sdk/models/member_list_params.rbi +8 -8
- data/rbi/whop_sdk/models/membership.rbi +3 -47
- data/rbi/whop_sdk/models/membership_list_params.rbi +3 -70
- data/rbi/whop_sdk/models/membership_list_response.rbi +3 -73
- data/rbi/whop_sdk/models/payment.rbi +88 -0
- data/rbi/whop_sdk/models/payment_list_response.rbi +100 -0
- data/rbi/whop_sdk/models/payout_destination_category.rbi +33 -0
- data/rbi/whop_sdk/models/payout_method_created_webhook_event.rbi +3 -64
- data/rbi/whop_sdk/models/payout_method_list_response.rbi +3 -64
- data/rbi/whop_sdk/models/payout_method_retrieve_response.rbi +3 -64
- data/rbi/whop_sdk/models/upload_status.rbi +22 -0
- data/rbi/whop_sdk/models/verification_error_code.rbi +101 -0
- data/rbi/whop_sdk/models/verification_retrieve_response.rbi +6 -230
- data/rbi/whop_sdk/models/verification_status.rbi +38 -0
- data/rbi/whop_sdk/models/verification_succeeded_webhook_event.rbi +6 -232
- data/rbi/whop_sdk/models/webhook.rbi +104 -0
- data/rbi/whop_sdk/models/webhook_create_params.rbi +6 -194
- data/rbi/whop_sdk/models/webhook_create_response.rbi +9 -386
- data/rbi/whop_sdk/models/webhook_event.rbi +79 -0
- data/rbi/whop_sdk/models/webhook_list_response.rbi +6 -210
- data/rbi/whop_sdk/models/webhook_update_params.rbi +6 -194
- data/rbi/whop_sdk/models/{withdrawal_create_response.rbi → withdrawal.rbi} +63 -127
- data/rbi/whop_sdk/models/withdrawal_created_webhook_event.rbi +4 -571
- data/rbi/whop_sdk/models/withdrawal_updated_webhook_event.rbi +4 -571
- data/rbi/whop_sdk/models.rbi +45 -0
- data/rbi/whop_sdk/resources/ai_chats.rbi +3 -3
- data/rbi/whop_sdk/resources/authorized_users.rbi +3 -3
- data/rbi/whop_sdk/resources/company_token_transactions.rbi +3 -5
- data/rbi/whop_sdk/resources/dm_channels.rbi +121 -0
- data/rbi/whop_sdk/resources/dm_members.rbi +5 -7
- data/rbi/whop_sdk/resources/leads.rbi +3 -3
- data/rbi/whop_sdk/resources/members.rbi +3 -3
- data/rbi/whop_sdk/resources/memberships.rbi +1 -4
- data/rbi/whop_sdk/resources/webhooks.rbi +6 -10
- data/rbi/whop_sdk/resources/withdrawals.rbi +2 -2
- data/sig/whop_sdk/client.rbs +2 -0
- data/sig/whop_sdk/models/{ai_chat_update_response.rbs → ai_chat.rbs} +6 -6
- data/sig/whop_sdk/models/api_version.rbs +15 -0
- data/sig/whop_sdk/models/authorized_user_list_params.rbs +5 -5
- data/sig/whop_sdk/models/authorized_user_list_response.rbs +17 -0
- data/sig/whop_sdk/models/authorized_user_retrieve_response.rbs +17 -0
- data/sig/whop_sdk/models/bot_token_transaction_types.rbs +15 -0
- data/sig/whop_sdk/models/cancel_options.rbs +26 -0
- data/sig/whop_sdk/models/{company_token_transaction_create_response.rbs → company_token_transaction.rbs} +18 -30
- data/sig/whop_sdk/models/company_token_transaction_list_params.rbs +4 -16
- data/sig/whop_sdk/models/company_token_transaction_list_response.rbs +4 -16
- data/sig/whop_sdk/models/dm_channel.rbs +30 -0
- data/sig/whop_sdk/models/dm_channel_create_params.rbs +36 -0
- data/sig/whop_sdk/models/dm_channel_delete_params.rbs +15 -0
- data/sig/whop_sdk/models/dm_channel_delete_response.rbs +5 -0
- data/sig/whop_sdk/models/dm_channel_list_params.rbs +46 -0
- data/sig/whop_sdk/models/dm_channel_list_response.rbs +30 -0
- data/sig/whop_sdk/models/dm_channel_retrieve_params.rbs +15 -0
- data/sig/whop_sdk/models/dm_channel_update_params.rbs +23 -0
- data/sig/whop_sdk/models/dm_feed_member_notification_preferences.rbs +15 -0
- data/sig/whop_sdk/models/dm_feed_member_statuses.rbs +18 -0
- data/sig/whop_sdk/models/dm_member.rbs +45 -0
- data/sig/whop_sdk/models/dm_member_list_response.rbs +4 -18
- data/sig/whop_sdk/models/dm_member_update_params.rbs +8 -34
- data/sig/whop_sdk/models/file_create_response.rbs +4 -17
- data/sig/whop_sdk/models/file_retrieve_response.rbs +4 -17
- data/sig/whop_sdk/models/{lead_update_response.rbs → lead.rbs} +14 -14
- data/sig/whop_sdk/models/ledger_account_retrieve_response.rbs +8 -90
- data/sig/whop_sdk/models/member_list_params.rbs +5 -5
- data/sig/whop_sdk/models/membership.rbs +4 -27
- data/sig/whop_sdk/models/membership_list_params.rbs +4 -27
- data/sig/whop_sdk/models/membership_list_response.rbs +4 -27
- data/sig/whop_sdk/models/payment.rbs +47 -0
- data/sig/whop_sdk/models/payment_list_response.rbs +47 -0
- data/sig/whop_sdk/models/payout_destination_category.rbs +19 -0
- data/sig/whop_sdk/models/payout_method_created_webhook_event.rbs +4 -25
- data/sig/whop_sdk/models/payout_method_list_response.rbs +4 -25
- data/sig/whop_sdk/models/payout_method_retrieve_response.rbs +4 -25
- data/sig/whop_sdk/models/upload_status.rbs +16 -0
- data/sig/whop_sdk/models/verification_error_code.rbs +50 -0
- data/sig/whop_sdk/models/verification_retrieve_response.rbs +8 -90
- data/sig/whop_sdk/models/verification_status.rbs +38 -0
- data/sig/whop_sdk/models/verification_succeeded_webhook_event.rbs +8 -90
- data/sig/whop_sdk/models/webhook.rbs +60 -0
- data/sig/whop_sdk/models/webhook_create_params.rbs +8 -83
- data/sig/whop_sdk/models/webhook_create_response.rbs +12 -150
- data/sig/whop_sdk/models/webhook_event.rbs +66 -0
- data/sig/whop_sdk/models/webhook_list_response.rbs +8 -83
- data/sig/whop_sdk/models/webhook_update_params.rbs +8 -83
- data/sig/whop_sdk/models/{withdrawal_create_response.rbs → withdrawal.rbs} +15 -15
- data/sig/whop_sdk/models/withdrawal_created_webhook_event.rbs +4 -241
- data/sig/whop_sdk/models/withdrawal_updated_webhook_event.rbs +4 -241
- data/sig/whop_sdk/models.rbs +44 -0
- data/sig/whop_sdk/resources/ai_chats.rbs +3 -3
- data/sig/whop_sdk/resources/authorized_users.rbs +1 -1
- data/sig/whop_sdk/resources/company_token_transactions.rbs +3 -3
- data/sig/whop_sdk/resources/dm_channels.rbs +36 -0
- data/sig/whop_sdk/resources/dm_members.rbs +5 -5
- data/sig/whop_sdk/resources/leads.rbs +3 -3
- data/sig/whop_sdk/resources/members.rbs +1 -1
- data/sig/whop_sdk/resources/memberships.rbs +1 -1
- data/sig/whop_sdk/resources/webhooks.rbs +6 -6
- data/sig/whop_sdk/resources/withdrawals.rbs +2 -2
- metadata +77 -47
- data/lib/whop_sdk/models/ai_chat_retrieve_response.rb +0 -89
- data/lib/whop_sdk/models/ai_chat_update_response.rb +0 -89
- data/lib/whop_sdk/models/company_token_transaction_retrieve_response.rb +0 -180
- data/lib/whop_sdk/models/dm_member_retrieve_response.rb +0 -94
- data/lib/whop_sdk/models/dm_member_update_response.rb +0 -94
- data/lib/whop_sdk/models/lead_retrieve_response.rb +0 -149
- data/lib/whop_sdk/models/lead_update_response.rb +0 -149
- data/lib/whop_sdk/models/webhook_retrieve_response.rb +0 -176
- data/lib/whop_sdk/models/webhook_update_response.rb +0 -176
- data/lib/whop_sdk/models/withdrawal_retrieve_response.rb +0 -268
- data/rbi/whop_sdk/models/ai_chat_create_response.rbi +0 -128
- data/rbi/whop_sdk/models/ai_chat_retrieve_response.rbi +0 -128
- data/rbi/whop_sdk/models/company_token_transaction_retrieve_response.rbi +0 -312
- data/rbi/whop_sdk/models/dm_member_create_response.rbi +0 -179
- data/rbi/whop_sdk/models/dm_member_retrieve_response.rbi +0 -179
- data/rbi/whop_sdk/models/dm_member_update_response.rbi +0 -179
- data/rbi/whop_sdk/models/lead_create_response.rbi +0 -234
- data/rbi/whop_sdk/models/lead_retrieve_response.rbi +0 -238
- data/rbi/whop_sdk/models/webhook_retrieve_response.rbi +0 -491
- data/rbi/whop_sdk/models/webhook_update_response.rbi +0 -486
- data/rbi/whop_sdk/models/withdrawal_retrieve_response.rbi +0 -568
- data/sig/whop_sdk/models/ai_chat_create_response.rbs +0 -65
- data/sig/whop_sdk/models/ai_chat_retrieve_response.rbs +0 -65
- data/sig/whop_sdk/models/company_token_transaction_retrieve_response.rbs +0 -115
- data/sig/whop_sdk/models/dm_member_create_response.rbs +0 -71
- data/sig/whop_sdk/models/dm_member_retrieve_response.rbs +0 -71
- data/sig/whop_sdk/models/dm_member_update_response.rbs +0 -71
- data/sig/whop_sdk/models/lead_create_response.rbs +0 -104
- data/sig/whop_sdk/models/lead_retrieve_response.rbs +0 -104
- data/sig/whop_sdk/models/webhook_retrieve_response.rbs +0 -198
- data/sig/whop_sdk/models/webhook_update_response.rbs +0 -198
- data/sig/whop_sdk/models/withdrawal_retrieve_response.rbs +0 -240
|
@@ -3,6 +3,7 @@ module WhopSDK
|
|
|
3
3
|
type authorized_user_retrieve_response =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
company: WhopSDK::Models::AuthorizedUserRetrieveResponse::Company,
|
|
6
7
|
role: WhopSDK::Models::authorized_user_roles,
|
|
7
8
|
user: WhopSDK::Models::AuthorizedUserRetrieveResponse::User
|
|
8
9
|
}
|
|
@@ -10,22 +11,38 @@ module WhopSDK
|
|
|
10
11
|
class AuthorizedUserRetrieveResponse < WhopSDK::Internal::Type::BaseModel
|
|
11
12
|
attr_accessor id: String
|
|
12
13
|
|
|
14
|
+
attr_accessor company: WhopSDK::Models::AuthorizedUserRetrieveResponse::Company
|
|
15
|
+
|
|
13
16
|
attr_accessor role: WhopSDK::Models::authorized_user_roles
|
|
14
17
|
|
|
15
18
|
attr_accessor user: WhopSDK::Models::AuthorizedUserRetrieveResponse::User
|
|
16
19
|
|
|
17
20
|
def initialize: (
|
|
18
21
|
id: String,
|
|
22
|
+
company: WhopSDK::Models::AuthorizedUserRetrieveResponse::Company,
|
|
19
23
|
role: WhopSDK::Models::authorized_user_roles,
|
|
20
24
|
user: WhopSDK::Models::AuthorizedUserRetrieveResponse::User
|
|
21
25
|
) -> void
|
|
22
26
|
|
|
23
27
|
def to_hash: -> {
|
|
24
28
|
id: String,
|
|
29
|
+
company: WhopSDK::Models::AuthorizedUserRetrieveResponse::Company,
|
|
25
30
|
role: WhopSDK::Models::authorized_user_roles,
|
|
26
31
|
user: WhopSDK::Models::AuthorizedUserRetrieveResponse::User
|
|
27
32
|
}
|
|
28
33
|
|
|
34
|
+
type company = { id: String, title: String }
|
|
35
|
+
|
|
36
|
+
class Company < WhopSDK::Internal::Type::BaseModel
|
|
37
|
+
attr_accessor id: String
|
|
38
|
+
|
|
39
|
+
attr_accessor title: String
|
|
40
|
+
|
|
41
|
+
def initialize: (id: String, title: String) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> { id: String, title: String }
|
|
44
|
+
end
|
|
45
|
+
|
|
29
46
|
type user =
|
|
30
47
|
{ id: String, email: String?, name: String?, username: String }
|
|
31
48
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type bot_token_transaction_types = :add | :subtract | :transfer
|
|
4
|
+
|
|
5
|
+
module BotTokenTransactionTypes
|
|
6
|
+
extend WhopSDK::Internal::Type::Enum
|
|
7
|
+
|
|
8
|
+
ADD: :add
|
|
9
|
+
SUBTRACT: :subtract
|
|
10
|
+
TRANSFER: :transfer
|
|
11
|
+
|
|
12
|
+
def self?.values: -> ::Array[WhopSDK::Models::bot_token_transaction_types]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type cancel_options =
|
|
4
|
+
:too_expensive
|
|
5
|
+
| :switching
|
|
6
|
+
| :missing_features
|
|
7
|
+
| :technical_issues
|
|
8
|
+
| :bad_experience
|
|
9
|
+
| :other
|
|
10
|
+
| :testing
|
|
11
|
+
|
|
12
|
+
module CancelOptions
|
|
13
|
+
extend WhopSDK::Internal::Type::Enum
|
|
14
|
+
|
|
15
|
+
TOO_EXPENSIVE: :too_expensive
|
|
16
|
+
SWITCHING: :switching
|
|
17
|
+
MISSING_FEATURES: :missing_features
|
|
18
|
+
TECHNICAL_ISSUES: :technical_issues
|
|
19
|
+
BAD_EXPERIENCE: :bad_experience
|
|
20
|
+
OTHER: :other
|
|
21
|
+
TESTING: :testing
|
|
22
|
+
|
|
23
|
+
def self?.values: -> ::Array[WhopSDK::Models::cancel_options]
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
module WhopSDK
|
|
2
2
|
module Models
|
|
3
|
-
type
|
|
3
|
+
type company_token_transaction =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
amount: Float,
|
|
7
|
-
company: WhopSDK::
|
|
7
|
+
company: WhopSDK::CompanyTokenTransaction::Company,
|
|
8
8
|
created_at: Time,
|
|
9
9
|
description: String?,
|
|
10
10
|
idempotency_key: String?,
|
|
11
11
|
linked_transaction_id: String?,
|
|
12
|
-
member: WhopSDK::
|
|
13
|
-
transaction_type: WhopSDK::Models::
|
|
14
|
-
user: WhopSDK::
|
|
12
|
+
member: WhopSDK::CompanyTokenTransaction::Member,
|
|
13
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types,
|
|
14
|
+
user: WhopSDK::CompanyTokenTransaction::User
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
class
|
|
17
|
+
class CompanyTokenTransaction < WhopSDK::Internal::Type::BaseModel
|
|
18
18
|
attr_accessor id: String
|
|
19
19
|
|
|
20
20
|
attr_accessor amount: Float
|
|
21
21
|
|
|
22
|
-
attr_accessor company: WhopSDK::
|
|
22
|
+
attr_accessor company: WhopSDK::CompanyTokenTransaction::Company
|
|
23
23
|
|
|
24
24
|
attr_accessor created_at: Time
|
|
25
25
|
|
|
@@ -29,36 +29,36 @@ module WhopSDK
|
|
|
29
29
|
|
|
30
30
|
attr_accessor linked_transaction_id: String?
|
|
31
31
|
|
|
32
|
-
attr_accessor member: WhopSDK::
|
|
32
|
+
attr_accessor member: WhopSDK::CompanyTokenTransaction::Member
|
|
33
33
|
|
|
34
|
-
attr_accessor transaction_type: WhopSDK::Models::
|
|
34
|
+
attr_accessor transaction_type: WhopSDK::Models::bot_token_transaction_types
|
|
35
35
|
|
|
36
|
-
attr_accessor user: WhopSDK::
|
|
36
|
+
attr_accessor user: WhopSDK::CompanyTokenTransaction::User
|
|
37
37
|
|
|
38
38
|
def initialize: (
|
|
39
39
|
id: String,
|
|
40
40
|
amount: Float,
|
|
41
|
-
company: WhopSDK::
|
|
41
|
+
company: WhopSDK::CompanyTokenTransaction::Company,
|
|
42
42
|
created_at: Time,
|
|
43
43
|
description: String?,
|
|
44
44
|
idempotency_key: String?,
|
|
45
45
|
linked_transaction_id: String?,
|
|
46
|
-
member: WhopSDK::
|
|
47
|
-
transaction_type: WhopSDK::Models::
|
|
48
|
-
user: WhopSDK::
|
|
46
|
+
member: WhopSDK::CompanyTokenTransaction::Member,
|
|
47
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types,
|
|
48
|
+
user: WhopSDK::CompanyTokenTransaction::User
|
|
49
49
|
) -> void
|
|
50
50
|
|
|
51
51
|
def to_hash: -> {
|
|
52
52
|
id: String,
|
|
53
53
|
amount: Float,
|
|
54
|
-
company: WhopSDK::
|
|
54
|
+
company: WhopSDK::CompanyTokenTransaction::Company,
|
|
55
55
|
created_at: Time,
|
|
56
56
|
description: String?,
|
|
57
57
|
idempotency_key: String?,
|
|
58
58
|
linked_transaction_id: String?,
|
|
59
|
-
member: WhopSDK::
|
|
60
|
-
transaction_type: WhopSDK::Models::
|
|
61
|
-
user: WhopSDK::
|
|
59
|
+
member: WhopSDK::CompanyTokenTransaction::Member,
|
|
60
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types,
|
|
61
|
+
user: WhopSDK::CompanyTokenTransaction::User
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
type company = { id: String, route: String, title: String }
|
|
@@ -85,18 +85,6 @@ module WhopSDK
|
|
|
85
85
|
def to_hash: -> { id: String }
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
type transaction_type = :add | :subtract | :transfer
|
|
89
|
-
|
|
90
|
-
module TransactionType
|
|
91
|
-
extend WhopSDK::Internal::Type::Enum
|
|
92
|
-
|
|
93
|
-
ADD: :add
|
|
94
|
-
SUBTRACT: :subtract
|
|
95
|
-
TRANSFER: :transfer
|
|
96
|
-
|
|
97
|
-
def self?.values: -> ::Array[WhopSDK::Models::CompanyTokenTransactionCreateResponse::transaction_type]
|
|
98
|
-
end
|
|
99
|
-
|
|
100
88
|
type user = { id: String, name: String?, username: String }
|
|
101
89
|
|
|
102
90
|
class User < WhopSDK::Internal::Type::BaseModel
|
|
@@ -7,7 +7,7 @@ module WhopSDK
|
|
|
7
7
|
before: String?,
|
|
8
8
|
first: Integer?,
|
|
9
9
|
last: Integer?,
|
|
10
|
-
transaction_type: WhopSDK::Models::
|
|
10
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types?,
|
|
11
11
|
user_id: String?
|
|
12
12
|
}
|
|
13
13
|
& WhopSDK::Internal::Type::request_parameters
|
|
@@ -26,7 +26,7 @@ module WhopSDK
|
|
|
26
26
|
|
|
27
27
|
attr_accessor last: Integer?
|
|
28
28
|
|
|
29
|
-
attr_accessor transaction_type: WhopSDK::Models::
|
|
29
|
+
attr_accessor transaction_type: WhopSDK::Models::bot_token_transaction_types?
|
|
30
30
|
|
|
31
31
|
attr_accessor user_id: String?
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ module WhopSDK
|
|
|
36
36
|
?before: String?,
|
|
37
37
|
?first: Integer?,
|
|
38
38
|
?last: Integer?,
|
|
39
|
-
?transaction_type: WhopSDK::Models::
|
|
39
|
+
?transaction_type: WhopSDK::Models::bot_token_transaction_types?,
|
|
40
40
|
?user_id: String?,
|
|
41
41
|
?request_options: WhopSDK::request_opts
|
|
42
42
|
) -> void
|
|
@@ -47,22 +47,10 @@ module WhopSDK
|
|
|
47
47
|
before: String?,
|
|
48
48
|
first: Integer?,
|
|
49
49
|
last: Integer?,
|
|
50
|
-
transaction_type: WhopSDK::Models::
|
|
50
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types?,
|
|
51
51
|
user_id: String?,
|
|
52
52
|
request_options: WhopSDK::RequestOptions
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
type transaction_type = :add | :subtract | :transfer
|
|
56
|
-
|
|
57
|
-
module TransactionType
|
|
58
|
-
extend WhopSDK::Internal::Type::Enum
|
|
59
|
-
|
|
60
|
-
ADD: :add
|
|
61
|
-
SUBTRACT: :subtract
|
|
62
|
-
TRANSFER: :transfer
|
|
63
|
-
|
|
64
|
-
def self?.values: -> ::Array[WhopSDK::Models::CompanyTokenTransactionListParams::transaction_type]
|
|
65
|
-
end
|
|
66
54
|
end
|
|
67
55
|
end
|
|
68
56
|
end
|
|
@@ -10,7 +10,7 @@ module WhopSDK
|
|
|
10
10
|
idempotency_key: String?,
|
|
11
11
|
linked_transaction_id: String?,
|
|
12
12
|
member: WhopSDK::Models::CompanyTokenTransactionListResponse::Member,
|
|
13
|
-
transaction_type: WhopSDK::Models::
|
|
13
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types,
|
|
14
14
|
user: WhopSDK::Models::CompanyTokenTransactionListResponse::User
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -31,7 +31,7 @@ module WhopSDK
|
|
|
31
31
|
|
|
32
32
|
attr_accessor member: WhopSDK::Models::CompanyTokenTransactionListResponse::Member
|
|
33
33
|
|
|
34
|
-
attr_accessor transaction_type: WhopSDK::Models::
|
|
34
|
+
attr_accessor transaction_type: WhopSDK::Models::bot_token_transaction_types
|
|
35
35
|
|
|
36
36
|
attr_accessor user: WhopSDK::Models::CompanyTokenTransactionListResponse::User
|
|
37
37
|
|
|
@@ -44,7 +44,7 @@ module WhopSDK
|
|
|
44
44
|
idempotency_key: String?,
|
|
45
45
|
linked_transaction_id: String?,
|
|
46
46
|
member: WhopSDK::Models::CompanyTokenTransactionListResponse::Member,
|
|
47
|
-
transaction_type: WhopSDK::Models::
|
|
47
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types,
|
|
48
48
|
user: WhopSDK::Models::CompanyTokenTransactionListResponse::User
|
|
49
49
|
) -> void
|
|
50
50
|
|
|
@@ -57,7 +57,7 @@ module WhopSDK
|
|
|
57
57
|
idempotency_key: String?,
|
|
58
58
|
linked_transaction_id: String?,
|
|
59
59
|
member: WhopSDK::Models::CompanyTokenTransactionListResponse::Member,
|
|
60
|
-
transaction_type: WhopSDK::Models::
|
|
60
|
+
transaction_type: WhopSDK::Models::bot_token_transaction_types,
|
|
61
61
|
user: WhopSDK::Models::CompanyTokenTransactionListResponse::User
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -85,18 +85,6 @@ module WhopSDK
|
|
|
85
85
|
def to_hash: -> { id: String }
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
type transaction_type = :add | :subtract | :transfer
|
|
89
|
-
|
|
90
|
-
module TransactionType
|
|
91
|
-
extend WhopSDK::Internal::Type::Enum
|
|
92
|
-
|
|
93
|
-
ADD: :add
|
|
94
|
-
SUBTRACT: :subtract
|
|
95
|
-
TRANSFER: :transfer
|
|
96
|
-
|
|
97
|
-
def self?.values: -> ::Array[WhopSDK::Models::CompanyTokenTransactionListResponse::transaction_type]
|
|
98
|
-
end
|
|
99
|
-
|
|
100
88
|
type user = { id: String, name: String?, username: String }
|
|
101
89
|
|
|
102
90
|
class User < WhopSDK::Internal::Type::BaseModel
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_channel =
|
|
4
|
+
{ id: String, created_at: String, last_message_at: Time?, name: String? }
|
|
5
|
+
|
|
6
|
+
class DmChannel < WhopSDK::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor id: String
|
|
8
|
+
|
|
9
|
+
attr_accessor created_at: String
|
|
10
|
+
|
|
11
|
+
attr_accessor last_message_at: Time?
|
|
12
|
+
|
|
13
|
+
attr_accessor name: String?
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
id: String,
|
|
17
|
+
created_at: String,
|
|
18
|
+
last_message_at: Time?,
|
|
19
|
+
name: String?
|
|
20
|
+
) -> void
|
|
21
|
+
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
id: String,
|
|
24
|
+
created_at: String,
|
|
25
|
+
last_message_at: Time?,
|
|
26
|
+
name: String?
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_channel_create_params =
|
|
4
|
+
{
|
|
5
|
+
with_user_ids: ::Array[String],
|
|
6
|
+
company_id: String?,
|
|
7
|
+
custom_name: String?
|
|
8
|
+
}
|
|
9
|
+
& WhopSDK::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class DmChannelCreateParams < WhopSDK::Internal::Type::BaseModel
|
|
12
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_accessor with_user_ids: ::Array[String]
|
|
16
|
+
|
|
17
|
+
attr_accessor company_id: String?
|
|
18
|
+
|
|
19
|
+
attr_accessor custom_name: String?
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
with_user_ids: ::Array[String],
|
|
23
|
+
?company_id: String?,
|
|
24
|
+
?custom_name: String?,
|
|
25
|
+
?request_options: WhopSDK::request_opts
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
with_user_ids: ::Array[String],
|
|
30
|
+
company_id: String?,
|
|
31
|
+
custom_name: String?,
|
|
32
|
+
request_options: WhopSDK::RequestOptions
|
|
33
|
+
}
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_channel_delete_params =
|
|
4
|
+
{ } & WhopSDK::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class DmChannelDeleteParams < WhopSDK::Internal::Type::BaseModel
|
|
7
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: WhopSDK::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: WhopSDK::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_channel_list_params =
|
|
4
|
+
{
|
|
5
|
+
after: String?,
|
|
6
|
+
before: String?,
|
|
7
|
+
company_id: String?,
|
|
8
|
+
first: Integer?,
|
|
9
|
+
last: Integer?
|
|
10
|
+
}
|
|
11
|
+
& WhopSDK::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class DmChannelListParams < WhopSDK::Internal::Type::BaseModel
|
|
14
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_accessor after: String?
|
|
18
|
+
|
|
19
|
+
attr_accessor before: String?
|
|
20
|
+
|
|
21
|
+
attr_accessor company_id: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor first: Integer?
|
|
24
|
+
|
|
25
|
+
attr_accessor last: Integer?
|
|
26
|
+
|
|
27
|
+
def initialize: (
|
|
28
|
+
?after: String?,
|
|
29
|
+
?before: String?,
|
|
30
|
+
?company_id: String?,
|
|
31
|
+
?first: Integer?,
|
|
32
|
+
?last: Integer?,
|
|
33
|
+
?request_options: WhopSDK::request_opts
|
|
34
|
+
) -> void
|
|
35
|
+
|
|
36
|
+
def to_hash: -> {
|
|
37
|
+
after: String?,
|
|
38
|
+
before: String?,
|
|
39
|
+
company_id: String?,
|
|
40
|
+
first: Integer?,
|
|
41
|
+
last: Integer?,
|
|
42
|
+
request_options: WhopSDK::RequestOptions
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_channel_list_response =
|
|
4
|
+
{ id: String, created_at: String, last_message_at: Time?, name: String? }
|
|
5
|
+
|
|
6
|
+
class DmChannelListResponse < WhopSDK::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor id: String
|
|
8
|
+
|
|
9
|
+
attr_accessor created_at: String
|
|
10
|
+
|
|
11
|
+
attr_accessor last_message_at: Time?
|
|
12
|
+
|
|
13
|
+
attr_accessor name: String?
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
id: String,
|
|
17
|
+
created_at: String,
|
|
18
|
+
last_message_at: Time?,
|
|
19
|
+
name: String?
|
|
20
|
+
) -> void
|
|
21
|
+
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
id: String,
|
|
24
|
+
created_at: String,
|
|
25
|
+
last_message_at: Time?,
|
|
26
|
+
name: String?
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_channel_retrieve_params =
|
|
4
|
+
{ } & WhopSDK::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class DmChannelRetrieveParams < WhopSDK::Internal::Type::BaseModel
|
|
7
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: WhopSDK::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: WhopSDK::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_channel_update_params =
|
|
4
|
+
{ custom_name: String? } & WhopSDK::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class DmChannelUpdateParams < WhopSDK::Internal::Type::BaseModel
|
|
7
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
attr_accessor custom_name: String?
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
?custom_name: String?,
|
|
14
|
+
?request_options: WhopSDK::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
custom_name: String?,
|
|
19
|
+
request_options: WhopSDK::RequestOptions
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_feed_member_notification_preferences = :all | :mentions | :none
|
|
4
|
+
|
|
5
|
+
module DmFeedMemberNotificationPreferences
|
|
6
|
+
extend WhopSDK::Internal::Type::Enum
|
|
7
|
+
|
|
8
|
+
ALL: :all
|
|
9
|
+
MENTIONS: :mentions
|
|
10
|
+
NONE: :none
|
|
11
|
+
|
|
12
|
+
def self?.values: -> ::Array[WhopSDK::Models::dm_feed_member_notification_preferences]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_feed_member_statuses =
|
|
4
|
+
:requested | :accepted | :hidden | :closed | :archived
|
|
5
|
+
|
|
6
|
+
module DmFeedMemberStatuses
|
|
7
|
+
extend WhopSDK::Internal::Type::Enum
|
|
8
|
+
|
|
9
|
+
REQUESTED: :requested
|
|
10
|
+
ACCEPTED: :accepted
|
|
11
|
+
HIDDEN: :hidden
|
|
12
|
+
CLOSED: :closed
|
|
13
|
+
ARCHIVED: :archived
|
|
14
|
+
|
|
15
|
+
def self?.values: -> ::Array[WhopSDK::Models::dm_feed_member_statuses]
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type dm_member =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
channel_id: String,
|
|
7
|
+
last_viewed_at: String?,
|
|
8
|
+
notification_preference: WhopSDK::Models::dm_feed_member_notification_preferences,
|
|
9
|
+
status: WhopSDK::Models::dm_feed_member_statuses,
|
|
10
|
+
user_id: String
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class DmMember < WhopSDK::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor id: String
|
|
15
|
+
|
|
16
|
+
attr_accessor channel_id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor last_viewed_at: String?
|
|
19
|
+
|
|
20
|
+
attr_accessor notification_preference: WhopSDK::Models::dm_feed_member_notification_preferences
|
|
21
|
+
|
|
22
|
+
attr_accessor status: WhopSDK::Models::dm_feed_member_statuses
|
|
23
|
+
|
|
24
|
+
attr_accessor user_id: String
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
id: String,
|
|
28
|
+
channel_id: String,
|
|
29
|
+
last_viewed_at: String?,
|
|
30
|
+
notification_preference: WhopSDK::Models::dm_feed_member_notification_preferences,
|
|
31
|
+
status: WhopSDK::Models::dm_feed_member_statuses,
|
|
32
|
+
user_id: String
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
id: String,
|
|
37
|
+
channel_id: String,
|
|
38
|
+
last_viewed_at: String?,
|
|
39
|
+
notification_preference: WhopSDK::Models::dm_feed_member_notification_preferences,
|
|
40
|
+
status: WhopSDK::Models::dm_feed_member_statuses,
|
|
41
|
+
user_id: String
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -5,7 +5,7 @@ module WhopSDK
|
|
|
5
5
|
id: String,
|
|
6
6
|
channel_id: String,
|
|
7
7
|
last_viewed_at: String?,
|
|
8
|
-
status: WhopSDK::Models::
|
|
8
|
+
status: WhopSDK::Models::dm_feed_member_statuses,
|
|
9
9
|
user_id: String
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@ module WhopSDK
|
|
|
16
16
|
|
|
17
17
|
attr_accessor last_viewed_at: String?
|
|
18
18
|
|
|
19
|
-
attr_accessor status: WhopSDK::Models::
|
|
19
|
+
attr_accessor status: WhopSDK::Models::dm_feed_member_statuses
|
|
20
20
|
|
|
21
21
|
attr_accessor user_id: String
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ module WhopSDK
|
|
|
24
24
|
id: String,
|
|
25
25
|
channel_id: String,
|
|
26
26
|
last_viewed_at: String?,
|
|
27
|
-
status: WhopSDK::Models::
|
|
27
|
+
status: WhopSDK::Models::dm_feed_member_statuses,
|
|
28
28
|
user_id: String
|
|
29
29
|
) -> void
|
|
30
30
|
|
|
@@ -32,23 +32,9 @@ module WhopSDK
|
|
|
32
32
|
id: String,
|
|
33
33
|
channel_id: String,
|
|
34
34
|
last_viewed_at: String?,
|
|
35
|
-
status: WhopSDK::Models::
|
|
35
|
+
status: WhopSDK::Models::dm_feed_member_statuses,
|
|
36
36
|
user_id: String
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
type status = :requested | :accepted | :hidden | :closed | :archived
|
|
40
|
-
|
|
41
|
-
module Status
|
|
42
|
-
extend WhopSDK::Internal::Type::Enum
|
|
43
|
-
|
|
44
|
-
REQUESTED: :requested
|
|
45
|
-
ACCEPTED: :accepted
|
|
46
|
-
HIDDEN: :hidden
|
|
47
|
-
CLOSED: :closed
|
|
48
|
-
ARCHIVED: :archived
|
|
49
|
-
|
|
50
|
-
def self?.values: -> ::Array[WhopSDK::Models::DmMemberListResponse::status]
|
|
51
|
-
end
|
|
52
38
|
end
|
|
53
39
|
end
|
|
54
40
|
end
|