@mivis/petmart-api 1.2.76 → 1.2.77

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 +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.76",
3
+ "version": "1.2.77",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -742,6 +742,7 @@ declare namespace Components {
742
742
  }
743
743
 
744
744
  export interface IOrderItem {
745
+ _id: string;
745
746
  product_id: string;
746
747
  count: number;
747
748
  price: number;
@@ -754,7 +755,7 @@ declare namespace Components {
754
755
  }
755
756
 
756
757
  export interface ICreateOrder {
757
- items: IOrderItem[];
758
+ items: Omit<IOrderItem[], '_id'>;
758
759
  receive_method: ERecieveMethod;
759
760
  receive_method_data: IDeliveryInfo | IPVZ | IPickUpPoint;
760
761
  seller_id: string;
@@ -771,7 +772,7 @@ declare namespace Components {
771
772
  }
772
773
 
773
774
  export interface IGetCDEKOffices {
774
- weight_max: string;
775
+ weight_max?: string;
775
776
  }
776
777
 
777
778
  export interface ICDEKOffice {