rsl-api-106 106.227.0 → 106.250.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/mutations/generateSepteoPaymentsSession.d.ts +1 -0
- package/lib/mutations/generateSepteoPaymentsSession.js +22 -0
- package/lib/mutations/index.d.ts +3 -1
- package/lib/mutations/index.js +5 -1
- package/lib/mutations/saveSepteoPaymentsTransaction.d.ts +1 -0
- package/lib/mutations/saveSepteoPaymentsTransaction.js +18 -0
- package/lib/outputs/businessActor.d.ts +1 -0
- package/lib/outputs/businessActor.js +7 -0
- package/lib/outputs/customerBooking.js +1 -0
- package/lib/outputs/customerDepositAccount.js +4 -0
- package/lib/outputs/customerDepositAccountInfo.js +5 -2
- package/lib/types/index.d.ts +49 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const generateSepteoPaymentsSessionMutation: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.generateSepteoPaymentsSessionMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const generateSepteoPaymentsSessionMutation = () => {
|
|
6
|
+
return (0, client_1.gql) `
|
|
7
|
+
mutation generateSepteoPaymentsSession(
|
|
8
|
+
$session: Session!
|
|
9
|
+
$input: GenerateSepteoPaymentsSessionInput!
|
|
10
|
+
) {
|
|
11
|
+
generateSepteoPaymentsSession(session: $session, input: $input) {
|
|
12
|
+
paymentResponse
|
|
13
|
+
countryCode
|
|
14
|
+
gatewayClientKey
|
|
15
|
+
isTest
|
|
16
|
+
gatewayId
|
|
17
|
+
paymentDueId
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
};
|
|
22
|
+
exports.generateSepteoPaymentsSessionMutation = generateSepteoPaymentsSessionMutation;
|
package/lib/mutations/index.d.ts
CHANGED
|
@@ -75,4 +75,6 @@ import { validateLyraPaymentMutation } from "./validateLyraPayment";
|
|
|
75
75
|
import { updatePartnerCustomerAccountMutation } from "./updatePartnerCustomerAccount";
|
|
76
76
|
import { generateLyraFormTokenMutation } from "./generateLyraFormToken";
|
|
77
77
|
import { redirectPaymentGatewayForAccountMutation } from "./redirectPaymentGatewayForAccount";
|
|
78
|
-
|
|
78
|
+
import { generateSepteoPaymentsSessionMutation } from "./generateSepteoPaymentsSession";
|
|
79
|
+
import { saveSepteoPaymentsTransactionMutation } from "./saveSepteoPaymentsTransaction";
|
|
80
|
+
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, };
|
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.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.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");
|
|
@@ -156,3 +156,7 @@ const generateLyraFormToken_1 = require("./generateLyraFormToken");
|
|
|
156
156
|
Object.defineProperty(exports, "generateLyraFormTokenMutation", { enumerable: true, get: function () { return generateLyraFormToken_1.generateLyraFormTokenMutation; } });
|
|
157
157
|
const redirectPaymentGatewayForAccount_1 = require("./redirectPaymentGatewayForAccount");
|
|
158
158
|
Object.defineProperty(exports, "redirectPaymentGatewayForAccountMutation", { enumerable: true, get: function () { return redirectPaymentGatewayForAccount_1.redirectPaymentGatewayForAccountMutation; } });
|
|
159
|
+
const generateSepteoPaymentsSession_1 = require("./generateSepteoPaymentsSession");
|
|
160
|
+
Object.defineProperty(exports, "generateSepteoPaymentsSessionMutation", { enumerable: true, get: function () { return generateSepteoPaymentsSession_1.generateSepteoPaymentsSessionMutation; } });
|
|
161
|
+
const saveSepteoPaymentsTransaction_1 = require("./saveSepteoPaymentsTransaction");
|
|
162
|
+
Object.defineProperty(exports, "saveSepteoPaymentsTransactionMutation", { enumerable: true, get: function () { return saveSepteoPaymentsTransaction_1.saveSepteoPaymentsTransactionMutation; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const saveSepteoPaymentsTransactionMutation: () => import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.saveSepteoPaymentsTransactionMutation = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const cart_1 = require("../outputs/cart");
|
|
6
|
+
const saveSepteoPaymentsTransactionMutation = () => {
|
|
7
|
+
return (0, client_1.gql) `
|
|
8
|
+
mutation saveSepteoPaymentsTransaction(
|
|
9
|
+
$session: Session!
|
|
10
|
+
$input: SaveSepteoPaymentsTransactionInput!
|
|
11
|
+
) {
|
|
12
|
+
cart {
|
|
13
|
+
${cart_1.cartOutput}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
17
|
+
};
|
|
18
|
+
exports.saveSepteoPaymentsTransactionMutation = saveSepteoPaymentsTransactionMutation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const businessActorOutput = "\n id,\n label\n";
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.customerDepositAccountOutput = void 0;
|
|
4
4
|
const amount_1 = require("./amount");
|
|
5
|
+
const businessActor_1 = require("./businessActor");
|
|
5
6
|
exports.customerDepositAccountOutput = `
|
|
6
7
|
id,
|
|
7
8
|
name,
|
|
@@ -9,5 +10,8 @@ exports.customerDepositAccountOutput = `
|
|
|
9
10
|
type,
|
|
10
11
|
balance {
|
|
11
12
|
${amount_1.amountOutput}
|
|
13
|
+
},
|
|
14
|
+
businessActor {
|
|
15
|
+
${businessActor_1.businessActorOutput}
|
|
12
16
|
}
|
|
13
17
|
`;
|
|
@@ -8,10 +8,13 @@ exports.customerDepositAccountInfoOutput = `
|
|
|
8
8
|
bookingId,
|
|
9
9
|
depositAccount {
|
|
10
10
|
${customerDepositAccount_1.customerDepositAccountOutput}
|
|
11
|
-
}
|
|
11
|
+
},
|
|
12
12
|
expectedDepositAmount {
|
|
13
13
|
${amount_1.amountOutput}
|
|
14
|
-
}
|
|
14
|
+
},
|
|
15
|
+
remainingDueDepositAmount {
|
|
16
|
+
${amount_1.amountOutput}
|
|
17
|
+
},
|
|
15
18
|
service {
|
|
16
19
|
${service_1.serviceOutput}
|
|
17
20
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -245,6 +245,11 @@ export type BrochuresOutput = {
|
|
|
245
245
|
/** @deprecated Use 'brochureList'. */
|
|
246
246
|
brochures?: Maybe<Array<Maybe<Option>>>;
|
|
247
247
|
};
|
|
248
|
+
export type BusinessActor = {
|
|
249
|
+
__typename?: "BusinessActor";
|
|
250
|
+
id?: Maybe<Scalars["Int"]>;
|
|
251
|
+
label?: Maybe<Scalars["String"]>;
|
|
252
|
+
};
|
|
248
253
|
export type CmsCriteria = {
|
|
249
254
|
__typename?: "CMSCriteria";
|
|
250
255
|
classId: Scalars["Int"];
|
|
@@ -600,6 +605,7 @@ export type CustomerBooking = {
|
|
|
600
605
|
externalCode?: Maybe<Scalars["String"]>;
|
|
601
606
|
id?: Maybe<Scalars["Int"]>;
|
|
602
607
|
isCanceled?: Maybe<Scalars["Boolean"]>;
|
|
608
|
+
isCheckedIn?: Maybe<Scalars["Boolean"]>;
|
|
603
609
|
isEnableEditPrimaryOccupant?: Maybe<Scalars["Boolean"]>;
|
|
604
610
|
isEnableEditReservation?: Maybe<Scalars["Boolean"]>;
|
|
605
611
|
isEnableFastCheckin?: Maybe<Scalars["Boolean"]>;
|
|
@@ -667,6 +673,7 @@ export type CustomerCriteriasOutput = {
|
|
|
667
673
|
export type CustomerDepositAccount = {
|
|
668
674
|
__typename?: "CustomerDepositAccount";
|
|
669
675
|
balance?: Maybe<Amount>;
|
|
676
|
+
businessActor?: Maybe<BusinessActor>;
|
|
670
677
|
id?: Maybe<Scalars["Int"]>;
|
|
671
678
|
name?: Maybe<Scalars["String"]>;
|
|
672
679
|
propertyId: Scalars["Int"];
|
|
@@ -677,6 +684,7 @@ export type CustomerDepositAccountInfo = {
|
|
|
677
684
|
bookingId?: Maybe<Scalars["Int"]>;
|
|
678
685
|
depositAccount?: Maybe<CustomerDepositAccount>;
|
|
679
686
|
expectedDepositAmount?: Maybe<Amount>;
|
|
687
|
+
remainingDueDepositAmount?: Maybe<Amount>;
|
|
680
688
|
service?: Maybe<Service>;
|
|
681
689
|
};
|
|
682
690
|
export type CustomerDepositAccountPaymentsInput = {
|
|
@@ -941,6 +949,20 @@ export type GatewayDescription = {
|
|
|
941
949
|
publicKey?: Maybe<Scalars["String"]>;
|
|
942
950
|
url?: Maybe<PspUrlOutput>;
|
|
943
951
|
};
|
|
952
|
+
export type GenerateSepteoPaymentsSessionInput = {
|
|
953
|
+
amount: MoneyInput;
|
|
954
|
+
globalPay?: InputMaybe<Scalars["Boolean"]>;
|
|
955
|
+
paymentDueId?: InputMaybe<Scalars["Int"]>;
|
|
956
|
+
};
|
|
957
|
+
export type GenerateSepteoPaymentsSessionOutput = {
|
|
958
|
+
__typename?: "GenerateSepteoPaymentsSessionOutput";
|
|
959
|
+
countryCode?: Maybe<Scalars["String"]>;
|
|
960
|
+
gatewayClientKey?: Maybe<Scalars["String"]>;
|
|
961
|
+
gatewayId?: Maybe<Scalars["Int"]>;
|
|
962
|
+
isTest?: Maybe<Scalars["Boolean"]>;
|
|
963
|
+
paymentDueId?: Maybe<Scalars["Int"]>;
|
|
964
|
+
paymentResponse?: Maybe<Scalars["String"]>;
|
|
965
|
+
};
|
|
944
966
|
export type GiftCode = {
|
|
945
967
|
__typename?: "GiftCode";
|
|
946
968
|
amount?: Maybe<Amount>;
|
|
@@ -1141,6 +1163,10 @@ export type ModuleFacebookActivatedOutput = {
|
|
|
1141
1163
|
__typename?: "ModuleFacebookActivatedOutput";
|
|
1142
1164
|
activated?: Maybe<Scalars["Boolean"]>;
|
|
1143
1165
|
};
|
|
1166
|
+
export type MoneyInput = {
|
|
1167
|
+
amount?: InputMaybe<Scalars["BigDecimal"]>;
|
|
1168
|
+
currencyCode?: InputMaybe<Scalars["String"]>;
|
|
1169
|
+
};
|
|
1144
1170
|
export type Mutation = {
|
|
1145
1171
|
__typename?: "Mutation";
|
|
1146
1172
|
addBaby?: Maybe<AddBabyOutput>;
|
|
@@ -1179,6 +1205,7 @@ export type Mutation = {
|
|
|
1179
1205
|
expireSession?: Maybe<ExpireSessionOutput>;
|
|
1180
1206
|
facebookLogin?: Maybe<FacebookLoginOutput>;
|
|
1181
1207
|
generateLyraFormToken?: Maybe<LyraFormTokenOutput>;
|
|
1208
|
+
generateSepteoPaymentsSession?: Maybe<GenerateSepteoPaymentsSessionOutput>;
|
|
1182
1209
|
login?: Maybe<LoginOutput>;
|
|
1183
1210
|
loginAnyCustomerType?: Maybe<LoginAnyCustomerTypeOutput>;
|
|
1184
1211
|
loginETOMode?: Maybe<LoginEtoModeOutput>;
|
|
@@ -1202,6 +1229,7 @@ export type Mutation = {
|
|
|
1202
1229
|
resetPendingFerryBooking?: Maybe<ResetPendingFerryBookingOutput>;
|
|
1203
1230
|
saveCart?: Maybe<SaveCartOutput>;
|
|
1204
1231
|
saveFerryBooking?: Maybe<SaveFerryBookingOutput>;
|
|
1232
|
+
saveSepteoPaymentsTransaction?: Maybe<SaveSepteoPaymentsTransactionOutput>;
|
|
1205
1233
|
setSessionLanguage?: Maybe<UserLanguageOutput>;
|
|
1206
1234
|
switchToPartnerConvention?: Maybe<SwitchToPartnerConventionOutput>;
|
|
1207
1235
|
unassignRoom?: Maybe<UnassignRoomOutput>;
|
|
@@ -1340,6 +1368,10 @@ export type MutationGenerateLyraFormTokenArgs = {
|
|
|
1340
1368
|
input: LyraFormTokenInput;
|
|
1341
1369
|
session: Session;
|
|
1342
1370
|
};
|
|
1371
|
+
export type MutationGenerateSepteoPaymentsSessionArgs = {
|
|
1372
|
+
input: GenerateSepteoPaymentsSessionInput;
|
|
1373
|
+
session: Session;
|
|
1374
|
+
};
|
|
1343
1375
|
export type MutationLoginArgs = {
|
|
1344
1376
|
input: LoginInput;
|
|
1345
1377
|
session: Session;
|
|
@@ -1426,6 +1458,10 @@ export type MutationSaveFerryBookingArgs = {
|
|
|
1426
1458
|
input?: InputMaybe<SaveFerryBookingInput>;
|
|
1427
1459
|
session: Session;
|
|
1428
1460
|
};
|
|
1461
|
+
export type MutationSaveSepteoPaymentsTransactionArgs = {
|
|
1462
|
+
input: SaveSepteoPaymentsTransactionInput;
|
|
1463
|
+
session: Session;
|
|
1464
|
+
};
|
|
1429
1465
|
export type MutationSetSessionLanguageArgs = {
|
|
1430
1466
|
input: SessionLanguageInput;
|
|
1431
1467
|
session: Session;
|
|
@@ -2816,6 +2852,19 @@ export type SaveFerryBookingOutput = {
|
|
|
2816
2852
|
__typename?: "SaveFerryBookingOutput";
|
|
2817
2853
|
cart?: Maybe<Cart>;
|
|
2818
2854
|
};
|
|
2855
|
+
export type SaveSepteoPaymentsTransactionInput = {
|
|
2856
|
+
amount: MoneyInput;
|
|
2857
|
+
ccType?: InputMaybe<Scalars["String"]>;
|
|
2858
|
+
gatewayId?: InputMaybe<Scalars["Int"]>;
|
|
2859
|
+
globalPay?: InputMaybe<Scalars["Boolean"]>;
|
|
2860
|
+
orderId?: InputMaybe<Scalars["String"]>;
|
|
2861
|
+
paymentDueId?: InputMaybe<Scalars["Int"]>;
|
|
2862
|
+
paymentId?: InputMaybe<Scalars["String"]>;
|
|
2863
|
+
};
|
|
2864
|
+
export type SaveSepteoPaymentsTransactionOutput = {
|
|
2865
|
+
__typename?: "SaveSepteoPaymentsTransactionOutput";
|
|
2866
|
+
cart?: Maybe<Cart>;
|
|
2867
|
+
};
|
|
2819
2868
|
export type Service = {
|
|
2820
2869
|
__typename?: "Service";
|
|
2821
2870
|
address?: Maybe<Address>;
|