ozon-api 1.0.1 → 1.0.2

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.
@@ -187,8 +187,55 @@ export declare namespace Product {
187
187
  items: ProductImportQueryItems[];
188
188
  }
189
189
  interface ProductImportQueryItems {
190
- attributes: [];
190
+ "attributes": {
191
+ "complex_id": number;
192
+ "id": number;
193
+ "values": {
194
+ "dictionary_value_id": number;
195
+ "value": string;
196
+ }[];
197
+ }[];
198
+ "barcode": string;
199
+ "description_category_id": number;
200
+ "new_description_category_id": number;
201
+ "color_image": string;
202
+ "complex_attributes": {
203
+ attributes: {
204
+ complex_id: number;
205
+ id: number;
206
+ values: {
207
+ dictionary_value_id: number;
208
+ value: string;
209
+ }[];
210
+ }[];
211
+ }[];
212
+ "currency_code": string;
213
+ "depth": number;
214
+ "dimension_unit": string;
215
+ "height": number;
216
+ "images": string[];
217
+ "images360": string[];
218
+ "name": string;
219
+ "offer_id": string;
220
+ "old_price": string;
221
+ "pdf_list": {
222
+ index: number;
223
+ name: string;
224
+ url: string;
225
+ }[];
226
+ "price": string;
227
+ "primary_image": string;
228
+ "promotions": {
229
+ "operation": "UNKNOWN" | 'ENABLE' | 'DISABLE';
230
+ "type": "REVIEWS_PROMO";
231
+ }[];
232
+ "type_id": number;
233
+ "vat": string;
234
+ "weight": number;
235
+ "weight_unit": string;
236
+ "width": number;
191
237
  }
192
238
  interface ProductImportResult {
239
+ "task_id": number;
193
240
  }
194
241
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ozon-api",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "OZON Seller API",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",