@mivis/petmart-api 1.2.119 → 1.2.120

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 +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.119",
3
+ "version": "1.2.120",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -481,13 +481,13 @@ declare namespace Components {
481
481
  }
482
482
 
483
483
  export enum ESellerStatus {
484
- NOT_CREATED = 'NOT_CREATED',
485
484
  WAITING_APPROVE = 'WAITING_APPROVE',
486
485
  APPROVED = 'APPROVED',
486
+ DECLINED = 'DECLINED',
487
487
  }
488
488
 
489
489
  export interface IUserSellerStatusResponse {
490
- status: ESellerStatus;
490
+ status: ESellerStatus | 'NOT_CREATED';
491
491
  }
492
492
 
493
493
  export interface IBalanceInfo {
@@ -544,7 +544,7 @@ declare namespace Components {
544
544
  delivery_ways: IDeliveryWays;
545
545
  balance_info: IBalanceInfo;
546
546
  commission: number;
547
- is_activated: boolean;
547
+ status: ESellerStatus;
548
548
  number: number;
549
549
  createdAt: Date;
550
550
  updatedAt: Date;
@@ -563,7 +563,7 @@ declare namespace Components {
563
563
 
564
564
  export interface IAdminSellersQueryRequest extends FilterBaseQuery {
565
565
  number?: string;
566
- is_activated?: string;
566
+ status?: string;
567
567
  name?: string;
568
568
  shop_name?: string;
569
569
  tel?: string;