swoop-common 2.2.43 → 2.2.48
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/api/generated/core/exports.d.ts +9 -13
- package/dist/api/generated/core/exports.js +1 -0
- package/dist/api/generated/core/index.d.ts +10 -14
- package/dist/api/generated/core/index.js +2 -1
- package/dist/api/generated/core/models/Amendment.d.ts +8 -6
- package/dist/api/generated/core/models/AmendmentTravellers.d.ts +5 -0
- package/dist/api/generated/core/models/AmendmentType.d.ts +3 -0
- package/dist/api/generated/core/models/AmendmentType.js +8 -0
- package/dist/api/generated/core/models/AssignedPassenger.d.ts +3 -2
- package/dist/api/generated/core/models/AssignedTravellerGroup.d.ts +2 -1
- package/dist/api/generated/core/models/Branches.d.ts +2 -2
- package/dist/api/generated/core/models/ComponentInstance.d.ts +9 -8
- package/dist/api/generated/core/models/ComponentInstanceId.d.ts +1 -0
- package/dist/api/generated/core/models/DTOItineraryCreate.d.ts +4 -2
- package/dist/api/generated/core/models/DTOItineraryEntity.d.ts +4 -2
- package/dist/api/generated/core/models/DTOItineraryRead.d.ts +4 -2
- package/dist/api/generated/core/models/DTOItineraryUpdate.d.ts +2 -0
- package/dist/api/generated/core/models/DTOPublicSnapshotCreate.d.ts +9 -4
- package/dist/api/generated/core/models/DTOPublicSnapshotEntity.d.ts +9 -4
- package/dist/api/generated/core/models/DTOPublicSnapshotRead.d.ts +9 -4
- package/dist/api/generated/core/models/DTOPublicSnapshotUpdate.d.ts +4 -1
- package/dist/api/generated/core/models/DTOSnapshotCreate.d.ts +2 -2
- package/dist/api/generated/core/models/DTOSnapshotEntity.d.ts +2 -2
- package/dist/api/generated/core/models/DTOSnapshotRead.d.ts +2 -2
- package/dist/api/generated/core/models/DTOSwoopSync.d.ts +2 -2
- package/dist/api/generated/core/models/EnquiryId.d.ts +2 -1
- package/dist/api/generated/core/models/EnquiryIdPathParam.d.ts +2 -2
- package/dist/api/generated/core/models/{IdMap.d.ts → ExpandedMap.d.ts} +1 -2
- package/dist/api/generated/core/models/Flag.d.ts +4 -0
- package/dist/api/generated/core/models/InternalSwoopId.d.ts +1 -0
- package/dist/api/generated/core/models/ItineraryCreateResponse.d.ts +2 -2
- package/dist/api/generated/core/models/Partner.d.ts +2 -1
- package/dist/api/generated/core/models/Partners.d.ts +2 -2
- package/dist/api/generated/core/models/PublicSnapShotEnquiryStatus.d.ts +8 -0
- package/dist/api/generated/core/models/PublicSnapshotPerson.d.ts +11 -0
- package/dist/api/generated/core/models/{Error.d.ts → SwoopError.d.ts} +1 -2
- package/dist/api/generated/core/models/SwoopSyncComponentInstance.d.ts +5 -3
- package/dist/api/generated/core/services/CoreService.d.ts +16 -53
- package/dist/api/generated/core/services/CoreService.js +22 -101
- package/dist/api/generated/core/services/ItineraryService.d.ts +8 -8
- package/dist/api/generated/core/services/PublicService.d.ts +12 -0
- package/dist/api/generated/core/services/PublicService.js +26 -0
- package/dist/api/generated/core/services/SnapshotService.d.ts +8 -0
- package/dist/api/generated/core/services/SnapshotService.js +22 -0
- package/package.json +1 -1
- package/dist/api/generated/core/models/DTOSwooperCreate.d.ts +0 -20
- package/dist/api/generated/core/models/DTOSwooperEntity.d.ts +0 -24
- package/dist/api/generated/core/models/DTOSwooperRead.d.ts +0 -24
- package/dist/api/generated/core/models/DTOSwooperUpdate.d.ts +0 -19
- package/dist/api/generated/core/models/SwoopContactInfo.d.ts +0 -5
- package/dist/api/generated/core/models/SwooperExperience.d.ts +0 -7
- package/dist/api/generated/core/models/SwooperHighlights.d.ts +0 -5
- package/dist/api/generated/core/models/SwooperHighlights.js +0 -1
- package/dist/api/generated/core/models/SwooperId.d.ts +0 -1
- package/dist/api/generated/core/models/SwooperId.js +0 -1
- package/dist/api/generated/core/models/SwooperIdPathParam.d.ts +0 -5
- package/dist/api/generated/core/models/SwooperIdPathParam.js +0 -1
- package/dist/api/generated/core/models/SwooperInfo.d.ts +0 -6
- package/dist/api/generated/core/models/SwooperInfo.js +0 -1
- package/dist/api/generated/core/models/SwooperPersonalInfo.d.ts +0 -7
- package/dist/api/generated/core/models/SwooperPersonalInfo.js +0 -1
- package/dist/api/generated/core/services/SwooperService.d.ts +0 -50
- package/dist/api/generated/core/services/SwooperService.js +0 -105
- /package/dist/api/generated/core/models/{DTOSwooperCreate.js → AmendmentTravellers.js} +0 -0
- /package/dist/api/generated/core/models/{DTOSwooperEntity.js → ComponentInstanceId.js} +0 -0
- /package/dist/api/generated/core/models/{DTOSwooperRead.js → ExpandedMap.js} +0 -0
- /package/dist/api/generated/core/models/{DTOSwooperUpdate.js → Flag.js} +0 -0
- /package/dist/api/generated/core/models/{Error.js → InternalSwoopId.js} +0 -0
- /package/dist/api/generated/core/models/{IdMap.js → PublicSnapShotEnquiryStatus.js} +0 -0
- /package/dist/api/generated/core/models/{SwoopContactInfo.js → PublicSnapshotPerson.js} +0 -0
- /package/dist/api/generated/core/models/{SwooperExperience.js → SwoopError.js} +0 -0
|
@@ -3,6 +3,8 @@ export { CancelablePromise, CancelError } from './index';
|
|
|
3
3
|
export { OpenAPI } from './index';
|
|
4
4
|
export type { OpenAPIConfig } from './index';
|
|
5
5
|
export type { Amendment } from './index';
|
|
6
|
+
export type { AmendmentTravellers } from './index';
|
|
7
|
+
export { AmendmentType } from './index';
|
|
6
8
|
export type { AssignedPassenger } from './index';
|
|
7
9
|
export type { AssignedTravellerGroup } from './index';
|
|
8
10
|
export { BookingStatus } from './index';
|
|
@@ -14,6 +16,7 @@ export type { ComponentFAQ } from './index';
|
|
|
14
16
|
export type { ComponentId } from './index';
|
|
15
17
|
export type { ComponentIdPathParam } from './index';
|
|
16
18
|
export type { ComponentInstance } from './index';
|
|
19
|
+
export type { ComponentInstanceId } from './index';
|
|
17
20
|
export type { ComponentNotes } from './index';
|
|
18
21
|
export type { ComponentRevisionGroupId } from './index';
|
|
19
22
|
export { ComponentState } from './index';
|
|
@@ -44,10 +47,6 @@ export type { DTOSnapshotCreate } from './index';
|
|
|
44
47
|
export type { DTOSnapshotEntity } from './index';
|
|
45
48
|
export type { DTOSnapshotRead } from './index';
|
|
46
49
|
export type { DTOSnapshotUpdate } from './index';
|
|
47
|
-
export type { DTOSwooperCreate } from './index';
|
|
48
|
-
export type { DTOSwooperEntity } from './index';
|
|
49
|
-
export type { DTOSwooperRead } from './index';
|
|
50
|
-
export type { DTOSwooperUpdate } from './index';
|
|
51
50
|
export type { DTOSwoopSync } from './index';
|
|
52
51
|
export type { DTOTemplateCreate } from './index';
|
|
53
52
|
export type { DTOTemplateEntity } from './index';
|
|
@@ -56,10 +55,11 @@ export type { DTOTemplateUpdate } from './index';
|
|
|
56
55
|
export type { EnquiryId } from './index';
|
|
57
56
|
export type { EnquiryIdPathParam } from './index';
|
|
58
57
|
export type { EnquiryIdQueryParam } from './index';
|
|
59
|
-
export type {
|
|
58
|
+
export type { ExpandedMap } from './index';
|
|
60
59
|
export type { Fee } from './index';
|
|
61
60
|
export type { Field } from './index';
|
|
62
|
-
export type {
|
|
61
|
+
export type { Flag } from './index';
|
|
62
|
+
export type { InternalSwoopId } from './index';
|
|
63
63
|
export type { ItineraryCreateResponse } from './index';
|
|
64
64
|
export type { ItineraryId } from './index';
|
|
65
65
|
export type { ItineraryIdPathParam } from './index';
|
|
@@ -82,7 +82,9 @@ export type { Pagination } from './index';
|
|
|
82
82
|
export type { Partner } from './index';
|
|
83
83
|
export type { Partners } from './index';
|
|
84
84
|
export type { Price } from './index';
|
|
85
|
+
export type { PublicSnapShotEnquiryStatus } from './index';
|
|
85
86
|
export type { PublicSnapshotId } from './index';
|
|
87
|
+
export type { PublicSnapshotPerson } from './index';
|
|
86
88
|
export type { QuoteOptions } from './index';
|
|
87
89
|
export type { RegionId } from './index';
|
|
88
90
|
export type { SearchQueryParam } from './index';
|
|
@@ -90,13 +92,7 @@ export type { SnapshotId } from './index';
|
|
|
90
92
|
export type { SnapshotIdPathParam } from './index';
|
|
91
93
|
export type { SortQueryParam } from './index';
|
|
92
94
|
export type { StateQueryParam } from './index';
|
|
93
|
-
export type {
|
|
94
|
-
export type { SwooperExperience } from './index';
|
|
95
|
-
export type { SwooperHighlights } from './index';
|
|
96
|
-
export type { SwooperId } from './index';
|
|
97
|
-
export type { SwooperIdPathParam } from './index';
|
|
98
|
-
export type { SwooperInfo } from './index';
|
|
99
|
-
export type { SwooperPersonalInfo } from './index';
|
|
95
|
+
export type { SwoopError } from './index';
|
|
100
96
|
export type { SwoopSyncComponentInstance } from './index';
|
|
101
97
|
export type { SwoopSyncError } from './index';
|
|
102
98
|
export type { SwoopSyncErrorMsg } from './index';
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export { ApiError } from './index';
|
|
3
3
|
export { CancelablePromise, CancelError } from './index';
|
|
4
4
|
export { OpenAPI } from './index';
|
|
5
|
+
export { AmendmentType } from './index';
|
|
5
6
|
export { BookingStatus } from './index';
|
|
6
7
|
export { ComponentState } from './index';
|
|
7
8
|
export { Currency } from './index';
|
|
@@ -3,6 +3,8 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
|
3
3
|
export { OpenAPI } from './core/OpenAPI';
|
|
4
4
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
5
|
export type { Amendment } from './models/Amendment';
|
|
6
|
+
export type { AmendmentTravellers } from './models/AmendmentTravellers';
|
|
7
|
+
export { AmendmentType } from './models/AmendmentType';
|
|
6
8
|
export type { AssignedPassenger } from './models/AssignedPassenger';
|
|
7
9
|
export type { AssignedTravellerGroup } from './models/AssignedTravellerGroup';
|
|
8
10
|
export { BookingStatus } from './models/BookingStatus';
|
|
@@ -14,6 +16,7 @@ export type { ComponentFAQ } from './models/ComponentFAQ';
|
|
|
14
16
|
export type { ComponentId } from './models/ComponentId';
|
|
15
17
|
export type { ComponentIdPathParam } from './models/ComponentIdPathParam';
|
|
16
18
|
export type { ComponentInstance } from './models/ComponentInstance';
|
|
19
|
+
export type { ComponentInstanceId } from './models/ComponentInstanceId';
|
|
17
20
|
export type { ComponentNotes } from './models/ComponentNotes';
|
|
18
21
|
export type { ComponentRevisionGroupId } from './models/ComponentRevisionGroupId';
|
|
19
22
|
export { ComponentState } from './models/ComponentState';
|
|
@@ -44,10 +47,6 @@ export type { DTOSnapshotCreate } from './models/DTOSnapshotCreate';
|
|
|
44
47
|
export type { DTOSnapshotEntity } from './models/DTOSnapshotEntity';
|
|
45
48
|
export type { DTOSnapshotRead } from './models/DTOSnapshotRead';
|
|
46
49
|
export type { DTOSnapshotUpdate } from './models/DTOSnapshotUpdate';
|
|
47
|
-
export type { DTOSwooperCreate } from './models/DTOSwooperCreate';
|
|
48
|
-
export type { DTOSwooperEntity } from './models/DTOSwooperEntity';
|
|
49
|
-
export type { DTOSwooperRead } from './models/DTOSwooperRead';
|
|
50
|
-
export type { DTOSwooperUpdate } from './models/DTOSwooperUpdate';
|
|
51
50
|
export type { DTOSwoopSync } from './models/DTOSwoopSync';
|
|
52
51
|
export type { DTOTemplateCreate } from './models/DTOTemplateCreate';
|
|
53
52
|
export type { DTOTemplateEntity } from './models/DTOTemplateEntity';
|
|
@@ -56,10 +55,11 @@ export type { DTOTemplateUpdate } from './models/DTOTemplateUpdate';
|
|
|
56
55
|
export type { EnquiryId } from './models/EnquiryId';
|
|
57
56
|
export type { EnquiryIdPathParam } from './models/EnquiryIdPathParam';
|
|
58
57
|
export type { EnquiryIdQueryParam } from './models/EnquiryIdQueryParam';
|
|
59
|
-
export type {
|
|
58
|
+
export type { ExpandedMap } from './models/ExpandedMap';
|
|
60
59
|
export type { Fee } from './models/Fee';
|
|
61
60
|
export type { Field } from './models/Field';
|
|
62
|
-
export type {
|
|
61
|
+
export type { Flag } from './models/Flag';
|
|
62
|
+
export type { InternalSwoopId } from './models/InternalSwoopId';
|
|
63
63
|
export type { ItineraryCreateResponse } from './models/ItineraryCreateResponse';
|
|
64
64
|
export type { ItineraryId } from './models/ItineraryId';
|
|
65
65
|
export type { ItineraryIdPathParam } from './models/ItineraryIdPathParam';
|
|
@@ -82,7 +82,9 @@ export type { Pagination } from './models/Pagination';
|
|
|
82
82
|
export type { Partner } from './models/Partner';
|
|
83
83
|
export type { Partners } from './models/Partners';
|
|
84
84
|
export type { Price } from './models/Price';
|
|
85
|
+
export type { PublicSnapShotEnquiryStatus } from './models/PublicSnapShotEnquiryStatus';
|
|
85
86
|
export type { PublicSnapshotId } from './models/PublicSnapshotId';
|
|
87
|
+
export type { PublicSnapshotPerson } from './models/PublicSnapshotPerson';
|
|
86
88
|
export type { QuoteOptions } from './models/QuoteOptions';
|
|
87
89
|
export type { RegionId } from './models/RegionId';
|
|
88
90
|
export type { SearchQueryParam } from './models/SearchQueryParam';
|
|
@@ -90,13 +92,7 @@ export type { SnapshotId } from './models/SnapshotId';
|
|
|
90
92
|
export type { SnapshotIdPathParam } from './models/SnapshotIdPathParam';
|
|
91
93
|
export type { SortQueryParam } from './models/SortQueryParam';
|
|
92
94
|
export type { StateQueryParam } from './models/StateQueryParam';
|
|
93
|
-
export type {
|
|
94
|
-
export type { SwooperExperience } from './models/SwooperExperience';
|
|
95
|
-
export type { SwooperHighlights } from './models/SwooperHighlights';
|
|
96
|
-
export type { SwooperId } from './models/SwooperId';
|
|
97
|
-
export type { SwooperIdPathParam } from './models/SwooperIdPathParam';
|
|
98
|
-
export type { SwooperInfo } from './models/SwooperInfo';
|
|
99
|
-
export type { SwooperPersonalInfo } from './models/SwooperPersonalInfo';
|
|
95
|
+
export type { SwoopError } from './models/SwoopError';
|
|
100
96
|
export type { SwoopSyncComponentInstance } from './models/SwoopSyncComponentInstance';
|
|
101
97
|
export type { SwoopSyncError } from './models/SwoopSyncError';
|
|
102
98
|
export type { SwoopSyncErrorMsg } from './models/SwoopSyncErrorMsg';
|
|
@@ -113,7 +109,7 @@ export type { VersionPathParam } from './models/VersionPathParam';
|
|
|
113
109
|
export { ComponentService } from './services/ComponentService';
|
|
114
110
|
export { CoreService } from './services/CoreService';
|
|
115
111
|
export { ItineraryService } from './services/ItineraryService';
|
|
112
|
+
export { PublicService } from './services/PublicService';
|
|
116
113
|
export { RegionService } from './services/RegionService';
|
|
117
114
|
export { SnapshotService } from './services/SnapshotService';
|
|
118
|
-
export { SwooperService } from './services/SwooperService';
|
|
119
115
|
export { TemplateService } from './services/TemplateService';
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export { ApiError } from './core/ApiError';
|
|
6
6
|
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
7
7
|
export { OpenAPI } from './core/OpenAPI';
|
|
8
|
+
export { AmendmentType } from './models/AmendmentType';
|
|
8
9
|
export { BookingStatus } from './models/BookingStatus';
|
|
9
10
|
export { ComponentState } from './models/ComponentState';
|
|
10
11
|
export { Currency } from './models/Currency';
|
|
@@ -16,7 +17,7 @@ export { UrgencyCTA } from './models/UrgencyCTA';
|
|
|
16
17
|
export { ComponentService } from './services/ComponentService';
|
|
17
18
|
export { CoreService } from './services/CoreService';
|
|
18
19
|
export { ItineraryService } from './services/ItineraryService';
|
|
20
|
+
export { PublicService } from './services/PublicService';
|
|
19
21
|
export { RegionService } from './services/RegionService';
|
|
20
22
|
export { SnapshotService } from './services/SnapshotService';
|
|
21
|
-
export { SwooperService } from './services/SwooperService';
|
|
22
23
|
export { TemplateService } from './services/TemplateService';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
1
|
+
import type { AmendmentTravellers } from './AmendmentTravellers';
|
|
2
|
+
import type { AmendmentType } from './AmendmentType';
|
|
3
|
+
import type { ComponentInstanceId } from './ComponentInstanceId';
|
|
4
4
|
export type Amendment = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
type: AmendmentType;
|
|
6
|
+
componentInstanceId: ComponentInstanceId;
|
|
7
|
+
date: string;
|
|
8
|
+
description: string;
|
|
9
|
+
assignedTravellers: Array<AmendmentTravellers>;
|
|
8
10
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var AmendmentType;
|
|
6
|
+
(function (AmendmentType) {
|
|
7
|
+
AmendmentType["CANCELLATION"] = "cancellation";
|
|
8
|
+
})(AmendmentType || (AmendmentType = {}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
1
2
|
export type AssignedPassenger = {
|
|
2
|
-
travellerId:
|
|
3
|
-
travellerGroupId:
|
|
3
|
+
travellerId: InternalSwoopId;
|
|
4
|
+
travellerGroupId: InternalSwoopId;
|
|
4
5
|
firstName: string;
|
|
5
6
|
lastName: string;
|
|
6
7
|
email: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { BranchTag } from './BranchTag';
|
|
2
|
-
import type {
|
|
2
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
3
3
|
import type { ItineraryId } from './ItineraryId';
|
|
4
4
|
import type { Metadata } from './Metadata';
|
|
5
5
|
export type Branches = {
|
|
6
|
-
enquiryId:
|
|
6
|
+
enquiryId: InternalSwoopId;
|
|
7
7
|
tag: BranchTag;
|
|
8
8
|
version: number;
|
|
9
9
|
itineraryId: ItineraryId;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import type { Amendment } from './Amendment';
|
|
2
1
|
import type { AssignedPassenger } from './AssignedPassenger';
|
|
3
2
|
import type { AssignedTravellerGroup } from './AssignedTravellerGroup';
|
|
4
3
|
import type { BookingStatus } from './BookingStatus';
|
|
5
4
|
import type { ComponentId } from './ComponentId';
|
|
5
|
+
import type { ComponentInstanceId } from './ComponentInstanceId';
|
|
6
6
|
import type { Field } from './Field';
|
|
7
|
+
import type { Flag } from './Flag';
|
|
8
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
7
9
|
import type { Price } from './Price';
|
|
8
10
|
import type { UserComponentInstanceField } from './UserComponentInstanceField';
|
|
9
11
|
export type ComponentInstance = {
|
|
10
|
-
id:
|
|
11
|
-
parentId?:
|
|
12
|
+
id: ComponentInstanceId;
|
|
13
|
+
parentId?: ComponentInstanceId;
|
|
12
14
|
componentId: ComponentId;
|
|
13
|
-
partnerId:
|
|
15
|
+
partnerId: InternalSwoopId;
|
|
14
16
|
componentInstanceFields: Array<Field>;
|
|
15
17
|
userComponentInstanceFields: Array<UserComponentInstanceField>;
|
|
16
18
|
assignedPassengers: Array<AssignedPassenger>;
|
|
@@ -21,10 +23,9 @@ export type ComponentInstance = {
|
|
|
21
23
|
negotiatedDiscount: number;
|
|
22
24
|
nonCommissionableAmount: number;
|
|
23
25
|
};
|
|
24
|
-
amendments?: Array<Amendment>;
|
|
25
26
|
bookingGroup: string;
|
|
26
|
-
startDate
|
|
27
|
-
endDate
|
|
28
|
-
|
|
27
|
+
startDate?: string;
|
|
28
|
+
endDate?: string;
|
|
29
|
+
flag: Flag;
|
|
29
30
|
bookingStatus: BookingStatus;
|
|
30
31
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ComponentInstanceId = string;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
import type { Amendment } from './Amendment';
|
|
1
2
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
3
|
import type { Discount } from './Discount';
|
|
3
|
-
import type { EnquiryId } from './EnquiryId';
|
|
4
4
|
import type { Fee } from './Fee';
|
|
5
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
5
6
|
import type { ItineraryValue } from './ItineraryValue';
|
|
6
7
|
import type { QuoteOptions } from './QuoteOptions';
|
|
7
8
|
import type { Title } from './Title';
|
|
8
9
|
export type DTOItineraryCreate = {
|
|
9
|
-
enquiryId?:
|
|
10
|
+
enquiryId?: InternalSwoopId;
|
|
10
11
|
title: Title;
|
|
11
12
|
welcomeNote?: string;
|
|
12
13
|
values?: Array<ItineraryValue>;
|
|
14
|
+
amendments?: Array<Amendment>;
|
|
13
15
|
componentInstances?: Array<ComponentInstance>;
|
|
14
16
|
fees?: Array<Fee>;
|
|
15
17
|
quoteOption?: QuoteOptions;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { Amendment } from './Amendment';
|
|
1
2
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
3
|
import type { Discount } from './Discount';
|
|
3
|
-
import type { EnquiryId } from './EnquiryId';
|
|
4
4
|
import type { Fee } from './Fee';
|
|
5
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
5
6
|
import type { ItineraryId } from './ItineraryId';
|
|
6
7
|
import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
7
8
|
import type { ItineraryValue } from './ItineraryValue';
|
|
@@ -12,11 +13,12 @@ export type DTOItineraryEntity = {
|
|
|
12
13
|
id: ItineraryId;
|
|
13
14
|
revisionGroupId: ItineraryRevisionGroupId;
|
|
14
15
|
revision: number;
|
|
15
|
-
enquiryId:
|
|
16
|
+
enquiryId: InternalSwoopId;
|
|
16
17
|
metadata: Metadata;
|
|
17
18
|
title: Title;
|
|
18
19
|
welcomeNote: string;
|
|
19
20
|
values: Array<ItineraryValue>;
|
|
21
|
+
amendments?: Array<Amendment>;
|
|
20
22
|
componentInstances: Array<ComponentInstance>;
|
|
21
23
|
fees: Array<Fee>;
|
|
22
24
|
quoteOption?: QuoteOptions;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { Amendment } from './Amendment';
|
|
1
2
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
3
|
import type { Discount } from './Discount';
|
|
3
|
-
import type { EnquiryId } from './EnquiryId';
|
|
4
4
|
import type { Fee } from './Fee';
|
|
5
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
5
6
|
import type { ItineraryId } from './ItineraryId';
|
|
6
7
|
import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
7
8
|
import type { ItineraryValue } from './ItineraryValue';
|
|
@@ -12,11 +13,12 @@ export type DTOItineraryRead = {
|
|
|
12
13
|
id: ItineraryId;
|
|
13
14
|
revisionGroupId: ItineraryRevisionGroupId;
|
|
14
15
|
revision: number;
|
|
15
|
-
enquiryId:
|
|
16
|
+
enquiryId: InternalSwoopId;
|
|
16
17
|
metadata: Metadata;
|
|
17
18
|
title: Title;
|
|
18
19
|
welcomeNote: string;
|
|
19
20
|
values: Array<ItineraryValue>;
|
|
21
|
+
amendments?: Array<Amendment>;
|
|
20
22
|
componentInstances: Array<ComponentInstance>;
|
|
21
23
|
fees: Array<Fee>;
|
|
22
24
|
quoteOption?: QuoteOptions;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Amendment } from './Amendment';
|
|
1
2
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
3
|
import type { Discount } from './Discount';
|
|
3
4
|
import type { Fee } from './Fee';
|
|
@@ -9,6 +10,7 @@ export type DTOItineraryUpdate = {
|
|
|
9
10
|
welcomeNote?: string;
|
|
10
11
|
values?: Array<ItineraryValue>;
|
|
11
12
|
componentInstances?: Array<ComponentInstance>;
|
|
13
|
+
amendments?: Array<Amendment>;
|
|
12
14
|
fees?: Array<Fee>;
|
|
13
15
|
quoteOption?: QuoteOptions;
|
|
14
16
|
discounts?: Array<Discount>;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import type { DTOItineraryRead } from './DTOItineraryRead';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { ExpandedMap } from './ExpandedMap';
|
|
3
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
4
|
+
import type { PublicSnapShotEnquiryStatus } from './PublicSnapShotEnquiryStatus';
|
|
5
|
+
import type { PublicSnapshotPerson } from './PublicSnapshotPerson';
|
|
4
6
|
import type { SnapshotId } from './SnapshotId';
|
|
5
7
|
import type { Title } from './Title';
|
|
6
8
|
export type DTOPublicSnapshotCreate = {
|
|
7
9
|
snapshotId: SnapshotId;
|
|
8
10
|
name: Title;
|
|
9
|
-
enquiryId:
|
|
11
|
+
enquiryId: InternalSwoopId;
|
|
10
12
|
itinerary: DTOItineraryRead;
|
|
11
|
-
map:
|
|
13
|
+
map: ExpandedMap;
|
|
14
|
+
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
15
|
+
salesPerson: PublicSnapshotPerson;
|
|
16
|
+
cxPerson: PublicSnapshotPerson;
|
|
12
17
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { DTOItineraryRead } from './DTOItineraryRead';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { ExpandedMap } from './ExpandedMap';
|
|
3
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
4
4
|
import type { Metadata } from './Metadata';
|
|
5
|
+
import type { PublicSnapShotEnquiryStatus } from './PublicSnapShotEnquiryStatus';
|
|
5
6
|
import type { PublicSnapshotId } from './PublicSnapshotId';
|
|
7
|
+
import type { PublicSnapshotPerson } from './PublicSnapshotPerson';
|
|
6
8
|
import type { SnapshotId } from './SnapshotId';
|
|
7
9
|
import type { Title } from './Title';
|
|
8
10
|
export type DTOPublicSnapshotEntity = {
|
|
@@ -10,7 +12,10 @@ export type DTOPublicSnapshotEntity = {
|
|
|
10
12
|
snapshotId: SnapshotId;
|
|
11
13
|
metadata: Metadata;
|
|
12
14
|
name: Title;
|
|
13
|
-
enquiryId:
|
|
15
|
+
enquiryId: InternalSwoopId;
|
|
14
16
|
itinerary: DTOItineraryRead;
|
|
15
|
-
map:
|
|
17
|
+
map: ExpandedMap;
|
|
18
|
+
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
19
|
+
salesPerson: PublicSnapshotPerson;
|
|
20
|
+
cxPerson: PublicSnapshotPerson;
|
|
16
21
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { DTOItineraryRead } from './DTOItineraryRead';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { ExpandedMap } from './ExpandedMap';
|
|
3
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
4
4
|
import type { Metadata } from './Metadata';
|
|
5
|
+
import type { PublicSnapShotEnquiryStatus } from './PublicSnapShotEnquiryStatus';
|
|
5
6
|
import type { PublicSnapshotId } from './PublicSnapshotId';
|
|
7
|
+
import type { PublicSnapshotPerson } from './PublicSnapshotPerson';
|
|
6
8
|
import type { SnapshotId } from './SnapshotId';
|
|
7
9
|
import type { Title } from './Title';
|
|
8
10
|
export type DTOPublicSnapshotRead = {
|
|
@@ -10,7 +12,10 @@ export type DTOPublicSnapshotRead = {
|
|
|
10
12
|
snapshotId: SnapshotId;
|
|
11
13
|
metadata: Metadata;
|
|
12
14
|
name: Title;
|
|
13
|
-
enquiryId:
|
|
15
|
+
enquiryId: InternalSwoopId;
|
|
14
16
|
itinerary: DTOItineraryRead;
|
|
15
|
-
map:
|
|
17
|
+
map: ExpandedMap;
|
|
18
|
+
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
19
|
+
salesPerson: PublicSnapshotPerson;
|
|
20
|
+
cxPerson: PublicSnapshotPerson;
|
|
16
21
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
2
2
|
import type { ItineraryId } from './ItineraryId';
|
|
3
3
|
import type { Title } from './Title';
|
|
4
4
|
export type DTOSnapshotCreate = {
|
|
5
5
|
name: Title;
|
|
6
6
|
itineraryId: ItineraryId;
|
|
7
|
-
enquiryId:
|
|
7
|
+
enquiryId: InternalSwoopId;
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
2
2
|
import type { ItineraryId } from './ItineraryId';
|
|
3
3
|
import type { Metadata } from './Metadata';
|
|
4
4
|
import type { SnapshotId } from './SnapshotId';
|
|
@@ -8,5 +8,5 @@ export type DTOSnapshotEntity = {
|
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
name: Title;
|
|
10
10
|
itineraryId: ItineraryId;
|
|
11
|
-
enquiryId:
|
|
11
|
+
enquiryId: InternalSwoopId;
|
|
12
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
2
2
|
import type { ItineraryId } from './ItineraryId';
|
|
3
3
|
import type { Metadata } from './Metadata';
|
|
4
4
|
import type { SnapshotId } from './SnapshotId';
|
|
@@ -8,5 +8,5 @@ export type DTOSnapshotRead = {
|
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
name: Title;
|
|
10
10
|
itineraryId: ItineraryId;
|
|
11
|
-
enquiryId:
|
|
11
|
+
enquiryId: InternalSwoopId;
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Discount } from './Discount';
|
|
2
|
-
import type { EnquiryId } from './EnquiryId';
|
|
3
2
|
import type { Fee } from './Fee';
|
|
3
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
4
4
|
import type { ItineraryId } from './ItineraryId';
|
|
5
5
|
import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
6
6
|
import type { ItineraryValue } from './ItineraryValue';
|
|
@@ -12,7 +12,7 @@ export type DTOSwoopSync = {
|
|
|
12
12
|
id: ItineraryId;
|
|
13
13
|
revisionGroupId: ItineraryRevisionGroupId;
|
|
14
14
|
revision: number;
|
|
15
|
-
enquiryId:
|
|
15
|
+
enquiryId: InternalSwoopId;
|
|
16
16
|
metadata: Metadata;
|
|
17
17
|
title: Title;
|
|
18
18
|
welcomeNote: string;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
2
|
+
export type EnquiryId = InternalSwoopId;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InternalSwoopId = string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { BranchTag } from './BranchTag';
|
|
2
2
|
import type { DTOItineraryRead } from './DTOItineraryRead';
|
|
3
|
-
import type {
|
|
3
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
4
4
|
export type ItineraryCreateResponse = {
|
|
5
5
|
itinerary: DTOItineraryRead;
|
|
6
6
|
tag: BranchTag;
|
|
7
|
-
enquiryId:
|
|
7
|
+
enquiryId: InternalSwoopId;
|
|
8
8
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
2
|
+
export type Partner = InternalSwoopId;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type Partners = Array<
|
|
1
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
2
|
+
export type Partners = Array<InternalSwoopId>;
|
|
@@ -4,15 +4,17 @@ import type { AssignedTravellerGroup } from './AssignedTravellerGroup';
|
|
|
4
4
|
import type { BookingStatus } from './BookingStatus';
|
|
5
5
|
import type { ComponentId } from './ComponentId';
|
|
6
6
|
import type { Field } from './Field';
|
|
7
|
+
import type { Flag } from './Flag';
|
|
8
|
+
import type { InternalSwoopId } from './InternalSwoopId';
|
|
7
9
|
import type { Price } from './Price';
|
|
8
10
|
import type { TripId } from './TripId';
|
|
9
11
|
import type { UserComponentInstanceField } from './UserComponentInstanceField';
|
|
10
12
|
export type SwoopSyncComponentInstance = {
|
|
11
13
|
id: string;
|
|
12
14
|
componentId: ComponentId;
|
|
13
|
-
bookingItemTypeId:
|
|
15
|
+
bookingItemTypeId: InternalSwoopId;
|
|
14
16
|
tripId?: TripId;
|
|
15
|
-
partnerId:
|
|
17
|
+
partnerId: InternalSwoopId;
|
|
16
18
|
componentInstanceFields: Array<Field>;
|
|
17
19
|
userComponentInstanceFields: Array<UserComponentInstanceField>;
|
|
18
20
|
assignedPassengers: Array<AssignedPassenger>;
|
|
@@ -27,6 +29,6 @@ export type SwoopSyncComponentInstance = {
|
|
|
27
29
|
bookingGroup: string;
|
|
28
30
|
startDate: string;
|
|
29
31
|
endDate: string;
|
|
30
|
-
|
|
32
|
+
flag: Flag;
|
|
31
33
|
bookingStatus: BookingStatus;
|
|
32
34
|
};
|