@mivis/petmart-api 1.2.264 → 1.2.268

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +15 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.264",
3
+ "version": "1.2.268",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -270,6 +270,7 @@ declare namespace Components {
270
270
  dimension: IDimension;
271
271
  photo: string[];
272
272
  desc: string;
273
+ old_desc: string;
273
274
  characteristic: ICharacteristic[];
274
275
  external_item_id: string | null;
275
276
  variations?: IProduct[];
@@ -361,6 +362,7 @@ declare namespace Components {
361
362
  dimension: IDimension;
362
363
  photo: string[];
363
364
  desc: string;
365
+ old_desc: string;
364
366
  characteristic: ICharacteristic[];
365
367
  variations?: IProduct[];
366
368
  purchases_count: number;
@@ -2384,6 +2386,7 @@ declare namespace Components {
2384
2386
  productId: string;
2385
2387
  type?: string;
2386
2388
  additionalPrompt?: string;
2389
+ removedBackgroundLink?: string;
2387
2390
  }
2388
2391
 
2389
2392
  /**
@@ -2417,7 +2420,6 @@ declare namespace Components {
2417
2420
  export interface EnhancementResponse {
2418
2421
  _id: string;
2419
2422
  product: PopulatedProduct;
2420
- old_desc: string;
2421
2423
  ai_characteristics_variants: EnhancementCharacteristicsResponse[];
2422
2424
  ai_descriptions_variants: EnhancementDescriptionResponse[];
2423
2425
  ai_image_variants: EnhancementImageResponse[];
@@ -2447,6 +2449,7 @@ declare namespace Components {
2447
2449
  new_desc: string;
2448
2450
  status: string;
2449
2451
  additionalPrompt?: string;
2452
+ enhancementId: string;
2450
2453
  createdAt: Date;
2451
2454
  updatedAt: Date;
2452
2455
  }
@@ -2456,6 +2459,7 @@ declare namespace Components {
2456
2459
  productId: string;
2457
2460
  characteristics: ICharacteristic[];
2458
2461
  status: string;
2462
+ enhancementId: string;
2459
2463
  createdAt: Date;
2460
2464
  updatedAt: Date;
2461
2465
  }
@@ -2466,6 +2470,7 @@ declare namespace Components {
2466
2470
  image: string;
2467
2471
  type: EEnhancementImageType;
2468
2472
  status: string;
2473
+ enhancementId: string;
2469
2474
  createdAt: Date;
2470
2475
  updatedAt: Date;
2471
2476
  }
@@ -2485,5 +2490,14 @@ declare namespace Components {
2485
2490
  sortBy?: string;
2486
2491
  sortOrder?: SortOrder;
2487
2492
  }
2493
+
2494
+ export interface MergeAiVariantsResponse {
2495
+ success: boolean;
2496
+ mergedCount: number;
2497
+ errors: Array<{
2498
+ productId: string;
2499
+ error: string;
2500
+ }>;
2501
+ }
2488
2502
  }
2489
2503
  }