aimastering 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -5
  3. data/aimastering.gemspec +4 -4
  4. data/docs/AccessTokenApi.md +1 -1
  5. data/docs/AmazonSubscription.md +12 -0
  6. data/docs/AmazonSubscriptionApi.md +55 -0
  7. data/docs/Audio.md +4 -0
  8. data/docs/AudioApi.md +4 -2
  9. data/docs/Config.md +1 -0
  10. data/docs/ConfigApi.md +1 -1
  11. data/docs/{DateTime.md → ConfigVersion.md} +2 -1
  12. data/docs/ExternalSearchApi.md +1 -1
  13. data/docs/GroupBuyStatistics.md +8 -0
  14. data/docs/LibraryAudio.md +4 -0
  15. data/docs/LibraryAudioApi.md +1 -1
  16. data/docs/Mastering.md +9 -0
  17. data/docs/MasteringApi.md +151 -29
  18. data/docs/PaymentApi.md +3 -3
  19. data/docs/PaymentCustomerApi.md +1 -1
  20. data/docs/PlanApi.md +1 -1
  21. data/docs/SpSubscription.md +12 -0
  22. data/docs/SpSubscriptionApi.md +112 -0
  23. data/docs/StatisticsApi.md +48 -1
  24. data/docs/Subscription.md +1 -0
  25. data/docs/SubscriptionApi.md +4 -2
  26. data/docs/User.md +3 -0
  27. data/docs/UserApi.md +110 -1
  28. data/docs/UserStatistics.md +13 -0
  29. data/docs/VideoApi.md +1 -1
  30. data/lib/aimastering.rb +8 -1
  31. data/lib/aimastering/api/access_token_api.rb +1 -1
  32. data/lib/aimastering/api/amazon_subscription_api.rb +70 -0
  33. data/lib/aimastering/api/audio_api.rb +4 -1
  34. data/lib/aimastering/api/config_api.rb +1 -1
  35. data/lib/aimastering/api/external_search_api.rb +1 -1
  36. data/lib/aimastering/api/library_audio_api.rb +1 -1
  37. data/lib/aimastering/api/mastering_api.rb +162 -16
  38. data/lib/aimastering/api/payment_api.rb +1 -1
  39. data/lib/aimastering/api/payment_customer_api.rb +1 -1
  40. data/lib/aimastering/api/plan_api.rb +1 -1
  41. data/lib/aimastering/api/sp_subscription_api.rb +133 -0
  42. data/lib/aimastering/api/statistics_api.rb +48 -1
  43. data/lib/aimastering/api/subscription_api.rb +4 -1
  44. data/lib/aimastering/api/user_api.rb +112 -1
  45. data/lib/aimastering/api/video_api.rb +1 -1
  46. data/lib/aimastering/api_client.rb +1 -1
  47. data/lib/aimastering/api_error.rb +1 -1
  48. data/lib/aimastering/configuration.rb +3 -3
  49. data/lib/aimastering/models/access_token.rb +1 -1
  50. data/lib/aimastering/models/amazon_subscription.rb +257 -0
  51. data/lib/aimastering/models/anonymized_mastering.rb +5 -5
  52. data/lib/aimastering/models/audio.rb +38 -2
  53. data/lib/aimastering/models/audio_analysis.rb +1 -1
  54. data/lib/aimastering/models/audio_download_token.rb +1 -1
  55. data/lib/aimastering/models/config.rb +14 -5
  56. data/lib/aimastering/models/config_auth0.rb +1 -1
  57. data/lib/aimastering/models/config_paypal.rb +1 -1
  58. data/lib/aimastering/models/config_stripe.rb +1 -1
  59. data/lib/aimastering/models/{date_time.rb → config_version.rb} +14 -5
  60. data/lib/aimastering/models/external_search_result.rb +1 -1
  61. data/lib/aimastering/models/external_search_result_itunes.rb +1 -1
  62. data/lib/aimastering/models/external_search_result_youtube.rb +1 -1
  63. data/lib/aimastering/models/group_buy_statistics.rb +188 -0
  64. data/lib/aimastering/models/jwt.rb +1 -1
  65. data/lib/aimastering/models/kpi.rb +1 -1
  66. data/lib/aimastering/models/library_audio.rb +38 -2
  67. data/lib/aimastering/models/library_audio_analysis.rb +1 -1
  68. data/lib/aimastering/models/library_audio_like.rb +1 -1
  69. data/lib/aimastering/models/mastering.rb +123 -6
  70. data/lib/aimastering/models/payment.rb +1 -1
  71. data/lib/aimastering/models/payment_customer.rb +1 -1
  72. data/lib/aimastering/models/plan.rb +1 -1
  73. data/lib/aimastering/models/sp_subscription.rb +257 -0
  74. data/lib/aimastering/models/subscription.rb +11 -2
  75. data/lib/aimastering/models/user.rb +29 -2
  76. data/lib/aimastering/models/user_statistics.rb +233 -0
  77. data/lib/aimastering/models/video.rb +1 -1
  78. data/lib/aimastering/models/video_download_token.rb +1 -1
  79. data/lib/aimastering/version.rb +2 -2
  80. data/spec/api/access_token_api_spec.rb +1 -1
  81. data/spec/api/amazon_subscription_api_spec.rb +46 -0
  82. data/spec/api/audio_api_spec.rb +2 -1
  83. data/spec/api/config_api_spec.rb +1 -1
  84. data/spec/api/external_search_api_spec.rb +1 -1
  85. data/spec/api/library_audio_api_spec.rb +1 -1
  86. data/spec/api/mastering_api_spec.rb +35 -4
  87. data/spec/api/payment_api_spec.rb +1 -1
  88. data/spec/api/payment_customer_api_spec.rb +1 -1
  89. data/spec/api/plan_api_spec.rb +1 -1
  90. data/spec/api/sp_subscription_api_spec.rb +59 -0
  91. data/spec/api/statistics_api_spec.rb +12 -1
  92. data/spec/api/subscription_api_spec.rb +2 -1
  93. data/spec/api/user_api_spec.rb +26 -1
  94. data/spec/api/video_api_spec.rb +1 -1
  95. data/spec/api_client_spec.rb +1 -1
  96. data/spec/configuration_spec.rb +4 -4
  97. data/spec/models/access_token_spec.rb +1 -1
  98. data/spec/models/amazon_subscription_spec.rb +70 -0
  99. data/spec/models/anonymized_mastering_spec.rb +3 -3
  100. data/spec/models/audio_analysis_spec.rb +1 -1
  101. data/spec/models/audio_download_token_spec.rb +1 -1
  102. data/spec/models/audio_spec.rb +25 -1
  103. data/spec/models/config_auth0_spec.rb +1 -1
  104. data/spec/models/config_paypal_spec.rb +1 -1
  105. data/spec/models/config_spec.rb +7 -1
  106. data/spec/models/config_stripe_spec.rb +1 -1
  107. data/spec/models/config_version_spec.rb +42 -0
  108. data/spec/models/external_search_result_itunes_spec.rb +1 -1
  109. data/spec/models/external_search_result_spec.rb +1 -1
  110. data/spec/models/external_search_result_youtube_spec.rb +1 -1
  111. data/spec/models/group_buy_statistics_spec.rb +42 -0
  112. data/spec/models/jwt_spec.rb +1 -1
  113. data/spec/models/kpi_spec.rb +1 -1
  114. data/spec/models/library_audio_analysis_spec.rb +1 -1
  115. data/spec/models/library_audio_like_spec.rb +1 -1
  116. data/spec/models/library_audio_spec.rb +25 -1
  117. data/spec/models/mastering_spec.rb +69 -3
  118. data/spec/models/payment_customer_spec.rb +1 -1
  119. data/spec/models/payment_spec.rb +1 -1
  120. data/spec/models/plan_spec.rb +1 -1
  121. data/spec/models/sp_subscription_spec.rb +70 -0
  122. data/spec/models/subscription_spec.rb +7 -1
  123. data/spec/models/user_spec.rb +19 -1
  124. data/spec/models/user_statistics_spec.rb +72 -0
  125. data/spec/models/video_download_token_spec.rb +1 -1
  126. data/spec/models/video_spec.rb +1 -1
  127. data/spec/spec_helper.rb +1 -1
  128. metadata +46 -23
  129. data/spec/models/date_time_spec.rb +0 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c80fbab114df0992c09ebc82e36079dbc697e344ca9f0c769c00de29abc499a4
4
- data.tar.gz: 7187a08cbdf2b50c35a873c815b6652255cc48f9ad753997697035d538a995a5
3
+ metadata.gz: 10012269a54927b2c8f268a81c6ed38028744b1b1db090ed767a4e846709c1dc
4
+ data.tar.gz: f8134746753f926525fc6463d42502c1f77465cc2f5b2d354e88be6105d26315
5
5
  SHA512:
6
- metadata.gz: ec42c174e57261f0676790f9d45293892a98b3b692caf1755c7268bf3c21d73458ad788b0103233e98c8a94833384a0b05de16d18fdd946ed5972835984db13f
7
- data.tar.gz: 3f0c141fe116e0347e70b60fb13686029aa4602838900b682ee163753e50bd44afaaf01c55bbca550e4cceff6779ff6df7215da495e1c5c572d4f82e03cd3131
6
+ metadata.gz: 8fb442ea8e1fb95db1f57f29dd28d9a55696d2837a9d26b37f3c26b9bd417e057fe4c3541f89545a9596e065860afdc85ad4fc00931a985b24866a5ab253a925
7
+ data.tar.gz: 1181ccd2c3f86708209c2c30d1b984e5f026a63347a94f7945a9b4d7edfeb0d31c7487ec4c9c1857ffaeef3e5dd90920edc6e3d3478ee67568e200b085cc4fbc
data/README.md CHANGED
@@ -7,7 +7,7 @@ This is a AI Mastering API document. You can use the mastering feature of [AI Ma
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 1.0.0
10
+ - Package version: 1.1.0
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build aimastering.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./aimastering-1.0.0.gem
26
+ gem install ./aimastering-1.1.0.gem
27
27
  ```
28
- (for development, run `gem install --dev ./aimastering-1.0.0.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./aimastering-1.1.0.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'aimastering', '~> 1.0.0'
34
+ gem 'aimastering', '~> 1.1.0'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -76,11 +76,12 @@ end
76
76
 
77
77
  ## Documentation for API Endpoints
78
78
 
79
- All URIs are relative to *https://aimastering.com:443/api*
79
+ All URIs are relative to *https://api.bakuage.com:443*
80
80
 
81
81
  Class | Method | HTTP request | Description
82
82
  ------------ | ------------- | ------------- | -------------
83
83
  *Aimastering::AccessTokenApi* | [**create_access_token**](docs/AccessTokenApi.md#create_access_token) | **POST** /access_tokens | Create an API access token.
84
+ *Aimastering::AmazonSubscriptionApi* | [**list_amazon_subscriptions**](docs/AmazonSubscriptionApi.md#list_amazon_subscriptions) | **GET** /amazon_subscriptions | Get all accessable amazon subscriptions.
84
85
  *Aimastering::AudioApi* | [**create_audio**](docs/AudioApi.md#create_audio) | **POST** /audios | Create a new audio.
85
86
  *Aimastering::AudioApi* | [**download_audio**](docs/AudioApi.md#download_audio) | **GET** /audios/{id}/download | Download an audio data by id.
86
87
  *Aimastering::AudioApi* | [**download_audio_by_token**](docs/AudioApi.md#download_audio_by_token) | **GET** /audios/download_by_token | Download an audio data by audio_download_token.
@@ -100,17 +101,22 @@ Class | Method | HTTP request | Description
100
101
  *Aimastering::MasteringApi* | [**cancel_mastering**](docs/MasteringApi.md#cancel_mastering) | **PUT** /masterings/{id}/cancel | Cancel a mastering by id.
101
102
  *Aimastering::MasteringApi* | [**create_mastering**](docs/MasteringApi.md#create_mastering) | **POST** /masterings | Create a new mastering.
102
103
  *Aimastering::MasteringApi* | [**delete_mastering**](docs/MasteringApi.md#delete_mastering) | **DELETE** /masterings/{id} | Delete mastering.
104
+ *Aimastering::MasteringApi* | [**free_unlock_mastering**](docs/MasteringApi.md#free_unlock_mastering) | **PUT** /masterings/{id}/free_unlock | Free unlock a mastering by id.
103
105
  *Aimastering::MasteringApi* | [**get_mastering**](docs/MasteringApi.md#get_mastering) | **GET** /masterings/{id} | Get a mastering by id.
104
106
  *Aimastering::MasteringApi* | [**get_mastering_unlock_product**](docs/MasteringApi.md#get_mastering_unlock_product) | **GET** /masterings/{id}/unlock_product | Review a mastering by id.
105
107
  *Aimastering::MasteringApi* | [**list_masterings**](docs/MasteringApi.md#list_masterings) | **GET** /masterings | Get all accessable masterings.
106
108
  *Aimastering::MasteringApi* | [**publish_mastering**](docs/MasteringApi.md#publish_mastering) | **POST** /masterings/{id}/publish | Publish a mastering by id.
107
109
  *Aimastering::MasteringApi* | [**review_mastering**](docs/MasteringApi.md#review_mastering) | **PUT** /masterings/{id}/review | Review a mastering by id.
110
+ *Aimastering::MasteringApi* | [**update_mastering**](docs/MasteringApi.md#update_mastering) | **PUT** /masterings/{id} | Update a mastering.
108
111
  *Aimastering::PaymentApi* | [**create_payment**](docs/PaymentApi.md#create_payment) | **POST** /payments | Create a new payment.
109
112
  *Aimastering::PaymentApi* | [**execute_payment**](docs/PaymentApi.md#execute_payment) | **PUT** /payments/{id}/execute | Execute a payment by id.
110
113
  *Aimastering::PaymentApi* | [**get_payment**](docs/PaymentApi.md#get_payment) | **GET** /payments/{id} | Get a payment by id.
111
114
  *Aimastering::PaymentApi* | [**list_payments**](docs/PaymentApi.md#list_payments) | **GET** /payments | Get all accessable payments.
112
115
  *Aimastering::PaymentCustomerApi* | [**get_default_payment_customer**](docs/PaymentCustomerApi.md#get_default_payment_customer) | **GET** /payment_customers/default | Get a default payment customer.
113
116
  *Aimastering::PlanApi* | [**list_plans**](docs/PlanApi.md#list_plans) | **GET** /plans | Get all accessable plans.
117
+ *Aimastering::SpSubscriptionApi* | [**create_sp_subscription**](docs/SpSubscriptionApi.md#create_sp_subscription) | **POST** /sp_subscriptions | Create a new smartphone subscription.
118
+ *Aimastering::SpSubscriptionApi* | [**list_sp_subscriptions**](docs/SpSubscriptionApi.md#list_sp_subscriptions) | **GET** /sp_subscriptions | Get all accessable smartphone subscriptions.
119
+ *Aimastering::StatisticsApi* | [**get_group_buy_statistics**](docs/StatisticsApi.md#get_group_buy_statistics) | **GET** /statistics/group_buy | Get group buy statistics.
114
120
  *Aimastering::StatisticsApi* | [**list_anonymized_masterings**](docs/StatisticsApi.md#list_anonymized_masterings) | **GET** /statistics/anonymized_masterings | Get anonymized masterings.
115
121
  *Aimastering::StatisticsApi* | [**list_kpis**](docs/StatisticsApi.md#list_kpis) | **GET** /statistics/kpis | Get KPIs.
116
122
  *Aimastering::SubscriptionApi* | [**cancel_subscription**](docs/SubscriptionApi.md#cancel_subscription) | **PUT** /subscriptions/{id}/cancel | Cancel a subscription by id.
@@ -119,6 +125,8 @@ Class | Method | HTTP request | Description
119
125
  *Aimastering::SubscriptionApi* | [**get_subscription**](docs/SubscriptionApi.md#get_subscription) | **GET** /subscriptions/{id} | Get a subscription by id.
120
126
  *Aimastering::SubscriptionApi* | [**list_subscriptions**](docs/SubscriptionApi.md#list_subscriptions) | **GET** /subscriptions | Get all accessable subscriptions.
121
127
  *Aimastering::UserApi* | [**get_self**](docs/UserApi.md#get_self) | **GET** /users/self | Get self user.
128
+ *Aimastering::UserApi* | [**notify_registration**](docs/UserApi.md#notify_registration) | **PUT** /users/self/notify_registration | Notify user is registered.
129
+ *Aimastering::UserApi* | [**send_invitation**](docs/UserApi.md#send_invitation) | **POST** /users/self/send_invitation | Send invitation.
122
130
  *Aimastering::UserApi* | [**update_self**](docs/UserApi.md#update_self) | **PUT** /users/self | Update self user.
123
131
  *Aimastering::VideoApi* | [**download_video**](docs/VideoApi.md#download_video) | **GET** /videos/{id}/download | Download an video data by id.
124
132
  *Aimastering::VideoApi* | [**download_video_by_token**](docs/VideoApi.md#download_video_by_token) | **GET** /videos/download_by_token | Download an video data by video_download_token.
@@ -130,6 +138,7 @@ Class | Method | HTTP request | Description
130
138
  ## Documentation for Models
131
139
 
132
140
  - [Aimastering::AccessToken](docs/AccessToken.md)
141
+ - [Aimastering::AmazonSubscription](docs/AmazonSubscription.md)
133
142
  - [Aimastering::AnonymizedMastering](docs/AnonymizedMastering.md)
134
143
  - [Aimastering::Audio](docs/Audio.md)
135
144
  - [Aimastering::AudioAnalysis](docs/AudioAnalysis.md)
@@ -138,9 +147,11 @@ Class | Method | HTTP request | Description
138
147
  - [Aimastering::ConfigAuth0](docs/ConfigAuth0.md)
139
148
  - [Aimastering::ConfigPaypal](docs/ConfigPaypal.md)
140
149
  - [Aimastering::ConfigStripe](docs/ConfigStripe.md)
150
+ - [Aimastering::ConfigVersion](docs/ConfigVersion.md)
141
151
  - [Aimastering::ExternalSearchResult](docs/ExternalSearchResult.md)
142
152
  - [Aimastering::ExternalSearchResultItunes](docs/ExternalSearchResultItunes.md)
143
153
  - [Aimastering::ExternalSearchResultYoutube](docs/ExternalSearchResultYoutube.md)
154
+ - [Aimastering::GroupBuyStatistics](docs/GroupBuyStatistics.md)
144
155
  - [Aimastering::JWT](docs/JWT.md)
145
156
  - [Aimastering::Kpi](docs/Kpi.md)
146
157
  - [Aimastering::LibraryAudio](docs/LibraryAudio.md)
@@ -150,8 +161,10 @@ Class | Method | HTTP request | Description
150
161
  - [Aimastering::Payment](docs/Payment.md)
151
162
  - [Aimastering::PaymentCustomer](docs/PaymentCustomer.md)
152
163
  - [Aimastering::Plan](docs/Plan.md)
164
+ - [Aimastering::SpSubscription](docs/SpSubscription.md)
153
165
  - [Aimastering::Subscription](docs/Subscription.md)
154
166
  - [Aimastering::User](docs/User.md)
167
+ - [Aimastering::UserStatistics](docs/UserStatistics.md)
155
168
  - [Aimastering::Video](docs/Video.md)
156
169
  - [Aimastering::VideoDownloadToken](docs/VideoDownloadToken.md)
157
170
 
data/aimastering.gemspec CHANGED
@@ -6,7 +6,7 @@
6
6
  #This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API.
7
7
 
8
8
  OpenAPI spec version: 1.0.0
9
- Contact: aimasteringcom@gmail.com
9
+ Contact: info@bakuage.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.3.1
12
12
 
@@ -19,12 +19,12 @@ Gem::Specification.new do |s|
19
19
  s.name = "aimastering"
20
20
  s.version = Aimastering::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
- s.authors = ["AI Mastering"]
23
- s.email = ["aimasteringcom@gmail.com"]
22
+ s.authors = ["Bakuage Co."]
23
+ s.email = ["info@bakuage.com"]
24
24
  s.homepage = "https://github.com/ai-mastering/aimastering-ruby"
25
25
  s.summary = "AI Mastering API Ruby Gem"
26
26
  s.description = "This is a AI Mastering API document. You can use the mastering feature of [AI Mastering](https://aimastering.com) through this API."
27
- s.license = "MIT"
27
+ s.license = "Apache 2.0"
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
@@ -1,6 +1,6 @@
1
1
  # Aimastering::AccessTokenApi
2
2
 
3
- All URIs are relative to *https://aimastering.com:443/api*
3
+ All URIs are relative to *https://api.bakuage.com:443*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -0,0 +1,12 @@
1
+ # Aimastering::AmazonSubscription
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | | [optional]
7
+ **user_id** | **Integer** | | [optional]
8
+ **status** | **String** | | [optional]
9
+ **created_at** | **DateTime** | | [optional]
10
+ **updated_at** | **DateTime** | | [optional]
11
+
12
+
@@ -0,0 +1,55 @@
1
+ # Aimastering::AmazonSubscriptionApi
2
+
3
+ All URIs are relative to *https://api.bakuage.com:443*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list_amazon_subscriptions**](AmazonSubscriptionApi.md#list_amazon_subscriptions) | **GET** /amazon_subscriptions | Get all accessable amazon subscriptions.
8
+
9
+
10
+ # **list_amazon_subscriptions**
11
+ > Array<AmazonSubscription> list_amazon_subscriptions
12
+
13
+ Get all accessable amazon subscriptions.
14
+
15
+ ### Example
16
+ ```ruby
17
+ # load the gem
18
+ require 'aimastering'
19
+ # setup authorization
20
+ Aimastering.configure do |config|
21
+ # Configure API key authorization: bearer
22
+ config.api_key['Authorization'] = 'YOUR API KEY'
23
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
24
+ #config.api_key_prefix['Authorization'] = 'Bearer'
25
+ end
26
+
27
+ api_instance = Aimastering::AmazonSubscriptionApi.new
28
+
29
+ begin
30
+ #Get all accessable amazon subscriptions.
31
+ result = api_instance.list_amazon_subscriptions
32
+ p result
33
+ rescue Aimastering::ApiError => e
34
+ puts "Exception when calling AmazonSubscriptionApi->list_amazon_subscriptions: #{e}"
35
+ end
36
+ ```
37
+
38
+ ### Parameters
39
+ This endpoint does not need any parameter.
40
+
41
+ ### Return type
42
+
43
+ [**Array<AmazonSubscription>**](AmazonSubscription.md)
44
+
45
+ ### Authorization
46
+
47
+ [bearer](../README.md#bearer)
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: Not defined
52
+ - **Accept**: application/json
53
+
54
+
55
+
data/docs/Audio.md CHANGED
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
13
13
  **probe_json** | **String** | | [optional]
14
14
  **rms** | **Float** | | [optional]
15
15
  **peak** | **Float** | | [optional]
16
+ **true_peak** | **Float** | | [optional]
17
+ **lowpass_true_peak_15khz** | **Float** | | [optional]
16
18
  **loudness** | **Float** | | [optional]
17
19
  **dynamics** | **Float** | | [optional]
18
20
  **sharpness** | **Float** | | [optional]
@@ -20,6 +22,8 @@ Name | Type | Description | Notes
20
22
  **loudness_range** | **Float** | | [optional]
21
23
  **drr** | **Float** | | [optional]
22
24
  **sound_quality** | **Float** | | [optional]
25
+ **sound_quality2** | **Float** | | [optional]
26
+ **dissonance** | **Float** | | [optional]
23
27
  **frames** | **Integer** | | [optional]
24
28
  **sample_rate** | **Integer** | | [optional]
25
29
  **channels** | **Integer** | | [optional]
data/docs/AudioApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Aimastering::AudioApi
2
2
 
3
- All URIs are relative to *https://aimastering.com:443/api*
3
+ All URIs are relative to *https://api.bakuage.com:443*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -33,7 +33,8 @@ end
33
33
  api_instance = Aimastering::AudioApi.new
34
34
 
35
35
  opts = {
36
- file: File.new("/path/to/file.txt") # File | The file to upload.
36
+ file: File.new("/path/to/file.txt"), # File | The file to upload.
37
+ name: "name_example" # String | Audio name. If this is not specified, the name in file parameter is used.
37
38
  }
38
39
 
39
40
  begin
@@ -50,6 +51,7 @@ end
50
51
  Name | Type | Description | Notes
51
52
  ------------- | ------------- | ------------- | -------------
52
53
  **file** | **File**| The file to upload. | [optional]
54
+ **name** | **String**| Audio name. If this is not specified, the name in file parameter is used. | [optional]
53
55
 
54
56
  ### Return type
55
57
 
data/docs/Config.md CHANGED
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
6
6
  **auth0** | [**ConfigAuth0**](ConfigAuth0.md) | | [optional]
7
7
  **paypal** | [**ConfigPaypal**](ConfigPaypal.md) | | [optional]
8
8
  **stripe** | [**ConfigStripe**](ConfigStripe.md) | | [optional]
9
+ **version** | [**ConfigVersion**](ConfigVersion.md) | | [optional]
9
10
 
10
11
 
data/docs/ConfigApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Aimastering::ConfigApi
2
2
 
3
- All URIs are relative to *https://aimastering.com:443/api*
3
+ All URIs are relative to *https://api.bakuage.com:443*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,7 +1,8 @@
1
- # Aimastering::DateTime
1
+ # Aimastering::ConfigVersion
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **commit** | **String** | | [optional]
6
7
 
7
8
 
@@ -1,6 +1,6 @@
1
1
  # Aimastering::ExternalSearchApi
2
2
 
3
- All URIs are relative to *https://aimastering.com:443/api*
3
+ All URIs are relative to *https://api.bakuage.com:443*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -0,0 +1,8 @@
1
+ # Aimastering::GroupBuyStatistics
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **premium_plan_subscribed_user_count** | **Integer** | | [optional]
7
+
8
+
data/docs/LibraryAudio.md CHANGED
@@ -19,6 +19,8 @@ Name | Type | Description | Notes
19
19
  **probe_json** | **String** | | [optional]
20
20
  **rms** | **Float** | | [optional]
21
21
  **peak** | **Float** | | [optional]
22
+ **true_peak** | **Float** | | [optional]
23
+ **lowpass_true_peak_15khz** | **Float** | | [optional]
22
24
  **loudness** | **Float** | | [optional]
23
25
  **dynamics** | **Float** | | [optional]
24
26
  **sharpness** | **Float** | | [optional]
@@ -26,6 +28,8 @@ Name | Type | Description | Notes
26
28
  **loudness_range** | **Float** | | [optional]
27
29
  **drr** | **Float** | | [optional]
28
30
  **sound_quality** | **Float** | | [optional]
31
+ **sound_quality2** | **Float** | | [optional]
32
+ **dissonance** | **Float** | | [optional]
29
33
  **frames** | **Integer** | | [optional]
30
34
  **sample_rate** | **Integer** | | [optional]
31
35
  **channels** | **Integer** | | [optional]
@@ -1,6 +1,6 @@
1
1
  # Aimastering::LibraryAudioApi
2
2
 
3
- All URIs are relative to *https://aimastering.com:443/api*
3
+ All URIs are relative to *https://api.bakuage.com:443*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/Mastering.md CHANGED
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **mode** | **String** | | [optional]
13
13
  **status** | **String** | | [optional]
14
14
  **failure_reason** | **String** | | [optional]
15
+ **target_loudness_mode** | **String** | | [optional]
15
16
  **target_loudness** | **Float** | | [optional]
16
17
  **output_format** | **String** | | [optional]
17
18
  **preset** | **String** | | [optional]
@@ -23,11 +24,19 @@ Name | Type | Description | Notes
23
24
  **progression** | **Float** | | [optional]
24
25
  **bass_preservation** | **BOOLEAN** | | [optional]
25
26
  **mastering** | **BOOLEAN** | | [optional]
27
+ **mastering_algorithm** | **String** | | [optional]
28
+ **preserved** | **BOOLEAN** | | [optional]
26
29
  **retry_count** | **Integer** | | [optional]
27
30
  **mastering_reverb** | **BOOLEAN** | | [optional]
28
31
  **mastering_reverb_gain** | **Float** | | [optional]
29
32
  **low_cut_freq** | **Float** | | [optional]
30
33
  **high_cut_freq** | **Float** | | [optional]
34
+ **ceiling** | **Float** | | [optional]
35
+ **ceiling_mode** | **String** | | [optional]
36
+ **oversample** | **Integer** | | [optional]
37
+ **limiting_error** | **Float** | | [optional]
38
+ **video_title** | **String** | | [optional]
39
+ **video_status** | **String** | | [optional]
31
40
  **expire_at** | **DateTime** | | [optional]
32
41
  **created_at** | **DateTime** | | [optional]
33
42
  **updated_at** | **DateTime** | | [optional]
data/docs/MasteringApi.md CHANGED
@@ -1,21 +1,23 @@
1
1
  # Aimastering::MasteringApi
2
2
 
3
- All URIs are relative to *https://aimastering.com:443/api*
3
+ All URIs are relative to *https://api.bakuage.com:443*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**cancel_mastering**](MasteringApi.md#cancel_mastering) | **PUT** /masterings/{id}/cancel | Cancel a mastering by id.
8
8
  [**create_mastering**](MasteringApi.md#create_mastering) | **POST** /masterings | Create a new mastering.
9
9
  [**delete_mastering**](MasteringApi.md#delete_mastering) | **DELETE** /masterings/{id} | Delete mastering.
10
+ [**free_unlock_mastering**](MasteringApi.md#free_unlock_mastering) | **PUT** /masterings/{id}/free_unlock | Free unlock a mastering by id.
10
11
  [**get_mastering**](MasteringApi.md#get_mastering) | **GET** /masterings/{id} | Get a mastering by id.
11
12
  [**get_mastering_unlock_product**](MasteringApi.md#get_mastering_unlock_product) | **GET** /masterings/{id}/unlock_product | Review a mastering by id.
12
13
  [**list_masterings**](MasteringApi.md#list_masterings) | **GET** /masterings | Get all accessable masterings.
13
14
  [**publish_mastering**](MasteringApi.md#publish_mastering) | **POST** /masterings/{id}/publish | Publish a mastering by id.
14
15
  [**review_mastering**](MasteringApi.md#review_mastering) | **PUT** /masterings/{id}/review | Review a mastering by id.
16
+ [**update_mastering**](MasteringApi.md#update_mastering) | **PUT** /masterings/{id} | Update a mastering.
15
17
 
16
18
 
17
19
  # **cancel_mastering**
18
- > Mastering cancel_mastering(id)
20
+ > Mastering cancel_mastering(id, )
19
21
 
20
22
  Cancel a mastering by id.
21
23
 
@@ -38,7 +40,7 @@ id = 56 # Integer | Mastering id
38
40
 
39
41
  begin
40
42
  #Cancel a mastering by id.
41
- result = api_instance.cancel_mastering(id)
43
+ result = api_instance.cancel_mastering(id, )
42
44
  p result
43
45
  rescue Aimastering::ApiError => e
44
46
  puts "Exception when calling MasteringApi->cancel_mastering: #{e}"
@@ -90,22 +92,28 @@ input_audio_id = 56 # Integer | Input audio id
90
92
  opts = {
91
93
  mode: "default", # String | Mode
92
94
  bass_preservation: false, # BOOLEAN | This parameter represents if the bass preservation is enabled.
93
- mastering: true, # BOOLEAN | This parameter represents if the mastering is enabled. This parameter is effective only when the mode is \"default\" or \"custom\".
94
- preset: "general", # String | This parameter is effective only when the mode is \"preset\".
95
- target_loudness: -5.0, # Float | This parameter represents the target loudness of the output audio in dB. This parameter is effective only when the mode is \"custom\".
95
+ mastering: false, # BOOLEAN | This parameter represents if the mastering is enabled. This parameter is effective only when the mode is \"default\" or \"custom\".
96
+ mastering_algorithm: "v2", # String |
97
+ noise_reduction: false, # BOOLEAN | This parameter represents if the nosie reduction is enabled. This parameter is effective only when the mode is \"custom\".
98
+ preset: "general", # String | This parameter is effective only when the mode is \"custom\".
99
+ target_loudness: -5, # Float | This parameter represents the target loudness of the output audio in dB. This parameter is effective only when the mode is \"custom\".
100
+ target_loudness_mode: "loudness", # String |
96
101
  mastering_matching_level: 0.5, # Float | This parameter represents the mastering reference matching level. This parameter is effective only when the mode is \"custom\" and the mastering is enabled.
97
102
  mastering_reverb: false, # BOOLEAN | This parameter represents if the mastering reverb is enabled. This parameter is effective only when the mode is \"custom\" and the mastering is enabled.
98
- mastering_reverb_gain: -36.0, # Float | 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\".
103
+ mastering_reverb_gain: -36, # Float | 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\".
99
104
  reference_audio_id: 56, # Integer | Reference audio id. This parameter is effective only when the mode is \"custom\" and the mastering is enabled.
100
- low_cut_freq: 20.0, # Float | This parameter represents the low cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\".
101
- high_cut_freq: 20000.0, # Float | This parameter represents the target loudness of the output audio in Hz. This parameter is effective only when the mode is \"custom\".
105
+ low_cut_freq: 20, # Float | This parameter represents the low cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\".
106
+ high_cut_freq: 20000, # Float | This parameter represents the high cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\".
107
+ ceiling: 0, # Float |
108
+ ceiling_mode: "0", # String |
109
+ oversample: 1, # Integer |
102
110
  sample_rate: 44100, # Integer | This parameter represents the sample rate of the output audio in dB. This parameter is effective only when the mode is \"custom\".
103
111
  bit_depth: 16, # Integer | This parameter represents the bit depth of the output audio in dB. This parameter is effective only when the mode is \"custom\".
104
112
  output_format: "wav", # String | This parameter represents the format of the output audio. This parameter is effective only when the mode is \"custom\".
105
113
  for_preview: false, # BOOLEAN | If this is true, the mastering is treated for preview purpose (ex. not purchasable, not publishable, short lifetime).
106
- start_at: 0.0, # Float | Partial mastering start at.
107
- end_at: -1.0, # Float | Partial mastering end at.
108
- is_bakuage: false # BOOLEAN | Deprecated. For backward compatibility.
114
+ start_at: 0, # Float | Partial mastering start at.
115
+ end_at: -1, # Float | Partial mastering end at.
116
+ video_title: "" # String | This parameter represents the title of output video.
109
117
  }
110
118
 
111
119
  begin
@@ -124,22 +132,28 @@ Name | Type | Description | Notes
124
132
  **input_audio_id** | **Integer**| Input audio id |
125
133
  **mode** | **String**| Mode | [optional] [default to default]
126
134
  **bass_preservation** | **BOOLEAN**| This parameter represents if the bass preservation is enabled. | [optional] [default to false]
127
- **mastering** | **BOOLEAN**| This parameter represents if the mastering is enabled. This parameter is effective only when the mode is \"default\" or \"custom\". | [optional] [default to true]
128
- **preset** | **String**| This parameter is effective only when the mode is \"preset\". | [optional] [default to general]
129
- **target_loudness** | **Float**| This parameter represents the target loudness of the output audio in dB. This parameter is effective only when the mode is \"custom\". | [optional] [default to -5.0]
135
+ **mastering** | **BOOLEAN**| This parameter represents if the mastering is enabled. This parameter is effective only when the mode is \"default\" or \"custom\". | [optional] [default to false]
136
+ **mastering_algorithm** | **String**| | [optional] [default to v2]
137
+ **noise_reduction** | **BOOLEAN**| This parameter represents if the nosie reduction is enabled. This parameter is effective only when the mode is \"custom\". | [optional] [default to false]
138
+ **preset** | **String**| This parameter is effective only when the mode is \"custom\". | [optional] [default to general]
139
+ **target_loudness** | **Float**| This parameter represents the target loudness of the output audio in dB. This parameter is effective only when the mode is \"custom\". | [optional] [default to -5]
140
+ **target_loudness_mode** | **String**| | [optional] [default to loudness]
130
141
  **mastering_matching_level** | **Float**| This parameter represents the mastering reference matching level. This parameter is effective only when the mode is \"custom\" and the mastering is enabled. | [optional] [default to 0.5]
131
142
  **mastering_reverb** | **BOOLEAN**| This parameter represents if the mastering reverb is enabled. This parameter is effective only when the mode is \"custom\" and the mastering is enabled. | [optional] [default to false]
132
- **mastering_reverb_gain** | **Float**| 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\". | [optional] [default to -36.0]
143
+ **mastering_reverb_gain** | **Float**| 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\". | [optional] [default to -36]
133
144
  **reference_audio_id** | **Integer**| Reference audio id. This parameter is effective only when the mode is \"custom\" and the mastering is enabled. | [optional]
134
- **low_cut_freq** | **Float**| This parameter represents the low cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\". | [optional] [default to 20.0]
135
- **high_cut_freq** | **Float**| This parameter represents the target loudness of the output audio in Hz. This parameter is effective only when the mode is \"custom\". | [optional] [default to 20000.0]
145
+ **low_cut_freq** | **Float**| This parameter represents the low cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\". | [optional] [default to 20]
146
+ **high_cut_freq** | **Float**| This parameter represents the high cut freq of the output audio in Hz. This parameter is effective only when the mode is \"custom\". | [optional] [default to 20000]
147
+ **ceiling** | **Float**| | [optional] [default to 0]
148
+ **ceiling_mode** | **String**| | [optional] [default to 0]
149
+ **oversample** | **Integer**| | [optional] [default to 1]
136
150
  **sample_rate** | **Integer**| This parameter represents the sample rate of the output audio in dB. This parameter is effective only when the mode is \"custom\". | [optional] [default to 44100]
137
151
  **bit_depth** | **Integer**| This parameter represents the bit depth of the output audio in dB. This parameter is effective only when the mode is \"custom\". | [optional] [default to 16]
138
152
  **output_format** | **String**| This parameter represents the format of the output audio. This parameter is effective only when the mode is \"custom\". | [optional] [default to wav]
139
153
  **for_preview** | **BOOLEAN**| If this is true, the mastering is treated for preview purpose (ex. not purchasable, not publishable, short lifetime). | [optional] [default to false]
140
- **start_at** | **Float**| Partial mastering start at. | [optional] [default to 0.0]
141
- **end_at** | **Float**| Partial mastering end at. | [optional] [default to -1.0]
142
- **is_bakuage** | **BOOLEAN**| Deprecated. For backward compatibility. | [optional] [default to false]
154
+ **start_at** | **Float**| Partial mastering start at. | [optional] [default to 0]
155
+ **end_at** | **Float**| Partial mastering end at. | [optional] [default to -1]
156
+ **video_title** | **String**| This parameter represents the title of output video. | [optional] [default to ]
143
157
 
144
158
  ### Return type
145
159
 
@@ -157,7 +171,7 @@ Name | Type | Description | Notes
157
171
 
158
172
 
159
173
  # **delete_mastering**
160
- > Mastering delete_mastering(id)
174
+ > Mastering delete_mastering(id, )
161
175
 
162
176
  Delete mastering.
163
177
 
@@ -180,7 +194,7 @@ id = 56 # Integer | Mastering id
180
194
 
181
195
  begin
182
196
  #Delete mastering.
183
- result = api_instance.delete_mastering(id)
197
+ result = api_instance.delete_mastering(id, )
184
198
  p result
185
199
  rescue Aimastering::ApiError => e
186
200
  puts "Exception when calling MasteringApi->delete_mastering: #{e}"
@@ -208,8 +222,60 @@ Name | Type | Description | Notes
208
222
 
209
223
 
210
224
 
225
+ # **free_unlock_mastering**
226
+ > Mastering free_unlock_mastering(id, )
227
+
228
+ Free unlock a mastering by id.
229
+
230
+ ### Example
231
+ ```ruby
232
+ # load the gem
233
+ require 'aimastering'
234
+ # setup authorization
235
+ Aimastering.configure do |config|
236
+ # Configure API key authorization: bearer
237
+ config.api_key['Authorization'] = 'YOUR API KEY'
238
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
239
+ #config.api_key_prefix['Authorization'] = 'Bearer'
240
+ end
241
+
242
+ api_instance = Aimastering::MasteringApi.new
243
+
244
+ id = 56 # Integer | Mastering id
245
+
246
+
247
+ begin
248
+ #Free unlock a mastering by id.
249
+ result = api_instance.free_unlock_mastering(id, )
250
+ p result
251
+ rescue Aimastering::ApiError => e
252
+ puts "Exception when calling MasteringApi->free_unlock_mastering: #{e}"
253
+ end
254
+ ```
255
+
256
+ ### Parameters
257
+
258
+ Name | Type | Description | Notes
259
+ ------------- | ------------- | ------------- | -------------
260
+ **id** | **Integer**| Mastering id |
261
+
262
+ ### Return type
263
+
264
+ [**Mastering**](Mastering.md)
265
+
266
+ ### Authorization
267
+
268
+ [bearer](../README.md#bearer)
269
+
270
+ ### HTTP request headers
271
+
272
+ - **Content-Type**: Not defined
273
+ - **Accept**: application/json
274
+
275
+
276
+
211
277
  # **get_mastering**
212
- > Mastering get_mastering(id)
278
+ > Mastering get_mastering(id, )
213
279
 
214
280
  Get a mastering by id.
215
281
 
@@ -232,7 +298,7 @@ id = 56 # Integer | Mastering id
232
298
 
233
299
  begin
234
300
  #Get a mastering by id.
235
- result = api_instance.get_mastering(id)
301
+ result = api_instance.get_mastering(id, )
236
302
  p result
237
303
  rescue Aimastering::ApiError => e
238
304
  puts "Exception when calling MasteringApi->get_mastering: #{e}"
@@ -261,7 +327,7 @@ Name | Type | Description | Notes
261
327
 
262
328
 
263
329
  # **get_mastering_unlock_product**
264
- > Mastering get_mastering_unlock_product(id)
330
+ > Mastering get_mastering_unlock_product(id, )
265
331
 
266
332
  Review a mastering by id.
267
333
 
@@ -284,7 +350,7 @@ id = 56 # Integer | Mastering id
284
350
 
285
351
  begin
286
352
  #Review a mastering by id.
287
- result = api_instance.get_mastering_unlock_product(id)
353
+ result = api_instance.get_mastering_unlock_product(id, )
288
354
  p result
289
355
  rescue Aimastering::ApiError => e
290
356
  puts "Exception when calling MasteringApi->get_mastering_unlock_product: #{e}"
@@ -423,7 +489,7 @@ Name | Type | Description | Notes
423
489
 
424
490
 
425
491
  # **review_mastering**
426
- > Mastering review_mastering(id, opts)
492
+ > Mastering review_mastering(id, , opts)
427
493
 
428
494
  Review a mastering by id.
429
495
 
@@ -450,7 +516,7 @@ opts = {
450
516
 
451
517
  begin
452
518
  #Review a mastering by id.
453
- result = api_instance.review_mastering(id, opts)
519
+ result = api_instance.review_mastering(id, , opts)
454
520
  p result
455
521
  rescue Aimastering::ApiError => e
456
522
  puts "Exception when calling MasteringApi->review_mastering: #{e}"
@@ -480,3 +546,59 @@ Name | Type | Description | Notes
480
546
 
481
547
 
482
548
 
549
+ # **update_mastering**
550
+ > Mastering update_mastering(id, , opts)
551
+
552
+ Update a mastering.
553
+
554
+ ### Example
555
+ ```ruby
556
+ # load the gem
557
+ require 'aimastering'
558
+ # setup authorization
559
+ Aimastering.configure do |config|
560
+ # Configure API key authorization: bearer
561
+ config.api_key['Authorization'] = 'YOUR API KEY'
562
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
563
+ #config.api_key_prefix['Authorization'] = 'Bearer'
564
+ end
565
+
566
+ api_instance = Aimastering::MasteringApi.new
567
+
568
+ id = 56 # Integer | Mastering id
569
+
570
+ opts = {
571
+ preserved: true # BOOLEAN | Disable auto delete.
572
+ }
573
+
574
+ begin
575
+ #Update a mastering.
576
+ result = api_instance.update_mastering(id, , opts)
577
+ p result
578
+ rescue Aimastering::ApiError => e
579
+ puts "Exception when calling MasteringApi->update_mastering: #{e}"
580
+ end
581
+ ```
582
+
583
+ ### Parameters
584
+
585
+ Name | Type | Description | Notes
586
+ ------------- | ------------- | ------------- | -------------
587
+ **id** | **Integer**| Mastering id |
588
+ **preserved** | **BOOLEAN**| Disable auto delete. | [optional]
589
+
590
+ ### Return type
591
+
592
+ [**Mastering**](Mastering.md)
593
+
594
+ ### Authorization
595
+
596
+ [bearer](../README.md#bearer)
597
+
598
+ ### HTTP request headers
599
+
600
+ - **Content-Type**: multipart/form-data
601
+ - **Accept**: application/json
602
+
603
+
604
+