aimastering 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -5
- data/aimastering.gemspec +4 -4
- data/docs/AccessTokenApi.md +1 -1
- data/docs/AmazonSubscription.md +12 -0
- data/docs/AmazonSubscriptionApi.md +55 -0
- data/docs/Audio.md +4 -0
- data/docs/AudioApi.md +4 -2
- data/docs/Config.md +1 -0
- data/docs/ConfigApi.md +1 -1
- data/docs/{DateTime.md → ConfigVersion.md} +2 -1
- data/docs/ExternalSearchApi.md +1 -1
- data/docs/GroupBuyStatistics.md +8 -0
- data/docs/LibraryAudio.md +4 -0
- data/docs/LibraryAudioApi.md +1 -1
- data/docs/Mastering.md +9 -0
- data/docs/MasteringApi.md +151 -29
- data/docs/PaymentApi.md +3 -3
- data/docs/PaymentCustomerApi.md +1 -1
- data/docs/PlanApi.md +1 -1
- data/docs/SpSubscription.md +12 -0
- data/docs/SpSubscriptionApi.md +112 -0
- data/docs/StatisticsApi.md +48 -1
- data/docs/Subscription.md +1 -0
- data/docs/SubscriptionApi.md +4 -2
- data/docs/User.md +3 -0
- data/docs/UserApi.md +110 -1
- data/docs/UserStatistics.md +13 -0
- data/docs/VideoApi.md +1 -1
- data/lib/aimastering.rb +8 -1
- data/lib/aimastering/api/access_token_api.rb +1 -1
- data/lib/aimastering/api/amazon_subscription_api.rb +70 -0
- data/lib/aimastering/api/audio_api.rb +4 -1
- data/lib/aimastering/api/config_api.rb +1 -1
- data/lib/aimastering/api/external_search_api.rb +1 -1
- data/lib/aimastering/api/library_audio_api.rb +1 -1
- data/lib/aimastering/api/mastering_api.rb +162 -16
- data/lib/aimastering/api/payment_api.rb +1 -1
- data/lib/aimastering/api/payment_customer_api.rb +1 -1
- data/lib/aimastering/api/plan_api.rb +1 -1
- data/lib/aimastering/api/sp_subscription_api.rb +133 -0
- data/lib/aimastering/api/statistics_api.rb +48 -1
- data/lib/aimastering/api/subscription_api.rb +4 -1
- data/lib/aimastering/api/user_api.rb +112 -1
- data/lib/aimastering/api/video_api.rb +1 -1
- data/lib/aimastering/api_client.rb +1 -1
- data/lib/aimastering/api_error.rb +1 -1
- data/lib/aimastering/configuration.rb +3 -3
- data/lib/aimastering/models/access_token.rb +1 -1
- data/lib/aimastering/models/amazon_subscription.rb +257 -0
- data/lib/aimastering/models/anonymized_mastering.rb +5 -5
- data/lib/aimastering/models/audio.rb +38 -2
- data/lib/aimastering/models/audio_analysis.rb +1 -1
- data/lib/aimastering/models/audio_download_token.rb +1 -1
- data/lib/aimastering/models/config.rb +14 -5
- data/lib/aimastering/models/config_auth0.rb +1 -1
- data/lib/aimastering/models/config_paypal.rb +1 -1
- data/lib/aimastering/models/config_stripe.rb +1 -1
- data/lib/aimastering/models/{date_time.rb → config_version.rb} +14 -5
- data/lib/aimastering/models/external_search_result.rb +1 -1
- data/lib/aimastering/models/external_search_result_itunes.rb +1 -1
- data/lib/aimastering/models/external_search_result_youtube.rb +1 -1
- data/lib/aimastering/models/group_buy_statistics.rb +188 -0
- data/lib/aimastering/models/jwt.rb +1 -1
- data/lib/aimastering/models/kpi.rb +1 -1
- data/lib/aimastering/models/library_audio.rb +38 -2
- data/lib/aimastering/models/library_audio_analysis.rb +1 -1
- data/lib/aimastering/models/library_audio_like.rb +1 -1
- data/lib/aimastering/models/mastering.rb +123 -6
- data/lib/aimastering/models/payment.rb +1 -1
- data/lib/aimastering/models/payment_customer.rb +1 -1
- data/lib/aimastering/models/plan.rb +1 -1
- data/lib/aimastering/models/sp_subscription.rb +257 -0
- data/lib/aimastering/models/subscription.rb +11 -2
- data/lib/aimastering/models/user.rb +29 -2
- data/lib/aimastering/models/user_statistics.rb +233 -0
- data/lib/aimastering/models/video.rb +1 -1
- data/lib/aimastering/models/video_download_token.rb +1 -1
- data/lib/aimastering/version.rb +2 -2
- data/spec/api/access_token_api_spec.rb +1 -1
- data/spec/api/amazon_subscription_api_spec.rb +46 -0
- data/spec/api/audio_api_spec.rb +2 -1
- data/spec/api/config_api_spec.rb +1 -1
- data/spec/api/external_search_api_spec.rb +1 -1
- data/spec/api/library_audio_api_spec.rb +1 -1
- data/spec/api/mastering_api_spec.rb +35 -4
- data/spec/api/payment_api_spec.rb +1 -1
- data/spec/api/payment_customer_api_spec.rb +1 -1
- data/spec/api/plan_api_spec.rb +1 -1
- data/spec/api/sp_subscription_api_spec.rb +59 -0
- data/spec/api/statistics_api_spec.rb +12 -1
- data/spec/api/subscription_api_spec.rb +2 -1
- data/spec/api/user_api_spec.rb +26 -1
- data/spec/api/video_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/access_token_spec.rb +1 -1
- data/spec/models/amazon_subscription_spec.rb +70 -0
- data/spec/models/anonymized_mastering_spec.rb +3 -3
- data/spec/models/audio_analysis_spec.rb +1 -1
- data/spec/models/audio_download_token_spec.rb +1 -1
- data/spec/models/audio_spec.rb +25 -1
- data/spec/models/config_auth0_spec.rb +1 -1
- data/spec/models/config_paypal_spec.rb +1 -1
- data/spec/models/config_spec.rb +7 -1
- data/spec/models/config_stripe_spec.rb +1 -1
- data/spec/models/config_version_spec.rb +42 -0
- data/spec/models/external_search_result_itunes_spec.rb +1 -1
- data/spec/models/external_search_result_spec.rb +1 -1
- data/spec/models/external_search_result_youtube_spec.rb +1 -1
- data/spec/models/group_buy_statistics_spec.rb +42 -0
- data/spec/models/jwt_spec.rb +1 -1
- data/spec/models/kpi_spec.rb +1 -1
- data/spec/models/library_audio_analysis_spec.rb +1 -1
- data/spec/models/library_audio_like_spec.rb +1 -1
- data/spec/models/library_audio_spec.rb +25 -1
- data/spec/models/mastering_spec.rb +69 -3
- data/spec/models/payment_customer_spec.rb +1 -1
- data/spec/models/payment_spec.rb +1 -1
- data/spec/models/plan_spec.rb +1 -1
- data/spec/models/sp_subscription_spec.rb +70 -0
- data/spec/models/subscription_spec.rb +7 -1
- data/spec/models/user_spec.rb +19 -1
- data/spec/models/user_statistics_spec.rb +72 -0
- data/spec/models/video_download_token_spec.rb +1 -1
- data/spec/models/video_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +46 -23
- data/spec/models/date_time_spec.rb +0 -36
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
data/lib/aimastering/version.rb
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Aimastering
|
14
|
-
VERSION = "1.
|
14
|
+
VERSION = "1.1.0"
|
15
15
|
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -0,0 +1,46 @@
|
|
1
|
+
=begin
|
2
|
+
#AI Mastering API
|
3
|
+
|
4
|
+
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
Contact: info@bakuage.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Aimastering::AmazonSubscriptionApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AmazonSubscriptionApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = Aimastering::AmazonSubscriptionApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AmazonSubscriptionApi' do
|
30
|
+
it 'should create an instance of AmazonSubscriptionApi' do
|
31
|
+
expect(@instance).to be_instance_of(Aimastering::AmazonSubscriptionApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list_amazon_subscriptions
|
36
|
+
# Get all accessable amazon subscriptions.
|
37
|
+
#
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [Array<AmazonSubscription>]
|
40
|
+
describe 'list_amazon_subscriptions test' do
|
41
|
+
it "should work" do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
data/spec/api/audio_api_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -37,6 +37,7 @@ describe 'AudioApi' do
|
|
37
37
|
#
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [File] :file The file to upload.
|
40
|
+
# @option opts [String] :name Audio name. If this is not specified, the name in file parameter is used.
|
40
41
|
# @return [Audio]
|
41
42
|
describe 'create_audio test' do
|
42
43
|
it "should work" do
|
data/spec/api/config_api_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -52,21 +52,27 @@ describe 'MasteringApi' do
|
|
52
52
|
# @option opts [String] :mode Mode
|
53
53
|
# @option opts [BOOLEAN] :bass_preservation This parameter represents if the bass preservation is enabled.
|
54
54
|
# @option opts [BOOLEAN] :mastering This parameter represents if the mastering is enabled. This parameter is effective only when the mode is \"default\" or \"custom\".
|
55
|
-
# @option opts [String] :
|
55
|
+
# @option opts [String] :mastering_algorithm
|
56
|
+
# @option opts [BOOLEAN] :noise_reduction This parameter represents if the nosie reduction is enabled. This parameter is effective only when the mode is \"custom\".
|
57
|
+
# @option opts [String] :preset This parameter is effective only when the mode is \"custom\".
|
56
58
|
# @option opts [Float] :target_loudness This parameter represents the target loudness of the output audio in dB. This parameter is effective only when the mode is \"custom\".
|
59
|
+
# @option opts [String] :target_loudness_mode
|
57
60
|
# @option opts [Float] :mastering_matching_level This parameter represents the mastering reference matching level. This parameter is effective only when the mode is \"custom\" and the mastering is enabled.
|
58
61
|
# @option opts [BOOLEAN] :mastering_reverb This parameter represents if the mastering reverb is enabled. This parameter is effective only when the mode is \"custom\" and the mastering is enabled.
|
59
62
|
# @option opts [Float] :mastering_reverb_gain This parameter represents the mastering reverb gain relative to the dry sound in dB. This parameter is effective only when the mode is \"custom\" and the mastering is \"true\" and the mastering_reverb is \"true\".
|
60
63
|
# @option opts [Integer] :reference_audio_id Reference audio id. This parameter is effective only when the mode is \"custom\" and the mastering is enabled.
|
61
64
|
# @option opts [Float] :low_cut_freq This parameter represents the low cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\".
|
62
|
-
# @option opts [Float] :high_cut_freq This parameter represents the
|
65
|
+
# @option opts [Float] :high_cut_freq This parameter represents the high cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\".
|
66
|
+
# @option opts [Float] :ceiling
|
67
|
+
# @option opts [String] :ceiling_mode
|
68
|
+
# @option opts [Integer] :oversample
|
63
69
|
# @option opts [Integer] :sample_rate This parameter represents the sample rate of the output audio in dB. This parameter is effective only when the mode is \"custom\".
|
64
70
|
# @option opts [Integer] :bit_depth This parameter represents the bit depth of the output audio in dB. This parameter is effective only when the mode is \"custom\".
|
65
71
|
# @option opts [String] :output_format This parameter represents the format of the output audio. This parameter is effective only when the mode is \"custom\".
|
66
72
|
# @option opts [BOOLEAN] :for_preview If this is true, the mastering is treated for preview purpose (ex. not purchasable, not publishable, short lifetime).
|
67
73
|
# @option opts [Float] :start_at Partial mastering start at.
|
68
74
|
# @option opts [Float] :end_at Partial mastering end at.
|
69
|
-
# @option opts [
|
75
|
+
# @option opts [String] :video_title This parameter represents the title of output video.
|
70
76
|
# @return [Mastering]
|
71
77
|
describe 'create_mastering test' do
|
72
78
|
it "should work" do
|
@@ -86,6 +92,18 @@ describe 'MasteringApi' do
|
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|
95
|
+
# unit tests for free_unlock_mastering
|
96
|
+
# Free unlock a mastering by id.
|
97
|
+
#
|
98
|
+
# @param id Mastering id
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [Mastering]
|
101
|
+
describe 'free_unlock_mastering test' do
|
102
|
+
it "should work" do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
89
107
|
# unit tests for get_mastering
|
90
108
|
# Get a mastering by id.
|
91
109
|
#
|
@@ -151,4 +169,17 @@ describe 'MasteringApi' do
|
|
151
169
|
end
|
152
170
|
end
|
153
171
|
|
172
|
+
# unit tests for update_mastering
|
173
|
+
# Update a mastering.
|
174
|
+
#
|
175
|
+
# @param id Mastering id
|
176
|
+
# @param [Hash] opts the optional parameters
|
177
|
+
# @option opts [BOOLEAN] :preserved Disable auto delete.
|
178
|
+
# @return [Mastering]
|
179
|
+
describe 'update_mastering test' do
|
180
|
+
it "should work" do
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
154
185
|
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
data/spec/api/plan_api_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#AI Mastering API
|
3
|
+
|
4
|
+
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
Contact: info@bakuage.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Aimastering::SpSubscriptionApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SpSubscriptionApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = Aimastering::SpSubscriptionApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SpSubscriptionApi' do
|
30
|
+
it 'should create an instance of SpSubscriptionApi' do
|
31
|
+
expect(@instance).to be_instance_of(Aimastering::SpSubscriptionApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create_sp_subscription
|
36
|
+
# Create a new smartphone subscription.
|
37
|
+
#
|
38
|
+
# @param service Service.
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :receipt Base64 encoded app store receipt. This parameter is effective only when the service is \"appstore\".
|
41
|
+
# @return [SpSubscription]
|
42
|
+
describe 'create_sp_subscription test' do
|
43
|
+
it "should work" do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for list_sp_subscriptions
|
49
|
+
# Get all accessable smartphone subscriptions.
|
50
|
+
#
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Array<SpSubscription>]
|
53
|
+
describe 'list_sp_subscriptions test' do
|
54
|
+
it "should work" do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -32,6 +32,17 @@ describe 'StatisticsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for get_group_buy_statistics
|
36
|
+
# Get group buy statistics.
|
37
|
+
#
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [GroupBuyStatistics]
|
40
|
+
describe 'get_group_buy_statistics test' do
|
41
|
+
it "should work" do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
35
46
|
# unit tests for list_anonymized_masterings
|
36
47
|
# Get anonymized masterings.
|
37
48
|
#
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -63,6 +63,7 @@ describe 'SubscriptionApi' do
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
64
64
|
# @option opts [String] :stripe_plan_id The Stripe plan id. This parameter is effective only when the service is \"stripe\".
|
65
65
|
# @option opts [String] :token This parameter represents the card token. This parameter is effective only when the service is \"stripe\".
|
66
|
+
# @option opts [String] :affiliate_id Affiliate id of inviter user.
|
66
67
|
# @return [Subscription]
|
67
68
|
describe 'create_subscription test' do
|
68
69
|
it "should work" do
|
data/spec/api/user_api_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -43,6 +43,31 @@ describe 'UserApi' do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
# unit tests for notify_registration
|
47
|
+
# Notify user is registered.
|
48
|
+
#
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @option opts [String] :affiliate_id The affiliate id of inviter.
|
51
|
+
# @option opts [String] :referrer_url The referrer URL.
|
52
|
+
# @return [User]
|
53
|
+
describe 'notify_registration test' do
|
54
|
+
it "should work" do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for send_invitation
|
60
|
+
# Send invitation.
|
61
|
+
#
|
62
|
+
# @param invitee_email The email of invitee.
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [User]
|
65
|
+
describe 'send_invitation test' do
|
66
|
+
it "should work" do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
46
71
|
# unit tests for update_self
|
47
72
|
# Update self user.
|
48
73
|
#
|
data/spec/api/video_api_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
data/spec/api_client_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
|
-
Contact:
|
7
|
+
Contact: info@bakuage.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.1
|
10
10
|
|
@@ -18,7 +18,7 @@ describe Aimastering::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
#require 'URI'
|
21
|
-
#uri = URI.parse("https://
|
21
|
+
#uri = URI.parse("https://api.bakuage.com:443")
|
22
22
|
#Aimastering.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe Aimastering::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
#expect(config.base_url).to eq("https://
|
31
|
+
#expect(config.base_url).to eq("https://api.bakuage.com:443")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
#expect(config.base_url).to eq("https://
|
38
|
+
#expect(config.base_url).to eq("https://api.bakuage.com:443")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|