gotrip-fx-transaction-form 1.0.245-dev → 1.0.246-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/index.js +17890 -17812
- package/package.json +1 -1
- package/types/components/MotorInsurance/Bike/BikeStepOneForm.d.ts +3 -2
- package/types/components/MotorInsurance/Bike/CreateBikeInsuranceForm.d.ts +3 -1
- package/types/components/MotorInsurance/Car/CarStepTwoPlan.d.ts +3 -2
- package/types/components/MotorInsurance/Car/CreateCarInsuranceForm.d.ts +3 -1
- package/types/providers/AppSettingsProvider.d.ts +1 -0
- package/types/types/response.dto.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { MotorPlanFormValues, MotorPremiumSummary as MotorPremiumSummaryType } from '../motor-insurance.types';
|
|
1
|
+
import { EMotorProvider, MotorPlanFormValues, MotorPremiumSummary as MotorPremiumSummaryType } from '../motor-insurance.types';
|
|
2
2
|
import { Control, UseFormSetValue } from 'react-hook-form';
|
|
3
3
|
type BikeStepOneFormProps = {
|
|
4
4
|
control: Control<MotorPlanFormValues>;
|
|
5
5
|
setValue: UseFormSetValue<MotorPlanFormValues>;
|
|
6
6
|
premiumSummary?: MotorPremiumSummaryType | null;
|
|
7
7
|
isLoadingQuote?: boolean;
|
|
8
|
+
providers?: EMotorProvider[];
|
|
8
9
|
};
|
|
9
|
-
export declare const BikeStepOneForm: ({ control, setValue, premiumSummary, isLoadingQuote, }: BikeStepOneFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const BikeStepOneForm: ({ control, setValue, premiumSummary, isLoadingQuote, providers, }: BikeStepOneFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { EMotorProvider } from '../motor-insurance.types';
|
|
1
2
|
export interface CreateBikeInsuranceFormProps {
|
|
2
3
|
storageKey: string;
|
|
3
4
|
title?: string;
|
|
4
5
|
onBack?: () => void;
|
|
5
6
|
onSuccess?: (transactionData: unknown) => void;
|
|
6
7
|
scrollable?: boolean;
|
|
8
|
+
allowedProviders?: EMotorProvider[];
|
|
7
9
|
}
|
|
8
|
-
export declare const CreateBikeInsuranceForm: ({ storageKey, title, onBack, onSuccess, scrollable, }: CreateBikeInsuranceFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const CreateBikeInsuranceForm: ({ storageKey, title, onBack, onSuccess, scrollable, allowedProviders, }: CreateBikeInsuranceFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Control, UseFormSetValue } from 'react-hook-form';
|
|
2
|
-
import { CarPlanFormValues, CarPremiumSummary } from '../motor-insurance.types';
|
|
2
|
+
import { CarPlanFormValues, CarPremiumSummary, EMotorProvider } from '../motor-insurance.types';
|
|
3
3
|
interface CarStepTwoPlanProps {
|
|
4
4
|
control: Control<CarPlanFormValues>;
|
|
5
5
|
setValue: UseFormSetValue<CarPlanFormValues>;
|
|
6
6
|
premiumSummary: CarPremiumSummary | null;
|
|
7
7
|
isLoadingQuote?: boolean;
|
|
8
|
+
providers?: EMotorProvider[];
|
|
8
9
|
}
|
|
9
|
-
export declare const CarStepTwoPlan: ({ control, setValue, premiumSummary, isLoadingQuote, }: CarStepTwoPlanProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const CarStepTwoPlan: ({ control, setValue, premiumSummary, isLoadingQuote, providers, }: CarStepTwoPlanProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { EMotorProvider } from '../motor-insurance.types';
|
|
1
2
|
export interface CreateCarInsuranceFormProps {
|
|
2
3
|
storageKey: string;
|
|
3
4
|
title?: string;
|
|
4
5
|
onBack?: () => void;
|
|
5
6
|
onSuccess?: (transactionData: unknown) => void;
|
|
6
7
|
scrollable?: boolean;
|
|
8
|
+
allowedProviders?: EMotorProvider[];
|
|
7
9
|
}
|
|
8
|
-
export declare const CreateCarInsuranceForm: ({ storageKey, title, onBack, onSuccess, scrollable, }: CreateCarInsuranceFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const CreateCarInsuranceForm: ({ storageKey, title, onBack, onSuccess, scrollable, allowedProviders, }: CreateCarInsuranceFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -227,6 +227,7 @@ export interface ITravelAgencyTenantSettings {
|
|
|
227
227
|
esimInbound: boolean;
|
|
228
228
|
simDomestic: boolean;
|
|
229
229
|
insurance: boolean;
|
|
230
|
+
motorInsurance: boolean;
|
|
230
231
|
};
|
|
231
232
|
fx: {
|
|
232
233
|
useCases: EUseCaseses[];
|
|
@@ -239,6 +240,9 @@ export interface ITravelAgencyTenantSettings {
|
|
|
239
240
|
insurance: {
|
|
240
241
|
providers: string[];
|
|
241
242
|
};
|
|
243
|
+
motorInsurance: {
|
|
244
|
+
providers: string[];
|
|
245
|
+
};
|
|
242
246
|
}
|
|
243
247
|
export interface IBankTenantSettings {
|
|
244
248
|
availableCurrencies: string[];
|