whop_sdk 0.0.8 → 0.0.9
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 +16 -0
- data/README.md +1 -1
- data/lib/whop_sdk/client.rb +4 -0
- data/lib/whop_sdk/models/account_link_create_params.rb +62 -0
- data/lib/whop_sdk/models/account_link_create_response.rb +28 -0
- data/lib/whop_sdk/models/app_build_list_params.rb +17 -1
- data/lib/whop_sdk/models/app_list_params.rb +1 -0
- data/lib/whop_sdk/models/authorized_user_list_params.rb +17 -1
- data/lib/whop_sdk/models/checkout_configuration_list_params.rb +17 -1
- data/lib/whop_sdk/models/company_list_params.rb +17 -1
- data/lib/whop_sdk/models/dispute_list_params.rb +17 -1
- data/lib/whop_sdk/models/entry_list_params.rb +17 -1
- data/lib/whop_sdk/models/experience_list_params.rb +17 -1
- data/lib/whop_sdk/models/invoice_list_params.rb +17 -1
- data/lib/whop_sdk/models/payment_method_types.rb +1 -0
- data/lib/whop_sdk/models/plan_create_params.rb +3 -21
- data/lib/whop_sdk/models/plan_list_params.rb +17 -1
- data/lib/whop_sdk/models/product_list_params.rb +17 -1
- data/lib/whop_sdk/models/product_update_params.rb +1 -61
- data/lib/whop_sdk/models/promo_code_list_params.rb +17 -1
- data/lib/whop_sdk/models/refund_list_params.rb +17 -1
- data/lib/whop_sdk/models/review_list_params.rb +17 -1
- data/lib/whop_sdk/models/transfer_list_params.rb +17 -1
- data/lib/whop_sdk/models.rb +2 -0
- data/lib/whop_sdk/resources/account_links.rb +47 -0
- data/lib/whop_sdk/resources/app_builds.rb +5 -1
- data/lib/whop_sdk/resources/authorized_users.rb +5 -1
- data/lib/whop_sdk/resources/checkout_configurations.rb +5 -1
- data/lib/whop_sdk/resources/companies.rb +5 -1
- data/lib/whop_sdk/resources/disputes.rb +5 -1
- data/lib/whop_sdk/resources/entries.rb +5 -1
- data/lib/whop_sdk/resources/experiences.rb +5 -1
- data/lib/whop_sdk/resources/invoices.rb +5 -1
- data/lib/whop_sdk/resources/plans.rb +7 -7
- data/lib/whop_sdk/resources/products.rb +6 -4
- data/lib/whop_sdk/resources/promo_codes.rb +5 -1
- data/lib/whop_sdk/resources/refunds.rb +5 -1
- data/lib/whop_sdk/resources/reviews.rb +5 -1
- data/lib/whop_sdk/resources/transfers.rb +5 -1
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +4 -0
- data/manifest.yaml +1 -0
- data/rbi/whop_sdk/client.rbi +3 -0
- data/rbi/whop_sdk/models/account_link_create_params.rbi +101 -0
- data/rbi/whop_sdk/models/account_link_create_response.rbi +38 -0
- data/rbi/whop_sdk/models/app_build_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/app_list_params.rbi +5 -0
- data/rbi/whop_sdk/models/authorized_user_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/checkout_configuration_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/company_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/dispute_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/entry_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/experience_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/invoice_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/payment_method_types.rbi +1 -0
- data/rbi/whop_sdk/models/plan_create_params.rbi +2 -22
- data/rbi/whop_sdk/models/plan_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/product_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/product_update_params.rbi +0 -110
- data/rbi/whop_sdk/models/promo_code_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/refund_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/review_list_params.rbi +16 -0
- data/rbi/whop_sdk/models/transfer_list_params.rbi +16 -0
- data/rbi/whop_sdk/models.rbi +2 -0
- data/rbi/whop_sdk/resources/account_links.rbi +39 -0
- data/rbi/whop_sdk/resources/app_builds.rbi +6 -0
- data/rbi/whop_sdk/resources/authorized_users.rbi +6 -0
- data/rbi/whop_sdk/resources/checkout_configurations.rbi +6 -0
- data/rbi/whop_sdk/resources/companies.rbi +6 -0
- data/rbi/whop_sdk/resources/disputes.rbi +6 -0
- data/rbi/whop_sdk/resources/entries.rbi +6 -0
- data/rbi/whop_sdk/resources/experiences.rbi +6 -0
- data/rbi/whop_sdk/resources/invoices.rbi +6 -0
- data/rbi/whop_sdk/resources/plans.rbi +7 -9
- data/rbi/whop_sdk/resources/products.rbi +6 -9
- data/rbi/whop_sdk/resources/promo_codes.rbi +6 -0
- data/rbi/whop_sdk/resources/refunds.rbi +6 -0
- data/rbi/whop_sdk/resources/reviews.rbi +6 -0
- data/rbi/whop_sdk/resources/transfers.rbi +6 -0
- data/sig/whop_sdk/client.rbs +2 -0
- data/sig/whop_sdk/models/account_link_create_params.rbs +52 -0
- data/sig/whop_sdk/models/account_link_create_response.rbs +15 -0
- data/sig/whop_sdk/models/app_build_list_params.rbs +10 -0
- data/sig/whop_sdk/models/app_list_params.rbs +2 -0
- data/sig/whop_sdk/models/authorized_user_list_params.rbs +10 -0
- data/sig/whop_sdk/models/checkout_configuration_list_params.rbs +10 -0
- data/sig/whop_sdk/models/company_list_params.rbs +10 -0
- data/sig/whop_sdk/models/dispute_list_params.rbs +10 -0
- data/sig/whop_sdk/models/entry_list_params.rbs +10 -0
- data/sig/whop_sdk/models/experience_list_params.rbs +10 -0
- data/sig/whop_sdk/models/invoice_list_params.rbs +10 -0
- data/sig/whop_sdk/models/payment_method_types.rbs +2 -0
- data/sig/whop_sdk/models/plan_create_params.rbs +0 -10
- data/sig/whop_sdk/models/plan_list_params.rbs +10 -0
- data/sig/whop_sdk/models/product_list_params.rbs +10 -0
- data/sig/whop_sdk/models/product_update_params.rbs +0 -36
- data/sig/whop_sdk/models/promo_code_list_params.rbs +10 -0
- data/sig/whop_sdk/models/refund_list_params.rbs +10 -0
- data/sig/whop_sdk/models/review_list_params.rbs +10 -0
- data/sig/whop_sdk/models/transfer_list_params.rbs +10 -0
- data/sig/whop_sdk/models.rbs +2 -0
- data/sig/whop_sdk/resources/account_links.rbs +15 -0
- data/sig/whop_sdk/resources/app_builds.rbs +2 -0
- data/sig/whop_sdk/resources/authorized_users.rbs +2 -0
- data/sig/whop_sdk/resources/checkout_configurations.rbs +2 -0
- data/sig/whop_sdk/resources/companies.rbs +2 -0
- data/sig/whop_sdk/resources/disputes.rbs +2 -0
- data/sig/whop_sdk/resources/entries.rbs +2 -0
- data/sig/whop_sdk/resources/experiences.rbs +2 -0
- data/sig/whop_sdk/resources/invoices.rbs +2 -0
- data/sig/whop_sdk/resources/plans.rbs +2 -2
- data/sig/whop_sdk/resources/products.rbs +2 -1
- data/sig/whop_sdk/resources/promo_codes.rbs +2 -0
- data/sig/whop_sdk/resources/refunds.rbs +2 -0
- data/sig/whop_sdk/resources/reviews.rbs +2 -0
- data/sig/whop_sdk/resources/transfers.rbs +2 -0
- metadata +11 -2
|
@@ -97,6 +97,8 @@ module WhopSDK
|
|
|
97
97
|
company_id: String,
|
|
98
98
|
after: T.nilable(String),
|
|
99
99
|
before: T.nilable(String),
|
|
100
|
+
created_after: T.nilable(Time),
|
|
101
|
+
created_before: T.nilable(Time),
|
|
100
102
|
first: T.nilable(Integer),
|
|
101
103
|
last: T.nilable(Integer),
|
|
102
104
|
plan_ids: T.nilable(T::Array[String]),
|
|
@@ -114,6 +116,10 @@ module WhopSDK
|
|
|
114
116
|
after: nil,
|
|
115
117
|
# Returns the elements in the list that come before the specified cursor.
|
|
116
118
|
before: nil,
|
|
119
|
+
# The minimum creation date to filter by
|
|
120
|
+
created_after: nil,
|
|
121
|
+
# The maximum creation date to filter by
|
|
122
|
+
created_before: nil,
|
|
117
123
|
# Returns the first _n_ elements from the list.
|
|
118
124
|
first: nil,
|
|
119
125
|
# Returns the last _n_ elements from the list.
|
|
@@ -34,6 +34,8 @@ module WhopSDK
|
|
|
34
34
|
payment_id: String,
|
|
35
35
|
after: T.nilable(String),
|
|
36
36
|
before: T.nilable(String),
|
|
37
|
+
created_after: T.nilable(Time),
|
|
38
|
+
created_before: T.nilable(Time),
|
|
37
39
|
direction: T.nilable(WhopSDK::Direction::OrSymbol),
|
|
38
40
|
first: T.nilable(Integer),
|
|
39
41
|
last: T.nilable(Integer),
|
|
@@ -49,6 +51,10 @@ module WhopSDK
|
|
|
49
51
|
after: nil,
|
|
50
52
|
# Returns the elements in the list that come before the specified cursor.
|
|
51
53
|
before: nil,
|
|
54
|
+
# The minimum creation date to filter by
|
|
55
|
+
created_after: nil,
|
|
56
|
+
# The maximum creation date to filter by
|
|
57
|
+
created_before: nil,
|
|
52
58
|
# The direction of the sort.
|
|
53
59
|
direction: nil,
|
|
54
60
|
# Returns the first _n_ elements from the list.
|
|
@@ -23,6 +23,8 @@ module WhopSDK
|
|
|
23
23
|
product_id: String,
|
|
24
24
|
after: T.nilable(String),
|
|
25
25
|
before: T.nilable(String),
|
|
26
|
+
created_after: T.nilable(Time),
|
|
27
|
+
created_before: T.nilable(Time),
|
|
26
28
|
first: T.nilable(Integer),
|
|
27
29
|
last: T.nilable(Integer),
|
|
28
30
|
max_stars: T.nilable(Integer),
|
|
@@ -39,6 +41,10 @@ module WhopSDK
|
|
|
39
41
|
after: nil,
|
|
40
42
|
# Returns the elements in the list that come before the specified cursor.
|
|
41
43
|
before: nil,
|
|
44
|
+
# The minimum creation date to filter by
|
|
45
|
+
created_after: nil,
|
|
46
|
+
# The maximum creation date to filter by
|
|
47
|
+
created_before: nil,
|
|
42
48
|
# Returns the first _n_ elements from the list.
|
|
43
49
|
first: nil,
|
|
44
50
|
# Returns the last _n_ elements from the list.
|
|
@@ -68,6 +68,8 @@ module WhopSDK
|
|
|
68
68
|
params(
|
|
69
69
|
after: T.nilable(String),
|
|
70
70
|
before: T.nilable(String),
|
|
71
|
+
created_after: T.nilable(Time),
|
|
72
|
+
created_before: T.nilable(Time),
|
|
71
73
|
destination_id: T.nilable(String),
|
|
72
74
|
direction: T.nilable(WhopSDK::Direction::OrSymbol),
|
|
73
75
|
first: T.nilable(Integer),
|
|
@@ -84,6 +86,10 @@ module WhopSDK
|
|
|
84
86
|
after: nil,
|
|
85
87
|
# Returns the elements in the list that come before the specified cursor.
|
|
86
88
|
before: nil,
|
|
89
|
+
# The minimum creation date to filter by
|
|
90
|
+
created_after: nil,
|
|
91
|
+
# The maximum creation date to filter by
|
|
92
|
+
created_before: nil,
|
|
87
93
|
# Filter transfers to only those that were sent to this destination account.
|
|
88
94
|
# (user_xxx, biz_xxx, ldgr_xxx)
|
|
89
95
|
destination_id: nil,
|
data/sig/whop_sdk/client.rbs
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type account_link_create_params =
|
|
4
|
+
{
|
|
5
|
+
company_id: String,
|
|
6
|
+
refresh_url: String,
|
|
7
|
+
return_url: String,
|
|
8
|
+
use_case: WhopSDK::Models::AccountLinkCreateParams::use_case
|
|
9
|
+
}
|
|
10
|
+
& WhopSDK::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class AccountLinkCreateParams < WhopSDK::Internal::Type::BaseModel
|
|
13
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor company_id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor refresh_url: String
|
|
19
|
+
|
|
20
|
+
attr_accessor return_url: String
|
|
21
|
+
|
|
22
|
+
attr_accessor use_case: WhopSDK::Models::AccountLinkCreateParams::use_case
|
|
23
|
+
|
|
24
|
+
def initialize: (
|
|
25
|
+
company_id: String,
|
|
26
|
+
refresh_url: String,
|
|
27
|
+
return_url: String,
|
|
28
|
+
use_case: WhopSDK::Models::AccountLinkCreateParams::use_case,
|
|
29
|
+
?request_options: WhopSDK::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
company_id: String,
|
|
34
|
+
refresh_url: String,
|
|
35
|
+
return_url: String,
|
|
36
|
+
use_case: WhopSDK::Models::AccountLinkCreateParams::use_case,
|
|
37
|
+
request_options: WhopSDK::RequestOptions
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
type use_case = :account_onboarding | :payouts_portal
|
|
41
|
+
|
|
42
|
+
module UseCase
|
|
43
|
+
extend WhopSDK::Internal::Type::Enum
|
|
44
|
+
|
|
45
|
+
ACCOUNT_ONBOARDING: :account_onboarding
|
|
46
|
+
PAYOUTS_PORTAL: :payouts_portal
|
|
47
|
+
|
|
48
|
+
def self?.values: -> ::Array[WhopSDK::Models::AccountLinkCreateParams::use_case]
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module WhopSDK
|
|
2
|
+
module Models
|
|
3
|
+
type account_link_create_response = { expires_at: Time, url: String }
|
|
4
|
+
|
|
5
|
+
class AccountLinkCreateResponse < WhopSDK::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor expires_at: Time
|
|
7
|
+
|
|
8
|
+
attr_accessor url: String
|
|
9
|
+
|
|
10
|
+
def initialize: (expires_at: Time, url: String) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { expires_at: Time, url: String }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
app_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
first: Integer?,
|
|
9
11
|
last: Integer?,
|
|
10
12
|
platform: WhopSDK::Models::app_build_platforms?,
|
|
@@ -22,6 +24,10 @@ module WhopSDK
|
|
|
22
24
|
|
|
23
25
|
attr_accessor before: String?
|
|
24
26
|
|
|
27
|
+
attr_accessor created_after: Time?
|
|
28
|
+
|
|
29
|
+
attr_accessor created_before: Time?
|
|
30
|
+
|
|
25
31
|
attr_accessor first: Integer?
|
|
26
32
|
|
|
27
33
|
attr_accessor last: Integer?
|
|
@@ -34,6 +40,8 @@ module WhopSDK
|
|
|
34
40
|
app_id: String,
|
|
35
41
|
?after: String?,
|
|
36
42
|
?before: String?,
|
|
43
|
+
?created_after: Time?,
|
|
44
|
+
?created_before: Time?,
|
|
37
45
|
?first: Integer?,
|
|
38
46
|
?last: Integer?,
|
|
39
47
|
?platform: WhopSDK::Models::app_build_platforms?,
|
|
@@ -45,6 +53,8 @@ module WhopSDK
|
|
|
45
53
|
app_id: String,
|
|
46
54
|
after: String?,
|
|
47
55
|
before: String?,
|
|
56
|
+
created_after: Time?,
|
|
57
|
+
created_before: Time?,
|
|
48
58
|
first: Integer?,
|
|
49
59
|
last: Integer?,
|
|
50
60
|
platform: WhopSDK::Models::app_build_platforms?,
|
|
@@ -75,6 +75,7 @@ module WhopSDK
|
|
|
75
75
|
type order =
|
|
76
76
|
:discoverable_at
|
|
77
77
|
| :total_installs_last_30_days
|
|
78
|
+
| :total_installs_last_7_days
|
|
78
79
|
| :time_spent
|
|
79
80
|
| :time_spent_last_24_hours
|
|
80
81
|
| :daily_active_users
|
|
@@ -84,6 +85,7 @@ module WhopSDK
|
|
|
84
85
|
|
|
85
86
|
DISCOVERABLE_AT: :discoverable_at
|
|
86
87
|
TOTAL_INSTALLS_LAST_30_DAYS: :total_installs_last_30_days
|
|
88
|
+
TOTAL_INSTALLS_LAST_7_DAYS: :total_installs_last_7_days
|
|
87
89
|
TIME_SPENT: :time_spent
|
|
88
90
|
TIME_SPENT_LAST_24_HOURS: :time_spent_last_24_hours
|
|
89
91
|
DAILY_ACTIVE_USERS: :daily_active_users
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
company_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
first: Integer?,
|
|
9
11
|
last: Integer?,
|
|
10
12
|
role: WhopSDK::Models::authorized_user_roles?,
|
|
@@ -22,6 +24,10 @@ module WhopSDK
|
|
|
22
24
|
|
|
23
25
|
attr_accessor before: String?
|
|
24
26
|
|
|
27
|
+
attr_accessor created_after: Time?
|
|
28
|
+
|
|
29
|
+
attr_accessor created_before: Time?
|
|
30
|
+
|
|
25
31
|
attr_accessor first: Integer?
|
|
26
32
|
|
|
27
33
|
attr_accessor last: Integer?
|
|
@@ -34,6 +40,8 @@ module WhopSDK
|
|
|
34
40
|
company_id: String,
|
|
35
41
|
?after: String?,
|
|
36
42
|
?before: String?,
|
|
43
|
+
?created_after: Time?,
|
|
44
|
+
?created_before: Time?,
|
|
37
45
|
?first: Integer?,
|
|
38
46
|
?last: Integer?,
|
|
39
47
|
?role: WhopSDK::Models::authorized_user_roles?,
|
|
@@ -45,6 +53,8 @@ module WhopSDK
|
|
|
45
53
|
company_id: String,
|
|
46
54
|
after: String?,
|
|
47
55
|
before: String?,
|
|
56
|
+
created_after: Time?,
|
|
57
|
+
created_before: Time?,
|
|
48
58
|
first: Integer?,
|
|
49
59
|
last: Integer?,
|
|
50
60
|
role: WhopSDK::Models::authorized_user_roles?,
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
company_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
direction: WhopSDK::Models::direction?,
|
|
9
11
|
first: Integer?,
|
|
10
12
|
last: Integer?,
|
|
@@ -22,6 +24,10 @@ module WhopSDK
|
|
|
22
24
|
|
|
23
25
|
attr_accessor before: String?
|
|
24
26
|
|
|
27
|
+
attr_accessor created_after: Time?
|
|
28
|
+
|
|
29
|
+
attr_accessor created_before: Time?
|
|
30
|
+
|
|
25
31
|
attr_accessor direction: WhopSDK::Models::direction?
|
|
26
32
|
|
|
27
33
|
attr_accessor first: Integer?
|
|
@@ -34,6 +40,8 @@ module WhopSDK
|
|
|
34
40
|
company_id: String,
|
|
35
41
|
?after: String?,
|
|
36
42
|
?before: String?,
|
|
43
|
+
?created_after: Time?,
|
|
44
|
+
?created_before: Time?,
|
|
37
45
|
?direction: WhopSDK::Models::direction?,
|
|
38
46
|
?first: Integer?,
|
|
39
47
|
?last: Integer?,
|
|
@@ -45,6 +53,8 @@ module WhopSDK
|
|
|
45
53
|
company_id: String,
|
|
46
54
|
after: String?,
|
|
47
55
|
before: String?,
|
|
56
|
+
created_after: Time?,
|
|
57
|
+
created_before: Time?,
|
|
48
58
|
direction: WhopSDK::Models::direction?,
|
|
49
59
|
first: Integer?,
|
|
50
60
|
last: Integer?,
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
parent_company_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
direction: WhopSDK::Models::direction?,
|
|
9
11
|
first: Integer?,
|
|
10
12
|
last: Integer?
|
|
@@ -21,6 +23,10 @@ module WhopSDK
|
|
|
21
23
|
|
|
22
24
|
attr_accessor before: String?
|
|
23
25
|
|
|
26
|
+
attr_accessor created_after: Time?
|
|
27
|
+
|
|
28
|
+
attr_accessor created_before: Time?
|
|
29
|
+
|
|
24
30
|
attr_accessor direction: WhopSDK::Models::direction?
|
|
25
31
|
|
|
26
32
|
attr_accessor first: Integer?
|
|
@@ -31,6 +37,8 @@ module WhopSDK
|
|
|
31
37
|
parent_company_id: String,
|
|
32
38
|
?after: String?,
|
|
33
39
|
?before: String?,
|
|
40
|
+
?created_after: Time?,
|
|
41
|
+
?created_before: Time?,
|
|
34
42
|
?direction: WhopSDK::Models::direction?,
|
|
35
43
|
?first: Integer?,
|
|
36
44
|
?last: Integer?,
|
|
@@ -41,6 +49,8 @@ module WhopSDK
|
|
|
41
49
|
parent_company_id: String,
|
|
42
50
|
after: String?,
|
|
43
51
|
before: String?,
|
|
52
|
+
created_after: Time?,
|
|
53
|
+
created_before: Time?,
|
|
44
54
|
direction: WhopSDK::Models::direction?,
|
|
45
55
|
first: Integer?,
|
|
46
56
|
last: Integer?,
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
company_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
direction: WhopSDK::Models::direction?,
|
|
9
11
|
first: Integer?,
|
|
10
12
|
last: Integer?
|
|
@@ -21,6 +23,10 @@ module WhopSDK
|
|
|
21
23
|
|
|
22
24
|
attr_accessor before: String?
|
|
23
25
|
|
|
26
|
+
attr_accessor created_after: Time?
|
|
27
|
+
|
|
28
|
+
attr_accessor created_before: Time?
|
|
29
|
+
|
|
24
30
|
attr_accessor direction: WhopSDK::Models::direction?
|
|
25
31
|
|
|
26
32
|
attr_accessor first: Integer?
|
|
@@ -31,6 +37,8 @@ module WhopSDK
|
|
|
31
37
|
company_id: String,
|
|
32
38
|
?after: String?,
|
|
33
39
|
?before: String?,
|
|
40
|
+
?created_after: Time?,
|
|
41
|
+
?created_before: Time?,
|
|
34
42
|
?direction: WhopSDK::Models::direction?,
|
|
35
43
|
?first: Integer?,
|
|
36
44
|
?last: Integer?,
|
|
@@ -41,6 +49,8 @@ module WhopSDK
|
|
|
41
49
|
company_id: String,
|
|
42
50
|
after: String?,
|
|
43
51
|
before: String?,
|
|
52
|
+
created_after: Time?,
|
|
53
|
+
created_before: Time?,
|
|
44
54
|
direction: WhopSDK::Models::direction?,
|
|
45
55
|
first: Integer?,
|
|
46
56
|
last: Integer?,
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
company_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
direction: WhopSDK::Models::direction?,
|
|
9
11
|
first: Integer?,
|
|
10
12
|
last: Integer?,
|
|
@@ -25,6 +27,10 @@ module WhopSDK
|
|
|
25
27
|
|
|
26
28
|
attr_accessor before: String?
|
|
27
29
|
|
|
30
|
+
attr_accessor created_after: Time?
|
|
31
|
+
|
|
32
|
+
attr_accessor created_before: Time?
|
|
33
|
+
|
|
28
34
|
attr_accessor direction: WhopSDK::Models::direction?
|
|
29
35
|
|
|
30
36
|
attr_accessor first: Integer?
|
|
@@ -43,6 +49,8 @@ module WhopSDK
|
|
|
43
49
|
company_id: String,
|
|
44
50
|
?after: String?,
|
|
45
51
|
?before: String?,
|
|
52
|
+
?created_after: Time?,
|
|
53
|
+
?created_before: Time?,
|
|
46
54
|
?direction: WhopSDK::Models::direction?,
|
|
47
55
|
?first: Integer?,
|
|
48
56
|
?last: Integer?,
|
|
@@ -57,6 +65,8 @@ module WhopSDK
|
|
|
57
65
|
company_id: String,
|
|
58
66
|
after: String?,
|
|
59
67
|
before: String?,
|
|
68
|
+
created_after: Time?,
|
|
69
|
+
created_before: Time?,
|
|
60
70
|
direction: WhopSDK::Models::direction?,
|
|
61
71
|
first: Integer?,
|
|
62
72
|
last: Integer?,
|
|
@@ -6,6 +6,8 @@ module WhopSDK
|
|
|
6
6
|
after: String?,
|
|
7
7
|
app_id: String?,
|
|
8
8
|
before: String?,
|
|
9
|
+
created_after: Time?,
|
|
10
|
+
created_before: Time?,
|
|
9
11
|
first: Integer?,
|
|
10
12
|
last: Integer?,
|
|
11
13
|
product_id: String?
|
|
@@ -24,6 +26,10 @@ module WhopSDK
|
|
|
24
26
|
|
|
25
27
|
attr_accessor before: String?
|
|
26
28
|
|
|
29
|
+
attr_accessor created_after: Time?
|
|
30
|
+
|
|
31
|
+
attr_accessor created_before: Time?
|
|
32
|
+
|
|
27
33
|
attr_accessor first: Integer?
|
|
28
34
|
|
|
29
35
|
attr_accessor last: Integer?
|
|
@@ -35,6 +41,8 @@ module WhopSDK
|
|
|
35
41
|
?after: String?,
|
|
36
42
|
?app_id: String?,
|
|
37
43
|
?before: String?,
|
|
44
|
+
?created_after: Time?,
|
|
45
|
+
?created_before: Time?,
|
|
38
46
|
?first: Integer?,
|
|
39
47
|
?last: Integer?,
|
|
40
48
|
?product_id: String?,
|
|
@@ -46,6 +54,8 @@ module WhopSDK
|
|
|
46
54
|
after: String?,
|
|
47
55
|
app_id: String?,
|
|
48
56
|
before: String?,
|
|
57
|
+
created_after: Time?,
|
|
58
|
+
created_before: Time?,
|
|
49
59
|
first: Integer?,
|
|
50
60
|
last: Integer?,
|
|
51
61
|
product_id: String?,
|
|
@@ -6,6 +6,8 @@ module WhopSDK
|
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
8
|
collection_methods: ::Array[WhopSDK::Models::collection_method]?,
|
|
9
|
+
created_after: Time?,
|
|
10
|
+
created_before: Time?,
|
|
9
11
|
direction: WhopSDK::Models::direction?,
|
|
10
12
|
first: Integer?,
|
|
11
13
|
last: Integer?,
|
|
@@ -27,6 +29,10 @@ module WhopSDK
|
|
|
27
29
|
|
|
28
30
|
attr_accessor collection_methods: ::Array[WhopSDK::Models::collection_method]?
|
|
29
31
|
|
|
32
|
+
attr_accessor created_after: Time?
|
|
33
|
+
|
|
34
|
+
attr_accessor created_before: Time?
|
|
35
|
+
|
|
30
36
|
attr_accessor direction: WhopSDK::Models::direction?
|
|
31
37
|
|
|
32
38
|
attr_accessor first: Integer?
|
|
@@ -44,6 +50,8 @@ module WhopSDK
|
|
|
44
50
|
?after: String?,
|
|
45
51
|
?before: String?,
|
|
46
52
|
?collection_methods: ::Array[WhopSDK::Models::collection_method]?,
|
|
53
|
+
?created_after: Time?,
|
|
54
|
+
?created_before: Time?,
|
|
47
55
|
?direction: WhopSDK::Models::direction?,
|
|
48
56
|
?first: Integer?,
|
|
49
57
|
?last: Integer?,
|
|
@@ -58,6 +66,8 @@ module WhopSDK
|
|
|
58
66
|
after: String?,
|
|
59
67
|
before: String?,
|
|
60
68
|
collection_methods: ::Array[WhopSDK::Models::collection_method]?,
|
|
69
|
+
created_after: Time?,
|
|
70
|
+
created_before: Time?,
|
|
61
71
|
direction: WhopSDK::Models::direction?,
|
|
62
72
|
first: Integer?,
|
|
63
73
|
last: Integer?,
|
|
@@ -85,6 +85,7 @@ module WhopSDK
|
|
|
85
85
|
| :splitit
|
|
86
86
|
| :platform_balance
|
|
87
87
|
| :apple
|
|
88
|
+
| :venmo
|
|
88
89
|
| :unknown
|
|
89
90
|
|
|
90
91
|
module PaymentMethodTypes
|
|
@@ -174,6 +175,7 @@ module WhopSDK
|
|
|
174
175
|
SPLITIT: :splitit
|
|
175
176
|
PLATFORM_BALANCE: :platform_balance
|
|
176
177
|
APPLE: :apple
|
|
178
|
+
VENMO: :venmo
|
|
177
179
|
UNKNOWN: :unknown
|
|
178
180
|
|
|
179
181
|
def self?.values: -> ::Array[WhopSDK::Models::payment_method_types]
|
|
@@ -18,8 +18,6 @@ module WhopSDK
|
|
|
18
18
|
release_method: WhopSDK::Models::release_method?,
|
|
19
19
|
renewal_price: Float?,
|
|
20
20
|
stock: Integer?,
|
|
21
|
-
strike_through_initial_price: Float?,
|
|
22
|
-
strike_through_renewal_price: Float?,
|
|
23
21
|
title: String?,
|
|
24
22
|
trial_period_days: Integer?,
|
|
25
23
|
unlimited_stock: bool?,
|
|
@@ -63,10 +61,6 @@ module WhopSDK
|
|
|
63
61
|
|
|
64
62
|
attr_accessor stock: Integer?
|
|
65
63
|
|
|
66
|
-
attr_accessor strike_through_initial_price: Float?
|
|
67
|
-
|
|
68
|
-
attr_accessor strike_through_renewal_price: Float?
|
|
69
|
-
|
|
70
64
|
attr_accessor title: String?
|
|
71
65
|
|
|
72
66
|
attr_accessor trial_period_days: Integer?
|
|
@@ -92,8 +86,6 @@ module WhopSDK
|
|
|
92
86
|
?release_method: WhopSDK::Models::release_method?,
|
|
93
87
|
?renewal_price: Float?,
|
|
94
88
|
?stock: Integer?,
|
|
95
|
-
?strike_through_initial_price: Float?,
|
|
96
|
-
?strike_through_renewal_price: Float?,
|
|
97
89
|
?title: String?,
|
|
98
90
|
?trial_period_days: Integer?,
|
|
99
91
|
?unlimited_stock: bool?,
|
|
@@ -118,8 +110,6 @@ module WhopSDK
|
|
|
118
110
|
release_method: WhopSDK::Models::release_method?,
|
|
119
111
|
renewal_price: Float?,
|
|
120
112
|
stock: Integer?,
|
|
121
|
-
strike_through_initial_price: Float?,
|
|
122
|
-
strike_through_renewal_price: Float?,
|
|
123
113
|
title: String?,
|
|
124
114
|
trial_period_days: Integer?,
|
|
125
115
|
unlimited_stock: bool?,
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
company_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
direction: WhopSDK::Models::direction?,
|
|
9
11
|
first: Integer?,
|
|
10
12
|
last: Integer?,
|
|
@@ -26,6 +28,10 @@ module WhopSDK
|
|
|
26
28
|
|
|
27
29
|
attr_accessor before: String?
|
|
28
30
|
|
|
31
|
+
attr_accessor created_after: Time?
|
|
32
|
+
|
|
33
|
+
attr_accessor created_before: Time?
|
|
34
|
+
|
|
29
35
|
attr_accessor direction: WhopSDK::Models::direction?
|
|
30
36
|
|
|
31
37
|
attr_accessor first: Integer?
|
|
@@ -46,6 +52,8 @@ module WhopSDK
|
|
|
46
52
|
company_id: String,
|
|
47
53
|
?after: String?,
|
|
48
54
|
?before: String?,
|
|
55
|
+
?created_after: Time?,
|
|
56
|
+
?created_before: Time?,
|
|
49
57
|
?direction: WhopSDK::Models::direction?,
|
|
50
58
|
?first: Integer?,
|
|
51
59
|
?last: Integer?,
|
|
@@ -61,6 +69,8 @@ module WhopSDK
|
|
|
61
69
|
company_id: String,
|
|
62
70
|
after: String?,
|
|
63
71
|
before: String?,
|
|
72
|
+
created_after: Time?,
|
|
73
|
+
created_before: Time?,
|
|
64
74
|
direction: WhopSDK::Models::direction?,
|
|
65
75
|
first: Integer?,
|
|
66
76
|
last: Integer?,
|
|
@@ -5,6 +5,8 @@ module WhopSDK
|
|
|
5
5
|
company_id: String,
|
|
6
6
|
after: String?,
|
|
7
7
|
before: String?,
|
|
8
|
+
created_after: Time?,
|
|
9
|
+
created_before: Time?,
|
|
8
10
|
direction: WhopSDK::Models::direction?,
|
|
9
11
|
first: Integer?,
|
|
10
12
|
last: Integer?,
|
|
@@ -24,6 +26,10 @@ module WhopSDK
|
|
|
24
26
|
|
|
25
27
|
attr_accessor before: String?
|
|
26
28
|
|
|
29
|
+
attr_accessor created_after: Time?
|
|
30
|
+
|
|
31
|
+
attr_accessor created_before: Time?
|
|
32
|
+
|
|
27
33
|
attr_accessor direction: WhopSDK::Models::direction?
|
|
28
34
|
|
|
29
35
|
attr_accessor first: Integer?
|
|
@@ -40,6 +46,8 @@ module WhopSDK
|
|
|
40
46
|
company_id: String,
|
|
41
47
|
?after: String?,
|
|
42
48
|
?before: String?,
|
|
49
|
+
?created_after: Time?,
|
|
50
|
+
?created_before: Time?,
|
|
43
51
|
?direction: WhopSDK::Models::direction?,
|
|
44
52
|
?first: Integer?,
|
|
45
53
|
?last: Integer?,
|
|
@@ -53,6 +61,8 @@ module WhopSDK
|
|
|
53
61
|
company_id: String,
|
|
54
62
|
after: String?,
|
|
55
63
|
before: String?,
|
|
64
|
+
created_after: Time?,
|
|
65
|
+
created_before: Time?,
|
|
56
66
|
direction: WhopSDK::Models::direction?,
|
|
57
67
|
first: Integer?,
|
|
58
68
|
last: Integer?,
|
|
@@ -2,7 +2,6 @@ module WhopSDK
|
|
|
2
2
|
module Models
|
|
3
3
|
type product_update_params =
|
|
4
4
|
{
|
|
5
|
-
banner_image: WhopSDK::Models::ProductUpdateParams::banner_image?,
|
|
6
5
|
business_type: WhopSDK::Models::business_types?,
|
|
7
6
|
collect_shipping_address: bool?,
|
|
8
7
|
custom_cta: WhopSDK::Models::custom_cta?,
|
|
@@ -28,8 +27,6 @@ module WhopSDK
|
|
|
28
27
|
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
29
28
|
include WhopSDK::Internal::Type::RequestParameters
|
|
30
29
|
|
|
31
|
-
attr_accessor banner_image: WhopSDK::Models::ProductUpdateParams::banner_image?
|
|
32
|
-
|
|
33
30
|
attr_accessor business_type: WhopSDK::Models::business_types?
|
|
34
31
|
|
|
35
32
|
attr_accessor collect_shipping_address: bool?
|
|
@@ -67,7 +64,6 @@ module WhopSDK
|
|
|
67
64
|
attr_accessor visibility: WhopSDK::Models::visibility?
|
|
68
65
|
|
|
69
66
|
def initialize: (
|
|
70
|
-
?banner_image: WhopSDK::Models::ProductUpdateParams::banner_image?,
|
|
71
67
|
?business_type: WhopSDK::Models::business_types?,
|
|
72
68
|
?collect_shipping_address: bool?,
|
|
73
69
|
?custom_cta: WhopSDK::Models::custom_cta?,
|
|
@@ -90,7 +86,6 @@ module WhopSDK
|
|
|
90
86
|
) -> void
|
|
91
87
|
|
|
92
88
|
def to_hash: -> {
|
|
93
|
-
banner_image: WhopSDK::Models::ProductUpdateParams::banner_image?,
|
|
94
89
|
business_type: WhopSDK::Models::business_types?,
|
|
95
90
|
collect_shipping_address: bool?,
|
|
96
91
|
custom_cta: WhopSDK::Models::custom_cta?,
|
|
@@ -112,37 +107,6 @@ module WhopSDK
|
|
|
112
107
|
request_options: WhopSDK::RequestOptions
|
|
113
108
|
}
|
|
114
109
|
|
|
115
|
-
type banner_image =
|
|
116
|
-
WhopSDK::ProductUpdateParams::BannerImage::AttachmentInputWithDirectUploadID
|
|
117
|
-
| WhopSDK::ProductUpdateParams::BannerImage::AttachmentInputWithID
|
|
118
|
-
|
|
119
|
-
module BannerImage
|
|
120
|
-
extend WhopSDK::Internal::Type::Union
|
|
121
|
-
|
|
122
|
-
type attachment_input_with_direct_upload_id =
|
|
123
|
-
{ direct_upload_id: String }
|
|
124
|
-
|
|
125
|
-
class AttachmentInputWithDirectUploadID < WhopSDK::Internal::Type::BaseModel
|
|
126
|
-
attr_accessor direct_upload_id: String
|
|
127
|
-
|
|
128
|
-
def initialize: (direct_upload_id: String) -> void
|
|
129
|
-
|
|
130
|
-
def to_hash: -> { direct_upload_id: String }
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
type attachment_input_with_id = { id: String }
|
|
134
|
-
|
|
135
|
-
class AttachmentInputWithID < WhopSDK::Internal::Type::BaseModel
|
|
136
|
-
attr_accessor id: String
|
|
137
|
-
|
|
138
|
-
def initialize: (id: String) -> void
|
|
139
|
-
|
|
140
|
-
def to_hash: -> { id: String }
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
def self?.variants: -> ::Array[WhopSDK::Models::ProductUpdateParams::banner_image]
|
|
144
|
-
end
|
|
145
|
-
|
|
146
110
|
type store_page_config = { custom_cta: String?, show_price: bool? }
|
|
147
111
|
|
|
148
112
|
class StorePageConfig < WhopSDK::Internal::Type::BaseModel
|