@mivis/petmart-api 1.2.91 → 1.2.93
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 +16 -2
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -667,13 +667,13 @@ declare namespace Components {
|
|
|
667
667
|
number?: string;
|
|
668
668
|
sum?: 'asc' | 'desc';
|
|
669
669
|
status?: EOrderStatus;
|
|
670
|
-
|
|
670
|
+
tel?: string;
|
|
671
671
|
seller_id?: string;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
export type IPopulatedOrderSeller = Pick<ISeller, '_id' | 'shop_details'>;
|
|
675
675
|
|
|
676
|
-
export type IPopulatedOrderUser = Pick<IUser, '_id' | 'name'>;
|
|
676
|
+
export type IPopulatedOrderUser = Pick<IUser, '_id' | 'name' | 'tel'>;
|
|
677
677
|
|
|
678
678
|
export interface IPopulatedOrderItem
|
|
679
679
|
extends Omit<IOrderItem, 'product_id'> {
|
|
@@ -729,6 +729,7 @@ declare namespace Components {
|
|
|
729
729
|
>;
|
|
730
730
|
|
|
731
731
|
export enum EOrderStatus {
|
|
732
|
+
NOT_PAID = 'NOT_PAID',
|
|
732
733
|
ON_CONFIRMATION = 'ON_CONFIRMATION',
|
|
733
734
|
CONFIRMED_BY_SELLER = 'CONFIRMED_BY_SELLER',
|
|
734
735
|
IN_DELIVERY = 'IN_DELIVERY',
|
|
@@ -1129,5 +1130,18 @@ declare namespace Components {
|
|
|
1129
1130
|
products: IProduct[];
|
|
1130
1131
|
count: number;
|
|
1131
1132
|
}
|
|
1133
|
+
|
|
1134
|
+
export interface IAdminChangeCommissionRequest {
|
|
1135
|
+
commission: number;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
export interface IAdminChangeCommissionResponse {
|
|
1139
|
+
commission: number;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export interface IAdminCreateSellerTransactionRequest {
|
|
1143
|
+
type: ESellerTransactionsType;
|
|
1144
|
+
sum: number;
|
|
1145
|
+
}
|
|
1132
1146
|
}
|
|
1133
1147
|
}
|