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
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Solifyn API
|
|
3
|
-
|
|
4
|
-
#Welcome to the Solifyn API Reference. Leverage our secure endpoints to manage products and issue, validate, and manage software license keys programmatically.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.10.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Solifyn::CommunityApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'CommunityApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Solifyn::CommunityApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of CommunityApi' do
|
|
30
|
-
it 'should create an instance of CommunityApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Solifyn::CommunityApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for community_controller_create_post
|
|
36
|
-
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @return [nil]
|
|
38
|
-
describe 'community_controller_create_post test' do
|
|
39
|
-
it 'should work' do
|
|
40
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# unit tests for community_controller_delete_post
|
|
45
|
-
# @param id
|
|
46
|
-
# @param [Hash] opts the optional parameters
|
|
47
|
-
# @return [nil]
|
|
48
|
-
describe 'community_controller_delete_post test' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
# unit tests for community_controller_get_posts
|
|
55
|
-
# @param [Hash] opts the optional parameters
|
|
56
|
-
# @return [nil]
|
|
57
|
-
describe 'community_controller_get_posts test' do
|
|
58
|
-
it 'should work' do
|
|
59
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
# unit tests for community_controller_like_post
|
|
64
|
-
# @param id
|
|
65
|
-
# @param [Hash] opts the optional parameters
|
|
66
|
-
# @return [nil]
|
|
67
|
-
describe 'community_controller_like_post test' do
|
|
68
|
-
it 'should work' do
|
|
69
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
# unit tests for community_controller_report_post
|
|
74
|
-
# @param id
|
|
75
|
-
# @param [Hash] opts the optional parameters
|
|
76
|
-
# @return [nil]
|
|
77
|
-
describe 'community_controller_report_post test' do
|
|
78
|
-
it 'should work' do
|
|
79
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
# unit tests for community_controller_share_post
|
|
84
|
-
# @param id
|
|
85
|
-
# @param [Hash] opts the optional parameters
|
|
86
|
-
# @return [nil]
|
|
87
|
-
describe 'community_controller_share_post test' do
|
|
88
|
-
it 'should work' do
|
|
89
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
90
|
-
end
|
|
91
|
-
end
|
|
92
|
-
|
|
93
|
-
# unit tests for community_controller_unlike_post
|
|
94
|
-
# @param id
|
|
95
|
-
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @return [nil]
|
|
97
|
-
describe 'community_controller_unlike_post test' do
|
|
98
|
-
it 'should work' do
|
|
99
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
# unit tests for community_controller_update_post
|
|
104
|
-
# @param id
|
|
105
|
-
# @param [Hash] opts the optional parameters
|
|
106
|
-
# @return [nil]
|
|
107
|
-
describe 'community_controller_update_post test' do
|
|
108
|
-
it 'should work' do
|
|
109
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
end
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Solifyn API
|
|
3
|
-
|
|
4
|
-
#Welcome to the Solifyn API Reference. Leverage our secure endpoints to manage products and issue, validate, and manage software license keys programmatically.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.10.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Solifyn::DefaultApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'DefaultApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Solifyn::DefaultApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of DefaultApi' do
|
|
30
|
-
it 'should create an instance of DefaultApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Solifyn::DefaultApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for dispute_created_post
|
|
36
|
-
# Dispute Created
|
|
37
|
-
# Occurs when a payment charge is disputed by the customer (chargeback initiated).
|
|
38
|
-
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
40
|
-
# @return [nil]
|
|
41
|
-
describe 'dispute_created_post test' do
|
|
42
|
-
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
# unit tests for dispute_lost_post
|
|
48
|
-
# Dispute Lost
|
|
49
|
-
# Occurs when a dispute challenge is lost and the funds are returned to the cardholder.
|
|
50
|
-
# @param [Hash] opts the optional parameters
|
|
51
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
52
|
-
# @return [nil]
|
|
53
|
-
describe 'dispute_lost_post test' do
|
|
54
|
-
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
# unit tests for dispute_won_post
|
|
60
|
-
# Dispute Won
|
|
61
|
-
# Occurs when a dispute challenge is won by the merchant.
|
|
62
|
-
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
64
|
-
# @return [nil]
|
|
65
|
-
describe 'dispute_won_post test' do
|
|
66
|
-
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
# unit tests for license_created_post
|
|
72
|
-
# License Created
|
|
73
|
-
# Occurs when a new software license key is created or assigned to a customer purchase.
|
|
74
|
-
# @param [Hash] opts the optional parameters
|
|
75
|
-
# @option opts [License] :license
|
|
76
|
-
# @return [nil]
|
|
77
|
-
describe 'license_created_post test' do
|
|
78
|
-
it 'should work' do
|
|
79
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
# unit tests for license_revoked_post
|
|
84
|
-
# License Revoked
|
|
85
|
-
# Occurs when a software license key is revoked (e.g., due to subscription cancellation, refund, or dispute).
|
|
86
|
-
# @param [Hash] opts the optional parameters
|
|
87
|
-
# @option opts [License] :license
|
|
88
|
-
# @return [nil]
|
|
89
|
-
describe 'license_revoked_post test' do
|
|
90
|
-
it 'should work' do
|
|
91
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
# unit tests for payment_created_post
|
|
96
|
-
# Payment Created
|
|
97
|
-
# Occurs when a new payment is initiated (e.g., at checkout start or subscription creation). The payment may still be in an incomplete or pending state.
|
|
98
|
-
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
100
|
-
# @return [nil]
|
|
101
|
-
describe 'payment_created_post test' do
|
|
102
|
-
it 'should work' do
|
|
103
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
104
|
-
end
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
# unit tests for payment_failed_post
|
|
108
|
-
# Payment Failed
|
|
109
|
-
# Occurs when a customer payment attempt fails.
|
|
110
|
-
# @param [Hash] opts the optional parameters
|
|
111
|
-
# @option opts [Order] :order
|
|
112
|
-
# @return [nil]
|
|
113
|
-
describe 'payment_failed_post test' do
|
|
114
|
-
it 'should work' do
|
|
115
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
116
|
-
end
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
# unit tests for payment_succeeded_post
|
|
120
|
-
# Payment Succeeded
|
|
121
|
-
# Occurs when a customer payment is confirmed as succeeded.
|
|
122
|
-
# @param [Hash] opts the optional parameters
|
|
123
|
-
# @option opts [Order] :order
|
|
124
|
-
# @return [nil]
|
|
125
|
-
describe 'payment_succeeded_post test' do
|
|
126
|
-
it 'should work' do
|
|
127
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
128
|
-
end
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
# unit tests for refund_failed_post
|
|
132
|
-
# Refund Failed
|
|
133
|
-
# Occurs when a payment refund fails.
|
|
134
|
-
# @param [Hash] opts the optional parameters
|
|
135
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
136
|
-
# @return [nil]
|
|
137
|
-
describe 'refund_failed_post test' do
|
|
138
|
-
it 'should work' do
|
|
139
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
140
|
-
end
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
# unit tests for refund_succeeded_post
|
|
144
|
-
# Refund Succeeded
|
|
145
|
-
# Occurs when a payment refund is confirmed as succeeded.
|
|
146
|
-
# @param [Hash] opts the optional parameters
|
|
147
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
148
|
-
# @return [nil]
|
|
149
|
-
describe 'refund_succeeded_post test' do
|
|
150
|
-
it 'should work' do
|
|
151
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
152
|
-
end
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
# unit tests for subscription_created_post
|
|
156
|
-
# Subscription Created
|
|
157
|
-
# Occurs when a customer subscription is successfully started.
|
|
158
|
-
# @param [Hash] opts the optional parameters
|
|
159
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
160
|
-
# @return [nil]
|
|
161
|
-
describe 'subscription_created_post test' do
|
|
162
|
-
it 'should work' do
|
|
163
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
164
|
-
end
|
|
165
|
-
end
|
|
166
|
-
|
|
167
|
-
# unit tests for subscription_deactivated_post
|
|
168
|
-
# Subscription Deactivated
|
|
169
|
-
# Occurs when a customer subscription is deactivated or expired.
|
|
170
|
-
# @param [Hash] opts the optional parameters
|
|
171
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
172
|
-
# @return [nil]
|
|
173
|
-
describe 'subscription_deactivated_post test' do
|
|
174
|
-
it 'should work' do
|
|
175
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
176
|
-
end
|
|
177
|
-
end
|
|
178
|
-
|
|
179
|
-
# unit tests for subscription_updated_post
|
|
180
|
-
# Subscription Updated
|
|
181
|
-
# Occurs when a customer subscription is updated (e.g., cancel at period end changes).
|
|
182
|
-
# @param [Hash] opts the optional parameters
|
|
183
|
-
# @option opts [UNKNOWN_BASE_TYPE] :unknown_base_type
|
|
184
|
-
# @return [nil]
|
|
185
|
-
describe 'subscription_updated_post test' do
|
|
186
|
-
it 'should work' do
|
|
187
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
end
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Solifyn API
|
|
3
|
-
|
|
4
|
-
#Welcome to the Solifyn API Reference. Leverage our secure endpoints to manage products and issue, validate, and manage software license keys programmatically.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.10.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Solifyn::PartnerApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'PartnerApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Solifyn::PartnerApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of PartnerApi' do
|
|
30
|
-
it 'should create an instance of PartnerApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Solifyn::PartnerApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for partner_controller_get_partner_commissions
|
|
36
|
-
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @return [nil]
|
|
38
|
-
describe 'partner_controller_get_partner_commissions test' do
|
|
39
|
-
it 'should work' do
|
|
40
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# unit tests for partner_controller_get_partner_stats
|
|
45
|
-
# @param [Hash] opts the optional parameters
|
|
46
|
-
# @return [nil]
|
|
47
|
-
describe 'partner_controller_get_partner_stats test' do
|
|
48
|
-
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
end
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Solifyn API
|
|
3
|
-
|
|
4
|
-
#Welcome to the Solifyn API Reference. Leverage our secure endpoints to manage products and issue, validate, and manage software license keys programmatically.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.10.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Solifyn::PayoutsApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'PayoutsApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Solifyn::PayoutsApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of PayoutsApi' do
|
|
30
|
-
it 'should create an instance of PayoutsApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Solifyn::PayoutsApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for payouts_create_withdrawal
|
|
36
|
-
# Create Withdrawal
|
|
37
|
-
# Initiate a balance withdrawal transfer request.
|
|
38
|
-
# @param withdrawal_create
|
|
39
|
-
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [Withdrawal]
|
|
41
|
-
describe 'payouts_create_withdrawal test' do
|
|
42
|
-
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
# unit tests for payouts_get_account
|
|
48
|
-
# Retrieve Payout Account
|
|
49
|
-
# Retrieve general status and information of onboarding payout accounts.
|
|
50
|
-
# @param [Hash] opts the optional parameters
|
|
51
|
-
# @return [PayoutAccount]
|
|
52
|
-
describe 'payouts_get_account test' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
# unit tests for payouts_get_account_link
|
|
59
|
-
# Create Account Link
|
|
60
|
-
# Generate temporary links for onboarding or viewing portals.
|
|
61
|
-
# @param [Hash] opts the optional parameters
|
|
62
|
-
# @option opts [String] :use_case Onboarding link type context
|
|
63
|
-
# @return [PayoutAccountLink]
|
|
64
|
-
describe 'payouts_get_account_link test' do
|
|
65
|
-
it 'should work' do
|
|
66
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
# unit tests for payouts_get_token
|
|
71
|
-
# Generate Portal Access Token
|
|
72
|
-
# Generate temporary credentials to access the embed portal.
|
|
73
|
-
# @param [Hash] opts the optional parameters
|
|
74
|
-
# @return [PayoutAccessToken]
|
|
75
|
-
describe 'payouts_get_token test' do
|
|
76
|
-
it 'should work' do
|
|
77
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
78
|
-
end
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
# unit tests for payouts_get_withdrawals
|
|
82
|
-
# Get Withdrawals List
|
|
83
|
-
# Retrieve withdrawal records for the active business.
|
|
84
|
-
# @param [Hash] opts the optional parameters
|
|
85
|
-
# @option opts [Float] :limit Page size limit
|
|
86
|
-
# @option opts [Float] :page Page number
|
|
87
|
-
# @return [WithdrawalList]
|
|
88
|
-
describe 'payouts_get_withdrawals test' do
|
|
89
|
-
it 'should work' do
|
|
90
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
-
end
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
# unit tests for payouts_list_methods
|
|
95
|
-
# List Payout Methods
|
|
96
|
-
# List saved payout destinations (bank accounts, cards).
|
|
97
|
-
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [Float] :limit
|
|
99
|
-
# @option opts [Float] :page
|
|
100
|
-
# @return [PayoutMethodList]
|
|
101
|
-
describe 'payouts_list_methods test' do
|
|
102
|
-
it 'should work' do
|
|
103
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
104
|
-
end
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
# unit tests for payouts_list_verifications
|
|
108
|
-
# List Verifications
|
|
109
|
-
# Retrieve pending or completed KYC verification checks.
|
|
110
|
-
# @param [Hash] opts the optional parameters
|
|
111
|
-
# @option opts [Float] :limit
|
|
112
|
-
# @option opts [Float] :page
|
|
113
|
-
# @return [PayoutVerificationList]
|
|
114
|
-
describe 'payouts_list_verifications test' do
|
|
115
|
-
it 'should work' do
|
|
116
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
-
end
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# unit tests for payouts_list_withdrawals
|
|
121
|
-
# List Withdrawals
|
|
122
|
-
# Retrieve a list of past withdrawal history.
|
|
123
|
-
# @param [Hash] opts the optional parameters
|
|
124
|
-
# @option opts [Float] :limit Page size limit
|
|
125
|
-
# @option opts [Float] :page Page number
|
|
126
|
-
# @return [WithdrawalList]
|
|
127
|
-
describe 'payouts_list_withdrawals test' do
|
|
128
|
-
it 'should work' do
|
|
129
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
130
|
-
end
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
end
|
data/spec/api/ticket_api_spec.rb
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Solifyn API
|
|
3
|
-
|
|
4
|
-
#Welcome to the Solifyn API Reference. Leverage our secure endpoints to manage products and issue, validate, and manage software license keys programmatically.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.10.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Solifyn::TicketApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'TicketApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Solifyn::TicketApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of TicketApi' do
|
|
30
|
-
it 'should create an instance of TicketApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Solifyn::TicketApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for ticket_controller_create_ticket
|
|
36
|
-
# @param body
|
|
37
|
-
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [nil]
|
|
39
|
-
describe 'ticket_controller_create_ticket test' do
|
|
40
|
-
it 'should work' do
|
|
41
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
# unit tests for ticket_controller_get_ticket_details
|
|
46
|
-
# @param id
|
|
47
|
-
# @param [Hash] opts the optional parameters
|
|
48
|
-
# @return [nil]
|
|
49
|
-
describe 'ticket_controller_get_ticket_details test' do
|
|
50
|
-
it 'should work' do
|
|
51
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
# unit tests for ticket_controller_get_tickets
|
|
56
|
-
# @param [Hash] opts the optional parameters
|
|
57
|
-
# @return [nil]
|
|
58
|
-
describe 'ticket_controller_get_tickets test' do
|
|
59
|
-
it 'should work' do
|
|
60
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
# unit tests for ticket_controller_reply_ticket
|
|
65
|
-
# @param id
|
|
66
|
-
# @param body
|
|
67
|
-
# @param [Hash] opts the optional parameters
|
|
68
|
-
# @return [nil]
|
|
69
|
-
describe 'ticket_controller_reply_ticket test' do
|
|
70
|
-
it 'should work' do
|
|
71
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
# unit tests for ticket_controller_update_ticket
|
|
76
|
-
# @param id
|
|
77
|
-
# @param body
|
|
78
|
-
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @return [nil]
|
|
80
|
-
describe 'ticket_controller_update_ticket test' do
|
|
81
|
-
it 'should work' do
|
|
82
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
-
end
|
|
84
|
-
end
|
|
85
|
-
|
|
86
|
-
end
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Solifyn API
|
|
3
|
-
|
|
4
|
-
#Welcome to the Solifyn API Reference. Leverage our secure endpoints to manage products and issue, validate, and manage software license keys programmatically.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.10.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Solifyn::UserProfileThemesApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'UserProfileThemesApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Solifyn::UserProfileThemesApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of UserProfileThemesApi' do
|
|
30
|
-
it 'should create an instance of UserProfileThemesApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Solifyn::UserProfileThemesApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for users_get_my_page
|
|
36
|
-
# Get My Page details
|
|
37
|
-
# Retrieve page settings and custom content configured for the store.
|
|
38
|
-
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [UserPage]
|
|
40
|
-
describe 'users_get_my_page test' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
# unit tests for users_get_my_theme
|
|
47
|
-
# Get My Theme
|
|
48
|
-
# Retrieve theme configurations for the active business context.
|
|
49
|
-
# @param [Hash] opts the optional parameters
|
|
50
|
-
# @return [UserTheme]
|
|
51
|
-
describe 'users_get_my_theme test' do
|
|
52
|
-
it 'should work' do
|
|
53
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
# unit tests for users_get_settings
|
|
58
|
-
# Retrieve User Settings
|
|
59
|
-
# Retrieve profile settings and notification preferences for the user.
|
|
60
|
-
# @param [Hash] opts the optional parameters
|
|
61
|
-
# @return [UserSettings]
|
|
62
|
-
describe 'users_get_settings test' do
|
|
63
|
-
it 'should work' do
|
|
64
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
# unit tests for users_get_stats
|
|
69
|
-
# Get Dashboard Statistics
|
|
70
|
-
# Retrieve general analytics stats (revenue, order counts, etc.) for dashboard graphs.
|
|
71
|
-
# @param [Hash] opts the optional parameters
|
|
72
|
-
# @return [UserStats]
|
|
73
|
-
describe 'users_get_stats test' do
|
|
74
|
-
it 'should work' do
|
|
75
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
# unit tests for users_get_theme_by_subdomain
|
|
80
|
-
# Get Theme by Subdomain
|
|
81
|
-
# Retrieve public theme configuration details by store subdomain.
|
|
82
|
-
# @param subdomain The subdomain of the store
|
|
83
|
-
# @param [Hash] opts the optional parameters
|
|
84
|
-
# @return [UserTheme]
|
|
85
|
-
describe 'users_get_theme_by_subdomain test' do
|
|
86
|
-
it 'should work' do
|
|
87
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
88
|
-
end
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
end
|