@mivis/petmart-api 1.2.306 → 1.2.308

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 +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.306",
3
+ "version": "1.2.308",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -527,6 +527,11 @@ declare namespace Components {
527
527
  updatedAt: Date;
528
528
  }
529
529
 
530
+ export interface ICartResponse {
531
+ items: ICart[];
532
+ promoBreakdown: Record<string, number>;
533
+ }
534
+
530
535
  export interface ICreateCartResponse {
531
536
  message?: string;
532
537
  cartItem: ICart;
@@ -2377,6 +2382,7 @@ declare namespace Components {
2377
2382
  }
2378
2383
 
2379
2384
  export interface IUpdatePromo {
2385
+ code?: string;
2380
2386
  discount_type?: EDiscountType;
2381
2387
  discount_value?: number;
2382
2388
  start_date?: string;
@@ -2390,6 +2396,10 @@ declare namespace Components {
2390
2396
  description?: string;
2391
2397
  }
2392
2398
 
2399
+ export interface IUpdatePromoStatus {
2400
+ status: EPromoStatus;
2401
+ }
2402
+
2393
2403
  export interface IRemovePromo {
2394
2404
  id: string;
2395
2405
  }