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
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#AI Mastering API
|
3
|
-
|
4
|
-
#This is a AI Mastering API document. You can use the mastering feature of [https://aimastering.com/](AI Mastering) through this API.
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0.0
|
7
|
-
Contact: aimasteringcom@gmail.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::DateTime
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'DateTime' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = Aimastering::DateTime.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of DateTime' do
|
31
|
-
it 'should create an instance of DateTime' do
|
32
|
-
expect(@instance).to be_instance_of(Aimastering::DateTime)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|