@mivis/petmart-api 1.2.76 → 1.2.78
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 +9 -3
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -641,7 +641,8 @@ declare namespace Components {
|
|
|
641
641
|
|
|
642
642
|
export interface IAdminChangeOrderStatus {
|
|
643
643
|
orderId: string;
|
|
644
|
-
status: EOrderStatus
|
|
644
|
+
status: EOrderStatus;
|
|
645
|
+
reason_of_cancel?: string;
|
|
645
646
|
}
|
|
646
647
|
|
|
647
648
|
export interface IAdminOrdersQueryRequest extends FilterBaseQuery {
|
|
@@ -649,6 +650,9 @@ declare namespace Components {
|
|
|
649
650
|
from?: string;
|
|
650
651
|
to?: string;
|
|
651
652
|
number?: string;
|
|
653
|
+
sum?: 'asc' | 'desc';
|
|
654
|
+
status?: EOrderStatus;
|
|
655
|
+
full_name?: string;
|
|
652
656
|
seller_id?: string;
|
|
653
657
|
}
|
|
654
658
|
|
|
@@ -742,6 +746,7 @@ declare namespace Components {
|
|
|
742
746
|
}
|
|
743
747
|
|
|
744
748
|
export interface IOrderItem {
|
|
749
|
+
_id: string;
|
|
745
750
|
product_id: string;
|
|
746
751
|
count: number;
|
|
747
752
|
price: number;
|
|
@@ -754,7 +759,7 @@ declare namespace Components {
|
|
|
754
759
|
}
|
|
755
760
|
|
|
756
761
|
export interface ICreateOrder {
|
|
757
|
-
items: IOrderItem[]
|
|
762
|
+
items: Omit<IOrderItem[], '_id'>;
|
|
758
763
|
receive_method: ERecieveMethod;
|
|
759
764
|
receive_method_data: IDeliveryInfo | IPVZ | IPickUpPoint;
|
|
760
765
|
seller_id: string;
|
|
@@ -771,7 +776,7 @@ declare namespace Components {
|
|
|
771
776
|
}
|
|
772
777
|
|
|
773
778
|
export interface IGetCDEKOffices {
|
|
774
|
-
weight_max
|
|
779
|
+
weight_max?: string;
|
|
775
780
|
}
|
|
776
781
|
|
|
777
782
|
export interface ICDEKOffice {
|
|
@@ -859,6 +864,7 @@ declare namespace Components {
|
|
|
859
864
|
status?: EOrderStatus;
|
|
860
865
|
preparation_date?: Date;
|
|
861
866
|
note?: string;
|
|
867
|
+
reason_of_cancel?: string;
|
|
862
868
|
number?: number;
|
|
863
869
|
createdAt: Date;
|
|
864
870
|
updatedAt: Date;
|