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
|
@@ -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,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
|
|
@@ -1,42 +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
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for Solifyn::BusinessFullCreateResponse
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe Solifyn::BusinessFullCreateResponse do
|
|
21
|
-
let(:instance) { Solifyn::BusinessFullCreateResponse.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of BusinessFullCreateResponse' do
|
|
24
|
-
it 'should create an instance of BusinessFullCreateResponse' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Solifyn::BusinessFullCreateResponse)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "success"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "business_id"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,60 +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
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for Solifyn::BusinessFullCreate
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe Solifyn::BusinessFullCreate do
|
|
21
|
-
let(:instance) { Solifyn::BusinessFullCreate.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of BusinessFullCreate' do
|
|
24
|
-
it 'should create an instance of BusinessFullCreate' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Solifyn::BusinessFullCreate)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "title"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "website_url"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "country"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
describe 'test attribute "category"' 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
|
-
describe 'test attribute "referred_by_code"' do
|
|
55
|
-
it 'should work' do
|
|
56
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
end
|
|
@@ -1,42 +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
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for Solifyn::PayoutAccessToken
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe Solifyn::PayoutAccessToken do
|
|
21
|
-
let(:instance) { Solifyn::PayoutAccessToken.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of PayoutAccessToken' do
|
|
24
|
-
it 'should create an instance of PayoutAccessToken' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Solifyn::PayoutAccessToken)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "access_token"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "expires_at"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,42 +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
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for Solifyn::PayoutAccountLink
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe Solifyn::PayoutAccountLink do
|
|
21
|
-
let(:instance) { Solifyn::PayoutAccountLink.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of PayoutAccountLink' do
|
|
24
|
-
it 'should create an instance of PayoutAccountLink' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Solifyn::PayoutAccountLink)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "url"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "expires_at"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
|
@@ -1,36 +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
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for Solifyn::PayoutMethodList
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe Solifyn::PayoutMethodList do
|
|
21
|
-
let(:instance) { Solifyn::PayoutMethodList.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of PayoutMethodList' do
|
|
24
|
-
it 'should create an instance of PayoutMethodList' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Solifyn::PayoutMethodList)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "data"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,36 +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
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for Solifyn::PayoutVerificationList
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe Solifyn::PayoutVerificationList do
|
|
21
|
-
let(:instance) { Solifyn::PayoutVerificationList.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of PayoutVerificationList' do
|
|
24
|
-
it 'should create an instance of PayoutVerificationList' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Solifyn::PayoutVerificationList)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "data"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|