gotrip-fx-transaction-form 1.0.195-dev → 1.0.197-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/assets/index.css +1 -1
- package/index.js +18679 -18628
- package/package.json +1 -1
- package/types/components/Apps/EmbededIndividualApp.d.ts +2 -1
- package/types/components/Department/DepartmentCard.d.ts +3 -1
- package/types/components/Insurance/CreateInsuranceTransactionForm.d.ts +2 -4
- package/types/components/StepIndicator/StepIndicatorHorizontal.d.ts +2 -1
- package/types/constants/api-urls.d.ts +5 -0
- package/types/embeded-main.d.ts +1 -0
- package/types/pages/admin/fx-commission-policy/FxCommissionPolicyManagement.d.ts +1 -0
- package/types/pages/guest/insurance-create.d.ts +5 -1
package/package.json
CHANGED
|
@@ -6,5 +6,6 @@ export type EmbededIndividualAppProps = {
|
|
|
6
6
|
defaultBank?: string;
|
|
7
7
|
displayDefaultBankLogo?: boolean;
|
|
8
8
|
type?: ESdkFormType;
|
|
9
|
+
scrollable?: boolean;
|
|
9
10
|
};
|
|
10
|
-
export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl, hide, defaultBank, displayDefaultBankLogo, type, }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl, hide, defaultBank, displayDefaultBankLogo, type, scrollable, }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { EDepartmentType, IRole } from '../../types/response.dto';
|
|
2
|
+
import { EDepartmentType, IRole, ITenant } from '../../types/response.dto';
|
|
3
3
|
export interface Department {
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
@@ -11,6 +11,8 @@ export interface Department {
|
|
|
11
11
|
transferName?: string;
|
|
12
12
|
transferNumber?: string;
|
|
13
13
|
users: DepartmentMember[];
|
|
14
|
+
tenantId?: number;
|
|
15
|
+
tenant?: Pick<ITenant, 'id' | 'name' | 'shortName' | 'type'>;
|
|
14
16
|
}
|
|
15
17
|
export interface DepartmentMember {
|
|
16
18
|
id: number;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export interface CreateInsuranceTransactionFormProps {
|
|
2
2
|
storageKey: string;
|
|
3
3
|
title?: string;
|
|
4
|
-
backButtonText?: string;
|
|
5
4
|
onBack?: () => void;
|
|
6
5
|
onSuccess?: (transactionData: any) => void;
|
|
7
|
-
|
|
8
|
-
showBackButton?: boolean;
|
|
6
|
+
scrollable?: boolean;
|
|
9
7
|
}
|
|
10
|
-
export declare const CreateInsuranceTransactionForm: ({ storageKey, title,
|
|
8
|
+
export declare const CreateInsuranceTransactionForm: ({ storageKey, title, onBack, onSuccess, scrollable, }: CreateInsuranceTransactionFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,7 @@ type Step = {
|
|
|
5
5
|
interface StepIndicatorHorizontalProps {
|
|
6
6
|
currentStep: number;
|
|
7
7
|
steps: Step[];
|
|
8
|
+
onStepClick?: (stepNumber: number) => void;
|
|
8
9
|
}
|
|
9
|
-
export declare const StepIndicatorHorizontal: ({ currentStep, steps }: StepIndicatorHorizontalProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const StepIndicatorHorizontal: ({ currentStep, steps, onStepClick, }: StepIndicatorHorizontalProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -40,6 +40,7 @@ export declare const ApiUrls: {
|
|
|
40
40
|
createEsimTransaction: string;
|
|
41
41
|
sendESimEmail: string;
|
|
42
42
|
validateTransactionTiming: string;
|
|
43
|
+
calculateCommission: (publicId: string) => string;
|
|
43
44
|
};
|
|
44
45
|
role: {
|
|
45
46
|
list: string;
|
|
@@ -87,6 +88,8 @@ export declare const ApiUrls: {
|
|
|
87
88
|
removeMembers: string;
|
|
88
89
|
organizationTree: string;
|
|
89
90
|
abbankList: string;
|
|
91
|
+
departmentsByTenantTypes: (types: string) => string;
|
|
92
|
+
usersByTenantTypes: (types: string) => string;
|
|
90
93
|
};
|
|
91
94
|
balance: {
|
|
92
95
|
getBalanceByUserId: (userId: number) => string;
|
|
@@ -159,6 +162,8 @@ export declare const ApiUrls: {
|
|
|
159
162
|
updateTenantCommissionPoliciesLegacy: (tenantId: number) => string;
|
|
160
163
|
getMemberCommissionPoliciesByMemberId: (memberId: number) => string;
|
|
161
164
|
updateMemberCommissionPoliciesByMemberId: (memberId: number) => string;
|
|
165
|
+
create: string;
|
|
166
|
+
update: (id: number) => string;
|
|
162
167
|
};
|
|
163
168
|
esimHandlers: {
|
|
164
169
|
list: string;
|
package/types/embeded-main.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FxCommissionPolicyManagement: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
interface CreateGuestInsuranceTransactionPageProps {
|
|
2
|
+
scrollable?: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const CreateGuestInsuranceTransactionPage: ({ scrollable, }: CreateGuestInsuranceTransactionPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export {};
|