@mivis/petmart-api 1.2.305 → 1.2.307

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 +23 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.305",
3
+ "version": "1.2.307",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -2376,6 +2376,29 @@ declare namespace Components {
2376
2376
  description?: string;
2377
2377
  }
2378
2378
 
2379
+ export interface IUpdatePromo {
2380
+ code?: string;
2381
+ discount_type?: EDiscountType;
2382
+ discount_value?: number;
2383
+ start_date?: string;
2384
+ end_date?: string;
2385
+ usage_limit_user?: number;
2386
+ target_type?: EPromoTargetType;
2387
+ target_sellers?: string[];
2388
+ target_categories?: string[];
2389
+ target_subcategories?: string[];
2390
+ target_products?: string[];
2391
+ description?: string;
2392
+ }
2393
+
2394
+ export interface IUpdatePromoStatus {
2395
+ status: EPromoStatus;
2396
+ }
2397
+
2398
+ export interface IRemovePromo {
2399
+ id: string;
2400
+ }
2401
+
2379
2402
  export interface IApplyPromo {
2380
2403
  code: string;
2381
2404
  source: EPromoCodeSource;