rsl-api-106 106.291.6 → 106.291.7
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/addProductProposalToCart.d.ts +1 -0
- package/lib/mutations/addProductProposalToCart.js +20 -0
- package/lib/mutations/index.d.ts +6 -1
- package/lib/mutations/index.js +11 -1
- package/lib/mutations/removeProductProposalToCart.d.ts +1 -0
- package/lib/mutations/removeProductProposalToCart.js +20 -0
- package/lib/mutations/updateBookingCriteriasFromOwnerLease.d.ts +1 -0
- package/lib/mutations/updateBookingCriteriasFromOwnerLease.js +17 -0
- package/lib/mutations/updateBookingCriteriasFromStayCredit.d.ts +1 -0
- package/lib/mutations/updateBookingCriteriasFromStayCredit.js +17 -0
- package/lib/mutations/updateProductForBenificiary.d.ts +1 -0
- package/lib/mutations/updateProductForBenificiary.js +20 -0
- package/lib/outputs/cart.js +28 -3
- package/lib/outputs/lineItem.js +4 -2
- package/lib/outputs/occupant.js +6 -2
- package/lib/outputs/ownerLease.js +3 -1
- package/lib/outputs/primaryOccupant.js +4 -0
- package/lib/outputs/productProposal.d.ts +1 -1
- package/lib/outputs/productProposal.js +6 -4
- package/lib/outputs/productSearchForBenificiary.d.ts +1 -0
- package/lib/outputs/productSearchForBenificiary.js +16 -0
- package/lib/outputs/productSummary.d.ts +1 -0
- package/lib/outputs/productSummary.js +19 -0
- package/lib/outputs/service.js +4 -0
- package/lib/outputs/stayCredit.d.ts +1 -0
- package/lib/outputs/stayCredit.js +13 -0
- package/lib/outputs/voucher.d.ts +1 -0
- package/lib/outputs/voucher.js +10 -0
- package/lib/queries/getNationalities.d.ts +1 -0
- package/lib/queries/getNationalities.js +19 -0
- package/lib/queries/getProductInfosForBenificiary.d.ts +1 -0
- package/lib/queries/getProductInfosForBenificiary.js +17 -0
- package/lib/queries/getProductProperties.d.ts +1 -0
- package/lib/queries/getProductProperties.js +17 -0
- package/lib/queries/getProductProposals.d.ts +1 -0
- package/lib/queries/getProductProposals.js +17 -0
- package/lib/queries/getProductSearchCriterias.d.ts +1 -0
- package/lib/queries/getProductSearchCriterias.js +21 -0
- package/lib/queries/getProductSummaries.d.ts +1 -0
- package/lib/queries/getProductSummaries.js +20 -0
- package/lib/queries/getStayCredits.d.ts +1 -0
- package/lib/queries/getStayCredits.js +29 -0
- package/lib/queries/getVouchersFromCart.d.ts +1 -0
- package/lib/queries/getVouchersFromCart.js +19 -0
- package/lib/queries/index.d.ts +9 -1
- package/lib/queries/index.js +17 -1
- package/lib/types/index.d.ts +225 -34
- package/lib/types/index.js +7 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const addProductProposalToCartMutation: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addProductProposalToCartMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const cart_1 = require("../outputs/cart");
|
|
6
|
+
const addProductProposalToCartMutation = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
mutation addProductProposalToCart(
|
|
9
|
+
$session: Session!
|
|
10
|
+
$input: ProductProposalToCartInput!
|
|
11
|
+
) {
|
|
12
|
+
addProductProposalToCart(session: $session, input: $input) {
|
|
13
|
+
cart {
|
|
14
|
+
${cart_1.cartOutput}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
};
|
|
20
|
+
exports.addProductProposalToCartMutation = addProductProposalToCartMutation;
|
package/lib/mutations/index.d.ts
CHANGED
|
@@ -84,4 +84,9 @@ import { changeOwnerLeasesBankAccountMutation } from "./changeOwnerLeasesBankAcc
|
|
|
84
84
|
import { changeOwnerInvoiceStatusToSentMutation } from "./changeOwnerInvoiceStatusToSent";
|
|
85
85
|
import { validateOwnerInvoicesMutation } from "./validateOwnerInvoices";
|
|
86
86
|
import { disputeOwnerInvoiceMutation } from "./disputeOwnerInvoice";
|
|
87
|
-
|
|
87
|
+
import { addProductProposalToCartMutation } from "./addProductProposalToCart";
|
|
88
|
+
import { removeProductProposalToCartMutation } from "./removeProductProposalToCart";
|
|
89
|
+
import { updateProductForBenificiaryMutation } from "./updateProductForBenificiary";
|
|
90
|
+
import { updateBookingCriteriasFromStayCreditMutation } from "./updateBookingCriteriasFromStayCredit";
|
|
91
|
+
import { updateBookingCriteriasFromOwnerLeaseMutation } from "./updateBookingCriteriasFromOwnerLease";
|
|
92
|
+
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, generateSepteoPaymentsSessionMutation, saveSepteoPaymentsTransactionMutation, updateOwnerAccountMutation, removeBankAccountMutation, addBankAccountMutation, changeOwnerLeasesBankAccountMutation, changeOwnerInvoiceStatusToSentMutation, validateOwnerInvoicesMutation, disputeOwnerInvoiceMutation, addProductProposalToCartMutation, removeProductProposalToCartMutation, updateProductForBenificiaryMutation, updateBookingCriteriasFromStayCreditMutation, updateBookingCriteriasFromOwnerLeaseMutation, };
|
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.disputeOwnerInvoiceMutation = exports.validateOwnerInvoicesMutation = exports.changeOwnerInvoiceStatusToSentMutation = exports.changeOwnerLeasesBankAccountMutation = exports.addBankAccountMutation = exports.removeBankAccountMutation = exports.updateOwnerAccountMutation = exports.saveSepteoPaymentsTransactionMutation = exports.generateSepteoPaymentsSessionMutation = 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;
|
|
4
|
+
exports.updateBookingCriteriasFromOwnerLeaseMutation = exports.updateBookingCriteriasFromStayCreditMutation = exports.updateProductForBenificiaryMutation = exports.removeProductProposalToCartMutation = exports.addProductProposalToCartMutation = exports.disputeOwnerInvoiceMutation = exports.validateOwnerInvoicesMutation = exports.changeOwnerInvoiceStatusToSentMutation = exports.changeOwnerLeasesBankAccountMutation = exports.addBankAccountMutation = exports.removeBankAccountMutation = exports.updateOwnerAccountMutation = exports.saveSepteoPaymentsTransactionMutation = exports.generateSepteoPaymentsSessionMutation = 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");
|
|
@@ -174,3 +174,13 @@ const validateOwnerInvoices_1 = require("./validateOwnerInvoices");
|
|
|
174
174
|
Object.defineProperty(exports, "validateOwnerInvoicesMutation", { enumerable: true, get: function () { return validateOwnerInvoices_1.validateOwnerInvoicesMutation; } });
|
|
175
175
|
const disputeOwnerInvoice_1 = require("./disputeOwnerInvoice");
|
|
176
176
|
Object.defineProperty(exports, "disputeOwnerInvoiceMutation", { enumerable: true, get: function () { return disputeOwnerInvoice_1.disputeOwnerInvoiceMutation; } });
|
|
177
|
+
const addProductProposalToCart_1 = require("./addProductProposalToCart");
|
|
178
|
+
Object.defineProperty(exports, "addProductProposalToCartMutation", { enumerable: true, get: function () { return addProductProposalToCart_1.addProductProposalToCartMutation; } });
|
|
179
|
+
const removeProductProposalToCart_1 = require("./removeProductProposalToCart");
|
|
180
|
+
Object.defineProperty(exports, "removeProductProposalToCartMutation", { enumerable: true, get: function () { return removeProductProposalToCart_1.removeProductProposalToCartMutation; } });
|
|
181
|
+
const updateProductForBenificiary_1 = require("./updateProductForBenificiary");
|
|
182
|
+
Object.defineProperty(exports, "updateProductForBenificiaryMutation", { enumerable: true, get: function () { return updateProductForBenificiary_1.updateProductForBenificiaryMutation; } });
|
|
183
|
+
const updateBookingCriteriasFromStayCredit_1 = require("./updateBookingCriteriasFromStayCredit");
|
|
184
|
+
Object.defineProperty(exports, "updateBookingCriteriasFromStayCreditMutation", { enumerable: true, get: function () { return updateBookingCriteriasFromStayCredit_1.updateBookingCriteriasFromStayCreditMutation; } });
|
|
185
|
+
const updateBookingCriteriasFromOwnerLease_1 = require("./updateBookingCriteriasFromOwnerLease");
|
|
186
|
+
Object.defineProperty(exports, "updateBookingCriteriasFromOwnerLeaseMutation", { enumerable: true, get: function () { return updateBookingCriteriasFromOwnerLease_1.updateBookingCriteriasFromOwnerLeaseMutation; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const removeProductProposalToCartMutation: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeProductProposalToCartMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const cart_1 = require("../outputs/cart");
|
|
6
|
+
const removeProductProposalToCartMutation = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
mutation removeProductProposalToCart(
|
|
9
|
+
$session: Session!
|
|
10
|
+
$input: RemoveProductProposalToCartInput!
|
|
11
|
+
) {
|
|
12
|
+
removeProductProposalToCart(session: $session, input: $input) {
|
|
13
|
+
cart {
|
|
14
|
+
${cart_1.cartOutput}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
};
|
|
20
|
+
exports.removeProductProposalToCartMutation = removeProductProposalToCartMutation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const updateBookingCriteriasFromOwnerLeaseMutation: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateBookingCriteriasFromOwnerLeaseMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const cart_1 = require("../outputs/cart");
|
|
6
|
+
const updateBookingCriteriasFromOwnerLeaseMutation = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
mutation updateBookingCriteriasFromOwnerLease($session: Session!, $input: UpdateBookingCriteriasFromOwnerLeaseInput!) {
|
|
9
|
+
updateBookingCriteriasFromOwnerLease(session: $session, input: $input) {
|
|
10
|
+
cart {
|
|
11
|
+
${cart_1.cartOutput}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
};
|
|
17
|
+
exports.updateBookingCriteriasFromOwnerLeaseMutation = updateBookingCriteriasFromOwnerLeaseMutation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const updateBookingCriteriasFromStayCreditMutation: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateBookingCriteriasFromStayCreditMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const cart_1 = require("../outputs/cart");
|
|
6
|
+
const updateBookingCriteriasFromStayCreditMutation = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
mutation updateBookingCriteriasFromStayCredit($session: Session!, $input: UpdateBookingCriteriasFromStatCreditInput!) {
|
|
9
|
+
updateBookingCriteriasFromStayCredit(session: $session, input: $input) {
|
|
10
|
+
cart {
|
|
11
|
+
${cart_1.cartOutput}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
};
|
|
17
|
+
exports.updateBookingCriteriasFromStayCreditMutation = updateBookingCriteriasFromStayCreditMutation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const updateProductForBenificiaryMutation: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateProductForBenificiaryMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const productSearchForBenificiary_1 = require("../outputs/productSearchForBenificiary");
|
|
6
|
+
const updateProductForBenificiaryMutation = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
mutation updateProductForBenificiary(
|
|
9
|
+
$session: Session!
|
|
10
|
+
$input: UpdateProductForBenificiaryInput!
|
|
11
|
+
) {
|
|
12
|
+
updateProductForBenificiary(session: $session, input: $input) {
|
|
13
|
+
productSearchForBenificiary {
|
|
14
|
+
${productSearchForBenificiary_1.productSearchForBenificiaryOutput}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
};
|
|
20
|
+
exports.updateProductForBenificiaryMutation = updateProductForBenificiaryMutation;
|
package/lib/outputs/cart.js
CHANGED
|
@@ -2,24 +2,49 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.cartOutputWithoutReservationsCriterias = exports.cartWithoutRoomFeaturesOutput = exports.cartOutput = void 0;
|
|
4
4
|
const customerBooking_1 = require("./customerBooking");
|
|
5
|
+
const lineItem_1 = require("./lineItem");
|
|
5
6
|
exports.cartOutput = `
|
|
6
7
|
id,
|
|
7
8
|
reservations {
|
|
8
9
|
${customerBooking_1.customerBookingOutput}
|
|
9
10
|
}
|
|
10
|
-
fromFastCheckinCheckout
|
|
11
|
+
fromFastCheckinCheckout,
|
|
12
|
+
extraSales {
|
|
13
|
+
id,
|
|
14
|
+
guiid,
|
|
15
|
+
label,
|
|
16
|
+
lineItems {
|
|
17
|
+
${lineItem_1.lineItemsOutput}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
11
20
|
`;
|
|
12
21
|
exports.cartWithoutRoomFeaturesOutput = `
|
|
13
22
|
id,
|
|
14
23
|
reservations {
|
|
15
24
|
${customerBooking_1.customerBookingWithoutRoomFeaturesOutput}
|
|
16
25
|
}
|
|
17
|
-
fromFastCheckinCheckout
|
|
26
|
+
fromFastCheckinCheckout,
|
|
27
|
+
extraSales {
|
|
28
|
+
id,
|
|
29
|
+
guiid,
|
|
30
|
+
label,
|
|
31
|
+
lineItems {
|
|
32
|
+
${lineItem_1.lineItemsOutput}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
18
35
|
`;
|
|
19
36
|
exports.cartOutputWithoutReservationsCriterias = `
|
|
20
37
|
id,
|
|
21
38
|
reservations {
|
|
22
39
|
${customerBooking_1.customerBookingOutputWithoutCriterias}
|
|
23
40
|
}
|
|
24
|
-
fromFastCheckinCheckout
|
|
41
|
+
fromFastCheckinCheckout,
|
|
42
|
+
extraSales {
|
|
43
|
+
id,
|
|
44
|
+
guiid,
|
|
45
|
+
label,
|
|
46
|
+
lineItems {
|
|
47
|
+
${lineItem_1.lineItemsOutput}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
25
50
|
`;
|
package/lib/outputs/lineItem.js
CHANGED
|
@@ -31,7 +31,8 @@ exports.lineItemsOutput = `
|
|
|
31
31
|
isSkiset,
|
|
32
32
|
criterias {
|
|
33
33
|
${criteriaValue_1.criteriaValueOutput}
|
|
34
|
-
}
|
|
34
|
+
},
|
|
35
|
+
includedInGiftBox
|
|
35
36
|
`;
|
|
36
37
|
exports.lineItemsWithoutFerryOutput = `
|
|
37
38
|
id,
|
|
@@ -55,5 +56,6 @@ exports.lineItemsWithoutFerryOutput = `
|
|
|
55
56
|
isSkiset,
|
|
56
57
|
criterias {
|
|
57
58
|
${criteriaValue_1.criteriaValueOutput}
|
|
58
|
-
}
|
|
59
|
+
},
|
|
60
|
+
includedInGiftBox
|
|
59
61
|
`;
|
package/lib/outputs/occupant.js
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.occupantOutputWithoutSkisetMeasurements = exports.occupantOutput = void 0;
|
|
4
4
|
const amount_1 = require("./amount");
|
|
5
|
+
const civility_1 = require("./civility");
|
|
5
6
|
const lineItem_1 = require("./lineItem");
|
|
7
|
+
const nationality_1 = require("./nationality");
|
|
6
8
|
const occupantMeasurement_1 = require("./occupantMeasurement");
|
|
7
9
|
const paymentDue_1 = require("./paymentDue");
|
|
8
10
|
exports.occupantOutput = `
|
|
@@ -11,8 +13,10 @@ exports.occupantOutput = `
|
|
|
11
13
|
lastName,
|
|
12
14
|
firstName,
|
|
13
15
|
civility {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
${civility_1.civilityOutput}
|
|
17
|
+
},
|
|
18
|
+
nationality {
|
|
19
|
+
${nationality_1.nationalityOutput}
|
|
16
20
|
}
|
|
17
21
|
birthDate,
|
|
18
22
|
lineItems {
|
|
@@ -4,6 +4,7 @@ exports.primaryOccupantOutput = void 0;
|
|
|
4
4
|
const address_1 = require("./address");
|
|
5
5
|
const civility_1 = require("./civility");
|
|
6
6
|
const language_1 = require("./language");
|
|
7
|
+
const nationality_1 = require("./nationality");
|
|
7
8
|
const option_1 = require("./option");
|
|
8
9
|
exports.primaryOccupantOutput = `
|
|
9
10
|
id,
|
|
@@ -13,6 +14,9 @@ exports.primaryOccupantOutput = `
|
|
|
13
14
|
civility {
|
|
14
15
|
${civility_1.civilityOutput}
|
|
15
16
|
},
|
|
17
|
+
nationality {
|
|
18
|
+
${nationality_1.nationalityOutput}
|
|
19
|
+
}
|
|
16
20
|
birthDate,
|
|
17
21
|
language {
|
|
18
22
|
${option_1.optionOutput}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const productProposalOutput
|
|
1
|
+
export declare const productProposalOutput: string;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.productProposalOutput = void 0;
|
|
4
|
+
const amount_1 = require("./amount");
|
|
4
5
|
exports.productProposalOutput = `
|
|
5
|
-
desc,
|
|
6
|
-
endDate,
|
|
7
|
-
label,
|
|
8
6
|
productCode,
|
|
7
|
+
label,
|
|
8
|
+
description,
|
|
9
9
|
propertyId,
|
|
10
10
|
proposalKey,
|
|
11
|
-
|
|
11
|
+
amount {
|
|
12
|
+
${amount_1.amountOutput}
|
|
13
|
+
}
|
|
12
14
|
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const productSearchForBenificiaryOutput: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.productSearchForBenificiaryOutput = void 0;
|
|
4
|
+
const service_1 = require("./service");
|
|
5
|
+
exports.productSearchForBenificiaryOutput = `
|
|
6
|
+
service {
|
|
7
|
+
${service_1.serviceOutput}
|
|
8
|
+
},
|
|
9
|
+
isOwner,
|
|
10
|
+
treatmentCode,
|
|
11
|
+
sendTo,
|
|
12
|
+
treatments {
|
|
13
|
+
value,
|
|
14
|
+
label
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const productSummaryOutput: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.productSummaryOutput = void 0;
|
|
4
|
+
const amount_1 = require("./amount");
|
|
5
|
+
exports.productSummaryOutput = `
|
|
6
|
+
productCode,
|
|
7
|
+
bookingId,
|
|
8
|
+
label,
|
|
9
|
+
description,
|
|
10
|
+
quantity,
|
|
11
|
+
amount {
|
|
12
|
+
${amount_1.amountOutput}
|
|
13
|
+
},
|
|
14
|
+
startDate,
|
|
15
|
+
endDate,
|
|
16
|
+
isBaseProduct,
|
|
17
|
+
isExtraSale,
|
|
18
|
+
extraSaleInvoiceNumber
|
|
19
|
+
`;
|
package/lib/outputs/service.js
CHANGED
|
@@ -7,6 +7,7 @@ const clientType_1 = require("./clientType");
|
|
|
7
7
|
const criteriaValue_1 = require("./criteriaValue");
|
|
8
8
|
const customerType_1 = require("./customerType");
|
|
9
9
|
const language_1 = require("./language");
|
|
10
|
+
const nationality_1 = require("./nationality");
|
|
10
11
|
const option_1 = require("./option");
|
|
11
12
|
const relationship_1 = require("./relationship");
|
|
12
13
|
exports.serviceOutput = `
|
|
@@ -22,6 +23,9 @@ exports.serviceOutput = `
|
|
|
22
23
|
civility {
|
|
23
24
|
${civility_1.civilityOutput}
|
|
24
25
|
},
|
|
26
|
+
nationality {
|
|
27
|
+
${nationality_1.nationalityOutput}
|
|
28
|
+
},
|
|
25
29
|
birthDate,
|
|
26
30
|
fidelityPoints,
|
|
27
31
|
needValidation,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const stayCreditOutput = "\n id,\n lotTypeLabel,\n useCreditLabel,\n remainingCreditLabel,\n internationalName,\n internationalComment,\n startUseDate,\n endUseDate\n";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stayCreditOutput = void 0;
|
|
4
|
+
exports.stayCreditOutput = `
|
|
5
|
+
id,
|
|
6
|
+
lotTypeLabel,
|
|
7
|
+
useCreditLabel,
|
|
8
|
+
remainingCreditLabel,
|
|
9
|
+
internationalName,
|
|
10
|
+
internationalComment,
|
|
11
|
+
startUseDate,
|
|
12
|
+
endUseDate
|
|
13
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const voucherOutput: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getNationalitiesQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getNationalitiesQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const nationality_1 = require("../outputs/nationality");
|
|
6
|
+
const getNationalitiesQuery = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
query getNationalities($session: Session!) {
|
|
9
|
+
getNationalities (
|
|
10
|
+
session: $session
|
|
11
|
+
) {
|
|
12
|
+
nationalities {
|
|
13
|
+
${nationality_1.nationalityOutput}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
};
|
|
19
|
+
exports.getNationalitiesQuery = getNationalitiesQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getProductInfosForBenificiaryQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getProductInfosForBenificiaryQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const productSearchForBenificiary_1 = require("../outputs/productSearchForBenificiary");
|
|
6
|
+
const getProductInfosForBenificiaryQuery = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
query getProductInfosForBenificiary($session: Session!, $input: ProductInfosForBenificiaryInput!) {
|
|
9
|
+
getProductInfosForBenificiary(session: $session, input: $input) {
|
|
10
|
+
productSearchForBenificiary {
|
|
11
|
+
${productSearchForBenificiary_1.productSearchForBenificiaryOutput}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
};
|
|
17
|
+
exports.getProductInfosForBenificiaryQuery = getProductInfosForBenificiaryQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getProductPropertiesQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getProductPropertiesQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const property_1 = require("../outputs/property");
|
|
6
|
+
const getProductPropertiesQuery = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
query getProductProperties($session: Session!) {
|
|
9
|
+
getProductProperties(session: $session) {
|
|
10
|
+
properties {
|
|
11
|
+
${property_1.propertyOutput}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
};
|
|
17
|
+
exports.getProductPropertiesQuery = getProductPropertiesQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getProductProposalsQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getProductProposalsQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const productProposal_1 = require("../outputs/productProposal");
|
|
6
|
+
const getProductProposalsQuery = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
query getProductProposals($session: Session!, $input: ProductProposalsInput!) {
|
|
9
|
+
getProductProposals(session: $session, input: $input) {
|
|
10
|
+
proposals {
|
|
11
|
+
${productProposal_1.productProposalOutput}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
};
|
|
17
|
+
exports.getProductProposalsQuery = getProductProposalsQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getProductSearchCriteriasQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getProductSearchCriteriasQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const getProductSearchCriteriasQuery = () => {
|
|
6
|
+
return (0, client_1.gql) `
|
|
7
|
+
query getProductSearchCriterias($session: Session!) {
|
|
8
|
+
getProductSearchCriterias(session: $session) {
|
|
9
|
+
criterias {
|
|
10
|
+
code
|
|
11
|
+
label
|
|
12
|
+
values {
|
|
13
|
+
code
|
|
14
|
+
label
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
};
|
|
21
|
+
exports.getProductSearchCriteriasQuery = getProductSearchCriteriasQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getProductSummariesQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getProductSummariesQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const productSummary_1 = require("../outputs/productSummary");
|
|
6
|
+
const getProductSummariesQuery = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
query getProductSummaries($session: Session!, $input: ProductSummariesInput) {
|
|
9
|
+
getProductSummaries(session: $session, input: $input) {
|
|
10
|
+
bookingProducts {
|
|
11
|
+
${productSummary_1.productSummaryOutput}
|
|
12
|
+
},
|
|
13
|
+
extraSales {
|
|
14
|
+
${productSummary_1.productSummaryOutput}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
};
|
|
20
|
+
exports.getProductSummariesQuery = getProductSummariesQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getStayCreditsQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getStayCreditsQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const ownerLease_1 = require("../outputs/ownerLease");
|
|
6
|
+
const stayCredit_1 = require("../outputs/stayCredit");
|
|
7
|
+
const getStayCreditsQuery = () => {
|
|
8
|
+
return (0, client_1.gql) `
|
|
9
|
+
query getStayCredits($session: Session!) {
|
|
10
|
+
getStayCredits (
|
|
11
|
+
session: $session
|
|
12
|
+
) {
|
|
13
|
+
stayCredits {
|
|
14
|
+
${stayCredit_1.stayCreditOutput}
|
|
15
|
+
},
|
|
16
|
+
notUsedStayCredits {
|
|
17
|
+
${stayCredit_1.stayCreditOutput}
|
|
18
|
+
},
|
|
19
|
+
usedStayCredits {
|
|
20
|
+
${stayCredit_1.stayCreditOutput}
|
|
21
|
+
},
|
|
22
|
+
ownerLeaseWithoutStayCredits {
|
|
23
|
+
${ownerLease_1.ownerLeaseOutput}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
28
|
+
};
|
|
29
|
+
exports.getStayCreditsQuery = getStayCreditsQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getVouchersFromCartQuery: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getVouchersFromCartQuery = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const voucher_1 = require("../outputs/voucher");
|
|
6
|
+
const getVouchersFromCartQuery = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
query getVouchersFromCart($session: Session!) {
|
|
9
|
+
getVouchersFromCart (
|
|
10
|
+
session: $session
|
|
11
|
+
) {
|
|
12
|
+
vouchers {
|
|
13
|
+
${voucher_1.voucherOutput}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
};
|
|
19
|
+
exports.getVouchersFromCartQuery = getVouchersFromCartQuery;
|