@sabstravtech/obtservices 0.2.2511120840 → 0.2.2511131440
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 +2 -0
- package/base/lib/vendor/classes/bookable-basket.d.ts +1 -1
- package/base/lib/vendor/interfaces/Ienterprise-basket.service.d.ts +1 -1
- package/base/lib/vendor/services/enterprise-basket.service.d.ts +2 -1
- package/base/lib/vendor/types/graphql.types.d.ts +2 -0
- package/fesm2022/sabstravtech-obtservices-angular.mjs +1245 -1244
- package/fesm2022/sabstravtech-obtservices-angular.mjs.map +1 -1
- package/fesm2022/sabstravtech-obtservices-base.mjs +26 -32
- package/fesm2022/sabstravtech-obtservices-base.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3367,6 +3367,7 @@ export type MutationBookBasketArgs = {
|
|
|
3367
3367
|
convertCurrencyTo?: InputMaybe<Scalars['String']['input']>;
|
|
3368
3368
|
forValidation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3369
3369
|
id: Scalars['ID']['input'];
|
|
3370
|
+
notificationOptIn?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3370
3371
|
supplementaryInfo?: InputMaybe<Array<SupplementaryBookingInfo>>;
|
|
3371
3372
|
};
|
|
3372
3373
|
export type MutationCancelBookingArgs = {
|
|
@@ -13005,6 +13006,7 @@ export type BookBasketMutationVariables = Exact<{
|
|
|
13005
13006
|
id: Scalars['ID']['input'];
|
|
13006
13007
|
supplementaryInfo: Array<SupplementaryBookingInfo> | SupplementaryBookingInfo;
|
|
13007
13008
|
additionalEmail?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
13009
|
+
notificationOptIn?: InputMaybe<Scalars['Boolean']['input']>;
|
|
13008
13010
|
approverNotes?: InputMaybe<Scalars['String']['input']>;
|
|
13009
13011
|
}>;
|
|
13010
13012
|
export type BookBasketMutation = {
|
|
@@ -35,7 +35,7 @@ export declare class BookableBasket {
|
|
|
35
35
|
}): Promise<void>;
|
|
36
36
|
removeExpiredItems(): void;
|
|
37
37
|
setBasketItemPaymentOption(basketItem: BasketItem, paymentMethod: string): Promise<void>;
|
|
38
|
-
bookBasket(results: SupplementaryBookingInfo[], additionalEmail: string[], approverNotes?: string): Promise<void>;
|
|
38
|
+
bookBasket(results: SupplementaryBookingInfo[], additionalEmail: string[], notificationOptIn?: boolean, approverNotes?: string): Promise<void>;
|
|
39
39
|
private _needsMiGroups;
|
|
40
40
|
private _needsCorrectTravellers;
|
|
41
41
|
private _hasInvalidPrice;
|
|
@@ -75,7 +75,7 @@ export interface EnterpriseBasketServiceInterface {
|
|
|
75
75
|
copyInfo: CopyInfoInput[];
|
|
76
76
|
}, withSupplemental?: boolean): void;
|
|
77
77
|
setBasketItemMultipleMIValue(basketId: string, basketItemMultipleMIValue: SetMiValuesMutationVariables): Promise<void>;
|
|
78
|
-
bookBasket(basketid: string, supplementaryInfo: SupplementaryBookingInfo[], additionalEmail: string[], approverNotes?: string): Promise<void>;
|
|
78
|
+
bookBasket(basketid: string, supplementaryInfo: SupplementaryBookingInfo[], additionalEmail: string[], notificationOptIn?: boolean, approverNotes?: string): Promise<void>;
|
|
79
79
|
getBasket(query: {
|
|
80
80
|
convertCurrencyTo: string;
|
|
81
81
|
id: string;
|
|
@@ -308,7 +308,8 @@ export declare abstract class BaseEnterpriseBasketService<ANPU_Q extends AcceptN
|
|
|
308
308
|
setMiValues(isReassign: boolean, basketItemMIValues: SetMiValueInput | SetMiValueInput[]): Promise<void>;
|
|
309
309
|
setBasketItemPaymentOption(basket: BasketDetails, basketItem: BasketItem, paymentMethod: string): Promise<void>;
|
|
310
310
|
setBasketItemPaymentOptionNoUpdate(basketItem: BasketItem, paymentMethod: string): Observable<BasketDetails>;
|
|
311
|
-
bookBasket(basketid: string, supplementaryInfo: SupplementaryBookingInfo[], additionalEmail: string[],
|
|
311
|
+
bookBasket(basketid: string, supplementaryInfo: SupplementaryBookingInfo[], additionalEmail: string[], notificationOptIn?: boolean, // <-- ADD THIS PARAMETER
|
|
312
|
+
approverNotes?: string): Promise<void>;
|
|
312
313
|
moveBasketItem(originalBasketId: string, basketItem: BasketItem, basketIdToMoveTo: string): void;
|
|
313
314
|
updateBasketNotes(basketId: string, notes: string): void;
|
|
314
315
|
updateBasketTitle(basketId: string, title: string): void;
|
|
@@ -3365,6 +3365,7 @@ export type MutationBookBasketArgs = {
|
|
|
3365
3365
|
convertCurrencyTo?: InputMaybe<Scalars['String']['input']>;
|
|
3366
3366
|
forValidation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3367
3367
|
id: Scalars['ID']['input'];
|
|
3368
|
+
notificationOptIn?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3368
3369
|
supplementaryInfo?: InputMaybe<Array<SupplementaryBookingInfo>>;
|
|
3369
3370
|
};
|
|
3370
3371
|
export type MutationCancelBookingArgs = {
|
|
@@ -13003,6 +13004,7 @@ export type BookBasketMutationVariables = Exact<{
|
|
|
13003
13004
|
id: Scalars['ID']['input'];
|
|
13004
13005
|
supplementaryInfo: Array<SupplementaryBookingInfo> | SupplementaryBookingInfo;
|
|
13005
13006
|
additionalEmail?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
13007
|
+
notificationOptIn?: InputMaybe<Scalars['Boolean']['input']>;
|
|
13006
13008
|
approverNotes?: InputMaybe<Scalars['String']['input']>;
|
|
13007
13009
|
}>;
|
|
13008
13010
|
export type BookBasketMutation = {
|