@mivis/petmart-api 1.2.141 → 1.2.142

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +20 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.141",
3
+ "version": "1.2.142",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -554,11 +554,12 @@ declare namespace Components {
554
554
  user_id: {
555
555
  _id: string;
556
556
  tel: number;
557
- full_name: string;
558
557
  name: string;
559
558
  surname: string;
559
+ full_name: string;
560
560
  patronymic?: string;
561
561
  email: string;
562
+ birthday: Date;
562
563
  };
563
564
  shops_info: IShop[];
564
565
  nearest_point_of_cdek: INearestPointOfCdek;
@@ -706,7 +707,14 @@ declare namespace Components {
706
707
 
707
708
  export type IPopulatedOrderUser = Pick<
708
709
  IUser,
709
- '_id' | 'full_name' | 'name' | 'surname' | 'patronymic' | 'tel' | 'email'
710
+ | '_id'
711
+ | 'name'
712
+ | 'full_name'
713
+ | 'surname'
714
+ | 'patronymic'
715
+ | 'tel'
716
+ | 'email'
717
+ | 'birthday'
710
718
  >;
711
719
 
712
720
  export type TPopulatedProductId = Pick<
@@ -860,7 +868,14 @@ declare namespace Components {
860
868
 
861
869
  export type IPopulatedOrderUserApp = Pick<
862
870
  IUser,
863
- '_id' | 'name' | 'full_name' | 'surname' | 'patronymic' | 'tel'
871
+ | '_id'
872
+ | 'name'
873
+ | 'full_name'
874
+ | 'surname'
875
+ | 'patronymic'
876
+ | 'tel'
877
+ | 'email'
878
+ | 'birthday'
864
879
  >;
865
880
 
866
881
  export type IPopulatedOrderApp = Omit<
@@ -890,6 +905,8 @@ declare namespace Components {
890
905
  sum: number;
891
906
  tel: number;
892
907
  name: string;
908
+ surname: string;
909
+ patronymic?: string;
893
910
  }
894
911
 
895
912
  export interface IDeliveryFullInfo extends IDeliveryInfo {