@mivis/petmart-api 1.2.79 → 1.2.80

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 +4 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -656,13 +656,9 @@ declare namespace Components {
656
656
  seller_id?: string;
657
657
  }
658
658
 
659
- export interface IPopulatedOrderSeller {
660
- seller_id: Pick<ISeller, '_id' | 'shop_details'>;
661
- }
659
+ export type IPopulatedOrderSeller = Pick<ISeller, '_id' | 'shop_details'>;
662
660
 
663
- export interface IPopulatedOrderUser {
664
- user_id: Pick<IUser, '_id' | 'name'>;
665
- }
661
+ export type IPopulatedOrderUser = Pick<IUser, '_id' | 'name'>;
666
662
 
667
663
  export interface IPopulatedOrderItem
668
664
  extends Omit<IOrderItem, 'product_id'> {
@@ -677,8 +673,8 @@ declare namespace Components {
677
673
  'items' | 'seller_id' | 'user_id'
678
674
  > & {
679
675
  items: IPopulatedOrderItem[];
680
- seller_id: IPopulatedOrderSeller;
681
- user_id: IPopulatedOrderUser;
676
+ seller_id?: IPopulatedOrderSeller;
677
+ user_id?: IPopulatedOrderUser;
682
678
  };
683
679
 
684
680
  export interface IAdminGetOrderResponse {