@mivis/petmart-api 1.2.144 → 1.2.146

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 +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.144",
3
+ "version": "1.2.146",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -702,7 +702,7 @@ declare namespace Components {
702
702
 
703
703
  export type IPopulatedOrderSeller = Pick<
704
704
  ISeller,
705
- '_id' | 'shop_details' | 'user_id'
705
+ '_id' | 'shop_details' | 'user_id' | 'nearest_point_of_cdek'
706
706
  >;
707
707
 
708
708
  export type IPopulatedOrderUser = Pick<
@@ -1023,6 +1023,7 @@ declare namespace Components {
1023
1023
  user_id: string;
1024
1024
  sum: number;
1025
1025
  orders: string[];
1026
+ payment_id: string | null;
1026
1027
  number: number;
1027
1028
  status: EMultiOrderStatus;
1028
1029
  createdAt: Date;
@@ -1379,5 +1380,11 @@ declare namespace Components {
1379
1380
  'LEGAL' = 'LEGAL',
1380
1381
  'NOT_SELLER' = 'NOT_SELLER',
1381
1382
  }
1383
+
1384
+ export interface IUpdateMultiOrderStatusRequest {
1385
+ _id: string;
1386
+ status: EMultiOrderStatus;
1387
+ reason_of_cancel: EReasonOfCancel;
1388
+ }
1382
1389
  }
1383
1390
  }