@mivis/petmart-api 1.2.100 → 1.2.101
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 +7 -5
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -679,12 +679,14 @@ declare namespace Components {
|
|
|
679
679
|
'_id' | 'name' | 'tel' | 'email'
|
|
680
680
|
>;
|
|
681
681
|
|
|
682
|
+
export type TPopulatedProductId = Pick<
|
|
683
|
+
IProduct,
|
|
684
|
+
'_id' | 'name' | 'vendor_code' | 'photo' | 'discount'
|
|
685
|
+
>;
|
|
686
|
+
|
|
682
687
|
export interface IPopulatedOrderItem
|
|
683
688
|
extends Omit<IOrderItem, 'product_id'> {
|
|
684
|
-
product_id:
|
|
685
|
-
IProduct,
|
|
686
|
-
'_id' | 'name' | 'vendor_code' | 'photo' | 'discount'
|
|
687
|
-
>;
|
|
689
|
+
product_id: TPopulatedProductId;
|
|
688
690
|
}
|
|
689
691
|
|
|
690
692
|
export type IPopulatedOrder = Omit<
|
|
@@ -724,7 +726,7 @@ declare namespace Components {
|
|
|
724
726
|
delivery_info: Partial<IAdminDeliveryInfo>;
|
|
725
727
|
cdek_info?: Partial<IAdminCdekInfo>;
|
|
726
728
|
invoice?: File;
|
|
727
|
-
items:
|
|
729
|
+
items: IPopulatedOrderItem[];
|
|
728
730
|
}
|
|
729
731
|
|
|
730
732
|
export type OrderAddress = Omit<
|