@tripian/model 9.1.32 → 9.1.33
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.
|
@@ -1,39 +1,41 @@
|
|
|
1
1
|
export type TravelInformation = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
adults: number;
|
|
3
|
+
nameOfProperty?: string;
|
|
4
|
+
proofOfHolidayBookingUrl: string;
|
|
5
5
|
};
|
|
6
6
|
export type PersonalInformation = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
title: 'Mr' | 'Mrs' | 'Ms';
|
|
8
|
+
firstName: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
arrivalDate: string;
|
|
11
|
+
departureDate: string;
|
|
12
|
+
departureDestination?: string;
|
|
13
|
+
airline?: string;
|
|
14
|
+
flightNumber?: string;
|
|
15
|
+
dateOfBirth?: string;
|
|
16
|
+
emailAddress: string;
|
|
17
|
+
phoneNumber?: string;
|
|
18
18
|
};
|
|
19
19
|
export type MarketingQuestions = {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
howDidYouHear: string;
|
|
21
|
+
howDidYouBookYourTrip: 'Online' | 'Travel Agent/ Tour Operator' | 'Direct with hotel';
|
|
22
22
|
};
|
|
23
23
|
export type CouponApplicationRequest = {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
travelInformation: TravelInformation;
|
|
25
|
+
personalInformations: PersonalInformation[];
|
|
26
|
+
marketingQuestions: MarketingQuestions;
|
|
27
27
|
};
|
|
28
28
|
export type CouponApplication = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
id: number;
|
|
30
|
+
applicationDate: string;
|
|
31
|
+
travelInformation: TravelInformation;
|
|
32
|
+
personalInformations: Array<
|
|
33
|
+
PersonalInformation & {
|
|
34
|
+
id: number;
|
|
35
|
+
campaign_id: number;
|
|
36
|
+
issueDate: string | null;
|
|
37
|
+
status: number;
|
|
38
|
+
}
|
|
39
|
+
>;
|
|
40
|
+
marketingQuestions: MarketingQuestions;
|
|
39
41
|
};
|