@mivis/petmart-api 1.2.262 → 1.2.263
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.
- package/package.json +1 -1
- package/type.d.ts +18 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -2380,6 +2380,7 @@ declare namespace Components {
|
|
|
2380
2380
|
* Payload для запроса на улучшение изображения
|
|
2381
2381
|
*/
|
|
2382
2382
|
export interface EnhanceImagePayload {
|
|
2383
|
+
photo?: File;
|
|
2383
2384
|
productId: string;
|
|
2384
2385
|
type?: string;
|
|
2385
2386
|
additionalPrompt?: string;
|
|
@@ -2415,7 +2416,7 @@ declare namespace Components {
|
|
|
2415
2416
|
*/
|
|
2416
2417
|
export interface EnhancementResponse {
|
|
2417
2418
|
_id: string;
|
|
2418
|
-
|
|
2419
|
+
product: PopulatedProduct;
|
|
2419
2420
|
old_desc: string;
|
|
2420
2421
|
ai_characteristics_variants: EnhancementCharacteristicsResponse[];
|
|
2421
2422
|
ai_description_variants: EnhancementDescriptionResponse[];
|
|
@@ -2424,6 +2425,22 @@ declare namespace Components {
|
|
|
2424
2425
|
updatedAt: Date;
|
|
2425
2426
|
}
|
|
2426
2427
|
|
|
2428
|
+
export interface PopulatedProduct {
|
|
2429
|
+
_id: string;
|
|
2430
|
+
vendor_code?: string;
|
|
2431
|
+
article?: string;
|
|
2432
|
+
name: string;
|
|
2433
|
+
photo: string[];
|
|
2434
|
+
category: {
|
|
2435
|
+
_id: string;
|
|
2436
|
+
name: string;
|
|
2437
|
+
};
|
|
2438
|
+
subCategory: {
|
|
2439
|
+
_id: string;
|
|
2440
|
+
name: string;
|
|
2441
|
+
};
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2427
2444
|
export interface EnhancementDescriptionResponse {
|
|
2428
2445
|
_id: string;
|
|
2429
2446
|
productId: string;
|