swoop-common 2.2.67 → 2.2.72
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/index.d.ts +2 -0
- package/dist/api/generated/core/models/ComponentInstance.d.ts +1 -0
- package/dist/api/generated/core/models/Currency.d.ts +1 -0
- package/dist/api/generated/core/models/Currency.js +1 -0
- package/dist/api/generated/core/models/DTOPublicSnapshotCreate.d.ts +4 -2
- package/dist/api/generated/core/models/DTOPublicSnapshotEntity.d.ts +4 -2
- package/dist/api/generated/core/models/DTOPublicSnapshotRead.d.ts +4 -2
- package/dist/api/generated/core/models/PublicPaymentLead.d.ts +4 -0
- package/dist/api/generated/core/models/PublicSnapShotPayment.d.ts +8 -0
- package/dist/api/generated/core/models/QuoteOptions.d.ts +1 -0
- package/dist/api/generated/core/services/CoreService.js +1 -0
- package/dist/api/generated/core/services/SnapshotService.js +1 -0
- package/dist/api/generated/swoop/exports.d.ts +0 -2
- package/dist/api/generated/swoop/index.d.ts +0 -2
- package/dist/api/generated/swoop/models/Address.d.ts +2 -2
- package/dist/api/generated/swoop/models/Address_jsonld.d.ts +2 -2
- package/dist/api/generated/swoop/models/Country.d.ts +1 -1
- package/dist/api/generated/swoop/models/Country_jsonld.d.ts +1 -1
- package/dist/api/generated/swoop/models/EmergencyDetails.d.ts +1 -1
- package/dist/api/generated/swoop/models/EmergencyDetails_jsonld.d.ts +1 -1
- package/dist/api/generated/swoop/models/Enquiry.d.ts +11 -1
- package/dist/api/generated/swoop/models/EnquiryPerson.d.ts +2 -2
- package/dist/api/generated/swoop/models/EnquiryPerson_jsonld.d.ts +2 -2
- package/dist/api/generated/swoop/models/Enquiry_jsonld.d.ts +11 -1
- package/dist/api/generated/swoop/models/Itinerary_ItinerarySaveInput.d.ts +1 -0
- package/dist/api/generated/swoop/models/Itinerary_ItinerarySaveInput_jsonld.d.ts +1 -0
- package/dist/api/generated/swoop/models/Passport.d.ts +3 -3
- package/dist/api/generated/swoop/models/Passport_jsonld.d.ts +3 -3
- package/dist/api/generated/swoop/models/Person.d.ts +1 -1
- package/dist/api/generated/swoop/models/Person_jsonld.d.ts +2 -0
- package/dist/api/generated/swoop/models/TravellerGroup.d.ts +5 -5
- package/dist/api/generated/swoop/models/TravellerGroup_jsonld.d.ts +5 -5
- package/dist/api/generated/swoop/models/TripVariant.d.ts +1 -2
- package/dist/api/generated/swoop/models/TripVariant_jsonld.d.ts +1 -2
- package/dist/api/generated/swoop/services/SwoopService.d.ts +75 -10
- package/dist/api/generated/swoop/services/SwoopService.js +9 -7
- package/package.json +56 -56
- package/dist/api/generated/swoop/models/DayByDayDay_jsonld.d.ts +0 -7
- package/dist/api/generated/swoop/models/DayByDayType_jsonld.d.ts +0 -6
- /package/dist/api/generated/{swoop/models/DayByDayDay_jsonld.js → core/models/PublicPaymentLead.js} +0 -0
- /package/dist/api/generated/{swoop/models/DayByDayType_jsonld.js → core/models/PublicSnapShotPayment.js} +0 -0
|
@@ -82,8 +82,10 @@ export type { Pagination } from './index';
|
|
|
82
82
|
export type { Partner } from './index';
|
|
83
83
|
export type { Partners } from './index';
|
|
84
84
|
export type { Price } from './index';
|
|
85
|
+
export type { PublicPaymentLead } from './index';
|
|
85
86
|
export type { PublicSnapShotEnquiryStatus } from './index';
|
|
86
87
|
export type { PublicSnapshotId } from './index';
|
|
88
|
+
export type { PublicSnapShotPayment } from './index';
|
|
87
89
|
export type { PublicSnapshotPerson } from './index';
|
|
88
90
|
export type { PublicSnapshotPricing } from './index';
|
|
89
91
|
export type { PublicSnapshotTraveller } from './index';
|
|
@@ -82,8 +82,10 @@ export type { Pagination } from './models/Pagination';
|
|
|
82
82
|
export type { Partner } from './models/Partner';
|
|
83
83
|
export type { Partners } from './models/Partners';
|
|
84
84
|
export type { Price } from './models/Price';
|
|
85
|
+
export type { PublicPaymentLead } from './models/PublicPaymentLead';
|
|
85
86
|
export type { PublicSnapShotEnquiryStatus } from './models/PublicSnapShotEnquiryStatus';
|
|
86
87
|
export type { PublicSnapshotId } from './models/PublicSnapshotId';
|
|
88
|
+
export type { PublicSnapShotPayment } from './models/PublicSnapShotPayment';
|
|
87
89
|
export type { PublicSnapshotPerson } from './models/PublicSnapshotPerson';
|
|
88
90
|
export type { PublicSnapshotPricing } from './models/PublicSnapshotPricing';
|
|
89
91
|
export type { PublicSnapshotTraveller } from './models/PublicSnapshotTraveller';
|
|
@@ -2,6 +2,7 @@ import type { DTOItineraryRead } from './DTOItineraryRead';
|
|
|
2
2
|
import type { ExpandedMap } from './ExpandedMap';
|
|
3
3
|
import type { InternalSwoopId } from './InternalSwoopId';
|
|
4
4
|
import type { PublicSnapShotEnquiryStatus } from './PublicSnapShotEnquiryStatus';
|
|
5
|
+
import type { PublicSnapShotPayment } from './PublicSnapShotPayment';
|
|
5
6
|
import type { PublicSnapshotPerson } from './PublicSnapshotPerson';
|
|
6
7
|
import type { PublicSnapshotTraveller } from './PublicSnapshotTraveller';
|
|
7
8
|
import type { SnapshotId } from './SnapshotId';
|
|
@@ -15,6 +16,7 @@ export type DTOPublicSnapshotCreate = {
|
|
|
15
16
|
map: ExpandedMap;
|
|
16
17
|
componentInstancePricing: any;
|
|
17
18
|
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
18
|
-
salesPerson
|
|
19
|
-
cxPerson
|
|
19
|
+
salesPerson?: PublicSnapshotPerson;
|
|
20
|
+
cxPerson?: PublicSnapshotPerson;
|
|
21
|
+
payments?: Array<PublicSnapShotPayment>;
|
|
20
22
|
};
|
|
@@ -4,6 +4,7 @@ import type { InternalSwoopId } from './InternalSwoopId';
|
|
|
4
4
|
import type { Metadata } from './Metadata';
|
|
5
5
|
import type { PublicSnapShotEnquiryStatus } from './PublicSnapShotEnquiryStatus';
|
|
6
6
|
import type { PublicSnapshotId } from './PublicSnapshotId';
|
|
7
|
+
import type { PublicSnapShotPayment } from './PublicSnapShotPayment';
|
|
7
8
|
import type { PublicSnapshotPerson } from './PublicSnapshotPerson';
|
|
8
9
|
import type { PublicSnapshotTraveller } from './PublicSnapshotTraveller';
|
|
9
10
|
import type { SnapshotId } from './SnapshotId';
|
|
@@ -19,6 +20,7 @@ export type DTOPublicSnapshotEntity = {
|
|
|
19
20
|
map: ExpandedMap;
|
|
20
21
|
componentInstancePricing: any;
|
|
21
22
|
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
22
|
-
salesPerson
|
|
23
|
-
cxPerson
|
|
23
|
+
salesPerson?: PublicSnapshotPerson;
|
|
24
|
+
cxPerson?: PublicSnapshotPerson;
|
|
25
|
+
payments?: Array<PublicSnapShotPayment>;
|
|
24
26
|
};
|
|
@@ -4,6 +4,7 @@ import type { InternalSwoopId } from './InternalSwoopId';
|
|
|
4
4
|
import type { Metadata } from './Metadata';
|
|
5
5
|
import type { PublicSnapShotEnquiryStatus } from './PublicSnapShotEnquiryStatus';
|
|
6
6
|
import type { PublicSnapshotId } from './PublicSnapshotId';
|
|
7
|
+
import type { PublicSnapShotPayment } from './PublicSnapShotPayment';
|
|
7
8
|
import type { PublicSnapshotPerson } from './PublicSnapshotPerson';
|
|
8
9
|
import type { PublicSnapshotTraveller } from './PublicSnapshotTraveller';
|
|
9
10
|
import type { SnapshotId } from './SnapshotId';
|
|
@@ -19,6 +20,7 @@ export type DTOPublicSnapshotRead = {
|
|
|
19
20
|
map: ExpandedMap;
|
|
20
21
|
componentInstancePricing: any;
|
|
21
22
|
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
22
|
-
salesPerson
|
|
23
|
-
cxPerson
|
|
23
|
+
salesPerson?: PublicSnapshotPerson;
|
|
24
|
+
cxPerson?: PublicSnapshotPerson;
|
|
25
|
+
payments?: Array<PublicSnapShotPayment>;
|
|
24
26
|
};
|
|
@@ -16,8 +16,6 @@ export type { CustomerSwoop } from './index';
|
|
|
16
16
|
export type { Customer_jsonldSwoop } from './index';
|
|
17
17
|
export type { CustomerLookupSwoop } from './index';
|
|
18
18
|
export type { CustomerLookup_jsonldSwoop } from './index';
|
|
19
|
-
export type { DayByDayDay_jsonldSwoop } from './index';
|
|
20
|
-
export type { DayByDayType_jsonldSwoop } from './index';
|
|
21
19
|
export type { DepartureSwoop } from './index';
|
|
22
20
|
export type { Departure_jsonldSwoop } from './index';
|
|
23
21
|
export type { EmergencyDetailsSwoop } from './index';
|
|
@@ -20,8 +20,6 @@ export type { Customer as CustomerSwoop } from './models/Customer';
|
|
|
20
20
|
export type { Customer_jsonld as Customer_jsonldSwoop } from './models/Customer_jsonld';
|
|
21
21
|
export type { CustomerLookup as CustomerLookupSwoop } from './models/CustomerLookup';
|
|
22
22
|
export type { CustomerLookup_jsonld as CustomerLookup_jsonldSwoop } from './models/CustomerLookup_jsonld';
|
|
23
|
-
export type { DayByDayDay_jsonld as DayByDayDay_jsonldSwoop } from './models/DayByDayDay_jsonld';
|
|
24
|
-
export type { DayByDayType_jsonld as DayByDayType_jsonldSwoop } from './models/DayByDayType_jsonld';
|
|
25
23
|
export type { Departure as DepartureSwoop } from './models/Departure';
|
|
26
24
|
export type { Departure_jsonld as Departure_jsonldSwoop } from './models/Departure_jsonld';
|
|
27
25
|
export type { EmergencyDetails as EmergencyDetailsSwoop } from './models/EmergencyDetails';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Country_jsonld } from './Country_jsonld';
|
|
2
2
|
import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
3
3
|
export type Address_jsonld = (HydraItemBaseSchema & {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
address_1?: string | null;
|
|
5
|
+
address_2?: string | null;
|
|
6
6
|
town?: string | null;
|
|
7
7
|
state?: string | null;
|
|
8
8
|
postcode?: string | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
2
2
|
export type EmergencyDetails_jsonld = (HydraItemBaseSchema & {
|
|
3
3
|
name?: string | null;
|
|
4
|
-
|
|
4
|
+
phone_number?: string | null;
|
|
5
5
|
relationship?: string | null;
|
|
6
6
|
email?: string | null;
|
|
7
7
|
});
|
|
@@ -4,9 +4,19 @@ import type { EnquiryStatus } from './EnquiryStatus';
|
|
|
4
4
|
export type Enquiry = {
|
|
5
5
|
id?: string;
|
|
6
6
|
enquiryId?: number;
|
|
7
|
+
isTwinCentre?: boolean;
|
|
8
|
+
opposingTwinCentreEnquiryId?: string | null;
|
|
7
9
|
salesPerson?: (EnquiryPerson | null);
|
|
8
10
|
cxPerson?: (EnquiryPerson | null);
|
|
9
11
|
enquiryStatus?: (EnquiryStatus | null);
|
|
10
12
|
customer?: (Customer | null);
|
|
11
|
-
bookingGroups?: Array<
|
|
13
|
+
bookingGroups?: Array<{
|
|
14
|
+
id?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
status?: {
|
|
17
|
+
id?: string;
|
|
18
|
+
title?: string;
|
|
19
|
+
alias?: string;
|
|
20
|
+
};
|
|
21
|
+
}>;
|
|
12
22
|
};
|
|
@@ -5,9 +5,19 @@ import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
|
5
5
|
export type Enquiry_jsonld = (HydraItemBaseSchema & {
|
|
6
6
|
id?: string;
|
|
7
7
|
enquiryId?: number;
|
|
8
|
+
isTwinCentre?: boolean;
|
|
9
|
+
opposingTwinCentreEnquiryId?: string | null;
|
|
8
10
|
salesPerson?: (EnquiryPerson_jsonld | null);
|
|
9
11
|
cxPerson?: (EnquiryPerson_jsonld | null);
|
|
10
12
|
enquiryStatus?: (EnquiryStatus_jsonld | null);
|
|
11
13
|
customer?: (Customer_jsonld | null);
|
|
12
|
-
bookingGroups?: Array<
|
|
14
|
+
bookingGroups?: Array<{
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
status?: {
|
|
18
|
+
id?: string;
|
|
19
|
+
title?: string;
|
|
20
|
+
alias?: string;
|
|
21
|
+
};
|
|
22
|
+
}>;
|
|
13
23
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Country } from './Country';
|
|
2
2
|
export type Passport = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
passport_number?: string | null;
|
|
4
|
+
passport_expiry_date?: string | null;
|
|
5
|
+
passport_issue_date?: string | null;
|
|
6
6
|
country?: (Country | null);
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Country_jsonld } from './Country_jsonld';
|
|
2
2
|
import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
3
3
|
export type Passport_jsonld = (HydraItemBaseSchema & {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
passport_number?: string | null;
|
|
5
|
+
passport_expiry_date?: string | null;
|
|
6
|
+
passport_issue_date?: string | null;
|
|
7
7
|
country?: (Country_jsonld | null);
|
|
8
8
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export type TravellerGroup = {
|
|
2
2
|
id?: string;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
traveller_group_id?: number;
|
|
4
|
+
enquiry_id?: number;
|
|
5
5
|
title?: string | null;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
payment_status?: string | null;
|
|
7
|
+
srf_completed_at?: string | null;
|
|
8
|
+
srf_pg2_completed_at?: string | null;
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
2
2
|
export type TravellerGroup_jsonld = (HydraItemBaseSchema & {
|
|
3
3
|
id?: string;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
traveller_group_id?: number;
|
|
5
|
+
enquiry_id?: number;
|
|
6
6
|
title?: string | null;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
payment_status?: string | null;
|
|
8
|
+
srf_completed_at?: string | null;
|
|
9
|
+
srf_pg2_completed_at?: string | null;
|
|
10
10
|
});
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { DayByDayType_jsonld } from './DayByDayType_jsonld';
|
|
2
1
|
import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
3
2
|
export type TripVariant_jsonld = (HydraItemBaseSchema & {
|
|
4
3
|
id?: string;
|
|
5
4
|
tripVariantId?: number;
|
|
6
5
|
title?: string;
|
|
7
|
-
dayByDayTypes?: Array<
|
|
6
|
+
dayByDayTypes?: Array<null>;
|
|
8
7
|
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BookingItemType } from '../models/BookingItemType';
|
|
2
2
|
import type { Category } from '../models/Category';
|
|
3
|
-
import type { Currency } from '../models/Currency';
|
|
4
3
|
import type { CurrencyConversion } from '../models/CurrencyConversion';
|
|
5
4
|
import type { CurrencyConversionBatch } from '../models/CurrencyConversionBatch';
|
|
6
5
|
import type { Customer } from '../models/Customer';
|
|
@@ -37,14 +36,23 @@ export declare class SwoopService {
|
|
|
37
36
|
*/
|
|
38
37
|
categoriesGetCollection(region?: string, active?: string): CancelablePromise<Array<Category>>;
|
|
39
38
|
/**
|
|
40
|
-
*
|
|
39
|
+
* Currency collection
|
|
41
40
|
* Retrieves the collection of Currency resources.
|
|
42
41
|
* @param region antarctica, arctic, patagonia
|
|
43
42
|
* @param active 1,0
|
|
44
|
-
* @returns
|
|
43
|
+
* @returns any Successful response
|
|
45
44
|
* @throws ApiError
|
|
46
45
|
*/
|
|
47
|
-
currenciesGetCollection(region?: string, active?: string): CancelablePromise<
|
|
46
|
+
currenciesGetCollection(region?: string, active?: string): CancelablePromise<{
|
|
47
|
+
currencies?: Array<{
|
|
48
|
+
id?: string;
|
|
49
|
+
title?: string;
|
|
50
|
+
alias?: string;
|
|
51
|
+
iso3?: string;
|
|
52
|
+
symbol?: string;
|
|
53
|
+
active?: boolean;
|
|
54
|
+
}>;
|
|
55
|
+
}>;
|
|
48
56
|
/**
|
|
49
57
|
* Retrieves a CurrencyConversion resource.
|
|
50
58
|
* Retrieves a CurrencyConversion resource.
|
|
@@ -174,13 +182,30 @@ export declare class SwoopService {
|
|
|
174
182
|
*/
|
|
175
183
|
paymentsGetCollection(enquiryId?: string, status?: string, withDeleted?: string): CancelablePromise<Array<Payment>>;
|
|
176
184
|
/**
|
|
177
|
-
*
|
|
185
|
+
* List people
|
|
178
186
|
* Retrieves the collection of Person resources.
|
|
179
187
|
* @param region antarctica, arctic, patagonia
|
|
180
|
-
* @
|
|
188
|
+
* @param all 1,0 - include all records or just the active ones - default 0
|
|
189
|
+
* @returns any Successful response
|
|
181
190
|
* @throws ApiError
|
|
182
191
|
*/
|
|
183
|
-
peopleGetCollection(region?: string): CancelablePromise<
|
|
192
|
+
peopleGetCollection(region?: string, all?: string): CancelablePromise<{
|
|
193
|
+
people?: Array<{
|
|
194
|
+
id?: string;
|
|
195
|
+
personId?: number;
|
|
196
|
+
firstName?: string;
|
|
197
|
+
lastName?: string;
|
|
198
|
+
shortName?: string;
|
|
199
|
+
email?: string;
|
|
200
|
+
telephone1?: string;
|
|
201
|
+
telephone2?: string;
|
|
202
|
+
role?: string;
|
|
203
|
+
avatarUrl?: string;
|
|
204
|
+
calendarLink?: string;
|
|
205
|
+
welcomeNote?: string;
|
|
206
|
+
aboutMeText?: string;
|
|
207
|
+
}>;
|
|
208
|
+
}>;
|
|
184
209
|
/**
|
|
185
210
|
* Retrieves a Person resource.
|
|
186
211
|
* Retrieves a Person resource.
|
|
@@ -190,14 +215,54 @@ export declare class SwoopService {
|
|
|
190
215
|
*/
|
|
191
216
|
peopleIdGet(id: string): CancelablePromise<Person>;
|
|
192
217
|
/**
|
|
193
|
-
*
|
|
218
|
+
* List people
|
|
194
219
|
* Retrieves the collection of Traveller resources.
|
|
195
220
|
* @param enquiryId by enquiry ID
|
|
196
221
|
* @param region antarctica, arctic, patagonia
|
|
197
|
-
* @returns
|
|
222
|
+
* @returns any Successful response
|
|
198
223
|
* @throws ApiError
|
|
199
224
|
*/
|
|
200
|
-
travellersGetCollection(enquiryId?: string, region?: string): CancelablePromise<
|
|
225
|
+
travellersGetCollection(enquiryId?: string, region?: string): CancelablePromise<{
|
|
226
|
+
travellers?: Array<{
|
|
227
|
+
id?: string;
|
|
228
|
+
travellerId?: number;
|
|
229
|
+
isPayer?: boolean;
|
|
230
|
+
customer?: {
|
|
231
|
+
id?: string;
|
|
232
|
+
customerId?: number;
|
|
233
|
+
title?: string;
|
|
234
|
+
firstName?: string;
|
|
235
|
+
lastName?: string;
|
|
236
|
+
preferredName?: string;
|
|
237
|
+
email?: string;
|
|
238
|
+
telephone1?: string;
|
|
239
|
+
created?: string;
|
|
240
|
+
modified?: string;
|
|
241
|
+
whatsappNumber?: string;
|
|
242
|
+
dateOfBirth?: string;
|
|
243
|
+
region?: string;
|
|
244
|
+
timeZone?: string;
|
|
245
|
+
dietaryRequirements?: string;
|
|
246
|
+
foodAllergies?: string;
|
|
247
|
+
medicalConditions?: string;
|
|
248
|
+
specialOccasion?: string;
|
|
249
|
+
roomType?: string;
|
|
250
|
+
roomNotes?: string;
|
|
251
|
+
address?: any | null;
|
|
252
|
+
passport?: any | null;
|
|
253
|
+
emergencyDetails?: any | null;
|
|
254
|
+
};
|
|
255
|
+
travellerGroup?: {
|
|
256
|
+
id?: string;
|
|
257
|
+
traveller_group_id?: number;
|
|
258
|
+
enquiry_id?: number;
|
|
259
|
+
title?: string;
|
|
260
|
+
payment_status?: string;
|
|
261
|
+
srf_completed_at?: string;
|
|
262
|
+
srf_pg2_ompleted_at?: string;
|
|
263
|
+
};
|
|
264
|
+
}>;
|
|
265
|
+
}>;
|
|
201
266
|
/**
|
|
202
267
|
* Retrieves a Traveller resource.
|
|
203
268
|
* Retrieves a Traveller resource.
|
|
@@ -38,11 +38,11 @@ export class SwoopService {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Currency collection
|
|
42
42
|
* Retrieves the collection of Currency resources.
|
|
43
43
|
* @param region antarctica, arctic, patagonia
|
|
44
44
|
* @param active 1,0
|
|
45
|
-
* @returns
|
|
45
|
+
* @returns any Successful response
|
|
46
46
|
* @throws ApiError
|
|
47
47
|
*/
|
|
48
48
|
currenciesGetCollection(region, active) {
|
|
@@ -298,18 +298,20 @@ export class SwoopService {
|
|
|
298
298
|
});
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
|
-
*
|
|
301
|
+
* List people
|
|
302
302
|
* Retrieves the collection of Person resources.
|
|
303
303
|
* @param region antarctica, arctic, patagonia
|
|
304
|
-
* @
|
|
304
|
+
* @param all 1,0 - include all records or just the active ones - default 0
|
|
305
|
+
* @returns any Successful response
|
|
305
306
|
* @throws ApiError
|
|
306
307
|
*/
|
|
307
|
-
peopleGetCollection(region) {
|
|
308
|
+
peopleGetCollection(region, all) {
|
|
308
309
|
return __request(OpenAPI, {
|
|
309
310
|
method: 'GET',
|
|
310
311
|
url: '/api/people',
|
|
311
312
|
query: {
|
|
312
313
|
'region': region,
|
|
314
|
+
'all': all,
|
|
313
315
|
},
|
|
314
316
|
});
|
|
315
317
|
}
|
|
@@ -333,11 +335,11 @@ export class SwoopService {
|
|
|
333
335
|
});
|
|
334
336
|
}
|
|
335
337
|
/**
|
|
336
|
-
*
|
|
338
|
+
* List people
|
|
337
339
|
* Retrieves the collection of Traveller resources.
|
|
338
340
|
* @param enquiryId by enquiry ID
|
|
339
341
|
* @param region antarctica, arctic, patagonia
|
|
340
|
-
* @returns
|
|
342
|
+
* @returns any Successful response
|
|
341
343
|
* @throws ApiError
|
|
342
344
|
*/
|
|
343
345
|
travellersGetCollection(enquiryId, region) {
|
package/package.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"name": "swoop-common",
|
|
3
|
+
"version": "2.2.72",
|
|
4
|
+
"main": "dist/api/index.js",
|
|
5
|
+
"types": "dist/api/index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./dist/api/index.js",
|
|
9
|
+
"require": "./dist/api/index.js",
|
|
10
|
+
"types": "./dist/api/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./rendering": {
|
|
13
|
+
"import": "./dist/rendering/index.js",
|
|
14
|
+
"require": "./dist/rendering/index.js",
|
|
15
|
+
"types": "./dist/rendering/index.d.ts"
|
|
16
|
+
}
|
|
11
17
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
23
|
+
"build": "rimraf ./dist && tsc",
|
|
24
|
+
"build-imports": "tsx ./src/rendering/prebuild/import.ts",
|
|
25
|
+
"build-core-sdk": "npx openapi-typescript-codegen --input ./openapi/core_service.yaml --output ./src/api/generated/core --client fetch",
|
|
26
|
+
"build-swoop-sdk": "npx openapi-typescript-codegen --input ./openapi/swoop_service.yaml --output ./src/api/generated/swoop --client fetch --postfixModels Swoop --request ./src/api/templates/request.ts",
|
|
27
|
+
"prebuild": "npm run build-imports && npm run build-sdk",
|
|
28
|
+
"build-sdk-exports": "tsx ./src/api/gen.ts",
|
|
29
|
+
"build-sdk": "npm run build-core-sdk && npm run build-swoop-sdk && npm run build-sdk-exports"
|
|
30
|
+
},
|
|
31
|
+
"author": "",
|
|
32
|
+
"license": "ISC",
|
|
33
|
+
"description": "",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@apidevtools/swagger-parser": "^12.0.0",
|
|
36
|
+
"@emotion/react": "^11.14.0",
|
|
37
|
+
"@emotion/styled": "^11.14.1",
|
|
38
|
+
"@jsonforms/core": "^3.5.1",
|
|
39
|
+
"@jsonforms/material-renderers": "^3.5.1",
|
|
40
|
+
"@jsonforms/react": "^3.5.1",
|
|
41
|
+
"ajv": "^8.17.1",
|
|
42
|
+
"js-yaml": "^4.1.0",
|
|
43
|
+
"lodash.merge": "^4.6.2",
|
|
44
|
+
"openapi-ts": "^0.3.4",
|
|
45
|
+
"react": "^19.0.0",
|
|
46
|
+
"rimraf": "^6.0.1",
|
|
47
|
+
"swoop-common": "^2.1.55"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@apidevtools/swagger-cli": "^4.0.4",
|
|
51
|
+
"@hey-api/openapi-ts": "^0.80.2",
|
|
52
|
+
"@types/js-yaml": "^4.0.9",
|
|
53
|
+
"@types/lodash.merge": "^4.6.9",
|
|
54
|
+
"@types/node": "^24.0.14",
|
|
55
|
+
"@types/react": "^19",
|
|
56
|
+
"openapi-typescript-codegen": "^0.29.0",
|
|
57
|
+
"tsx": "^4.20.3",
|
|
58
|
+
"typescript": "^5.8.3"
|
|
16
59
|
}
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"dist"
|
|
20
|
-
],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
23
|
-
"build": "rimraf ./dist && tsc",
|
|
24
|
-
"build-imports": "tsx ./src/rendering/prebuild/import.ts",
|
|
25
|
-
"build-core-sdk": "npx openapi-typescript-codegen --input ./openapi/core_service.yaml --output ./src/api/generated/core --client fetch",
|
|
26
|
-
"build-swoop-sdk": "npx openapi-typescript-codegen --input ./openapi/swoop_service.yaml --output ./src/api/generated/swoop --client fetch --postfixModels Swoop --request ./src/api/templates/request.ts",
|
|
27
|
-
"prebuild": "npm run build-imports && npm run build-sdk",
|
|
28
|
-
"build-sdk-exports": "tsx ./src/api/gen.ts",
|
|
29
|
-
"build-sdk": "npm run build-core-sdk && npm run build-swoop-sdk && npm run build-sdk-exports"
|
|
30
|
-
},
|
|
31
|
-
"author": "",
|
|
32
|
-
"license": "ISC",
|
|
33
|
-
"description": "",
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@apidevtools/swagger-parser": "^12.0.0",
|
|
36
|
-
"@emotion/react": "^11.14.0",
|
|
37
|
-
"@emotion/styled": "^11.14.1",
|
|
38
|
-
"@jsonforms/core": "^3.5.1",
|
|
39
|
-
"@jsonforms/material-renderers": "^3.5.1",
|
|
40
|
-
"@jsonforms/react": "^3.5.1",
|
|
41
|
-
"ajv": "^8.17.1",
|
|
42
|
-
"js-yaml": "^4.1.0",
|
|
43
|
-
"lodash.merge": "^4.6.2",
|
|
44
|
-
"openapi-ts": "^0.3.4",
|
|
45
|
-
"react": "^19.0.0",
|
|
46
|
-
"rimraf": "^6.0.1",
|
|
47
|
-
"swoop-common": "^2.1.55"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@apidevtools/swagger-cli": "^4.0.4",
|
|
51
|
-
"@hey-api/openapi-ts": "^0.80.2",
|
|
52
|
-
"@types/js-yaml": "^4.0.9",
|
|
53
|
-
"@types/lodash.merge": "^4.6.9",
|
|
54
|
-
"@types/node": "^24.0.14",
|
|
55
|
-
"@types/react": "^19",
|
|
56
|
-
"openapi-typescript-codegen": "^0.29.0",
|
|
57
|
-
"tsx": "^4.20.3",
|
|
58
|
-
"typescript": "^5.8.3"
|
|
59
|
-
}
|
|
60
60
|
}
|
/package/dist/api/generated/{swoop/models/DayByDayDay_jsonld.js → core/models/PublicPaymentLead.js}
RENAMED
|
File without changes
|
|
File without changes
|