@mivis/petmart-api 1.2.305 → 1.2.306

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 +18 -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.306",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -2376,6 +2376,24 @@ declare namespace Components {
2376
2376
  description?: string;
2377
2377
  }
2378
2378
 
2379
+ export interface IUpdatePromo {
2380
+ discount_type?: EDiscountType;
2381
+ discount_value?: number;
2382
+ start_date?: string;
2383
+ end_date?: string;
2384
+ usage_limit_user?: number;
2385
+ target_type?: EPromoTargetType;
2386
+ target_sellers?: string[];
2387
+ target_categories?: string[];
2388
+ target_subcategories?: string[];
2389
+ target_products?: string[];
2390
+ description?: string;
2391
+ }
2392
+
2393
+ export interface IRemovePromo {
2394
+ id: string;
2395
+ }
2396
+
2379
2397
  export interface IApplyPromo {
2380
2398
  code: string;
2381
2399
  source: EPromoCodeSource;