swoop-common 2.1.55 → 2.1.56
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/bundler.js +86 -7
- package/dist/api/generated/core/exports.d.ts +19 -13
- package/dist/api/generated/core/exports.js +3 -0
- package/dist/api/generated/core/index.d.ts +19 -13
- package/dist/api/generated/core/index.js +3 -0
- package/dist/api/generated/core/models/Amendment.d.ts +4 -4
- package/dist/api/generated/core/models/AssignedTravellerGroup.d.ts +2 -1
- package/dist/api/generated/core/models/ComponentDescription.d.ts +3 -3
- package/dist/api/generated/core/models/ComponentFAQ.d.ts +2 -2
- package/dist/api/generated/core/models/ComponentId.d.ts +1 -0
- package/dist/api/generated/core/models/ComponentInstance.d.ts +12 -11
- package/dist/api/generated/core/models/ComponentMedia.d.ts +2 -2
- package/dist/api/generated/core/models/ComponentNotes.d.ts +6 -6
- package/dist/api/generated/core/models/ComponentRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/core/models/DTOComponentCreate.d.ts +13 -11
- package/dist/api/generated/core/models/DTOComponentEntity.d.ts +19 -15
- package/dist/api/generated/core/models/DTOComponentRead.d.ts +18 -14
- package/dist/api/generated/core/models/DTOComponentUpdate.d.ts +6 -6
- package/dist/api/generated/core/models/DTOItineraryCreate.d.ts +7 -5
- package/dist/api/generated/core/models/DTOItineraryEntity.d.ts +8 -4
- package/dist/api/generated/core/models/DTOItineraryRead.d.ts +8 -4
- package/dist/api/generated/core/models/DTOItineraryUpdate.d.ts +7 -5
- package/dist/api/generated/core/models/DTORegionCreate.d.ts +4 -2
- package/dist/api/generated/core/models/DTORegionEntity.d.ts +6 -3
- package/dist/api/generated/core/models/DTORegionRead.d.ts +6 -3
- package/dist/api/generated/core/models/DTORegionUpdate.d.ts +6 -4
- package/dist/api/generated/core/models/DTOSnapshotCreate.d.ts +6 -3
- package/dist/api/generated/core/models/DTOSnapshotEntity.d.ts +8 -4
- package/dist/api/generated/core/models/DTOSnapshotRead.d.ts +8 -4
- package/dist/api/generated/core/models/DTOSnapshotUpdate.d.ts +4 -2
- package/dist/api/generated/core/models/DTOTemplateCreate.d.ts +6 -3
- package/dist/api/generated/core/models/DTOTemplateEntity.d.ts +9 -5
- package/dist/api/generated/core/models/DTOTemplateRead.d.ts +9 -5
- package/dist/api/generated/core/models/DTOTemplateUpdate.d.ts +3 -3
- package/dist/api/generated/core/models/Destination.d.ts +5 -0
- package/dist/api/generated/core/models/Destination.js +10 -0
- package/dist/api/generated/core/models/Discount.d.ts +4 -3
- package/dist/api/generated/core/models/EnquiryId.d.ts +1 -0
- package/dist/api/generated/core/models/Error.d.ts +4 -1
- package/dist/api/generated/core/models/Fee.d.ts +4 -4
- package/dist/api/generated/core/models/ItineraryId.d.ts +1 -0
- package/dist/api/generated/core/models/ItineraryRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/core/models/Meals.d.ts +2 -1
- package/dist/api/generated/core/models/Meals.js +1 -0
- package/dist/api/generated/core/models/OrgId.d.ts +3 -0
- package/dist/api/generated/core/models/OrgId.js +8 -0
- package/dist/api/generated/core/models/Package.d.ts +5 -4
- package/dist/api/generated/core/models/PackageItem.d.ts +2 -2
- package/dist/api/generated/core/models/PackageSpan.d.ts +3 -2
- package/dist/api/generated/core/models/Price.d.ts +5 -0
- package/dist/api/generated/core/models/QuoteOptions.d.ts +7 -6
- package/dist/api/generated/core/models/RegionId.d.ts +1 -0
- package/dist/api/generated/core/models/SnapshotId.d.ts +1 -0
- package/dist/api/generated/core/models/TemplateId.d.ts +1 -0
- package/dist/api/generated/core/models/TemplateRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/core/models/Title.d.ts +1 -0
- package/dist/api/generated/core/models/UrgencyCTA.d.ts +4 -0
- package/dist/api/generated/core/models/UrgencyCTA.js +9 -0
- package/dist/api/generated/core/models/componentIdParam.d.ts +5 -0
- package/dist/api/generated/core/models/enquiryIdParam.d.ts +4 -0
- package/dist/api/generated/core/models/itineraryIdParam.d.ts +5 -0
- package/dist/api/generated/core/models/itineraryIdQuery.d.ts +2 -1
- package/dist/api/generated/core/models/snapshotIdParam.d.ts +2 -0
- package/dist/api/generated/core/models/templateIdParam.d.ts +5 -0
- package/dist/api/generated/core/services/ComponentService.d.ts +7 -7
- package/dist/api/generated/core/services/CoreService.d.ts +11 -10
- package/dist/api/generated/core/services/TemplateService.d.ts +4 -3
- package/dist/api/generated/itinerary/index.d.ts +19 -13
- package/dist/api/generated/itinerary/index.js +3 -0
- package/dist/api/generated/itinerary/models/Amendment.d.ts +4 -4
- package/dist/api/generated/itinerary/models/AssignedTravellerGroup.d.ts +2 -1
- package/dist/api/generated/itinerary/models/ComponentDescription.d.ts +3 -3
- package/dist/api/generated/itinerary/models/ComponentFAQ.d.ts +2 -2
- package/dist/api/generated/itinerary/models/ComponentId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/ComponentInstance.d.ts +12 -11
- package/dist/api/generated/itinerary/models/ComponentMedia.d.ts +2 -2
- package/dist/api/generated/itinerary/models/ComponentNotes.d.ts +6 -6
- package/dist/api/generated/itinerary/models/ComponentRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/DTOComponentCreate.d.ts +13 -11
- package/dist/api/generated/itinerary/models/DTOComponentEntity.d.ts +19 -15
- package/dist/api/generated/itinerary/models/DTOComponentRead.d.ts +18 -14
- package/dist/api/generated/itinerary/models/DTOComponentUpdate.d.ts +6 -6
- package/dist/api/generated/itinerary/models/DTOItineraryCreate.d.ts +7 -5
- package/dist/api/generated/itinerary/models/DTOItineraryEntity.d.ts +8 -4
- package/dist/api/generated/itinerary/models/DTOItineraryRead.d.ts +8 -4
- package/dist/api/generated/itinerary/models/DTOItineraryUpdate.d.ts +7 -5
- package/dist/api/generated/itinerary/models/DTORegionCreate.d.ts +4 -2
- package/dist/api/generated/itinerary/models/DTORegionEntity.d.ts +6 -3
- package/dist/api/generated/itinerary/models/DTORegionRead.d.ts +6 -3
- package/dist/api/generated/itinerary/models/DTORegionUpdate.d.ts +6 -4
- package/dist/api/generated/itinerary/models/DTOSnapshotCreate.d.ts +6 -3
- package/dist/api/generated/itinerary/models/DTOSnapshotEntity.d.ts +8 -4
- package/dist/api/generated/itinerary/models/DTOSnapshotRead.d.ts +8 -4
- package/dist/api/generated/itinerary/models/DTOSnapshotUpdate.d.ts +4 -2
- package/dist/api/generated/itinerary/models/DTOTemplateCreate.d.ts +6 -3
- package/dist/api/generated/itinerary/models/DTOTemplateEntity.d.ts +9 -5
- package/dist/api/generated/itinerary/models/DTOTemplateRead.d.ts +9 -5
- package/dist/api/generated/itinerary/models/DTOTemplateUpdate.d.ts +3 -3
- package/dist/api/generated/itinerary/models/Destination.d.ts +5 -0
- package/dist/api/generated/itinerary/models/Destination.js +10 -0
- package/dist/api/generated/itinerary/models/Discount.d.ts +4 -3
- package/dist/api/generated/itinerary/models/EnquiryId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/Error.d.ts +4 -1
- package/dist/api/generated/itinerary/models/Fee.d.ts +4 -4
- package/dist/api/generated/itinerary/models/ItineraryId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/ItineraryRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/Meals.d.ts +2 -1
- package/dist/api/generated/itinerary/models/Meals.js +1 -0
- package/dist/api/generated/itinerary/models/OrgId.d.ts +3 -0
- package/dist/api/generated/itinerary/models/OrgId.js +8 -0
- package/dist/api/generated/itinerary/models/Package.d.ts +5 -4
- package/dist/api/generated/itinerary/models/PackageItem.d.ts +2 -2
- package/dist/api/generated/itinerary/models/PackageSpan.d.ts +3 -2
- package/dist/api/generated/itinerary/models/Price.d.ts +5 -0
- package/dist/api/generated/itinerary/models/QuoteOptions.d.ts +7 -6
- package/dist/api/generated/itinerary/models/RegionId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/SnapshotId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/TemplateId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/TemplateRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/Title.d.ts +1 -0
- package/dist/api/generated/itinerary/models/Title.js +1 -0
- package/dist/api/generated/itinerary/models/UrgencyCTA.d.ts +4 -0
- package/dist/api/generated/itinerary/models/UrgencyCTA.js +9 -0
- package/dist/api/generated/itinerary/models/componentIdParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/componentIdParam.js +1 -0
- package/dist/api/generated/itinerary/models/enquiryIdParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/enquiryIdParam.js +1 -0
- package/dist/api/generated/itinerary/models/itineraryIdParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/itineraryIdParam.js +1 -0
- package/dist/api/generated/itinerary/models/itineraryIdQuery.d.ts +2 -1
- package/dist/api/generated/itinerary/models/snapshotIdParam.d.ts +2 -0
- package/dist/api/generated/itinerary/models/snapshotIdParam.js +1 -0
- package/dist/api/generated/itinerary/models/templateIdParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/templateIdParam.js +1 -0
- package/dist/api/generated/itinerary/services/AuditService.d.ts +2 -1
- package/dist/api/generated/itinerary/services/ItineraryService.d.ts +10 -8
- package/dist/api/generated/itinerary/services/SnapshotService.d.ts +4 -3
- package/dist/rendering/renderers/ComponentPicker.d.ts +10 -13
- package/package.json +3 -2
- package/dist/api/generated/core/models/Assignments.d.ts +0 -12
- package/dist/api/generated/core/models/BookingItem.d.ts +0 -9
- package/dist/api/generated/core/models/BookingItemResponse.d.ts +0 -5
- package/dist/api/generated/core/models/ComponentPricing.d.ts +0 -5
- package/dist/api/generated/core/models/CurrencyItem.d.ts +0 -11
- package/dist/api/generated/core/models/CurrencyItemResponse.d.ts +0 -5
- package/dist/api/generated/core/models/IBEvent.d.ts +0 -7
- package/dist/api/generated/core/models/Member.d.ts +0 -12
- package/dist/api/generated/core/models/componentId.d.ts +0 -4
- package/dist/api/generated/core/models/enquiryId.d.ts +0 -4
- package/dist/api/generated/core/models/itineraryId.d.ts +0 -4
- package/dist/api/generated/core/models/snapshotId.d.ts +0 -1
- package/dist/api/generated/core/models/templateId.d.ts +0 -4
- package/dist/api/generated/itinerary/models/Assignments.d.ts +0 -12
- package/dist/api/generated/itinerary/models/BookingItem.d.ts +0 -9
- package/dist/api/generated/itinerary/models/BookingItemResponse.d.ts +0 -5
- package/dist/api/generated/itinerary/models/ComponentPricing.d.ts +0 -5
- package/dist/api/generated/itinerary/models/CurrencyItem.d.ts +0 -11
- package/dist/api/generated/itinerary/models/CurrencyItemResponse.d.ts +0 -5
- package/dist/api/generated/itinerary/models/IBEvent.d.ts +0 -7
- package/dist/api/generated/itinerary/models/Member.d.ts +0 -12
- package/dist/api/generated/itinerary/models/componentId.d.ts +0 -4
- package/dist/api/generated/itinerary/models/enquiryId.d.ts +0 -4
- package/dist/api/generated/itinerary/models/itineraryId.d.ts +0 -4
- package/dist/api/generated/itinerary/models/snapshotId.d.ts +0 -1
- package/dist/api/generated/itinerary/models/templateId.d.ts +0 -4
- /package/dist/api/generated/core/models/{Assignments.js → ComponentId.js} +0 -0
- /package/dist/api/generated/core/models/{BookingItem.js → ComponentRevisionGroupId.js} +0 -0
- /package/dist/api/generated/core/models/{BookingItemResponse.js → EnquiryId.js} +0 -0
- /package/dist/api/generated/core/models/{ComponentPricing.js → ItineraryId.js} +0 -0
- /package/dist/api/generated/core/models/{CurrencyItem.js → ItineraryRevisionGroupId.js} +0 -0
- /package/dist/api/generated/core/models/{CurrencyItemResponse.js → Price.js} +0 -0
- /package/dist/api/generated/core/models/{IBEvent.js → RegionId.js} +0 -0
- /package/dist/api/generated/core/models/{Member.js → SnapshotId.js} +0 -0
- /package/dist/api/generated/core/models/{componentId.js → TemplateId.js} +0 -0
- /package/dist/api/generated/core/models/{enquiryId.js → TemplateRevisionGroupId.js} +0 -0
- /package/dist/api/generated/core/models/{itineraryId.js → Title.js} +0 -0
- /package/dist/api/generated/core/models/{snapshotId.js → componentIdParam.js} +0 -0
- /package/dist/api/generated/core/models/{templateId.js → enquiryIdParam.js} +0 -0
- /package/dist/api/generated/{itinerary/models/Assignments.js → core/models/itineraryIdParam.js} +0 -0
- /package/dist/api/generated/{itinerary/models/BookingItem.js → core/models/snapshotIdParam.js} +0 -0
- /package/dist/api/generated/{itinerary/models/BookingItemResponse.js → core/models/templateIdParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{ComponentPricing.js → ComponentId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{CurrencyItem.js → ComponentRevisionGroupId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{CurrencyItemResponse.js → EnquiryId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{IBEvent.js → ItineraryId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{Member.js → ItineraryRevisionGroupId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{componentId.js → Price.js} +0 -0
- /package/dist/api/generated/itinerary/models/{enquiryId.js → RegionId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{itineraryId.js → SnapshotId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{snapshotId.js → TemplateId.js} +0 -0
- /package/dist/api/generated/itinerary/models/{templateId.js → TemplateRevisionGroupId.js} +0 -0
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
2
|
import type { Discount } from './Discount';
|
|
3
|
+
import type { EnquiryId } from './EnquiryId';
|
|
3
4
|
import type { Fee } from './Fee';
|
|
4
5
|
import type { QuoteOptions } from './QuoteOptions';
|
|
6
|
+
import type { Title } from './Title';
|
|
5
7
|
export type DTOItineraryUpdate = {
|
|
6
|
-
enquiryId
|
|
7
|
-
title
|
|
8
|
-
componentInstances
|
|
9
|
-
fees
|
|
8
|
+
enquiryId?: EnquiryId;
|
|
9
|
+
title?: Title;
|
|
10
|
+
componentInstances?: Array<ComponentInstance>;
|
|
11
|
+
fees?: Array<Fee>;
|
|
10
12
|
quoteOption?: QuoteOptions;
|
|
11
|
-
discounts
|
|
13
|
+
discounts?: Array<Discount>;
|
|
12
14
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import type { Destination } from './Destination';
|
|
1
2
|
import type { Metadata } from './Metadata';
|
|
3
|
+
import type { RegionId } from './RegionId';
|
|
4
|
+
import type { Title } from './Title';
|
|
2
5
|
export type DTORegionEntity = {
|
|
3
|
-
id:
|
|
6
|
+
id: RegionId;
|
|
4
7
|
metadata: Metadata;
|
|
5
|
-
name:
|
|
8
|
+
name: Title;
|
|
6
9
|
description: string;
|
|
7
|
-
destination:
|
|
10
|
+
destination: Destination;
|
|
8
11
|
images: Array<string>;
|
|
9
12
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import type { Destination } from './Destination';
|
|
1
2
|
import type { Metadata } from './Metadata';
|
|
3
|
+
import type { RegionId } from './RegionId';
|
|
4
|
+
import type { Title } from './Title';
|
|
2
5
|
export type DTORegionRead = {
|
|
3
|
-
id:
|
|
6
|
+
id: RegionId;
|
|
4
7
|
metadata: Metadata;
|
|
5
|
-
name:
|
|
8
|
+
name: Title;
|
|
6
9
|
description: string;
|
|
7
|
-
destination:
|
|
10
|
+
destination: Destination;
|
|
8
11
|
images: Array<string>;
|
|
9
12
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { Destination } from './Destination';
|
|
2
|
+
import type { Title } from './Title';
|
|
1
3
|
export type DTORegionUpdate = {
|
|
2
|
-
name
|
|
3
|
-
description
|
|
4
|
-
destination
|
|
5
|
-
images
|
|
4
|
+
name?: Title;
|
|
5
|
+
description?: string;
|
|
6
|
+
destination?: Destination;
|
|
7
|
+
images?: Array<string>;
|
|
6
8
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type { EnquiryId } from './EnquiryId';
|
|
2
|
+
import type { ItineraryId } from './ItineraryId';
|
|
3
|
+
import type { Title } from './Title';
|
|
1
4
|
export type DTOSnapshotCreate = {
|
|
2
|
-
name:
|
|
3
|
-
itineraryId:
|
|
4
|
-
enquiryId:
|
|
5
|
+
name: Title;
|
|
6
|
+
itineraryId: ItineraryId;
|
|
7
|
+
enquiryId: EnquiryId;
|
|
5
8
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import type { EnquiryId } from './EnquiryId';
|
|
2
|
+
import type { ItineraryId } from './ItineraryId';
|
|
1
3
|
import type { Metadata } from './Metadata';
|
|
4
|
+
import type { SnapshotId } from './SnapshotId';
|
|
5
|
+
import type { Title } from './Title';
|
|
2
6
|
export type DTOSnapshotEntity = {
|
|
3
|
-
id:
|
|
7
|
+
id: SnapshotId;
|
|
4
8
|
metadata: Metadata;
|
|
5
|
-
name:
|
|
6
|
-
itineraryId:
|
|
7
|
-
enquiryId:
|
|
9
|
+
name: Title;
|
|
10
|
+
itineraryId: ItineraryId;
|
|
11
|
+
enquiryId: EnquiryId;
|
|
8
12
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import type { EnquiryId } from './EnquiryId';
|
|
2
|
+
import type { ItineraryId } from './ItineraryId';
|
|
1
3
|
import type { Metadata } from './Metadata';
|
|
4
|
+
import type { SnapshotId } from './SnapshotId';
|
|
5
|
+
import type { Title } from './Title';
|
|
2
6
|
export type DTOSnapshotRead = {
|
|
3
|
-
id:
|
|
7
|
+
id: SnapshotId;
|
|
4
8
|
metadata: Metadata;
|
|
5
|
-
name:
|
|
6
|
-
itineraryId:
|
|
7
|
-
enquiryId:
|
|
9
|
+
name: Title;
|
|
10
|
+
itineraryId: ItineraryId;
|
|
11
|
+
enquiryId: EnquiryId;
|
|
8
12
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { OrgId } from './OrgId';
|
|
2
|
+
import type { TemplateRevisionGroupId } from './TemplateRevisionGroupId';
|
|
3
|
+
import type { Title } from './Title';
|
|
1
4
|
import type { ValidationSchemas } from './ValidationSchemas';
|
|
2
5
|
export type DTOTemplateCreate = {
|
|
3
|
-
orgId
|
|
4
|
-
name:
|
|
6
|
+
orgId: OrgId;
|
|
7
|
+
name: Title;
|
|
5
8
|
masterSchema: string;
|
|
6
9
|
validationSchemas: ValidationSchemas;
|
|
7
|
-
parentRevisionGroupId:
|
|
10
|
+
parentRevisionGroupId: TemplateRevisionGroupId;
|
|
8
11
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { Metadata } from './Metadata';
|
|
2
|
+
import type { OrgId } from './OrgId';
|
|
3
|
+
import type { TemplateId } from './TemplateId';
|
|
4
|
+
import type { TemplateRevisionGroupId } from './TemplateRevisionGroupId';
|
|
5
|
+
import type { Title } from './Title';
|
|
2
6
|
import type { ValidationSchemas } from './ValidationSchemas';
|
|
3
7
|
export type DTOTemplateEntity = {
|
|
4
|
-
id:
|
|
5
|
-
orgId:
|
|
6
|
-
parentRevisionGroupId:
|
|
7
|
-
revisionGroupId:
|
|
8
|
+
id: TemplateId;
|
|
9
|
+
orgId: OrgId;
|
|
10
|
+
parentRevisionGroupId: TemplateRevisionGroupId;
|
|
11
|
+
revisionGroupId: TemplateRevisionGroupId;
|
|
8
12
|
revision: number;
|
|
9
13
|
metadata: Metadata;
|
|
10
|
-
name:
|
|
14
|
+
name: Title;
|
|
11
15
|
masterSchema: string;
|
|
12
16
|
validationSchemas: ValidationSchemas;
|
|
13
17
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { Metadata } from './Metadata';
|
|
2
|
+
import type { OrgId } from './OrgId';
|
|
3
|
+
import type { TemplateId } from './TemplateId';
|
|
4
|
+
import type { TemplateRevisionGroupId } from './TemplateRevisionGroupId';
|
|
5
|
+
import type { Title } from './Title';
|
|
2
6
|
import type { ValidationSchemas } from './ValidationSchemas';
|
|
3
7
|
export type DTOTemplateRead = {
|
|
4
|
-
id:
|
|
5
|
-
orgId:
|
|
6
|
-
parentRevisionGroupId:
|
|
7
|
-
revisionGroupId:
|
|
8
|
+
id: TemplateId;
|
|
9
|
+
orgId: OrgId;
|
|
10
|
+
parentRevisionGroupId: TemplateRevisionGroupId;
|
|
11
|
+
revisionGroupId: TemplateRevisionGroupId;
|
|
8
12
|
revision: number;
|
|
9
13
|
metadata: Metadata;
|
|
10
|
-
name:
|
|
14
|
+
name: Title;
|
|
11
15
|
masterSchema: string;
|
|
12
16
|
validationSchemas: ValidationSchemas;
|
|
13
17
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ValidationSchemas } from './ValidationSchemas';
|
|
2
2
|
export type DTOTemplateUpdate = {
|
|
3
|
-
name
|
|
4
|
-
masterSchema
|
|
5
|
-
validationSchemas
|
|
3
|
+
name?: string;
|
|
4
|
+
masterSchema?: string;
|
|
5
|
+
validationSchemas?: ValidationSchemas;
|
|
6
6
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var Destination;
|
|
6
|
+
(function (Destination) {
|
|
7
|
+
Destination["PATAGONIA"] = "patagonia";
|
|
8
|
+
Destination["ANTARCTIC"] = "antarctic";
|
|
9
|
+
Destination["REST_OF_CHILE_ARGENTINA"] = "rest of chile/argentina";
|
|
10
|
+
})(Destination || (Destination = {}));
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { AssignedPassenger } from './AssignedPassenger';
|
|
2
|
+
import type { Price } from './Price';
|
|
3
|
+
import type { Title } from './Title';
|
|
2
4
|
export type Discount = {
|
|
3
|
-
name:
|
|
5
|
+
name: Title;
|
|
4
6
|
reason: string;
|
|
5
7
|
type: string;
|
|
6
|
-
price:
|
|
7
|
-
currency: string;
|
|
8
|
+
price: Price;
|
|
8
9
|
assignedPassenger: AssignedPassenger;
|
|
9
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnquiryId = string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AssignedPassenger } from './AssignedPassenger';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Price } from './Price';
|
|
3
|
+
import type { Title } from './Title';
|
|
3
4
|
export type Fee = {
|
|
4
|
-
name:
|
|
5
|
+
name: Title;
|
|
5
6
|
reason: string;
|
|
6
7
|
type: string;
|
|
7
|
-
price:
|
|
8
|
-
currency: Currency;
|
|
8
|
+
price: Price;
|
|
9
9
|
assignedPassenger: AssignedPassenger;
|
|
10
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ItineraryId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ItineraryRevisionGroupId = string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PackageSpan } from './PackageSpan';
|
|
2
|
+
import type { Title } from './Title';
|
|
2
3
|
export type Package = {
|
|
3
|
-
spans
|
|
4
|
-
title:
|
|
4
|
+
spans?: Array<PackageSpan>;
|
|
5
|
+
title: Title;
|
|
5
6
|
description: string;
|
|
6
|
-
startDate: string
|
|
7
|
-
endDate: string
|
|
7
|
+
startDate: string;
|
|
8
|
+
endDate: string;
|
|
8
9
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { Meals } from './Meals';
|
|
2
2
|
import type { PackageItem } from './PackageItem';
|
|
3
|
+
import type { Title } from './Title';
|
|
3
4
|
export type PackageSpan = {
|
|
4
|
-
title:
|
|
5
|
+
title: Title;
|
|
5
6
|
description: string;
|
|
6
7
|
items: Array<PackageItem>;
|
|
7
8
|
startDay: number;
|
|
8
9
|
endDay: number;
|
|
9
|
-
meals
|
|
10
|
+
meals: Array<Meals>;
|
|
10
11
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { UrgencyCTA } from './UrgencyCTA';
|
|
1
2
|
export type QuoteOptions = {
|
|
2
|
-
showAllPrice
|
|
3
|
-
includePaymentLinks
|
|
4
|
-
urgencyCta
|
|
5
|
-
quoteExpiredDate
|
|
6
|
-
priceRange
|
|
7
|
-
savingMade
|
|
3
|
+
showAllPrice: boolean;
|
|
4
|
+
includePaymentLinks: boolean;
|
|
5
|
+
urgencyCta: UrgencyCTA;
|
|
6
|
+
quoteExpiredDate: string;
|
|
7
|
+
priceRange: string;
|
|
8
|
+
savingMade: string;
|
|
8
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type RegionId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SnapshotId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TemplateId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TemplateRevisionGroupId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Title = string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var UrgencyCTA;
|
|
6
|
+
(function (UrgencyCTA) {
|
|
7
|
+
UrgencyCTA["LIMITED_AVAILABILITY"] = "Limited Availability";
|
|
8
|
+
UrgencyCTA["YOUR_CABIN_IS_ON_HOLD_FOR_24_HOURS"] = "Your Cabin is on hold for 24 hours";
|
|
9
|
+
})(UrgencyCTA || (UrgencyCTA = {}));
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ComponentId } from '../models/ComponentId';
|
|
2
|
+
import type { ComponentState } from '../models/ComponentState';
|
|
1
3
|
import type { DTOComponentCreate } from '../models/DTOComponentCreate';
|
|
2
4
|
import type { DTOComponentRead } from '../models/DTOComponentRead';
|
|
3
5
|
import type { DTOComponentUpdate } from '../models/DTOComponentUpdate';
|
|
@@ -32,7 +34,7 @@ export declare class ComponentService {
|
|
|
32
34
|
* @returns any OK
|
|
33
35
|
* @throws ApiError
|
|
34
36
|
*/
|
|
35
|
-
static componentGet(componentId:
|
|
37
|
+
static componentGet(componentId: ComponentId): CancelablePromise<any>;
|
|
36
38
|
/**
|
|
37
39
|
* Update Component as New Revision
|
|
38
40
|
* Updates an component as a new revision
|
|
@@ -41,7 +43,7 @@ export declare class ComponentService {
|
|
|
41
43
|
* @returns DTOComponentRead When a new component is created successfully
|
|
42
44
|
* @throws ApiError
|
|
43
45
|
*/
|
|
44
|
-
static componentUpdateAsNewRevision(componentId:
|
|
46
|
+
static componentUpdateAsNewRevision(componentId: ComponentId, requestBody: DTOComponentUpdate): CancelablePromise<DTOComponentRead>;
|
|
45
47
|
/**
|
|
46
48
|
* Update Component
|
|
47
49
|
* Updates an component
|
|
@@ -50,7 +52,7 @@ export declare class ComponentService {
|
|
|
50
52
|
* @returns DTOComponentRead When a component is updated successfully
|
|
51
53
|
* @throws ApiError
|
|
52
54
|
*/
|
|
53
|
-
static componentUpdate(componentId:
|
|
55
|
+
static componentUpdate(componentId: ComponentId, requestBody: DTOComponentUpdate): CancelablePromise<DTOComponentRead>;
|
|
54
56
|
/**
|
|
55
57
|
* Delete Component via ID
|
|
56
58
|
* Deletes a specific component given its Id
|
|
@@ -58,7 +60,7 @@ export declare class ComponentService {
|
|
|
58
60
|
* @returns void
|
|
59
61
|
* @throws ApiError
|
|
60
62
|
*/
|
|
61
|
-
static componentDelete(componentId:
|
|
63
|
+
static componentDelete(componentId: ComponentId): CancelablePromise<void>;
|
|
62
64
|
/**
|
|
63
65
|
* Update Component State
|
|
64
66
|
* Directly update component state. This does not create a new revision
|
|
@@ -67,7 +69,5 @@ export declare class ComponentService {
|
|
|
67
69
|
* @returns any OK
|
|
68
70
|
* @throws ApiError
|
|
69
71
|
*/
|
|
70
|
-
static componentStateUpdate(componentId:
|
|
71
|
-
state?: 'published' | 'deprecated' | 'unpublished';
|
|
72
|
-
}): CancelablePromise<any>;
|
|
72
|
+
static componentStateUpdate(componentId: ComponentId, requestBody: ComponentState): CancelablePromise<any>;
|
|
73
73
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ComponentId } from '../models/ComponentId';
|
|
2
|
+
import type { ComponentState } from '../models/ComponentState';
|
|
1
3
|
import type { DTOComponentCreate } from '../models/DTOComponentCreate';
|
|
2
4
|
import type { DTOComponentRead } from '../models/DTOComponentRead';
|
|
3
5
|
import type { DTOComponentUpdate } from '../models/DTOComponentUpdate';
|
|
@@ -5,6 +7,7 @@ import type { DTOTemplateCreate } from '../models/DTOTemplateCreate';
|
|
|
5
7
|
import { DTOTemplateRead } from '../models/DTOTemplateRead';
|
|
6
8
|
import type { DTOTemplateUpdate } from '../models/DTOTemplateUpdate';
|
|
7
9
|
import type { Pagination } from '../models/Pagination';
|
|
10
|
+
import type { TemplateId } from '../models/TemplateId';
|
|
8
11
|
import { CancelablePromise } from '../core/CancelablePromise';
|
|
9
12
|
export declare class CoreService {
|
|
10
13
|
/**
|
|
@@ -35,7 +38,7 @@ export declare class CoreService {
|
|
|
35
38
|
* @returns any OK
|
|
36
39
|
* @throws ApiError
|
|
37
40
|
*/
|
|
38
|
-
itineraryGet(templateId:
|
|
41
|
+
itineraryGet(templateId: TemplateId): CancelablePromise<any>;
|
|
39
42
|
/**
|
|
40
43
|
* Update Template as New Revision
|
|
41
44
|
* Updates an template as a new revision
|
|
@@ -44,7 +47,7 @@ export declare class CoreService {
|
|
|
44
47
|
* @returns DTOTemplateRead When a new revision is created successfully
|
|
45
48
|
* @throws ApiError
|
|
46
49
|
*/
|
|
47
|
-
templateUpdateAsNewRevision(templateId:
|
|
50
|
+
templateUpdateAsNewRevision(templateId: TemplateId, requestBody: DTOTemplateUpdate): CancelablePromise<DTOTemplateRead>;
|
|
48
51
|
/**
|
|
49
52
|
* Delete Template via ID
|
|
50
53
|
* Deletes a specific template given its Id
|
|
@@ -52,7 +55,7 @@ export declare class CoreService {
|
|
|
52
55
|
* @returns void
|
|
53
56
|
* @throws ApiError
|
|
54
57
|
*/
|
|
55
|
-
templateDelete(templateId:
|
|
58
|
+
templateDelete(templateId: TemplateId): CancelablePromise<void>;
|
|
56
59
|
/**
|
|
57
60
|
* List Component
|
|
58
61
|
* List all available component
|
|
@@ -81,7 +84,7 @@ export declare class CoreService {
|
|
|
81
84
|
* @returns any OK
|
|
82
85
|
* @throws ApiError
|
|
83
86
|
*/
|
|
84
|
-
componentGet(componentId:
|
|
87
|
+
componentGet(componentId: ComponentId): CancelablePromise<any>;
|
|
85
88
|
/**
|
|
86
89
|
* Update Component as New Revision
|
|
87
90
|
* Updates an component as a new revision
|
|
@@ -90,7 +93,7 @@ export declare class CoreService {
|
|
|
90
93
|
* @returns DTOComponentRead When a new component is created successfully
|
|
91
94
|
* @throws ApiError
|
|
92
95
|
*/
|
|
93
|
-
componentUpdateAsNewRevision(componentId:
|
|
96
|
+
componentUpdateAsNewRevision(componentId: ComponentId, requestBody: DTOComponentUpdate): CancelablePromise<DTOComponentRead>;
|
|
94
97
|
/**
|
|
95
98
|
* Update Component
|
|
96
99
|
* Updates an component
|
|
@@ -99,7 +102,7 @@ export declare class CoreService {
|
|
|
99
102
|
* @returns DTOComponentRead When a component is updated successfully
|
|
100
103
|
* @throws ApiError
|
|
101
104
|
*/
|
|
102
|
-
componentUpdate(componentId:
|
|
105
|
+
componentUpdate(componentId: ComponentId, requestBody: DTOComponentUpdate): CancelablePromise<DTOComponentRead>;
|
|
103
106
|
/**
|
|
104
107
|
* Delete Component via ID
|
|
105
108
|
* Deletes a specific component given its Id
|
|
@@ -107,7 +110,7 @@ export declare class CoreService {
|
|
|
107
110
|
* @returns void
|
|
108
111
|
* @throws ApiError
|
|
109
112
|
*/
|
|
110
|
-
componentDelete(componentId:
|
|
113
|
+
componentDelete(componentId: ComponentId): CancelablePromise<void>;
|
|
111
114
|
/**
|
|
112
115
|
* Update Component State
|
|
113
116
|
* Directly update component state. This does not create a new revision
|
|
@@ -116,9 +119,7 @@ export declare class CoreService {
|
|
|
116
119
|
* @returns any OK
|
|
117
120
|
* @throws ApiError
|
|
118
121
|
*/
|
|
119
|
-
componentStateUpdate(componentId:
|
|
120
|
-
state?: 'published' | 'deprecated' | 'unpublished';
|
|
121
|
-
}): CancelablePromise<any>;
|
|
122
|
+
componentStateUpdate(componentId: ComponentId, requestBody: ComponentState): CancelablePromise<any>;
|
|
122
123
|
/**
|
|
123
124
|
* Resolve template hierarchy
|
|
124
125
|
* @returns Array<DTOTemplateRead> OK
|
|
@@ -2,6 +2,7 @@ import type { DTOTemplateCreate } from '../models/DTOTemplateCreate';
|
|
|
2
2
|
import type { DTOTemplateRead } from '../models/DTOTemplateRead';
|
|
3
3
|
import type { DTOTemplateUpdate } from '../models/DTOTemplateUpdate';
|
|
4
4
|
import type { Pagination } from '../models/Pagination';
|
|
5
|
+
import type { TemplateId } from '../models/TemplateId';
|
|
5
6
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
7
|
export declare class TemplateService {
|
|
7
8
|
/**
|
|
@@ -32,7 +33,7 @@ export declare class TemplateService {
|
|
|
32
33
|
* @returns any OK
|
|
33
34
|
* @throws ApiError
|
|
34
35
|
*/
|
|
35
|
-
static itineraryGet(templateId:
|
|
36
|
+
static itineraryGet(templateId: TemplateId): CancelablePromise<any>;
|
|
36
37
|
/**
|
|
37
38
|
* Update Template as New Revision
|
|
38
39
|
* Updates an template as a new revision
|
|
@@ -41,7 +42,7 @@ export declare class TemplateService {
|
|
|
41
42
|
* @returns DTOTemplateRead When a new revision is created successfully
|
|
42
43
|
* @throws ApiError
|
|
43
44
|
*/
|
|
44
|
-
static templateUpdateAsNewRevision(templateId:
|
|
45
|
+
static templateUpdateAsNewRevision(templateId: TemplateId, requestBody: DTOTemplateUpdate): CancelablePromise<DTOTemplateRead>;
|
|
45
46
|
/**
|
|
46
47
|
* Delete Template via ID
|
|
47
48
|
* Deletes a specific template given its Id
|
|
@@ -49,5 +50,5 @@ export declare class TemplateService {
|
|
|
49
50
|
* @returns void
|
|
50
51
|
* @throws ApiError
|
|
51
52
|
*/
|
|
52
|
-
static templateDelete(templateId:
|
|
53
|
+
static templateDelete(templateId: TemplateId): CancelablePromise<void>;
|
|
53
54
|
}
|