swoop-common 2.2.21 → 2.2.26
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 +4 -0
- package/dist/api/generated/core/index.d.ts +4 -0
- package/dist/api/generated/core/models/AssignedTravellerGroup.d.ts +1 -1
- package/dist/api/generated/core/models/DTOSwoopSync.d.ts +25 -1
- package/dist/api/generated/core/models/ItineraryCreateResponse.d.ts +8 -0
- package/dist/api/generated/core/models/ItineraryCreateResponse.js +1 -0
- package/dist/api/generated/core/models/SwoopSyncComponentInstance.d.ts +31 -0
- package/dist/api/generated/core/models/SwoopSyncComponentInstance.js +1 -0
- package/dist/api/generated/core/models/SwoopSyncError.d.ts +5 -0
- package/dist/api/generated/core/models/SwoopSyncError.js +1 -0
- package/dist/api/generated/core/models/SwoopSyncErrorMsg.d.ts +4 -0
- package/dist/api/generated/core/models/SwoopSyncErrorMsg.js +1 -0
- package/dist/api/generated/core/services/CoreService.d.ts +5 -8
- package/dist/api/generated/core/services/CoreService.js +6 -7
- package/dist/api/generated/core/services/ItineraryService.d.ts +5 -8
- package/dist/api/generated/core/services/ItineraryService.js +6 -7
- package/dist/api/generated/itinerary/core/ApiError.d.ts +10 -0
- package/dist/api/generated/itinerary/core/ApiError.js +11 -0
- package/dist/api/generated/itinerary/core/ApiRequestOptions.d.ts +13 -0
- package/dist/api/generated/itinerary/core/ApiRequestOptions.js +1 -0
- package/dist/api/generated/itinerary/core/ApiResult.d.ts +7 -0
- package/dist/api/generated/itinerary/core/ApiResult.js +1 -0
- package/dist/api/generated/itinerary/core/CancelablePromise.d.ts +20 -0
- package/dist/api/generated/itinerary/core/CancelablePromise.js +111 -0
- package/dist/api/generated/itinerary/core/OpenAPI.d.ts +16 -0
- package/dist/api/generated/itinerary/core/OpenAPI.js +11 -0
- package/dist/api/generated/itinerary/core/request.d.ts +30 -0
- package/dist/api/generated/itinerary/core/request.js +271 -0
- package/dist/api/generated/itinerary/exports.d.ts +0 -0
- package/dist/api/generated/itinerary/exports.js +2 -0
- package/dist/api/generated/itinerary/index.d.ts +103 -0
- package/dist/api/generated/itinerary/index.js +19 -0
- package/dist/api/generated/itinerary/models/Amendment.d.ts +8 -0
- package/dist/api/generated/itinerary/models/Amendment.js +1 -0
- package/dist/api/generated/itinerary/models/AssignedPassenger.d.ts +7 -0
- package/dist/api/generated/itinerary/models/AssignedPassenger.js +1 -0
- package/dist/api/generated/itinerary/models/AssignedTravellerGroup.d.ts +6 -0
- package/dist/api/generated/itinerary/models/AssignedTravellerGroup.js +1 -0
- package/dist/api/generated/itinerary/models/B64StringQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/B64StringQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/BookingStatus.d.ts +7 -0
- package/dist/api/generated/itinerary/models/BookingStatus.js +12 -0
- package/dist/api/generated/itinerary/models/BranchId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/BranchId.js +1 -0
- package/dist/api/generated/itinerary/models/BranchTag.d.ts +1 -0
- package/dist/api/generated/itinerary/models/BranchTag.js +1 -0
- package/dist/api/generated/itinerary/models/Branches.d.ts +12 -0
- package/dist/api/generated/itinerary/models/Branches.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentDescription.d.ts +5 -0
- package/dist/api/generated/itinerary/models/ComponentDescription.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentFAQ.d.ts +4 -0
- package/dist/api/generated/itinerary/models/ComponentFAQ.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/ComponentId.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentIdPathParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/ComponentIdPathParam.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentInstance.d.ts +28 -0
- package/dist/api/generated/itinerary/models/ComponentInstance.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentNotes.d.ts +9 -0
- package/dist/api/generated/itinerary/models/ComponentNotes.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/ComponentRevisionGroupId.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentState.d.ts +5 -0
- package/dist/api/generated/itinerary/models/ComponentState.js +10 -0
- package/dist/api/generated/itinerary/models/Currency.d.ts +12 -0
- package/dist/api/generated/itinerary/models/Currency.js +17 -0
- package/dist/api/generated/itinerary/models/DTOBranchCreate.d.ts +8 -0
- package/dist/api/generated/itinerary/models/DTOBranchCreate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOBranchEntity.d.ts +11 -0
- package/dist/api/generated/itinerary/models/DTOBranchEntity.js +1 -0
- package/dist/api/generated/itinerary/models/DTOBranchRead.d.ts +11 -0
- package/dist/api/generated/itinerary/models/DTOBranchRead.js +1 -0
- package/dist/api/generated/itinerary/models/DTOBranchUpdate.d.ts +4 -0
- package/dist/api/generated/itinerary/models/DTOBranchUpdate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOComponentCreate.d.ts +30 -0
- package/dist/api/generated/itinerary/models/DTOComponentCreate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOComponentEntity.d.ts +37 -0
- package/dist/api/generated/itinerary/models/DTOComponentEntity.js +1 -0
- package/dist/api/generated/itinerary/models/DTOComponentRead.d.ts +37 -0
- package/dist/api/generated/itinerary/models/DTOComponentRead.js +1 -0
- package/dist/api/generated/itinerary/models/DTOComponentUpdate.d.ts +25 -0
- package/dist/api/generated/itinerary/models/DTOComponentUpdate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOItineraryCreate.d.ts +16 -0
- package/dist/api/generated/itinerary/models/DTOItineraryCreate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOItineraryEntity.d.ts +25 -0
- package/dist/api/generated/itinerary/models/DTOItineraryEntity.js +1 -0
- package/dist/api/generated/itinerary/models/DTOItineraryRead.d.ts +25 -0
- package/dist/api/generated/itinerary/models/DTOItineraryRead.js +1 -0
- package/dist/api/generated/itinerary/models/DTOItineraryUpdate.d.ts +16 -0
- package/dist/api/generated/itinerary/models/DTOItineraryUpdate.js +1 -0
- package/dist/api/generated/itinerary/models/DTORegionCreate.d.ts +8 -0
- package/dist/api/generated/itinerary/models/DTORegionCreate.js +1 -0
- package/dist/api/generated/itinerary/models/DTORegionEntity.d.ts +12 -0
- package/dist/api/generated/itinerary/models/DTORegionEntity.js +1 -0
- package/dist/api/generated/itinerary/models/DTORegionRead.d.ts +12 -0
- package/dist/api/generated/itinerary/models/DTORegionRead.js +1 -0
- package/dist/api/generated/itinerary/models/DTORegionUpdate.d.ts +8 -0
- package/dist/api/generated/itinerary/models/DTORegionUpdate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotCreate.d.ts +8 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotCreate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotEntity.d.ts +12 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotEntity.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotRead.d.ts +12 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotRead.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotUpdate.d.ts +6 -0
- package/dist/api/generated/itinerary/models/DTOSnapshotUpdate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSwooperCreate.d.ts +16 -0
- package/dist/api/generated/itinerary/models/DTOSwooperCreate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSwooperEntity.d.ts +20 -0
- package/dist/api/generated/itinerary/models/DTOSwooperEntity.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSwooperRead.d.ts +20 -0
- package/dist/api/generated/itinerary/models/DTOSwooperRead.js +1 -0
- package/dist/api/generated/itinerary/models/DTOSwooperUpdate.d.ts +16 -0
- package/dist/api/generated/itinerary/models/DTOSwooperUpdate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOTemplateCreate.d.ts +11 -0
- package/dist/api/generated/itinerary/models/DTOTemplateCreate.js +1 -0
- package/dist/api/generated/itinerary/models/DTOTemplateEntity.d.ts +17 -0
- package/dist/api/generated/itinerary/models/DTOTemplateEntity.js +1 -0
- package/dist/api/generated/itinerary/models/DTOTemplateRead.d.ts +17 -0
- package/dist/api/generated/itinerary/models/DTOTemplateRead.js +1 -0
- package/dist/api/generated/itinerary/models/DTOTemplateUpdate.d.ts +7 -0
- package/dist/api/generated/itinerary/models/DTOTemplateUpdate.js +1 -0
- 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 +10 -0
- package/dist/api/generated/itinerary/models/Discount.js +1 -0
- package/dist/api/generated/itinerary/models/EnquiryId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/EnquiryId.js +1 -0
- package/dist/api/generated/itinerary/models/EnquiryIdPathParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/EnquiryIdPathParam.js +1 -0
- package/dist/api/generated/itinerary/models/EnquiryIdQueryParam.d.ts +1 -0
- package/dist/api/generated/itinerary/models/EnquiryIdQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/Error.d.ts +4 -0
- package/dist/api/generated/itinerary/models/Error.js +1 -0
- package/dist/api/generated/itinerary/models/Fee.d.ts +10 -0
- package/dist/api/generated/itinerary/models/Fee.js +1 -0
- package/dist/api/generated/itinerary/models/Field.d.ts +4 -0
- package/dist/api/generated/itinerary/models/Field.js +1 -0
- package/dist/api/generated/itinerary/models/ItineraryId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/ItineraryId.js +1 -0
- package/dist/api/generated/itinerary/models/ItineraryIdPathParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/ItineraryIdPathParam.js +1 -0
- package/dist/api/generated/itinerary/models/ItineraryIdQueryParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/ItineraryIdQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/ItineraryRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/ItineraryRevisionGroupId.js +1 -0
- package/dist/api/generated/itinerary/models/ItineraryValue.d.ts +4 -0
- package/dist/api/generated/itinerary/models/ItineraryValue.js +1 -0
- package/dist/api/generated/itinerary/models/LimitQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/LimitQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/Meals.d.ts +8 -0
- package/dist/api/generated/itinerary/models/Meals.js +13 -0
- package/dist/api/generated/itinerary/models/Media.d.ts +4 -0
- package/dist/api/generated/itinerary/models/Media.js +1 -0
- package/dist/api/generated/itinerary/models/Metadata.d.ts +7 -0
- package/dist/api/generated/itinerary/models/Metadata.js +1 -0
- package/dist/api/generated/itinerary/models/MockErrorCodeQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/MockErrorCodeQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/OnQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/OnQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/OrderQueryParam.d.ts +7 -0
- package/dist/api/generated/itinerary/models/OrderQueryParam.js +12 -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 +7 -0
- package/dist/api/generated/itinerary/models/Package.js +1 -0
- package/dist/api/generated/itinerary/models/PackageItem.d.ts +6 -0
- package/dist/api/generated/itinerary/models/PackageItem.js +1 -0
- package/dist/api/generated/itinerary/models/PackageSpan.d.ts +11 -0
- package/dist/api/generated/itinerary/models/PackageSpan.js +1 -0
- package/dist/api/generated/itinerary/models/PageQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/PageQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/Pagination.d.ts +5 -0
- package/dist/api/generated/itinerary/models/Pagination.js +1 -0
- package/dist/api/generated/itinerary/models/Price.d.ts +5 -0
- package/dist/api/generated/itinerary/models/Price.js +1 -0
- package/dist/api/generated/itinerary/models/QuoteOptions.d.ts +9 -0
- package/dist/api/generated/itinerary/models/QuoteOptions.js +1 -0
- package/dist/api/generated/itinerary/models/RegionId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/RegionId.js +1 -0
- package/dist/api/generated/itinerary/models/SearchQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/SearchQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/SnapshotId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/SnapshotId.js +1 -0
- package/dist/api/generated/itinerary/models/SnapshotIdPathParam.d.ts +2 -0
- package/dist/api/generated/itinerary/models/SnapshotIdPathParam.js +1 -0
- package/dist/api/generated/itinerary/models/SortQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/SortQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/StateQueryParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/StateQueryParam.js +1 -0
- package/dist/api/generated/itinerary/models/SwoopContactInfo.d.ts +5 -0
- package/dist/api/generated/itinerary/models/SwoopContactInfo.js +1 -0
- package/dist/api/generated/itinerary/models/SwooperExperience.d.ts +7 -0
- package/dist/api/generated/itinerary/models/SwooperExperience.js +1 -0
- package/dist/api/generated/itinerary/models/SwooperHighlights.d.ts +5 -0
- package/dist/api/generated/itinerary/models/SwooperHighlights.js +1 -0
- package/dist/api/generated/itinerary/models/SwooperId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/SwooperId.js +1 -0
- package/dist/api/generated/itinerary/models/SwooperIdPathParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/SwooperIdPathParam.js +1 -0
- package/dist/api/generated/itinerary/models/SwooperInfo.d.ts +6 -0
- package/dist/api/generated/itinerary/models/SwooperInfo.js +1 -0
- package/dist/api/generated/itinerary/models/SwooperPersonalInfo.d.ts +7 -0
- package/dist/api/generated/itinerary/models/SwooperPersonalInfo.js +1 -0
- package/dist/api/generated/itinerary/models/TagPathParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/TagPathParam.js +1 -0
- package/dist/api/generated/itinerary/models/TemplateId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/TemplateId.js +1 -0
- package/dist/api/generated/itinerary/models/TemplateIdPathParam.d.ts +5 -0
- package/dist/api/generated/itinerary/models/TemplateIdPathParam.js +1 -0
- package/dist/api/generated/itinerary/models/TemplateRevisionGroupId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/TemplateRevisionGroupId.js +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/UserComponentInstanceField.d.ts +5 -0
- package/dist/api/generated/itinerary/models/UserComponentInstanceField.js +1 -0
- package/dist/api/generated/itinerary/models/ValidationSchemas.d.ts +5 -0
- package/dist/api/generated/itinerary/models/ValidationSchemas.js +1 -0
- package/dist/api/generated/itinerary/models/VersionPathParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/VersionPathParam.js +1 -0
- package/dist/api/generated/itinerary/services/AuditService.d.ts +13 -0
- package/dist/api/generated/itinerary/services/AuditService.js +28 -0
- package/dist/api/generated/itinerary/services/ItineraryService.d.ts +174 -0
- package/dist/api/generated/itinerary/services/ItineraryService.js +378 -0
- package/dist/api/generated/itinerary/services/RegionService.d.ts +30 -0
- package/dist/api/generated/itinerary/services/RegionService.js +57 -0
- package/dist/api/generated/itinerary/services/SnapshotService.d.ts +61 -0
- package/dist/api/generated/itinerary/services/SnapshotService.js +128 -0
- package/dist/api/generated/swoop/core/request.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BranchId } from './BranchId';
|
|
2
|
+
import type { BranchTag } from './BranchTag';
|
|
3
|
+
import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
4
|
+
import type { Metadata } from './Metadata';
|
|
5
|
+
export type DTOBranchEntity = {
|
|
6
|
+
id: BranchId;
|
|
7
|
+
tag: BranchTag;
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
parentId: BranchId;
|
|
10
|
+
currentRevisionGroupId: ItineraryRevisionGroupId;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BranchId } from './BranchId';
|
|
2
|
+
import type { BranchTag } from './BranchTag';
|
|
3
|
+
import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
4
|
+
import type { Metadata } from './Metadata';
|
|
5
|
+
export type DTOBranchRead = {
|
|
6
|
+
id: BranchId;
|
|
7
|
+
tag: BranchTag;
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
parentId: BranchId;
|
|
10
|
+
currentRevisionGroupId: ItineraryRevisionGroupId;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ComponentDescription } from './ComponentDescription';
|
|
2
|
+
import type { ComponentFAQ } from './ComponentFAQ';
|
|
3
|
+
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentState } from './ComponentState';
|
|
5
|
+
import type { Destination } from './Destination';
|
|
6
|
+
import type { Field } from './Field';
|
|
7
|
+
import type { Media } from './Media';
|
|
8
|
+
import type { OrgId } from './OrgId';
|
|
9
|
+
import type { Package } from './Package';
|
|
10
|
+
import type { Price } from './Price';
|
|
11
|
+
import type { RegionId } from './RegionId';
|
|
12
|
+
import type { TemplateId } from './TemplateId';
|
|
13
|
+
import type { Title } from './Title';
|
|
14
|
+
export type DTOComponentCreate = {
|
|
15
|
+
orgId: OrgId;
|
|
16
|
+
templateId: TemplateId;
|
|
17
|
+
name: Title;
|
|
18
|
+
destination: Destination;
|
|
19
|
+
description: ComponentDescription;
|
|
20
|
+
notes?: ComponentNotes;
|
|
21
|
+
faq?: ComponentFAQ;
|
|
22
|
+
componentFields: Array<Field>;
|
|
23
|
+
partners: Array<string>;
|
|
24
|
+
regions: Array<RegionId>;
|
|
25
|
+
media?: Media;
|
|
26
|
+
pricing: Price;
|
|
27
|
+
package?: Package;
|
|
28
|
+
state: ComponentState;
|
|
29
|
+
isBookable: boolean;
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ComponentDescription } from './ComponentDescription';
|
|
2
|
+
import type { ComponentFAQ } from './ComponentFAQ';
|
|
3
|
+
import type { ComponentId } from './ComponentId';
|
|
4
|
+
import type { ComponentNotes } from './ComponentNotes';
|
|
5
|
+
import type { ComponentRevisionGroupId } from './ComponentRevisionGroupId';
|
|
6
|
+
import type { ComponentState } from './ComponentState';
|
|
7
|
+
import type { Destination } from './Destination';
|
|
8
|
+
import type { Field } from './Field';
|
|
9
|
+
import type { Media } from './Media';
|
|
10
|
+
import type { Metadata } from './Metadata';
|
|
11
|
+
import type { OrgId } from './OrgId';
|
|
12
|
+
import type { Package } from './Package';
|
|
13
|
+
import type { Price } from './Price';
|
|
14
|
+
import type { RegionId } from './RegionId';
|
|
15
|
+
import type { TemplateId } from './TemplateId';
|
|
16
|
+
import type { Title } from './Title';
|
|
17
|
+
export type DTOComponentEntity = {
|
|
18
|
+
id: ComponentId;
|
|
19
|
+
orgId: OrgId;
|
|
20
|
+
templateId: TemplateId;
|
|
21
|
+
revisionGroupId: ComponentRevisionGroupId;
|
|
22
|
+
revision: number;
|
|
23
|
+
metadata: Metadata;
|
|
24
|
+
partners: Array<string>;
|
|
25
|
+
regions: Array<RegionId>;
|
|
26
|
+
media: Media;
|
|
27
|
+
destination: Destination;
|
|
28
|
+
name: Title;
|
|
29
|
+
description: ComponentDescription;
|
|
30
|
+
notes?: ComponentNotes;
|
|
31
|
+
faq: ComponentFAQ;
|
|
32
|
+
pricing: Price;
|
|
33
|
+
componentFields: Array<Field>;
|
|
34
|
+
package?: Package | null;
|
|
35
|
+
state: ComponentState;
|
|
36
|
+
isBookable: boolean;
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ComponentDescription } from './ComponentDescription';
|
|
2
|
+
import type { ComponentFAQ } from './ComponentFAQ';
|
|
3
|
+
import type { ComponentId } from './ComponentId';
|
|
4
|
+
import type { ComponentNotes } from './ComponentNotes';
|
|
5
|
+
import type { ComponentRevisionGroupId } from './ComponentRevisionGroupId';
|
|
6
|
+
import type { ComponentState } from './ComponentState';
|
|
7
|
+
import type { Destination } from './Destination';
|
|
8
|
+
import type { Field } from './Field';
|
|
9
|
+
import type { Media } from './Media';
|
|
10
|
+
import type { Metadata } from './Metadata';
|
|
11
|
+
import type { OrgId } from './OrgId';
|
|
12
|
+
import type { Package } from './Package';
|
|
13
|
+
import type { Price } from './Price';
|
|
14
|
+
import type { RegionId } from './RegionId';
|
|
15
|
+
import type { TemplateId } from './TemplateId';
|
|
16
|
+
import type { Title } from './Title';
|
|
17
|
+
export type DTOComponentRead = {
|
|
18
|
+
id: ComponentId;
|
|
19
|
+
orgId: OrgId;
|
|
20
|
+
templateId: TemplateId;
|
|
21
|
+
revisionGroupId: ComponentRevisionGroupId;
|
|
22
|
+
revision: number;
|
|
23
|
+
metadata: Metadata;
|
|
24
|
+
partners: Array<string>;
|
|
25
|
+
regions: Array<RegionId>;
|
|
26
|
+
media: Media;
|
|
27
|
+
destination: Destination;
|
|
28
|
+
name: Title;
|
|
29
|
+
description: ComponentDescription;
|
|
30
|
+
notes?: ComponentNotes;
|
|
31
|
+
faq: ComponentFAQ;
|
|
32
|
+
pricing: Price;
|
|
33
|
+
componentFields: Array<Field>;
|
|
34
|
+
package?: Package;
|
|
35
|
+
state: ComponentState;
|
|
36
|
+
isBookable: boolean;
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ComponentDescription } from './ComponentDescription';
|
|
2
|
+
import type { ComponentFAQ } from './ComponentFAQ';
|
|
3
|
+
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentState } from './ComponentState';
|
|
5
|
+
import type { Destination } from './Destination';
|
|
6
|
+
import type { Field } from './Field';
|
|
7
|
+
import type { Media } from './Media';
|
|
8
|
+
import type { Package } from './Package';
|
|
9
|
+
import type { Price } from './Price';
|
|
10
|
+
import type { Title } from './Title';
|
|
11
|
+
export type DTOComponentUpdate = {
|
|
12
|
+
name?: Title;
|
|
13
|
+
destination?: Destination;
|
|
14
|
+
description?: ComponentDescription;
|
|
15
|
+
notes?: ComponentNotes;
|
|
16
|
+
faq?: ComponentFAQ;
|
|
17
|
+
componentFields?: Array<Field>;
|
|
18
|
+
partners?: Array<string>;
|
|
19
|
+
media?: Media;
|
|
20
|
+
regions?: Array<string>;
|
|
21
|
+
pricing?: Price;
|
|
22
|
+
package?: Package;
|
|
23
|
+
state?: ComponentState;
|
|
24
|
+
isBookable?: boolean;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
3
|
+
import type { Fee } from './Fee';
|
|
4
|
+
import type { ItineraryValue } from './ItineraryValue';
|
|
5
|
+
import type { QuoteOptions } from './QuoteOptions';
|
|
6
|
+
import type { Title } from './Title';
|
|
7
|
+
export type DTOItineraryCreate = {
|
|
8
|
+
title: Title;
|
|
9
|
+
welcomeNote?: string;
|
|
10
|
+
values?: Array<ItineraryValue>;
|
|
11
|
+
componentInstances?: Array<ComponentInstance>;
|
|
12
|
+
fees?: Array<Fee>;
|
|
13
|
+
quoteOption?: QuoteOptions;
|
|
14
|
+
discounts?: Array<Discount>;
|
|
15
|
+
isLateBookingConfirmed?: boolean;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
3
|
+
import type { EnquiryId } from './EnquiryId';
|
|
4
|
+
import type { Fee } from './Fee';
|
|
5
|
+
import type { ItineraryId } from './ItineraryId';
|
|
6
|
+
import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
7
|
+
import type { ItineraryValue } from './ItineraryValue';
|
|
8
|
+
import type { Metadata } from './Metadata';
|
|
9
|
+
import type { QuoteOptions } from './QuoteOptions';
|
|
10
|
+
import type { Title } from './Title';
|
|
11
|
+
export type DTOItineraryEntity = {
|
|
12
|
+
id: ItineraryId;
|
|
13
|
+
revisionGroupId: ItineraryRevisionGroupId;
|
|
14
|
+
revision: number;
|
|
15
|
+
enquiryId: EnquiryId;
|
|
16
|
+
metadata: Metadata;
|
|
17
|
+
title: Title;
|
|
18
|
+
welcomeNote: string;
|
|
19
|
+
values: Array<ItineraryValue>;
|
|
20
|
+
componentInstances: Array<ComponentInstance>;
|
|
21
|
+
fees: Array<Fee>;
|
|
22
|
+
quoteOption?: QuoteOptions;
|
|
23
|
+
discounts: Array<Discount>;
|
|
24
|
+
isLateBookingConfirmed: boolean;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
3
|
+
import type { EnquiryId } from './EnquiryId';
|
|
4
|
+
import type { Fee } from './Fee';
|
|
5
|
+
import type { ItineraryId } from './ItineraryId';
|
|
6
|
+
import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
7
|
+
import type { ItineraryValue } from './ItineraryValue';
|
|
8
|
+
import type { Metadata } from './Metadata';
|
|
9
|
+
import type { QuoteOptions } from './QuoteOptions';
|
|
10
|
+
import type { Title } from './Title';
|
|
11
|
+
export type DTOItineraryRead = {
|
|
12
|
+
id: ItineraryId;
|
|
13
|
+
revisionGroupId: ItineraryRevisionGroupId;
|
|
14
|
+
revision: number;
|
|
15
|
+
enquiryId: EnquiryId;
|
|
16
|
+
metadata: Metadata;
|
|
17
|
+
title: Title;
|
|
18
|
+
welcomeNote: string;
|
|
19
|
+
values: Array<ItineraryValue>;
|
|
20
|
+
componentInstances: Array<ComponentInstance>;
|
|
21
|
+
fees: Array<Fee>;
|
|
22
|
+
quoteOption?: QuoteOptions;
|
|
23
|
+
discounts: Array<Discount>;
|
|
24
|
+
isLateBookingConfirmed: boolean;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
3
|
+
import type { Fee } from './Fee';
|
|
4
|
+
import type { ItineraryValue } from './ItineraryValue';
|
|
5
|
+
import type { QuoteOptions } from './QuoteOptions';
|
|
6
|
+
import type { Title } from './Title';
|
|
7
|
+
export type DTOItineraryUpdate = {
|
|
8
|
+
title?: Title;
|
|
9
|
+
welcomeNote?: string;
|
|
10
|
+
values?: Array<ItineraryValue>;
|
|
11
|
+
componentInstances?: Array<ComponentInstance>;
|
|
12
|
+
fees?: Array<Fee>;
|
|
13
|
+
quoteOption?: QuoteOptions;
|
|
14
|
+
discounts?: Array<Discount>;
|
|
15
|
+
isLateBookingConfirmed?: boolean;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Destination } from './Destination';
|
|
2
|
+
import type { Metadata } from './Metadata';
|
|
3
|
+
import type { RegionId } from './RegionId';
|
|
4
|
+
import type { Title } from './Title';
|
|
5
|
+
export type DTORegionEntity = {
|
|
6
|
+
id: RegionId;
|
|
7
|
+
metadata: Metadata;
|
|
8
|
+
name: Title;
|
|
9
|
+
description: string;
|
|
10
|
+
destination: Destination;
|
|
11
|
+
images: Array<string>;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Destination } from './Destination';
|
|
2
|
+
import type { Metadata } from './Metadata';
|
|
3
|
+
import type { RegionId } from './RegionId';
|
|
4
|
+
import type { Title } from './Title';
|
|
5
|
+
export type DTORegionRead = {
|
|
6
|
+
id: RegionId;
|
|
7
|
+
metadata: Metadata;
|
|
8
|
+
name: Title;
|
|
9
|
+
description: string;
|
|
10
|
+
destination: Destination;
|
|
11
|
+
images: Array<string>;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { EnquiryId } from './EnquiryId';
|
|
2
|
+
import type { ItineraryId } from './ItineraryId';
|
|
3
|
+
import type { Metadata } from './Metadata';
|
|
4
|
+
import type { SnapshotId } from './SnapshotId';
|
|
5
|
+
import type { Title } from './Title';
|
|
6
|
+
export type DTOSnapshotEntity = {
|
|
7
|
+
id: SnapshotId;
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
name: Title;
|
|
10
|
+
itineraryId: ItineraryId;
|
|
11
|
+
enquiryId: EnquiryId;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { EnquiryId } from './EnquiryId';
|
|
2
|
+
import type { ItineraryId } from './ItineraryId';
|
|
3
|
+
import type { Metadata } from './Metadata';
|
|
4
|
+
import type { SnapshotId } from './SnapshotId';
|
|
5
|
+
import type { Title } from './Title';
|
|
6
|
+
export type DTOSnapshotRead = {
|
|
7
|
+
id: SnapshotId;
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
name: Title;
|
|
10
|
+
itineraryId: ItineraryId;
|
|
11
|
+
enquiryId: EnquiryId;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Media } from './Media';
|
|
2
|
+
import type { SwoopContactInfo } from './SwoopContactInfo';
|
|
3
|
+
import type { SwooperExperience } from './SwooperExperience';
|
|
4
|
+
import type { SwooperInfo } from './SwooperInfo';
|
|
5
|
+
import type { SwooperPersonalInfo } from './SwooperPersonalInfo';
|
|
6
|
+
export type DTOSwooperCreate = {
|
|
7
|
+
avatar: string;
|
|
8
|
+
name: string;
|
|
9
|
+
fullName: string;
|
|
10
|
+
media?: Media;
|
|
11
|
+
info: SwooperInfo;
|
|
12
|
+
personal: SwooperPersonalInfo;
|
|
13
|
+
experience: SwooperExperience;
|
|
14
|
+
contact: SwoopContactInfo;
|
|
15
|
+
customerReviews?: Array<string>;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Media } from './Media';
|
|
2
|
+
import type { Metadata } from './Metadata';
|
|
3
|
+
import type { SwoopContactInfo } from './SwoopContactInfo';
|
|
4
|
+
import type { SwooperExperience } from './SwooperExperience';
|
|
5
|
+
import type { SwooperId } from './SwooperId';
|
|
6
|
+
import type { SwooperInfo } from './SwooperInfo';
|
|
7
|
+
import type { SwooperPersonalInfo } from './SwooperPersonalInfo';
|
|
8
|
+
export type DTOSwooperEntity = {
|
|
9
|
+
id: SwooperId;
|
|
10
|
+
metadata: Metadata;
|
|
11
|
+
avatar: string;
|
|
12
|
+
name: string;
|
|
13
|
+
fullName: string;
|
|
14
|
+
media: Media;
|
|
15
|
+
info: SwooperInfo;
|
|
16
|
+
personal: SwooperPersonalInfo;
|
|
17
|
+
experience: SwooperExperience;
|
|
18
|
+
contact: SwoopContactInfo;
|
|
19
|
+
customerReviews: Array<string>;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Media } from './Media';
|
|
2
|
+
import type { Metadata } from './Metadata';
|
|
3
|
+
import type { SwoopContactInfo } from './SwoopContactInfo';
|
|
4
|
+
import type { SwooperExperience } from './SwooperExperience';
|
|
5
|
+
import type { SwooperId } from './SwooperId';
|
|
6
|
+
import type { SwooperInfo } from './SwooperInfo';
|
|
7
|
+
import type { SwooperPersonalInfo } from './SwooperPersonalInfo';
|
|
8
|
+
export type DTOSwooperRead = {
|
|
9
|
+
id: SwooperId;
|
|
10
|
+
metadata: Metadata;
|
|
11
|
+
avatar: string;
|
|
12
|
+
name: string;
|
|
13
|
+
fullName: string;
|
|
14
|
+
media: Media;
|
|
15
|
+
info: SwooperInfo;
|
|
16
|
+
personal: SwooperPersonalInfo;
|
|
17
|
+
experience: SwooperExperience;
|
|
18
|
+
contact: SwoopContactInfo;
|
|
19
|
+
customerReviews: Array<string>;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Media } from './Media';
|
|
2
|
+
import type { SwoopContactInfo } from './SwoopContactInfo';
|
|
3
|
+
import type { SwooperExperience } from './SwooperExperience';
|
|
4
|
+
import type { SwooperInfo } from './SwooperInfo';
|
|
5
|
+
import type { SwooperPersonalInfo } from './SwooperPersonalInfo';
|
|
6
|
+
export type DTOSwooperUpdate = {
|
|
7
|
+
avatar?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
fullName?: string;
|
|
10
|
+
media?: Media;
|
|
11
|
+
info?: SwooperInfo;
|
|
12
|
+
personal?: SwooperPersonalInfo;
|
|
13
|
+
experience?: SwooperExperience;
|
|
14
|
+
contact?: SwoopContactInfo;
|
|
15
|
+
customerReviews?: Array<string>;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { OrgId } from './OrgId';
|
|
2
|
+
import type { TemplateRevisionGroupId } from './TemplateRevisionGroupId';
|
|
3
|
+
import type { Title } from './Title';
|
|
4
|
+
import type { ValidationSchemas } from './ValidationSchemas';
|
|
5
|
+
export type DTOTemplateCreate = {
|
|
6
|
+
orgId: OrgId;
|
|
7
|
+
name: Title;
|
|
8
|
+
masterSchema: string;
|
|
9
|
+
validationSchemas: ValidationSchemas;
|
|
10
|
+
parentRevisionGroupId: TemplateRevisionGroupId;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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';
|
|
6
|
+
import type { ValidationSchemas } from './ValidationSchemas';
|
|
7
|
+
export type DTOTemplateEntity = {
|
|
8
|
+
id: TemplateId;
|
|
9
|
+
orgId: OrgId;
|
|
10
|
+
parentRevisionGroupId: TemplateRevisionGroupId;
|
|
11
|
+
revisionGroupId: TemplateRevisionGroupId;
|
|
12
|
+
revision: number;
|
|
13
|
+
metadata: Metadata;
|
|
14
|
+
name: Title;
|
|
15
|
+
masterSchema: string;
|
|
16
|
+
validationSchemas: ValidationSchemas;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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';
|
|
6
|
+
import type { ValidationSchemas } from './ValidationSchemas';
|
|
7
|
+
export type DTOTemplateRead = {
|
|
8
|
+
id: TemplateId;
|
|
9
|
+
orgId: OrgId;
|
|
10
|
+
parentRevisionGroupId: TemplateRevisionGroupId;
|
|
11
|
+
revisionGroupId: TemplateRevisionGroupId;
|
|
12
|
+
revision: number;
|
|
13
|
+
metadata: Metadata;
|
|
14
|
+
name: Title;
|
|
15
|
+
masterSchema: string;
|
|
16
|
+
validationSchemas: ValidationSchemas;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AssignedPassenger } from './AssignedPassenger';
|
|
2
|
+
import type { Price } from './Price';
|
|
3
|
+
import type { Title } from './Title';
|
|
4
|
+
export type Discount = {
|
|
5
|
+
name: Title;
|
|
6
|
+
reason: string;
|
|
7
|
+
type: string;
|
|
8
|
+
price: Price;
|
|
9
|
+
assignedPassenger: AssignedPassenger;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnquiryId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnquiryIdQueryParam = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|