@mivis/petmart-api 1.2.70 → 1.2.71

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 +18 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.70",
3
+ "version": "1.2.71",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -602,6 +602,24 @@ declare namespace Components {
602
602
  toDeletePhotos?: string[];
603
603
  }
604
604
 
605
+ export interface IActionsSellersRequest {
606
+ toDelete: string;
607
+ }
608
+
609
+ export interface ICreateSellerShopRequest {
610
+ seller_id: string;
611
+ name: string;
612
+ address: string;
613
+ coordinates: {
614
+ lat: number;
615
+ lng: number;
616
+ };
617
+ }
618
+
619
+ export interface IAdminUpdateDeliveryWaysRequest extends IDeliveryWays {
620
+ seller_id: string;
621
+ }
622
+
605
623
  export type OrderAddress = Omit<
606
624
  IAddress,
607
625
  'user_id' | '_id' | 'createdAt' | 'updatedAt'