@mivis/petmart-api 1.2.119 → 1.2.121

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 -5
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.121",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -19,7 +19,6 @@ declare namespace Components {
19
19
  }
20
20
  export interface ILoginResponse extends ITokensResponse {
21
21
  isSeller: boolean;
22
- isActivated: boolean;
23
22
  role: ERoles;
24
23
  isExistPassword: boolean;
25
24
  }
@@ -481,13 +480,13 @@ declare namespace Components {
481
480
  }
482
481
 
483
482
  export enum ESellerStatus {
484
- NOT_CREATED = 'NOT_CREATED',
485
483
  WAITING_APPROVE = 'WAITING_APPROVE',
486
484
  APPROVED = 'APPROVED',
485
+ DECLINED = 'DECLINED',
487
486
  }
488
487
 
489
488
  export interface IUserSellerStatusResponse {
490
- status: ESellerStatus;
489
+ status: ESellerStatus | 'NOT_CREATED';
491
490
  }
492
491
 
493
492
  export interface IBalanceInfo {
@@ -544,7 +543,7 @@ declare namespace Components {
544
543
  delivery_ways: IDeliveryWays;
545
544
  balance_info: IBalanceInfo;
546
545
  commission: number;
547
- is_activated: boolean;
546
+ status: ESellerStatus;
548
547
  number: number;
549
548
  createdAt: Date;
550
549
  updatedAt: Date;
@@ -563,7 +562,7 @@ declare namespace Components {
563
562
 
564
563
  export interface IAdminSellersQueryRequest extends FilterBaseQuery {
565
564
  number?: string;
566
- is_activated?: string;
565
+ status?: string;
567
566
  name?: string;
568
567
  shop_name?: string;
569
568
  tel?: string;