@mivis/petmart-api 1.2.77 → 1.2.78

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 +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.77",
3
+ "version": "1.2.78",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -641,7 +641,8 @@ declare namespace Components {
641
641
 
642
642
  export interface IAdminChangeOrderStatus {
643
643
  orderId: string;
644
- status: EOrderStatus.CONFIRMED_BY_SELLER | EOrderStatus.CANCELED;
644
+ status: EOrderStatus;
645
+ reason_of_cancel?: string;
645
646
  }
646
647
 
647
648
  export interface IAdminOrdersQueryRequest extends FilterBaseQuery {
@@ -649,6 +650,9 @@ declare namespace Components {
649
650
  from?: string;
650
651
  to?: string;
651
652
  number?: string;
653
+ sum?: 'asc' | 'desc';
654
+ status?: EOrderStatus;
655
+ full_name?: string;
652
656
  seller_id?: string;
653
657
  }
654
658
 
@@ -860,6 +864,7 @@ declare namespace Components {
860
864
  status?: EOrderStatus;
861
865
  preparation_date?: Date;
862
866
  note?: string;
867
+ reason_of_cancel?: string;
863
868
  number?: number;
864
869
  createdAt: Date;
865
870
  updatedAt: Date;