gotrip-fx-transaction-form 1.0.279-dev → 1.0.281-dev
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/package.json
CHANGED
|
@@ -9,6 +9,12 @@ export type InsuranceFormInitialData = {
|
|
|
9
9
|
insuredPeople: InsuredPerson[];
|
|
10
10
|
recalculatedPremium?: CoveragePlanPremium['premium'] | null;
|
|
11
11
|
waitForApproval?: boolean;
|
|
12
|
+
appliedCoupon?: {
|
|
13
|
+
code: string;
|
|
14
|
+
discountAmount: number;
|
|
15
|
+
finalAmount: number;
|
|
16
|
+
description?: string | null;
|
|
17
|
+
} | null;
|
|
12
18
|
};
|
|
13
19
|
export interface CreateInsuranceTransactionFormProps {
|
|
14
20
|
storageKey: string;
|
|
@@ -30,5 +30,11 @@ export interface StepFourPaymentProps {
|
|
|
30
30
|
mode?: 'create' | 'edit';
|
|
31
31
|
selectedUserTenantId?: number;
|
|
32
32
|
selectedUserId?: number;
|
|
33
|
+
initialCoupon?: {
|
|
34
|
+
code: string;
|
|
35
|
+
discountAmount: number;
|
|
36
|
+
finalAmount: number;
|
|
37
|
+
description?: string | null;
|
|
38
|
+
} | null;
|
|
33
39
|
}
|
|
34
|
-
export declare const StepFourPayment: ({ travelScope, travelPlan, selectedPlan, buyerInfo, insuredPeople, onBack, onPayment, isProcessing, onPremiumUpdate, onCouponChange, paymentType: paymentTypeProp, isAdminMode, waitForApproval, onWaitForApprovalChange, hasSelectedUser, submitLabel, showApprovalToggle, mode, selectedUserTenantId, selectedUserId, }: StepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare const StepFourPayment: ({ travelScope, travelPlan, selectedPlan, buyerInfo, insuredPeople, onBack, onPayment, isProcessing, onPremiumUpdate, onCouponChange, paymentType: paymentTypeProp, isAdminMode, waitForApproval, onWaitForApprovalChange, hasSelectedUser, submitLabel, showApprovalToggle, mode, selectedUserTenantId, selectedUserId, initialCoupon, }: StepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -21,8 +21,6 @@ export declare const ApiUrls: {
|
|
|
21
21
|
transactionHandlers: {
|
|
22
22
|
list: string;
|
|
23
23
|
getSignedUrls: string;
|
|
24
|
-
esimTransactionList: string;
|
|
25
|
-
esimTransactionDetail: (publicId: string) => string;
|
|
26
24
|
create: string;
|
|
27
25
|
createMany: string;
|
|
28
26
|
confirm: string;
|
|
@@ -38,8 +36,6 @@ export declare const ApiUrls: {
|
|
|
38
36
|
transferMoneyAbroad: string;
|
|
39
37
|
updateTransactionBidding: string;
|
|
40
38
|
updateTransaction: string;
|
|
41
|
-
createEsimTransaction: string;
|
|
42
|
-
sendESimEmail: string;
|
|
43
39
|
validateTransactionTiming: string;
|
|
44
40
|
calculateCommission: (publicId: string) => string;
|
|
45
41
|
};
|
|
@@ -175,7 +171,12 @@ export declare const ApiUrls: {
|
|
|
175
171
|
update: (id: number) => string;
|
|
176
172
|
};
|
|
177
173
|
esimHandlers: {
|
|
178
|
-
|
|
174
|
+
transactionList: string;
|
|
175
|
+
create: string;
|
|
176
|
+
detail: (publicId: string) => string;
|
|
177
|
+
packageList: string;
|
|
178
|
+
syncPackages: string;
|
|
179
|
+
sendEmail: string;
|
|
179
180
|
};
|
|
180
181
|
emailHandlers: {
|
|
181
182
|
list: string;
|