@sabstravtech/obtservices 0.2.2207061600 → 0.2.2207131000
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/components/with-component.d.ts +1 -0
- package/angular/lib/vendor/classes/helpers.d.ts +2 -1
- package/angular/lib/vendor/types/graphql.angular.types.d.ts +19 -13
- package/angular/sabstravtech-obtservices-angular.metadata.json +1 -1
- package/base/lib/vendor/classes/base-enterprise.d.ts +1 -0
- package/base/lib/vendor/classes/enviroment.d.ts +2 -0
- package/base/lib/vendor/classes/flight-enterprise-search.d.ts +0 -1
- package/base/lib/vendor/classes/hotel-enterprise-search.d.ts +0 -1
- package/base/lib/vendor/classes/irl-enterprise-search.d.ts +8 -1
- package/base/lib/vendor/classes/rail-enterprise-search.d.ts +0 -1
- package/base/lib/vendor/interfaces/Irail-enterprise-search.d.ts +6 -3
- package/base/lib/vendor/interfaces/rail-basket-item.interface.d.ts +1 -0
- package/base/lib/vendor/services/enterprise-basket.service.d.ts +1 -0
- package/base/lib/vendor/types/graphql.types.d.ts +19 -13
- package/bundles/sabstravtech-obtservices-angular.umd.js +31 -11
- 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 +369 -183
- 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/components/basket-panel.js +3 -2
- package/esm2015/angular/components/with-component.js +4 -1
- package/esm2015/angular/lib/vendor/classes/helpers.js +26 -15
- package/esm2015/angular/lib/vendor/types/graphql.angular.types.js +20 -11
- package/esm2015/base/lib/vendor/classes/base-enterprise.js +2 -1
- package/esm2015/base/lib/vendor/classes/carhire-enterprise-search.js +12 -7
- package/esm2015/base/lib/vendor/classes/enviroment.js +3 -1
- package/esm2015/base/lib/vendor/classes/eurostar-enterprise-search.js +10 -20
- package/esm2015/base/lib/vendor/classes/flight-enterprise-search.js +12 -5
- package/esm2015/base/lib/vendor/classes/hotel-enterprise-search.js +30 -22
- package/esm2015/base/lib/vendor/classes/irl-enterprise-search.js +87 -40
- package/esm2015/base/lib/vendor/classes/rail-enterprise-search.js +113 -51
- package/esm2015/base/lib/vendor/interfaces/Irail-enterprise-search.js +1 -1
- package/esm2015/base/lib/vendor/interfaces/rail-basket-item.interface.js +1 -1
- package/esm2015/base/lib/vendor/services/enterprise-basket.service.js +34 -14
- package/esm2015/base/lib/vendor/services/hotel-avallibility.service.js +9 -7
- package/esm2015/base/lib/vendor/services/search.service.js +53 -22
- package/esm2015/base/lib/vendor/types/graphql.types.js +2 -1
- package/fesm2015/sabstravtech-obtservices-angular.js +49 -25
- package/fesm2015/sabstravtech-obtservices-angular.js.map +1 -1
- package/fesm2015/sabstravtech-obtservices-base.js +354 -178
- package/fesm2015/sabstravtech-obtservices-base.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ export declare class BasketPanelComponent extends WithSubscriptionComponent impl
|
|
|
28
28
|
* ot the itiniary page if no more products to search for.
|
|
29
29
|
* @param basketItems
|
|
30
30
|
*/
|
|
31
|
-
continue(basketItems: BasketItem[]): void;
|
|
31
|
+
continue(basketItems: BasketItem[], selectedBasketIndex: string): void;
|
|
32
32
|
getItineraryUrl(basketId: string): string[];
|
|
33
33
|
getMainPageUrl(): string[];
|
|
34
34
|
getSearchPageUrl(): string[];
|
|
@@ -7,6 +7,7 @@ export declare class WithSubscriptionComponent implements OnDestroy {
|
|
|
7
7
|
protected subscribe<T>(observable: Observable<T> | Subject<T> | BehaviorSubject<T>, observerOrNext?: PartialObserver<T> | ((value: T) => void), error?: (error: any) => void, complete?: () => void): Subscription;
|
|
8
8
|
protected unsubscribe(innerSub: Subscription): void;
|
|
9
9
|
log(...data: any[]): void;
|
|
10
|
+
alwaysLog(...data: any[]): void;
|
|
10
11
|
trackbyId(index: number, item: {
|
|
11
12
|
id: string | number;
|
|
12
13
|
}): string | number;
|
|
@@ -21,7 +21,8 @@ export declare class HelperRoutines extends BaseHelperRoutines {
|
|
|
21
21
|
* @param {string} [elementId]
|
|
22
22
|
* @memberof Helpers
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
scrollTop(elementId?: string, smooth?: boolean): void;
|
|
25
|
+
isOnStaging(): boolean;
|
|
25
26
|
createPaymentGroup(multiPaymentGroup: BasketItem[]): any[];
|
|
26
27
|
/**
|
|
27
28
|
* @description - fill in fullfillment address for office, per item/passenger address is filled in on the address component
|
|
@@ -442,12 +442,16 @@ export declare type CarHireIdentifiers = {
|
|
|
442
442
|
rph?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
443
443
|
status?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
444
444
|
vehType?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
445
|
+
pickUpLocation?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
446
|
+
pickUpLocationCode?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
447
|
+
pickUpExtendedLocationCode?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
448
|
+
pickUpDateTime?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
449
|
+
pickUpLocationName?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
448
450
|
dropOffLocation?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
+
dropOffLocationCode?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
452
|
+
dropOffExtendedLocationCode?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
453
|
+
dropOffDateTime?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
454
|
+
dropOffLocationName?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
451
455
|
vendor?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
452
456
|
};
|
|
453
457
|
export declare type CarHireInputIdentifiers = {
|
|
@@ -455,12 +459,12 @@ export declare type CarHireInputIdentifiers = {
|
|
|
455
459
|
rph?: Maybe<Scalars['String']>;
|
|
456
460
|
status?: Maybe<Scalars['String']>;
|
|
457
461
|
vehType?: Maybe<Scalars['String']>;
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
462
|
+
pickUpLocationCode?: Maybe<Scalars['String']>;
|
|
463
|
+
pickUpExtendedLocationCode?: Maybe<Scalars['String']>;
|
|
464
|
+
pickUpLocationName?: Maybe<Scalars['String']>;
|
|
461
465
|
dropOffLocation?: Maybe<Scalars['String']>;
|
|
462
|
-
|
|
463
|
-
|
|
466
|
+
pickUpDateTime?: Maybe<Scalars['String']>;
|
|
467
|
+
dropOffDateTime?: Maybe<Scalars['String']>;
|
|
464
468
|
vendor?: Maybe<Scalars['String']>;
|
|
465
469
|
};
|
|
466
470
|
export declare type CarHireLocationInput = {
|
|
@@ -497,7 +501,8 @@ export declare enum CarHireType {
|
|
|
497
501
|
MonospaceEuropeanUse = "MonospaceEuropeanUse",
|
|
498
502
|
MotorHome = "MotorHome",
|
|
499
503
|
TwoWheelVehicle = "TwoWheelVehicle",
|
|
500
|
-
Roadster = "Roadster"
|
|
504
|
+
Roadster = "Roadster",
|
|
505
|
+
CommercialVanOrTruck = "CommercialVanOrTruck"
|
|
501
506
|
}
|
|
502
507
|
export declare type CarHireVehicle = {
|
|
503
508
|
__typename?: 'CarHireVehicle';
|
|
@@ -2836,6 +2841,7 @@ export declare type RailIdentifiers = {
|
|
|
2836
2841
|
allowedWith: Array<FieldWrapper<RailIdentifiers>>;
|
|
2837
2842
|
singleOrReturn?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2838
2843
|
bookingRef?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2844
|
+
signature?: Maybe<FieldWrapper<Scalars['String']>>;
|
|
2839
2845
|
};
|
|
2840
2846
|
export declare type RailIdentifiersAllowedWith = {
|
|
2841
2847
|
__typename?: 'RailIdentifiersAllowedWith';
|
|
@@ -3760,7 +3766,7 @@ export declare type CarHireAvailabilityDetailRequestQuery = ({
|
|
|
3760
3766
|
} & {
|
|
3761
3767
|
identifiers?: Maybe<({
|
|
3762
3768
|
__typename?: 'CarHireIdentifiers';
|
|
3763
|
-
} & Pick<CarHireIdentifiers, 'locator' | 'rph' | 'status' | 'vehType' | '
|
|
3769
|
+
} & Pick<CarHireIdentifiers, 'locator' | 'rph' | 'status' | 'vehType' | 'pickUpLocation' | 'pickUpLocationCode' | 'pickUpExtendedLocationCode' | 'pickUpDateTime' | 'pickUpLocationName' | 'dropOffLocation' | 'dropOffLocationCode' | 'dropOffExtendedLocationCode' | 'dropOffDateTime' | 'dropOffLocationName' | 'vendor'>)>;
|
|
3764
3770
|
vendor?: Maybe<({
|
|
3765
3771
|
__typename?: 'CarHireVendor';
|
|
3766
3772
|
} & Pick<CarHireVendor, 'name' | 'logo'>)>;
|
|
@@ -3805,7 +3811,7 @@ export declare type SearchCarHireQuery = ({
|
|
|
3805
3811
|
} & Pick<CarHireFareInfo, 'title' | 'type' | 'code' | 'supplierCode'>)>;
|
|
3806
3812
|
identifiers?: Maybe<({
|
|
3807
3813
|
__typename?: 'CarHireIdentifiers';
|
|
3808
|
-
} & Pick<CarHireIdentifiers, 'locator' | 'rph' | 'status' | 'vehType' | '
|
|
3814
|
+
} & Pick<CarHireIdentifiers, 'locator' | 'rph' | 'status' | 'vehType' | 'pickUpLocation' | 'pickUpLocationCode' | 'pickUpExtendedLocationCode' | 'pickUpDateTime' | 'pickUpLocationName' | 'dropOffLocation' | 'dropOffLocationCode' | 'dropOffExtendedLocationCode' | 'dropOffDateTime' | 'dropOffLocationName' | 'vendor'>)>;
|
|
3809
3815
|
displayRecord?: Maybe<({
|
|
3810
3816
|
__typename?: 'CarHireDisplayRecord';
|
|
3811
3817
|
} & Pick<CarHireDisplayRecord, 'status' | 'pickup' | 'dropoff' | 'price'> & {
|