rsl-api-106 106.572.0 → 106.628.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.
@@ -15,6 +15,9 @@ const generateSepteoPaymentsSessionMutation = () => {
15
15
  isTest
16
16
  gatewayId
17
17
  paymentDueId
18
+ googlePayJwt
19
+ googlePayMerchantId
20
+ googlePayMerchantOrigin
18
21
  }
19
22
  }
20
23
  `;
@@ -8,6 +8,7 @@ exports.productProposalOutput = `
8
8
  description,
9
9
  propertyId,
10
10
  proposalKey,
11
+ imagePath,
11
12
  amount {
12
13
  ${amount_1.amountOutput}
13
14
  }
@@ -0,0 +1 @@
1
+ export declare const referralLinkOutput = "\n referralCode,\n referralLink\n";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.referralLinkOutput = void 0;
4
+ exports.referralLinkOutput = `
5
+ referralCode,
6
+ referralLink
7
+ `;
@@ -0,0 +1 @@
1
+ export declare const referredCustomerOutput = "\n creationDate,\n email,\n firstName,\n lastName\n";
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.referredCustomerOutput = void 0;
4
+ exports.referredCustomerOutput = `
5
+ creationDate,
6
+ email,
7
+ firstName,
8
+ lastName
9
+ `;
@@ -0,0 +1 @@
1
+ export declare const getReferralLinkQuery: () => import("@apollo/client").DocumentNode;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getReferralLinkQuery = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const referralLink_1 = require("../outputs/referralLink");
6
+ const getReferralLinkQuery = () => {
7
+ return (0, client_1.gql) `
8
+ query getReferralLink($session: Session!) {
9
+ getReferralLink(
10
+ session: $session
11
+ ) {
12
+ ${referralLink_1.referralLinkOutput}
13
+ }
14
+ }
15
+ `;
16
+ };
17
+ exports.getReferralLinkQuery = getReferralLinkQuery;
@@ -0,0 +1 @@
1
+ export declare const getReferredQuery: () => import("@apollo/client").DocumentNode;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getReferredQuery = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const referredCustomer_1 = require("../outputs/referredCustomer");
6
+ const getReferredQuery = () => {
7
+ return (0, client_1.gql) `
8
+ query getReferred($session: Session!) {
9
+ getReferred(
10
+ session: $session
11
+ ) {
12
+ referred {
13
+ ${referredCustomer_1.referredCustomerOutput}
14
+ }
15
+ }
16
+ }
17
+ `;
18
+ };
19
+ exports.getReferredQuery = getReferredQuery;
@@ -89,4 +89,6 @@ import { getProductInfosForBenificiaryQuery } from "./getProductInfosForBenifici
89
89
  import { getVouchersFromCartQuery } from "./getVouchersFromCart";
90
90
  import { getProductSummariesQuery } from "./getProductSummaries";
91
91
  import { getOngoingTransfersQuery } from "./getOngoingTransfers";
92
- 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, getCurrentOwnerAccountQuery, getOwnerServiceChargeInvoicesDocumentQuery, getBankAccountsQuery, getNationalitiesQuery, getStayCreditsQuery, getProductSearchCriteriasQuery, getProductPropertiesQuery, getProductProposalsQuery, getProductInfosForBenificiaryQuery, getVouchersFromCartQuery, getProductSummariesQuery, getOngoingTransfersQuery, };
92
+ import { getReferralLinkQuery } from "./getReferralLink";
93
+ import { getReferredQuery } from "./getReferred";
94
+ 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, getCurrentOwnerAccountQuery, getOwnerServiceChargeInvoicesDocumentQuery, getBankAccountsQuery, getNationalitiesQuery, getStayCreditsQuery, getProductSearchCriteriasQuery, getProductPropertiesQuery, getProductProposalsQuery, getProductInfosForBenificiaryQuery, getVouchersFromCartQuery, getProductSummariesQuery, getOngoingTransfersQuery, getReferralLinkQuery, getReferredQuery, };
@@ -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.getOngoingTransfersQuery = exports.getProductSummariesQuery = exports.getVouchersFromCartQuery = exports.getProductInfosForBenificiaryQuery = exports.getProductProposalsQuery = exports.getProductPropertiesQuery = exports.getProductSearchCriteriasQuery = exports.getStayCreditsQuery = exports.getNationalitiesQuery = exports.getBankAccountsQuery = exports.getOwnerServiceChargeInvoicesDocumentQuery = exports.getCurrentOwnerAccountQuery = 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;
4
+ exports.getReferredQuery = exports.getReferralLinkQuery = exports.getOngoingTransfersQuery = exports.getProductSummariesQuery = exports.getVouchersFromCartQuery = exports.getProductInfosForBenificiaryQuery = exports.getProductProposalsQuery = exports.getProductPropertiesQuery = exports.getProductSearchCriteriasQuery = exports.getStayCreditsQuery = exports.getNationalitiesQuery = exports.getBankAccountsQuery = exports.getOwnerServiceChargeInvoicesDocumentQuery = exports.getCurrentOwnerAccountQuery = 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");
@@ -190,3 +190,7 @@ const getProductSummaries_1 = require("./getProductSummaries");
190
190
  Object.defineProperty(exports, "getProductSummariesQuery", { enumerable: true, get: function () { return getProductSummaries_1.getProductSummariesQuery; } });
191
191
  const getOngoingTransfers_1 = require("./getOngoingTransfers");
192
192
  Object.defineProperty(exports, "getOngoingTransfersQuery", { enumerable: true, get: function () { return getOngoingTransfers_1.getOngoingTransfersQuery; } });
193
+ const getReferralLink_1 = require("./getReferralLink");
194
+ Object.defineProperty(exports, "getReferralLinkQuery", { enumerable: true, get: function () { return getReferralLink_1.getReferralLinkQuery; } });
195
+ const getReferred_1 = require("./getReferred");
196
+ Object.defineProperty(exports, "getReferredQuery", { enumerable: true, get: function () { return getReferred_1.getReferredQuery; } });
@@ -502,6 +502,7 @@ export type CreateCustomerAccountInput = {
502
502
  languageCode?: InputMaybe<Scalars["String"]>;
503
503
  lastName: Scalars["String"];
504
504
  nationalityCode?: InputMaybe<Scalars["String"]>;
505
+ referralCode?: InputMaybe<Scalars["String"]>;
505
506
  };
506
507
  export type CreateCustomerAccountOutput = {
507
508
  __typename?: "CreateCustomerAccountOutput";
@@ -1049,6 +1050,9 @@ export type GenerateSepteoPaymentsSessionOutput = {
1049
1050
  countryCode?: Maybe<Scalars["String"]>;
1050
1051
  gatewayClientKey?: Maybe<Scalars["String"]>;
1051
1052
  gatewayId?: Maybe<Scalars["Int"]>;
1053
+ googlePayJwt?: Maybe<Scalars["String"]>;
1054
+ googlePayMerchantId?: Maybe<Scalars["String"]>;
1055
+ googlePayMerchantOrigin?: Maybe<Scalars["String"]>;
1052
1056
  isTest?: Maybe<Scalars["Boolean"]>;
1053
1057
  paymentDueId?: Maybe<Scalars["Int"]>;
1054
1058
  paymentResponse?: Maybe<Scalars["String"]>;
@@ -2302,6 +2306,7 @@ export type ProductProposal = {
2302
2306
  __typename?: "ProductProposal";
2303
2307
  amount?: Maybe<Amount>;
2304
2308
  description?: Maybe<Scalars["String"]>;
2309
+ imagePath?: Maybe<Scalars["String"]>;
2305
2310
  label?: Maybe<Scalars["String"]>;
2306
2311
  productCode?: Maybe<Scalars["String"]>;
2307
2312
  propertyId?: Maybe<Scalars["Int"]>;
@@ -2604,6 +2609,8 @@ export type Query = {
2604
2609
  getProposals?: Maybe<ProposalsOutput>;
2605
2610
  getProposalsByKeys?: Maybe<ProposalsByKeysOutput>;
2606
2611
  getProposalsByProperties?: Maybe<ProposalsByPropertiesOutput>;
2612
+ getReferralLink?: Maybe<ReferralLinkOutput>;
2613
+ getReferred?: Maybe<ReferredOutput>;
2607
2614
  getRelationships?: Maybe<RelationshipOutput>;
2608
2615
  getResalysErrorList?: Maybe<ResalysErrorListOutput>;
2609
2616
  getResalysVersion?: Maybe<ResalysVersionOutput>;
@@ -2967,6 +2974,14 @@ export type QueryGetProposalsByPropertiesArgs = {
2967
2974
  session: Session;
2968
2975
  };
2969
2976
  /** test query */
2977
+ export type QueryGetReferralLinkArgs = {
2978
+ session: Session;
2979
+ };
2980
+ /** test query */
2981
+ export type QueryGetReferredArgs = {
2982
+ session: Session;
2983
+ };
2984
+ /** test query */
2970
2985
  export type QueryGetRelationshipsArgs = {
2971
2986
  session: Session;
2972
2987
  };
@@ -3038,6 +3053,22 @@ export type RibInput = {
3038
3053
  branchCode: Scalars["String"];
3039
3054
  ribKey: Scalars["String"];
3040
3055
  };
3056
+ export type ReferralLinkOutput = {
3057
+ __typename?: "ReferralLinkOutput";
3058
+ referralCode?: Maybe<Scalars["String"]>;
3059
+ referralLink?: Maybe<Scalars["String"]>;
3060
+ };
3061
+ export type ReferredCustomer = {
3062
+ __typename?: "ReferredCustomer";
3063
+ creationDate?: Maybe<Scalars["Date"]>;
3064
+ email?: Maybe<Scalars["String"]>;
3065
+ firstName?: Maybe<Scalars["String"]>;
3066
+ lastName?: Maybe<Scalars["String"]>;
3067
+ };
3068
+ export type ReferredOutput = {
3069
+ __typename?: "ReferredOutput";
3070
+ referred?: Maybe<Array<Maybe<ReferredCustomer>>>;
3071
+ };
3041
3072
  export type Relationship = {
3042
3073
  __typename?: "Relationship";
3043
3074
  id: Scalars["Int"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsl-api-106",
3
- "version": "106.572.0",
3
+ "version": "106.628.0",
4
4
  "description": "TypeScript NPM Module for Resalys's GraphQL API (106)",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {