@mivis/petmart-api 1.2.319 → 1.2.320
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 +9 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -478,6 +478,15 @@ declare namespace Components {
|
|
|
478
478
|
generatedImage?: string;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
+
/**
|
|
482
|
+
* Тело запроса PATCH `/api/admin/products/:id/quick-update` — точечное изменение цены и остатка без multipart.
|
|
483
|
+
* Идентификатор товара передаётся в path (`:id`), не в теле.
|
|
484
|
+
*/
|
|
485
|
+
export interface IQuickUpdateProductRequest {
|
|
486
|
+
price?: number;
|
|
487
|
+
in_stock?: number;
|
|
488
|
+
}
|
|
489
|
+
|
|
481
490
|
export interface ICreateCart {
|
|
482
491
|
product_id: string;
|
|
483
492
|
count: number;
|