@mivis/petmart-api 1.2.49 → 1.2.51

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 +16 -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.51",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -328,6 +328,7 @@ declare namespace Components {
328
328
  _id: string;
329
329
  shop_details: IShopDetails;
330
330
  delivery_ways: IDeliveryWays;
331
+ shops_info: IShop[];
331
332
  };
332
333
  dimension: IDimension;
333
334
  };
@@ -450,6 +451,20 @@ declare namespace Components {
450
451
  withdrawn: number;
451
452
  }
452
453
 
454
+ export interface IShopAddress {
455
+ name: string;
456
+ lat: number;
457
+ lng: number;
458
+ }
459
+
460
+ export interface IShop {
461
+ _id: string;
462
+ name: string;
463
+ address: IShopAddress;
464
+ createdAt: Date;
465
+ updatedAt: Date;
466
+ }
467
+
453
468
  export interface ISeller {
454
469
  _id: string;
455
470
  user_id: {
@@ -458,6 +473,7 @@ declare namespace Components {
458
473
  name: string;
459
474
  email: string;
460
475
  };
476
+ shops_info: IShop[];
461
477
  banking_details: IBankingDetails;
462
478
  shop_details: IShopDetails;
463
479
  delivery_ways: IDeliveryWays;