@mivis/petmart-api 1.2.203 → 1.2.205

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 +12 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.203",
3
+ "version": "1.2.205",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -310,6 +310,7 @@ declare namespace Components {
310
310
  MODERATION = 'MODERATION',
311
311
  PUBLISHED = 'PUBLISHED',
312
312
  REJECTED = 'REJECTED',
313
+ ARCHIVED = 'ARCHIVED',
313
314
  }
314
315
 
315
316
  export interface IProductResponse {
@@ -571,6 +572,7 @@ declare namespace Components {
571
572
  export enum ESubCategoryStatus {
572
573
  MODERATION = 'MODERATION',
573
574
  ACTIVE = 'ACTIVE',
575
+ ARCHIVED = 'ARCHIVED',
574
576
  }
575
577
 
576
578
  export interface IBankingDetails {
@@ -609,6 +611,7 @@ declare namespace Components {
609
611
  WAITING_APPROVE = 'WAITING_APPROVE',
610
612
  APPROVED = 'APPROVED',
611
613
  DECLINED = 'DECLINED',
614
+ ARCHIVED = 'ARCHIVED',
612
615
  }
613
616
 
614
617
  export interface IUserSellerStatusResponse {
@@ -902,6 +905,7 @@ declare namespace Components {
902
905
  WAITING_IN_POINT = 'WAITING_IN_POINT',
903
906
  FINISHED = 'FINISHED',
904
907
  CANCELED = 'CANCELED',
908
+ ARCHIVED = 'ARCHIVED',
905
909
  }
906
910
 
907
911
  export interface IDeliveryAddress extends OrderAddress {
@@ -1695,10 +1699,16 @@ declare namespace Components {
1695
1699
  toRemoveDocuments?: string[];
1696
1700
  }
1697
1701
 
1702
+ export enum EHorseStatus {
1703
+ MODERATION = 'MODERATION',
1704
+ PUBLISHED = 'PUBLISHED',
1705
+ REJECTED = 'REJECTED',
1706
+ }
1707
+
1698
1708
  export interface IHorse {
1699
1709
  _id: string;
1700
1710
  user_id: string;
1701
- status: EProductStatus;
1711
+ status: EHorseStatus;
1702
1712
  name: string;
1703
1713
  sex: ESex;
1704
1714
  breed: string;
@@ -1715,7 +1725,7 @@ declare namespace Components {
1715
1725
  genealogy: string | null;
1716
1726
  birthplace: string | null;
1717
1727
  documents: string[];
1718
- competition_history: ICompetitionHistory | null;
1728
+ competition_history: ICompetitionHistory[] | null;
1719
1729
  communication: ICommunication;
1720
1730
  telegram_message_id: string | null;
1721
1731
  slug: string;