@mivis/petmart-api 1.2.88 → 1.2.90
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 +24 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -847,6 +847,7 @@ declare namespace Components {
|
|
|
847
847
|
export interface ICreateMultiOrder {
|
|
848
848
|
orders: ICreateOrder[];
|
|
849
849
|
sum: number;
|
|
850
|
+
tel: number;
|
|
850
851
|
}
|
|
851
852
|
|
|
852
853
|
export interface IDeliveryFullInfo extends IDeliveryInfo {
|
|
@@ -1094,7 +1095,7 @@ declare namespace Components {
|
|
|
1094
1095
|
admin_id?: string;
|
|
1095
1096
|
order_id: string;
|
|
1096
1097
|
comment?: string;
|
|
1097
|
-
commission
|
|
1098
|
+
commission?: number;
|
|
1098
1099
|
delivery_sum?: number;
|
|
1099
1100
|
seller_id: string;
|
|
1100
1101
|
createdAt: Date;
|
|
@@ -1106,5 +1107,27 @@ declare namespace Components {
|
|
|
1106
1107
|
sum: number;
|
|
1107
1108
|
comment?: string;
|
|
1108
1109
|
}
|
|
1110
|
+
|
|
1111
|
+
export interface IAdminGetTransactionsRequest extends FilterBaseQuery {
|
|
1112
|
+
type?: ESellerTransactionsType;
|
|
1113
|
+
sum?: 'asc' | 'desc';
|
|
1114
|
+
from?: string;
|
|
1115
|
+
to?: string;
|
|
1116
|
+
seller_id?: string;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export interface IAdminOrdersQueryResponse {
|
|
1120
|
+
transactions: ISellerTransactions[];
|
|
1121
|
+
count: number;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export interface IAdminTopSalesQueryRequest extends FilterBaseQuery {
|
|
1125
|
+
seller_id: string;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
export interface IAdminTopSalesResponse {
|
|
1129
|
+
products: IProduct[];
|
|
1130
|
+
count: number;
|
|
1131
|
+
}
|
|
1109
1132
|
}
|
|
1110
1133
|
}
|