@exclusive-website/types 2.3.4 → 2.3.6

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/types.d.ts CHANGED
@@ -32,6 +32,10 @@ export interface ModelWriteDto {
32
32
  featuredImage: MediaDto;
33
33
  photos: MediaDto[];
34
34
  videos: MediaDto[];
35
+ transactions: TransactionOrderReadDto[];
36
+ }
37
+ export interface TransactionOrderReadDto {
38
+ priceId: number;
35
39
  }
36
40
  export interface DaySchedule {
37
41
  dayOfWeek: DayOfWeek;
@@ -275,3 +279,14 @@ export interface TransactionReadItemDto {
275
279
  amount: number;
276
280
  currency: Currency;
277
281
  }
282
+ export interface ListingRejectionDto {
283
+ id: number;
284
+ reason: string;
285
+ }
286
+ export interface ListingCorrectioDto {
287
+ id: number;
288
+ correction: string;
289
+ }
290
+ export interface SuccessResponseReadDto {
291
+ content: string;
292
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "description": "A collection of shared types (DTOs and DBEs) for the organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types.ts CHANGED
@@ -44,7 +44,6 @@ export interface ModelWriteDto {
44
44
  description: string;
45
45
  practice: Practise[];
46
46
  otherService: OtherPractise[];
47
-
48
47
  country: CountryDto;
49
48
  region: RegionDto;
50
49
  city: CityDto;
@@ -52,6 +51,11 @@ export interface ModelWriteDto {
52
51
  featuredImage: MediaDto;
53
52
  photos: MediaDto[];
54
53
  videos: MediaDto[];
54
+ transactions: TransactionOrderReadDto[];
55
+ }
56
+
57
+ export interface TransactionOrderReadDto {
58
+ priceId: number;
55
59
  }
56
60
 
57
61
  export interface DaySchedule {
@@ -324,4 +328,18 @@ export interface TransactionReadItemDto {
324
328
  durationDays: number;
325
329
  amount: number;
326
330
  currency: Currency;
331
+ }
332
+
333
+ export interface ListingRejectionDto {
334
+ id: number;
335
+ reason: string;
336
+ }
337
+
338
+ export interface ListingCorrectioDto {
339
+ id: number;
340
+ correction: string;
341
+ }
342
+
343
+ export interface SuccessResponseReadDto {
344
+ content: string;
327
345
  }