@mivis/petmart-api 1.2.98 → 1.2.100
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 +3 -2
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -654,8 +654,6 @@ declare namespace Components {
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
export interface IAdminRemoveOrderItemRequest {
|
|
657
|
-
product_number: number;
|
|
658
|
-
count: number;
|
|
659
657
|
current_items: IPopulatedOrderItem[];
|
|
660
658
|
delivery_sum?: number;
|
|
661
659
|
}
|
|
@@ -940,6 +938,8 @@ declare namespace Components {
|
|
|
940
938
|
|
|
941
939
|
export interface IOrder {
|
|
942
940
|
_id: string;
|
|
941
|
+
total_received: number; // Сколько всего заплатил покупатель за этот заказ (сумма товаров + доставки)
|
|
942
|
+
current_commission: number; // Текущая комиссия продавца за заказ (Сумма товаров * комиссию продавца / 100)
|
|
943
943
|
sum: number;
|
|
944
944
|
full_sum: number; // Сумма с учетом доставки и коммиссии сервиса
|
|
945
945
|
weight: number; // Общий вес в граммах
|
|
@@ -1098,6 +1098,7 @@ declare namespace Components {
|
|
|
1098
1098
|
|
|
1099
1099
|
export interface ISellerTransactions {
|
|
1100
1100
|
_id: string;
|
|
1101
|
+
total_received: number; // Сумма которую оплатил покупатель за этот заказ (сумма товаров + сумма доставки)
|
|
1101
1102
|
type: ESellerTransactionsType;
|
|
1102
1103
|
sum: number;
|
|
1103
1104
|
admin_id?: string;
|