@exclusive-website/types 2.4.3 → 2.4.5
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/dist/filterEnums.d.ts +1 -3
- package/dist/filterEnums.js +0 -2
- package/dist/types.d.ts +8 -4
- package/package.json +1 -1
- package/src/filterEnums.ts +0 -2
- package/src/types.ts +9 -4
package/dist/filterEnums.d.ts
CHANGED
|
@@ -237,10 +237,8 @@ export declare enum PricingCategory {
|
|
|
237
237
|
FEATURED_REGION = "FEATURED_REGION"
|
|
238
238
|
}
|
|
239
239
|
export declare enum StateOfListing {
|
|
240
|
-
PENDING = "PENDING",
|
|
241
240
|
PUBLISHED = "PUBLISHED",
|
|
242
|
-
UNPUBLISHED = "UNPUBLISHED"
|
|
243
|
-
DISCARDED = "DISCARDED"
|
|
241
|
+
UNPUBLISHED = "UNPUBLISHED"
|
|
244
242
|
}
|
|
245
243
|
export declare enum ApprovedState {
|
|
246
244
|
ON_VERIFY = "ON_VERIFY",
|
package/dist/filterEnums.js
CHANGED
|
@@ -282,10 +282,8 @@ var PricingCategory;
|
|
|
282
282
|
})(PricingCategory = exports.PricingCategory || (exports.PricingCategory = {}));
|
|
283
283
|
var StateOfListing;
|
|
284
284
|
(function (StateOfListing) {
|
|
285
|
-
StateOfListing["PENDING"] = "PENDING";
|
|
286
285
|
StateOfListing["PUBLISHED"] = "PUBLISHED";
|
|
287
286
|
StateOfListing["UNPUBLISHED"] = "UNPUBLISHED";
|
|
288
|
-
StateOfListing["DISCARDED"] = "DISCARDED";
|
|
289
287
|
})(StateOfListing = exports.StateOfListing || (exports.StateOfListing = {}));
|
|
290
288
|
var ApprovedState;
|
|
291
289
|
(function (ApprovedState) {
|
package/dist/types.d.ts
CHANGED
|
@@ -33,10 +33,14 @@ export interface ModelWriteDto {
|
|
|
33
33
|
photos: MediaDto[];
|
|
34
34
|
videos: MediaDto[];
|
|
35
35
|
}
|
|
36
|
-
export
|
|
37
|
-
listingId:
|
|
38
|
-
|
|
39
|
-
}
|
|
36
|
+
export type PaymentDto = {
|
|
37
|
+
listingId: string;
|
|
38
|
+
items: PaymentItem[];
|
|
39
|
+
};
|
|
40
|
+
export type PaymentItem = {
|
|
41
|
+
category: PricingCategory;
|
|
42
|
+
priceId: number;
|
|
43
|
+
};
|
|
40
44
|
export interface DaySchedule {
|
|
41
45
|
dayOfWeek: DayOfWeek;
|
|
42
46
|
status: DayStatus;
|
package/package.json
CHANGED
package/src/filterEnums.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -53,10 +53,15 @@ export interface ModelWriteDto {
|
|
|
53
53
|
videos: MediaDto[];
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export
|
|
57
|
-
listingId:
|
|
58
|
-
|
|
59
|
-
}
|
|
56
|
+
export type PaymentDto = {
|
|
57
|
+
listingId: string;
|
|
58
|
+
items: PaymentItem[];
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export type PaymentItem = {
|
|
62
|
+
category: PricingCategory;
|
|
63
|
+
priceId: number;
|
|
64
|
+
};
|
|
60
65
|
|
|
61
66
|
export interface DaySchedule {
|
|
62
67
|
dayOfWeek: DayOfWeek,
|