@mivis/petmart-api 1.2.99 → 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 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -938,6 +938,8 @@ declare namespace Components {
|
|
|
938
938
|
|
|
939
939
|
export interface IOrder {
|
|
940
940
|
_id: string;
|
|
941
|
+
total_received: number; // Сколько всего заплатил покупатель за этот заказ (сумма товаров + доставки)
|
|
942
|
+
current_commission: number; // Текущая комиссия продавца за заказ (Сумма товаров * комиссию продавца / 100)
|
|
941
943
|
sum: number;
|
|
942
944
|
full_sum: number; // Сумма с учетом доставки и коммиссии сервиса
|
|
943
945
|
weight: number; // Общий вес в граммах
|
|
@@ -1096,6 +1098,7 @@ declare namespace Components {
|
|
|
1096
1098
|
|
|
1097
1099
|
export interface ISellerTransactions {
|
|
1098
1100
|
_id: string;
|
|
1101
|
+
total_received: number; // Сумма которую оплатил покупатель за этот заказ (сумма товаров + сумма доставки)
|
|
1099
1102
|
type: ESellerTransactionsType;
|
|
1100
1103
|
sum: number;
|
|
1101
1104
|
admin_id?: string;
|