@mivis/petmart-api 1.2.89 → 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 +23 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -1095,7 +1095,7 @@ declare namespace Components {
|
|
|
1095
1095
|
admin_id?: string;
|
|
1096
1096
|
order_id: string;
|
|
1097
1097
|
comment?: string;
|
|
1098
|
-
commission
|
|
1098
|
+
commission?: number;
|
|
1099
1099
|
delivery_sum?: number;
|
|
1100
1100
|
seller_id: string;
|
|
1101
1101
|
createdAt: Date;
|
|
@@ -1107,5 +1107,27 @@ declare namespace Components {
|
|
|
1107
1107
|
sum: number;
|
|
1108
1108
|
comment?: string;
|
|
1109
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
|
+
}
|
|
1110
1132
|
}
|
|
1111
1133
|
}
|