@exclusive-website/types 2.3.3 → 2.3.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/types.d.ts +11 -0
- package/package.json +1 -1
- package/src/types.ts +13 -1
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;
|
|
@@ -262,6 +266,13 @@ export interface TransactionReadDto {
|
|
|
262
266
|
paidAt: Date;
|
|
263
267
|
items: TransactionReadItemDto[];
|
|
264
268
|
}
|
|
269
|
+
export interface TransactionSummaryReadDto {
|
|
270
|
+
qrCode: MediaDto;
|
|
271
|
+
iban: string;
|
|
272
|
+
totalAmount: number;
|
|
273
|
+
currency: Currency;
|
|
274
|
+
items: TransactionReadItemDto[];
|
|
275
|
+
}
|
|
265
276
|
export interface TransactionReadItemDto {
|
|
266
277
|
category: PricingCategory;
|
|
267
278
|
durationDays: number;
|
package/package.json
CHANGED
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 {
|
|
@@ -311,6 +315,14 @@ export interface TransactionReadDto {
|
|
|
311
315
|
items: TransactionReadItemDto[]
|
|
312
316
|
}
|
|
313
317
|
|
|
318
|
+
export interface TransactionSummaryReadDto{
|
|
319
|
+
qrCode: MediaDto;
|
|
320
|
+
iban: string;
|
|
321
|
+
totalAmount: number;
|
|
322
|
+
currency: Currency;
|
|
323
|
+
items: TransactionReadItemDto[];
|
|
324
|
+
}
|
|
325
|
+
|
|
314
326
|
export interface TransactionReadItemDto {
|
|
315
327
|
category: PricingCategory
|
|
316
328
|
durationDays: number;
|