@mivis/petmart-api 1.2.204 → 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.
- package/package.json +1 -1
- package/type.d.ts +17 -8
package/package.json
CHANGED
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 {
|
|
@@ -1358,14 +1362,10 @@ declare namespace Components {
|
|
|
1358
1362
|
comment: string;
|
|
1359
1363
|
}
|
|
1360
1364
|
|
|
1361
|
-
export interface ExpoPushMessageData {
|
|
1362
|
-
type: ENotificationType;
|
|
1363
|
-
typeId: string;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
1365
|
export enum ENotificationType {
|
|
1367
1366
|
ORDER = 'ORDER',
|
|
1368
1367
|
PRODUCT = 'PRODUCT',
|
|
1368
|
+
COLLECTION = 'COLLECTION',
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
1371
|
export interface IAdminChangeSellerStatusRequest {
|
|
@@ -1595,7 +1595,7 @@ declare namespace Components {
|
|
|
1595
1595
|
|
|
1596
1596
|
export interface NotificationData {
|
|
1597
1597
|
body: string;
|
|
1598
|
-
data?:
|
|
1598
|
+
data?: InternalPushMessageData | ExternalPushMessageData;
|
|
1599
1599
|
title: string;
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
@@ -1685,6 +1685,7 @@ declare namespace Components {
|
|
|
1685
1685
|
genealogy?: string;
|
|
1686
1686
|
birthplace?: string;
|
|
1687
1687
|
documents?: File | File[];
|
|
1688
|
+
documentsNames?: string[];
|
|
1688
1689
|
competition_history?: ICompetitionHistory[];
|
|
1689
1690
|
communication: ICommunication;
|
|
1690
1691
|
}
|
|
@@ -1692,7 +1693,7 @@ declare namespace Components {
|
|
|
1692
1693
|
export interface IUpdateHorse extends Partial<ICreateHorse> {
|
|
1693
1694
|
toRemoveImages?: string[];
|
|
1694
1695
|
toRemoveVideoCover?: string;
|
|
1695
|
-
toRemoveDocuments?: string[];
|
|
1696
|
+
toRemoveDocuments?: string[]; // Array of documents.fileName
|
|
1696
1697
|
}
|
|
1697
1698
|
|
|
1698
1699
|
export enum EHorseStatus {
|
|
@@ -1721,7 +1722,7 @@ declare namespace Components {
|
|
|
1721
1722
|
genealogy: string | null;
|
|
1722
1723
|
birthplace: string | null;
|
|
1723
1724
|
documents: string[];
|
|
1724
|
-
competition_history: ICompetitionHistory | null;
|
|
1725
|
+
competition_history: ICompetitionHistory[] | null;
|
|
1725
1726
|
communication: ICommunication;
|
|
1726
1727
|
telegram_message_id: string | null;
|
|
1727
1728
|
slug: string;
|
|
@@ -1816,5 +1817,13 @@ declare namespace Components {
|
|
|
1816
1817
|
export interface IActionsHorseRequest {
|
|
1817
1818
|
toDelete: string;
|
|
1818
1819
|
}
|
|
1820
|
+
export interface InternalPushMessageData {
|
|
1821
|
+
type: ENotificationType;
|
|
1822
|
+
typeId: string;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
export interface ExternalPushMessageData {
|
|
1826
|
+
url: string;
|
|
1827
|
+
}
|
|
1819
1828
|
}
|
|
1820
1829
|
}
|