@mivis/petmart-api 1.2.75 → 1.2.76

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 +23 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.75",
3
+ "version": "1.2.76",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -516,6 +516,23 @@ declare namespace Components {
516
516
  updatedAt: Date;
517
517
  }
518
518
 
519
+ export interface INearestPointOfCdek {
520
+ code: string;
521
+ name: string;
522
+ location: {
523
+ country_code: string;
524
+ region_code: number;
525
+ region: string;
526
+ city_code: number;
527
+ city: string;
528
+ postal_code: string;
529
+ longitude: number;
530
+ latitude: number;
531
+ address: string;
532
+ address_full: string;
533
+ };
534
+ }
535
+
519
536
  export interface ISeller {
520
537
  _id: string;
521
538
  user_id: {
@@ -525,6 +542,7 @@ declare namespace Components {
525
542
  email: string;
526
543
  };
527
544
  shops_info: IShop[];
545
+ nearest_point_of_cdek: INearestPointOfCdek;
528
546
  banking_details: IBankingDetails;
529
547
  shop_details: IShopDetails;
530
548
  delivery_ways: IDeliveryWays;
@@ -612,6 +630,11 @@ declare namespace Components {
612
630
  };
613
631
  }
614
632
 
633
+ export interface IAdminUpdateNearestPointOfCdekRequest
634
+ extends INearestPointOfCdek {
635
+ seller_id: string;
636
+ }
637
+
615
638
  export interface IAdminUpdateDeliveryWaysRequest extends IDeliveryWays {
616
639
  seller_id: string;
617
640
  }