solifyn 1.1.2 → 1.1.3
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/README.md +4 -4
- data/lib/solifyn/version.rb +1 -1
- data/spec/api/checkout_api_spec.rb +12 -0
- data/spec/api/developer_api_spec.rb +52 -29
- data/spec/models/checkout_session_details_dto_spec.rb +6 -0
- data/spec/models/collection_product_dto_spec.rb +28 -0
- data/spec/models/order_spec.rb +6 -0
- data/spec/models/product_create_spec.rb +28 -0
- data/spec/models/product_spec.rb +28 -0
- data/spec/models/product_update_spec.rb +28 -0
- metadata +133 -262
- data/LICENSE +0 -202
- data/docs/AffiliateApi.md +0 -845
- data/docs/BillingApi.md +0 -68
- data/docs/BrandsApi.md +0 -286
- data/docs/Business.md +0 -56
- data/docs/BusinessCreate.md +0 -18
- data/docs/BusinessFullCreate.md +0 -26
- data/docs/BusinessFullCreateResponse.md +0 -20
- data/docs/BusinessesApi.md +0 -350
- data/docs/ChatApi.md +0 -246
- data/docs/CommunityApi.md +0 -497
- data/docs/DefaultApi.md +0 -1214
- data/docs/PartnerApi.md +0 -125
- data/docs/PayoutAccessToken.md +0 -20
- data/docs/PayoutAccount.md +0 -22
- data/docs/PayoutAccountLink.md +0 -20
- data/docs/PayoutMethod.md +0 -24
- data/docs/PayoutMethodList.md +0 -18
- data/docs/PayoutVerification.md +0 -24
- data/docs/PayoutVerificationList.md +0 -18
- data/docs/PayoutsApi.md +0 -579
- data/docs/TicketApi.md +0 -318
- data/docs/UserPage.md +0 -26
- data/docs/UserProfileThemesApi.md +0 -345
- data/docs/UserSettings.md +0 -34
- data/docs/UserSettingsUpdate.md +0 -76
- data/docs/UserStats.md +0 -20
- data/docs/UserTheme.md +0 -26
- data/docs/UserThemeUpdate.md +0 -22
- data/docs/WhopApiKeysRotation.md +0 -18
- data/docs/Withdrawal.md +0 -46
- data/docs/WithdrawalCreate.md +0 -22
- data/docs/WithdrawalList.md +0 -20
- data/lib/solifyn/api/affiliate_api.rb +0 -760
- data/lib/solifyn/api/billing_api.rb +0 -77
- data/lib/solifyn/api/brands_api.rb +0 -284
- data/lib/solifyn/api/businesses_api.rb +0 -338
- data/lib/solifyn/api/chat_api.rb +0 -232
- data/lib/solifyn/api/community_api.rb +0 -466
- data/lib/solifyn/api/default_api.rb +0 -1076
- data/lib/solifyn/api/partner_api.rb +0 -124
- data/lib/solifyn/api/payouts_api.rb +0 -520
- data/lib/solifyn/api/ticket_api.rb +0 -328
- data/lib/solifyn/api/user_profile_themes_api.rb +0 -313
- data/lib/solifyn/models/business.rb +0 -482
- data/lib/solifyn/models/business_create.rb +0 -241
- data/lib/solifyn/models/business_full_create.rb +0 -288
- data/lib/solifyn/models/business_full_create_response.rb +0 -239
- data/lib/solifyn/models/payout_access_token.rb +0 -239
- data/lib/solifyn/models/payout_account.rb +0 -249
- data/lib/solifyn/models/payout_account_link.rb +0 -239
- data/lib/solifyn/models/payout_method.rb +0 -266
- data/lib/solifyn/models/payout_method_list.rb +0 -224
- data/lib/solifyn/models/payout_verification.rb +0 -266
- data/lib/solifyn/models/payout_verification_list.rb +0 -224
- data/lib/solifyn/models/user_page.rb +0 -290
- data/lib/solifyn/models/user_settings.rb +0 -337
- data/lib/solifyn/models/user_settings_update.rb +0 -505
- data/lib/solifyn/models/user_stats.rb +0 -241
- data/lib/solifyn/models/user_theme.rb +0 -276
- data/lib/solifyn/models/user_theme_update.rb +0 -235
- data/lib/solifyn/models/whop_api_keys_rotation.rb +0 -222
- data/lib/solifyn/models/withdrawal.rb +0 -411
- data/lib/solifyn/models/withdrawal_create.rb +0 -249
- data/lib/solifyn/models/withdrawal_list.rb +0 -241
- data/spec/api/affiliate_api_spec.rb +0 -165
- data/spec/api/billing_api_spec.rb +0 -46
- data/spec/api/brands_api_spec.rb +0 -83
- data/spec/api/businesses_api_spec.rb +0 -93
- data/spec/api/chat_api_spec.rb +0 -72
- data/spec/api/community_api_spec.rb +0 -113
- data/spec/api/default_api_spec.rb +0 -191
- data/spec/api/partner_api_spec.rb +0 -53
- data/spec/api/payouts_api_spec.rb +0 -133
- data/spec/api/ticket_api_spec.rb +0 -86
- data/spec/api/user_profile_themes_api_spec.rb +0 -91
- data/spec/models/business_create_spec.rb +0 -36
- data/spec/models/business_full_create_response_spec.rb +0 -42
- data/spec/models/business_full_create_spec.rb +0 -60
- data/spec/models/business_spec.rb +0 -150
- data/spec/models/payout_access_token_spec.rb +0 -42
- data/spec/models/payout_account_link_spec.rb +0 -42
- data/spec/models/payout_account_spec.rb +0 -48
- data/spec/models/payout_method_list_spec.rb +0 -36
- data/spec/models/payout_method_spec.rb +0 -54
- data/spec/models/payout_verification_list_spec.rb +0 -36
- data/spec/models/payout_verification_spec.rb +0 -54
- data/spec/models/user_page_spec.rb +0 -60
- data/spec/models/user_settings_spec.rb +0 -84
- data/spec/models/user_settings_update_spec.rb +0 -210
- data/spec/models/user_stats_spec.rb +0 -42
- data/spec/models/user_theme_spec.rb +0 -60
- data/spec/models/user_theme_update_spec.rb +0 -48
- data/spec/models/whop_api_keys_rotation_spec.rb +0 -36
- data/spec/models/withdrawal_create_spec.rb +0 -48
- data/spec/models/withdrawal_list_spec.rb +0 -42
- data/spec/models/withdrawal_spec.rb +0 -120
data/docs/PartnerApi.md
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
# Solifyn::PartnerApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost:8000*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**partner_controller_get_partner_commissions**](PartnerApi.md#partner_controller_get_partner_commissions) | **GET** /v1/partner/commissions | |
|
|
8
|
-
| [**partner_controller_get_partner_stats**](PartnerApi.md#partner_controller_get_partner_stats) | **GET** /v1/partner/stats | |
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## partner_controller_get_partner_commissions
|
|
12
|
-
|
|
13
|
-
> partner_controller_get_partner_commissions
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Examples
|
|
18
|
-
|
|
19
|
-
```ruby
|
|
20
|
-
require 'time'
|
|
21
|
-
require 'solifyn'
|
|
22
|
-
|
|
23
|
-
api_instance = Solifyn::PartnerApi.new
|
|
24
|
-
|
|
25
|
-
begin
|
|
26
|
-
|
|
27
|
-
api_instance.partner_controller_get_partner_commissions
|
|
28
|
-
rescue Solifyn::ApiError => e
|
|
29
|
-
puts "Error when calling PartnerApi->partner_controller_get_partner_commissions: #{e}"
|
|
30
|
-
end
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
#### Using the partner_controller_get_partner_commissions_with_http_info variant
|
|
34
|
-
|
|
35
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
36
|
-
|
|
37
|
-
> <Array(nil, Integer, Hash)> partner_controller_get_partner_commissions_with_http_info
|
|
38
|
-
|
|
39
|
-
```ruby
|
|
40
|
-
begin
|
|
41
|
-
|
|
42
|
-
data, status_code, headers = api_instance.partner_controller_get_partner_commissions_with_http_info
|
|
43
|
-
p status_code # => 2xx
|
|
44
|
-
p headers # => { ... }
|
|
45
|
-
p data # => nil
|
|
46
|
-
rescue Solifyn::ApiError => e
|
|
47
|
-
puts "Error when calling PartnerApi->partner_controller_get_partner_commissions_with_http_info: #{e}"
|
|
48
|
-
end
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Parameters
|
|
52
|
-
|
|
53
|
-
This endpoint does not need any parameter.
|
|
54
|
-
|
|
55
|
-
### Return type
|
|
56
|
-
|
|
57
|
-
nil (empty response body)
|
|
58
|
-
|
|
59
|
-
### Authorization
|
|
60
|
-
|
|
61
|
-
No authorization required
|
|
62
|
-
|
|
63
|
-
### HTTP request headers
|
|
64
|
-
|
|
65
|
-
- **Content-Type**: Not defined
|
|
66
|
-
- **Accept**: Not defined
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## partner_controller_get_partner_stats
|
|
70
|
-
|
|
71
|
-
> partner_controller_get_partner_stats
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
### Examples
|
|
76
|
-
|
|
77
|
-
```ruby
|
|
78
|
-
require 'time'
|
|
79
|
-
require 'solifyn'
|
|
80
|
-
|
|
81
|
-
api_instance = Solifyn::PartnerApi.new
|
|
82
|
-
|
|
83
|
-
begin
|
|
84
|
-
|
|
85
|
-
api_instance.partner_controller_get_partner_stats
|
|
86
|
-
rescue Solifyn::ApiError => e
|
|
87
|
-
puts "Error when calling PartnerApi->partner_controller_get_partner_stats: #{e}"
|
|
88
|
-
end
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
#### Using the partner_controller_get_partner_stats_with_http_info variant
|
|
92
|
-
|
|
93
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
94
|
-
|
|
95
|
-
> <Array(nil, Integer, Hash)> partner_controller_get_partner_stats_with_http_info
|
|
96
|
-
|
|
97
|
-
```ruby
|
|
98
|
-
begin
|
|
99
|
-
|
|
100
|
-
data, status_code, headers = api_instance.partner_controller_get_partner_stats_with_http_info
|
|
101
|
-
p status_code # => 2xx
|
|
102
|
-
p headers # => { ... }
|
|
103
|
-
p data # => nil
|
|
104
|
-
rescue Solifyn::ApiError => e
|
|
105
|
-
puts "Error when calling PartnerApi->partner_controller_get_partner_stats_with_http_info: #{e}"
|
|
106
|
-
end
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### Parameters
|
|
110
|
-
|
|
111
|
-
This endpoint does not need any parameter.
|
|
112
|
-
|
|
113
|
-
### Return type
|
|
114
|
-
|
|
115
|
-
nil (empty response body)
|
|
116
|
-
|
|
117
|
-
### Authorization
|
|
118
|
-
|
|
119
|
-
No authorization required
|
|
120
|
-
|
|
121
|
-
### HTTP request headers
|
|
122
|
-
|
|
123
|
-
- **Content-Type**: Not defined
|
|
124
|
-
- **Accept**: Not defined
|
|
125
|
-
|
data/docs/PayoutAccessToken.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Solifyn::PayoutAccessToken
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **access_token** | **String** | The temporary access token for embed portals | |
|
|
8
|
-
| **expires_at** | **Time** | Expiration timestamp of the access token | |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'solifyn'
|
|
14
|
-
|
|
15
|
-
instance = Solifyn::PayoutAccessToken.new(
|
|
16
|
-
access_token: token_abc123,
|
|
17
|
-
expires_at: 2025-01-01T13:00:00Z
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
data/docs/PayoutAccount.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Solifyn::PayoutAccount
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | The payout account ID | |
|
|
8
|
-
| **status** | **String** | Status of the payout account onboarding | |
|
|
9
|
-
| **capabilities** | **Object** | Onboarding capability status flags (e.g., transfers, payouts) | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'solifyn'
|
|
15
|
-
|
|
16
|
-
instance = Solifyn::PayoutAccount.new(
|
|
17
|
-
id: acct_123,
|
|
18
|
-
status: active,
|
|
19
|
-
capabilities: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/PayoutAccountLink.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Solifyn::PayoutAccountLink
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **url** | **String** | The URL redirecting to the Stripe Express onboarding/portal | |
|
|
8
|
-
| **expires_at** | **Time** | Expiration timestamp of the link | |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'solifyn'
|
|
14
|
-
|
|
15
|
-
instance = Solifyn::PayoutAccountLink.new(
|
|
16
|
-
url: https://connect.stripe.com/express/oauth/authorize...,
|
|
17
|
-
expires_at: 2025-01-01T12:30:00Z
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
data/docs/PayoutMethod.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Solifyn::PayoutMethod
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | The payout method ID | |
|
|
8
|
-
| **type** | **String** | Type of payout method (e.g. bank_account, stripe) | |
|
|
9
|
-
| **status** | **String** | Status of the payout method | |
|
|
10
|
-
| **details** | **Object** | Metadata and details of the bank/card associated | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'solifyn'
|
|
16
|
-
|
|
17
|
-
instance = Solifyn::PayoutMethod.new(
|
|
18
|
-
id: pm_123,
|
|
19
|
-
type: bank_account,
|
|
20
|
-
status: active,
|
|
21
|
-
details: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
data/docs/PayoutMethodList.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Solifyn::PayoutMethodList
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **data** | [**Array<PayoutMethod>**](PayoutMethod.md) | List of payout methods available for the business | |
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'solifyn'
|
|
13
|
-
|
|
14
|
-
instance = Solifyn::PayoutMethodList.new(
|
|
15
|
-
data: null
|
|
16
|
-
)
|
|
17
|
-
```
|
|
18
|
-
|
data/docs/PayoutVerification.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Solifyn::PayoutVerification
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | The verification check ID | |
|
|
8
|
-
| **status** | **String** | Status of verification (pending, verified, rejected) | |
|
|
9
|
-
| **type** | **String** | Verification type (identity, business, address) | |
|
|
10
|
-
| **details** | **Object** | Details and requirements of the verification check | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'solifyn'
|
|
16
|
-
|
|
17
|
-
instance = Solifyn::PayoutVerification.new(
|
|
18
|
-
id: ver_123,
|
|
19
|
-
status: verified,
|
|
20
|
-
type: identity,
|
|
21
|
-
details: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Solifyn::PayoutVerificationList
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **data** | [**Array<PayoutVerification>**](PayoutVerification.md) | List of verifications for the payout account | |
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'solifyn'
|
|
13
|
-
|
|
14
|
-
instance = Solifyn::PayoutVerificationList.new(
|
|
15
|
-
data: null
|
|
16
|
-
)
|
|
17
|
-
```
|
|
18
|
-
|