swoop-common 2.1.36 → 2.1.37
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 +2 -0
- package/dist/api/generated/core/exports.js +1 -0
- package/dist/api/generated/core/index.d.ts +2 -0
- package/dist/api/generated/core/index.js +1 -0
- package/dist/api/generated/core/models/ComponentInstance.d.ts +2 -1
- package/dist/api/generated/core/models/ComponentPricing.d.ts +2 -1
- package/dist/api/generated/core/models/Currency.d.ts +12 -0
- package/dist/api/generated/core/models/Currency.js +17 -0
- package/dist/api/generated/core/models/DTOItineraryCreate.d.ts +2 -0
- package/dist/api/generated/core/models/DTOItineraryEntity.d.ts +2 -0
- package/dist/api/generated/core/models/DTOItineraryRead.d.ts +2 -0
- package/dist/api/generated/core/models/DTOItineraryUpdate.d.ts +2 -0
- package/dist/api/generated/core/models/Discount.d.ts +8 -0
- package/dist/api/generated/core/models/Discount.js +1 -0
- package/dist/api/generated/core/models/Fee.d.ts +2 -1
- package/dist/api/generated/itinerary/index.d.ts +2 -0
- package/dist/api/generated/itinerary/index.js +1 -0
- package/dist/api/generated/itinerary/models/ComponentInstance.d.ts +2 -1
- package/dist/api/generated/itinerary/models/ComponentPricing.d.ts +2 -1
- 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/DTOItineraryCreate.d.ts +2 -0
- package/dist/api/generated/itinerary/models/DTOItineraryEntity.d.ts +2 -0
- package/dist/api/generated/itinerary/models/DTOItineraryRead.d.ts +2 -0
- package/dist/api/generated/itinerary/models/DTOItineraryUpdate.d.ts +2 -0
- package/dist/api/generated/itinerary/models/Discount.d.ts +8 -0
- package/dist/api/generated/itinerary/models/Discount.js +1 -0
- package/dist/api/generated/itinerary/models/Fee.d.ts +2 -1
- package/package.json +1 -1
|
@@ -15,8 +15,10 @@ export type { ComponentNotes } from './index';
|
|
|
15
15
|
export type { ComponentPricing } from './index';
|
|
16
16
|
export { ComponentState } from './index';
|
|
17
17
|
export { ComponentType } from './index';
|
|
18
|
+
export { Currency } from './index';
|
|
18
19
|
export type { CurrencyItem } from './index';
|
|
19
20
|
export type { CurrencyItemResponse } from './index';
|
|
21
|
+
export type { Discount } from './index';
|
|
20
22
|
export type { DTOComponentCreate } from './index';
|
|
21
23
|
export type { DTOComponentEntity } from './index';
|
|
22
24
|
export type { DTOComponentRead } from './index';
|
|
@@ -4,6 +4,7 @@ export { CancelablePromise, CancelError } from './index';
|
|
|
4
4
|
export { BookingStatus } from './index';
|
|
5
5
|
export { ComponentState } from './index';
|
|
6
6
|
export { ComponentType } from './index';
|
|
7
|
+
export { Currency } from './index';
|
|
7
8
|
export { Meals } from './index';
|
|
8
9
|
export { regionParam } from './index';
|
|
9
10
|
export { regionRequired } from './index';
|
|
@@ -17,8 +17,10 @@ export type { ComponentNotes } from './models/ComponentNotes';
|
|
|
17
17
|
export type { ComponentPricing } from './models/ComponentPricing';
|
|
18
18
|
export { ComponentState } from './models/ComponentState';
|
|
19
19
|
export { ComponentType } from './models/ComponentType';
|
|
20
|
+
export { Currency } from './models/Currency';
|
|
20
21
|
export type { CurrencyItem } from './models/CurrencyItem';
|
|
21
22
|
export type { CurrencyItemResponse } from './models/CurrencyItemResponse';
|
|
23
|
+
export type { Discount } from './models/Discount';
|
|
22
24
|
export type { DTOComponentCreate } from './models/DTOComponentCreate';
|
|
23
25
|
export type { DTOComponentEntity } from './models/DTOComponentEntity';
|
|
24
26
|
export type { DTOComponentRead } from './models/DTOComponentRead';
|
|
@@ -8,6 +8,7 @@ export { OpenAPI } from './core/OpenAPI';
|
|
|
8
8
|
export { BookingStatus } from './models/BookingStatus';
|
|
9
9
|
export { ComponentState } from './models/ComponentState';
|
|
10
10
|
export { ComponentType } from './models/ComponentType';
|
|
11
|
+
export { Currency } from './models/Currency';
|
|
11
12
|
export { Meals } from './models/Meals';
|
|
12
13
|
export { regionParam } from './models/regionParam';
|
|
13
14
|
export { regionRequired } from './models/regionRequired';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { AssignedPassenger } from './AssignedPassenger';
|
|
2
2
|
import type { AssignedTravellerGroup } from './AssignedTravellerGroup';
|
|
3
3
|
import type { BookingStatus } from './BookingStatus';
|
|
4
|
+
import type { Currency } from './Currency';
|
|
4
5
|
import type { Field } from './Field';
|
|
5
6
|
import type { UserComponentInstanceField } from './UserComponentInstanceField';
|
|
6
7
|
export type ComponentInstance = {
|
|
@@ -11,7 +12,7 @@ export type ComponentInstance = {
|
|
|
11
12
|
assignedPassengers: Array<AssignedPassenger>;
|
|
12
13
|
assignedTravellerGroups: Array<AssignedTravellerGroup>;
|
|
13
14
|
price?: number | null;
|
|
14
|
-
currency?:
|
|
15
|
+
currency?: Currency | null;
|
|
15
16
|
commissionPercent?: number | null;
|
|
16
17
|
startDate?: string | null;
|
|
17
18
|
endDate?: string | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var Currency;
|
|
6
|
+
(function (Currency) {
|
|
7
|
+
Currency["GBP"] = "gbp";
|
|
8
|
+
Currency["USD"] = "usd";
|
|
9
|
+
Currency["EUR"] = "eur";
|
|
10
|
+
Currency["CLP"] = "clp";
|
|
11
|
+
Currency["ZAR"] = "zar";
|
|
12
|
+
Currency["ARS"] = "ars";
|
|
13
|
+
Currency["NZD"] = "nzd";
|
|
14
|
+
Currency["CAD"] = "cad";
|
|
15
|
+
Currency["NOK"] = "nok";
|
|
16
|
+
Currency["DKK"] = "dkk";
|
|
17
|
+
})(Currency || (Currency = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { QuoteOptions } from './QuoteOptions';
|
|
4
5
|
export type DTOItineraryCreate = {
|
|
@@ -7,4 +8,5 @@ export type DTOItineraryCreate = {
|
|
|
7
8
|
componentInstances: Array<ComponentInstance>;
|
|
8
9
|
fees: Array<Fee>;
|
|
9
10
|
quoteOption?: QuoteOptions;
|
|
11
|
+
discounts: Array<Discount>;
|
|
10
12
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { Metadata } from './Metadata';
|
|
4
5
|
import type { QuoteOptions } from './QuoteOptions';
|
|
@@ -12,4 +13,5 @@ export type DTOItineraryEntity = {
|
|
|
12
13
|
componentInstances: Array<ComponentInstance>;
|
|
13
14
|
fees: Array<Fee>;
|
|
14
15
|
quoteOption?: QuoteOptions;
|
|
16
|
+
discounts: Array<Discount>;
|
|
15
17
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { Metadata } from './Metadata';
|
|
4
5
|
import type { QuoteOptions } from './QuoteOptions';
|
|
@@ -12,4 +13,5 @@ export type DTOItineraryRead = {
|
|
|
12
13
|
componentInstances: Array<ComponentInstance>;
|
|
13
14
|
fees: Array<Fee>;
|
|
14
15
|
quoteOption?: QuoteOptions;
|
|
16
|
+
discounts: Array<Discount>;
|
|
15
17
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { QuoteOptions } from './QuoteOptions';
|
|
4
5
|
export type DTOItineraryUpdate = {
|
|
@@ -7,4 +8,5 @@ export type DTOItineraryUpdate = {
|
|
|
7
8
|
componentInstances: Array<ComponentInstance>;
|
|
8
9
|
fees: Array<Fee>;
|
|
9
10
|
quoteOption?: QuoteOptions;
|
|
11
|
+
discounts: Array<Discount>;
|
|
10
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { AssignedPassenger } from './AssignedPassenger';
|
|
2
|
+
import type { Currency } from './Currency';
|
|
2
3
|
export type Fee = {
|
|
3
4
|
name: string;
|
|
4
5
|
reason: string;
|
|
5
6
|
type: string;
|
|
6
7
|
price: number;
|
|
7
|
-
currency:
|
|
8
|
+
currency: Currency;
|
|
8
9
|
assignedPassenger: AssignedPassenger;
|
|
9
10
|
};
|
|
@@ -17,8 +17,10 @@ export type { ComponentNotes } from './models/ComponentNotes';
|
|
|
17
17
|
export type { ComponentPricing } from './models/ComponentPricing';
|
|
18
18
|
export { ComponentState } from './models/ComponentState';
|
|
19
19
|
export { ComponentType } from './models/ComponentType';
|
|
20
|
+
export { Currency } from './models/Currency';
|
|
20
21
|
export type { CurrencyItem } from './models/CurrencyItem';
|
|
21
22
|
export type { CurrencyItemResponse } from './models/CurrencyItemResponse';
|
|
23
|
+
export type { Discount } from './models/Discount';
|
|
22
24
|
export type { DTOComponentCreate } from './models/DTOComponentCreate';
|
|
23
25
|
export type { DTOComponentEntity } from './models/DTOComponentEntity';
|
|
24
26
|
export type { DTOComponentRead } from './models/DTOComponentRead';
|
|
@@ -8,6 +8,7 @@ export { OpenAPI } from './core/OpenAPI';
|
|
|
8
8
|
export { BookingStatus } from './models/BookingStatus';
|
|
9
9
|
export { ComponentState } from './models/ComponentState';
|
|
10
10
|
export { ComponentType } from './models/ComponentType';
|
|
11
|
+
export { Currency } from './models/Currency';
|
|
11
12
|
export { Meals } from './models/Meals';
|
|
12
13
|
export { regionParam } from './models/regionParam';
|
|
13
14
|
export { regionRequired } from './models/regionRequired';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { AssignedPassenger } from './AssignedPassenger';
|
|
2
2
|
import type { AssignedTravellerGroup } from './AssignedTravellerGroup';
|
|
3
3
|
import type { BookingStatus } from './BookingStatus';
|
|
4
|
+
import type { Currency } from './Currency';
|
|
4
5
|
import type { Field } from './Field';
|
|
5
6
|
import type { UserComponentInstanceField } from './UserComponentInstanceField';
|
|
6
7
|
export type ComponentInstance = {
|
|
@@ -11,7 +12,7 @@ export type ComponentInstance = {
|
|
|
11
12
|
assignedPassengers: Array<AssignedPassenger>;
|
|
12
13
|
assignedTravellerGroups: Array<AssignedTravellerGroup>;
|
|
13
14
|
price?: number | null;
|
|
14
|
-
currency?:
|
|
15
|
+
currency?: Currency | null;
|
|
15
16
|
commissionPercent?: number | null;
|
|
16
17
|
startDate?: string | null;
|
|
17
18
|
endDate?: string | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var Currency;
|
|
6
|
+
(function (Currency) {
|
|
7
|
+
Currency["GBP"] = "gbp";
|
|
8
|
+
Currency["USD"] = "usd";
|
|
9
|
+
Currency["EUR"] = "eur";
|
|
10
|
+
Currency["CLP"] = "clp";
|
|
11
|
+
Currency["ZAR"] = "zar";
|
|
12
|
+
Currency["ARS"] = "ars";
|
|
13
|
+
Currency["NZD"] = "nzd";
|
|
14
|
+
Currency["CAD"] = "cad";
|
|
15
|
+
Currency["NOK"] = "nok";
|
|
16
|
+
Currency["DKK"] = "dkk";
|
|
17
|
+
})(Currency || (Currency = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { QuoteOptions } from './QuoteOptions';
|
|
4
5
|
export type DTOItineraryCreate = {
|
|
@@ -7,4 +8,5 @@ export type DTOItineraryCreate = {
|
|
|
7
8
|
componentInstances: Array<ComponentInstance>;
|
|
8
9
|
fees: Array<Fee>;
|
|
9
10
|
quoteOption?: QuoteOptions;
|
|
11
|
+
discounts: Array<Discount>;
|
|
10
12
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { Metadata } from './Metadata';
|
|
4
5
|
import type { QuoteOptions } from './QuoteOptions';
|
|
@@ -12,4 +13,5 @@ export type DTOItineraryEntity = {
|
|
|
12
13
|
componentInstances: Array<ComponentInstance>;
|
|
13
14
|
fees: Array<Fee>;
|
|
14
15
|
quoteOption?: QuoteOptions;
|
|
16
|
+
discounts: Array<Discount>;
|
|
15
17
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { Metadata } from './Metadata';
|
|
4
5
|
import type { QuoteOptions } from './QuoteOptions';
|
|
@@ -12,4 +13,5 @@ export type DTOItineraryRead = {
|
|
|
12
13
|
componentInstances: Array<ComponentInstance>;
|
|
13
14
|
fees: Array<Fee>;
|
|
14
15
|
quoteOption?: QuoteOptions;
|
|
16
|
+
discounts: Array<Discount>;
|
|
15
17
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentInstance } from './ComponentInstance';
|
|
2
|
+
import type { Discount } from './Discount';
|
|
2
3
|
import type { Fee } from './Fee';
|
|
3
4
|
import type { QuoteOptions } from './QuoteOptions';
|
|
4
5
|
export type DTOItineraryUpdate = {
|
|
@@ -7,4 +8,5 @@ export type DTOItineraryUpdate = {
|
|
|
7
8
|
componentInstances: Array<ComponentInstance>;
|
|
8
9
|
fees: Array<Fee>;
|
|
9
10
|
quoteOption?: QuoteOptions;
|
|
11
|
+
discounts: Array<Discount>;
|
|
10
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { AssignedPassenger } from './AssignedPassenger';
|
|
2
|
+
import type { Currency } from './Currency';
|
|
2
3
|
export type Fee = {
|
|
3
4
|
name: string;
|
|
4
5
|
reason: string;
|
|
5
6
|
type: string;
|
|
6
7
|
price: number;
|
|
7
|
-
currency:
|
|
8
|
+
currency: Currency;
|
|
8
9
|
assignedPassenger: AssignedPassenger;
|
|
9
10
|
};
|