@mivis/petmart-api 1.2.304 → 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.
- package/package.json +1 -1
- package/type.d.ts +19 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -257,6 +257,7 @@ declare namespace Components {
|
|
|
257
257
|
export interface IProductEvent {
|
|
258
258
|
name: string;
|
|
259
259
|
colors: string[];
|
|
260
|
+
textColor?: string;
|
|
260
261
|
icon?: string;
|
|
261
262
|
}
|
|
262
263
|
|
|
@@ -2375,6 +2376,24 @@ declare namespace Components {
|
|
|
2375
2376
|
description?: string;
|
|
2376
2377
|
}
|
|
2377
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
|
+
|
|
2378
2397
|
export interface IApplyPromo {
|
|
2379
2398
|
code: string;
|
|
2380
2399
|
source: EPromoCodeSource;
|