@mivis/petmart-api 1.2.145 → 1.2.147

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 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.145",
3
+ "version": "1.2.147",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1020,9 +1020,11 @@ declare namespace Components {
1020
1020
  }
1021
1021
 
1022
1022
  export interface IMultiOrder {
1023
+ _id: string;
1023
1024
  user_id: string;
1024
1025
  sum: number;
1025
1026
  orders: string[];
1027
+ payment_id: string | null;
1026
1028
  number: number;
1027
1029
  status: EMultiOrderStatus;
1028
1030
  createdAt: Date;
@@ -1379,5 +1381,11 @@ declare namespace Components {
1379
1381
  'LEGAL' = 'LEGAL',
1380
1382
  'NOT_SELLER' = 'NOT_SELLER',
1381
1383
  }
1384
+
1385
+ export interface IUpdateMultiOrderStatusRequest {
1386
+ _id: string;
1387
+ status: EMultiOrderStatus;
1388
+ reason_of_cancel: EReasonOfCancel;
1389
+ }
1382
1390
  }
1383
1391
  }