swoop-common 2.0.57 → 2.1.1
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 -4
- package/dist/api/generated/core/index.d.ts +4 -4
- package/dist/api/generated/core/models/ComponentInstance.d.ts +2 -2
- package/dist/api/generated/core/models/ComponentPricing.d.ts +4 -0
- package/dist/api/generated/core/models/DTOComponentCreate.d.ts +5 -4
- package/dist/api/generated/core/models/DTOComponentEntity.d.ts +5 -4
- package/dist/api/generated/core/models/DTOComponentRead.d.ts +5 -4
- package/dist/api/generated/core/models/DTOComponentUpdate.d.ts +5 -4
- package/dist/api/generated/core/models/Package.d.ts +8 -0
- package/dist/api/generated/{itinerary/models/BundleItem.d.ts → core/models/PackageItem.d.ts} +1 -1
- package/dist/api/generated/core/models/PackageSpan.d.ts +9 -0
- package/dist/api/generated/itinerary/index.d.ts +4 -4
- package/dist/api/generated/itinerary/models/ComponentInstance.d.ts +2 -2
- package/dist/api/generated/itinerary/models/ComponentPricing.d.ts +4 -0
- package/dist/api/generated/itinerary/models/DTOComponentCreate.d.ts +5 -4
- package/dist/api/generated/itinerary/models/DTOComponentEntity.d.ts +5 -4
- package/dist/api/generated/itinerary/models/DTOComponentRead.d.ts +5 -4
- package/dist/api/generated/itinerary/models/DTOComponentUpdate.d.ts +5 -4
- package/dist/api/generated/itinerary/models/Package.d.ts +8 -0
- package/dist/api/generated/{core/models/BundleItem.d.ts → itinerary/models/PackageItem.d.ts} +1 -1
- package/dist/api/generated/itinerary/models/PackageSpan.d.ts +9 -0
- package/dist/rendering/renderers/ComponentPicker.d.ts +3 -2
- package/package.json +1 -1
- package/dist/api/generated/core/models/Bundle.d.ts +0 -8
- package/dist/api/generated/core/models/BundleDay.d.ts +0 -8
- package/dist/api/generated/core/models/ComponentDetails.d.ts +0 -5
- package/dist/api/generated/itinerary/models/Bundle.d.ts +0 -8
- package/dist/api/generated/itinerary/models/BundleDay.d.ts +0 -8
- package/dist/api/generated/itinerary/models/ComponentDetails.d.ts +0 -5
- /package/dist/api/generated/core/models/{Bundle.js → ComponentPricing.js} +0 -0
- /package/dist/api/generated/core/models/{BundleDay.js → Package.js} +0 -0
- /package/dist/api/generated/core/models/{BundleItem.js → PackageItem.js} +0 -0
- /package/dist/api/generated/core/models/{ComponentDetails.js → PackageSpan.js} +0 -0
- /package/dist/api/generated/itinerary/models/{Bundle.js → ComponentPricing.js} +0 -0
- /package/dist/api/generated/itinerary/models/{BundleDay.js → Package.js} +0 -0
- /package/dist/api/generated/itinerary/models/{BundleItem.js → PackageItem.js} +0 -0
- /package/dist/api/generated/itinerary/models/{ComponentDetails.js → PackageSpan.js} +0 -0
|
@@ -5,15 +5,12 @@ export type { AssignedTravellerGroup } from './index';
|
|
|
5
5
|
export type { Assignments } from './index';
|
|
6
6
|
export type { BookingItem } from './index';
|
|
7
7
|
export type { BookingItemResponse } from './index';
|
|
8
|
-
export type { Bundle } from './index';
|
|
9
|
-
export type { BundleDay } from './index';
|
|
10
|
-
export type { BundleItem } from './index';
|
|
11
8
|
export type { ComponentDescription } from './index';
|
|
12
|
-
export type { ComponentDetails } from './index';
|
|
13
9
|
export type { ComponentFAQ } from './index';
|
|
14
10
|
export type { componentId } from './index';
|
|
15
11
|
export type { ComponentInstance } from './index';
|
|
16
12
|
export type { ComponentNotes } from './index';
|
|
13
|
+
export type { ComponentPricing } from './index';
|
|
17
14
|
export type { CurrencyItem } from './index';
|
|
18
15
|
export type { CurrencyItemResponse } from './index';
|
|
19
16
|
export type { DTOComponentCreate } from './index';
|
|
@@ -42,6 +39,9 @@ export type { itineraryId } from './index';
|
|
|
42
39
|
export type { Limit } from './index';
|
|
43
40
|
export type { Member } from './index';
|
|
44
41
|
export type { Metadata } from './index';
|
|
42
|
+
export type { Package } from './index';
|
|
43
|
+
export type { PackageItem } from './index';
|
|
44
|
+
export type { PackageSpan } from './index';
|
|
45
45
|
export type { Page } from './index';
|
|
46
46
|
export type { Pagination } from './index';
|
|
47
47
|
export { regionParam } from './index';
|
|
@@ -7,15 +7,12 @@ export type { AssignedTravellerGroup } from './models/AssignedTravellerGroup';
|
|
|
7
7
|
export type { Assignments } from './models/Assignments';
|
|
8
8
|
export type { BookingItem } from './models/BookingItem';
|
|
9
9
|
export type { BookingItemResponse } from './models/BookingItemResponse';
|
|
10
|
-
export type { Bundle } from './models/Bundle';
|
|
11
|
-
export type { BundleDay } from './models/BundleDay';
|
|
12
|
-
export type { BundleItem } from './models/BundleItem';
|
|
13
10
|
export type { ComponentDescription } from './models/ComponentDescription';
|
|
14
|
-
export type { ComponentDetails } from './models/ComponentDetails';
|
|
15
11
|
export type { ComponentFAQ } from './models/ComponentFAQ';
|
|
16
12
|
export type { componentId } from './models/componentId';
|
|
17
13
|
export type { ComponentInstance } from './models/ComponentInstance';
|
|
18
14
|
export type { ComponentNotes } from './models/ComponentNotes';
|
|
15
|
+
export type { ComponentPricing } from './models/ComponentPricing';
|
|
19
16
|
export type { CurrencyItem } from './models/CurrencyItem';
|
|
20
17
|
export type { CurrencyItemResponse } from './models/CurrencyItemResponse';
|
|
21
18
|
export type { DTOComponentCreate } from './models/DTOComponentCreate';
|
|
@@ -44,6 +41,9 @@ export type { itineraryId } from './models/itineraryId';
|
|
|
44
41
|
export type { Limit } from './models/Limit';
|
|
45
42
|
export type { Member } from './models/Member';
|
|
46
43
|
export type { Metadata } from './models/Metadata';
|
|
44
|
+
export type { Package } from './models/Package';
|
|
45
|
+
export type { PackageItem } from './models/PackageItem';
|
|
46
|
+
export type { PackageSpan } from './models/PackageSpan';
|
|
47
47
|
export type { Page } from './models/Page';
|
|
48
48
|
export type { Pagination } from './models/Pagination';
|
|
49
49
|
export { regionParam } from './models/regionParam';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
6
|
+
import type { Package } from './Package';
|
|
7
7
|
export type DTOComponentCreate = {
|
|
8
8
|
orgId?: string;
|
|
9
9
|
name: string;
|
|
@@ -13,8 +13,9 @@ export type DTOComponentCreate = {
|
|
|
13
13
|
faq?: ComponentFAQ;
|
|
14
14
|
componentFields: Array<Field>;
|
|
15
15
|
partners: Array<string>;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
regions: Array<string>;
|
|
17
|
+
pricing: ComponentPricing;
|
|
18
|
+
package?: Package;
|
|
18
19
|
startDate?: string | null;
|
|
19
20
|
endDate?: string | null;
|
|
20
21
|
duration?: number | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
7
6
|
import type { Metadata } from './Metadata';
|
|
7
|
+
import type { Package } from './Package';
|
|
8
8
|
export type DTOComponentEntity = {
|
|
9
9
|
id: string;
|
|
10
10
|
orgId: string;
|
|
@@ -13,14 +13,15 @@ export type DTOComponentEntity = {
|
|
|
13
13
|
revision: number;
|
|
14
14
|
metadata: Metadata;
|
|
15
15
|
partners: Array<string>;
|
|
16
|
+
regions: Array<string>;
|
|
16
17
|
destination?: string;
|
|
17
18
|
name: string;
|
|
18
19
|
description?: ComponentDescription;
|
|
19
20
|
notes?: ComponentNotes;
|
|
20
21
|
faq?: ComponentFAQ;
|
|
21
|
-
|
|
22
|
+
pricing: ComponentPricing;
|
|
22
23
|
componentFields: Array<Field>;
|
|
23
|
-
|
|
24
|
+
package: Package;
|
|
24
25
|
startDate?: string | null;
|
|
25
26
|
endDate?: string | null;
|
|
26
27
|
duration?: number | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
7
6
|
import type { Metadata } from './Metadata';
|
|
7
|
+
import type { Package } from './Package';
|
|
8
8
|
export type DTOComponentRead = {
|
|
9
9
|
id: string;
|
|
10
10
|
orgId: string;
|
|
@@ -13,14 +13,15 @@ export type DTOComponentRead = {
|
|
|
13
13
|
revision: number;
|
|
14
14
|
metadata: Metadata;
|
|
15
15
|
partners: Array<string>;
|
|
16
|
+
regions: Array<string>;
|
|
16
17
|
destination?: string;
|
|
17
18
|
name: string;
|
|
18
19
|
description?: ComponentDescription;
|
|
19
20
|
notes?: ComponentNotes;
|
|
20
21
|
faq?: ComponentFAQ;
|
|
21
|
-
|
|
22
|
+
pricing: ComponentPricing;
|
|
22
23
|
componentFields: Array<Field>;
|
|
23
|
-
|
|
24
|
+
package: Package;
|
|
24
25
|
startDate?: string | null;
|
|
25
26
|
endDate?: string | null;
|
|
26
27
|
duration?: number | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
6
|
+
import type { Package } from './Package';
|
|
7
7
|
export type DTOComponentUpdate = {
|
|
8
8
|
destination?: string;
|
|
9
9
|
description?: ComponentDescription;
|
|
@@ -11,8 +11,9 @@ export type DTOComponentUpdate = {
|
|
|
11
11
|
faq?: ComponentFAQ;
|
|
12
12
|
componentFields?: Array<Field>;
|
|
13
13
|
partners?: Array<string>;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
regions?: Array<string>;
|
|
15
|
+
pricing?: ComponentPricing;
|
|
16
|
+
package?: Package;
|
|
16
17
|
startDate?: string | null;
|
|
17
18
|
endDate?: string | null;
|
|
18
19
|
duration?: number | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PackageItem } from './PackageItem';
|
|
2
|
+
export type PackageSpan = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
items: Array<PackageItem>;
|
|
6
|
+
startDay: number;
|
|
7
|
+
endDay: number;
|
|
8
|
+
meals?: Array<'Breakfast' | 'Lunch' | 'Box Lunch' | 'Dinner' | 'Snacks'>;
|
|
9
|
+
};
|
|
@@ -7,15 +7,12 @@ export type { AssignedTravellerGroup } from './models/AssignedTravellerGroup';
|
|
|
7
7
|
export type { Assignments } from './models/Assignments';
|
|
8
8
|
export type { BookingItem } from './models/BookingItem';
|
|
9
9
|
export type { BookingItemResponse } from './models/BookingItemResponse';
|
|
10
|
-
export type { Bundle } from './models/Bundle';
|
|
11
|
-
export type { BundleDay } from './models/BundleDay';
|
|
12
|
-
export type { BundleItem } from './models/BundleItem';
|
|
13
10
|
export type { ComponentDescription } from './models/ComponentDescription';
|
|
14
|
-
export type { ComponentDetails } from './models/ComponentDetails';
|
|
15
11
|
export type { ComponentFAQ } from './models/ComponentFAQ';
|
|
16
12
|
export type { componentId } from './models/componentId';
|
|
17
13
|
export type { ComponentInstance } from './models/ComponentInstance';
|
|
18
14
|
export type { ComponentNotes } from './models/ComponentNotes';
|
|
15
|
+
export type { ComponentPricing } from './models/ComponentPricing';
|
|
19
16
|
export type { CurrencyItem } from './models/CurrencyItem';
|
|
20
17
|
export type { CurrencyItemResponse } from './models/CurrencyItemResponse';
|
|
21
18
|
export type { DTOComponentCreate } from './models/DTOComponentCreate';
|
|
@@ -44,6 +41,9 @@ export type { itineraryId } from './models/itineraryId';
|
|
|
44
41
|
export type { Limit } from './models/Limit';
|
|
45
42
|
export type { Member } from './models/Member';
|
|
46
43
|
export type { Metadata } from './models/Metadata';
|
|
44
|
+
export type { Package } from './models/Package';
|
|
45
|
+
export type { PackageItem } from './models/PackageItem';
|
|
46
|
+
export type { PackageSpan } from './models/PackageSpan';
|
|
47
47
|
export type { Page } from './models/Page';
|
|
48
48
|
export type { Pagination } from './models/Pagination';
|
|
49
49
|
export { regionParam } from './models/regionParam';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
6
|
+
import type { Package } from './Package';
|
|
7
7
|
export type DTOComponentCreate = {
|
|
8
8
|
orgId?: string;
|
|
9
9
|
name: string;
|
|
@@ -13,8 +13,9 @@ export type DTOComponentCreate = {
|
|
|
13
13
|
faq?: ComponentFAQ;
|
|
14
14
|
componentFields: Array<Field>;
|
|
15
15
|
partners: Array<string>;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
regions: Array<string>;
|
|
17
|
+
pricing: ComponentPricing;
|
|
18
|
+
package?: Package;
|
|
18
19
|
startDate?: string | null;
|
|
19
20
|
endDate?: string | null;
|
|
20
21
|
duration?: number | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
7
6
|
import type { Metadata } from './Metadata';
|
|
7
|
+
import type { Package } from './Package';
|
|
8
8
|
export type DTOComponentEntity = {
|
|
9
9
|
id: string;
|
|
10
10
|
orgId: string;
|
|
@@ -13,14 +13,15 @@ export type DTOComponentEntity = {
|
|
|
13
13
|
revision: number;
|
|
14
14
|
metadata: Metadata;
|
|
15
15
|
partners: Array<string>;
|
|
16
|
+
regions: Array<string>;
|
|
16
17
|
destination?: string;
|
|
17
18
|
name: string;
|
|
18
19
|
description?: ComponentDescription;
|
|
19
20
|
notes?: ComponentNotes;
|
|
20
21
|
faq?: ComponentFAQ;
|
|
21
|
-
|
|
22
|
+
pricing: ComponentPricing;
|
|
22
23
|
componentFields: Array<Field>;
|
|
23
|
-
|
|
24
|
+
package: Package;
|
|
24
25
|
startDate?: string | null;
|
|
25
26
|
endDate?: string | null;
|
|
26
27
|
duration?: number | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
7
6
|
import type { Metadata } from './Metadata';
|
|
7
|
+
import type { Package } from './Package';
|
|
8
8
|
export type DTOComponentRead = {
|
|
9
9
|
id: string;
|
|
10
10
|
orgId: string;
|
|
@@ -13,14 +13,15 @@ export type DTOComponentRead = {
|
|
|
13
13
|
revision: number;
|
|
14
14
|
metadata: Metadata;
|
|
15
15
|
partners: Array<string>;
|
|
16
|
+
regions: Array<string>;
|
|
16
17
|
destination?: string;
|
|
17
18
|
name: string;
|
|
18
19
|
description?: ComponentDescription;
|
|
19
20
|
notes?: ComponentNotes;
|
|
20
21
|
faq?: ComponentFAQ;
|
|
21
|
-
|
|
22
|
+
pricing: ComponentPricing;
|
|
22
23
|
componentFields: Array<Field>;
|
|
23
|
-
|
|
24
|
+
package: Package;
|
|
24
25
|
startDate?: string | null;
|
|
25
26
|
endDate?: string | null;
|
|
26
27
|
duration?: number | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Bundle } from './Bundle';
|
|
2
1
|
import type { ComponentDescription } from './ComponentDescription';
|
|
3
|
-
import type { ComponentDetails } from './ComponentDetails';
|
|
4
2
|
import type { ComponentFAQ } from './ComponentFAQ';
|
|
5
3
|
import type { ComponentNotes } from './ComponentNotes';
|
|
4
|
+
import type { ComponentPricing } from './ComponentPricing';
|
|
6
5
|
import type { Field } from './Field';
|
|
6
|
+
import type { Package } from './Package';
|
|
7
7
|
export type DTOComponentUpdate = {
|
|
8
8
|
destination?: string;
|
|
9
9
|
description?: ComponentDescription;
|
|
@@ -11,8 +11,9 @@ export type DTOComponentUpdate = {
|
|
|
11
11
|
faq?: ComponentFAQ;
|
|
12
12
|
componentFields?: Array<Field>;
|
|
13
13
|
partners?: Array<string>;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
regions?: Array<string>;
|
|
15
|
+
pricing?: ComponentPricing;
|
|
16
|
+
package?: Package;
|
|
16
17
|
startDate?: string | null;
|
|
17
18
|
endDate?: string | null;
|
|
18
19
|
duration?: number | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PackageItem } from './PackageItem';
|
|
2
|
+
export type PackageSpan = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
items: Array<PackageItem>;
|
|
6
|
+
startDay: number;
|
|
7
|
+
endDay: number;
|
|
8
|
+
meals?: Array<'Breakfast' | 'Lunch' | 'Box Lunch' | 'Dinner' | 'Snacks'>;
|
|
9
|
+
};
|
|
@@ -9,14 +9,15 @@ export declare const fetchComponents: () => Promise<{
|
|
|
9
9
|
revision: number;
|
|
10
10
|
metadata: import("../../api/generated/core").Metadata;
|
|
11
11
|
partners: Array<string>;
|
|
12
|
+
regions: Array<string>;
|
|
12
13
|
destination?: string;
|
|
13
14
|
name: string;
|
|
14
15
|
description?: import("../../api/generated/core").ComponentDescription;
|
|
15
16
|
notes?: import("../../api/generated/core").ComponentNotes;
|
|
16
17
|
faq?: import("../../api/generated/core").ComponentFAQ;
|
|
17
|
-
|
|
18
|
+
pricing: import("../../api/generated/core").ComponentPricing;
|
|
18
19
|
componentFields: Array<import("../../api/generated/core").Field>;
|
|
19
|
-
|
|
20
|
+
package: import("../../api/generated/core").Package;
|
|
20
21
|
startDate?: string | null;
|
|
21
22
|
endDate?: string | null;
|
|
22
23
|
duration?: number | null;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|