@mivis/petmart-api 1.2.49 → 1.2.50

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 +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.49",
3
+ "version": "1.2.50",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -450,6 +450,20 @@ declare namespace Components {
450
450
  withdrawn: number;
451
451
  }
452
452
 
453
+ export interface IShopAddress {
454
+ name: string;
455
+ lat: number;
456
+ lng: number;
457
+ }
458
+
459
+ export interface IShop {
460
+ _id: string;
461
+ name: string;
462
+ address: IShopAddress;
463
+ createdAt: Date;
464
+ updatedAt: Date;
465
+ }
466
+
453
467
  export interface ISeller {
454
468
  _id: string;
455
469
  user_id: {
@@ -458,6 +472,7 @@ declare namespace Components {
458
472
  name: string;
459
473
  email: string;
460
474
  };
475
+ shops_info: IShop;
461
476
  banking_details: IBankingDetails;
462
477
  shop_details: IShopDetails;
463
478
  delivery_ways: IDeliveryWays;