@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApolloQueryResult } from '@apollo/client/core';
|
|
2
|
-
import { BaseTester } from './base.tester';
|
|
3
|
-
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
4
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
5
4
|
import { IsPostcodeValidQueryVariables } from '../types/graphql.types';
|
|
5
|
+
import { BaseTester } from './base.tester';
|
|
6
6
|
type A = IsPostcodeValidQueryVariables;
|
|
7
7
|
type R = {
|
|
8
8
|
isPostcodeValid: boolean;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Shared basket types
|
|
3
3
|
* Extracted to break circular dependencies between basket service and helpers
|
|
4
4
|
*/
|
|
5
|
-
import { User, ServiceType, BasketItem } from './graphql.types';
|
|
6
|
-
import { UserBasketResult } from './types';
|
|
7
5
|
import type { BasketInfoMiDetailsImpl } from '../classes/basket-info-mi-details.impl';
|
|
8
6
|
import type { SupplementaryBookingInfoInterface } from '../interfaces/Isupplementary-booking-info-impl';
|
|
7
|
+
import { User, ServiceType, BasketItem } from './graphql.types';
|
|
8
|
+
import { UserBasketResult } from './types';
|
|
9
9
|
export interface MiGroupDetail {
|
|
10
10
|
type: ServiceType;
|
|
11
11
|
options: string[];
|
|
@@ -1481,6 +1481,11 @@ export type DynamicCondition = {
|
|
|
1481
1481
|
description?: Maybe<FieldWrapper<Scalars['String']['output']>>;
|
|
1482
1482
|
name?: Maybe<FieldWrapper<Scalars['String']['output']>>;
|
|
1483
1483
|
};
|
|
1484
|
+
export type ETicketDownloadResult = {
|
|
1485
|
+
__typename?: 'ETicketDownloadResult';
|
|
1486
|
+
content: FieldWrapper<Scalars['String']['output']>;
|
|
1487
|
+
contentType: FieldWrapper<Scalars['String']['output']>;
|
|
1488
|
+
};
|
|
1484
1489
|
export type EmptyUserDefaultManagementValue = {
|
|
1485
1490
|
__typename?: 'EmptyUserDefaultManagementValue';
|
|
1486
1491
|
defaultValuePrepopulation: FieldWrapper<ManagementInfoDefaultValuePrepopulation>;
|
|
@@ -3204,6 +3209,7 @@ export type MultiLevelApprover = {
|
|
|
3204
3209
|
export type Mutation = {
|
|
3205
3210
|
__typename?: 'Mutation';
|
|
3206
3211
|
acceptNewPrice: FieldWrapper<Basket>;
|
|
3212
|
+
acceptProcessTerms: FieldWrapper<Scalars['Boolean']['output']>;
|
|
3207
3213
|
addBasketItemCustomRemark: FieldWrapper<BasketItemCustomRemark>;
|
|
3208
3214
|
addBasketItemMarkup: FieldWrapper<Basket>;
|
|
3209
3215
|
addFavouriteUser: FieldWrapper<UserOrGuest>;
|
|
@@ -3277,6 +3283,10 @@ export type MutationAcceptNewPriceArgs = {
|
|
|
3277
3283
|
convertCurrencyTo?: InputMaybe<Scalars['String']['input']>;
|
|
3278
3284
|
id: Scalars['ID']['input'];
|
|
3279
3285
|
};
|
|
3286
|
+
export type MutationAcceptProcessTermsArgs = {
|
|
3287
|
+
basketItemId: Scalars['ID']['input'];
|
|
3288
|
+
newPrice: Scalars['Float']['input'];
|
|
3289
|
+
};
|
|
3280
3290
|
export type MutationAddBasketItemCustomRemarkArgs = {
|
|
3281
3291
|
basketItem: Scalars['ID']['input'];
|
|
3282
3292
|
remark_type: Scalars['String']['input'];
|
|
@@ -3907,6 +3917,22 @@ export type Price = {
|
|
|
3907
3917
|
amount: FieldWrapper<Scalars['Float']['output']>;
|
|
3908
3918
|
currencyCode: FieldWrapper<Scalars['String']['output']>;
|
|
3909
3919
|
};
|
|
3920
|
+
export type ProcessTermsPriceResult = {
|
|
3921
|
+
__typename?: 'ProcessTermsPriceResult';
|
|
3922
|
+
amount: FieldWrapper<Scalars['String']['output']>;
|
|
3923
|
+
currency: FieldWrapper<Scalars['String']['output']>;
|
|
3924
|
+
};
|
|
3925
|
+
export type ProcessTermsTaxItem = {
|
|
3926
|
+
__typename?: 'ProcessTermsTaxItem';
|
|
3927
|
+
amount: FieldWrapper<Scalars['String']['output']>;
|
|
3928
|
+
currency: FieldWrapper<Scalars['String']['output']>;
|
|
3929
|
+
name: FieldWrapper<Scalars['String']['output']>;
|
|
3930
|
+
};
|
|
3931
|
+
export type ProcessTermsTaxItemInput = {
|
|
3932
|
+
amount: Scalars['String']['input'];
|
|
3933
|
+
currency: Scalars['String']['input'];
|
|
3934
|
+
name: Scalars['String']['input'];
|
|
3935
|
+
};
|
|
3910
3936
|
export type ProfileConfig = {
|
|
3911
3937
|
__typename?: 'ProfileConfig';
|
|
3912
3938
|
address: FieldWrapper<ProfileConfigOption>;
|
|
@@ -3944,6 +3970,7 @@ export type Query = {
|
|
|
3944
3970
|
confermaUnblockClientHotels: FieldWrapper<ConfermaBlockedHotelsResult>;
|
|
3945
3971
|
confermaUnblockConsumerHotels: FieldWrapper<ConfermaBlockedHotelsResult>;
|
|
3946
3972
|
convertCurrency: FieldWrapper<Scalars['Float']['output']>;
|
|
3973
|
+
downloadETicket?: Maybe<FieldWrapper<ETicketDownloadResult>>;
|
|
3947
3974
|
emailAmbulanceBookingReq: FieldWrapper<Scalars['Boolean']['output']>;
|
|
3948
3975
|
emailApartmentBookingReq: FieldWrapper<Scalars['Boolean']['output']>;
|
|
3949
3976
|
emailBasket: FieldWrapper<Basket>;
|
|
@@ -4002,6 +4029,7 @@ export type Query = {
|
|
|
4002
4029
|
getHotelDetails: FieldWrapper<HotelDetailsResult>;
|
|
4003
4030
|
getIRLDiscountCards: Array<FieldWrapper<IrlTravelCard>>;
|
|
4004
4031
|
getIRLSupplierStation?: Maybe<FieldWrapper<IrlSupplierStation>>;
|
|
4032
|
+
getJyrneyUrl: FieldWrapper<Scalars['String']['output']>;
|
|
4005
4033
|
getLatLonFromHereID: FieldWrapper<PlaceLocation>;
|
|
4006
4034
|
getLatestVersions: Array<FieldWrapper<VersionResult>>;
|
|
4007
4035
|
getMIApprovers: Array<FieldWrapper<User>>;
|
|
@@ -4018,6 +4046,7 @@ export type Query = {
|
|
|
4018
4046
|
getOffices: Array<FieldWrapper<Office>>;
|
|
4019
4047
|
getPostcodeDetails: FieldWrapper<PostcodeDetails>;
|
|
4020
4048
|
getPriceHiddenSabreExchange: FieldWrapper<Scalars['Boolean']['output']>;
|
|
4049
|
+
getProcessTermsPrice: FieldWrapper<ProcessTermsPriceResult>;
|
|
4021
4050
|
getRailLiveDepartures: FieldWrapper<LiveDepBoardResult>;
|
|
4022
4051
|
getRailProviders: Array<FieldWrapper<Scalars['String']['output']>>;
|
|
4023
4052
|
getRailSearchExchange: FieldWrapper<RailSearchResult>;
|
|
@@ -4152,6 +4181,9 @@ export type QueryConvertCurrencyArgs = {
|
|
|
4152
4181
|
baseCurrencyCode: CurrencyCode;
|
|
4153
4182
|
convertedCurrencyCode: CurrencyCode;
|
|
4154
4183
|
};
|
|
4184
|
+
export type QueryDownloadETicketArgs = {
|
|
4185
|
+
url: Scalars['String']['input'];
|
|
4186
|
+
};
|
|
4155
4187
|
export type QueryEmailAmbulanceBookingReqArgs = {
|
|
4156
4188
|
additionalInformation?: InputMaybe<Scalars['String']['input']>;
|
|
4157
4189
|
bookerEmail: Scalars['String']['input'];
|
|
@@ -4466,6 +4498,10 @@ export type QueryGetPostcodeDetailsArgs = {
|
|
|
4466
4498
|
countryCode?: Scalars['String']['input'];
|
|
4467
4499
|
postcode: Scalars['String']['input'];
|
|
4468
4500
|
};
|
|
4501
|
+
export type QueryGetProcessTermsPriceArgs = {
|
|
4502
|
+
basketItemId: Scalars['ID']['input'];
|
|
4503
|
+
supplementaryInfo?: InputMaybe<Array<SupplementaryBookingInfo>>;
|
|
4504
|
+
};
|
|
4469
4505
|
export type QueryGetRailLiveDeparturesArgs = {
|
|
4470
4506
|
departDateTime?: InputMaybe<Scalars['String']['input']>;
|
|
4471
4507
|
destinationCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6439,6 +6475,14 @@ export type AcceptNewPriceMutation = {
|
|
|
6439
6475
|
}> | null;
|
|
6440
6476
|
};
|
|
6441
6477
|
};
|
|
6478
|
+
export type AcceptProcessTermsMutationVariables = Exact<{
|
|
6479
|
+
basketItemId: Scalars['ID']['input'];
|
|
6480
|
+
newPrice: Scalars['Float']['input'];
|
|
6481
|
+
}>;
|
|
6482
|
+
export type AcceptProcessTermsMutation = {
|
|
6483
|
+
__typename?: 'Mutation';
|
|
6484
|
+
acceptProcessTerms: boolean;
|
|
6485
|
+
};
|
|
6442
6486
|
export type AddBasketItemCustomRemarkMutationVariables = Exact<{
|
|
6443
6487
|
basketItem: Scalars['ID']['input'];
|
|
6444
6488
|
remark_type: Scalars['String']['input'];
|
|
@@ -12497,6 +12541,17 @@ export type DeleteUserAddressMutation = {
|
|
|
12497
12541
|
__typename?: 'Mutation';
|
|
12498
12542
|
deleteUserAddress: boolean;
|
|
12499
12543
|
};
|
|
12544
|
+
export type DownloadETicketQueryVariables = Exact<{
|
|
12545
|
+
url: Scalars['String']['input'];
|
|
12546
|
+
}>;
|
|
12547
|
+
export type DownloadETicketQuery = {
|
|
12548
|
+
__typename?: 'Query';
|
|
12549
|
+
downloadETicket?: {
|
|
12550
|
+
__typename?: 'ETicketDownloadResult';
|
|
12551
|
+
content: string;
|
|
12552
|
+
contentType: string;
|
|
12553
|
+
} | null;
|
|
12554
|
+
};
|
|
12500
12555
|
export type EditUserMutationVariables = Exact<{
|
|
12501
12556
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
12502
12557
|
forename?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -18630,6 +18685,13 @@ export type GetIrlSupplierStationQuery = {
|
|
|
18630
18685
|
} | null;
|
|
18631
18686
|
} | null;
|
|
18632
18687
|
};
|
|
18688
|
+
export type GetJyrneyUrlQueryVariables = Exact<{
|
|
18689
|
+
[key: string]: never;
|
|
18690
|
+
}>;
|
|
18691
|
+
export type GetJyrneyUrlQuery = {
|
|
18692
|
+
__typename?: 'Query';
|
|
18693
|
+
getJyrneyUrl: string;
|
|
18694
|
+
};
|
|
18633
18695
|
export type GetLatLonFromHereIdQueryVariables = Exact<{
|
|
18634
18696
|
id: Scalars['String']['input'];
|
|
18635
18697
|
}>;
|
|
@@ -18912,6 +18974,18 @@ export type GetPriceHiddenSabreExchangeQuery = {
|
|
|
18912
18974
|
__typename?: 'Query';
|
|
18913
18975
|
getPriceHiddenSabreExchange: boolean;
|
|
18914
18976
|
};
|
|
18977
|
+
export type GetProcessTermsPriceQueryVariables = Exact<{
|
|
18978
|
+
basketItemId: Scalars['ID']['input'];
|
|
18979
|
+
supplementaryInfo?: InputMaybe<Array<SupplementaryBookingInfo> | SupplementaryBookingInfo>;
|
|
18980
|
+
}>;
|
|
18981
|
+
export type GetProcessTermsPriceQuery = {
|
|
18982
|
+
__typename?: 'Query';
|
|
18983
|
+
getProcessTermsPrice: {
|
|
18984
|
+
__typename?: 'ProcessTermsPriceResult';
|
|
18985
|
+
amount: string;
|
|
18986
|
+
currency: string;
|
|
18987
|
+
};
|
|
18988
|
+
};
|
|
18915
18989
|
export type GetRailLiveDeparturesQueryVariables = Exact<{
|
|
18916
18990
|
stationCode: Scalars['String']['input'];
|
|
18917
18991
|
departDateTime?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -36321,6 +36395,10 @@ export declare namespace AcceptNewPrice {
|
|
|
36321
36395
|
type Mutation = AcceptNewPriceMutation;
|
|
36322
36396
|
type AcceptNewPrice = AcceptNewPriceMutation['acceptNewPrice'];
|
|
36323
36397
|
}
|
|
36398
|
+
export declare namespace AcceptProcessTerms {
|
|
36399
|
+
type Variables = AcceptProcessTermsMutationVariables;
|
|
36400
|
+
type Mutation = AcceptProcessTermsMutation;
|
|
36401
|
+
}
|
|
36324
36402
|
export declare namespace AddBasketItemCustomRemark {
|
|
36325
36403
|
type Variables = AddBasketItemCustomRemarkMutationVariables;
|
|
36326
36404
|
type Mutation = AddBasketItemCustomRemarkMutation;
|
|
@@ -36706,6 +36784,11 @@ export declare namespace DeleteUserAddress {
|
|
|
36706
36784
|
type Variables = DeleteUserAddressMutationVariables;
|
|
36707
36785
|
type Mutation = DeleteUserAddressMutation;
|
|
36708
36786
|
}
|
|
36787
|
+
export declare namespace DownloadETicket {
|
|
36788
|
+
type Variables = DownloadETicketQueryVariables;
|
|
36789
|
+
type Query = DownloadETicketQuery;
|
|
36790
|
+
type DownloadETicket = DownloadETicketQuery['downloadETicket'];
|
|
36791
|
+
}
|
|
36709
36792
|
export declare namespace EditUser {
|
|
36710
36793
|
type Variables = EditUserMutationVariables;
|
|
36711
36794
|
type Mutation = EditUserMutation;
|
|
@@ -37277,6 +37360,10 @@ export declare namespace GetIrlSupplierStation {
|
|
|
37277
37360
|
type LocationDetails = GetIrlSupplierStationQuery['getIRLSupplierStation']['locationDetails'];
|
|
37278
37361
|
type Coordinates = GetIrlSupplierStationQuery['getIRLSupplierStation']['locationDetails']['coordinates'];
|
|
37279
37362
|
}
|
|
37363
|
+
export declare namespace GetJyrneyUrl {
|
|
37364
|
+
type Variables = GetJyrneyUrlQueryVariables;
|
|
37365
|
+
type Query = GetJyrneyUrlQuery;
|
|
37366
|
+
}
|
|
37280
37367
|
export declare namespace GetLatLonFromHereId {
|
|
37281
37368
|
type Variables = GetLatLonFromHereIdQueryVariables;
|
|
37282
37369
|
type Query = GetLatLonFromHereIdQuery;
|
|
@@ -37330,6 +37417,11 @@ export declare namespace GetPriceHiddenSabreExchange {
|
|
|
37330
37417
|
type Variables = GetPriceHiddenSabreExchangeQueryVariables;
|
|
37331
37418
|
type Query = GetPriceHiddenSabreExchangeQuery;
|
|
37332
37419
|
}
|
|
37420
|
+
export declare namespace GetProcessTermsPrice {
|
|
37421
|
+
type Variables = GetProcessTermsPriceQueryVariables;
|
|
37422
|
+
type Query = GetProcessTermsPriceQuery;
|
|
37423
|
+
type GetProcessTermsPrice = GetProcessTermsPriceQuery['getProcessTermsPrice'];
|
|
37424
|
+
}
|
|
37333
37425
|
export declare namespace GetRailLiveDepartures {
|
|
37334
37426
|
type Variables = GetRailLiveDeparturesQueryVariables;
|
|
37335
37427
|
type Query = GetRailLiveDeparturesQuery;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Rules } from '../interfaces/summary-interface';
|
|
2
|
-
import { Address, CarHireDepotResult, CancelBooking, FlightCabinClass, FlightFareTotal, FlightItinerary, FlightJourney, GetFlightFareRules, GetMultipleHotelsAvailability, GetRiskAlertsQuery, GetUser, GetUserBasket, GetUserBaskets, GetUserMessagesQuery, GetUserRecentSearches, GetUserServicesQuery, GetUserUiConfigsQuery, GetUserFavouriteSearches, HotelItinerary, HotelRoom, Office, Query, SaveRecentSearchMutation, SaveRecentBoltSearchMutation, SaveUserAddressMutation, SearchAirlines, SearchAirports, SearchCabHire, SearchCarHire, SearchCitiesQuery, SearchEurostar, SearchFlightsV2, SearchHotels, SearchIrl, SearchIrlSupplierStationsQuery, SearchLounges, SearchParking, SearchPostcodesQuery, SearchRail, SearchRailStationsQuery, SearchUserCanBookFor, SearchError, IrlTicketOption, GetIrlDiscountCards, ServiceType, GetRailLiveDeparturesQuery, HotelTag, RailJourneyFare, RailJourneyOption, GetFlightSeatMap, ItinerarySummary, SaveFavouriteSearchMutation, Company, PreferenceKey, SearchFastTrack, SendOfflineNotificationQuery, GetAllAirlinesQuery, DocType, DocGender, DistanceTypes, EmailFerryBookingReq, PassengerType, BasketNote, SplitRailJourneyFare, ResendApproverEmailQuery, CheckIfBasketRequiresApprovalQuery, GetFlightExtrasOptions, Guest, GetRequestedBookingUpdate, ConvertCurrencyQuery, GetCurrencyConversionRatesQuery, HotelAvailability, FlightBrandedFares, AmendBooking, RailTicketTermsList, LocationType, GetLatestVersionsQuery, GetRouteHappy, EmailSeasonTicketBookingReq, EmailMeetingRoomBookingReq, GetUserRecentBoltSearches, GmtLocation, Traveller, GetPlaceAutocompleteResult, PlaceCategory, RailStation, IrlSupplierStation, SearchGeoLocation, SearchDiscoverLocation, EmailAmbulanceBookingReq } from './graphql.types';
|
|
2
|
+
import { Address, CarHireDepotResult, CancelBooking, FlightCabinClass, FlightFareTotal, FlightItinerary, FlightJourney, GetFlightFareRules, GetMultipleHotelsAvailability, GetRiskAlertsQuery, GetUser, GetUserBasket, GetUserBaskets, GetUserMessagesQuery, GetUserRecentSearches, GetUserServicesQuery, GetUserUiConfigsQuery, GetUserFavouriteSearches, HotelItinerary, HotelRoom, Office, Query, SaveRecentSearchMutation, SaveRecentBoltSearchMutation, SaveUserAddressMutation, SearchAirlines, SearchAirports, SearchCabHire, SearchCarHire, SearchCitiesQuery, SearchEurostar, SearchFlightsV2, SearchHotels, SearchIrl, SearchIrlSupplierStationsQuery, SearchLounges, SearchParking, SearchPostcodesQuery, SearchRail, SearchRailStationsQuery, SearchUserCanBookFor, SearchError, IrlTicketOption, GetIrlDiscountCards, ServiceType, GetRailLiveDeparturesQuery, HotelTag, RailJourneyFare, RailJourneyOption, GetFlightSeatMap, ItinerarySummary, SaveFavouriteSearchMutation, Company, PreferenceKey, SearchFastTrack, SendOfflineNotificationQuery, GetAllAirlinesQuery, DocType, DocGender, DistanceTypes, EmailFerryBookingReq, PassengerType, BasketNote, SplitRailJourneyFare, ResendApproverEmailQuery, CheckIfBasketRequiresApprovalQuery, GetFlightExtrasOptions, Guest, GetRequestedBookingUpdate, ConvertCurrencyQuery, GetCurrencyConversionRatesQuery, HotelAvailability, FlightBrandedFares, AmendBooking, RailTicketTermsList, LocationType, GetLatestVersionsQuery, GetJyrneyUrlQuery, GetRouteHappy, EmailSeasonTicketBookingReq, EmailMeetingRoomBookingReq, GetUserRecentBoltSearches, GmtLocation, Traveller, GetPlaceAutocompleteResult, PlaceCategory, RailStation, IrlSupplierStation, SearchGeoLocation, SearchDiscoverLocation, EmailAmbulanceBookingReq } from './graphql.types';
|
|
3
3
|
export type HotelSearchResultArray = {
|
|
4
4
|
results?: HotelItinerary[];
|
|
5
5
|
errors?: SearchError[];
|
|
@@ -563,6 +563,7 @@ export type GetUserAddressResult = Unpacked<GetUserAddressResultArray>;
|
|
|
563
563
|
export type GetUserPhoneNumberResultArray = GetUserResult['phoneNumbers'];
|
|
564
564
|
export type GetUserPhoneNumberResult = Unpacked<GetUserPhoneNumberResultArray>;
|
|
565
565
|
export type GetLatestVersionsResult = GetLatestVersionsQuery['getLatestVersions'];
|
|
566
|
+
export type GetJyrneyUrlResult = GetJyrneyUrlQuery['getJyrneyUrl'];
|
|
566
567
|
export type UserMessagesResult = GetUserMessagesQuery['getUserMessages'];
|
|
567
568
|
export type SendOfflineNotificationsResult = SendOfflineNotificationQuery['sendOfflineNotification'];
|
|
568
569
|
export type UserProductsResult = GetUserServicesQuery['getUserServices'];
|
|
@@ -911,7 +912,7 @@ export interface FreshChatInterface {
|
|
|
911
912
|
export declare enum WellbeingEnum {
|
|
912
913
|
WELLBEING = "/results/wellbeing"
|
|
913
914
|
}
|
|
914
|
-
export declare const maxTravellerWellbeing
|
|
915
|
+
export declare const maxTravellerWellbeing = 4;
|
|
915
916
|
export declare const PersonTitles: PersonTitle[];
|
|
916
917
|
export interface PersonTitle {
|
|
917
918
|
title: string;
|
|
@@ -940,39 +941,39 @@ export interface LoyaltyValue {
|
|
|
940
941
|
}
|
|
941
942
|
export declare const RailCompanies: LoyaltyValue[];
|
|
942
943
|
export declare const RAIL_COMPANY_TO_SUPPLIER_CODE: {
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
944
|
+
'Avanti West Coast': string;
|
|
945
|
+
'16-25 Rail Card': string;
|
|
946
|
+
'26-30 Rail Card': string;
|
|
947
|
+
'Annual Gold Card': string;
|
|
948
|
+
'Cambrian Lines Railcard': string;
|
|
949
|
+
'Cotswold Line Railcard': string;
|
|
950
|
+
'Dales Railcard': string;
|
|
951
|
+
'Devon and Cornwall Railcard': string;
|
|
952
|
+
'Disabled Child Railcard': string;
|
|
953
|
+
'Disabled Adult Railcard': string;
|
|
954
|
+
'Durham Concessionary Travel Permit': string;
|
|
955
|
+
'Esk Valley Railcard': string;
|
|
956
|
+
'Family & Friends Railcard': string;
|
|
957
|
+
'Heart of Wales Line Railcard': string;
|
|
958
|
+
'Highland Railcard': string;
|
|
959
|
+
'HM Forces Railcard': string;
|
|
960
|
+
'Jobcentre Plus Discount Card': string;
|
|
961
|
+
'Manchester Airport Staff Discount': string;
|
|
962
|
+
'Network Railcard': string;
|
|
963
|
+
'Pembrokeshire Railcard': string;
|
|
964
|
+
'Senior Card': string;
|
|
965
|
+
'Strathclyde Concessionary': string;
|
|
966
|
+
'Two Together Railcard': string;
|
|
967
|
+
'Valleys Lines Senior Card': string;
|
|
968
|
+
'Valleys Lines Student Card': string;
|
|
969
|
+
'Veterans Railcard': string;
|
|
970
|
+
'Wheelchair using child - 75%': string;
|
|
971
|
+
'Scottish Youth Railcard': string;
|
|
972
|
+
'Club 50 Web - Greater Anglia': string;
|
|
973
|
+
'Club 50 Web - ScotRail': string;
|
|
974
|
+
'Concession 34% for Visually Impaired': string;
|
|
975
|
+
'Concession 50% for Visually Impaired': string;
|
|
976
|
+
'16-17 Saver': string;
|
|
976
977
|
};
|
|
977
978
|
export declare const CarCompanies: LoyaltyValue[];
|
|
978
979
|
export declare const HotelChains: LoyaltyValue[];
|
|
@@ -1170,4 +1171,4 @@ export type GeoLocationResult = Omit<SearchGeoLocationResultArray[number], 'term
|
|
|
1170
1171
|
terminals?: TerminalsType[];
|
|
1171
1172
|
};
|
|
1172
1173
|
export type GeoLocationResultArray = GeoLocationResult[];
|
|
1173
|
-
export {};
|
|
1174
|
+
export type { ETicketDownloadResult } from './graphql.types';
|
package/base/services.d.ts
CHANGED
|
@@ -13,4 +13,3 @@ export * from './lib/vendor/services/routehappy.service';
|
|
|
13
13
|
export * from './lib/vendor/services/requires-reason.service';
|
|
14
14
|
export * from './lib/vendor/services/http-cancel.service';
|
|
15
15
|
export * from './lib/vendor/services/messages.service';
|
|
16
|
-
export * from './lib/vendor/services/chatbot.service';
|