@sabstravtech/obtservices 0.2.2512151220 → 0.2.2601130820
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/lib/vendor/types/graphql.angular.types.d.ts +16 -0
- package/base/lib/vendor/types/graphql.types.d.ts +16 -0
- package/fesm2022/sabstravtech-obtservices-angular.mjs +19 -6
- package/fesm2022/sabstravtech-obtservices-angular.mjs.map +1 -1
- package/fesm2022/sabstravtech-obtservices-base.mjs +6 -5
- package/fesm2022/sabstravtech-obtservices-base.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -12511,6 +12511,7 @@ export type FlightItineraryFieldsFragment = {
|
|
|
12511
12511
|
marriageGroup?: boolean | null;
|
|
12512
12512
|
fareBasisCode?: string | null;
|
|
12513
12513
|
additional?: any | null;
|
|
12514
|
+
segmentGroup?: number | null;
|
|
12514
12515
|
fareInfo?: {
|
|
12515
12516
|
__typename?: 'FlightSpecialFareInfo';
|
|
12516
12517
|
title: string;
|
|
@@ -12687,6 +12688,7 @@ export type FlightItineraryFieldsFragment = {
|
|
|
12687
12688
|
marriageGroup?: boolean | null;
|
|
12688
12689
|
fareBasisCode?: string | null;
|
|
12689
12690
|
additional?: any | null;
|
|
12691
|
+
segmentGroup?: number | null;
|
|
12690
12692
|
fareInfo?: {
|
|
12691
12693
|
__typename?: 'FlightSpecialFareInfo';
|
|
12692
12694
|
title: string;
|
|
@@ -14397,6 +14399,7 @@ export type GetFlightExchangeDetailsQuery = {
|
|
|
14397
14399
|
marriageGroup?: boolean | null;
|
|
14398
14400
|
fareBasisCode?: string | null;
|
|
14399
14401
|
additional?: any | null;
|
|
14402
|
+
segmentGroup?: number | null;
|
|
14400
14403
|
fareInfo?: {
|
|
14401
14404
|
__typename?: 'FlightSpecialFareInfo';
|
|
14402
14405
|
title: string;
|
|
@@ -14573,6 +14576,7 @@ export type GetFlightExchangeDetailsQuery = {
|
|
|
14573
14576
|
marriageGroup?: boolean | null;
|
|
14574
14577
|
fareBasisCode?: string | null;
|
|
14575
14578
|
additional?: any | null;
|
|
14579
|
+
segmentGroup?: number | null;
|
|
14576
14580
|
fareInfo?: {
|
|
14577
14581
|
__typename?: 'FlightSpecialFareInfo';
|
|
14578
14582
|
title: string;
|
|
@@ -15026,6 +15030,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15026
15030
|
marriageGroup?: boolean | null;
|
|
15027
15031
|
fareBasisCode?: string | null;
|
|
15028
15032
|
additional?: any | null;
|
|
15033
|
+
segmentGroup?: number | null;
|
|
15029
15034
|
fareInfo?: {
|
|
15030
15035
|
__typename?: 'FlightSpecialFareInfo';
|
|
15031
15036
|
title: string;
|
|
@@ -15202,6 +15207,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15202
15207
|
marriageGroup?: boolean | null;
|
|
15203
15208
|
fareBasisCode?: string | null;
|
|
15204
15209
|
additional?: any | null;
|
|
15210
|
+
segmentGroup?: number | null;
|
|
15205
15211
|
fareInfo?: {
|
|
15206
15212
|
__typename?: 'FlightSpecialFareInfo';
|
|
15207
15213
|
title: string;
|
|
@@ -15507,6 +15513,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15507
15513
|
marriageGroup?: boolean | null;
|
|
15508
15514
|
fareBasisCode?: string | null;
|
|
15509
15515
|
additional?: any | null;
|
|
15516
|
+
segmentGroup?: number | null;
|
|
15510
15517
|
fareInfo?: {
|
|
15511
15518
|
__typename?: 'FlightSpecialFareInfo';
|
|
15512
15519
|
title: string;
|
|
@@ -15683,6 +15690,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15683
15690
|
marriageGroup?: boolean | null;
|
|
15684
15691
|
fareBasisCode?: string | null;
|
|
15685
15692
|
additional?: any | null;
|
|
15693
|
+
segmentGroup?: number | null;
|
|
15686
15694
|
fareInfo?: {
|
|
15687
15695
|
__typename?: 'FlightSpecialFareInfo';
|
|
15688
15696
|
title: string;
|
|
@@ -27297,6 +27305,7 @@ export type SearchEurostarQuery = {
|
|
|
27297
27305
|
marriageGroup?: boolean | null;
|
|
27298
27306
|
fareBasisCode?: string | null;
|
|
27299
27307
|
additional?: any | null;
|
|
27308
|
+
segmentGroup?: number | null;
|
|
27300
27309
|
fareInfo?: {
|
|
27301
27310
|
__typename?: 'FlightSpecialFareInfo';
|
|
27302
27311
|
title: string;
|
|
@@ -27473,6 +27482,7 @@ export type SearchEurostarQuery = {
|
|
|
27473
27482
|
marriageGroup?: boolean | null;
|
|
27474
27483
|
fareBasisCode?: string | null;
|
|
27475
27484
|
additional?: any | null;
|
|
27485
|
+
segmentGroup?: number | null;
|
|
27476
27486
|
fareInfo?: {
|
|
27477
27487
|
__typename?: 'FlightSpecialFareInfo';
|
|
27478
27488
|
title: string;
|
|
@@ -27778,6 +27788,7 @@ export type SearchEurostarQuery = {
|
|
|
27778
27788
|
marriageGroup?: boolean | null;
|
|
27779
27789
|
fareBasisCode?: string | null;
|
|
27780
27790
|
additional?: any | null;
|
|
27791
|
+
segmentGroup?: number | null;
|
|
27781
27792
|
fareInfo?: {
|
|
27782
27793
|
__typename?: 'FlightSpecialFareInfo';
|
|
27783
27794
|
title: string;
|
|
@@ -27954,6 +27965,7 @@ export type SearchEurostarQuery = {
|
|
|
27954
27965
|
marriageGroup?: boolean | null;
|
|
27955
27966
|
fareBasisCode?: string | null;
|
|
27956
27967
|
additional?: any | null;
|
|
27968
|
+
segmentGroup?: number | null;
|
|
27957
27969
|
fareInfo?: {
|
|
27958
27970
|
__typename?: 'FlightSpecialFareInfo';
|
|
27959
27971
|
title: string;
|
|
@@ -28401,6 +28413,7 @@ export type SearchFlightsV2Query = {
|
|
|
28401
28413
|
marriageGroup?: boolean | null;
|
|
28402
28414
|
fareBasisCode?: string | null;
|
|
28403
28415
|
additional?: any | null;
|
|
28416
|
+
segmentGroup?: number | null;
|
|
28404
28417
|
fareInfo?: {
|
|
28405
28418
|
__typename?: 'FlightSpecialFareInfo';
|
|
28406
28419
|
title: string;
|
|
@@ -28577,6 +28590,7 @@ export type SearchFlightsV2Query = {
|
|
|
28577
28590
|
marriageGroup?: boolean | null;
|
|
28578
28591
|
fareBasisCode?: string | null;
|
|
28579
28592
|
additional?: any | null;
|
|
28593
|
+
segmentGroup?: number | null;
|
|
28580
28594
|
fareInfo?: {
|
|
28581
28595
|
__typename?: 'FlightSpecialFareInfo';
|
|
28582
28596
|
title: string;
|
|
@@ -28882,6 +28896,7 @@ export type SearchFlightsV2Query = {
|
|
|
28882
28896
|
marriageGroup?: boolean | null;
|
|
28883
28897
|
fareBasisCode?: string | null;
|
|
28884
28898
|
additional?: any | null;
|
|
28899
|
+
segmentGroup?: number | null;
|
|
28885
28900
|
fareInfo?: {
|
|
28886
28901
|
__typename?: 'FlightSpecialFareInfo';
|
|
28887
28902
|
title: string;
|
|
@@ -29058,6 +29073,7 @@ export type SearchFlightsV2Query = {
|
|
|
29058
29073
|
marriageGroup?: boolean | null;
|
|
29059
29074
|
fareBasisCode?: string | null;
|
|
29060
29075
|
additional?: any | null;
|
|
29076
|
+
segmentGroup?: number | null;
|
|
29061
29077
|
fareInfo?: {
|
|
29062
29078
|
__typename?: 'FlightSpecialFareInfo';
|
|
29063
29079
|
title: string;
|
|
@@ -12509,6 +12509,7 @@ export type FlightItineraryFieldsFragment = {
|
|
|
12509
12509
|
marriageGroup?: boolean | null;
|
|
12510
12510
|
fareBasisCode?: string | null;
|
|
12511
12511
|
additional?: any | null;
|
|
12512
|
+
segmentGroup?: number | null;
|
|
12512
12513
|
fareInfo?: {
|
|
12513
12514
|
__typename?: 'FlightSpecialFareInfo';
|
|
12514
12515
|
title: string;
|
|
@@ -12685,6 +12686,7 @@ export type FlightItineraryFieldsFragment = {
|
|
|
12685
12686
|
marriageGroup?: boolean | null;
|
|
12686
12687
|
fareBasisCode?: string | null;
|
|
12687
12688
|
additional?: any | null;
|
|
12689
|
+
segmentGroup?: number | null;
|
|
12688
12690
|
fareInfo?: {
|
|
12689
12691
|
__typename?: 'FlightSpecialFareInfo';
|
|
12690
12692
|
title: string;
|
|
@@ -14395,6 +14397,7 @@ export type GetFlightExchangeDetailsQuery = {
|
|
|
14395
14397
|
marriageGroup?: boolean | null;
|
|
14396
14398
|
fareBasisCode?: string | null;
|
|
14397
14399
|
additional?: any | null;
|
|
14400
|
+
segmentGroup?: number | null;
|
|
14398
14401
|
fareInfo?: {
|
|
14399
14402
|
__typename?: 'FlightSpecialFareInfo';
|
|
14400
14403
|
title: string;
|
|
@@ -14571,6 +14574,7 @@ export type GetFlightExchangeDetailsQuery = {
|
|
|
14571
14574
|
marriageGroup?: boolean | null;
|
|
14572
14575
|
fareBasisCode?: string | null;
|
|
14573
14576
|
additional?: any | null;
|
|
14577
|
+
segmentGroup?: number | null;
|
|
14574
14578
|
fareInfo?: {
|
|
14575
14579
|
__typename?: 'FlightSpecialFareInfo';
|
|
14576
14580
|
title: string;
|
|
@@ -15024,6 +15028,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15024
15028
|
marriageGroup?: boolean | null;
|
|
15025
15029
|
fareBasisCode?: string | null;
|
|
15026
15030
|
additional?: any | null;
|
|
15031
|
+
segmentGroup?: number | null;
|
|
15027
15032
|
fareInfo?: {
|
|
15028
15033
|
__typename?: 'FlightSpecialFareInfo';
|
|
15029
15034
|
title: string;
|
|
@@ -15200,6 +15205,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15200
15205
|
marriageGroup?: boolean | null;
|
|
15201
15206
|
fareBasisCode?: string | null;
|
|
15202
15207
|
additional?: any | null;
|
|
15208
|
+
segmentGroup?: number | null;
|
|
15203
15209
|
fareInfo?: {
|
|
15204
15210
|
__typename?: 'FlightSpecialFareInfo';
|
|
15205
15211
|
title: string;
|
|
@@ -15505,6 +15511,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15505
15511
|
marriageGroup?: boolean | null;
|
|
15506
15512
|
fareBasisCode?: string | null;
|
|
15507
15513
|
additional?: any | null;
|
|
15514
|
+
segmentGroup?: number | null;
|
|
15508
15515
|
fareInfo?: {
|
|
15509
15516
|
__typename?: 'FlightSpecialFareInfo';
|
|
15510
15517
|
title: string;
|
|
@@ -15681,6 +15688,7 @@ export type GetFlightSearchExchangeQuery = {
|
|
|
15681
15688
|
marriageGroup?: boolean | null;
|
|
15682
15689
|
fareBasisCode?: string | null;
|
|
15683
15690
|
additional?: any | null;
|
|
15691
|
+
segmentGroup?: number | null;
|
|
15684
15692
|
fareInfo?: {
|
|
15685
15693
|
__typename?: 'FlightSpecialFareInfo';
|
|
15686
15694
|
title: string;
|
|
@@ -27295,6 +27303,7 @@ export type SearchEurostarQuery = {
|
|
|
27295
27303
|
marriageGroup?: boolean | null;
|
|
27296
27304
|
fareBasisCode?: string | null;
|
|
27297
27305
|
additional?: any | null;
|
|
27306
|
+
segmentGroup?: number | null;
|
|
27298
27307
|
fareInfo?: {
|
|
27299
27308
|
__typename?: 'FlightSpecialFareInfo';
|
|
27300
27309
|
title: string;
|
|
@@ -27471,6 +27480,7 @@ export type SearchEurostarQuery = {
|
|
|
27471
27480
|
marriageGroup?: boolean | null;
|
|
27472
27481
|
fareBasisCode?: string | null;
|
|
27473
27482
|
additional?: any | null;
|
|
27483
|
+
segmentGroup?: number | null;
|
|
27474
27484
|
fareInfo?: {
|
|
27475
27485
|
__typename?: 'FlightSpecialFareInfo';
|
|
27476
27486
|
title: string;
|
|
@@ -27776,6 +27786,7 @@ export type SearchEurostarQuery = {
|
|
|
27776
27786
|
marriageGroup?: boolean | null;
|
|
27777
27787
|
fareBasisCode?: string | null;
|
|
27778
27788
|
additional?: any | null;
|
|
27789
|
+
segmentGroup?: number | null;
|
|
27779
27790
|
fareInfo?: {
|
|
27780
27791
|
__typename?: 'FlightSpecialFareInfo';
|
|
27781
27792
|
title: string;
|
|
@@ -27952,6 +27963,7 @@ export type SearchEurostarQuery = {
|
|
|
27952
27963
|
marriageGroup?: boolean | null;
|
|
27953
27964
|
fareBasisCode?: string | null;
|
|
27954
27965
|
additional?: any | null;
|
|
27966
|
+
segmentGroup?: number | null;
|
|
27955
27967
|
fareInfo?: {
|
|
27956
27968
|
__typename?: 'FlightSpecialFareInfo';
|
|
27957
27969
|
title: string;
|
|
@@ -28399,6 +28411,7 @@ export type SearchFlightsV2Query = {
|
|
|
28399
28411
|
marriageGroup?: boolean | null;
|
|
28400
28412
|
fareBasisCode?: string | null;
|
|
28401
28413
|
additional?: any | null;
|
|
28414
|
+
segmentGroup?: number | null;
|
|
28402
28415
|
fareInfo?: {
|
|
28403
28416
|
__typename?: 'FlightSpecialFareInfo';
|
|
28404
28417
|
title: string;
|
|
@@ -28575,6 +28588,7 @@ export type SearchFlightsV2Query = {
|
|
|
28575
28588
|
marriageGroup?: boolean | null;
|
|
28576
28589
|
fareBasisCode?: string | null;
|
|
28577
28590
|
additional?: any | null;
|
|
28591
|
+
segmentGroup?: number | null;
|
|
28578
28592
|
fareInfo?: {
|
|
28579
28593
|
__typename?: 'FlightSpecialFareInfo';
|
|
28580
28594
|
title: string;
|
|
@@ -28880,6 +28894,7 @@ export type SearchFlightsV2Query = {
|
|
|
28880
28894
|
marriageGroup?: boolean | null;
|
|
28881
28895
|
fareBasisCode?: string | null;
|
|
28882
28896
|
additional?: any | null;
|
|
28897
|
+
segmentGroup?: number | null;
|
|
28883
28898
|
fareInfo?: {
|
|
28884
28899
|
__typename?: 'FlightSpecialFareInfo';
|
|
28885
28900
|
title: string;
|
|
@@ -29056,6 +29071,7 @@ export type SearchFlightsV2Query = {
|
|
|
29056
29071
|
marriageGroup?: boolean | null;
|
|
29057
29072
|
fareBasisCode?: string | null;
|
|
29058
29073
|
additional?: any | null;
|
|
29074
|
+
segmentGroup?: number | null;
|
|
29059
29075
|
fareInfo?: {
|
|
29060
29076
|
__typename?: 'FlightSpecialFareInfo';
|
|
29061
29077
|
title: string;
|
|
@@ -138,7 +138,7 @@ class HelperRoutines extends BaseHelperRoutines {
|
|
|
138
138
|
if (value.type === SchemaFormat.object) {
|
|
139
139
|
current[key] = this.makeSchema(value);
|
|
140
140
|
}
|
|
141
|
-
else if (data?.required?.includes(key) &&
|
|
141
|
+
else if ((data?.required?.includes(key) || key === "ticketDeliveryOption") &&
|
|
142
142
|
value.type !== SchemaFormat.boolean &&
|
|
143
143
|
key !== SchemaFormat.passport) {
|
|
144
144
|
let validators = [Validators.required];
|
|
@@ -648,11 +648,22 @@ class WithSubscriptionComponent {
|
|
|
648
648
|
this.subSink.unsubscribe();
|
|
649
649
|
}
|
|
650
650
|
subscribe(observable, observerOrNext, error, complete) {
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
651
|
+
let subscription;
|
|
652
|
+
if (typeof observerOrNext === 'function') {
|
|
653
|
+
// It's a callback function
|
|
654
|
+
subscription = observable.subscribe({
|
|
655
|
+
next: observerOrNext,
|
|
656
|
+
error,
|
|
657
|
+
complete
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
else if (observerOrNext) {
|
|
661
|
+
// It's already an observer object
|
|
662
|
+
subscription = observable.subscribe(observerOrNext);
|
|
663
|
+
}
|
|
664
|
+
else {
|
|
665
|
+
subscription = observable.subscribe();
|
|
666
|
+
}
|
|
656
667
|
// Ensure that `this.subSink` is defined and correctly adds the subscription
|
|
657
668
|
this.subSink.add(subscription);
|
|
658
669
|
return subscription; // Return the original subscription
|
|
@@ -2277,6 +2288,7 @@ const FlightItineraryFieldsFragmentDoc = gql `
|
|
|
2277
2288
|
marriageGroup
|
|
2278
2289
|
fareBasisCode
|
|
2279
2290
|
additional
|
|
2291
|
+
segmentGroup
|
|
2280
2292
|
hiddenStops {
|
|
2281
2293
|
airport
|
|
2282
2294
|
destination
|
|
@@ -2440,6 +2452,7 @@ const FlightItineraryFieldsFragmentDoc = gql `
|
|
|
2440
2452
|
marriageGroup
|
|
2441
2453
|
fareBasisCode
|
|
2442
2454
|
additional
|
|
2455
|
+
segmentGroup
|
|
2443
2456
|
hiddenStops {
|
|
2444
2457
|
airport
|
|
2445
2458
|
destination
|