@mivis/petmart-api 1.2.93 → 1.2.96
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 +13 -5
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -653,7 +653,7 @@ declare namespace Components {
|
|
|
653
653
|
item_id: string;
|
|
654
654
|
}
|
|
655
655
|
|
|
656
|
-
export interface
|
|
656
|
+
export interface IAdminRemoveOrderItemRequest {
|
|
657
657
|
product_number: number;
|
|
658
658
|
count: number;
|
|
659
659
|
current_items: IPopulatedOrderItem[];
|
|
@@ -671,9 +671,15 @@ declare namespace Components {
|
|
|
671
671
|
seller_id?: string;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
export type IPopulatedOrderSeller = Pick<
|
|
674
|
+
export type IPopulatedOrderSeller = Pick<
|
|
675
|
+
ISeller,
|
|
676
|
+
'_id' | 'shop_details' | 'user_id'
|
|
677
|
+
>;
|
|
675
678
|
|
|
676
|
-
export type IPopulatedOrderUser = Pick<
|
|
679
|
+
export type IPopulatedOrderUser = Pick<
|
|
680
|
+
IUser,
|
|
681
|
+
'_id' | 'name' | 'tel' | 'email'
|
|
682
|
+
>;
|
|
677
683
|
|
|
678
684
|
export interface IPopulatedOrderItem
|
|
679
685
|
extends Omit<IOrderItem, 'product_id'> {
|
|
@@ -719,7 +725,7 @@ declare namespace Components {
|
|
|
719
725
|
note?: string;
|
|
720
726
|
delivery_info: IAdminDeliveryInfo;
|
|
721
727
|
cdek_info?: IAdminCdekInfo;
|
|
722
|
-
invoice
|
|
728
|
+
invoice?: File;
|
|
723
729
|
items: IOrderItem[];
|
|
724
730
|
}
|
|
725
731
|
|
|
@@ -963,7 +969,7 @@ declare namespace Components {
|
|
|
963
969
|
updatedAt: Date;
|
|
964
970
|
}
|
|
965
971
|
|
|
966
|
-
export interface
|
|
972
|
+
export interface IPaymentCheckResponse {
|
|
967
973
|
id: string;
|
|
968
974
|
status: string;
|
|
969
975
|
amount: {
|
|
@@ -1087,6 +1093,7 @@ declare namespace Components {
|
|
|
1087
1093
|
SALE = 'SALE',
|
|
1088
1094
|
FINE = 'FINE',
|
|
1089
1095
|
WITHDRAW = 'WITHDRAW',
|
|
1096
|
+
REFUND = 'REFUND',
|
|
1090
1097
|
}
|
|
1091
1098
|
|
|
1092
1099
|
export interface ISellerTransactions {
|
|
@@ -1098,6 +1105,7 @@ declare namespace Components {
|
|
|
1098
1105
|
comment?: string;
|
|
1099
1106
|
commission?: number;
|
|
1100
1107
|
delivery_sum?: number;
|
|
1108
|
+
payment_id?: string;
|
|
1101
1109
|
seller_id: string;
|
|
1102
1110
|
createdAt: Date;
|
|
1103
1111
|
updatedAt: Date;
|