|
19 | 19 | use Akeneo\Pim\ApiClient\Api\AttributeGroupApiInterface; |
20 | 20 | use Akeneo\Pim\ApiClient\Api\AttributeOptionApiInterface; |
21 | 21 | use Akeneo\Pim\ApiClient\Api\CategoryApiInterface; |
| 22 | +use Akeneo\Pim\ApiClient\Api\CategoryMediaFileApi; |
22 | 23 | use Akeneo\Pim\ApiClient\Api\ChannelApiInterface; |
23 | 24 | use Akeneo\Pim\ApiClient\Api\CurrencyApiInterface; |
24 | 25 | use Akeneo\Pim\ApiClient\Api\FamilyApiInterface; |
|
27 | 28 | use Akeneo\Pim\ApiClient\Api\MeasureFamilyApiInterface; |
28 | 29 | use Akeneo\Pim\ApiClient\Api\MeasurementFamilyApiInterface; |
29 | 30 | use Akeneo\Pim\ApiClient\Api\MediaFileApiInterface; |
| 31 | +use Akeneo\Pim\ApiClient\Api\Operation\DownloadableResourceInterface; |
30 | 32 | use Akeneo\Pim\ApiClient\Api\ProductApiInterface; |
31 | 33 | use Akeneo\Pim\ApiClient\Api\ProductDraftApiInterface; |
32 | 34 | use Akeneo\Pim\ApiClient\Api\ProductDraftUuidApiInterface; |
@@ -54,6 +56,7 @@ public function __construct( |
54 | 56 | protected Authentication $authentication, |
55 | 57 | protected ProductApiInterface $productApi, |
56 | 58 | protected CategoryApiInterface $categoryApi, |
| 59 | + protected DownloadableResourceInterface $categoryMediaFileApi, |
57 | 60 | protected AttributeApiInterface $attributeApi, |
58 | 61 | protected AttributeOptionApiInterface $attributeOptionApi, |
59 | 62 | protected AttributeGroupApiInterface $attributeGroupApi, |
@@ -124,6 +127,14 @@ public function getCategoryApi(): CategoryApiInterface |
124 | 127 | return $this->categoryApi; |
125 | 128 | } |
126 | 129 |
|
| 130 | + /** |
| 131 | + * {@inheritdoc} |
| 132 | + */ |
| 133 | + public function getCategoryMediaFileApi(): DownloadableResourceInterface |
| 134 | + { |
| 135 | + return $this->categoryMediaFileApi; |
| 136 | + } |
| 137 | + |
127 | 138 | /** |
128 | 139 | * {@inheritdoc} |
129 | 140 | */ |
|
0 commit comments