@mivis/petmart-api 1.2.86 → 1.2.87

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 +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.86",
3
+ "version": "1.2.87",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -789,8 +789,8 @@ declare namespace Components {
789
789
  _id: string;
790
790
  product_id: string;
791
791
  count: number;
792
- price: number;
793
- dimension: IDimension;
792
+ price: number; // Сумма за одну единицу товара * количество товаров
793
+ dimension: IDimension; // Габариты за единицу товара
794
794
  items_status: EOrderItemsStatus;
795
795
  }
796
796
 
@@ -931,7 +931,8 @@ declare namespace Components {
931
931
  export interface IOrder {
932
932
  _id: string;
933
933
  sum: number;
934
- weight: number;
934
+ full_sum: number; // Сумма с учетом доставки и коммиссии сервиса
935
+ weight: number; // Общий вес в граммах
935
936
  user_id?: string;
936
937
  items: IOrderItem[];
937
938
  seller_id?: string;