aimastering 1.0.0 → 1.1.0
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 +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
|
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Aimastering::AmazonSubscription
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'AmazonSubscription' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Aimastering::AmazonSubscription.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of AmazonSubscription' do
|
|
31
|
+
it 'should create an instance of AmazonSubscription' do
|
|
32
|
+
expect(@instance).to be_instance_of(Aimastering::AmazonSubscription)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "id"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "user_id"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "status"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "deactivated"])
|
|
51
|
+
#validator.allowable_values.each do |value|
|
|
52
|
+
# expect { @instance.status = value }.not_to raise_error
|
|
53
|
+
#end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
describe 'test attribute "created_at"' do
|
|
58
|
+
it 'should work' do
|
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
describe 'test attribute "updated_at"' do
|
|
64
|
+
it 'should work' do
|
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
end
|
|
70
|
+
|
|
@@ -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
|
|
|
@@ -47,7 +47,7 @@ describe 'AnonymizedMastering' do
|
|
|
47
47
|
describe 'test attribute "mode"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
-
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["default", "custom"
|
|
50
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["default", "custom"])
|
|
51
51
|
#validator.allowable_values.each do |value|
|
|
52
52
|
# expect { @instance.mode = value }.not_to raise_error
|
|
53
53
|
#end
|
|
@@ -67,7 +67,7 @@ describe 'AnonymizedMastering' do
|
|
|
67
67
|
describe 'test attribute "failure_reason"' do
|
|
68
68
|
it 'should work' do
|
|
69
69
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
|
-
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["unknown", "expired", "failed_to_prepare"
|
|
70
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["unknown", "expired", "failed_to_prepare"])
|
|
71
71
|
#validator.allowable_values.each do |value|
|
|
72
72
|
# expect { @instance.failure_reason = value }.not_to raise_error
|
|
73
73
|
#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/models/audio_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
|
|
|
@@ -92,6 +92,18 @@ describe 'Audio' do
|
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
+
describe 'test attribute "true_peak"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "lowpass_true_peak_15khz"' 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
|
+
|
|
95
107
|
describe 'test attribute "loudness"' do
|
|
96
108
|
it 'should work' do
|
|
97
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -134,6 +146,18 @@ describe 'Audio' do
|
|
|
134
146
|
end
|
|
135
147
|
end
|
|
136
148
|
|
|
149
|
+
describe 'test attribute "sound_quality2"' do
|
|
150
|
+
it 'should work' do
|
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
describe 'test attribute "dissonance"' do
|
|
156
|
+
it 'should work' do
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
137
161
|
describe 'test attribute "frames"' do
|
|
138
162
|
it 'should work' do
|
|
139
163
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -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/models/config_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
|
|
|
@@ -50,5 +50,11 @@ describe 'Config' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "version"' 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
|
+
|
|
53
59
|
end
|
|
54
60
|
|
|
@@ -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,42 @@
|
|
|
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
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Aimastering::ConfigVersion
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ConfigVersion' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Aimastering::ConfigVersion.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ConfigVersion' do
|
|
31
|
+
it 'should create an instance of ConfigVersion' do
|
|
32
|
+
expect(@instance).to be_instance_of(Aimastering::ConfigVersion)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "commit"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
end
|
|
42
|
+
|
|
@@ -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
|
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Aimastering::GroupBuyStatistics
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'GroupBuyStatistics' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Aimastering::GroupBuyStatistics.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of GroupBuyStatistics' do
|
|
31
|
+
it 'should create an instance of GroupBuyStatistics' do
|
|
32
|
+
expect(@instance).to be_instance_of(Aimastering::GroupBuyStatistics)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "premium_plan_subscribed_user_count"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
end
|
|
42
|
+
|
data/spec/models/jwt_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/models/kpi_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
|
|
|
@@ -128,6 +128,18 @@ describe 'LibraryAudio' do
|
|
|
128
128
|
end
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
+
describe 'test attribute "true_peak"' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
describe 'test attribute "lowpass_true_peak_15khz"' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
131
143
|
describe 'test attribute "loudness"' do
|
|
132
144
|
it 'should work' do
|
|
133
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -170,6 +182,18 @@ describe 'LibraryAudio' do
|
|
|
170
182
|
end
|
|
171
183
|
end
|
|
172
184
|
|
|
185
|
+
describe 'test attribute "sound_quality2"' do
|
|
186
|
+
it 'should work' do
|
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
describe 'test attribute "dissonance"' do
|
|
192
|
+
it 'should work' do
|
|
193
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
173
197
|
describe 'test attribute "frames"' do
|
|
174
198
|
it 'should work' do
|
|
175
199
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -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
|
|
|
@@ -71,7 +71,7 @@ describe 'Mastering' do
|
|
|
71
71
|
describe 'test attribute "mode"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
-
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["default", "custom"
|
|
74
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["default", "custom"])
|
|
75
75
|
#validator.allowable_values.each do |value|
|
|
76
76
|
# expect { @instance.mode = value }.not_to raise_error
|
|
77
77
|
#end
|
|
@@ -91,13 +91,23 @@ describe 'Mastering' do
|
|
|
91
91
|
describe 'test attribute "failure_reason"' do
|
|
92
92
|
it 'should work' do
|
|
93
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
94
|
-
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["unknown", "expired", "failed_to_prepare"
|
|
94
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["unknown", "expired", "failed_to_prepare"])
|
|
95
95
|
#validator.allowable_values.each do |value|
|
|
96
96
|
# expect { @instance.failure_reason = value }.not_to raise_error
|
|
97
97
|
#end
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
+
describe 'test attribute "target_loudness_mode"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["loudness", "rms", "peak", "youtube_loudness"])
|
|
105
|
+
#validator.allowable_values.each do |value|
|
|
106
|
+
# expect { @instance.target_loudness_mode = value }.not_to raise_error
|
|
107
|
+
#end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
101
111
|
describe 'test attribute "target_loudness"' do
|
|
102
112
|
it 'should work' do
|
|
103
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -172,6 +182,22 @@ describe 'Mastering' do
|
|
|
172
182
|
end
|
|
173
183
|
end
|
|
174
184
|
|
|
185
|
+
describe 'test attribute "mastering_algorithm"' do
|
|
186
|
+
it 'should work' do
|
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
188
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["v1", "v2"])
|
|
189
|
+
#validator.allowable_values.each do |value|
|
|
190
|
+
# expect { @instance.mastering_algorithm = value }.not_to raise_error
|
|
191
|
+
#end
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
describe 'test attribute "preserved"' do
|
|
196
|
+
it 'should work' do
|
|
197
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
|
|
175
201
|
describe 'test attribute "retry_count"' do
|
|
176
202
|
it 'should work' do
|
|
177
203
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -202,6 +228,46 @@ describe 'Mastering' do
|
|
|
202
228
|
end
|
|
203
229
|
end
|
|
204
230
|
|
|
231
|
+
describe 'test attribute "ceiling"' do
|
|
232
|
+
it 'should work' do
|
|
233
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
describe 'test attribute "ceiling_mode"' do
|
|
238
|
+
it 'should work' do
|
|
239
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
describe 'test attribute "oversample"' do
|
|
244
|
+
it 'should work' do
|
|
245
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
describe 'test attribute "limiting_error"' do
|
|
250
|
+
it 'should work' do
|
|
251
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
describe 'test attribute "video_title"' do
|
|
256
|
+
it 'should work' do
|
|
257
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
describe 'test attribute "video_status"' do
|
|
262
|
+
it 'should work' do
|
|
263
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
264
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["waiting", "failed", "succeeded"])
|
|
265
|
+
#validator.allowable_values.each do |value|
|
|
266
|
+
# expect { @instance.video_status = value }.not_to raise_error
|
|
267
|
+
#end
|
|
268
|
+
end
|
|
269
|
+
end
|
|
270
|
+
|
|
205
271
|
describe 'test attribute "expire_at"' do
|
|
206
272
|
it 'should work' do
|
|
207
273
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|