rsl-api-106 106.179.1 → 106.227.0
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/lib/mutations/index.d.ts +2 -1
- package/lib/mutations/index.js +3 -1
- package/lib/mutations/redirectPaymentGatewayForAccount.d.ts +2 -0
- package/lib/mutations/redirectPaymentGatewayForAccount.js +17 -0
- package/lib/outputs/cmsCriteria.d.ts +1 -0
- package/lib/outputs/cmsCriteria.js +13 -0
- package/lib/outputs/cmsCriteriaValue.d.ts +1 -0
- package/lib/outputs/cmsCriteriaValue.js +8 -0
- package/lib/outputs/customerDepositAccountInfo.d.ts +1 -0
- package/lib/outputs/customerDepositAccountInfo.js +18 -0
- package/lib/outputs/product.js +2 -0
- package/lib/outputs/productProposal.d.ts +1 -0
- package/lib/outputs/productProposal.js +12 -0
- package/lib/outputs/proposal.js +2 -0
- package/lib/outputs/service.js +3 -0
- package/lib/queries/getBookingCustomerDepositAccountInfos.d.ts +1 -0
- package/lib/queries/getBookingCustomerDepositAccountInfos.js +19 -0
- package/lib/queries/index.d.ts +2 -1
- package/lib/queries/index.js +3 -1
- package/lib/types/index.d.ts +87 -1
- package/lib/types/index.js +7 -1
- package/package.json +1 -1
package/lib/mutations/index.d.ts
CHANGED
|
@@ -74,4 +74,5 @@ import { uploadFilesMutation } from "./uploadFiles";
|
|
|
74
74
|
import { validateLyraPaymentMutation } from "./validateLyraPayment";
|
|
75
75
|
import { updatePartnerCustomerAccountMutation } from "./updatePartnerCustomerAccount";
|
|
76
76
|
import { generateLyraFormTokenMutation } from "./generateLyraFormToken";
|
|
77
|
-
|
|
77
|
+
import { redirectPaymentGatewayForAccountMutation } from "./redirectPaymentGatewayForAccount";
|
|
78
|
+
export { addBabyMutation, addCustomerDepositAccountPaymentsMutation, addDiscountCodeMutation, addGiftCodeMutation, addObservationMutation, addOccupantMutation, addPartnerToCartMutation, addProductToBookingMutation, addProductToOccupantMutation, chooseProposalFromKeysMutation, confirmFastCheckoutMutation, createCustomerAccountMutation, doFastCheckinMutation, doFastCheckoutMutation, facebookLoginMutation, loginMutation, loginAnyCustomerTypeMutation, loginETOModeMutation, loginPartnerMutation, logoutMutation, redirectPaymentGatewayForAmountMutation, redirectPaymentGatewayForCartMutation, redirectPaymentGatewayForInstalmentMutation, removeBookingFromCartMutation, removeCartPaymentsMutation, removeCustomerAccountMutation, removeDiscountCodeMutation, removeGiftCodeMutation, removeOccupantMutation, removeStayMutation, resetCartMutation, saveCartMutation, switchToPartnerConventionMutation, updateCartPaymentMethodMutation, updateCartPaymentPlansMutation, updateCustomerAccountMutation, updateCustomerBookingMutation, updateOccupantMutation, updatePartnerPaymentPlansMutation, updatePayerPaymentPlansMutation, updateTotalOccupantsMutation, updateRoomFromMapMutation, updatePrimaryOccupantMutation, updateStayTimeMutation, loginHash256Mutation, expireSessionMutation, unlockBookingMutation, updateBookingCriteriasMutation, changePasswordMutation, updateOccupantSkisetMeasurementsMutation, payOnStoredCreditCardMutation, setSessionLanguageMutation, addFidelityPointToProductMutation, chooseFerryProposalMutation, updateFerryAccommodationsMutation, updateFerryTravelersInformationMutation, saveFerryBookingMutation, cancelFerryBookingMutation, updateFerryBookingMutation, resetPendingFerryBookingMutation, updatePartnerAccountMutation, chooseRoundTripProposalsMutation, createServiceCustomerAccountMutation, updateServiceCustomerAccountMutation, disableServiceCustomerAccountMutation, addPartnerCustomerAccountMutation, disableEnablePartnerCustomerAccountMutation, validateLyraPaymentMutation, uploadFilesMutation, assignRoomMutation, unassignRoomMutation, updateProductCriteriasMutation, addCustomerDepositAccountPaymentsFromPaymentLinkMutation, redirectPaymentGatewayFromPaymentLinkMutation, updatePartnerCustomerAccountMutation, generateLyraFormTokenMutation, redirectPaymentGatewayForAccountMutation, };
|
package/lib/mutations/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.updateOccupantSkisetMeasurementsMutation = exports.changePasswordMutation = exports.updateBookingCriteriasMutation = exports.unlockBookingMutation = exports.expireSessionMutation = exports.loginHash256Mutation = exports.updateStayTimeMutation = exports.updatePrimaryOccupantMutation = exports.updateRoomFromMapMutation = exports.updateTotalOccupantsMutation = exports.updatePayerPaymentPlansMutation = exports.updatePartnerPaymentPlansMutation = exports.updateOccupantMutation = exports.updateCustomerBookingMutation = exports.updateCustomerAccountMutation = exports.updateCartPaymentPlansMutation = exports.updateCartPaymentMethodMutation = exports.switchToPartnerConventionMutation = exports.saveCartMutation = exports.resetCartMutation = exports.removeStayMutation = exports.removeOccupantMutation = exports.removeGiftCodeMutation = exports.removeDiscountCodeMutation = exports.removeCustomerAccountMutation = exports.removeCartPaymentsMutation = exports.removeBookingFromCartMutation = exports.redirectPaymentGatewayForInstalmentMutation = exports.redirectPaymentGatewayForCartMutation = exports.redirectPaymentGatewayForAmountMutation = exports.logoutMutation = exports.loginPartnerMutation = exports.loginETOModeMutation = exports.loginAnyCustomerTypeMutation = exports.loginMutation = exports.facebookLoginMutation = exports.doFastCheckoutMutation = exports.doFastCheckinMutation = exports.createCustomerAccountMutation = exports.confirmFastCheckoutMutation = exports.chooseProposalFromKeysMutation = exports.addProductToOccupantMutation = exports.addProductToBookingMutation = exports.addPartnerToCartMutation = exports.addOccupantMutation = exports.addObservationMutation = exports.addGiftCodeMutation = exports.addDiscountCodeMutation = exports.addCustomerDepositAccountPaymentsMutation = exports.addBabyMutation = void 0;
|
|
4
|
-
exports.generateLyraFormTokenMutation = exports.updatePartnerCustomerAccountMutation = exports.redirectPaymentGatewayFromPaymentLinkMutation = exports.addCustomerDepositAccountPaymentsFromPaymentLinkMutation = exports.updateProductCriteriasMutation = exports.unassignRoomMutation = exports.assignRoomMutation = exports.uploadFilesMutation = exports.validateLyraPaymentMutation = exports.disableEnablePartnerCustomerAccountMutation = exports.addPartnerCustomerAccountMutation = exports.disableServiceCustomerAccountMutation = exports.updateServiceCustomerAccountMutation = exports.createServiceCustomerAccountMutation = exports.chooseRoundTripProposalsMutation = exports.updatePartnerAccountMutation = exports.resetPendingFerryBookingMutation = exports.updateFerryBookingMutation = exports.cancelFerryBookingMutation = exports.saveFerryBookingMutation = exports.updateFerryTravelersInformationMutation = exports.updateFerryAccommodationsMutation = exports.chooseFerryProposalMutation = exports.addFidelityPointToProductMutation = exports.setSessionLanguageMutation = exports.payOnStoredCreditCardMutation = void 0;
|
|
4
|
+
exports.redirectPaymentGatewayForAccountMutation = exports.generateLyraFormTokenMutation = exports.updatePartnerCustomerAccountMutation = exports.redirectPaymentGatewayFromPaymentLinkMutation = exports.addCustomerDepositAccountPaymentsFromPaymentLinkMutation = exports.updateProductCriteriasMutation = exports.unassignRoomMutation = exports.assignRoomMutation = exports.uploadFilesMutation = exports.validateLyraPaymentMutation = exports.disableEnablePartnerCustomerAccountMutation = exports.addPartnerCustomerAccountMutation = exports.disableServiceCustomerAccountMutation = exports.updateServiceCustomerAccountMutation = exports.createServiceCustomerAccountMutation = exports.chooseRoundTripProposalsMutation = exports.updatePartnerAccountMutation = exports.resetPendingFerryBookingMutation = exports.updateFerryBookingMutation = exports.cancelFerryBookingMutation = exports.saveFerryBookingMutation = exports.updateFerryTravelersInformationMutation = exports.updateFerryAccommodationsMutation = exports.chooseFerryProposalMutation = exports.addFidelityPointToProductMutation = exports.setSessionLanguageMutation = exports.payOnStoredCreditCardMutation = void 0;
|
|
5
5
|
const addBaby_1 = require("./addBaby");
|
|
6
6
|
Object.defineProperty(exports, "addBabyMutation", { enumerable: true, get: function () { return addBaby_1.addBabyMutation; } });
|
|
7
7
|
const addCustomerDepositAccountPayments_1 = require("./addCustomerDepositAccountPayments");
|
|
@@ -154,3 +154,5 @@ const updatePartnerCustomerAccount_1 = require("./updatePartnerCustomerAccount")
|
|
|
154
154
|
Object.defineProperty(exports, "updatePartnerCustomerAccountMutation", { enumerable: true, get: function () { return updatePartnerCustomerAccount_1.updatePartnerCustomerAccountMutation; } });
|
|
155
155
|
const generateLyraFormToken_1 = require("./generateLyraFormToken");
|
|
156
156
|
Object.defineProperty(exports, "generateLyraFormTokenMutation", { enumerable: true, get: function () { return generateLyraFormToken_1.generateLyraFormTokenMutation; } });
|
|
157
|
+
const redirectPaymentGatewayForAccount_1 = require("./redirectPaymentGatewayForAccount");
|
|
158
|
+
Object.defineProperty(exports, "redirectPaymentGatewayForAccountMutation", { enumerable: true, get: function () { return redirectPaymentGatewayForAccount_1.redirectPaymentGatewayForAccountMutation; } });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.redirectPaymentGatewayForAccountMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const redirectPaymentGatewayForAccountMutation = () => {
|
|
6
|
+
return (0, client_1.gql) `
|
|
7
|
+
mutation redirectPaymentGatewayForAccount(
|
|
8
|
+
$session: Session!
|
|
9
|
+
$input: PaymentGatewayForAccountInput!
|
|
10
|
+
) {
|
|
11
|
+
redirectPaymentGatewayForAccount(session: $session, input: $input) {
|
|
12
|
+
gateway
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
};
|
|
17
|
+
exports.redirectPaymentGatewayForAccountMutation = redirectPaymentGatewayForAccountMutation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cmsCriteriaOutput: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cmsCriteriaOutput = void 0;
|
|
4
|
+
const cmsCriteriaValue_1 = require("./cmsCriteriaValue");
|
|
5
|
+
exports.cmsCriteriaOutput = `
|
|
6
|
+
classId,
|
|
7
|
+
cmsCriteriaValues {
|
|
8
|
+
${cmsCriteriaValue_1.cmsCriteriaValueOutput}
|
|
9
|
+
},
|
|
10
|
+
code,
|
|
11
|
+
inputType,
|
|
12
|
+
label
|
|
13
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cmsCriteriaValueOutput = "\n code,\n color,\n label\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const customerDepositAccountInfoOutput: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerDepositAccountInfoOutput = void 0;
|
|
4
|
+
const amount_1 = require("./amount");
|
|
5
|
+
const customerDepositAccount_1 = require("./customerDepositAccount");
|
|
6
|
+
const service_1 = require("./service");
|
|
7
|
+
exports.customerDepositAccountInfoOutput = `
|
|
8
|
+
bookingId,
|
|
9
|
+
depositAccount {
|
|
10
|
+
${customerDepositAccount_1.customerDepositAccountOutput}
|
|
11
|
+
}
|
|
12
|
+
expectedDepositAmount {
|
|
13
|
+
${amount_1.amountOutput}
|
|
14
|
+
}
|
|
15
|
+
service {
|
|
16
|
+
${service_1.serviceOutput}
|
|
17
|
+
}
|
|
18
|
+
`;
|
package/lib/outputs/product.js
CHANGED
|
@@ -30,6 +30,7 @@ const subProductOutput = `
|
|
|
30
30
|
description,
|
|
31
31
|
isPackage,
|
|
32
32
|
isBase,
|
|
33
|
+
isLongStay,
|
|
33
34
|
imagePath,
|
|
34
35
|
cmsCriterias {
|
|
35
36
|
${criteriaValue_1.criteriaValueOutput}
|
|
@@ -66,6 +67,7 @@ exports.productOutput = `
|
|
|
66
67
|
description,
|
|
67
68
|
isPackage,
|
|
68
69
|
isBase,
|
|
70
|
+
isLongStay,
|
|
69
71
|
imagePath,
|
|
70
72
|
cmsCriterias {
|
|
71
73
|
${criteriaValue_1.criteriaValueOutput}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const productProposalOutput = "\n desc,\n endDate,\n label,\n productCode,\n propertyId,\n proposalKey,\n startDate\n";
|
package/lib/outputs/proposal.js
CHANGED
|
@@ -38,6 +38,7 @@ exports.proposalOutput = `
|
|
|
38
38
|
${distribution_1.distributionOutput}
|
|
39
39
|
},
|
|
40
40
|
isCounterProposal,
|
|
41
|
+
isMonthPrice,
|
|
41
42
|
isAlternativeProposal,
|
|
42
43
|
lineItems {
|
|
43
44
|
${lineItem_1.lineItemsOutput}
|
|
@@ -74,6 +75,7 @@ exports.proposalWithoutRoomFeaturesOutput = `
|
|
|
74
75
|
${distribution_1.distributionWithoutRoomFeaturesOutput}
|
|
75
76
|
},
|
|
76
77
|
isCounterProposal,
|
|
78
|
+
isMonthPrice,
|
|
77
79
|
isAlternativeProposal,
|
|
78
80
|
lineItems {
|
|
79
81
|
${lineItem_1.lineItemsOutput}
|
package/lib/outputs/service.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getBookingCustomerDepositAccountInfosQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getBookingCustomerDepositAccountInfosQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const customerDepositAccountInfo_1 = require("../outputs/customerDepositAccountInfo");
|
|
6
|
+
const getBookingCustomerDepositAccountInfosQuery = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
query getBookingCustomerDepositAccountInfos($session: Session!) {
|
|
9
|
+
getBookingCustomerDepositAccountInfos (
|
|
10
|
+
session: $session
|
|
11
|
+
) {
|
|
12
|
+
customerDepositAccountInfos {
|
|
13
|
+
${customerDepositAccountInfo_1.customerDepositAccountInfoOutput}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
};
|
|
19
|
+
exports.getBookingCustomerDepositAccountInfosQuery = getBookingCustomerDepositAccountInfosQuery;
|
package/lib/queries/index.d.ts
CHANGED
|
@@ -76,4 +76,5 @@ import { getOwnerLeasesQuery } from "./getOwnerLeases";
|
|
|
76
76
|
import { getOwnerRoomPlanningDataQuery } from "./getOwnerRoomPlanningData";
|
|
77
77
|
import { getAvailableRoomsQuery } from "./getAvailableRooms";
|
|
78
78
|
import { getBookingPaymentPlansQuery } from "./getBookingPaymentPlans";
|
|
79
|
-
|
|
79
|
+
import { getBookingCustomerDepositAccountInfosQuery } from "./getBookingCustomerDepositAccountInfos";
|
|
80
|
+
export { checkModuleFacebookActivatedQuery, checkSessionActivatedQuery, getAccommodationProductsQuery, getAvailableRoomFeaturesQuery, getBookingDocumentsQuery, getBookingProductsQuery, getBookingRecordCriteriasQuery, getBrochuresQuery, getCampaignsQuery, getCartQuery, getCivilitiesQuery, getCountriesQuery, getCriteriaInformationQuery, getCustomerBookingsQuery, getCustomerCriteriasQuery, getCustomerDepositAccountsQuery, getCustomerGiftCodesQuery, getCustomerLoyaltyPointsQuery, getCustomerPrivilegeCardsQuery, getLanguagesQuery, getMapSelectorDataQuery, getMyLoginQuery, getNeobookingTranslationsQuery, getOccupantProductsQuery, getPartnerQuery, getPaymentMethodsQuery, getPaymentPlansQuery, getPostCodeApiSimpleQuery, getPostCodeApiDetailQuery, getPrivilegeCardTypesQuery, getProductCategoriesQuery, getPropertiesQuery, getFavoritesPropertiesQuery, getPropertiesSelectQuery, getProposalsQuery, getProposalsByKeysQuery, getProposalsByPropertiesQuery, getResalysVersionQuery, getRoomTypeCategoriesQuery, getRoomTypesQuery, getSalesChannelModeQuery, getSessionQuery, getTranslationsQuery, renewPasswordQuery, requestBrochureQuery, hasProductsForOccupantQuery, getProposalByRoomTypesQuery, getAvailForRoomTypesQuery, getCurrentCustomerAccountQuery, getAllOccupantProductsAllAgeRangesQuery, getAlternativeProposalRulesForContractFolderQuery, getResalysErrorListQuery, getSkisetMeasurementsQuery, checkApiAliveQuery, getUserLanguageQuery, checkValidLoginQuery, getFidelityRulesQuery, getFidelityLogsQuery, getPendingFerryBookingQuery, getFerryCivilitiesQuery, getFerryNationalitiesQuery, getFerryVehicleCategoriesQuery, getFerryAddonCategoriesQuery, getFerryTrailerCategoriesQuery, getFerryCarsQuery, getFerryPortsQuery, getFerryCrossingsQuery, getFerryProposalsQuery, getFerryAvailableAccommodationsQuery, getFerryProductsQuery, getFerryVehicleFuelsQuery, getOccupantsFromCurrentCustomerQuery, getRelationshipsQuery, getPartnerCustomersQuery, getLyraFormTokenQuery, getCustomerBookingsWithoutRoomFeaturesQuery, getPropertiesWithoutRoomFeaturesQuery, getProposalsByPropertiesWithoutRoomFeaturesQuery, getRoomTypesWithoutRoomFeaturesQuery, getPaymentLinkInfosQuery, getOwnerLeasesQuery, getOwnerRoomPlanningDataQuery, getAvailableRoomsQuery, getBookingPaymentPlansQuery, getBookingCustomerDepositAccountInfosQuery, };
|
package/lib/queries/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getAllOccupantProductsAllAgeRangesQuery = exports.getCurrentCustomerAccountQuery = exports.getAvailForRoomTypesQuery = exports.getProposalByRoomTypesQuery = exports.hasProductsForOccupantQuery = exports.requestBrochureQuery = exports.renewPasswordQuery = exports.getTranslationsQuery = exports.getSessionQuery = exports.getSalesChannelModeQuery = exports.getRoomTypesQuery = exports.getRoomTypeCategoriesQuery = exports.getResalysVersionQuery = exports.getProposalsByPropertiesQuery = exports.getProposalsByKeysQuery = exports.getProposalsQuery = exports.getPropertiesSelectQuery = exports.getFavoritesPropertiesQuery = exports.getPropertiesQuery = exports.getProductCategoriesQuery = exports.getPrivilegeCardTypesQuery = exports.getPostCodeApiDetailQuery = exports.getPostCodeApiSimpleQuery = exports.getPaymentPlansQuery = exports.getPaymentMethodsQuery = exports.getPartnerQuery = exports.getOccupantProductsQuery = exports.getNeobookingTranslationsQuery = exports.getMyLoginQuery = exports.getMapSelectorDataQuery = exports.getLanguagesQuery = exports.getCustomerPrivilegeCardsQuery = exports.getCustomerLoyaltyPointsQuery = exports.getCustomerGiftCodesQuery = exports.getCustomerDepositAccountsQuery = exports.getCustomerCriteriasQuery = exports.getCustomerBookingsQuery = exports.getCriteriaInformationQuery = exports.getCountriesQuery = exports.getCivilitiesQuery = exports.getCartQuery = exports.getCampaignsQuery = exports.getBrochuresQuery = exports.getBookingRecordCriteriasQuery = exports.getBookingProductsQuery = exports.getBookingDocumentsQuery = exports.getAvailableRoomFeaturesQuery = exports.getAccommodationProductsQuery = exports.checkSessionActivatedQuery = exports.checkModuleFacebookActivatedQuery = void 0;
|
|
4
|
-
exports.getBookingPaymentPlansQuery = exports.getAvailableRoomsQuery = exports.getOwnerRoomPlanningDataQuery = exports.getOwnerLeasesQuery = exports.getPaymentLinkInfosQuery = exports.getRoomTypesWithoutRoomFeaturesQuery = exports.getProposalsByPropertiesWithoutRoomFeaturesQuery = exports.getPropertiesWithoutRoomFeaturesQuery = exports.getCustomerBookingsWithoutRoomFeaturesQuery = exports.getLyraFormTokenQuery = exports.getPartnerCustomersQuery = exports.getRelationshipsQuery = exports.getOccupantsFromCurrentCustomerQuery = exports.getFerryVehicleFuelsQuery = exports.getFerryProductsQuery = exports.getFerryAvailableAccommodationsQuery = exports.getFerryProposalsQuery = exports.getFerryCrossingsQuery = exports.getFerryPortsQuery = exports.getFerryCarsQuery = exports.getFerryTrailerCategoriesQuery = exports.getFerryAddonCategoriesQuery = exports.getFerryVehicleCategoriesQuery = exports.getFerryNationalitiesQuery = exports.getFerryCivilitiesQuery = exports.getPendingFerryBookingQuery = exports.getFidelityLogsQuery = exports.getFidelityRulesQuery = exports.checkValidLoginQuery = exports.getUserLanguageQuery = exports.checkApiAliveQuery = exports.getSkisetMeasurementsQuery = exports.getResalysErrorListQuery = exports.getAlternativeProposalRulesForContractFolderQuery = void 0;
|
|
4
|
+
exports.getBookingCustomerDepositAccountInfosQuery = exports.getBookingPaymentPlansQuery = exports.getAvailableRoomsQuery = exports.getOwnerRoomPlanningDataQuery = exports.getOwnerLeasesQuery = exports.getPaymentLinkInfosQuery = exports.getRoomTypesWithoutRoomFeaturesQuery = exports.getProposalsByPropertiesWithoutRoomFeaturesQuery = exports.getPropertiesWithoutRoomFeaturesQuery = exports.getCustomerBookingsWithoutRoomFeaturesQuery = exports.getLyraFormTokenQuery = exports.getPartnerCustomersQuery = exports.getRelationshipsQuery = exports.getOccupantsFromCurrentCustomerQuery = exports.getFerryVehicleFuelsQuery = exports.getFerryProductsQuery = exports.getFerryAvailableAccommodationsQuery = exports.getFerryProposalsQuery = exports.getFerryCrossingsQuery = exports.getFerryPortsQuery = exports.getFerryCarsQuery = exports.getFerryTrailerCategoriesQuery = exports.getFerryAddonCategoriesQuery = exports.getFerryVehicleCategoriesQuery = exports.getFerryNationalitiesQuery = exports.getFerryCivilitiesQuery = exports.getPendingFerryBookingQuery = exports.getFidelityLogsQuery = exports.getFidelityRulesQuery = exports.checkValidLoginQuery = exports.getUserLanguageQuery = exports.checkApiAliveQuery = exports.getSkisetMeasurementsQuery = exports.getResalysErrorListQuery = exports.getAlternativeProposalRulesForContractFolderQuery = void 0;
|
|
5
5
|
const checkApiAlive_1 = require("./checkApiAlive");
|
|
6
6
|
Object.defineProperty(exports, "checkApiAliveQuery", { enumerable: true, get: function () { return checkApiAlive_1.checkApiAliveQuery; } });
|
|
7
7
|
const checkModuleFacebookActivated_1 = require("./checkModuleFacebookActivated");
|
|
@@ -164,3 +164,5 @@ const getAvailableRooms_1 = require("./getAvailableRooms");
|
|
|
164
164
|
Object.defineProperty(exports, "getAvailableRoomsQuery", { enumerable: true, get: function () { return getAvailableRooms_1.getAvailableRoomsQuery; } });
|
|
165
165
|
const getBookingPaymentPlans_1 = require("./getBookingPaymentPlans");
|
|
166
166
|
Object.defineProperty(exports, "getBookingPaymentPlansQuery", { enumerable: true, get: function () { return getBookingPaymentPlans_1.getBookingPaymentPlansQuery; } });
|
|
167
|
+
const getBookingCustomerDepositAccountInfos_1 = require("./getBookingCustomerDepositAccountInfos");
|
|
168
|
+
Object.defineProperty(exports, "getBookingCustomerDepositAccountInfosQuery", { enumerable: true, get: function () { return getBookingCustomerDepositAccountInfos_1.getBookingCustomerDepositAccountInfosQuery; } });
|
package/lib/types/index.d.ts
CHANGED
|
@@ -198,6 +198,10 @@ export type AvailableRoomsOutput = {
|
|
|
198
198
|
__typename?: "AvailableRoomsOutput";
|
|
199
199
|
availableRooms?: Maybe<Array<Maybe<PlanningRoom>>>;
|
|
200
200
|
};
|
|
201
|
+
export type BookingCustomerDepositAccountInfosOutput = {
|
|
202
|
+
__typename?: "BookingCustomerDepositAccountInfosOutput";
|
|
203
|
+
customerDepositAccountInfos?: Maybe<Array<Maybe<CustomerDepositAccountInfo>>>;
|
|
204
|
+
};
|
|
201
205
|
export type BookingDocumentsInput = {
|
|
202
206
|
bookingId: Scalars["Int"];
|
|
203
207
|
};
|
|
@@ -241,6 +245,14 @@ export type BrochuresOutput = {
|
|
|
241
245
|
/** @deprecated Use 'brochureList'. */
|
|
242
246
|
brochures?: Maybe<Array<Maybe<Option>>>;
|
|
243
247
|
};
|
|
248
|
+
export type CmsCriteria = {
|
|
249
|
+
__typename?: "CMSCriteria";
|
|
250
|
+
classId: Scalars["Int"];
|
|
251
|
+
cmsCriteriaValues?: Maybe<Array<Maybe<CmsCriteriaValue>>>;
|
|
252
|
+
code: Scalars["String"];
|
|
253
|
+
inputType?: Maybe<InputType>;
|
|
254
|
+
label?: Maybe<Scalars["String"]>;
|
|
255
|
+
};
|
|
244
256
|
export type CalendarPeriod = {
|
|
245
257
|
__typename?: "CalendarPeriod";
|
|
246
258
|
color?: Maybe<Scalars["String"]>;
|
|
@@ -374,6 +386,16 @@ export type ClientType = {
|
|
|
374
386
|
id: Scalars["Int"];
|
|
375
387
|
label?: Maybe<Scalars["String"]>;
|
|
376
388
|
};
|
|
389
|
+
export type CmsCriteriaValue = {
|
|
390
|
+
__typename?: "CmsCriteriaValue";
|
|
391
|
+
code?: Maybe<Scalars["String"]>;
|
|
392
|
+
color?: Maybe<Scalars["String"]>;
|
|
393
|
+
label?: Maybe<Scalars["String"]>;
|
|
394
|
+
};
|
|
395
|
+
export type CmsCriteriaValueInput = {
|
|
396
|
+
code: Scalars["String"];
|
|
397
|
+
value: Scalars["String"];
|
|
398
|
+
};
|
|
377
399
|
export type ConfirmFastCheckoutInput = {
|
|
378
400
|
cartItemID?: InputMaybe<Scalars["Int"]>;
|
|
379
401
|
confirmFastCheckout?: InputMaybe<Scalars["Boolean"]>;
|
|
@@ -480,7 +502,7 @@ export type CriteriaValue = {
|
|
|
480
502
|
export type CriteriaValueInput = {
|
|
481
503
|
code: Scalars["String"];
|
|
482
504
|
fileName?: InputMaybe<Scalars["String"]>;
|
|
483
|
-
value
|
|
505
|
+
value?: InputMaybe<Scalars["String"]>;
|
|
484
506
|
};
|
|
485
507
|
export type Criterias = {
|
|
486
508
|
baseProductCode?: InputMaybe<Scalars["String"]>;
|
|
@@ -650,6 +672,13 @@ export type CustomerDepositAccount = {
|
|
|
650
672
|
propertyId: Scalars["Int"];
|
|
651
673
|
type?: Maybe<Scalars["Int"]>;
|
|
652
674
|
};
|
|
675
|
+
export type CustomerDepositAccountInfo = {
|
|
676
|
+
__typename?: "CustomerDepositAccountInfo";
|
|
677
|
+
bookingId?: Maybe<Scalars["Int"]>;
|
|
678
|
+
depositAccount?: Maybe<CustomerDepositAccount>;
|
|
679
|
+
expectedDepositAmount?: Maybe<Amount>;
|
|
680
|
+
service?: Maybe<Service>;
|
|
681
|
+
};
|
|
653
682
|
export type CustomerDepositAccountPaymentsInput = {
|
|
654
683
|
bookingId: Scalars["Int"];
|
|
655
684
|
currencyCode: Scalars["String"];
|
|
@@ -946,6 +975,11 @@ export type Heights = {
|
|
|
946
975
|
id?: Maybe<Scalars["Int"]>;
|
|
947
976
|
value?: Maybe<Scalars["String"]>;
|
|
948
977
|
};
|
|
978
|
+
export declare enum InputType {
|
|
979
|
+
Checkbox = "CHECKBOX",
|
|
980
|
+
Enum = "ENUM",
|
|
981
|
+
Text = "TEXT"
|
|
982
|
+
}
|
|
949
983
|
export type Language = {
|
|
950
984
|
__typename?: "Language";
|
|
951
985
|
code?: Maybe<Scalars["String"]>;
|
|
@@ -1152,6 +1186,7 @@ export type Mutation = {
|
|
|
1152
1186
|
loginPartner?: Maybe<LoginPartnerOutput>;
|
|
1153
1187
|
logout?: Maybe<LogoutOutput>;
|
|
1154
1188
|
payOnStoredCreditCard?: Maybe<PayOnStoredCreditCardOutput>;
|
|
1189
|
+
redirectPaymentGatewayForAccount?: Maybe<PaymentGatewayForAccountOutput>;
|
|
1155
1190
|
redirectPaymentGatewayForAmount?: Maybe<PaymentGatewayForAmountOutput>;
|
|
1156
1191
|
redirectPaymentGatewayForCart?: Maybe<PaymentGatewayForCartOutput>;
|
|
1157
1192
|
redirectPaymentGatewayForInstalment?: Maybe<PaymentGatewayForInstalmentOutput>;
|
|
@@ -1332,6 +1367,10 @@ export type MutationPayOnStoredCreditCardArgs = {
|
|
|
1332
1367
|
input?: InputMaybe<PayOnStoredCreditCardInput>;
|
|
1333
1368
|
session: Session;
|
|
1334
1369
|
};
|
|
1370
|
+
export type MutationRedirectPaymentGatewayForAccountArgs = {
|
|
1371
|
+
input: PaymentGatewayForAccountInput;
|
|
1372
|
+
session: Session;
|
|
1373
|
+
};
|
|
1335
1374
|
export type MutationRedirectPaymentGatewayForAmountArgs = {
|
|
1336
1375
|
input: PaymentGatewayForAmountInput;
|
|
1337
1376
|
session: Session;
|
|
@@ -1730,6 +1769,14 @@ export type PaymentDue = {
|
|
|
1730
1769
|
remainingAmount?: Maybe<Amount>;
|
|
1731
1770
|
type?: Maybe<PaymentdueType>;
|
|
1732
1771
|
};
|
|
1772
|
+
export type PaymentGatewayForAccountInput = {
|
|
1773
|
+
accountId: Scalars["Int"];
|
|
1774
|
+
input: CartPaymentMethodInput;
|
|
1775
|
+
};
|
|
1776
|
+
export type PaymentGatewayForAccountOutput = {
|
|
1777
|
+
__typename?: "PaymentGatewayForAccountOutput";
|
|
1778
|
+
gateway?: Maybe<Scalars["String"]>;
|
|
1779
|
+
};
|
|
1733
1780
|
export type PaymentGatewayForAmountInput = {
|
|
1734
1781
|
bookingId: Scalars["Int"];
|
|
1735
1782
|
ccAmount: Scalars["BigDecimal"];
|
|
@@ -1920,6 +1967,7 @@ export type Product = {
|
|
|
1920
1967
|
id: Scalars["Int"];
|
|
1921
1968
|
imagePath?: Maybe<Scalars["String"]>;
|
|
1922
1969
|
isBase?: Maybe<Scalars["Boolean"]>;
|
|
1970
|
+
isLongStay?: Maybe<Scalars["Boolean"]>;
|
|
1923
1971
|
isPackage?: Maybe<Scalars["Boolean"]>;
|
|
1924
1972
|
label?: Maybe<Scalars["String"]>;
|
|
1925
1973
|
linkedToMap?: Maybe<Scalars["Boolean"]>;
|
|
@@ -1944,6 +1992,14 @@ export type ProductByCategory = {
|
|
|
1944
1992
|
categoryLabel?: Maybe<Scalars["String"]>;
|
|
1945
1993
|
products?: Maybe<Array<Maybe<Product>>>;
|
|
1946
1994
|
};
|
|
1995
|
+
export type ProductCmsCriteria = {
|
|
1996
|
+
__typename?: "ProductCMSCriteria";
|
|
1997
|
+
cmsCriteria?: Maybe<CmsCriteria>;
|
|
1998
|
+
};
|
|
1999
|
+
export type ProductCmsCriteriasOutput = {
|
|
2000
|
+
__typename?: "ProductCMSCriteriasOutput";
|
|
2001
|
+
criterias?: Maybe<Array<Maybe<ProductCmsCriteria>>>;
|
|
2002
|
+
};
|
|
1947
2003
|
export type ProductCategoriesOutput = {
|
|
1948
2004
|
__typename?: "ProductCategoriesOutput";
|
|
1949
2005
|
productCategories?: Maybe<Array<Maybe<ProductCategory>>>;
|
|
@@ -1970,6 +2026,30 @@ export type ProductOption = {
|
|
|
1970
2026
|
code?: Maybe<Scalars["String"]>;
|
|
1971
2027
|
label?: Maybe<Scalars["String"]>;
|
|
1972
2028
|
};
|
|
2029
|
+
export type ProductPropertiesOutput = {
|
|
2030
|
+
__typename?: "ProductPropertiesOutput";
|
|
2031
|
+
properties?: Maybe<Array<Maybe<Property>>>;
|
|
2032
|
+
};
|
|
2033
|
+
export type ProductProposal = {
|
|
2034
|
+
__typename?: "ProductProposal";
|
|
2035
|
+
desc?: Maybe<Scalars["String"]>;
|
|
2036
|
+
endDate?: Maybe<Scalars["Date"]>;
|
|
2037
|
+
label?: Maybe<Scalars["String"]>;
|
|
2038
|
+
productCode?: Maybe<Scalars["String"]>;
|
|
2039
|
+
propertyId?: Maybe<Scalars["Int"]>;
|
|
2040
|
+
proposalKey: Scalars["String"];
|
|
2041
|
+
startDate?: Maybe<Scalars["Date"]>;
|
|
2042
|
+
};
|
|
2043
|
+
export type ProductProposalsInput = {
|
|
2044
|
+
cmsCriteriaValue?: InputMaybe<CmsCriteriaValueInput>;
|
|
2045
|
+
nbDays?: InputMaybe<Scalars["Int"]>;
|
|
2046
|
+
propertyId?: InputMaybe<Scalars["Int"]>;
|
|
2047
|
+
selectedDate: Scalars["Date"];
|
|
2048
|
+
};
|
|
2049
|
+
export type ProductProposalsOutput = {
|
|
2050
|
+
__typename?: "ProductProposalsOutput";
|
|
2051
|
+
proposals?: Maybe<Array<Maybe<ProductProposal>>>;
|
|
2052
|
+
};
|
|
1973
2053
|
export type ProductToBookingInput = {
|
|
1974
2054
|
cartItemID?: InputMaybe<Scalars["Int"]>;
|
|
1975
2055
|
productCode: Scalars["String"];
|
|
@@ -2023,6 +2103,7 @@ export type Proposal = {
|
|
|
2023
2103
|
imagePath?: Maybe<Scalars["String"]>;
|
|
2024
2104
|
isAlternativeProposal?: Maybe<Scalars["Boolean"]>;
|
|
2025
2105
|
isCounterProposal?: Maybe<Scalars["Boolean"]>;
|
|
2106
|
+
isMonthPrice?: Maybe<Scalars["Boolean"]>;
|
|
2026
2107
|
lineItems?: Maybe<Array<Maybe<Lineitem>>>;
|
|
2027
2108
|
nbDays?: Maybe<Scalars["Int"]>;
|
|
2028
2109
|
price?: Maybe<Amount>;
|
|
@@ -2114,6 +2195,7 @@ export type Query = {
|
|
|
2114
2195
|
getAvailForRoomTypes?: Maybe<AvailForRoomTypesOutput>;
|
|
2115
2196
|
getAvailableRoomFeatures?: Maybe<AvailableRoomFeaturesOutput>;
|
|
2116
2197
|
getAvailableRooms?: Maybe<AvailableRoomsOutput>;
|
|
2198
|
+
getBookingCustomerDepositAccountInfos?: Maybe<BookingCustomerDepositAccountInfosOutput>;
|
|
2117
2199
|
getBookingDocuments?: Maybe<BookingDocumentsOutput>;
|
|
2118
2200
|
getBookingPaymentPlans?: Maybe<PaymentPlansOutput>;
|
|
2119
2201
|
getBookingProducts?: Maybe<BookingProductsOutput>;
|
|
@@ -2252,6 +2334,10 @@ export type QueryGetAvailableRoomsArgs = {
|
|
|
2252
2334
|
session: Session;
|
|
2253
2335
|
};
|
|
2254
2336
|
/** test query */
|
|
2337
|
+
export type QueryGetBookingCustomerDepositAccountInfosArgs = {
|
|
2338
|
+
session: Session;
|
|
2339
|
+
};
|
|
2340
|
+
/** test query */
|
|
2255
2341
|
export type QueryGetBookingDocumentsArgs = {
|
|
2256
2342
|
input: BookingDocumentsInput;
|
|
2257
2343
|
session: Session;
|
package/lib/types/index.js
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SkisetMeasureType = exports.ProductOccupantApplication = exports.ProductDistributionType = exports.PaymentdueType = exports.OccupantTypeEnum = exports.LyraPaymentValidatationStatus = exports.BookingStatus = void 0;
|
|
3
|
+
exports.SkisetMeasureType = exports.ProductOccupantApplication = exports.ProductDistributionType = exports.PaymentdueType = exports.OccupantTypeEnum = exports.LyraPaymentValidatationStatus = exports.InputType = exports.BookingStatus = void 0;
|
|
4
4
|
var BookingStatus;
|
|
5
5
|
(function (BookingStatus) {
|
|
6
6
|
BookingStatus["Estimate"] = "ESTIMATE";
|
|
7
7
|
BookingStatus["Guaranteed"] = "GUARANTEED";
|
|
8
8
|
BookingStatus["Option"] = "OPTION";
|
|
9
9
|
})(BookingStatus = exports.BookingStatus || (exports.BookingStatus = {}));
|
|
10
|
+
var InputType;
|
|
11
|
+
(function (InputType) {
|
|
12
|
+
InputType["Checkbox"] = "CHECKBOX";
|
|
13
|
+
InputType["Enum"] = "ENUM";
|
|
14
|
+
InputType["Text"] = "TEXT";
|
|
15
|
+
})(InputType = exports.InputType || (exports.InputType = {}));
|
|
10
16
|
var LyraPaymentValidatationStatus;
|
|
11
17
|
(function (LyraPaymentValidatationStatus) {
|
|
12
18
|
LyraPaymentValidatationStatus["Failure"] = "FAILURE";
|