@sabstravtech/obtservices 0.0.22042501 → 0.0.22050309
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/fetchers.d.ts +4 -0
- package/angular/lib/vendor/fetchers/fast-track-quote.fetcher.d.ts +7 -0
- package/angular/lib/vendor/fetchers/get-all-airlines.fetcher.d.ts +7 -0
- package/angular/lib/vendor/fetchers/get-car-hire-providers.fetcher.d.ts +7 -0
- package/angular/lib/vendor/fetchers/get-hotel-chains.fetcher.d.ts +7 -0
- package/angular/lib/vendor/fetchers/get-rail-providers.fetcher.d.ts +7 -0
- package/angular/lib/vendor/fetchers/send-offline-notification.fetcher.d.ts +7 -0
- package/angular/lib/vendor/services/search.service.d.ts +9 -3
- package/angular/lib/vendor/services/user.service.d.ts +5 -3
- package/angular/lib/vendor/types/graphql.angular.types.d.ts +345 -4
- package/angular/lib/vendor/updaters/edit-user.updater.d.ts +6 -0
- package/angular/lib/vendor/updaters/set-user-language-updater.d.ts +6 -0
- package/angular/sabstravtech-obtservices-angular.d.ts +17 -13
- package/angular/sabstravtech-obtservices-angular.metadata.json +1 -1
- package/base/fetchers.d.ts +6 -0
- package/base/lib/vendor/classes/eurostar-enterprise-search.d.ts +6 -1
- package/base/lib/vendor/classes/fast-track-enterprise-search.d.ts +52 -0
- package/base/lib/vendor/classes/hotel-enterprise-search.d.ts +1 -0
- package/base/lib/vendor/classes/irl-enterprise-search.d.ts +7 -1
- package/base/lib/vendor/classes/modal-types.enum.d.ts +1 -0
- package/base/lib/vendor/fetchers/fast-track-quote.fetcher.d.ts +23 -0
- package/base/lib/vendor/fetchers/get-all-airlines.fetcher.d.ts +20 -0
- package/base/lib/vendor/fetchers/get-car-hire-providers.fetcher.d.ts +20 -0
- package/base/lib/vendor/fetchers/get-hotel-chains.fetcher.d.ts +20 -0
- package/base/lib/vendor/fetchers/get-rail-providers.fetcher.d.ts +20 -0
- package/base/lib/vendor/fetchers/send-offline-notification.fetcher.d.ts +21 -0
- package/base/lib/vendor/fetchers/user-fetcher.d.ts +2 -3
- package/base/lib/vendor/interfaces/Ieurostar-enterprise-search.d.ts +1 -0
- package/base/lib/vendor/interfaces/Ifast-track-enterprise-search.d.ts +22 -0
- package/base/lib/vendor/interfaces/Iirl-enterprise-search.d.ts +3 -0
- package/base/lib/vendor/interfaces/Isearch.service.d.ts +7 -1
- package/base/lib/vendor/interfaces/eurostar-search-arg.interface.d.ts +2 -0
- package/base/lib/vendor/interfaces/user.data.d.ts +1 -0
- package/base/lib/vendor/models/traveller.object.d.ts +1 -0
- package/base/lib/vendor/services/search.service.d.ts +27 -4
- package/base/lib/vendor/services/user.service.d.ts +12 -5
- package/base/lib/vendor/types/graphql.types.d.ts +310 -4
- package/base/lib/vendor/types/types.d.ts +25 -1
- package/base/lib/vendor/updaters/edit-user-updater.d.ts +19 -0
- package/base/lib/vendor/updaters/set-user-language-updater.d.ts +19 -0
- package/base/sabstravtech-obtservices-base.d.ts +5 -5
- package/base/sabstravtech-obtservices-base.metadata.json +1 -1
- package/base/updaters.d.ts +2 -0
- package/bundles/sabstravtech-obtservices-angular.umd.js +392 -80
- package/bundles/sabstravtech-obtservices-angular.umd.js.map +1 -1
- package/bundles/sabstravtech-obtservices-angular.umd.min.js +1 -1
- package/bundles/sabstravtech-obtservices-angular.umd.min.js.map +1 -1
- package/bundles/sabstravtech-obtservices-base.umd.js +715 -55
- package/bundles/sabstravtech-obtservices-base.umd.js.map +1 -1
- package/bundles/sabstravtech-obtservices-base.umd.min.js +2 -2
- package/bundles/sabstravtech-obtservices-base.umd.min.js.map +1 -1
- package/esm2015/angular/fetchers.js +5 -1
- package/esm2015/angular/lib/vendor/fetchers/fast-track-quote.fetcher.js +25 -0
- package/esm2015/angular/lib/vendor/fetchers/get-all-airlines.fetcher.js +25 -0
- package/esm2015/angular/lib/vendor/fetchers/get-car-hire-providers.fetcher.js +25 -0
- package/esm2015/angular/lib/vendor/fetchers/get-hotel-chains.fetcher.js +25 -0
- package/esm2015/angular/lib/vendor/fetchers/get-rail-providers.fetcher.js +25 -0
- package/esm2015/angular/lib/vendor/fetchers/send-offline-notification.fetcher.js +25 -0
- package/esm2015/angular/lib/vendor/services/search.service.js +55 -37
- package/esm2015/angular/lib/vendor/services/user.service.js +12 -6
- package/esm2015/angular/lib/vendor/types/graphql.angular.types.js +524 -1
- package/esm2015/angular/lib/vendor/updaters/edit-user.updater.js +22 -0
- package/esm2015/angular/lib/vendor/updaters/set-user-language-updater.js +22 -0
- package/esm2015/angular/sabstravtech-obtservices-angular.js +18 -14
- package/esm2015/base/fetchers.js +7 -1
- package/esm2015/base/lib/vendor/classes/carhire-enterprise-search.js +4 -5
- package/esm2015/base/lib/vendor/classes/eurostar-enterprise-search.js +48 -2
- package/esm2015/base/lib/vendor/classes/fast-track-enterprise-search.js +229 -0
- package/esm2015/base/lib/vendor/classes/hotel-enterprise-search.js +12 -7
- package/esm2015/base/lib/vendor/classes/irl-enterprise-search.js +18 -3
- package/esm2015/base/lib/vendor/classes/modal-types.enum.js +2 -1
- package/esm2015/base/lib/vendor/fetchers/fast-track-quote.fetcher.js +11 -0
- package/esm2015/base/lib/vendor/fetchers/get-all-airlines.fetcher.js +11 -0
- package/esm2015/base/lib/vendor/fetchers/get-car-hire-providers.fetcher.js +11 -0
- package/esm2015/base/lib/vendor/fetchers/get-hotel-chains.fetcher.js +11 -0
- package/esm2015/base/lib/vendor/fetchers/get-rail-providers.fetcher.js +11 -0
- package/esm2015/base/lib/vendor/fetchers/send-offline-notification.fetcher.js +11 -0
- package/esm2015/base/lib/vendor/fetchers/user-fetcher.js +1 -1
- package/esm2015/base/lib/vendor/interfaces/Ieurostar-enterprise-search.js +1 -1
- package/esm2015/base/lib/vendor/interfaces/Ifast-track-enterprise-search.js +2 -0
- package/esm2015/base/lib/vendor/interfaces/Iirl-enterprise-search.js +1 -1
- package/esm2015/base/lib/vendor/interfaces/Isearch.service.js +1 -1
- package/esm2015/base/lib/vendor/interfaces/eurostar-search-arg.interface.js +1 -1
- package/esm2015/base/lib/vendor/interfaces/user.data.js +1 -1
- package/esm2015/base/lib/vendor/models/traveller.object.js +3 -2
- package/esm2015/base/lib/vendor/services/search.service.js +157 -17
- package/esm2015/base/lib/vendor/services/user.service.js +22 -5
- package/esm2015/base/lib/vendor/types/graphql.types.js +1 -1
- package/esm2015/base/lib/vendor/types/types.js +63 -1
- package/esm2015/base/lib/vendor/updaters/edit-user-updater.js +11 -0
- package/esm2015/base/lib/vendor/updaters/set-user-language-updater.js +11 -0
- package/esm2015/base/sabstravtech-obtservices-base.js +6 -5
- package/esm2015/base/updaters.js +3 -1
- package/fesm2015/sabstravtech-obtservices-angular.js +666 -9
- package/fesm2015/sabstravtech-obtservices-angular.js.map +1 -1
- package/fesm2015/sabstravtech-obtservices-base.js +622 -36
- package/fesm2015/sabstravtech-obtservices-base.js.map +1 -1
- package/package.json +1 -1
|
@@ -1410,6 +1410,16 @@ export declare enum IrlJourneyType {
|
|
|
1410
1410
|
ReturnJourney = "ReturnJourney",
|
|
1411
1411
|
SingleJourney = "SingleJourney"
|
|
1412
1412
|
}
|
|
1413
|
+
export declare type IrlOfflineNotifyResult = {
|
|
1414
|
+
__typename?: 'IRLOfflineNotifyResult';
|
|
1415
|
+
success: FieldWrapper<Scalars['Boolean']>;
|
|
1416
|
+
};
|
|
1417
|
+
export declare type IrlOfflinePassenger = {
|
|
1418
|
+
name?: Maybe<Scalars['String']>;
|
|
1419
|
+
age?: Maybe<Scalars['String']>;
|
|
1420
|
+
discountCard?: Maybe<Scalars['String']>;
|
|
1421
|
+
loyaltyCard?: Maybe<Scalars['String']>;
|
|
1422
|
+
};
|
|
1413
1423
|
export declare type IrlPlusBus = {
|
|
1414
1424
|
__typename?: 'IRLPlusBus';
|
|
1415
1425
|
originPlusBusNLC?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
@@ -2180,6 +2190,7 @@ export declare enum PreferenceKey {
|
|
|
2180
2190
|
export declare type Query = {
|
|
2181
2191
|
__typename?: 'Query';
|
|
2182
2192
|
getUserAddresses: Array<FieldWrapper<Address>>;
|
|
2193
|
+
getAllAirlines: Array<FieldWrapper<AirlineResult>>;
|
|
2183
2194
|
searchAirlines: FieldWrapper<AirlineResults>;
|
|
2184
2195
|
searchAirports: FieldWrapper<AirportResults>;
|
|
2185
2196
|
getUserBasket: FieldWrapper<Basket>;
|
|
@@ -2188,6 +2199,7 @@ export declare type Query = {
|
|
|
2188
2199
|
searchCabHire: FieldWrapper<CabHireResult>;
|
|
2189
2200
|
searchUserCanBookFor: Array<FieldWrapper<User>>;
|
|
2190
2201
|
getCancellationInfo: FieldWrapper<BeforeCancellationInfo>;
|
|
2202
|
+
getCarHireProviders: Array<FieldWrapper<Scalars['String']>>;
|
|
2191
2203
|
searchCarHire: FieldWrapper<CarHireResult>;
|
|
2192
2204
|
getCarHireDepots: Array<FieldWrapper<CarHireDepot>>;
|
|
2193
2205
|
carHireAvailabilityDetailRequest: FieldWrapper<CarHireDetailRequestResponse>;
|
|
@@ -2212,7 +2224,7 @@ export declare type Query = {
|
|
|
2212
2224
|
searchFlightsV2: FieldWrapper<FlightSearchResultV2>;
|
|
2213
2225
|
searchEurostar: FieldWrapper<FlightSearchResultV2>;
|
|
2214
2226
|
getFlightFareRules: FieldWrapper<FlightFareRulesResult>;
|
|
2215
|
-
getFlightMealOptions: FieldWrapper<
|
|
2227
|
+
getFlightMealOptions: FieldWrapper<FlightMealOptionResult>;
|
|
2216
2228
|
alive: FieldWrapper<Scalars['Boolean']>;
|
|
2217
2229
|
getHotelChains: Array<FieldWrapper<Scalars['String']>>;
|
|
2218
2230
|
searchHotelChains: Array<FieldWrapper<Scalars['String']>>;
|
|
@@ -2220,8 +2232,10 @@ export declare type Query = {
|
|
|
2220
2232
|
getHotelAvailability: FieldWrapper<HotelAvailabilityResult>;
|
|
2221
2233
|
getMultipleHotelsAvailability: FieldWrapper<HotelMultiAvailabilityResult>;
|
|
2222
2234
|
getIRLDiscountCards: Array<FieldWrapper<IrlTravelCard>>;
|
|
2235
|
+
sendOfflineNotification: FieldWrapper<IrlOfflineNotifyResult>;
|
|
2223
2236
|
getIRLSupplierStation?: Maybe<FieldWrapper<IrlSupplierStation>>;
|
|
2224
2237
|
searchIRLSupplierStations: Array<FieldWrapper<IrlSupplierStation>>;
|
|
2238
|
+
getRailProviders: Array<FieldWrapper<Scalars['String']>>;
|
|
2225
2239
|
searchIRL: FieldWrapper<IrlSearchResult>;
|
|
2226
2240
|
getRailLiveDepartures: FieldWrapper<LiveDepBoardResult>;
|
|
2227
2241
|
searchLounges: FieldWrapper<LoungeSearchResult>;
|
|
@@ -2494,6 +2508,19 @@ export declare type QueryGetMultipleHotelsAvailabilityArgs = {
|
|
|
2494
2508
|
export declare type QueryGetIrlDiscountCardsArgs = {
|
|
2495
2509
|
supplier: IrlSupplier;
|
|
2496
2510
|
};
|
|
2511
|
+
export declare type QuerySendOfflineNotificationArgs = {
|
|
2512
|
+
trainNumber: Scalars['String'];
|
|
2513
|
+
departureStation: Scalars['String'];
|
|
2514
|
+
destinationStation: Scalars['String'];
|
|
2515
|
+
outboundDate: Scalars['String'];
|
|
2516
|
+
inboundDate: Scalars['String'];
|
|
2517
|
+
additionalInfo: Scalars['String'];
|
|
2518
|
+
offlineReference: Scalars['String'];
|
|
2519
|
+
notifyEmail: Scalars['String'];
|
|
2520
|
+
onBehalfOf: Scalars['String'];
|
|
2521
|
+
serviceClass: Scalars['String'];
|
|
2522
|
+
passengers: Array<IrlOfflinePassenger>;
|
|
2523
|
+
};
|
|
2497
2524
|
export declare type QueryGetIrlSupplierStationArgs = {
|
|
2498
2525
|
id?: Maybe<Scalars['ID']>;
|
|
2499
2526
|
supplier?: Maybe<IrlSupplier>;
|
|
@@ -2657,6 +2684,7 @@ export declare type RailIdentifiers = {
|
|
|
2657
2684
|
__typename?: 'RailIdentifiers';
|
|
2658
2685
|
transactionIdentifier?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2659
2686
|
journeyIdentifier?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2687
|
+
segmentIdentifier?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2660
2688
|
provider?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2661
2689
|
fareIdentifier?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2662
2690
|
direction?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
@@ -3594,6 +3622,107 @@ export declare type DeleteUserAddressMutationVariables = Exact<{
|
|
|
3594
3622
|
export declare type DeleteUserAddressMutation = ({
|
|
3595
3623
|
__typename?: 'Mutation';
|
|
3596
3624
|
} & Pick<Mutation, 'deleteUserAddress'>);
|
|
3625
|
+
export declare type EditUserMutationVariables = Exact<{
|
|
3626
|
+
id: Scalars['ID'];
|
|
3627
|
+
title?: Maybe<Scalars['String']>;
|
|
3628
|
+
forename?: Maybe<Scalars['String']>;
|
|
3629
|
+
surname?: Maybe<Scalars['String']>;
|
|
3630
|
+
email?: Maybe<Scalars['String']>;
|
|
3631
|
+
username?: Maybe<Scalars['String']>;
|
|
3632
|
+
authMethods?: Maybe<Array<Scalars['String']> | Scalars['String']>;
|
|
3633
|
+
active?: Maybe<Scalars['Boolean']>;
|
|
3634
|
+
bookerType?: Maybe<BookerType>;
|
|
3635
|
+
tmcAdmin?: Maybe<Scalars['Boolean']>;
|
|
3636
|
+
canCreateAdminAtOwnLevel?: Maybe<Scalars['Boolean']>;
|
|
3637
|
+
logLevel?: Maybe<LogLevelType>;
|
|
3638
|
+
live?: Maybe<Scalars['Boolean']>;
|
|
3639
|
+
employeeId?: Maybe<Scalars['String']>;
|
|
3640
|
+
confermaId?: Maybe<Scalars['String']>;
|
|
3641
|
+
dob?: Maybe<Scalars['Date']>;
|
|
3642
|
+
admin?: Maybe<Scalars['Boolean']>;
|
|
3643
|
+
companyAdmin?: Maybe<Scalars['Boolean']>;
|
|
3644
|
+
selectedLanguage?: Maybe<Scalars['ID']>;
|
|
3645
|
+
co2AllowancePeriod?: Maybe<Scalars['String']>;
|
|
3646
|
+
co2AllowancePerPeriod?: Maybe<Scalars['String']>;
|
|
3647
|
+
emergencyContactName?: Maybe<Scalars['String']>;
|
|
3648
|
+
emergencyContactPhone?: Maybe<Scalars['String']>;
|
|
3649
|
+
emergencyContactEmail?: Maybe<Scalars['String']>;
|
|
3650
|
+
supplierRelations?: Maybe<Scalars['Boolean']>;
|
|
3651
|
+
phoneNumbers?: Maybe<Array<PhoneNumberInput> | PhoneNumberInput>;
|
|
3652
|
+
addresses?: Maybe<Array<AddressInput> | AddressInput>;
|
|
3653
|
+
userMiDefaultValues?: Maybe<Array<UserMiDefaultValuesInput> | UserMiDefaultValuesInput>;
|
|
3654
|
+
documents?: Maybe<Array<DocumentInput> | DocumentInput>;
|
|
3655
|
+
loyaltyCodes?: Maybe<Array<UserLoyaltyCodeInput> | UserLoyaltyCodeInput>;
|
|
3656
|
+
preferences?: Maybe<Array<UserPreferenceInput> | UserPreferenceInput>;
|
|
3657
|
+
}>;
|
|
3658
|
+
export declare type EditUserMutation = ({
|
|
3659
|
+
__typename?: 'Mutation';
|
|
3660
|
+
} & {
|
|
3661
|
+
editUser: ({
|
|
3662
|
+
__typename?: 'User';
|
|
3663
|
+
} & Pick<User, 'id' | 'title' | 'forename' | 'surname' | 'email' | 'username' | 'employeeId' | 'confermaId' | 'createdAt' | 'updatedAt' | 'dob' | 'admin' | 'tmcAdmin' | 'companyAdmin' | 'bookerType' | 'authMethods' | 'active' | 'passwordLastUpdated' | 'co2AllowancePeriod' | 'co2AllowancePerPeriod' | 'emergencyContactName' | 'emergencyContactPhone' | 'emergencyContactEmail' | 'canCreateAdminAtOwnLevel' | 'live' | 'supplierRelations' | 'logLevel'> & {
|
|
3664
|
+
selectedLanguage: ({
|
|
3665
|
+
__typename?: 'Language';
|
|
3666
|
+
} & Pick<Language, 'id' | 'name' | 'isoCode'>);
|
|
3667
|
+
availableLanguages: Array<({
|
|
3668
|
+
__typename?: 'Language';
|
|
3669
|
+
} & Pick<Language, 'id' | 'name' | 'isoCode'>)>;
|
|
3670
|
+
approvers: Array<({
|
|
3671
|
+
__typename?: 'Approver';
|
|
3672
|
+
} & Pick<Approver, 'active' | 'priority'>)>;
|
|
3673
|
+
approverFor: Array<({
|
|
3674
|
+
__typename?: 'Approvee';
|
|
3675
|
+
} & Pick<Approvee, 'active' | 'priority'>)>;
|
|
3676
|
+
phoneNumbers: Array<({
|
|
3677
|
+
__typename?: 'PhoneNumber';
|
|
3678
|
+
} & Pick<PhoneNumber, 'id' | 'description' | 'countryCode' | 'areaCode' | 'number' | 'extension' | 'type' | 'officePrimary' | 'userPrimary'>)>;
|
|
3679
|
+
addresses?: Maybe<Array<({
|
|
3680
|
+
__typename?: 'Address';
|
|
3681
|
+
} & Pick<Address, 'id' | 'description' | 'numberOrName' | 'street' | 'town' | 'county' | 'postcode' | 'countryCode' | 'userPrimary' | 'officePrimary'>)>>;
|
|
3682
|
+
userMiDefaultValues?: Maybe<Array<({
|
|
3683
|
+
__typename?: 'UserMiDefaultValue';
|
|
3684
|
+
} & Pick<UserMiDefaultValue, 'freeTextValue'> & {
|
|
3685
|
+
service?: Maybe<({
|
|
3686
|
+
__typename?: 'Service';
|
|
3687
|
+
} & Pick<Service, 'id' | 'type' | 'name' | 'description' | 'supplierUrl' | 'active' | 'apiEndpointUrl' | 'basketItemTtl' | 'cancellable' | 'amendable' | 'detailSchema' | 'searchQuerySchema'>)>;
|
|
3688
|
+
managementInfo?: Maybe<({
|
|
3689
|
+
__typename?: 'ManagementInfo';
|
|
3690
|
+
} & Pick<ManagementInfo, 'id' | 'dbId' | 'name' | 'description' | 'handoff' | 'valueMask' | 'uiPresentation' | 'mandatory' | 'perPassenger' | 'perBooking' | 'agentOnly' | 'takeValueFromUserDefault' | 'takeValueFromBookerDefault' | 'enforceUserDefault' | 'bookedByField' | 'createdAt' | 'updatedAt' | 'fixed' | 'group'> & {
|
|
3691
|
+
service: ({
|
|
3692
|
+
__typename?: 'Service';
|
|
3693
|
+
} & Pick<Service, 'id' | 'type' | 'name' | 'description' | 'supplierUrl' | 'active' | 'apiEndpointUrl' | 'basketItemTtl' | 'cancellable' | 'amendable' | 'detailSchema' | 'searchQuerySchema'>);
|
|
3694
|
+
fixedValue?: Maybe<({
|
|
3695
|
+
__typename?: 'ManagementInfoValue';
|
|
3696
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
3697
|
+
defaultValue?: Maybe<({
|
|
3698
|
+
__typename?: 'ManagementInfoValue';
|
|
3699
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
3700
|
+
values: Array<({
|
|
3701
|
+
__typename?: 'ManagementInfoValue';
|
|
3702
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
3703
|
+
selectedValues: Array<({
|
|
3704
|
+
__typename?: 'SelectedManagementInfoValue';
|
|
3705
|
+
} & Pick<SelectedManagementInfoValue, 'freeValue' | 'basketLevelValue' | 'userLevelValue'> & {
|
|
3706
|
+
value?: Maybe<({
|
|
3707
|
+
__typename?: 'ManagementInfoValue';
|
|
3708
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
3709
|
+
})>;
|
|
3710
|
+
})>;
|
|
3711
|
+
managementInfoValue?: Maybe<({
|
|
3712
|
+
__typename?: 'ManagementInfoValue';
|
|
3713
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
3714
|
+
})>>;
|
|
3715
|
+
documents?: Maybe<Array<({
|
|
3716
|
+
__typename?: 'Document';
|
|
3717
|
+
} & Pick<Document, 'id' | 'docType' | 'nationality' | 'gender' | 'number' | 'country' | 'codeOfIssuingState' | 'dateOfIssue' | 'dateOfExpiry' | 'primary' | 'createdAt' | 'updatedAt'>)>>;
|
|
3718
|
+
loyaltyCodes?: Maybe<Array<({
|
|
3719
|
+
__typename?: 'UserLoyaltyCode';
|
|
3720
|
+
} & Pick<UserLoyaltyCode, 'id' | 'carrier' | 'code' | 'type' | 'createdAt' | 'updatedAt'>)>>;
|
|
3721
|
+
preferences?: Maybe<Array<({
|
|
3722
|
+
__typename?: 'UserPreference';
|
|
3723
|
+
} & Pick<UserPreference, 'id' | 'serviceType' | 'preferenceKey' | 'preferenceValue' | 'createdAt' | 'updatedAt'>)>>;
|
|
3724
|
+
});
|
|
3725
|
+
});
|
|
3597
3726
|
export declare type EmailBasketQueryVariables = Exact<{
|
|
3598
3727
|
id: Scalars['ID'];
|
|
3599
3728
|
}>;
|
|
@@ -3930,6 +4059,16 @@ export declare type FlightJourneyFieldsFragment = ({
|
|
|
3930
4059
|
__typename?: 'AirportDetail';
|
|
3931
4060
|
} & Pick<AirportDetail, 'iata' | 'icao' | 'latitude' | 'longitude' | 'altitude' | 'state' | 'city' | 'road' | 'popularity' | 'area' | 'location' | 'offset' | 'airportName' | 'countryName' | 'countryCode' | 'postcode'>);
|
|
3932
4061
|
});
|
|
4062
|
+
export declare type GetAllAirlinesQueryVariables = Exact<{
|
|
4063
|
+
[key: string]: never;
|
|
4064
|
+
}>;
|
|
4065
|
+
export declare type GetAllAirlinesQuery = ({
|
|
4066
|
+
__typename?: 'Query';
|
|
4067
|
+
} & {
|
|
4068
|
+
getAllAirlines: Array<({
|
|
4069
|
+
__typename?: 'AirlineResult';
|
|
4070
|
+
} & Pick<AirlineResult, 'id' | 'name' | 'iata' | 'icao' | 'alias' | 'callsign' | 'active' | 'continent' | 'country' | 'countryCode' | 'bannerImage' | 'logoImage'>)>;
|
|
4071
|
+
});
|
|
3933
4072
|
export declare type GetCovidMicrositeTokenQueryVariables = Exact<{
|
|
3934
4073
|
[key: string]: never;
|
|
3935
4074
|
}>;
|
|
@@ -3949,6 +4088,12 @@ export declare type GetCarHireDepotsQuery = ({
|
|
|
3949
4088
|
__typename?: 'CarHireDepot';
|
|
3950
4089
|
} & Pick<CarHireDepot, 'countryCode' | 'locationCode' | 'extendedLocationCode' | 'vendorCode' | 'latitude' | 'longitude' | 'vendor' | 'addressLines' | 'cityName'>)>;
|
|
3951
4090
|
});
|
|
4091
|
+
export declare type GetCarHireProvidersQueryVariables = Exact<{
|
|
4092
|
+
[key: string]: never;
|
|
4093
|
+
}>;
|
|
4094
|
+
export declare type GetCarHireProvidersQuery = ({
|
|
4095
|
+
__typename?: 'Query';
|
|
4096
|
+
} & Pick<Query, 'getCarHireProviders'>);
|
|
3952
4097
|
export declare type GetConfermaOfficeQueryVariables = Exact<{
|
|
3953
4098
|
officeId: Scalars['Int'];
|
|
3954
4099
|
}>;
|
|
@@ -4127,6 +4272,12 @@ export declare type GetFlightSeatMapQuery = ({
|
|
|
4127
4272
|
})>;
|
|
4128
4273
|
});
|
|
4129
4274
|
});
|
|
4275
|
+
export declare type GetHotelChainsQueryVariables = Exact<{
|
|
4276
|
+
[key: string]: never;
|
|
4277
|
+
}>;
|
|
4278
|
+
export declare type GetHotelChainsQuery = ({
|
|
4279
|
+
__typename?: 'Query';
|
|
4280
|
+
} & Pick<Query, 'getHotelChains'>);
|
|
4130
4281
|
export declare type GetIrlDiscountCardsQueryVariables = Exact<{
|
|
4131
4282
|
supplier: IrlSupplier;
|
|
4132
4283
|
}>;
|
|
@@ -4215,6 +4366,12 @@ export declare type GetRailcardsQuery = ({
|
|
|
4215
4366
|
__typename?: 'ReferenceRailCardQualifier';
|
|
4216
4367
|
} & Pick<ReferenceRailCardQualifier, 'name' | 'code'>)>;
|
|
4217
4368
|
});
|
|
4369
|
+
export declare type GetRailProvidersQueryVariables = Exact<{
|
|
4370
|
+
[key: string]: never;
|
|
4371
|
+
}>;
|
|
4372
|
+
export declare type GetRailProvidersQuery = ({
|
|
4373
|
+
__typename?: 'Query';
|
|
4374
|
+
} & Pick<Query, 'getRailProviders'>);
|
|
4218
4375
|
export declare type GetRiskAlertsQueryVariables = Exact<{
|
|
4219
4376
|
minLevel: RiskLevel;
|
|
4220
4377
|
maxLevel: RiskLevel;
|
|
@@ -4855,6 +5012,30 @@ export declare type SearchEurostarQuery = ({
|
|
|
4855
5012
|
} & ErrorsFragment)>;
|
|
4856
5013
|
});
|
|
4857
5014
|
});
|
|
5015
|
+
export declare type SearchFastTrackQueryVariables = Exact<{
|
|
5016
|
+
arrivalDatetime: Scalars['DateTime'];
|
|
5017
|
+
locationCode: Scalars['String'];
|
|
5018
|
+
adults: Scalars['Int'];
|
|
5019
|
+
children?: Maybe<Scalars['Int']>;
|
|
5020
|
+
}>;
|
|
5021
|
+
export declare type SearchFastTrackQuery = ({
|
|
5022
|
+
__typename?: 'Query';
|
|
5023
|
+
} & {
|
|
5024
|
+
searchFastTrack: ({
|
|
5025
|
+
__typename?: 'FastTrackResult';
|
|
5026
|
+
} & {
|
|
5027
|
+
results: Array<({
|
|
5028
|
+
__typename?: 'FastTrackQuote';
|
|
5029
|
+
} & Pick<FastTrackQuote, 'source' | 'sourceId' | 'name' | 'code' | 'price' | 'currency' | 'refundable' | 'terminal' | 'images' | 'logo' | 'description' | 'importantInfo' | 'tmcPreferred' | 'companyPreferred' | 'officePreferred' | 'tmcPreferredMessage' | 'companyPreferredMessage' | 'officePreferredMessage' | 'unavailable' | 'unavailableMessage' | 'co2PerPassenger' | 'co2PerItem'>)>;
|
|
5030
|
+
errors: Array<({
|
|
5031
|
+
__typename?: 'SearchError';
|
|
5032
|
+
} & Pick<SearchError, 'errorMessage' | 'errorCode'> & {
|
|
5033
|
+
service: ({
|
|
5034
|
+
__typename?: 'Service';
|
|
5035
|
+
} & Pick<Service, 'id' | 'type' | 'name' | 'description' | 'supplierUrl' | 'active' | 'apiEndpointUrl' | 'basketItemTtl' | 'cancellable' | 'amendable' | 'detailSchema' | 'searchQuerySchema'>);
|
|
5036
|
+
})>;
|
|
5037
|
+
});
|
|
5038
|
+
});
|
|
4858
5039
|
export declare type SearchFlightsV2QueryVariables = Exact<{
|
|
4859
5040
|
passengers: Array<FlightPassengerObject> | FlightPassengerObject;
|
|
4860
5041
|
originAirport?: Maybe<Scalars['String']>;
|
|
@@ -5021,7 +5202,7 @@ export declare type SearchIrlQuery = ({
|
|
|
5021
5202
|
} & {
|
|
5022
5203
|
results: Array<({
|
|
5023
5204
|
__typename?: 'IRLJourneyOptions';
|
|
5024
|
-
} & Pick<IrlJourneyOptions, 'source' | 'sourceId'> & {
|
|
5205
|
+
} & Pick<IrlJourneyOptions, 'source' | 'sourceId' | 'jrfreference'> & {
|
|
5025
5206
|
outbound?: Maybe<Array<({
|
|
5026
5207
|
__typename?: 'IRLJourneyOption';
|
|
5027
5208
|
} & Pick<IrlJourneyOption, 'from' | 'fromCode' | 'to' | 'toCode' | 'departDateTime' | 'arriveDateTime' | 'changes' | 'unsellable'> & {
|
|
@@ -5280,6 +5461,26 @@ export declare type SearchUserAddressQuery = ({
|
|
|
5280
5461
|
__typename?: 'Address';
|
|
5281
5462
|
} & Pick<Address, 'id' | 'description' | 'numberOrName' | 'street' | 'town' | 'county' | 'postcode' | 'countryCode' | 'userPrimary' | 'officePrimary'>)>;
|
|
5282
5463
|
});
|
|
5464
|
+
export declare type SendOfflineNotificationQueryVariables = Exact<{
|
|
5465
|
+
trainNumber: Scalars['String'];
|
|
5466
|
+
departureStation: Scalars['String'];
|
|
5467
|
+
destinationStation: Scalars['String'];
|
|
5468
|
+
outboundDate: Scalars['String'];
|
|
5469
|
+
inboundDate: Scalars['String'];
|
|
5470
|
+
additionalInfo: Scalars['String'];
|
|
5471
|
+
offlineReference: Scalars['String'];
|
|
5472
|
+
notifyEmail: Scalars['String'];
|
|
5473
|
+
onBehalfOf: Scalars['String'];
|
|
5474
|
+
serviceClass: Scalars['String'];
|
|
5475
|
+
passengers: Array<IrlOfflinePassenger> | IrlOfflinePassenger;
|
|
5476
|
+
}>;
|
|
5477
|
+
export declare type SendOfflineNotificationQuery = ({
|
|
5478
|
+
__typename?: 'Query';
|
|
5479
|
+
} & {
|
|
5480
|
+
sendOfflineNotification: ({
|
|
5481
|
+
__typename?: 'IRLOfflineNotifyResult';
|
|
5482
|
+
} & Pick<IrlOfflineNotifyResult, 'success'>);
|
|
5483
|
+
});
|
|
5283
5484
|
export declare type SetBasketItemMiGroupMutationVariables = Exact<{
|
|
5284
5485
|
convertCurrencyTo?: Maybe<Scalars['String']>;
|
|
5285
5486
|
basketItem: Scalars['ID'];
|
|
@@ -5364,7 +5565,7 @@ export declare type UpdateBasketTitleMutation = ({
|
|
|
5364
5565
|
});
|
|
5365
5566
|
export declare type UserFieldsFragment = ({
|
|
5366
5567
|
__typename?: 'User';
|
|
5367
|
-
} & Pick<User, 'id' | 'title' | 'forename' | 'surname' | 'email' | 'username' | 'employeeId' | 'createdAt' | 'updatedAt' | 'dob' | 'admin' | 'tmcAdmin' | 'companyAdmin' | 'bookerType' | 'authMethods' | 'active' | 'passwordLastUpdated'> & {
|
|
5568
|
+
} & Pick<User, 'id' | 'title' | 'forename' | 'surname' | 'email' | 'username' | 'employeeId' | 'createdAt' | 'updatedAt' | 'dob' | 'admin' | 'tmcAdmin' | 'companyAdmin' | 'bookerType' | 'authMethods' | 'active' | 'passwordLastUpdated' | 'emergencyContactName' | 'emergencyContactPhone' | 'emergencyContactEmail'> & {
|
|
5368
5569
|
selectedLanguage: ({
|
|
5369
5570
|
__typename?: 'Language';
|
|
5370
5571
|
} & Pick<Language, 'id' | 'name' | 'isoCode'>);
|
|
@@ -5386,6 +5587,39 @@ export declare type UserFieldsFragment = ({
|
|
|
5386
5587
|
preferences?: Maybe<Array<({
|
|
5387
5588
|
__typename?: 'UserPreference';
|
|
5388
5589
|
} & Pick<UserPreference, 'id' | 'serviceType' | 'preferenceKey' | 'preferenceValue' | 'createdAt' | 'updatedAt'>)>>;
|
|
5590
|
+
userMiDefaultValues?: Maybe<Array<({
|
|
5591
|
+
__typename?: 'UserMiDefaultValue';
|
|
5592
|
+
} & Pick<UserMiDefaultValue, 'freeTextValue'> & {
|
|
5593
|
+
service?: Maybe<({
|
|
5594
|
+
__typename?: 'Service';
|
|
5595
|
+
} & Pick<Service, 'id' | 'type' | 'name' | 'description' | 'supplierUrl' | 'active' | 'apiEndpointUrl' | 'basketItemTtl' | 'cancellable' | 'amendable' | 'detailSchema' | 'searchQuerySchema'>)>;
|
|
5596
|
+
managementInfo?: Maybe<({
|
|
5597
|
+
__typename?: 'ManagementInfo';
|
|
5598
|
+
} & Pick<ManagementInfo, 'id' | 'dbId' | 'name' | 'description' | 'handoff' | 'valueMask' | 'uiPresentation' | 'mandatory' | 'perPassenger' | 'perBooking' | 'agentOnly' | 'createdAt' | 'updatedAt' | 'fixed' | 'group'> & {
|
|
5599
|
+
fixedValue?: Maybe<({
|
|
5600
|
+
__typename?: 'ManagementInfoValue';
|
|
5601
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
5602
|
+
defaultValue?: Maybe<({
|
|
5603
|
+
__typename?: 'ManagementInfoValue';
|
|
5604
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
5605
|
+
values: Array<({
|
|
5606
|
+
__typename?: 'ManagementInfoValue';
|
|
5607
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
5608
|
+
selectedValues: Array<({
|
|
5609
|
+
__typename?: 'SelectedManagementInfoValue';
|
|
5610
|
+
} & Pick<SelectedManagementInfoValue, 'freeValue' | 'basketLevelValue' | 'userLevelValue'> & {
|
|
5611
|
+
value?: Maybe<({
|
|
5612
|
+
__typename?: 'ManagementInfoValue';
|
|
5613
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
5614
|
+
user?: Maybe<({
|
|
5615
|
+
__typename?: 'User';
|
|
5616
|
+
} & Pick<User, 'id' | 'title' | 'forename' | 'surname' | 'email' | 'username' | 'employeeId' | 'createdAt' | 'updatedAt' | 'dob' | 'admin' | 'companyAdmin' | 'bookerType' | 'authMethods' | 'active' | 'passwordLastUpdated'>)>;
|
|
5617
|
+
})>;
|
|
5618
|
+
})>;
|
|
5619
|
+
managementInfoValue?: Maybe<({
|
|
5620
|
+
__typename?: 'ManagementInfoValue';
|
|
5621
|
+
} & Pick<ManagementInfoValue, 'id' | 'label' | 'value' | 'default' | 'fixed' | 'agentOnly'>)>;
|
|
5622
|
+
})>>;
|
|
5389
5623
|
});
|
|
5390
5624
|
export declare type GetUserServicesQueryVariables = Exact<{
|
|
5391
5625
|
[key: string]: never;
|
|
@@ -5439,10 +5673,16 @@ export declare type SetUserLanguageMutation = ({
|
|
|
5439
5673
|
} & {
|
|
5440
5674
|
setUserLanguage: ({
|
|
5441
5675
|
__typename?: 'User';
|
|
5442
|
-
} & Pick<User, 'id'> & {
|
|
5676
|
+
} & Pick<User, 'id' | 'title' | 'forename' | 'surname' | 'email' | 'dob'> & {
|
|
5443
5677
|
selectedLanguage: ({
|
|
5444
5678
|
__typename?: 'Language';
|
|
5445
5679
|
} & Pick<Language, 'id' | 'name'>);
|
|
5680
|
+
availableLanguages: Array<({
|
|
5681
|
+
__typename?: 'Language';
|
|
5682
|
+
} & Pick<Language, 'id' | 'name' | 'isoCode'>)>;
|
|
5683
|
+
phoneNumbers: Array<({
|
|
5684
|
+
__typename?: 'PhoneNumber';
|
|
5685
|
+
} & Pick<PhoneNumber, 'id' | 'description' | 'countryCode' | 'areaCode' | 'number' | 'extension' | 'type' | 'officePrimary' | 'userPrimary'>)>;
|
|
5446
5686
|
});
|
|
5447
5687
|
});
|
|
5448
5688
|
export declare type GetUserQueryVariables = Exact<{
|
|
@@ -5619,6 +5859,30 @@ export declare namespace DeleteUserAddress {
|
|
|
5619
5859
|
type Variables = DeleteUserAddressMutationVariables;
|
|
5620
5860
|
type Mutation = DeleteUserAddressMutation;
|
|
5621
5861
|
}
|
|
5862
|
+
export declare namespace EditUser {
|
|
5863
|
+
type Variables = EditUserMutationVariables;
|
|
5864
|
+
type Mutation = EditUserMutation;
|
|
5865
|
+
type EditUser = EditUserMutation['editUser'];
|
|
5866
|
+
type SelectedLanguage = EditUserMutation['editUser']['selectedLanguage'];
|
|
5867
|
+
type AvailableLanguages = EditUserMutation['editUser']['availableLanguages'][number];
|
|
5868
|
+
type Approvers = EditUserMutation['editUser']['approvers'][number];
|
|
5869
|
+
type ApproverFor = EditUserMutation['editUser']['approverFor'][number];
|
|
5870
|
+
type PhoneNumbers = EditUserMutation['editUser']['phoneNumbers'][number];
|
|
5871
|
+
type Addresses = EditUserMutation['editUser']['addresses'][number];
|
|
5872
|
+
type UserMiDefaultValues = EditUserMutation['editUser']['userMiDefaultValues'][number];
|
|
5873
|
+
type Service = EditUserMutation['editUser']['userMiDefaultValues'][number]['service'];
|
|
5874
|
+
type ManagementInfo = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfo'];
|
|
5875
|
+
type _Service = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfo']['service'];
|
|
5876
|
+
type FixedValue = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfo']['fixedValue'];
|
|
5877
|
+
type DefaultValue = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfo']['defaultValue'];
|
|
5878
|
+
type Values = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfo']['values'][number];
|
|
5879
|
+
type SelectedValues = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfo']['selectedValues'][number];
|
|
5880
|
+
type Value = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfo']['selectedValues'][number]['value'];
|
|
5881
|
+
type ManagementInfoValue = EditUserMutation['editUser']['userMiDefaultValues'][number]['managementInfoValue'];
|
|
5882
|
+
type Documents = EditUserMutation['editUser']['documents'][number];
|
|
5883
|
+
type LoyaltyCodes = EditUserMutation['editUser']['loyaltyCodes'][number];
|
|
5884
|
+
type Preferences = EditUserMutation['editUser']['preferences'][number];
|
|
5885
|
+
}
|
|
5622
5886
|
export declare namespace EmailBasket {
|
|
5623
5887
|
type Variables = EmailBasketQueryVariables;
|
|
5624
5888
|
type Query = EmailBasketQuery;
|
|
@@ -5731,6 +5995,11 @@ export declare namespace FlightJourneyFields {
|
|
|
5731
5995
|
type Other = FlightJourneyFieldsFragment['fareConditions']['other'][number];
|
|
5732
5996
|
type OriginAirportDetail = FlightJourneyFieldsFragment['originAirportDetail'];
|
|
5733
5997
|
}
|
|
5998
|
+
export declare namespace GetAllAirlines {
|
|
5999
|
+
type Variables = GetAllAirlinesQueryVariables;
|
|
6000
|
+
type Query = GetAllAirlinesQuery;
|
|
6001
|
+
type GetAllAirlines = GetAllAirlinesQuery['getAllAirlines'][number];
|
|
6002
|
+
}
|
|
5734
6003
|
export declare namespace GetCovidMicrositeToken {
|
|
5735
6004
|
type Variables = GetCovidMicrositeTokenQueryVariables;
|
|
5736
6005
|
type Query = GetCovidMicrositeTokenQuery;
|
|
@@ -5740,6 +6009,10 @@ export declare namespace GetCarHireDepots {
|
|
|
5740
6009
|
type Query = GetCarHireDepotsQuery;
|
|
5741
6010
|
type GetCarHireDepots = GetCarHireDepotsQuery['getCarHireDepots'][number];
|
|
5742
6011
|
}
|
|
6012
|
+
export declare namespace GetCarHireProviders {
|
|
6013
|
+
type Variables = GetCarHireProvidersQueryVariables;
|
|
6014
|
+
type Query = GetCarHireProvidersQuery;
|
|
6015
|
+
}
|
|
5743
6016
|
export declare namespace GetConfermaOffice {
|
|
5744
6017
|
type Variables = GetConfermaOfficeQueryVariables;
|
|
5745
6018
|
type Query = GetConfermaOfficeQuery;
|
|
@@ -5805,6 +6078,10 @@ export declare namespace GetFlightSeatMap {
|
|
|
5805
6078
|
type Errors = GetFlightSeatMapQuery['getFlightSeatMap']['errors'][number];
|
|
5806
6079
|
type Service = GetFlightSeatMapQuery['getFlightSeatMap']['errors'][number]['service'];
|
|
5807
6080
|
}
|
|
6081
|
+
export declare namespace GetHotelChains {
|
|
6082
|
+
type Variables = GetHotelChainsQueryVariables;
|
|
6083
|
+
type Query = GetHotelChainsQuery;
|
|
6084
|
+
}
|
|
5808
6085
|
export declare namespace GetIrlDiscountCards {
|
|
5809
6086
|
type Variables = GetIrlDiscountCardsQueryVariables;
|
|
5810
6087
|
type Query = GetIrlDiscountCardsQuery;
|
|
@@ -5839,6 +6116,10 @@ export declare namespace GetRailcards {
|
|
|
5839
6116
|
type Query = GetRailcardsQuery;
|
|
5840
6117
|
type GetRailcards = GetRailcardsQuery['getRailcards'][number];
|
|
5841
6118
|
}
|
|
6119
|
+
export declare namespace GetRailProviders {
|
|
6120
|
+
type Variables = GetRailProvidersQueryVariables;
|
|
6121
|
+
type Query = GetRailProvidersQuery;
|
|
6122
|
+
}
|
|
5842
6123
|
export declare namespace GetRiskAlerts {
|
|
5843
6124
|
type Variables = GetRiskAlertsQueryVariables;
|
|
5844
6125
|
type Query = GetRiskAlertsQuery;
|
|
@@ -6055,6 +6336,14 @@ export declare namespace SearchEurostar {
|
|
|
6055
6336
|
type _BaggageAllowance = SearchEurostarQuery['searchEurostar']['results']['multi'][number]['results'][number]['baggageAllowance'][number];
|
|
6056
6337
|
type Errors = SearchEurostarQuery['searchEurostar']['errors'][number];
|
|
6057
6338
|
}
|
|
6339
|
+
export declare namespace SearchFastTrack {
|
|
6340
|
+
type Variables = SearchFastTrackQueryVariables;
|
|
6341
|
+
type Query = SearchFastTrackQuery;
|
|
6342
|
+
type SearchFastTrack = SearchFastTrackQuery['searchFastTrack'];
|
|
6343
|
+
type Results = SearchFastTrackQuery['searchFastTrack']['results'][number];
|
|
6344
|
+
type Errors = SearchFastTrackQuery['searchFastTrack']['errors'][number];
|
|
6345
|
+
type Service = SearchFastTrackQuery['searchFastTrack']['errors'][number]['service'];
|
|
6346
|
+
}
|
|
6058
6347
|
export declare namespace SearchFlightsV2 {
|
|
6059
6348
|
type Variables = SearchFlightsV2QueryVariables;
|
|
6060
6349
|
type Query = SearchFlightsV2Query;
|
|
@@ -6185,6 +6474,11 @@ export declare namespace SearchUserAddress {
|
|
|
6185
6474
|
type Query = SearchUserAddressQuery;
|
|
6186
6475
|
type GetUserAddresses = SearchUserAddressQuery['getUserAddresses'][number];
|
|
6187
6476
|
}
|
|
6477
|
+
export declare namespace SendOfflineNotification {
|
|
6478
|
+
type Variables = SendOfflineNotificationQueryVariables;
|
|
6479
|
+
type Query = SendOfflineNotificationQuery;
|
|
6480
|
+
type SendOfflineNotification = SendOfflineNotificationQuery['sendOfflineNotification'];
|
|
6481
|
+
}
|
|
6188
6482
|
export declare namespace SetBasketItemMiGroup {
|
|
6189
6483
|
type Variables = SetBasketItemMiGroupMutationVariables;
|
|
6190
6484
|
type Mutation = SetBasketItemMiGroupMutation;
|
|
@@ -6224,6 +6518,16 @@ export declare namespace UserFields {
|
|
|
6224
6518
|
type Documents = UserFieldsFragment['documents'][number];
|
|
6225
6519
|
type LoyaltyCodes = UserFieldsFragment['loyaltyCodes'][number];
|
|
6226
6520
|
type Preferences = UserFieldsFragment['preferences'][number];
|
|
6521
|
+
type UserMiDefaultValues = UserFieldsFragment['userMiDefaultValues'][number];
|
|
6522
|
+
type Service = UserFieldsFragment['userMiDefaultValues'][number]['service'];
|
|
6523
|
+
type ManagementInfo = UserFieldsFragment['userMiDefaultValues'][number]['managementInfo'];
|
|
6524
|
+
type FixedValue = UserFieldsFragment['userMiDefaultValues'][number]['managementInfo']['fixedValue'];
|
|
6525
|
+
type DefaultValue = UserFieldsFragment['userMiDefaultValues'][number]['managementInfo']['defaultValue'];
|
|
6526
|
+
type Values = UserFieldsFragment['userMiDefaultValues'][number]['managementInfo']['values'][number];
|
|
6527
|
+
type SelectedValues = UserFieldsFragment['userMiDefaultValues'][number]['managementInfo']['selectedValues'][number];
|
|
6528
|
+
type Value = UserFieldsFragment['userMiDefaultValues'][number]['managementInfo']['selectedValues'][number]['value'];
|
|
6529
|
+
type User = UserFieldsFragment['userMiDefaultValues'][number]['managementInfo']['selectedValues'][number]['user'];
|
|
6530
|
+
type ManagementInfoValue = UserFieldsFragment['userMiDefaultValues'][number]['managementInfoValue'];
|
|
6227
6531
|
}
|
|
6228
6532
|
export declare namespace GetUserServices {
|
|
6229
6533
|
type Variables = GetUserServicesQueryVariables;
|
|
@@ -6251,6 +6555,8 @@ export declare namespace SetUserLanguage {
|
|
|
6251
6555
|
type Mutation = SetUserLanguageMutation;
|
|
6252
6556
|
type SetUserLanguage = SetUserLanguageMutation['setUserLanguage'];
|
|
6253
6557
|
type SelectedLanguage = SetUserLanguageMutation['setUserLanguage']['selectedLanguage'];
|
|
6558
|
+
type AvailableLanguages = SetUserLanguageMutation['setUserLanguage']['availableLanguages'][number];
|
|
6559
|
+
type PhoneNumbers = SetUserLanguageMutation['setUserLanguage']['phoneNumbers'][number];
|
|
6254
6560
|
}
|
|
6255
6561
|
export declare namespace GetUser {
|
|
6256
6562
|
type Variables = GetUserQueryVariables;
|
|
@@ -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, GetUserMiAutoSuggestValues, GetUserRecentSearches, GetUserServicesQuery, GetUserUiConfigsQuery, GetUserFavouriteSearches, HotelItinerary, HotelRoom, Office, Query, SaveRecentSearchMutation, SaveUserAddressMutation, SearchAirlines, SearchAirports, SearchCabHire, SearchCarHire, SearchCitiesQuery, SearchEurostar, SearchFlightsV2, SearchHotels, SearchIrl, SearchIrlSupplierStationsQuery, SearchLounges, SearchParking, SearchPostcodesQuery, SearchRail, SearchRailStationsQuery, SearchUserCanBookFor, SendBasketForApprovalMutation, SearchError, SearchConfermaCities, IrlTicketOption, GetIrlDiscountCards, ServiceType, GetRailLiveDeparturesQuery, HotelTag, RailJourneyFare, RailJourneyOption, GetFlightSeatMap, SaveFavouriteSearchMutation } from './graphql.types';
|
|
2
|
+
import { Address, CarHireDepotResult, CancelBooking, FlightCabinClass, FlightFareTotal, FlightItinerary, FlightJourney, GetFlightFareRules, GetMultipleHotelsAvailability, GetRiskAlertsQuery, GetUser, GetUserBasket, GetUserBaskets, GetUserMessagesQuery, GetUserMiAutoSuggestValues, GetUserRecentSearches, GetUserServicesQuery, GetUserUiConfigsQuery, GetUserFavouriteSearches, HotelItinerary, HotelRoom, Office, Query, SaveRecentSearchMutation, SaveUserAddressMutation, SearchAirlines, SearchAirports, SearchCabHire, SearchCarHire, SearchCitiesQuery, SearchEurostar, SearchFlightsV2, SearchHotels, SearchIrl, SearchIrlSupplierStationsQuery, SearchLounges, SearchParking, SearchPostcodesQuery, SearchRail, SearchRailStationsQuery, SearchUserCanBookFor, SendBasketForApprovalMutation, SearchError, SearchConfermaCities, IrlTicketOption, GetIrlDiscountCards, ServiceType, GetRailLiveDeparturesQuery, HotelTag, RailJourneyFare, RailJourneyOption, GetFlightSeatMap, SaveFavouriteSearchMutation, PreferenceKey, SearchFastTrack, SendOfflineNotificationQuery, GetAllAirlinesQuery, DocType, DocGender, DistanceTypes } from './graphql.types';
|
|
3
3
|
export declare type HotelSearchResultArray = {
|
|
4
4
|
results?: HotelItinerary[];
|
|
5
5
|
errors?: SearchError[];
|
|
@@ -404,6 +404,8 @@ export declare type HotelQuoteResult = Unpacked<SearchHotels.Query['searchHotels
|
|
|
404
404
|
export declare type HotelQuoteResultArray = HotelQuoteResult[];
|
|
405
405
|
export declare type LoungeQuoteResultArray = SearchLounges.Query['searchLounges']['results'];
|
|
406
406
|
export declare type LoungeQuoteResult = Unpacked<LoungeQuoteResultArray>;
|
|
407
|
+
export declare type FastTrackQuoteResultArray = SearchFastTrack.Query['searchFastTrack']['results'];
|
|
408
|
+
export declare type FastTrackQuoteResult = Unpacked<FastTrackQuoteResultArray>;
|
|
407
409
|
export declare type ParkingQuoteResultArray = SearchParking.Query['searchParking']['results'];
|
|
408
410
|
export declare type ParkingQuoteResult = Unpacked<ParkingQuoteResultArray>;
|
|
409
411
|
export declare type AirlinesSearchResultArray = SearchAirlines.SearchAirlines;
|
|
@@ -422,8 +424,16 @@ export declare type GetUserCompanyOfficesResult = Office;
|
|
|
422
424
|
export declare type GetUserCompanyOfficesResultArray = GetUserCompanyOfficesResult[];
|
|
423
425
|
export declare type SearchHotelChainsResult = string;
|
|
424
426
|
export declare type SearchHotelChainsResultArray = SearchHotelChainsResult[];
|
|
427
|
+
export declare type GetHotelChainsResult = string;
|
|
428
|
+
export declare type GetHotelChainsResultArray = GetHotelChainsResult[];
|
|
429
|
+
export declare type GetCarHireProvidersResult = string;
|
|
430
|
+
export declare type GetCarHireProvidersResultArray = GetCarHireProvidersResult[];
|
|
431
|
+
export declare type GetAllAirlinesResult = GetAllAirlinesQuery['getAllAirlines'];
|
|
432
|
+
export declare type GetAllAirlinesResultArray = GetAllAirlinesResult[];
|
|
425
433
|
export declare type GetConfermaRoomImagesResult = string;
|
|
426
434
|
export declare type GetConfermaRoomImagesResultArray = GetConfermaRoomImagesResult[];
|
|
435
|
+
export declare type getRailProvidersResult = string;
|
|
436
|
+
export declare type getRailProvidersResultArray = getRailProvidersResult[];
|
|
427
437
|
export declare type SearchRailStationsResultArray = SearchRailStationsQuery['searchRailStations'];
|
|
428
438
|
export declare type SearchRailStationsResult = Unpacked<SearchRailStationsResultArray>;
|
|
429
439
|
export declare type SearchRailLiveDeparturesResult = GetRailLiveDeparturesQuery['getRailLiveDepartures'];
|
|
@@ -436,6 +446,7 @@ export declare type GetUserAddressResult = Unpacked<GetUserAddressResultArray>;
|
|
|
436
446
|
export declare type GetUserPhoneNumberResultArray = GetUserResult['phoneNumbers'];
|
|
437
447
|
export declare type GetUserPhoneNumberResult = Unpacked<GetUserPhoneNumberResultArray>;
|
|
438
448
|
export declare type UserMessagesResult = GetUserMessagesQuery['getUserMessages'];
|
|
449
|
+
export declare type SendOfflineNotificationsResult = SendOfflineNotificationQuery['sendOfflineNotification'];
|
|
439
450
|
export declare type UserProductsResult = GetUserServicesQuery['getUserServices'];
|
|
440
451
|
export declare type UserAddressesResult = Query['getUserAddresses'];
|
|
441
452
|
export declare type UserUiConfigsResult = GetUserUiConfigsQuery['getUserUIConfigs']['all'];
|
|
@@ -623,4 +634,17 @@ export declare enum WellbeingEnum {
|
|
|
623
634
|
WELLBEING = "/results/wellbeing"
|
|
624
635
|
}
|
|
625
636
|
export declare const maxTravellerWellbeing: number;
|
|
637
|
+
export declare const PersonTitles: PersonTitle[];
|
|
638
|
+
export interface PersonTitle {
|
|
639
|
+
title: string;
|
|
640
|
+
gender: string;
|
|
641
|
+
}
|
|
642
|
+
export declare const PREFERENCE_VALUES: PreferenceValue[];
|
|
643
|
+
export interface PreferenceValue {
|
|
644
|
+
label: string;
|
|
645
|
+
type: PreferenceKey | DocType | DocGender | DistanceTypes;
|
|
646
|
+
}
|
|
647
|
+
export declare const DocTypes: PreferenceValue[];
|
|
648
|
+
export declare const Genders: PreferenceValue[];
|
|
649
|
+
export declare const DistanceType: PreferenceValue[];
|
|
626
650
|
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApolloQueryResult, FetchResult } from '@apollo/client/core';
|
|
2
|
+
import { UpdateableObject } from './object-updater-enterprise';
|
|
3
|
+
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { EditUserMutation, EditUserMutationVariables, User } from '../types/graphql.types';
|
|
6
|
+
declare type R = {
|
|
7
|
+
editUser: P;
|
|
8
|
+
};
|
|
9
|
+
declare type P = User;
|
|
10
|
+
declare type A = EditUserMutationVariables;
|
|
11
|
+
declare type M = EditUserMutation;
|
|
12
|
+
export declare type EditUserFetcherType = {
|
|
13
|
+
mutate: (a: A) => Observable<FetchResult<M>>;
|
|
14
|
+
};
|
|
15
|
+
export declare class BaseEditUserUpdater<Q extends EditUserFetcherType> extends UpdateableObject<Q, A, R, P, M> {
|
|
16
|
+
constructor(editUserGQL: Q, modalService: BaseModalOpenerService);
|
|
17
|
+
protected getDataFromResult(results: ApolloQueryResult<R>): P;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApolloQueryResult, FetchResult } from '@apollo/client/core';
|
|
2
|
+
import { UpdateableObject } from './object-updater-enterprise';
|
|
3
|
+
import { BaseModalOpenerService } from '../services/modal-opener.service';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { SetUserLanguageMutation, SetUserLanguageMutationVariables, User } from '../types/graphql.types';
|
|
6
|
+
declare type R = {
|
|
7
|
+
setUserLanguage: P;
|
|
8
|
+
};
|
|
9
|
+
declare type P = User;
|
|
10
|
+
declare type A = SetUserLanguageMutationVariables;
|
|
11
|
+
declare type M = SetUserLanguageMutation;
|
|
12
|
+
export declare type SetUserLanguageFetcherType = {
|
|
13
|
+
mutate: (a: A) => Observable<FetchResult<M>>;
|
|
14
|
+
};
|
|
15
|
+
export declare class BaseSetUserLanguageUpdater<Q extends SetUserLanguageFetcherType> extends UpdateableObject<Q, A, R, P, M> {
|
|
16
|
+
constructor(SetUserLanguageGQL: Q, modalService: BaseModalOpenerService);
|
|
17
|
+
protected getDataFromResult(results: ApolloQueryResult<R>): P;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public_api';
|
|
5
|
-
export { FetchableList as
|
|
6
|
-
export { FetchableObject as
|
|
7
|
-
export { BaseTester as
|
|
8
|
-
export { BasketItem as ɵa,
|
|
9
|
-
export { UpdateableObject as
|
|
5
|
+
export { FetchableList as ɵh } from './lib/vendor/fetchers/list-fetchable-enterprise';
|
|
6
|
+
export { FetchableObject as ɵi } from './lib/vendor/fetchers/object-fetchable-enterprise';
|
|
7
|
+
export { BaseTester as ɵk } from './lib/vendor/testers/base.tester';
|
|
8
|
+
export { BasketItem as ɵa, DistanceTypes as ɵb, DocGender as ɵc, DocType as ɵd, ManagementInfo as ɵe, PreferenceKey as ɵf, User as ɵg } from './lib/vendor/types/graphql.types';
|
|
9
|
+
export { UpdateableObject as ɵj } from './lib/vendor/updaters/object-updater-enterprise';
|