@mivis/petmart-api 1.2.57 → 1.2.59

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 +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.57",
3
+ "version": "1.2.59",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -528,7 +528,10 @@ declare namespace Components {
528
528
  seller_id: string;
529
529
  }
530
530
 
531
- export type OrderAddress = Omit<IAddress, 'user_id'>;
531
+ export type OrderAddress = Omit<
532
+ IAddress,
533
+ 'user_id' | '_id' | 'createdAt' | 'updatedAt'
534
+ >;
532
535
 
533
536
  export enum EOrderStatus {
534
537
  DELIVERED = 'DELIVERED',
@@ -540,7 +543,7 @@ declare namespace Components {
540
543
  DELETED = 'DELETED',
541
544
  }
542
545
 
543
- export interface IDeliveryAddress extends IAddress {
546
+ export interface IDeliveryAddress extends OrderAddress {
544
547
  lat: number;
545
548
  lng: number;
546
549
  }