gotrip-fx-transaction-form 1.0.251-dev → 1.0.252-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 +19696 -19620
- package/package.json +1 -1
- package/types/components/AddTransaction/Agent.d.ts +1 -1
- package/types/components/AddTransaction/SelectingBankMessageAlerts.d.ts +5 -0
- package/types/components/MotorInsurance/Bike/BikeStepThreePayment.d.ts +3 -1
- package/types/components/MotorInsurance/Car/CarStepFourPayment.d.ts +3 -1
- package/types/types/app-settings.d.ts +1 -1
- package/types/util/fx-travelling-messages.d.ts +1 -0
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ type Props = {
|
|
|
4
4
|
register: UseFormRegister<any>;
|
|
5
5
|
agentIdentityFileInputRef: React.RefObject<HTMLInputElement>;
|
|
6
6
|
isUploadingAgentIdentity: boolean;
|
|
7
|
-
phoneNotice?: string | null;
|
|
7
|
+
phoneNotice?: string | string[] | null;
|
|
8
8
|
agentNotes?: string[];
|
|
9
9
|
};
|
|
10
10
|
export declare const Agent: ({ errors, register, agentIdentityFileInputRef, isUploadingAgentIdentity, phoneNotice, agentNotes, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,9 +9,11 @@ export interface BikeStepThreePaymentProps {
|
|
|
9
9
|
onPaymentModeChange: (mode: EPaymentMethod) => void;
|
|
10
10
|
isTermsAgreed: boolean;
|
|
11
11
|
onTermsAgreedChange: (agreed: boolean) => void;
|
|
12
|
+
isPersonalDataConsentAgreed: boolean;
|
|
13
|
+
onPersonalDataConsentChange: (agreed: boolean) => void;
|
|
12
14
|
onPayment: () => void;
|
|
13
15
|
isProcessing: boolean;
|
|
14
16
|
isGuest: boolean;
|
|
15
17
|
onBack: () => void;
|
|
16
18
|
}
|
|
17
|
-
export declare const BikeStepThreePayment: ({ planValues, premiumSummary, vehicleInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, onPayment, isProcessing, isGuest, onBack, }: BikeStepThreePaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const BikeStepThreePayment: ({ planValues, premiumSummary, vehicleInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, }: BikeStepThreePaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,6 +10,8 @@ interface CarStepFourPaymentProps {
|
|
|
10
10
|
onPaymentModeChange: (mode: EPaymentMethod) => void;
|
|
11
11
|
isTermsAgreed: boolean;
|
|
12
12
|
onTermsAgreedChange: (agreed: boolean) => void;
|
|
13
|
+
isPersonalDataConsentAgreed: boolean;
|
|
14
|
+
onPersonalDataConsentChange: (agreed: boolean) => void;
|
|
13
15
|
onPayment: () => void;
|
|
14
16
|
isProcessing: boolean;
|
|
15
17
|
isGuest: boolean;
|
|
@@ -17,5 +19,5 @@ interface CarStepFourPaymentProps {
|
|
|
17
19
|
getProviderLogoUrl: (providerCode?: string | null) => string | undefined;
|
|
18
20
|
getTermsAgreeHtml: (providerCode?: string | null) => string | undefined;
|
|
19
21
|
}
|
|
20
|
-
export declare const CarStepFourPayment: ({ planValues, premiumSummary, vehicleInfo, buyerCertificateInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, onPayment, isProcessing, isGuest, onBack, getProviderLogoUrl, getTermsAgreeHtml, }: CarStepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const CarStepFourPayment: ({ planValues, premiumSummary, vehicleInfo, buyerCertificateInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, getProviderLogoUrl, getTermsAgreeHtml, }: CarStepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
23
|
export {};
|
|
@@ -30,7 +30,7 @@ export interface IAppSettingsResponse {
|
|
|
30
30
|
}
|
|
31
31
|
export interface IBankFxTravellingMessages {
|
|
32
32
|
invalid_time_range?: string | null;
|
|
33
|
-
selecting_bank_message?: string | null;
|
|
33
|
+
selecting_bank_message?: string | string[] | null;
|
|
34
34
|
singular_form_notes?: string[];
|
|
35
35
|
currency_notes?: string[];
|
|
36
36
|
currency_notes_by_currency_unit?: Record<string, string[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeSelectingBankMessages(config: string | string[] | null | undefined, fallback: string | null): string[];
|