@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.319",
3
+ "version": "1.2.320",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
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;