@sabstravtech/obtservices 0.2.2605141232 → 0.2.2605191100
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/angular/components/basket-panel.d.ts +1 -1
- package/angular/fetchers.d.ts +2 -0
- package/angular/lib/vendor/classes/helpers.d.ts +2 -2
- package/angular/lib/vendor/fetchers/download-eticket.fetcher.d.ts +10 -0
- package/angular/lib/vendor/fetchers/get-flight-exchange-details.fetcher.d.ts +1 -1
- package/angular/lib/vendor/fetchers/get-flight-search-exchange.fetcher.d.ts +1 -1
- package/angular/lib/vendor/fetchers/get-jyrney-url.fetcher.d.ts +10 -0
- package/angular/lib/vendor/fetchers/get-latest-versions.fetcher.d.ts +1 -1
- package/angular/lib/vendor/fetchers/get-process-terms-price.fetcher.d.ts +10 -0
- package/angular/lib/vendor/fetchers/get-rail-search-exchange.fetcher.d.ts +1 -1
- package/angular/lib/vendor/interceptors/http-cancel-interceptor.d.ts +3 -3
- package/angular/lib/vendor/services/enterprise-basket.service.d.ts +15 -12
- package/angular/lib/vendor/services/hotel-avallibility.service.d.ts +2 -2
- package/angular/lib/vendor/services/http-call.service.d.ts +3 -3
- package/angular/lib/vendor/services/http-cancel.service.d.ts +1 -1
- package/angular/lib/vendor/services/logon.service.d.ts +5 -5
- package/angular/lib/vendor/services/messages.service.d.ts +1 -1
- package/angular/lib/vendor/services/my-bookings.service.d.ts +2 -2
- package/angular/lib/vendor/services/prompt-update.service.d.ts +1 -1
- package/angular/lib/vendor/services/search-document-validation.service.d.ts +1 -1
- package/angular/lib/vendor/services/search-payment-validation.service.d.ts +1 -1
- package/angular/lib/vendor/services/search.service.d.ts +16 -15
- package/angular/lib/vendor/services/user.service.d.ts +7 -7
- package/angular/lib/vendor/services/webtoken.service.d.ts +1 -1
- package/angular/lib/vendor/testers/postcode-validate.tester.d.ts +1 -1
- package/angular/lib/vendor/types/graphql.angular.types.d.ts +120 -0
- package/angular/lib/vendor/updaters/accept-new-price.updater.d.ts +1 -1
- package/angular/lib/vendor/updaters/accept-process-terms.updater.d.ts +9 -0
- package/angular/lib/vendor/updaters/add-basket-item-markup.updater.d.ts +1 -1
- package/angular/lib/vendor/updaters/amend-booking.updater.d.ts +1 -1
- package/angular/lib/vendor/updaters/edit-user-address.updater.d.ts +1 -1
- package/angular/lib/vendor/updaters/save-user-address.updater.d.ts +1 -1
- package/angular/lib/vendor/updaters/set-empty-user-mi-default-value.updater.d.ts +1 -1
- package/angular/lib/vendor/updaters/set-mi-values.updater.d.ts +1 -1
- package/angular/lib/vendor/updaters/set-user-mi-default-value.updater.d.ts +1 -1
- package/angular/services.d.ts +0 -2
- package/base/interfaces.d.ts +0 -1
- package/base/lib/constants/ticket-codes.d.ts +1 -1
- package/base/lib/vendor/classes/base-enterprise.d.ts +1 -1
- package/base/lib/vendor/classes/base-network-call.d.ts +1 -1
- package/base/lib/vendor/classes/basket-info-mi-details.impl.d.ts +1 -1
- package/base/lib/vendor/classes/cabhire-enterprise-search.d.ts +3 -3
- package/base/lib/vendor/classes/carhire-enterprise-search.d.ts +3 -3
- package/base/lib/vendor/classes/draft-basket-info-mi-details.impl.d.ts +1 -1
- package/base/lib/vendor/classes/draft-management-info-and-valid.d.ts +2 -2
- package/base/lib/vendor/classes/eurostar-enterprise-search.d.ts +5 -5
- package/base/lib/vendor/classes/ferry-enterprise-search.d.ts +2 -4
- package/base/lib/vendor/classes/flight-enterprise-search.d.ts +5 -5
- package/base/lib/vendor/classes/hotel-enterprise-search.d.ts +4 -4
- package/base/lib/vendor/classes/irl-enterprise-search.d.ts +2 -2
- package/base/lib/vendor/classes/lounges-enterprise-search.d.ts +4 -4
- package/base/lib/vendor/classes/management-info-and-valid.d.ts +1 -1
- package/base/lib/vendor/classes/modal-types.enum.d.ts +1 -0
- package/base/lib/vendor/classes/parking-enterprise-search.d.ts +2 -2
- package/base/lib/vendor/classes/rail-enterprise-search.d.ts +5 -7
- package/base/lib/vendor/classes/season-ticket-enterprise-search.d.ts +2 -2
- package/base/lib/vendor/classes/supplementary-booking-info-impl.d.ts +1 -1
- package/base/lib/vendor/fetchers/apply-JIT-hotel-rules.fetcher.d.ts +3 -3
- package/base/lib/vendor/fetchers/eurostar-quote.fetcher.d.ts +2 -2
- package/base/lib/vendor/fetchers/flight-quote.fetcher.d.ts +3 -3
- package/base/lib/vendor/fetchers/hotel-avaliability-fetcher.d.ts +2 -2
- package/base/lib/vendor/fetchers/object-fetchable-enterprise.d.ts +1 -1
- package/base/lib/vendor/interceptors/http-cancel-interceptor.d.ts +2 -2
- package/base/lib/vendor/interfaces/Iambulance-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Iapartment-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Icarhire-enterprise-search.d.ts +2 -2
- package/base/lib/vendor/interfaces/Ienterprise-basket.service.d.ts +6 -5
- package/base/lib/vendor/interfaces/Ieurostar-enterprise-search.d.ts +2 -2
- package/base/lib/vendor/interfaces/Ifast-track-enterprise-search.d.ts +2 -2
- package/base/lib/vendor/interfaces/Iferry-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Iflight-enterprise-search.d.ts +4 -4
- package/base/lib/vendor/interfaces/Ihotel-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Iirl-enterprise-search.d.ts +2 -2
- package/base/lib/vendor/interfaces/Ilounges-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Imeeting-room-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Imybookings.service.d.ts +1 -2
- package/base/lib/vendor/interfaces/Irail-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Irail-station-information.interface.d.ts +1 -1
- package/base/lib/vendor/interfaces/Isearch.service.d.ts +4 -5
- package/base/lib/vendor/interfaces/Iseason-tickets-enterprise-search.d.ts +1 -1
- package/base/lib/vendor/interfaces/Iuser.service.d.ts +4 -4
- package/base/lib/vendor/interfaces/booking-baskes-duplicate-check.interface.d.ts +1 -1
- package/base/lib/vendor/interfaces/cab-hire-search-arg.interface.d.ts +2 -2
- package/base/lib/vendor/interfaces/car-hire-classes.interface.d.ts +1 -1
- package/base/lib/vendor/interfaces/car-hire-search-arg.interface.d.ts +1 -1
- package/base/lib/vendor/interfaces/cheapest-price-object.d.ts +1 -1
- package/base/lib/vendor/interfaces/eurostar-search-arg.interface.d.ts +2 -2
- package/base/lib/vendor/interfaces/flight-multi-destination.interface.d.ts +3 -3
- package/base/lib/vendor/interfaces/hotel-recent-search-args.interface.d.ts +2 -2
- package/base/lib/vendor/interfaces/hotel-results-configuration.interface.d.ts +1 -1
- package/base/lib/vendor/interfaces/irl-search-arg.interface.d.ts +1 -1
- package/base/lib/vendor/operations/simple-fetchable-list-approval.d.ts +1 -1
- package/base/lib/vendor/operations/simple-fetchable-list-basket.d.ts +14 -1
- package/base/lib/vendor/operations/simple-fetchable-list-flight.d.ts +1 -1
- package/base/lib/vendor/operations/simple-fetchable-list-location.d.ts +1 -1
- package/base/lib/vendor/operations/simple-fetchable-list-misc.d.ts +14 -1
- package/base/lib/vendor/operations/simple-fetchable-list-quotes.d.ts +1 -1
- package/base/lib/vendor/operations/simple-fetchable-list-search.d.ts +1 -1
- package/base/lib/vendor/operations/simple-fetchable-list-user.d.ts +1 -1
- package/base/lib/vendor/operations/simple-fetchable-object.d.ts +14 -1
- package/base/lib/vendor/operations/simple-fetchers.d.ts +1 -0
- package/base/lib/vendor/operations/simple-updaters-basket-approval.d.ts +1 -1
- package/base/lib/vendor/operations/simple-updaters-basket-item.d.ts +14 -1
- package/base/lib/vendor/operations/simple-updaters-basket.d.ts +1 -1
- package/base/lib/vendor/operations/simple-updaters-booking.d.ts +1 -1
- package/base/lib/vendor/operations/simple-updaters-user-preference.d.ts +1 -1
- package/base/lib/vendor/operations/simple-updaters-user.d.ts +1 -1
- package/base/lib/vendor/services/enterprise-basket.service.d.ts +17 -18
- package/base/lib/vendor/services/http-cancel.service.d.ts +1 -1
- package/base/lib/vendor/services/logon.service.d.ts +3 -3
- package/base/lib/vendor/services/my-bookings.service.d.ts +3 -6
- package/base/lib/vendor/services/requires-override-reason.service.d.ts +4 -4
- package/base/lib/vendor/services/requires-reason.service.d.ts +2 -2
- package/base/lib/vendor/services/search.service.d.ts +10 -9
- package/base/lib/vendor/services/user.service.d.ts +2 -6
- package/base/lib/vendor/testers/base.tester.d.ts +1 -1
- package/base/lib/vendor/testers/postcode-validate.tester.d.ts +2 -2
- package/base/lib/vendor/types/basket-types.d.ts +2 -2
- package/base/lib/vendor/types/graphql.types.d.ts +92 -0
- package/base/lib/vendor/types/types.d.ts +37 -36
- package/base/services.d.ts +0 -1
- package/fesm2022/sabstravtech-obtservices-angular.mjs +349 -526
- package/fesm2022/sabstravtech-obtservices-angular.mjs.map +1 -1
- package/fesm2022/sabstravtech-obtservices-base.mjs +6305 -6172
- package/fesm2022/sabstravtech-obtservices-base.mjs.map +1 -1
- package/package.json +1 -1
- package/angular/lib/vendor/services/chatbot.service.d.ts +0 -33
- package/angular/lib/vendor/services/result-aware.service.d.ts +0 -37
- package/base/lib/vendor/interfaces/chatbot.types.d.ts +0 -107
- package/base/lib/vendor/services/chatbot.service.d.ts +0 -26
|
@@ -1483,6 +1483,11 @@ export type DynamicCondition = {
|
|
|
1483
1483
|
description?: Maybe<FieldWrapper<Scalars['String']['output']>>;
|
|
1484
1484
|
name?: Maybe<FieldWrapper<Scalars['String']['output']>>;
|
|
1485
1485
|
};
|
|
1486
|
+
export type ETicketDownloadResult = {
|
|
1487
|
+
__typename?: 'ETicketDownloadResult';
|
|
1488
|
+
content: FieldWrapper<Scalars['String']['output']>;
|
|
1489
|
+
contentType: FieldWrapper<Scalars['String']['output']>;
|
|
1490
|
+
};
|
|
1486
1491
|
export type EmptyUserDefaultManagementValue = {
|
|
1487
1492
|
__typename?: 'EmptyUserDefaultManagementValue';
|
|
1488
1493
|
defaultValuePrepopulation: FieldWrapper<ManagementInfoDefaultValuePrepopulation>;
|
|
@@ -3206,6 +3211,7 @@ export type MultiLevelApprover = {
|
|
|
3206
3211
|
export type Mutation = {
|
|
3207
3212
|
__typename?: 'Mutation';
|
|
3208
3213
|
acceptNewPrice: FieldWrapper<Basket>;
|
|
3214
|
+
acceptProcessTerms: FieldWrapper<Scalars['Boolean']['output']>;
|
|
3209
3215
|
addBasketItemCustomRemark: FieldWrapper<BasketItemCustomRemark>;
|
|
3210
3216
|
addBasketItemMarkup: FieldWrapper<Basket>;
|
|
3211
3217
|
addFavouriteUser: FieldWrapper<UserOrGuest>;
|
|
@@ -3279,6 +3285,10 @@ export type MutationAcceptNewPriceArgs = {
|
|
|
3279
3285
|
convertCurrencyTo?: InputMaybe<Scalars['String']['input']>;
|
|
3280
3286
|
id: Scalars['ID']['input'];
|
|
3281
3287
|
};
|
|
3288
|
+
export type MutationAcceptProcessTermsArgs = {
|
|
3289
|
+
basketItemId: Scalars['ID']['input'];
|
|
3290
|
+
newPrice: Scalars['Float']['input'];
|
|
3291
|
+
};
|
|
3282
3292
|
export type MutationAddBasketItemCustomRemarkArgs = {
|
|
3283
3293
|
basketItem: Scalars['ID']['input'];
|
|
3284
3294
|
remark_type: Scalars['String']['input'];
|
|
@@ -3909,6 +3919,22 @@ export type Price = {
|
|
|
3909
3919
|
amount: FieldWrapper<Scalars['Float']['output']>;
|
|
3910
3920
|
currencyCode: FieldWrapper<Scalars['String']['output']>;
|
|
3911
3921
|
};
|
|
3922
|
+
export type ProcessTermsPriceResult = {
|
|
3923
|
+
__typename?: 'ProcessTermsPriceResult';
|
|
3924
|
+
amount: FieldWrapper<Scalars['String']['output']>;
|
|
3925
|
+
currency: FieldWrapper<Scalars['String']['output']>;
|
|
3926
|
+
};
|
|
3927
|
+
export type ProcessTermsTaxItem = {
|
|
3928
|
+
__typename?: 'ProcessTermsTaxItem';
|
|
3929
|
+
amount: FieldWrapper<Scalars['String']['output']>;
|
|
3930
|
+
currency: FieldWrapper<Scalars['String']['output']>;
|
|
3931
|
+
name: FieldWrapper<Scalars['String']['output']>;
|
|
3932
|
+
};
|
|
3933
|
+
export type ProcessTermsTaxItemInput = {
|
|
3934
|
+
amount: Scalars['String']['input'];
|
|
3935
|
+
currency: Scalars['String']['input'];
|
|
3936
|
+
name: Scalars['String']['input'];
|
|
3937
|
+
};
|
|
3912
3938
|
export type ProfileConfig = {
|
|
3913
3939
|
__typename?: 'ProfileConfig';
|
|
3914
3940
|
address: FieldWrapper<ProfileConfigOption>;
|
|
@@ -3946,6 +3972,7 @@ export type Query = {
|
|
|
3946
3972
|
confermaUnblockClientHotels: FieldWrapper<ConfermaBlockedHotelsResult>;
|
|
3947
3973
|
confermaUnblockConsumerHotels: FieldWrapper<ConfermaBlockedHotelsResult>;
|
|
3948
3974
|
convertCurrency: FieldWrapper<Scalars['Float']['output']>;
|
|
3975
|
+
downloadETicket?: Maybe<FieldWrapper<ETicketDownloadResult>>;
|
|
3949
3976
|
emailAmbulanceBookingReq: FieldWrapper<Scalars['Boolean']['output']>;
|
|
3950
3977
|
emailApartmentBookingReq: FieldWrapper<Scalars['Boolean']['output']>;
|
|
3951
3978
|
emailBasket: FieldWrapper<Basket>;
|
|
@@ -4004,6 +4031,7 @@ export type Query = {
|
|
|
4004
4031
|
getHotelDetails: FieldWrapper<HotelDetailsResult>;
|
|
4005
4032
|
getIRLDiscountCards: Array<FieldWrapper<IrlTravelCard>>;
|
|
4006
4033
|
getIRLSupplierStation?: Maybe<FieldWrapper<IrlSupplierStation>>;
|
|
4034
|
+
getJyrneyUrl: FieldWrapper<Scalars['String']['output']>;
|
|
4007
4035
|
getLatLonFromHereID: FieldWrapper<PlaceLocation>;
|
|
4008
4036
|
getLatestVersions: Array<FieldWrapper<VersionResult>>;
|
|
4009
4037
|
getMIApprovers: Array<FieldWrapper<User>>;
|
|
@@ -4020,6 +4048,7 @@ export type Query = {
|
|
|
4020
4048
|
getOffices: Array<FieldWrapper<Office>>;
|
|
4021
4049
|
getPostcodeDetails: FieldWrapper<PostcodeDetails>;
|
|
4022
4050
|
getPriceHiddenSabreExchange: FieldWrapper<Scalars['Boolean']['output']>;
|
|
4051
|
+
getProcessTermsPrice: FieldWrapper<ProcessTermsPriceResult>;
|
|
4023
4052
|
getRailLiveDepartures: FieldWrapper<LiveDepBoardResult>;
|
|
4024
4053
|
getRailProviders: Array<FieldWrapper<Scalars['String']['output']>>;
|
|
4025
4054
|
getRailSearchExchange: FieldWrapper<RailSearchResult>;
|
|
@@ -4154,6 +4183,9 @@ export type QueryConvertCurrencyArgs = {
|
|
|
4154
4183
|
baseCurrencyCode: CurrencyCode;
|
|
4155
4184
|
convertedCurrencyCode: CurrencyCode;
|
|
4156
4185
|
};
|
|
4186
|
+
export type QueryDownloadETicketArgs = {
|
|
4187
|
+
url: Scalars['String']['input'];
|
|
4188
|
+
};
|
|
4157
4189
|
export type QueryEmailAmbulanceBookingReqArgs = {
|
|
4158
4190
|
additionalInformation?: InputMaybe<Scalars['String']['input']>;
|
|
4159
4191
|
bookerEmail: Scalars['String']['input'];
|
|
@@ -4468,6 +4500,10 @@ export type QueryGetPostcodeDetailsArgs = {
|
|
|
4468
4500
|
countryCode?: Scalars['String']['input'];
|
|
4469
4501
|
postcode: Scalars['String']['input'];
|
|
4470
4502
|
};
|
|
4503
|
+
export type QueryGetProcessTermsPriceArgs = {
|
|
4504
|
+
basketItemId: Scalars['ID']['input'];
|
|
4505
|
+
supplementaryInfo?: InputMaybe<Array<SupplementaryBookingInfo>>;
|
|
4506
|
+
};
|
|
4471
4507
|
export type QueryGetRailLiveDeparturesArgs = {
|
|
4472
4508
|
departDateTime?: InputMaybe<Scalars['String']['input']>;
|
|
4473
4509
|
destinationCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6441,6 +6477,14 @@ export type AcceptNewPriceMutation = {
|
|
|
6441
6477
|
}> | null;
|
|
6442
6478
|
};
|
|
6443
6479
|
};
|
|
6480
|
+
export type AcceptProcessTermsMutationVariables = Exact<{
|
|
6481
|
+
basketItemId: Scalars['ID']['input'];
|
|
6482
|
+
newPrice: Scalars['Float']['input'];
|
|
6483
|
+
}>;
|
|
6484
|
+
export type AcceptProcessTermsMutation = {
|
|
6485
|
+
__typename?: 'Mutation';
|
|
6486
|
+
acceptProcessTerms: boolean;
|
|
6487
|
+
};
|
|
6444
6488
|
export type AddBasketItemCustomRemarkMutationVariables = Exact<{
|
|
6445
6489
|
basketItem: Scalars['ID']['input'];
|
|
6446
6490
|
remark_type: Scalars['String']['input'];
|
|
@@ -12499,6 +12543,17 @@ export type DeleteUserAddressMutation = {
|
|
|
12499
12543
|
__typename?: 'Mutation';
|
|
12500
12544
|
deleteUserAddress: boolean;
|
|
12501
12545
|
};
|
|
12546
|
+
export type DownloadETicketQueryVariables = Exact<{
|
|
12547
|
+
url: Scalars['String']['input'];
|
|
12548
|
+
}>;
|
|
12549
|
+
export type DownloadETicketQuery = {
|
|
12550
|
+
__typename?: 'Query';
|
|
12551
|
+
downloadETicket?: {
|
|
12552
|
+
__typename?: 'ETicketDownloadResult';
|
|
12553
|
+
content: string;
|
|
12554
|
+
contentType: string;
|
|
12555
|
+
} | null;
|
|
12556
|
+
};
|
|
12502
12557
|
export type EditUserMutationVariables = Exact<{
|
|
12503
12558
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
12504
12559
|
forename?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -18632,6 +18687,13 @@ export type GetIrlSupplierStationQuery = {
|
|
|
18632
18687
|
} | null;
|
|
18633
18688
|
} | null;
|
|
18634
18689
|
};
|
|
18690
|
+
export type GetJyrneyUrlQueryVariables = Exact<{
|
|
18691
|
+
[key: string]: never;
|
|
18692
|
+
}>;
|
|
18693
|
+
export type GetJyrneyUrlQuery = {
|
|
18694
|
+
__typename?: 'Query';
|
|
18695
|
+
getJyrneyUrl: string;
|
|
18696
|
+
};
|
|
18635
18697
|
export type GetLatLonFromHereIdQueryVariables = Exact<{
|
|
18636
18698
|
id: Scalars['String']['input'];
|
|
18637
18699
|
}>;
|
|
@@ -18914,6 +18976,18 @@ export type GetPriceHiddenSabreExchangeQuery = {
|
|
|
18914
18976
|
__typename?: 'Query';
|
|
18915
18977
|
getPriceHiddenSabreExchange: boolean;
|
|
18916
18978
|
};
|
|
18979
|
+
export type GetProcessTermsPriceQueryVariables = Exact<{
|
|
18980
|
+
basketItemId: Scalars['ID']['input'];
|
|
18981
|
+
supplementaryInfo?: InputMaybe<Array<SupplementaryBookingInfo> | SupplementaryBookingInfo>;
|
|
18982
|
+
}>;
|
|
18983
|
+
export type GetProcessTermsPriceQuery = {
|
|
18984
|
+
__typename?: 'Query';
|
|
18985
|
+
getProcessTermsPrice: {
|
|
18986
|
+
__typename?: 'ProcessTermsPriceResult';
|
|
18987
|
+
amount: string;
|
|
18988
|
+
currency: string;
|
|
18989
|
+
};
|
|
18990
|
+
};
|
|
18917
18991
|
export type GetRailLiveDeparturesQueryVariables = Exact<{
|
|
18918
18992
|
stationCode: Scalars['String']['input'];
|
|
18919
18993
|
departDateTime?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -36323,6 +36397,10 @@ export declare namespace AcceptNewPrice {
|
|
|
36323
36397
|
type Mutation = AcceptNewPriceMutation;
|
|
36324
36398
|
type AcceptNewPrice = AcceptNewPriceMutation['acceptNewPrice'];
|
|
36325
36399
|
}
|
|
36400
|
+
export declare namespace AcceptProcessTerms {
|
|
36401
|
+
type Variables = AcceptProcessTermsMutationVariables;
|
|
36402
|
+
type Mutation = AcceptProcessTermsMutation;
|
|
36403
|
+
}
|
|
36326
36404
|
export declare namespace AddBasketItemCustomRemark {
|
|
36327
36405
|
type Variables = AddBasketItemCustomRemarkMutationVariables;
|
|
36328
36406
|
type Mutation = AddBasketItemCustomRemarkMutation;
|
|
@@ -36708,6 +36786,11 @@ export declare namespace DeleteUserAddress {
|
|
|
36708
36786
|
type Variables = DeleteUserAddressMutationVariables;
|
|
36709
36787
|
type Mutation = DeleteUserAddressMutation;
|
|
36710
36788
|
}
|
|
36789
|
+
export declare namespace DownloadETicket {
|
|
36790
|
+
type Variables = DownloadETicketQueryVariables;
|
|
36791
|
+
type Query = DownloadETicketQuery;
|
|
36792
|
+
type DownloadETicket = DownloadETicketQuery['downloadETicket'];
|
|
36793
|
+
}
|
|
36711
36794
|
export declare namespace EditUser {
|
|
36712
36795
|
type Variables = EditUserMutationVariables;
|
|
36713
36796
|
type Mutation = EditUserMutation;
|
|
@@ -37279,6 +37362,10 @@ export declare namespace GetIrlSupplierStation {
|
|
|
37279
37362
|
type LocationDetails = GetIrlSupplierStationQuery['getIRLSupplierStation']['locationDetails'];
|
|
37280
37363
|
type Coordinates = GetIrlSupplierStationQuery['getIRLSupplierStation']['locationDetails']['coordinates'];
|
|
37281
37364
|
}
|
|
37365
|
+
export declare namespace GetJyrneyUrl {
|
|
37366
|
+
type Variables = GetJyrneyUrlQueryVariables;
|
|
37367
|
+
type Query = GetJyrneyUrlQuery;
|
|
37368
|
+
}
|
|
37282
37369
|
export declare namespace GetLatLonFromHereId {
|
|
37283
37370
|
type Variables = GetLatLonFromHereIdQueryVariables;
|
|
37284
37371
|
type Query = GetLatLonFromHereIdQuery;
|
|
@@ -37332,6 +37419,11 @@ export declare namespace GetPriceHiddenSabreExchange {
|
|
|
37332
37419
|
type Variables = GetPriceHiddenSabreExchangeQueryVariables;
|
|
37333
37420
|
type Query = GetPriceHiddenSabreExchangeQuery;
|
|
37334
37421
|
}
|
|
37422
|
+
export declare namespace GetProcessTermsPrice {
|
|
37423
|
+
type Variables = GetProcessTermsPriceQueryVariables;
|
|
37424
|
+
type Query = GetProcessTermsPriceQuery;
|
|
37425
|
+
type GetProcessTermsPrice = GetProcessTermsPriceQuery['getProcessTermsPrice'];
|
|
37426
|
+
}
|
|
37335
37427
|
export declare namespace GetRailLiveDepartures {
|
|
37336
37428
|
type Variables = GetRailLiveDeparturesQueryVariables;
|
|
37337
37429
|
type Query = GetRailLiveDeparturesQuery;
|
|
@@ -38253,6 +38345,13 @@ export declare class AcceptNewPriceGQL extends Apollo.Mutation<AcceptNewPriceMut
|
|
|
38253
38345
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcceptNewPriceGQL, never>;
|
|
38254
38346
|
static ɵprov: i0.ɵɵInjectableDeclaration<AcceptNewPriceGQL>;
|
|
38255
38347
|
}
|
|
38348
|
+
export declare const AcceptProcessTermsDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38349
|
+
export declare class AcceptProcessTermsGQL extends Apollo.Mutation<AcceptProcessTermsMutation, AcceptProcessTermsMutationVariables> {
|
|
38350
|
+
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38351
|
+
constructor(apollo: Apollo.Apollo);
|
|
38352
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcceptProcessTermsGQL, never>;
|
|
38353
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AcceptProcessTermsGQL>;
|
|
38354
|
+
}
|
|
38256
38355
|
export declare const AddBasketItemCustomRemarkDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38257
38356
|
export declare class AddBasketItemCustomRemarkGQL extends Apollo.Mutation<AddBasketItemCustomRemarkMutation, AddBasketItemCustomRemarkMutationVariables> {
|
|
38258
38357
|
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
@@ -38561,6 +38660,13 @@ export declare class DeleteUserAddressGQL extends Apollo.Mutation<DeleteUserAddr
|
|
|
38561
38660
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteUserAddressGQL, never>;
|
|
38562
38661
|
static ɵprov: i0.ɵɵInjectableDeclaration<DeleteUserAddressGQL>;
|
|
38563
38662
|
}
|
|
38663
|
+
export declare const DownloadETicketDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38664
|
+
export declare class DownloadETicketGQL extends Apollo.Query<DownloadETicketQuery, DownloadETicketQueryVariables> {
|
|
38665
|
+
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38666
|
+
constructor(apollo: Apollo.Apollo);
|
|
38667
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadETicketGQL, never>;
|
|
38668
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DownloadETicketGQL>;
|
|
38669
|
+
}
|
|
38564
38670
|
export declare const EditUserDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38565
38671
|
export declare class EditUserGQL extends Apollo.Mutation<EditUserMutation, EditUserMutationVariables> {
|
|
38566
38672
|
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
@@ -38918,6 +39024,13 @@ export declare class GetIrlSupplierStationGQL extends Apollo.Query<GetIrlSupplie
|
|
|
38918
39024
|
static ɵfac: i0.ɵɵFactoryDeclaration<GetIrlSupplierStationGQL, never>;
|
|
38919
39025
|
static ɵprov: i0.ɵɵInjectableDeclaration<GetIrlSupplierStationGQL>;
|
|
38920
39026
|
}
|
|
39027
|
+
export declare const GetJyrneyUrlDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
39028
|
+
export declare class GetJyrneyUrlGQL extends Apollo.Query<GetJyrneyUrlQuery, GetJyrneyUrlQueryVariables> {
|
|
39029
|
+
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
39030
|
+
constructor(apollo: Apollo.Apollo);
|
|
39031
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetJyrneyUrlGQL, never>;
|
|
39032
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetJyrneyUrlGQL>;
|
|
39033
|
+
}
|
|
38921
39034
|
export declare const GetLatLonFromHereIdDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38922
39035
|
export declare class GetLatLonFromHereIdGQL extends Apollo.Query<GetLatLonFromHereIdQuery, GetLatLonFromHereIdQueryVariables> {
|
|
38923
39036
|
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
@@ -38981,6 +39094,13 @@ export declare class GetPriceHiddenSabreExchangeGQL extends Apollo.Query<GetPric
|
|
|
38981
39094
|
static ɵfac: i0.ɵɵFactoryDeclaration<GetPriceHiddenSabreExchangeGQL, never>;
|
|
38982
39095
|
static ɵprov: i0.ɵɵInjectableDeclaration<GetPriceHiddenSabreExchangeGQL>;
|
|
38983
39096
|
}
|
|
39097
|
+
export declare const GetProcessTermsPriceDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
39098
|
+
export declare class GetProcessTermsPriceGQL extends Apollo.Query<GetProcessTermsPriceQuery, GetProcessTermsPriceQueryVariables> {
|
|
39099
|
+
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
39100
|
+
constructor(apollo: Apollo.Apollo);
|
|
39101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetProcessTermsPriceGQL, never>;
|
|
39102
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetProcessTermsPriceGQL>;
|
|
39103
|
+
}
|
|
38984
39104
|
export declare const GetRailLiveDeparturesDocument: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
38985
39105
|
export declare class GetRailLiveDeparturesGQL extends Apollo.Query<GetRailLiveDeparturesQuery, GetRailLiveDeparturesQueryVariables> {
|
|
38986
39106
|
document: Apollo.TypedDocumentNode<unknown, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseAcceptNewPriceUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { AcceptNewPriceGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AcceptNewPriceUpdater extends BaseAcceptNewPriceUpdater<AcceptNewPriceGQL> {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseAcceptProcessTermsUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
|
+
import { AcceptProcessTermsGQL } from '../types/graphql.angular.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AcceptProcessTermsUpdater extends BaseAcceptProcessTermsUpdater<AcceptProcessTermsGQL> {
|
|
6
|
+
constructor(updater: AcceptProcessTermsGQL, modalService: ModalOpenerService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcceptProcessTermsUpdater, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AcceptProcessTermsUpdater>;
|
|
9
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseAddBasketItemMarkupUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { AddBasketItemMarkupGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AddBasketItemMarkupUpdater extends BaseAddBasketItemMarkupUpdater<AddBasketItemMarkupGQL> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseAmendBookingUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { AmendBookingGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AmendBookingUpdater extends BaseAmendBookingUpdater<AmendBookingGQL> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseEditUserAddressUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { EditUserAddressGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class EditUserAddressUpdater extends BaseEditUserAddressUpdater<EditUserAddressGQL> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseSaveUserAddressUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { SaveUserAddressGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SaveUserAddressUpdater extends BaseSaveUserAddressUpdater<SaveUserAddressGQL> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseSetEmptyUserMIDefaultValueUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { SetEmptyUserMiDefaultValueGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SetEmptyUserMIDefaultValueUpdater extends BaseSetEmptyUserMIDefaultValueUpdater<SetEmptyUserMiDefaultValueGQL> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseSetMIValuesUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { SetMiValuesGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SetMIValuesUpdater extends BaseSetMIValuesUpdater<SetMiValuesGQL> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
2
1
|
import { BaseSetUserMIDefaultValueUpdater } from '@sabstravtech/obtservices/base';
|
|
2
|
+
import { ModalOpenerService } from '../services/modal-opener.service';
|
|
3
3
|
import { SetUserMiDefaultValueGQL } from '../types/graphql.angular.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SetUserMIDefaultValueUpdater extends BaseSetUserMIDefaultValueUpdater<SetUserMiDefaultValueGQL> {
|
package/angular/services.d.ts
CHANGED
|
@@ -17,5 +17,3 @@ export * from './lib/vendor/services/rail-fare-processing.service';
|
|
|
17
17
|
export * from './lib/vendor/services/rail-results-state.service';
|
|
18
18
|
export * from './lib/vendor/services/search-document-validation.service';
|
|
19
19
|
export * from './lib/vendor/services/search-payment-validation.service';
|
|
20
|
-
export * from './lib/vendor/services/chatbot.service';
|
|
21
|
-
export * from './lib/vendor/services/result-aware.service';
|
package/base/interfaces.d.ts
CHANGED
|
@@ -38,4 +38,3 @@ export * from './lib/vendor/interfaces/Iseason-tickets-enterprise-search';
|
|
|
38
38
|
export * from './lib/vendor/interfaces/hotel-stars-to-hide.interface';
|
|
39
39
|
export * from './lib/vendor/interfaces/cheapest-price';
|
|
40
40
|
export * from './lib/vendor/interfaces/cheapest-price-object';
|
|
41
|
-
export * from './lib/vendor/interfaces/chatbot.types';
|
|
@@ -4,9 +4,9 @@ import { BaseStorageService } from '../services/storage.service';
|
|
|
4
4
|
import { BasketItem, ServiceType, SearchLoungesQueryVariables, SearchFastTrackQueryVariables, SearchParkingQueryVariables, SearchCabHireQueryVariables, SearchCarHireQueryVariables, SearchHotelsQueryVariables, SearchFlightsV2QueryVariables, SearchRailQueryVariables, SearchIrlQueryVariables, SearchEurostarQueryVariables } from '../types/graphql.types';
|
|
5
5
|
import { ICheapestPrice } from '../interfaces/cheapest-price';
|
|
6
6
|
import { RecentSearch, SaveFavouriteSearchResult } from '../../../types';
|
|
7
|
-
import { BaseHelperRoutines } from './helpers';
|
|
8
7
|
import { EnterpriseSearchServiceInterface } from '../interfaces/Isearch.service';
|
|
9
8
|
import { UserServiceInterface } from '../interfaces/Iuser.service';
|
|
9
|
+
import { BaseHelperRoutines } from './helpers';
|
|
10
10
|
/**
|
|
11
11
|
* Union type of all service-specific search query variables
|
|
12
12
|
* Used by applySearchQuery to provide type safety while supporting all service types
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApolloQueryResult, FetchResult } from '@apollo/client/core';
|
|
2
|
-
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
4
4
|
export declare abstract class BaseNetworkCall<Q, A, R, P> {
|
|
5
5
|
private modelService;
|
|
6
6
|
errorMessageList: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ManagementInfoAndIsValid } from './management-info-and-valid';
|
|
2
1
|
import { BasketItem, ManagementInfo } from '../types/graphql.types';
|
|
3
2
|
import { BasketServiceMinimalMI } from '../interfaces/basket-service-minimal-mi.interface';
|
|
3
|
+
import { ManagementInfoAndIsValid } from './management-info-and-valid';
|
|
4
4
|
export interface UserManagementSupplement {
|
|
5
5
|
[key: string]: {
|
|
6
6
|
managementInfo: ManagementInfoAndIsValid[];
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import moment from 'moment';
|
|
2
|
-
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
3
|
-
import { BaseStorageService } from '../services/storage.service';
|
|
4
|
-
import { BaseHelperRoutines } from './helpers';
|
|
5
2
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
|
+
import { BaseStorageService } from '../services/storage.service';
|
|
6
4
|
import { DifferentInvokdedUserReasons } from '../types/types';
|
|
7
5
|
import type { AddressForm, CabhireQuoteResultArray, NgbDateStruct, RailAirport, RecentSearch, SaveFavouriteSearchResult, KeyValue } from '../types/types';
|
|
8
6
|
import { EnterpriseSearchServiceInterface } from '../interfaces/Isearch.service';
|
|
@@ -14,6 +12,8 @@ import type { CabHireEnterpriseSearchInterface, CabHireTempParams, TaxiAirport,
|
|
|
14
12
|
import type { EnterpriseBasketServiceInterface } from '../interfaces/Ienterprise-basket.service';
|
|
15
13
|
import { ICheapestPrice } from '../interfaces/cheapest-price';
|
|
16
14
|
import { UserServiceInterface } from '../interfaces/Iuser.service';
|
|
15
|
+
import { BaseHelperRoutines } from './helpers';
|
|
16
|
+
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
17
17
|
export declare class CabHireEnterpriseSearch<CH_Q extends CabhireQuoteFetcherType> extends BaseEnterpriseSearch<CabHireTempParams, CabhireQuoteResultArray, CabhireQuoteResultArray> implements CabHireEnterpriseSearchInterface {
|
|
18
18
|
private cabfetcher;
|
|
19
19
|
private basketService;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import moment from 'moment';
|
|
2
|
-
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
3
|
-
import { BaseStorageService } from '../services/storage.service';
|
|
4
|
-
import { BaseHelperRoutines } from './helpers';
|
|
5
2
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
6
3
|
import { CarHireSort } from '../interfaces/car-hire-sort.interface';
|
|
7
4
|
import { CarHireFilters } from '../interfaces/car-hire-filters.interface';
|
|
@@ -20,6 +17,9 @@ import type { BaseCarHireAvailabilityDetailFetcher, CarHireAvailabilityDetailFet
|
|
|
20
17
|
import { ICarClasses } from '../interfaces/car-hire-classes.interface';
|
|
21
18
|
import { Traveller } from '../models/traveller.object';
|
|
22
19
|
import { UserServiceInterface } from '../interfaces/Iuser.service';
|
|
20
|
+
import { BaseStorageService } from '../services/storage.service';
|
|
21
|
+
import { BaseHelperRoutines } from './helpers';
|
|
22
|
+
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
23
23
|
export declare enum SortTypesCar {
|
|
24
24
|
cheapest = "cheapest",
|
|
25
25
|
chain = "chain",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DraftManagementInfoAndIsValid } from './draft-management-info-and-valid';
|
|
2
1
|
import { ManagementInfo, DraftBasketItem } from '../types/graphql.types';
|
|
3
2
|
import { EnterpriseBasketServiceInterface } from '../interfaces/Ienterprise-basket.service';
|
|
3
|
+
import { DraftManagementInfoAndIsValid } from './draft-management-info-and-valid';
|
|
4
4
|
interface UserManagementSupplement {
|
|
5
5
|
[key: string]: {
|
|
6
6
|
managementInfo: DraftManagementInfoAndIsValid[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import { ValidatorChecker } from './validator.checker';
|
|
3
2
|
import { EnterpriseBasketServiceInterface } from '../interfaces/Ienterprise-basket.service';
|
|
4
3
|
import { FieldWrapper, ManagementInfo, ManagementInfoValue, Maybe, Scalars, SelectedManagementInfoValue, ManagementInfoUiPresentation, ManagementInfoScope, ServiceType, ManagementInfoTrigger, UserOrGuest } from '../types/graphql.types';
|
|
5
4
|
import { ValidationErrors } from '../types/types';
|
|
5
|
+
import { ValidatorChecker } from './validator.checker';
|
|
6
6
|
export declare abstract class DraftManagementInfoAndIsValid extends ValidatorChecker implements ManagementInfo {
|
|
7
7
|
id: FieldWrapper<Scalars['ID']['output']>;
|
|
8
8
|
mandatory: FieldWrapper<Scalars['Boolean']['output']>;
|
|
@@ -28,7 +28,7 @@ export declare abstract class DraftManagementInfoAndIsValid extends ValidatorChe
|
|
|
28
28
|
associatedUserOrGuest: FieldWrapper<UserOrGuest>;
|
|
29
29
|
required: FieldWrapper<boolean>;
|
|
30
30
|
valueEditable: FieldWrapper<boolean>;
|
|
31
|
-
obtAdditionalMessages: Array<Maybe<FieldWrapper<
|
|
31
|
+
obtAdditionalMessages: Array<Maybe<FieldWrapper<string>>>;
|
|
32
32
|
reasonKeys: Array<FieldWrapper<Scalars['String']['output']>>;
|
|
33
33
|
guestOnly: FieldWrapper<boolean>;
|
|
34
34
|
get value(): string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import moment from 'moment';
|
|
2
|
-
import {
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { BaseStorageService } from '../services/storage.service';
|
|
4
|
-
import { BaseHelperRoutines } from './helpers';
|
|
5
4
|
import { Traveller } from '../models/traveller.object';
|
|
6
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
5
|
import { ValueDisplay } from '../interfaces/value-display';
|
|
8
6
|
import { FlightFilters } from '../interfaces/flight-filters.interface';
|
|
9
7
|
import { FlightCabinClass, ServiceType, FareType } from '../types/graphql.types';
|
|
@@ -13,15 +11,17 @@ import type { EurostarQuoteResult, NgbDateStruct, OBTAirportDetails, OBTAirlines
|
|
|
13
11
|
import { UserServiceInterface } from '../interfaces/Iuser.service';
|
|
14
12
|
import { EnterpriseSearchServiceInterface } from '../interfaces/Isearch.service';
|
|
15
13
|
import { ICheapestPrice } from '../interfaces/cheapest-price';
|
|
16
|
-
import { EurostarSearchType } from './eurostar-search-type.enum';
|
|
17
14
|
import { IMultiDestination } from '../interfaces/flight-multi-destination.interface';
|
|
18
15
|
import { SortTypesEurostar, SortMethod } from '../types/eurostar-search-types';
|
|
19
16
|
import type { EnterpriseBasketServiceInterface, InternalBasketInterface } from '../interfaces/Ienterprise-basket.service';
|
|
20
17
|
import type { BaseEurostarQuoteFetcher, EurostarQuoteFetcherType } from '../fetchers/eurostar-quote.fetcher';
|
|
21
18
|
import type { EurostarEnterpriseSearchInterface, EurostarTempParams } from '../interfaces/Ieurostar-enterprise-search';
|
|
22
19
|
import type { ApplyJitFlightRulesType, BaseApplyJitFlightRulesFetcher } from '../operations/simple-fetchers';
|
|
23
|
-
import { AllowedClasses, FlightOperator, TimeWindow } from './flight-enterprise-search';
|
|
24
20
|
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
21
|
+
import { AllowedClasses, FlightOperator, TimeWindow } from './flight-enterprise-search';
|
|
22
|
+
import { EurostarSearchType } from './eurostar-search-type.enum';
|
|
23
|
+
import { BaseHelperRoutines } from './helpers';
|
|
24
|
+
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
25
25
|
export type EurostarStation = {
|
|
26
26
|
gateway: string;
|
|
27
27
|
destination: string;
|
|
@@ -16,9 +16,7 @@ export declare enum eurotunnelLocations {
|
|
|
16
16
|
Folkestone = "Folkestone",
|
|
17
17
|
Calais = "Calais"
|
|
18
18
|
}
|
|
19
|
-
export declare class FerryEnterpriseSearch<EFB_F extends EmailFerryBookingFetcherType> extends BaseEnterpriseSearch<FerryTempParams, FerryEmailQuoteResult, [
|
|
20
|
-
FerryEmailQuoteResult
|
|
21
|
-
]> implements FerryEnterpriseSearchInterface {
|
|
19
|
+
export declare class FerryEnterpriseSearch<EFB_F extends EmailFerryBookingFetcherType> extends BaseEnterpriseSearch<FerryTempParams, FerryEmailQuoteResult, [FerryEmailQuoteResult]> implements FerryEnterpriseSearchInterface {
|
|
22
20
|
private emailFerryFetcher;
|
|
23
21
|
private basketService;
|
|
24
22
|
static readonly STORAGE_SESSION_PARAMS = "search_ferry";
|
|
@@ -31,7 +29,7 @@ export declare class FerryEnterpriseSearch<EFB_F extends EmailFerryBookingFetche
|
|
|
31
29
|
private _euroTunnelVehicleTypes;
|
|
32
30
|
get ticketTypes(): TicketType[];
|
|
33
31
|
get vehicleTypes(): VehicleType[];
|
|
34
|
-
get eurotunnelLocations():
|
|
32
|
+
get eurotunnelLocations(): string[];
|
|
35
33
|
allowOpenReturn: boolean;
|
|
36
34
|
searchTypes: {
|
|
37
35
|
display: string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import moment from 'moment';
|
|
2
|
-
import {
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { BaseStorageService } from '../services/storage.service';
|
|
4
|
-
import { BaseHelperRoutines } from './helpers';
|
|
5
4
|
import { Traveller } from '../models/traveller.object';
|
|
6
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
5
|
import { ValueDisplay } from '../interfaces/value-display';
|
|
8
6
|
import { FlightFilters } from '../interfaces/flight-filters.interface';
|
|
9
7
|
import { FareType, FlightCabinClass, ServiceType } from '../types/graphql.types';
|
|
@@ -17,20 +15,22 @@ import { EnterpriseSearchServiceInterface } from '../interfaces/Isearch.service'
|
|
|
17
15
|
import { FlightDisplayTypes } from '../interfaces/Iflight-enterprise-search';
|
|
18
16
|
import type { FlightEnterpriseSearchInterface, FlightTempParams } from '../interfaces/Iflight-enterprise-search';
|
|
19
17
|
import { ICheapestPrice } from '../interfaces/cheapest-price';
|
|
20
|
-
import { FlightSearchType } from './flight-search-type.enum';
|
|
21
18
|
import { TimeWindow, FlightSortTypes } from '../types/flight-search-types';
|
|
22
19
|
import { IMultiDestination } from '../interfaces/flight-multi-destination.interface';
|
|
23
20
|
import type { EnterpriseBasketServiceInterface, InternalBasketInterface } from '../interfaces/Ienterprise-basket.service';
|
|
24
21
|
import type { ApplyJitFlightRulesType, BaseApplyJitFlightRulesFetcher } from '../operations/simple-fetchers';
|
|
25
22
|
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
26
23
|
import { IFlightSearchArgs } from '../interfaces/flight-search-args.interface';
|
|
27
|
-
import { GreenerChoiceImpl } from './greenerchoise';
|
|
28
24
|
import { ErmTravellerType } from './erm-traveller-type.enum';
|
|
29
25
|
import type { BaseGetFlightExtrasOptionsFetcher, GetFlightExtrasOptionsType } from '../operations/simple-fetchable-list';
|
|
30
26
|
import { ICheapestPriceObject, ICheapestPriceDetails } from '../interfaces/cheapest-price-object';
|
|
31
27
|
import type { BaseFlightSearchExchangeFetcher, FlightSearchExchangeFetcherType, BaseFlightExchangeDetailsFetcher, FlightExchangeDetailsFetcherType } from '../operations/simple-fetchable-object';
|
|
32
28
|
import { IFareRulesKey } from '../interfaces/fare-rules-key';
|
|
33
29
|
import { BasketDetails } from '../services/enterprise-basket.service';
|
|
30
|
+
import { GreenerChoiceImpl } from './greenerchoise';
|
|
31
|
+
import { FlightSearchType } from './flight-search-type.enum';
|
|
32
|
+
import { BaseHelperRoutines } from './helpers';
|
|
33
|
+
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
34
34
|
export interface AllowedClass {
|
|
35
35
|
name: string;
|
|
36
36
|
type: FlightCabinClass | null;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import moment from 'moment';
|
|
2
|
-
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
3
|
-
import { BaseStorageService } from '../services/storage.service';
|
|
4
|
-
import { BaseHelperRoutines } from './helpers';
|
|
5
2
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
6
|
-
import { BaseEnvironment } from './enviroment';
|
|
7
3
|
import { BaseHotelAvalibilityService } from '../services/hotel-avallibility.service';
|
|
8
4
|
import { LocationTypes, ExtraSearchHandler, StarRating, DifferentInvokdedUserReasons, RoomType, DisabledKeyWords, AmenitiesSearchHandler } from '../types/types';
|
|
9
5
|
import type { Country, HotelQuoteResult, HotelQuoteResultArray, NgbDateStruct, LocationDetails, HotelAvalibilityQuoteResult, RecentSearch, HotelDetails, HotelDetailsArray, SaveFavouriteSearchResult, HotelAvalibilityQuery } from '../types/types';
|
|
@@ -20,7 +16,11 @@ import type { DisplayFilterSettings, HotelEnterpriseSearchInterface, HotelTempPa
|
|
|
20
16
|
import { ICheapestPrice } from '../interfaces/cheapest-price';
|
|
21
17
|
import { Traveller } from '../models/traveller.object';
|
|
22
18
|
import type { ApplyHotelRulesFetcherType, BaseHotelRulesFetcher } from '../fetchers/apply-JIT-hotel-rules.fetcher';
|
|
19
|
+
import { BaseStorageService } from '../services/storage.service';
|
|
23
20
|
import type { BaseSearchConfermaQuicklistFetcher, ConfermaQuicklistFetcherType, BaseGetRailStationFetcher, GetRailStationFetcherType } from '../operations/simple-fetchers';
|
|
21
|
+
import { BaseEnvironment } from './enviroment';
|
|
22
|
+
import { BaseHelperRoutines } from './helpers';
|
|
23
|
+
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
24
24
|
export declare class HotelEnterpriseSearch<HQ_Q extends HotelQuoteFetcherType, HA_Q extends HotelAvalinilityFetcherType, QL_Q extends ConfermaQuicklistFetcherType, GRS_Q extends GetRailStationFetcherType, HR_Q extends ApplyHotelRulesFetcherType> extends BaseEnterpriseSearch<HotelTempParams, HotelQuoteResultArray, HotelDetailsArray> implements HotelEnterpriseSearchInterface {
|
|
25
25
|
private hotelFetcher;
|
|
26
26
|
private environment;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import moment from 'moment';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
4
3
|
import { BaseStorageService } from '../services/storage.service';
|
|
5
|
-
import { BaseHelperRoutines } from './helpers';
|
|
6
4
|
import { ValueDisplay } from '../interfaces/value-display';
|
|
7
5
|
import { DifferentInvokdedUserReasons } from '../types/types';
|
|
8
6
|
import { IrlClass, ServiceType, IrlJourneyType } from '../types/graphql.types';
|
|
@@ -17,6 +15,8 @@ import { ICheapestPrice } from '../interfaces/cheapest-price';
|
|
|
17
15
|
import { SortTypeIrl, IrlFilters } from '../types/irl-search-types';
|
|
18
16
|
import { UserServiceInterface } from '../interfaces/Iuser.service';
|
|
19
17
|
import type { BaseIrlDiscountCardFetcher, IrlDiscountCardFetcherType, BaseGetIrlSupplierStationFetcher, GetIrlSupplierStationFetcherType } from '../operations/simple-fetchers';
|
|
18
|
+
import { BaseHelperRoutines } from './helpers';
|
|
19
|
+
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
20
20
|
export declare enum SortTypesIrl {
|
|
21
21
|
CheapestFirst = "C",
|
|
22
22
|
EarliestFirst = "E",
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
2
1
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
2
|
import moment from 'moment';
|
|
4
3
|
import { BaseStorageService } from '../services/storage.service';
|
|
5
|
-
import { BaseHelperRoutines } from './helpers';
|
|
6
4
|
import { DifferentInvokdedUserReasons } from '../types/types';
|
|
7
5
|
import { ServiceType } from '../types/graphql.types';
|
|
8
6
|
import type { LoungeQuoteResultArray, NgbDateStruct, OBTAirportDetails, RecentSearch, TerminalsType } from '../types/types';
|
|
@@ -13,6 +11,8 @@ import { EnterpriseSearchServiceInterface } from '../interfaces/Isearch.service'
|
|
|
13
11
|
import type { LoungesEnterpriseSearchInterface, LoungesTempParams } from '../interfaces/Ilounges-enterprise-search';
|
|
14
12
|
import { ICheapestPrice } from '../interfaces/cheapest-price';
|
|
15
13
|
import { UserServiceInterface } from '../interfaces/Iuser.service';
|
|
14
|
+
import { BaseHelperRoutines } from './helpers';
|
|
15
|
+
import { BaseEnterpriseSearch } from './base-enterprise';
|
|
16
16
|
export declare class LoungesEnterpriseSearch<LQ_Q extends LoungeQuoteFetcherType> extends BaseEnterpriseSearch<LoungesTempParams, LoungeQuoteResultArray, LoungeQuoteResultArray> implements LoungesEnterpriseSearchInterface {
|
|
17
17
|
private loungefetcher;
|
|
18
18
|
private basketService;
|
|
@@ -23,8 +23,8 @@ export declare class LoungesEnterpriseSearch<LQ_Q extends LoungeQuoteFetcherType
|
|
|
23
23
|
private travellers;
|
|
24
24
|
private readonly _countriesWithLounges;
|
|
25
25
|
get countriesWithLounges(): {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
cName: string;
|
|
27
|
+
cCode: string;
|
|
28
28
|
}[];
|
|
29
29
|
get adults(): number;
|
|
30
30
|
set adults(value: number);
|
|
@@ -28,7 +28,7 @@ export declare abstract class ManagementInfoAndIsValid extends ValidatorChecker
|
|
|
28
28
|
associatedUserOrGuest: FieldWrapper<UserOrGuest>;
|
|
29
29
|
required: FieldWrapper<boolean>;
|
|
30
30
|
valueEditable: FieldWrapper<boolean>;
|
|
31
|
-
obtAdditionalMessages: Array<Maybe<FieldWrapper<
|
|
31
|
+
obtAdditionalMessages: Array<Maybe<FieldWrapper<string>>>;
|
|
32
32
|
reasonKeys: Array<FieldWrapper<Scalars['String']['output']>>;
|
|
33
33
|
visible: FieldWrapper<boolean>;
|
|
34
34
|
guestOnly: FieldWrapper<boolean>;
|