solifyn 1.0.0 → 1.0.5
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 +20 -7
- data/docs/BalanceApi.md +1 -1
- data/docs/CheckoutApi.md +1 -1
- data/docs/CheckoutLinksApi.md +1 -1
- data/docs/CheckoutSessionDetailsDto.md +3 -1
- data/docs/CollectionProductDto.md +12 -0
- data/docs/CollectionsApi.md +1 -1
- data/docs/CustomersApi.md +1 -1
- data/docs/DefaultApi.md +285 -1
- data/docs/DeveloperApi.md +1 -1
- data/docs/DigitalFileApi.md +1 -1
- data/docs/DiscordIntegrationApi.md +135 -0
- data/docs/DiscordRolesResponseDto.md +24 -0
- data/docs/DiscountsApi.md +1 -1
- data/docs/DisputesApi.md +1 -1
- data/docs/EntitlementGrantResponseDto.md +54 -0
- data/docs/EntitlementGrantsApi.md +289 -0
- data/docs/GitHubIntegrationApi.md +145 -0
- data/docs/GithubReposResponseDto.md +22 -0
- data/docs/LicenseApi.md +1 -1
- data/docs/LicenseKeysApi.md +1 -1
- data/docs/LicenseKeysClientApi.md +1 -1
- data/docs/MetersApi.md +1 -1
- data/docs/OrdersApi.md +1 -1
- data/docs/Product.md +12 -0
- data/docs/ProductAddOnsApi.md +1 -1
- data/docs/ProductCreate.md +12 -0
- data/docs/ProductUpdate.md +12 -0
- data/docs/ProductsApi.md +1 -1
- data/docs/RefundRequestsApi.md +1 -1
- data/docs/RefundsChargebacksApi.md +1 -1
- data/docs/SubscriptionsApi.md +1 -1
- data/docs/SyncLoginDto.md +18 -0
- data/docs/WebhookApi.md +1 -1
- data/docs/WebhookEndpointApi.md +55 -10
- data/docs/WebhookEntitlementGrantPayload.md +44 -0
- data/git_push.sh +2 -2
- data/lib/solifyn/api/default_api.rb +248 -0
- data/lib/solifyn/api/{partner_api.rb → discord_integration_api.rb} +32 -19
- data/lib/solifyn/api/entitlement_grants_api.rb +271 -0
- data/lib/solifyn/api/git_hub_integration_api.rb +137 -0
- data/lib/solifyn/api/webhook_endpoint_api.rb +9 -9
- data/lib/solifyn/configuration.rb +4 -4
- data/lib/solifyn/models/checkout_session_details_dto.rb +16 -4
- data/lib/solifyn/models/collection_product_dto.rb +115 -1
- data/lib/solifyn/models/{payout_method.rb → discord_roles_response_dto.rb} +41 -34
- data/lib/solifyn/models/{withdrawal.rb → entitlement_grant_response_dto.rb} +149 -109
- data/lib/solifyn/models/{payout_account.rb → github_repos_response_dto.rb} +31 -24
- data/lib/solifyn/models/product.rb +115 -1
- data/lib/solifyn/models/product_create.rb +77 -1
- data/lib/solifyn/models/product_update.rb +77 -1
- data/lib/solifyn/models/{payout_method_list.rb → sync_login_dto.rb} +15 -17
- data/lib/solifyn/models/{payout_verification.rb → webhook_entitlement_grant_payload.rb} +118 -41
- data/lib/solifyn/version.rb +1 -1
- data/lib/solifyn.rb +8 -0
- data/spec/api/checkout_api_spec.rb +12 -0
- data/spec/api/default_api_spec.rb +59 -11
- data/spec/api/developer_api_spec.rb +52 -29
- data/spec/api/{partner_api_spec.rb → discord_integration_api_spec.rb} +16 -11
- data/spec/api/entitlement_grants_api_spec.rb +83 -0
- data/spec/api/git_hub_integration_api_spec.rb +58 -0
- data/spec/models/checkout_session_details_dto_spec.rb +6 -0
- data/spec/models/collection_product_dto_spec.rb +28 -0
- data/spec/models/{payout_method_spec.rb → discord_roles_response_dto_spec.rb} +9 -9
- data/spec/models/{withdrawal_spec.rb → entitlement_grant_response_dto_spec.rb} +18 -18
- data/spec/models/{payout_account_spec.rb → github_repos_response_dto_spec.rb} +8 -8
- 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
- data/spec/models/{business_create_spec.rb → sync_login_dto_spec.rb} +7 -7
- data/spec/models/{business_spec.rb → webhook_entitlement_grant_payload_spec.rb} +17 -53
- metadata +162 -254
- 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/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/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_link.rb +0 -239
- 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_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/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_full_create_response_spec.rb +0 -42
- data/spec/models/business_full_create_spec.rb +0 -60
- data/spec/models/payout_access_token_spec.rb +0 -42
- data/spec/models/payout_account_link_spec.rb +0 -42
- data/spec/models/payout_method_list_spec.rb +0 -36
- 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/docs/CommunityApi.md
DELETED
|
@@ -1,497 +0,0 @@
|
|
|
1
|
-
# Solifyn::CommunityApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost:8000*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**community_controller_create_post**](CommunityApi.md#community_controller_create_post) | **POST** /v1/community/posts | |
|
|
8
|
-
| [**community_controller_delete_post**](CommunityApi.md#community_controller_delete_post) | **DELETE** /v1/community/posts/{id} | |
|
|
9
|
-
| [**community_controller_get_posts**](CommunityApi.md#community_controller_get_posts) | **GET** /v1/community/posts | |
|
|
10
|
-
| [**community_controller_like_post**](CommunityApi.md#community_controller_like_post) | **PATCH** /v1/community/posts/{id}/like | |
|
|
11
|
-
| [**community_controller_report_post**](CommunityApi.md#community_controller_report_post) | **POST** /v1/community/posts/{id}/report | |
|
|
12
|
-
| [**community_controller_share_post**](CommunityApi.md#community_controller_share_post) | **PATCH** /v1/community/posts/{id}/share | |
|
|
13
|
-
| [**community_controller_unlike_post**](CommunityApi.md#community_controller_unlike_post) | **PATCH** /v1/community/posts/{id}/unlike | |
|
|
14
|
-
| [**community_controller_update_post**](CommunityApi.md#community_controller_update_post) | **PATCH** /v1/community/posts/{id} | |
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## community_controller_create_post
|
|
18
|
-
|
|
19
|
-
> community_controller_create_post
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Examples
|
|
24
|
-
|
|
25
|
-
```ruby
|
|
26
|
-
require 'time'
|
|
27
|
-
require 'solifyn'
|
|
28
|
-
|
|
29
|
-
api_instance = Solifyn::CommunityApi.new
|
|
30
|
-
|
|
31
|
-
begin
|
|
32
|
-
|
|
33
|
-
api_instance.community_controller_create_post
|
|
34
|
-
rescue Solifyn::ApiError => e
|
|
35
|
-
puts "Error when calling CommunityApi->community_controller_create_post: #{e}"
|
|
36
|
-
end
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
#### Using the community_controller_create_post_with_http_info variant
|
|
40
|
-
|
|
41
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
42
|
-
|
|
43
|
-
> <Array(nil, Integer, Hash)> community_controller_create_post_with_http_info
|
|
44
|
-
|
|
45
|
-
```ruby
|
|
46
|
-
begin
|
|
47
|
-
|
|
48
|
-
data, status_code, headers = api_instance.community_controller_create_post_with_http_info
|
|
49
|
-
p status_code # => 2xx
|
|
50
|
-
p headers # => { ... }
|
|
51
|
-
p data # => nil
|
|
52
|
-
rescue Solifyn::ApiError => e
|
|
53
|
-
puts "Error when calling CommunityApi->community_controller_create_post_with_http_info: #{e}"
|
|
54
|
-
end
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### Parameters
|
|
58
|
-
|
|
59
|
-
This endpoint does not need any parameter.
|
|
60
|
-
|
|
61
|
-
### Return type
|
|
62
|
-
|
|
63
|
-
nil (empty response body)
|
|
64
|
-
|
|
65
|
-
### Authorization
|
|
66
|
-
|
|
67
|
-
No authorization required
|
|
68
|
-
|
|
69
|
-
### HTTP request headers
|
|
70
|
-
|
|
71
|
-
- **Content-Type**: Not defined
|
|
72
|
-
- **Accept**: Not defined
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
## community_controller_delete_post
|
|
76
|
-
|
|
77
|
-
> community_controller_delete_post(id)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Examples
|
|
82
|
-
|
|
83
|
-
```ruby
|
|
84
|
-
require 'time'
|
|
85
|
-
require 'solifyn'
|
|
86
|
-
|
|
87
|
-
api_instance = Solifyn::CommunityApi.new
|
|
88
|
-
id = 'id_example' # String |
|
|
89
|
-
|
|
90
|
-
begin
|
|
91
|
-
|
|
92
|
-
api_instance.community_controller_delete_post(id)
|
|
93
|
-
rescue Solifyn::ApiError => e
|
|
94
|
-
puts "Error when calling CommunityApi->community_controller_delete_post: #{e}"
|
|
95
|
-
end
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
#### Using the community_controller_delete_post_with_http_info variant
|
|
99
|
-
|
|
100
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
101
|
-
|
|
102
|
-
> <Array(nil, Integer, Hash)> community_controller_delete_post_with_http_info(id)
|
|
103
|
-
|
|
104
|
-
```ruby
|
|
105
|
-
begin
|
|
106
|
-
|
|
107
|
-
data, status_code, headers = api_instance.community_controller_delete_post_with_http_info(id)
|
|
108
|
-
p status_code # => 2xx
|
|
109
|
-
p headers # => { ... }
|
|
110
|
-
p data # => nil
|
|
111
|
-
rescue Solifyn::ApiError => e
|
|
112
|
-
puts "Error when calling CommunityApi->community_controller_delete_post_with_http_info: #{e}"
|
|
113
|
-
end
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Parameters
|
|
117
|
-
|
|
118
|
-
| Name | Type | Description | Notes |
|
|
119
|
-
| ---- | ---- | ----------- | ----- |
|
|
120
|
-
| **id** | **String** | | |
|
|
121
|
-
|
|
122
|
-
### Return type
|
|
123
|
-
|
|
124
|
-
nil (empty response body)
|
|
125
|
-
|
|
126
|
-
### Authorization
|
|
127
|
-
|
|
128
|
-
No authorization required
|
|
129
|
-
|
|
130
|
-
### HTTP request headers
|
|
131
|
-
|
|
132
|
-
- **Content-Type**: Not defined
|
|
133
|
-
- **Accept**: Not defined
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
## community_controller_get_posts
|
|
137
|
-
|
|
138
|
-
> community_controller_get_posts
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
### Examples
|
|
143
|
-
|
|
144
|
-
```ruby
|
|
145
|
-
require 'time'
|
|
146
|
-
require 'solifyn'
|
|
147
|
-
|
|
148
|
-
api_instance = Solifyn::CommunityApi.new
|
|
149
|
-
|
|
150
|
-
begin
|
|
151
|
-
|
|
152
|
-
api_instance.community_controller_get_posts
|
|
153
|
-
rescue Solifyn::ApiError => e
|
|
154
|
-
puts "Error when calling CommunityApi->community_controller_get_posts: #{e}"
|
|
155
|
-
end
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
#### Using the community_controller_get_posts_with_http_info variant
|
|
159
|
-
|
|
160
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
161
|
-
|
|
162
|
-
> <Array(nil, Integer, Hash)> community_controller_get_posts_with_http_info
|
|
163
|
-
|
|
164
|
-
```ruby
|
|
165
|
-
begin
|
|
166
|
-
|
|
167
|
-
data, status_code, headers = api_instance.community_controller_get_posts_with_http_info
|
|
168
|
-
p status_code # => 2xx
|
|
169
|
-
p headers # => { ... }
|
|
170
|
-
p data # => nil
|
|
171
|
-
rescue Solifyn::ApiError => e
|
|
172
|
-
puts "Error when calling CommunityApi->community_controller_get_posts_with_http_info: #{e}"
|
|
173
|
-
end
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
### Parameters
|
|
177
|
-
|
|
178
|
-
This endpoint does not need any parameter.
|
|
179
|
-
|
|
180
|
-
### Return type
|
|
181
|
-
|
|
182
|
-
nil (empty response body)
|
|
183
|
-
|
|
184
|
-
### Authorization
|
|
185
|
-
|
|
186
|
-
No authorization required
|
|
187
|
-
|
|
188
|
-
### HTTP request headers
|
|
189
|
-
|
|
190
|
-
- **Content-Type**: Not defined
|
|
191
|
-
- **Accept**: Not defined
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
## community_controller_like_post
|
|
195
|
-
|
|
196
|
-
> community_controller_like_post(id)
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
### Examples
|
|
201
|
-
|
|
202
|
-
```ruby
|
|
203
|
-
require 'time'
|
|
204
|
-
require 'solifyn'
|
|
205
|
-
|
|
206
|
-
api_instance = Solifyn::CommunityApi.new
|
|
207
|
-
id = 'id_example' # String |
|
|
208
|
-
|
|
209
|
-
begin
|
|
210
|
-
|
|
211
|
-
api_instance.community_controller_like_post(id)
|
|
212
|
-
rescue Solifyn::ApiError => e
|
|
213
|
-
puts "Error when calling CommunityApi->community_controller_like_post: #{e}"
|
|
214
|
-
end
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
#### Using the community_controller_like_post_with_http_info variant
|
|
218
|
-
|
|
219
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
220
|
-
|
|
221
|
-
> <Array(nil, Integer, Hash)> community_controller_like_post_with_http_info(id)
|
|
222
|
-
|
|
223
|
-
```ruby
|
|
224
|
-
begin
|
|
225
|
-
|
|
226
|
-
data, status_code, headers = api_instance.community_controller_like_post_with_http_info(id)
|
|
227
|
-
p status_code # => 2xx
|
|
228
|
-
p headers # => { ... }
|
|
229
|
-
p data # => nil
|
|
230
|
-
rescue Solifyn::ApiError => e
|
|
231
|
-
puts "Error when calling CommunityApi->community_controller_like_post_with_http_info: #{e}"
|
|
232
|
-
end
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
### Parameters
|
|
236
|
-
|
|
237
|
-
| Name | Type | Description | Notes |
|
|
238
|
-
| ---- | ---- | ----------- | ----- |
|
|
239
|
-
| **id** | **String** | | |
|
|
240
|
-
|
|
241
|
-
### Return type
|
|
242
|
-
|
|
243
|
-
nil (empty response body)
|
|
244
|
-
|
|
245
|
-
### Authorization
|
|
246
|
-
|
|
247
|
-
No authorization required
|
|
248
|
-
|
|
249
|
-
### HTTP request headers
|
|
250
|
-
|
|
251
|
-
- **Content-Type**: Not defined
|
|
252
|
-
- **Accept**: Not defined
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
## community_controller_report_post
|
|
256
|
-
|
|
257
|
-
> community_controller_report_post(id)
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
### Examples
|
|
262
|
-
|
|
263
|
-
```ruby
|
|
264
|
-
require 'time'
|
|
265
|
-
require 'solifyn'
|
|
266
|
-
|
|
267
|
-
api_instance = Solifyn::CommunityApi.new
|
|
268
|
-
id = 'id_example' # String |
|
|
269
|
-
|
|
270
|
-
begin
|
|
271
|
-
|
|
272
|
-
api_instance.community_controller_report_post(id)
|
|
273
|
-
rescue Solifyn::ApiError => e
|
|
274
|
-
puts "Error when calling CommunityApi->community_controller_report_post: #{e}"
|
|
275
|
-
end
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
#### Using the community_controller_report_post_with_http_info variant
|
|
279
|
-
|
|
280
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
281
|
-
|
|
282
|
-
> <Array(nil, Integer, Hash)> community_controller_report_post_with_http_info(id)
|
|
283
|
-
|
|
284
|
-
```ruby
|
|
285
|
-
begin
|
|
286
|
-
|
|
287
|
-
data, status_code, headers = api_instance.community_controller_report_post_with_http_info(id)
|
|
288
|
-
p status_code # => 2xx
|
|
289
|
-
p headers # => { ... }
|
|
290
|
-
p data # => nil
|
|
291
|
-
rescue Solifyn::ApiError => e
|
|
292
|
-
puts "Error when calling CommunityApi->community_controller_report_post_with_http_info: #{e}"
|
|
293
|
-
end
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
### Parameters
|
|
297
|
-
|
|
298
|
-
| Name | Type | Description | Notes |
|
|
299
|
-
| ---- | ---- | ----------- | ----- |
|
|
300
|
-
| **id** | **String** | | |
|
|
301
|
-
|
|
302
|
-
### Return type
|
|
303
|
-
|
|
304
|
-
nil (empty response body)
|
|
305
|
-
|
|
306
|
-
### Authorization
|
|
307
|
-
|
|
308
|
-
No authorization required
|
|
309
|
-
|
|
310
|
-
### HTTP request headers
|
|
311
|
-
|
|
312
|
-
- **Content-Type**: Not defined
|
|
313
|
-
- **Accept**: Not defined
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
## community_controller_share_post
|
|
317
|
-
|
|
318
|
-
> community_controller_share_post(id)
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
### Examples
|
|
323
|
-
|
|
324
|
-
```ruby
|
|
325
|
-
require 'time'
|
|
326
|
-
require 'solifyn'
|
|
327
|
-
|
|
328
|
-
api_instance = Solifyn::CommunityApi.new
|
|
329
|
-
id = 'id_example' # String |
|
|
330
|
-
|
|
331
|
-
begin
|
|
332
|
-
|
|
333
|
-
api_instance.community_controller_share_post(id)
|
|
334
|
-
rescue Solifyn::ApiError => e
|
|
335
|
-
puts "Error when calling CommunityApi->community_controller_share_post: #{e}"
|
|
336
|
-
end
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
#### Using the community_controller_share_post_with_http_info variant
|
|
340
|
-
|
|
341
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
342
|
-
|
|
343
|
-
> <Array(nil, Integer, Hash)> community_controller_share_post_with_http_info(id)
|
|
344
|
-
|
|
345
|
-
```ruby
|
|
346
|
-
begin
|
|
347
|
-
|
|
348
|
-
data, status_code, headers = api_instance.community_controller_share_post_with_http_info(id)
|
|
349
|
-
p status_code # => 2xx
|
|
350
|
-
p headers # => { ... }
|
|
351
|
-
p data # => nil
|
|
352
|
-
rescue Solifyn::ApiError => e
|
|
353
|
-
puts "Error when calling CommunityApi->community_controller_share_post_with_http_info: #{e}"
|
|
354
|
-
end
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
### Parameters
|
|
358
|
-
|
|
359
|
-
| Name | Type | Description | Notes |
|
|
360
|
-
| ---- | ---- | ----------- | ----- |
|
|
361
|
-
| **id** | **String** | | |
|
|
362
|
-
|
|
363
|
-
### Return type
|
|
364
|
-
|
|
365
|
-
nil (empty response body)
|
|
366
|
-
|
|
367
|
-
### Authorization
|
|
368
|
-
|
|
369
|
-
No authorization required
|
|
370
|
-
|
|
371
|
-
### HTTP request headers
|
|
372
|
-
|
|
373
|
-
- **Content-Type**: Not defined
|
|
374
|
-
- **Accept**: Not defined
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
## community_controller_unlike_post
|
|
378
|
-
|
|
379
|
-
> community_controller_unlike_post(id)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
### Examples
|
|
384
|
-
|
|
385
|
-
```ruby
|
|
386
|
-
require 'time'
|
|
387
|
-
require 'solifyn'
|
|
388
|
-
|
|
389
|
-
api_instance = Solifyn::CommunityApi.new
|
|
390
|
-
id = 'id_example' # String |
|
|
391
|
-
|
|
392
|
-
begin
|
|
393
|
-
|
|
394
|
-
api_instance.community_controller_unlike_post(id)
|
|
395
|
-
rescue Solifyn::ApiError => e
|
|
396
|
-
puts "Error when calling CommunityApi->community_controller_unlike_post: #{e}"
|
|
397
|
-
end
|
|
398
|
-
```
|
|
399
|
-
|
|
400
|
-
#### Using the community_controller_unlike_post_with_http_info variant
|
|
401
|
-
|
|
402
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
403
|
-
|
|
404
|
-
> <Array(nil, Integer, Hash)> community_controller_unlike_post_with_http_info(id)
|
|
405
|
-
|
|
406
|
-
```ruby
|
|
407
|
-
begin
|
|
408
|
-
|
|
409
|
-
data, status_code, headers = api_instance.community_controller_unlike_post_with_http_info(id)
|
|
410
|
-
p status_code # => 2xx
|
|
411
|
-
p headers # => { ... }
|
|
412
|
-
p data # => nil
|
|
413
|
-
rescue Solifyn::ApiError => e
|
|
414
|
-
puts "Error when calling CommunityApi->community_controller_unlike_post_with_http_info: #{e}"
|
|
415
|
-
end
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
### Parameters
|
|
419
|
-
|
|
420
|
-
| Name | Type | Description | Notes |
|
|
421
|
-
| ---- | ---- | ----------- | ----- |
|
|
422
|
-
| **id** | **String** | | |
|
|
423
|
-
|
|
424
|
-
### Return type
|
|
425
|
-
|
|
426
|
-
nil (empty response body)
|
|
427
|
-
|
|
428
|
-
### Authorization
|
|
429
|
-
|
|
430
|
-
No authorization required
|
|
431
|
-
|
|
432
|
-
### HTTP request headers
|
|
433
|
-
|
|
434
|
-
- **Content-Type**: Not defined
|
|
435
|
-
- **Accept**: Not defined
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
## community_controller_update_post
|
|
439
|
-
|
|
440
|
-
> community_controller_update_post(id)
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
### Examples
|
|
445
|
-
|
|
446
|
-
```ruby
|
|
447
|
-
require 'time'
|
|
448
|
-
require 'solifyn'
|
|
449
|
-
|
|
450
|
-
api_instance = Solifyn::CommunityApi.new
|
|
451
|
-
id = 'id_example' # String |
|
|
452
|
-
|
|
453
|
-
begin
|
|
454
|
-
|
|
455
|
-
api_instance.community_controller_update_post(id)
|
|
456
|
-
rescue Solifyn::ApiError => e
|
|
457
|
-
puts "Error when calling CommunityApi->community_controller_update_post: #{e}"
|
|
458
|
-
end
|
|
459
|
-
```
|
|
460
|
-
|
|
461
|
-
#### Using the community_controller_update_post_with_http_info variant
|
|
462
|
-
|
|
463
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
464
|
-
|
|
465
|
-
> <Array(nil, Integer, Hash)> community_controller_update_post_with_http_info(id)
|
|
466
|
-
|
|
467
|
-
```ruby
|
|
468
|
-
begin
|
|
469
|
-
|
|
470
|
-
data, status_code, headers = api_instance.community_controller_update_post_with_http_info(id)
|
|
471
|
-
p status_code # => 2xx
|
|
472
|
-
p headers # => { ... }
|
|
473
|
-
p data # => nil
|
|
474
|
-
rescue Solifyn::ApiError => e
|
|
475
|
-
puts "Error when calling CommunityApi->community_controller_update_post_with_http_info: #{e}"
|
|
476
|
-
end
|
|
477
|
-
```
|
|
478
|
-
|
|
479
|
-
### Parameters
|
|
480
|
-
|
|
481
|
-
| Name | Type | Description | Notes |
|
|
482
|
-
| ---- | ---- | ----------- | ----- |
|
|
483
|
-
| **id** | **String** | | |
|
|
484
|
-
|
|
485
|
-
### Return type
|
|
486
|
-
|
|
487
|
-
nil (empty response body)
|
|
488
|
-
|
|
489
|
-
### Authorization
|
|
490
|
-
|
|
491
|
-
No authorization required
|
|
492
|
-
|
|
493
|
-
### HTTP request headers
|
|
494
|
-
|
|
495
|
-
- **Content-Type**: Not defined
|
|
496
|
-
- **Accept**: Not defined
|
|
497
|
-
|
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
|
-
|