@mivis/petmart-api 1.2.301 → 1.2.303
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 +34 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -2405,7 +2405,10 @@ declare namespace Components {
|
|
|
2405
2405
|
usage_limit_user: number;
|
|
2406
2406
|
used_count: number;
|
|
2407
2407
|
target_type: EPromoTargetType;
|
|
2408
|
-
target_sellers:
|
|
2408
|
+
target_sellers: {
|
|
2409
|
+
_id: string;
|
|
2410
|
+
shop_details: IShopDetails;
|
|
2411
|
+
}[];
|
|
2409
2412
|
target_categories: string[];
|
|
2410
2413
|
target_subcategories: string[];
|
|
2411
2414
|
target_products: string[];
|
|
@@ -2418,9 +2421,39 @@ declare namespace Components {
|
|
|
2418
2421
|
updatedAt: Date;
|
|
2419
2422
|
}
|
|
2420
2423
|
|
|
2424
|
+
export interface IGetHelperCategoriesQuery {
|
|
2425
|
+
seller_ids?: string;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
export interface IGetHelperProductsQuery {
|
|
2429
|
+
seller_ids?: string;
|
|
2430
|
+
category_ids?: string;
|
|
2431
|
+
subcategory_ids?: string;
|
|
2432
|
+
search?: string;
|
|
2433
|
+
skip: string;
|
|
2434
|
+
limit: string;
|
|
2435
|
+
sort_seller_id?: string;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
export interface IHelperProductsResponse {
|
|
2439
|
+
items: IProductResponse[];
|
|
2440
|
+
count: number;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
export interface IHelperCategory {
|
|
2444
|
+
_id: string;
|
|
2445
|
+
name: string;
|
|
2446
|
+
subcategories: {
|
|
2447
|
+
_id: string;
|
|
2448
|
+
name: string;
|
|
2449
|
+
category_id: string;
|
|
2450
|
+
}[];
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2421
2453
|
export interface IGetPromoCodesQuery extends FilterBaseQuery {
|
|
2422
2454
|
code?: string;
|
|
2423
2455
|
status?: EPromoStatus;
|
|
2456
|
+
seller_id?: string;
|
|
2424
2457
|
}
|
|
2425
2458
|
|
|
2426
2459
|
export interface IGetPromoCodesResponse {
|