diff --git a/src/AkeneoPimClient.php b/src/AkeneoPimClient.php index 4611fce..c06b0a0 100644 --- a/src/AkeneoPimClient.php +++ b/src/AkeneoPimClient.php @@ -331,7 +331,8 @@ public function getProductDraftApi(): ProductDraftApiInterface } /** - * @return AssetApiInterface + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. + * @see getAssetManagerApi instead. */ public function getAssetApi(): AssetApiInterface { @@ -339,7 +340,8 @@ public function getAssetApi(): AssetApiInterface } /** - * {@inheritdoc} + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. + * @see getAssetFamilyApi instead. */ public function getAssetCategoryApi(): AssetCategoryApiInterface { @@ -347,7 +349,7 @@ public function getAssetCategoryApi(): AssetCategoryApiInterface } /** - * {@inheritdoc} + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. */ public function getAssetTagApi(): AssetTagApiInterface { @@ -355,7 +357,7 @@ public function getAssetTagApi(): AssetTagApiInterface } /** - * {@inheritdoc} + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. */ public function getAssetReferenceFileApi(): AssetReferenceFileApiInterface { @@ -363,7 +365,7 @@ public function getAssetReferenceFileApi(): AssetReferenceFileApiInterface } /** - * {@inheritdoc} + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. */ public function getAssetVariationFileApi(): AssetVariationFileApiInterface { diff --git a/src/AkeneoPimClientInterface.php b/src/AkeneoPimClientInterface.php index df81a3f..912a51a 100644 --- a/src/AkeneoPimClientInterface.php +++ b/src/AkeneoPimClientInterface.php @@ -89,14 +89,31 @@ public function getProductModelDraftApi(): ProductModelDraftApiInterface; public function getProductDraftApi(): ProductDraftApiInterface; + /** + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. + * @see getAssetManagerApi instead. + */ public function getAssetApi(): AssetApiInterface; + /** + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. + * @see getAssetFamilyApi instead. + */ public function getAssetCategoryApi(): AssetCategoryApiInterface; + /** + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. + */ public function getAssetTagApi(): AssetTagApiInterface; + /** + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. + */ public function getAssetReferenceFileApi(): AssetReferenceFileApiInterface; + /** + * @deprecated Route unavailable in latest PIM versions. Will be removed in v12.0.0. + */ public function getAssetVariationFileApi(): AssetVariationFileApiInterface; public function getReferenceEntityRecordApi(): ReferenceEntityRecordApiInterface; diff --git a/src/Api/AssetApi.php b/src/Api/AssetApi.php index 0fe06fd..38a922e 100644 --- a/src/Api/AssetApi.php +++ b/src/Api/AssetApi.php @@ -17,6 +17,8 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. + * @see \Akeneo\Pim\ApiClient\Api\AssetManager\AssetApi instead. */ class AssetApi implements AssetApiInterface { diff --git a/src/Api/AssetApiInterface.php b/src/Api/AssetApiInterface.php index aa1dc85..d681ecc 100644 --- a/src/Api/AssetApiInterface.php +++ b/src/Api/AssetApiInterface.php @@ -16,6 +16,8 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. + * @see \Akeneo\Pim\ApiClient\Api\AssetManager\AssetApiInterface instead. */ interface AssetApiInterface extends GettableResourceInterface, diff --git a/src/Api/AssetCategoryApi.php b/src/Api/AssetCategoryApi.php index 375babe..f673cc8 100644 --- a/src/Api/AssetCategoryApi.php +++ b/src/Api/AssetCategoryApi.php @@ -17,6 +17,8 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. + * @see \Akeneo\Pim\ApiClient\Api\AssetManager\AssetFamilyApi instead. */ class AssetCategoryApi implements AssetCategoryApiInterface { diff --git a/src/Api/AssetCategoryApiInterface.php b/src/Api/AssetCategoryApiInterface.php index 03ea3b0..6383b98 100644 --- a/src/Api/AssetCategoryApiInterface.php +++ b/src/Api/AssetCategoryApiInterface.php @@ -16,6 +16,8 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. + * @see \Akeneo\Pim\ApiClient\Api\AssetManager\AssetFamilyApiInterface instead. */ interface AssetCategoryApiInterface extends GettableResourceInterface, diff --git a/src/Api/AssetReferenceFileApi.php b/src/Api/AssetReferenceFileApi.php index c642c1b..998f629 100644 --- a/src/Api/AssetReferenceFileApi.php +++ b/src/Api/AssetReferenceFileApi.php @@ -15,6 +15,8 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. + * @see \Akeneo\Pim\ApiClient\Api\AssetManager\AssetMediaFileApi instead. */ class AssetReferenceFileApi implements AssetReferenceFileApiInterface { diff --git a/src/Api/AssetReferenceFileApiInterface.php b/src/Api/AssetReferenceFileApiInterface.php index 3c3eda6..e58eb1a 100644 --- a/src/Api/AssetReferenceFileApiInterface.php +++ b/src/Api/AssetReferenceFileApiInterface.php @@ -14,6 +14,8 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. + * @see \Akeneo\Pim\ApiClient\Api\AssetManager\AssetMediaFileApiInterface instead. */ interface AssetReferenceFileApiInterface { diff --git a/src/Api/AssetTagApi.php b/src/Api/AssetTagApi.php index 097881a..5e4e339 100644 --- a/src/Api/AssetTagApi.php +++ b/src/Api/AssetTagApi.php @@ -16,6 +16,7 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. */ class AssetTagApi implements AssetTagApiInterface { diff --git a/src/Api/AssetTagApiInterface.php b/src/Api/AssetTagApiInterface.php index f4283f5..e3495a3 100644 --- a/src/Api/AssetTagApiInterface.php +++ b/src/Api/AssetTagApiInterface.php @@ -14,6 +14,7 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. */ interface AssetTagApiInterface extends GettableResourceInterface, ListableResourceInterface, UpsertableResourceInterface { diff --git a/src/Api/AssetVariationFileApi.php b/src/Api/AssetVariationFileApi.php index 217ee42..2a3d268 100644 --- a/src/Api/AssetVariationFileApi.php +++ b/src/Api/AssetVariationFileApi.php @@ -14,6 +14,7 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. */ class AssetVariationFileApi implements AssetVariationFileApiInterface { diff --git a/src/Api/AssetVariationFileApiInterface.php b/src/Api/AssetVariationFileApiInterface.php index 188e358..0c74aa0 100644 --- a/src/Api/AssetVariationFileApiInterface.php +++ b/src/Api/AssetVariationFileApiInterface.php @@ -12,6 +12,7 @@ * @author Laurent Petard * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + * @deprecated Route unavailable in latest PIM versions. Class will be removed in v12.0.0. */ interface AssetVariationFileApiInterface {