rsl-api-106 106.34.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.
Files changed (530) hide show
  1. package/README.md +116 -0
  2. package/lib/index.d.ts +3 -0
  3. package/lib/index.js +36 -0
  4. package/lib/mutations/addBaby.d.ts +2 -0
  5. package/lib/mutations/addBaby.js +20 -0
  6. package/lib/mutations/addCustomerDepositAccountPayments.d.ts +2 -0
  7. package/lib/mutations/addCustomerDepositAccountPayments.js +20 -0
  8. package/lib/mutations/addDiscountCode.d.ts +2 -0
  9. package/lib/mutations/addDiscountCode.js +20 -0
  10. package/lib/mutations/addFidelityPointToProduct.d.ts +2 -0
  11. package/lib/mutations/addFidelityPointToProduct.js +20 -0
  12. package/lib/mutations/addGiftCode.d.ts +2 -0
  13. package/lib/mutations/addGiftCode.js +20 -0
  14. package/lib/mutations/addObservation.d.ts +2 -0
  15. package/lib/mutations/addObservation.js +20 -0
  16. package/lib/mutations/addOccupant.d.ts +2 -0
  17. package/lib/mutations/addOccupant.js +20 -0
  18. package/lib/mutations/addPartnerCustomerAccount.d.ts +2 -0
  19. package/lib/mutations/addPartnerCustomerAccount.js +20 -0
  20. package/lib/mutations/addPartnerToCart.d.ts +2 -0
  21. package/lib/mutations/addPartnerToCart.js +20 -0
  22. package/lib/mutations/addProductToBooking.d.ts +2 -0
  23. package/lib/mutations/addProductToBooking.js +20 -0
  24. package/lib/mutations/addProductToOccupant.d.ts +2 -0
  25. package/lib/mutations/addProductToOccupant.js +20 -0
  26. package/lib/mutations/cancelFerryBooking.d.ts +2 -0
  27. package/lib/mutations/cancelFerryBooking.js +20 -0
  28. package/lib/mutations/changePassword.d.ts +2 -0
  29. package/lib/mutations/changePassword.js +17 -0
  30. package/lib/mutations/chooseFerryProposal.d.ts +2 -0
  31. package/lib/mutations/chooseFerryProposal.js +20 -0
  32. package/lib/mutations/chooseProposalFromKeys.d.ts +2 -0
  33. package/lib/mutations/chooseProposalFromKeys.js +20 -0
  34. package/lib/mutations/chooseRoundTripProposals.d.ts +2 -0
  35. package/lib/mutations/chooseRoundTripProposals.js +20 -0
  36. package/lib/mutations/confirmFastCheckout.d.ts +2 -0
  37. package/lib/mutations/confirmFastCheckout.js +20 -0
  38. package/lib/mutations/createCustomerAccount.d.ts +2 -0
  39. package/lib/mutations/createCustomerAccount.js +20 -0
  40. package/lib/mutations/createServiceCustomerAccount.d.ts +2 -0
  41. package/lib/mutations/createServiceCustomerAccount.js +20 -0
  42. package/lib/mutations/disableEnablePartnerCustomerAccount.d.ts +2 -0
  43. package/lib/mutations/disableEnablePartnerCustomerAccount.js +20 -0
  44. package/lib/mutations/disableServiceCustomerAccount.d.ts +2 -0
  45. package/lib/mutations/disableServiceCustomerAccount.js +20 -0
  46. package/lib/mutations/doFastCheckin.d.ts +2 -0
  47. package/lib/mutations/doFastCheckin.js +20 -0
  48. package/lib/mutations/doFastCheckout.d.ts +2 -0
  49. package/lib/mutations/doFastCheckout.js +20 -0
  50. package/lib/mutations/expireSession.d.ts +2 -0
  51. package/lib/mutations/expireSession.js +14 -0
  52. package/lib/mutations/facebookLogin.d.ts +2 -0
  53. package/lib/mutations/facebookLogin.js +20 -0
  54. package/lib/mutations/index.d.ts +69 -0
  55. package/lib/mutations/index.js +140 -0
  56. package/lib/mutations/login.d.ts +2 -0
  57. package/lib/mutations/login.js +20 -0
  58. package/lib/mutations/loginAnyCustomerType.d.ts +2 -0
  59. package/lib/mutations/loginAnyCustomerType.js +20 -0
  60. package/lib/mutations/loginETOMode.d.ts +2 -0
  61. package/lib/mutations/loginETOMode.js +20 -0
  62. package/lib/mutations/loginHash256.d.ts +2 -0
  63. package/lib/mutations/loginHash256.js +20 -0
  64. package/lib/mutations/loginPartner.d.ts +2 -0
  65. package/lib/mutations/loginPartner.js +20 -0
  66. package/lib/mutations/logout.d.ts +2 -0
  67. package/lib/mutations/logout.js +14 -0
  68. package/lib/mutations/payOnStoredCreditCard.d.ts +2 -0
  69. package/lib/mutations/payOnStoredCreditCard.js +20 -0
  70. package/lib/mutations/redirectPaymentGatewayForAmount.d.ts +2 -0
  71. package/lib/mutations/redirectPaymentGatewayForAmount.js +17 -0
  72. package/lib/mutations/redirectPaymentGatewayForCart.d.ts +2 -0
  73. package/lib/mutations/redirectPaymentGatewayForCart.js +17 -0
  74. package/lib/mutations/redirectPaymentGatewayForInstalment.d.ts +2 -0
  75. package/lib/mutations/redirectPaymentGatewayForInstalment.js +17 -0
  76. package/lib/mutations/removeBookingFromCart.d.ts +2 -0
  77. package/lib/mutations/removeBookingFromCart.js +20 -0
  78. package/lib/mutations/removeCartPayments.d.ts +2 -0
  79. package/lib/mutations/removeCartPayments.js +14 -0
  80. package/lib/mutations/removeCustomerAccount.d.ts +2 -0
  81. package/lib/mutations/removeCustomerAccount.js +14 -0
  82. package/lib/mutations/removeDiscountCode.d.ts +2 -0
  83. package/lib/mutations/removeDiscountCode.js +19 -0
  84. package/lib/mutations/removeGiftCode.d.ts +2 -0
  85. package/lib/mutations/removeGiftCode.js +20 -0
  86. package/lib/mutations/removeOccupant.d.ts +2 -0
  87. package/lib/mutations/removeOccupant.js +20 -0
  88. package/lib/mutations/removeStay.d.ts +2 -0
  89. package/lib/mutations/removeStay.js +20 -0
  90. package/lib/mutations/resetCart.d.ts +2 -0
  91. package/lib/mutations/resetCart.js +19 -0
  92. package/lib/mutations/resetPendingFerryBooking.d.ts +2 -0
  93. package/lib/mutations/resetPendingFerryBooking.js +19 -0
  94. package/lib/mutations/saveCart.d.ts +2 -0
  95. package/lib/mutations/saveCart.js +20 -0
  96. package/lib/mutations/saveFerryBooking.d.ts +2 -0
  97. package/lib/mutations/saveFerryBooking.js +20 -0
  98. package/lib/mutations/setSessionLanguage.d.ts +2 -0
  99. package/lib/mutations/setSessionLanguage.js +17 -0
  100. package/lib/mutations/switchToPartnerConvention.d.ts +2 -0
  101. package/lib/mutations/switchToPartnerConvention.js +20 -0
  102. package/lib/mutations/unlockBooking.d.ts +2 -0
  103. package/lib/mutations/unlockBooking.js +14 -0
  104. package/lib/mutations/updateBookingCriterias.d.ts +2 -0
  105. package/lib/mutations/updateBookingCriterias.js +17 -0
  106. package/lib/mutations/updateCartPaymentMethod.d.ts +2 -0
  107. package/lib/mutations/updateCartPaymentMethod.js +20 -0
  108. package/lib/mutations/updateCartPaymentPlans.d.ts +2 -0
  109. package/lib/mutations/updateCartPaymentPlans.js +20 -0
  110. package/lib/mutations/updateCustomerAccount.d.ts +2 -0
  111. package/lib/mutations/updateCustomerAccount.js +20 -0
  112. package/lib/mutations/updateCustomerBooking.d.ts +2 -0
  113. package/lib/mutations/updateCustomerBooking.js +20 -0
  114. package/lib/mutations/updateFerryAccommodations.d.ts +2 -0
  115. package/lib/mutations/updateFerryAccommodations.js +20 -0
  116. package/lib/mutations/updateFerryBooking.d.ts +2 -0
  117. package/lib/mutations/updateFerryBooking.js +20 -0
  118. package/lib/mutations/updateFerryTravelersInformation.d.ts +2 -0
  119. package/lib/mutations/updateFerryTravelersInformation.js +20 -0
  120. package/lib/mutations/updateOccupant.d.ts +2 -0
  121. package/lib/mutations/updateOccupant.js +20 -0
  122. package/lib/mutations/updateOccupantSkisetMeasurements.d.ts +2 -0
  123. package/lib/mutations/updateOccupantSkisetMeasurements.js +20 -0
  124. package/lib/mutations/updatePartnerAccount.d.ts +2 -0
  125. package/lib/mutations/updatePartnerAccount.js +24 -0
  126. package/lib/mutations/updatePartnerCustomerAccount.d.ts +2 -0
  127. package/lib/mutations/updatePartnerCustomerAccount.js +20 -0
  128. package/lib/mutations/updatePartnerPaymentPlans.d.ts +2 -0
  129. package/lib/mutations/updatePartnerPaymentPlans.js +20 -0
  130. package/lib/mutations/updatePayerPaymentPlans.d.ts +2 -0
  131. package/lib/mutations/updatePayerPaymentPlans.js +20 -0
  132. package/lib/mutations/updatePrimaryOccupant.d.ts +2 -0
  133. package/lib/mutations/updatePrimaryOccupant.js +20 -0
  134. package/lib/mutations/updateProductCriterias.d.ts +2 -0
  135. package/lib/mutations/updateProductCriterias.js +20 -0
  136. package/lib/mutations/updateRoomFromMap.d.ts +2 -0
  137. package/lib/mutations/updateRoomFromMap.js +20 -0
  138. package/lib/mutations/updateServiceCustomerAccount.d.ts +2 -0
  139. package/lib/mutations/updateServiceCustomerAccount.js +20 -0
  140. package/lib/mutations/updateStayTime.d.ts +2 -0
  141. package/lib/mutations/updateStayTime.js +20 -0
  142. package/lib/mutations/updateTotalOccupants.d.ts +2 -0
  143. package/lib/mutations/updateTotalOccupants.js +20 -0
  144. package/lib/mutations/validateLyraPayment.d.ts +1 -0
  145. package/lib/mutations/validateLyraPayment.js +21 -0
  146. package/lib/outputs/accommodation.d.ts +1 -0
  147. package/lib/outputs/accommodation.js +16 -0
  148. package/lib/outputs/accommodationProducts.d.ts +1 -0
  149. package/lib/outputs/accommodationProducts.js +9 -0
  150. package/lib/outputs/addonCategory.d.ts +1 -0
  151. package/lib/outputs/addonCategory.js +9 -0
  152. package/lib/outputs/address.d.ts +1 -0
  153. package/lib/outputs/address.js +25 -0
  154. package/lib/outputs/alternativeProposalRules.d.ts +2 -0
  155. package/lib/outputs/alternativeProposalRules.js +24 -0
  156. package/lib/outputs/amount.d.ts +1 -0
  157. package/lib/outputs/amount.js +7 -0
  158. package/lib/outputs/availableRoomFeature.d.ts +1 -0
  159. package/lib/outputs/availableRoomFeature.js +9 -0
  160. package/lib/outputs/bookingDocuments.d.ts +1 -0
  161. package/lib/outputs/bookingDocuments.js +9 -0
  162. package/lib/outputs/bookingProducts.d.ts +1 -0
  163. package/lib/outputs/bookingProducts.js +9 -0
  164. package/lib/outputs/brochure.d.ts +1 -0
  165. package/lib/outputs/brochure.js +7 -0
  166. package/lib/outputs/brochures.d.ts +1 -0
  167. package/lib/outputs/brochures.js +13 -0
  168. package/lib/outputs/calendarPeriod.d.ts +1 -0
  169. package/lib/outputs/calendarPeriod.js +13 -0
  170. package/lib/outputs/campaign.d.ts +1 -0
  171. package/lib/outputs/campaign.js +9 -0
  172. package/lib/outputs/campaigns.d.ts +1 -0
  173. package/lib/outputs/campaigns.js +13 -0
  174. package/lib/outputs/car.d.ts +1 -0
  175. package/lib/outputs/car.js +8 -0
  176. package/lib/outputs/cart.d.ts +2 -0
  177. package/lib/outputs/cart.js +18 -0
  178. package/lib/outputs/civilities.d.ts +1 -0
  179. package/lib/outputs/civilities.js +13 -0
  180. package/lib/outputs/civility.d.ts +1 -0
  181. package/lib/outputs/civility.js +7 -0
  182. package/lib/outputs/clientType.d.ts +1 -0
  183. package/lib/outputs/clientType.js +7 -0
  184. package/lib/outputs/contact.d.ts +1 -0
  185. package/lib/outputs/contact.js +7 -0
  186. package/lib/outputs/contractFolder.d.ts +1 -0
  187. package/lib/outputs/contractFolder.js +11 -0
  188. package/lib/outputs/coreTrip.d.ts +1 -0
  189. package/lib/outputs/coreTrip.js +9 -0
  190. package/lib/outputs/countries.d.ts +1 -0
  191. package/lib/outputs/countries.js +13 -0
  192. package/lib/outputs/country.d.ts +1 -0
  193. package/lib/outputs/country.js +7 -0
  194. package/lib/outputs/creditCard.d.ts +1 -0
  195. package/lib/outputs/creditCard.js +8 -0
  196. package/lib/outputs/criteria.d.ts +1 -0
  197. package/lib/outputs/criteria.js +19 -0
  198. package/lib/outputs/criteriaChoice.d.ts +1 -0
  199. package/lib/outputs/criteriaChoice.js +7 -0
  200. package/lib/outputs/criteriaValue.d.ts +1 -0
  201. package/lib/outputs/criteriaValue.js +39 -0
  202. package/lib/outputs/criterias.d.ts +1 -0
  203. package/lib/outputs/criterias.js +9 -0
  204. package/lib/outputs/crossing.d.ts +1 -0
  205. package/lib/outputs/crossing.js +12 -0
  206. package/lib/outputs/customerBooking.d.ts +2 -0
  207. package/lib/outputs/customerBooking.js +133 -0
  208. package/lib/outputs/customerDepositAccount.d.ts +1 -0
  209. package/lib/outputs/customerDepositAccount.js +13 -0
  210. package/lib/outputs/customerDepositAccounts.d.ts +1 -0
  211. package/lib/outputs/customerDepositAccounts.js +9 -0
  212. package/lib/outputs/customerLoyaltyPoints.d.ts +1 -0
  213. package/lib/outputs/customerLoyaltyPoints.js +6 -0
  214. package/lib/outputs/customerType.d.ts +1 -0
  215. package/lib/outputs/customerType.js +7 -0
  216. package/lib/outputs/datePeriod.d.ts +1 -0
  217. package/lib/outputs/datePeriod.js +7 -0
  218. package/lib/outputs/discount.d.ts +1 -0
  219. package/lib/outputs/discount.js +16 -0
  220. package/lib/outputs/distribution.d.ts +1 -0
  221. package/lib/outputs/distribution.js +10 -0
  222. package/lib/outputs/distributionType.d.ts +1 -0
  223. package/lib/outputs/distributionType.js +6 -0
  224. package/lib/outputs/ferryBooking.d.ts +1 -0
  225. package/lib/outputs/ferryBooking.js +37 -0
  226. package/lib/outputs/ferryProduct.d.ts +1 -0
  227. package/lib/outputs/ferryProduct.js +7 -0
  228. package/lib/outputs/ferryProposal.d.ts +1 -0
  229. package/lib/outputs/ferryProposal.js +26 -0
  230. package/lib/outputs/ferryProposalTariff.d.ts +1 -0
  231. package/lib/outputs/ferryProposalTariff.js +7 -0
  232. package/lib/outputs/ferryVehicleFuel.d.ts +1 -0
  233. package/lib/outputs/ferryVehicleFuel.js +7 -0
  234. package/lib/outputs/fidelity.d.ts +4 -0
  235. package/lib/outputs/fidelity.js +23 -0
  236. package/lib/outputs/file.d.ts +1 -0
  237. package/lib/outputs/file.js +10 -0
  238. package/lib/outputs/getMyLogin.d.ts +1 -0
  239. package/lib/outputs/getMyLogin.js +6 -0
  240. package/lib/outputs/giftCode.d.ts +1 -0
  241. package/lib/outputs/giftCode.js +17 -0
  242. package/lib/outputs/index.d.ts +9 -0
  243. package/lib/outputs/index.js +19 -0
  244. package/lib/outputs/language.d.ts +1 -0
  245. package/lib/outputs/language.js +13 -0
  246. package/lib/outputs/languages.d.ts +1 -0
  247. package/lib/outputs/languages.js +9 -0
  248. package/lib/outputs/latLng.d.ts +1 -0
  249. package/lib/outputs/latLng.js +7 -0
  250. package/lib/outputs/lineItem.d.ts +2 -0
  251. package/lib/outputs/lineItem.js +52 -0
  252. package/lib/outputs/mapSelectorData.d.ts +2 -0
  253. package/lib/outputs/mapSelectorData.js +29 -0
  254. package/lib/outputs/mapUh.d.ts +1 -0
  255. package/lib/outputs/mapUh.js +18 -0
  256. package/lib/outputs/measurements.d.ts +1 -0
  257. package/lib/outputs/measurements.js +30 -0
  258. package/lib/outputs/moduleFacebookActivated.d.ts +1 -0
  259. package/lib/outputs/moduleFacebookActivated.js +6 -0
  260. package/lib/outputs/nationality.d.ts +1 -0
  261. package/lib/outputs/nationality.js +7 -0
  262. package/lib/outputs/neobookingTranslations.d.ts +1 -0
  263. package/lib/outputs/neobookingTranslations.js +9 -0
  264. package/lib/outputs/occupant.d.ts +2 -0
  265. package/lib/outputs/occupant.js +56 -0
  266. package/lib/outputs/occupantMeasurement.d.ts +1 -0
  267. package/lib/outputs/occupantMeasurement.js +7 -0
  268. package/lib/outputs/occupantProducts.d.ts +1 -0
  269. package/lib/outputs/occupantProducts.js +9 -0
  270. package/lib/outputs/option.d.ts +1 -0
  271. package/lib/outputs/option.js +8 -0
  272. package/lib/outputs/ownerLease.d.ts +2 -0
  273. package/lib/outputs/ownerLease.js +17 -0
  274. package/lib/outputs/ownerLeasePeriod.d.ts +1 -0
  275. package/lib/outputs/ownerLeasePeriod.js +10 -0
  276. package/lib/outputs/ownerLot.d.ts +1 -0
  277. package/lib/outputs/ownerLot.js +8 -0
  278. package/lib/outputs/partner.d.ts +1 -0
  279. package/lib/outputs/partner.js +13 -0
  280. package/lib/outputs/partnerContact.d.ts +1 -0
  281. package/lib/outputs/partnerContact.js +9 -0
  282. package/lib/outputs/partnerCustomerInfo.d.ts +1 -0
  283. package/lib/outputs/partnerCustomerInfo.js +12 -0
  284. package/lib/outputs/passenger.d.ts +1 -0
  285. package/lib/outputs/passenger.js +21 -0
  286. package/lib/outputs/passengerType.d.ts +1 -0
  287. package/lib/outputs/passengerType.js +7 -0
  288. package/lib/outputs/payment.d.ts +1 -0
  289. package/lib/outputs/payment.js +14 -0
  290. package/lib/outputs/paymentDue.d.ts +1 -0
  291. package/lib/outputs/paymentDue.js +29 -0
  292. package/lib/outputs/paymentMethod.d.ts +2 -0
  293. package/lib/outputs/paymentMethod.js +26 -0
  294. package/lib/outputs/paymentMethodOption.d.ts +1 -0
  295. package/lib/outputs/paymentMethodOption.js +7 -0
  296. package/lib/outputs/paymentPlans.d.ts +1 -0
  297. package/lib/outputs/paymentPlans.js +29 -0
  298. package/lib/outputs/pendingFerryBooking.d.ts +1 -0
  299. package/lib/outputs/pendingFerryBooking.js +9 -0
  300. package/lib/outputs/port.d.ts +1 -0
  301. package/lib/outputs/port.js +7 -0
  302. package/lib/outputs/postCodeApiDetail.d.ts +1 -0
  303. package/lib/outputs/postCodeApiDetail.js +6 -0
  304. package/lib/outputs/postCodeApiSimple.d.ts +1 -0
  305. package/lib/outputs/postCodeApiSimple.js +6 -0
  306. package/lib/outputs/primaryOccupant.d.ts +1 -0
  307. package/lib/outputs/primaryOccupant.js +26 -0
  308. package/lib/outputs/privilegeCard.d.ts +1 -0
  309. package/lib/outputs/privilegeCard.js +16 -0
  310. package/lib/outputs/privilegeCardType.d.ts +1 -0
  311. package/lib/outputs/privilegeCardType.js +7 -0
  312. package/lib/outputs/privilegeCardTypes.d.ts +1 -0
  313. package/lib/outputs/privilegeCardTypes.js +13 -0
  314. package/lib/outputs/product.d.ts +1 -0
  315. package/lib/outputs/product.js +79 -0
  316. package/lib/outputs/productByCategory.d.ts +1 -0
  317. package/lib/outputs/productByCategory.js +11 -0
  318. package/lib/outputs/productCategories.d.ts +1 -0
  319. package/lib/outputs/productCategories.js +10 -0
  320. package/lib/outputs/productOption.d.ts +1 -0
  321. package/lib/outputs/productOption.js +7 -0
  322. package/lib/outputs/property.d.ts +3 -0
  323. package/lib/outputs/property.js +36 -0
  324. package/lib/outputs/proposal.d.ts +2 -0
  325. package/lib/outputs/proposal.js +50 -0
  326. package/lib/outputs/proposalByProperty.d.ts +1 -0
  327. package/lib/outputs/proposalByProperty.js +13 -0
  328. package/lib/outputs/relationship.d.ts +1 -0
  329. package/lib/outputs/relationship.js +7 -0
  330. package/lib/outputs/renewPasswordDemand.d.ts +1 -0
  331. package/lib/outputs/renewPasswordDemand.js +6 -0
  332. package/lib/outputs/requestBrochure.d.ts +1 -0
  333. package/lib/outputs/requestBrochure.js +6 -0
  334. package/lib/outputs/resalysVersion.d.ts +1 -0
  335. package/lib/outputs/resalysVersion.js +6 -0
  336. package/lib/outputs/roomFeature.d.ts +2 -0
  337. package/lib/outputs/roomFeature.js +17 -0
  338. package/lib/outputs/roomInfo.d.ts +1 -0
  339. package/lib/outputs/roomInfo.js +8 -0
  340. package/lib/outputs/roomTypeCategories.d.ts +1 -0
  341. package/lib/outputs/roomTypeCategories.js +13 -0
  342. package/lib/outputs/roomTypes.d.ts +1 -0
  343. package/lib/outputs/roomTypes.js +22 -0
  344. package/lib/outputs/salesChannelMode.d.ts +1 -0
  345. package/lib/outputs/salesChannelMode.js +6 -0
  346. package/lib/outputs/service.d.ts +1 -0
  347. package/lib/outputs/service.js +58 -0
  348. package/lib/outputs/session.d.ts +1 -0
  349. package/lib/outputs/session.js +6 -0
  350. package/lib/outputs/sessionActivated.d.ts +1 -0
  351. package/lib/outputs/sessionActivated.js +6 -0
  352. package/lib/outputs/stay.d.ts +1 -0
  353. package/lib/outputs/stay.js +25 -0
  354. package/lib/outputs/stayMapInfos.d.ts +1 -0
  355. package/lib/outputs/stayMapInfos.js +8 -0
  356. package/lib/outputs/supplier.d.ts +1 -0
  357. package/lib/outputs/supplier.js +7 -0
  358. package/lib/outputs/trailer.d.ts +1 -0
  359. package/lib/outputs/trailer.js +15 -0
  360. package/lib/outputs/trailerCategory.d.ts +1 -0
  361. package/lib/outputs/trailerCategory.js +7 -0
  362. package/lib/outputs/translation.d.ts +1 -0
  363. package/lib/outputs/translation.js +7 -0
  364. package/lib/outputs/translations.d.ts +1 -0
  365. package/lib/outputs/translations.js +9 -0
  366. package/lib/outputs/trip.d.ts +1 -0
  367. package/lib/outputs/trip.js +41 -0
  368. package/lib/outputs/user.d.ts +1 -0
  369. package/lib/outputs/user.js +18 -0
  370. package/lib/outputs/vehicle.d.ts +1 -0
  371. package/lib/outputs/vehicle.js +13 -0
  372. package/lib/outputs/vehicleCategory.d.ts +1 -0
  373. package/lib/outputs/vehicleCategory.js +8 -0
  374. package/lib/queries/checkApiAlive.d.ts +2 -0
  375. package/lib/queries/checkApiAlive.js +14 -0
  376. package/lib/queries/checkModuleFacebookActivated.d.ts +2 -0
  377. package/lib/queries/checkModuleFacebookActivated.js +14 -0
  378. package/lib/queries/checkSessionActivated.d.ts +2 -0
  379. package/lib/queries/checkSessionActivated.js +14 -0
  380. package/lib/queries/checkValidLogin.d.ts +2 -0
  381. package/lib/queries/checkValidLogin.js +17 -0
  382. package/lib/queries/getAccommodationProducts.d.ts +2 -0
  383. package/lib/queries/getAccommodationProducts.js +18 -0
  384. package/lib/queries/getAllOccupantProductsAllAgeRanges.d.ts +2 -0
  385. package/lib/queries/getAllOccupantProductsAllAgeRanges.js +18 -0
  386. package/lib/queries/getAlternativeProposalRulesForContractFolder.d.ts +2 -0
  387. package/lib/queries/getAlternativeProposalRulesForContractFolder.js +18 -0
  388. package/lib/queries/getAvailForRoomTypes.d.ts +2 -0
  389. package/lib/queries/getAvailForRoomTypes.js +33 -0
  390. package/lib/queries/getAvailableRoomFeatures.d.ts +2 -0
  391. package/lib/queries/getAvailableRoomFeatures.js +18 -0
  392. package/lib/queries/getBookingDocuments.d.ts +2 -0
  393. package/lib/queries/getBookingDocuments.js +20 -0
  394. package/lib/queries/getBookingPaymentPlans.d.ts +2 -0
  395. package/lib/queries/getBookingPaymentPlans.js +18 -0
  396. package/lib/queries/getBookingProducts.d.ts +2 -0
  397. package/lib/queries/getBookingProducts.js +18 -0
  398. package/lib/queries/getBookingRecordCriterias.d.ts +2 -0
  399. package/lib/queries/getBookingRecordCriterias.js +17 -0
  400. package/lib/queries/getBrochures.d.ts +2 -0
  401. package/lib/queries/getBrochures.js +17 -0
  402. package/lib/queries/getCampaigns.d.ts +2 -0
  403. package/lib/queries/getCampaigns.js +17 -0
  404. package/lib/queries/getCart.d.ts +2 -0
  405. package/lib/queries/getCart.js +19 -0
  406. package/lib/queries/getCivilities.d.ts +2 -0
  407. package/lib/queries/getCivilities.js +17 -0
  408. package/lib/queries/getCountries.d.ts +2 -0
  409. package/lib/queries/getCountries.js +17 -0
  410. package/lib/queries/getCriteriaInformation.d.ts +2 -0
  411. package/lib/queries/getCriteriaInformation.js +20 -0
  412. package/lib/queries/getCurrentCustomerAccount.d.ts +2 -0
  413. package/lib/queries/getCurrentCustomerAccount.js +19 -0
  414. package/lib/queries/getCustomerBookings.d.ts +2 -0
  415. package/lib/queries/getCustomerBookings.js +20 -0
  416. package/lib/queries/getCustomerCriterias.d.ts +2 -0
  417. package/lib/queries/getCustomerCriterias.js +18 -0
  418. package/lib/queries/getCustomerDepositAccounts.d.ts +2 -0
  419. package/lib/queries/getCustomerDepositAccounts.js +17 -0
  420. package/lib/queries/getCustomerGiftCodes.d.ts +2 -0
  421. package/lib/queries/getCustomerGiftCodes.js +19 -0
  422. package/lib/queries/getCustomerLoyaltyPoints.d.ts +2 -0
  423. package/lib/queries/getCustomerLoyaltyPoints.js +17 -0
  424. package/lib/queries/getCustomerPrivilegeCards.d.ts +2 -0
  425. package/lib/queries/getCustomerPrivilegeCards.js +19 -0
  426. package/lib/queries/getFerryAddonCategories.d.ts +2 -0
  427. package/lib/queries/getFerryAddonCategories.js +19 -0
  428. package/lib/queries/getFerryAvailableAccommodations.d.ts +2 -0
  429. package/lib/queries/getFerryAvailableAccommodations.js +22 -0
  430. package/lib/queries/getFerryCars.d.ts +2 -0
  431. package/lib/queries/getFerryCars.js +19 -0
  432. package/lib/queries/getFerryCivilities.d.ts +2 -0
  433. package/lib/queries/getFerryCivilities.js +19 -0
  434. package/lib/queries/getFerryCrossings.d.ts +2 -0
  435. package/lib/queries/getFerryCrossings.js +20 -0
  436. package/lib/queries/getFerryNationalities.d.ts +2 -0
  437. package/lib/queries/getFerryNationalities.js +19 -0
  438. package/lib/queries/getFerryPorts.d.ts +2 -0
  439. package/lib/queries/getFerryPorts.js +19 -0
  440. package/lib/queries/getFerryProducts.d.ts +2 -0
  441. package/lib/queries/getFerryProducts.js +19 -0
  442. package/lib/queries/getFerryProposals.d.ts +2 -0
  443. package/lib/queries/getFerryProposals.js +21 -0
  444. package/lib/queries/getFerryTrailerCategories.d.ts +2 -0
  445. package/lib/queries/getFerryTrailerCategories.js +19 -0
  446. package/lib/queries/getFerryVehicleCategories.d.ts +2 -0
  447. package/lib/queries/getFerryVehicleCategories.js +19 -0
  448. package/lib/queries/getFerryVehicleFuels.d.ts +2 -0
  449. package/lib/queries/getFerryVehicleFuels.js +19 -0
  450. package/lib/queries/getFidelityLogs.d.ts +2 -0
  451. package/lib/queries/getFidelityLogs.js +17 -0
  452. package/lib/queries/getFidelityRules.d.ts +2 -0
  453. package/lib/queries/getFidelityRules.js +17 -0
  454. package/lib/queries/getLanguages.d.ts +2 -0
  455. package/lib/queries/getLanguages.js +17 -0
  456. package/lib/queries/getLyraFormToken.d.ts +2 -0
  457. package/lib/queries/getLyraFormToken.js +26 -0
  458. package/lib/queries/getMapSelectorData.d.ts +2 -0
  459. package/lib/queries/getMapSelectorData.js +18 -0
  460. package/lib/queries/getMyLogin.d.ts +2 -0
  461. package/lib/queries/getMyLogin.js +17 -0
  462. package/lib/queries/getNeobookingTranslations.d.ts +2 -0
  463. package/lib/queries/getNeobookingTranslations.js +24 -0
  464. package/lib/queries/getOccupantProducts.d.ts +2 -0
  465. package/lib/queries/getOccupantProducts.js +18 -0
  466. package/lib/queries/getOccupantsFromCurrentCustomer.d.ts +2 -0
  467. package/lib/queries/getOccupantsFromCurrentCustomer.js +20 -0
  468. package/lib/queries/getOwnerLeases.d.ts +1 -0
  469. package/lib/queries/getOwnerLeases.js +17 -0
  470. package/lib/queries/getOwnerRoomPlanningData.d.ts +2 -0
  471. package/lib/queries/getOwnerRoomPlanningData.js +20 -0
  472. package/lib/queries/getPartner.d.ts +2 -0
  473. package/lib/queries/getPartner.js +17 -0
  474. package/lib/queries/getPartnerCustomers.d.ts +2 -0
  475. package/lib/queries/getPartnerCustomers.js +19 -0
  476. package/lib/queries/getPaymentMethods.d.ts +2 -0
  477. package/lib/queries/getPaymentMethods.js +17 -0
  478. package/lib/queries/getPaymentPlans.d.ts +2 -0
  479. package/lib/queries/getPaymentPlans.js +18 -0
  480. package/lib/queries/getPendingFerryBooking.d.ts +2 -0
  481. package/lib/queries/getPendingFerryBooking.js +19 -0
  482. package/lib/queries/getPostCodeApiDetail.d.ts +2 -0
  483. package/lib/queries/getPostCodeApiDetail.js +18 -0
  484. package/lib/queries/getPostCodeApiSimple.d.ts +2 -0
  485. package/lib/queries/getPostCodeApiSimple.js +18 -0
  486. package/lib/queries/getPrivilegeCardTypes.d.ts +2 -0
  487. package/lib/queries/getPrivilegeCardTypes.js +17 -0
  488. package/lib/queries/getProductCategories.d.ts +2 -0
  489. package/lib/queries/getProductCategories.js +17 -0
  490. package/lib/queries/getProperties.d.ts +4 -0
  491. package/lib/queries/getProperties.js +47 -0
  492. package/lib/queries/getProposalByRoomTypes.d.ts +2 -0
  493. package/lib/queries/getProposalByRoomTypes.js +18 -0
  494. package/lib/queries/getProposals.d.ts +2 -0
  495. package/lib/queries/getProposals.js +18 -0
  496. package/lib/queries/getProposalsByKeys.d.ts +2 -0
  497. package/lib/queries/getProposalsByKeys.js +18 -0
  498. package/lib/queries/getProposalsByProperties.d.ts +2 -0
  499. package/lib/queries/getProposalsByProperties.js +20 -0
  500. package/lib/queries/getRelationships.d.ts +2 -0
  501. package/lib/queries/getRelationships.js +19 -0
  502. package/lib/queries/getResalysErrorList.d.ts +2 -0
  503. package/lib/queries/getResalysErrorList.js +19 -0
  504. package/lib/queries/getResalysVersion.d.ts +2 -0
  505. package/lib/queries/getResalysVersion.js +14 -0
  506. package/lib/queries/getRoomTypeCategories.d.ts +2 -0
  507. package/lib/queries/getRoomTypeCategories.js +18 -0
  508. package/lib/queries/getRoomTypes.d.ts +2 -0
  509. package/lib/queries/getRoomTypes.js +24 -0
  510. package/lib/queries/getSalesChannelMode.d.ts +2 -0
  511. package/lib/queries/getSalesChannelMode.js +14 -0
  512. package/lib/queries/getSession.d.ts +2 -0
  513. package/lib/queries/getSession.js +14 -0
  514. package/lib/queries/getSkisetMeasurements.d.ts +2 -0
  515. package/lib/queries/getSkisetMeasurements.js +17 -0
  516. package/lib/queries/getTranslations.d.ts +2 -0
  517. package/lib/queries/getTranslations.js +18 -0
  518. package/lib/queries/getUserLanguage.d.ts +2 -0
  519. package/lib/queries/getUserLanguage.js +16 -0
  520. package/lib/queries/hasProductsForOccupant.d.ts +2 -0
  521. package/lib/queries/hasProductsForOccupant.js +17 -0
  522. package/lib/queries/index.d.ts +74 -0
  523. package/lib/queries/index.js +152 -0
  524. package/lib/queries/renewPassword.d.ts +2 -0
  525. package/lib/queries/renewPassword.js +18 -0
  526. package/lib/queries/requestBrochure.d.ts +2 -0
  527. package/lib/queries/requestBrochure.js +18 -0
  528. package/lib/types/index.d.ts +2882 -0
  529. package/lib/types/index.js +46 -0
  530. package/package.json +54 -0
package/README.md ADDED
@@ -0,0 +1,116 @@
1
+ <p align="center">
2
+ <img width="100px" src="https://gitlab.dev.sequoiasoft.com/resalys/npm-graphql-versioning/-/raw/dev/.github/images/favicon512x512-npm.png" align="center" alt=":package: rsl-api" />
3
+ <h2 align="center">:package: rsl-api</h2>
4
+ <p align="center">TypeScript NPM Module for Resalys's GraphQL API</p>
5
+ </p>
6
+
7
+ # Getting started
8
+
9
+ ## Introduction
10
+
11
+ The rsl-api package is here to assist you in the development of your JavaScript project, providing all the necessary queries, mutations, and types for your project.
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ npm install rsl-api-105
17
+ ```
18
+
19
+ ## ApolloClient Initialization
20
+
21
+ Before starting, make sure you correctly initialize your apollo client with the corresponding HttpOptions.
22
+ This package gives you a simple and efficient way to define your Apollo Client.
23
+
24
+ For a advanced ApolloClient, please refer to the [Apollo Graphql Documentation](https://www.apollographql.com/docs/).
25
+
26
+ ```js
27
+ export const initClient = (option: HttpOptions, responseLoggerHandler?: (operation: Operation) => void) : ApolloClient<NormalizedCacheObject>
28
+ ```
29
+
30
+ | Parameter value | Type | Description | Default value |
31
+ | ----------------------- | -------------------------------- | --------------------------------------- | ------------- |
32
+ | `httpOptions` | `HttpOptions` | **Required** - ApolloClient HttpOptions | |
33
+ | `responseLoggerHandler` | `(operation: Operation) => void` | **Optional** - Response Logger Handler | `undefined` |
34
+
35
+ The responseLoggerHandler parameter allow you to handle all executed GraphQL operations.
36
+
37
+ ### HttpOptions Configuration
38
+
39
+ This package also gives you a easy way to get basics HttpOptions if you don't know what to put in.
40
+
41
+ ```js
42
+ export const getBaseHttpOptions = (uri: string): HttpOptions => {
43
+ return {
44
+ uri: uri,
45
+ headers: {
46
+ "Content-Type": "application/json;charset=utf-8",
47
+ "Access-Control-Allow-Origin": "*",
48
+ "Access-Control-Allow-Credentials": "true",
49
+ },
50
+ };
51
+ };
52
+ ```
53
+
54
+ ## Example of usage using ReactJS
55
+
56
+ ```js
57
+ // apollo/client Package
58
+ import { ApolloProvider, useQuery, Operation } from "@apollo/client";
59
+
60
+ // rsl-api Package
61
+ import { initClient, getBaseHttpOptions } from "rsl-api";
62
+ import { getCartQuery } from "rsl-api/lib/queries";
63
+
64
+ // Custom Hooks
65
+ import { useSession } from "@hooks";
66
+
67
+ // Apollo Client HttpOptions
68
+ const httpOptions = {
69
+ uri: "https://yourdomain.com/rsl/graphql",
70
+ headers: {
71
+ "Content-Type": "application/json;charset=utf-8",
72
+ "Access-Control-Allow-Origin": "*",
73
+ "Access-Control-Allow-Credentials": "true",
74
+ },
75
+ };
76
+ //or
77
+ //const httpOptions = getBaseHttpOptions("https://yourdomain.com/rsl/graphql");
78
+
79
+ // Apollo Client
80
+ const responseLoggerHandler = (operation) => {
81
+ //if url parameter "debug" equal "true", then display the operation in the console
82
+ new URLSearchParams(window.location.search).get("debug") === "true" &&
83
+ console.info(operation);
84
+ };
85
+
86
+ const client = initClient(httpOptions, responseLoggerHandler);
87
+
88
+ <ApolloProvider client={client}>
89
+ <MyCartComponent />
90
+ </ApolloProvider>;
91
+
92
+ const MyCartComponent = () => {
93
+ const { session } = useSession();
94
+ const { data, error, loading } = useQuery(getCartQuery(), {
95
+ variables: { session: { name: session } },
96
+ });
97
+
98
+ if (error) return <div>{error.message}</div>;
99
+
100
+ return loading ? (
101
+ <div>Query loading...</div>
102
+ ) : (
103
+ <div>
104
+ {data?.getCart?.cart?.reservations?.map((r, i) => {
105
+ return <div>...</div>;
106
+ })}
107
+ </div>
108
+ );
109
+ };
110
+ ```
111
+
112
+ ## Errors
113
+
114
+ | Error | Type | Solution |
115
+ | ------------------------------------------------------------------ | -------- | ---------------------------------------------- |
116
+ | [CORS](https://developer.mozilla.org/fr/docs/Web/HTTP/CORS/Errors) | `server` | Enable CORS from our Infrastructure department |
package/lib/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { ApolloClient, HttpOptions, NormalizedCacheObject, Operation } from "@apollo/client";
2
+ export declare const initClient: (httpOptions: HttpOptions, responseLoggerHandler?: ((operation: Operation) => void) | undefined) => ApolloClient<NormalizedCacheObject>;
3
+ export declare const getBaseHttpOptions: (uri: string) => HttpOptions;
package/lib/index.js ADDED
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getBaseHttpOptions = exports.initClient = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const responseLogger = (handler) => {
6
+ const _responseLogger = new client_1.ApolloLink((operation, forward) => {
7
+ return forward(operation).map((result) => {
8
+ handler(operation);
9
+ return result;
10
+ });
11
+ });
12
+ return _responseLogger;
13
+ };
14
+ const initClient = (httpOptions, responseLoggerHandler) => {
15
+ const httpLink = (0, client_1.createHttpLink)(httpOptions);
16
+ const links = responseLoggerHandler
17
+ ? [responseLogger(responseLoggerHandler), httpLink]
18
+ : [httpLink];
19
+ const apolloClient = new client_1.ApolloClient({
20
+ link: client_1.ApolloLink.from(links),
21
+ cache: new client_1.InMemoryCache(),
22
+ });
23
+ return apolloClient;
24
+ };
25
+ exports.initClient = initClient;
26
+ const getBaseHttpOptions = (uri) => {
27
+ return {
28
+ uri: uri,
29
+ headers: {
30
+ "Content-Type": "application/json;charset=utf-8",
31
+ "Access-Control-Allow-Origin": "*",
32
+ "Access-Control-Allow-Credentials": "true",
33
+ },
34
+ };
35
+ };
36
+ exports.getBaseHttpOptions = getBaseHttpOptions;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addBabyMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addBabyMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addBabyMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addBaby($session: Session!, $input: AddBabyInput!) {
9
+ addBaby(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addBabyMutation = addBabyMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addCustomerDepositAccountPaymentsMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addCustomerDepositAccountPaymentsMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const customerBooking_1 = require("../outputs/customerBooking");
6
+ const addCustomerDepositAccountPaymentsMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addCustomerDepositAccountPayments($session: Session!, $input: CustomerDepositAccountPaymentsInput) {
9
+ addCustomerDepositAccountPayments(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ reservation {
14
+ ${customerBooking_1.customerBookingOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addCustomerDepositAccountPaymentsMutation = addCustomerDepositAccountPaymentsMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addDiscountCodeMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addDiscountCodeMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addDiscountCodeMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addDiscountCode($session: Session!, $input: DiscountCodeInput!) {
9
+ addDiscountCode(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addDiscountCodeMutation = addDiscountCodeMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addFidelityPointToProductMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addFidelityPointToProductMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addFidelityPointToProductMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addFidelityPointToProduct($session: Session!, $input: FidelityPointToProductInput!) {
9
+ addFidelityPointToProduct(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addFidelityPointToProductMutation = addFidelityPointToProductMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addGiftCodeMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addGiftCodeMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addGiftCodeMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addGiftCode($session: Session!, $input: GiftCodeInput) {
9
+ addGiftCode(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addGiftCodeMutation = addGiftCodeMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addObservationMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addObservationMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addObservationMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addObservation($session: Session!, $input: ObservationInput!) {
9
+ addObservation(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addObservationMutation = addObservationMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addOccupantMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addOccupantMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addOccupantMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addOccupant($session: Session!, $input: AddOccupantInput!) {
9
+ addOccupant(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addOccupantMutation = addOccupantMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from '@apollo/client';
2
+ export declare const addPartnerCustomerAccountMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addPartnerCustomerAccountMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const service_1 = require("../outputs/service");
6
+ const addPartnerCustomerAccountMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addPartnerCustomerAccount($session: Session!, $input: AddPartnerCustomerAccountInput) {
9
+ addPartnerCustomerAccount(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ service {
14
+ ${service_1.serviceOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addPartnerCustomerAccountMutation = addPartnerCustomerAccountMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addPartnerToCartMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addPartnerToCartMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const service_1 = require("../outputs/service");
6
+ const addPartnerToCartMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addPartnerToCart($session: Session!, $input: PartnerToCartInput!) {
9
+ addPartnerToCart(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ service {
14
+ ${service_1.serviceOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addPartnerToCartMutation = addPartnerToCartMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addProductToBookingMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addProductToBookingMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addProductToBookingMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addProductToBooking($session: Session!, $input: ProductToBookingInput!) {
9
+ addProductToBooking(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addProductToBookingMutation = addProductToBookingMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const addProductToOccupantMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addProductToOccupantMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const addProductToOccupantMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation addProductToOccupant($session: Session!, $input: [ProductToOccupantInput]!) {
9
+ addProductToOccupant(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.addProductToOccupantMutation = addProductToOccupantMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const cancelFerryBookingMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cancelFerryBookingMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const cancelFerryBookingMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation cancelFerryBooking($session: Session!, $input: CancelFerryBookingInput) {
9
+ cancelFerryBooking(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.cancelFerryBookingMutation = cancelFerryBookingMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const changePasswordMutation: () => DocumentNode;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.changePasswordMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const changePasswordMutation = () => {
6
+ return (0, client_1.gql) `
7
+ mutation changePassword($session: Session!, $input: ChangePasswordInput!) {
8
+ changePassword(
9
+ session: $session,
10
+ input: $input
11
+ ) {
12
+ message
13
+ }
14
+ }
15
+ `;
16
+ };
17
+ exports.changePasswordMutation = changePasswordMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const chooseFerryProposalMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.chooseFerryProposalMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const ferryBooking_1 = require("../outputs/ferryBooking");
6
+ const chooseFerryProposalMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation chooseFerryProposal($session: Session!, $input: ChooseFerryProposalInput!) {
9
+ chooseFerryProposal(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ ferryBooking {
14
+ ${ferryBooking_1.ferryBookingOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.chooseFerryProposalMutation = chooseFerryProposalMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const chooseProposalFromKeysMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.chooseProposalFromKeysMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const chooseProposalFromKeysMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation chooseProposalFromKeys($session: Session!, $input: ChooseProposalFromKeysInput!) {
9
+ chooseProposalFromKeys(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.chooseProposalFromKeysMutation = chooseProposalFromKeysMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const chooseRoundTripProposalsMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.chooseRoundTripProposalsMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const ferryBooking_1 = require("../outputs/ferryBooking");
6
+ const chooseRoundTripProposalsMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation chooseRoundTripProposals($session: Session!, $input: ChooseRoundTripProposalsInput!) {
9
+ chooseRoundTripProposals(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ ferryBooking {
14
+ ${ferryBooking_1.ferryBookingOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.chooseRoundTripProposalsMutation = chooseRoundTripProposalsMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const confirmFastCheckoutMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.confirmFastCheckoutMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const cart_1 = require("../outputs/cart");
6
+ const confirmFastCheckoutMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation confirmFastCheckout($session: Session!, $input: ConfirmFastCheckoutInput) {
9
+ confirmFastCheckout(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ cart {
14
+ ${cart_1.cartOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.confirmFastCheckoutMutation = confirmFastCheckoutMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const createCustomerAccountMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createCustomerAccountMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const service_1 = require("../outputs/service");
6
+ const createCustomerAccountMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation createCustomerAccount($session: Session!, $input: CreateCustomerAccountInput) {
9
+ createCustomerAccount(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ service {
14
+ ${service_1.serviceOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.createCustomerAccountMutation = createCustomerAccountMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from "@apollo/client";
2
+ export declare const createServiceCustomerAccountMutation: () => DocumentNode;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createServiceCustomerAccountMutation = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const service_1 = require("../outputs/service");
6
+ const createServiceCustomerAccountMutation = () => {
7
+ return (0, client_1.gql) `
8
+ mutation createServiceCustomerAccount($session: Session!, $input: CreateServiceCustomerAccountInput) {
9
+ createServiceCustomerAccount(
10
+ session: $session,
11
+ input: $input
12
+ ) {
13
+ service {
14
+ ${service_1.serviceOutput}
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ };
20
+ exports.createServiceCustomerAccountMutation = createServiceCustomerAccountMutation;
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from '@apollo/client';
2
+ export declare const disableEnablePartnerCustomerAccountMutation: () => DocumentNode;