@mivis/petmart-api 1.2.205 → 1.2.206

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 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.205",
3
+ "version": "1.2.206",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1362,14 +1362,10 @@ declare namespace Components {
1362
1362
  comment: string;
1363
1363
  }
1364
1364
 
1365
- export interface ExpoPushMessageData {
1366
- type: ENotificationType;
1367
- typeId: string;
1368
- }
1369
-
1370
1365
  export enum ENotificationType {
1371
1366
  ORDER = 'ORDER',
1372
1367
  PRODUCT = 'PRODUCT',
1368
+ COLLECTION = 'COLLECTION',
1373
1369
  }
1374
1370
 
1375
1371
  export interface IAdminChangeSellerStatusRequest {
@@ -1599,7 +1595,7 @@ declare namespace Components {
1599
1595
 
1600
1596
  export interface NotificationData {
1601
1597
  body: string;
1602
- data?: ExpoPushMessageData;
1598
+ data?: InternalPushMessageData | ExternalPushMessageData;
1603
1599
  title: string;
1604
1600
  }
1605
1601
 
@@ -1689,6 +1685,7 @@ declare namespace Components {
1689
1685
  genealogy?: string;
1690
1686
  birthplace?: string;
1691
1687
  documents?: File | File[];
1688
+ documentsNames?: string[];
1692
1689
  competition_history?: ICompetitionHistory[];
1693
1690
  communication: ICommunication;
1694
1691
  }
@@ -1696,7 +1693,7 @@ declare namespace Components {
1696
1693
  export interface IUpdateHorse extends Partial<ICreateHorse> {
1697
1694
  toRemoveImages?: string[];
1698
1695
  toRemoveVideoCover?: string;
1699
- toRemoveDocuments?: string[];
1696
+ toRemoveDocuments?: string[]; // Array of documents.fileName
1700
1697
  }
1701
1698
 
1702
1699
  export enum EHorseStatus {
@@ -1820,5 +1817,13 @@ declare namespace Components {
1820
1817
  export interface IActionsHorseRequest {
1821
1818
  toDelete: string;
1822
1819
  }
1820
+ export interface InternalPushMessageData {
1821
+ type: ENotificationType;
1822
+ typeId: string;
1823
+ }
1824
+
1825
+ export interface ExternalPushMessageData {
1826
+ url: string;
1827
+ }
1823
1828
  }
1824
1829
  }