gotrip-fx-transaction-form 1.0.57 → 1.0.58
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 +39933 -27564
- package/package.json +1 -1
- package/types/components/AddDepartment/AddDepartmentForm.d.ts +2 -1
- package/types/components/AddTransaction/BankList.d.ts +15 -10
- package/types/components/AddTransaction/UploadingStatus.d.ts +6 -0
- package/types/components/AddTransaction/UseCaseSelection.d.ts +1 -15
- package/types/components/AddUser/AddMemberForm.d.ts +2 -1
- package/types/components/CountrySelector/CountrySelector.d.ts +5 -0
- package/types/components/Department/DepartmentCard.d.ts +4 -1
- package/types/components/DocumentUpload/DocumentUpload.d.ts +12 -0
- package/types/components/ESIM/ProductCard.d.ts +9 -0
- package/types/components/Menu/MenuItem.d.ts +7 -1
- package/types/components/Menu/ProfileInfo.d.ts +11 -0
- package/types/components/Modal/AddDepartmentMemberModal.d.ts +17 -0
- package/types/components/Modal/AddDepartmentModal.d.ts +16 -0
- package/types/components/Modal/AddMemberModal.d.ts +16 -0
- package/types/components/Modal/MemberDetailModel.d.ts +12 -0
- package/types/components/Modal/RejectTransactionModal.d.ts +9 -0
- package/types/components/Modal/UpdateCommissionPolicyModal.d.ts +9 -0
- package/types/components/OrganizationFlow/DepartmentNode.d.ts +21 -0
- package/types/components/OrganizationFlow/LayoutFlow.d.ts +44 -0
- package/types/components/OrganizationFlow/OrganizationLayoutFlow.d.ts +10 -0
- package/types/components/SortSelector/SortSelector.d.ts +14 -0
- package/types/components/TransactionDetail/BankBiddingList.d.ts +21 -0
- package/types/components/TransactionStatusBadge/TransactionStatusBadge.d.ts +1 -1
- package/types/constants/api-urls.d.ts +18 -1
- package/types/constants/business-codes.d.ts +2 -1
- package/types/constants/env.d.ts +13 -0
- package/types/hooks/transactions/useEducation.hook.d.ts +172 -123
- package/types/hooks/transactions/useGroupTransactions.d.ts +153 -0
- package/types/hooks/transactions/useGuestTransaction.d.ts +66 -0
- package/types/hooks/transactions/useImmigration.hook.d.ts +116 -75
- package/types/hooks/transactions/useTransferMoneyAbroadTransaction.d.ts +58 -0
- package/types/hooks/useBankList.d.ts +6 -0
- package/types/hooks/useComissionPolicies.d.ts +6 -0
- package/types/hooks/useCommissionCalculation.d.ts +13 -0
- package/types/hooks/useDepartmentList.d.ts +1 -0
- package/types/hooks/useESimList.d.ts +22 -0
- package/types/hooks/useGroupCustomers.d.ts +3 -3
- package/types/hooks/useHeaderMenu.d.ts +13 -0
- package/types/hooks/useOrganizationStructure.d.ts +9 -0
- package/types/hooks/useRequestCustomers.d.ts +1 -126
- package/types/hooks/useTransactionList.d.ts +0 -1
- package/types/hooks/useUseCases.d.ts +16 -0
- package/types/pages/admin/tenant-organization-flow/OrganizationFlow.d.ts +1 -0
- package/types/pages/agency/department-detail/AddDepartmentMember.d.ts +8 -0
- package/types/pages/agency/department-detail/DepartmentDetail.d.ts +1 -0
- package/types/pages/agency/department-list/AddDepartment.d.ts +5 -0
- package/types/pages/agency/department-list/DepartmentList.d.ts +2 -0
- package/types/pages/agency/esim-listing/ESIMListing.d.ts +6 -0
- package/types/pages/agency/organization-flow/OrganizationFlow.d.ts +1 -0
- package/types/pages/agency/transaction-detail/GroupTransactionDetail.d.ts +8 -0
- package/types/pages/agency/transaction-detail/TransactionDetail.d.ts +3 -0
- package/types/pages/agency/transaction-detail/TransferMoneyAbroadTransactionDetail.d.ts +6 -0
- package/types/pages/partner/add-member/AddMember.d.ts +1 -1
- package/types/pages/partner/department-detail/EditDepartmentModal.d.ts +33 -0
- package/types/pages/partner/organization-flow/OrganizationFlow.d.ts +1 -0
- package/types/pages/partner/transaction-detail/GroupTransactionDetail.d.ts +7 -0
- package/types/pages/partner/transaction-detail/SingularTransactionDetail.d.ts +6 -0
- package/types/pages/partner/transaction-detail/TransferMoneyAbroadTransactionDetail.d.ts +6 -0
- package/types/pages/partner/transaction-list/GroupTransactionList.d.ts +1 -2
- package/types/types/enum.d.ts +18 -1
- package/types/types/request.dto.d.ts +6 -0
- package/types/types/response.dto.d.ts +64 -1
- package/types/types/role.d.ts +5 -0
- package/types/types/user.d.ts +2 -1
- package/types/util/signed-url.util.d.ts +3 -0
- package/types/util/transaction.util.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type AddDepartmentFormProps = {
|
|
2
|
+
parentId?: number | null;
|
|
2
3
|
onSubmitSuccess: () => void;
|
|
3
4
|
onClose: () => void;
|
|
4
5
|
};
|
|
5
|
-
export declare const AddDepartmentForm: ({ onClose, onSubmitSuccess }: AddDepartmentFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const AddDepartmentForm: ({ parentId, onClose, onSubmitSuccess, }: AddDepartmentFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ITenant } from '../../types/response.dto';
|
|
2
|
+
import { EUseCaseses } from '../../types/enum';
|
|
3
|
+
export type BankSetting = {
|
|
3
4
|
code: string;
|
|
4
5
|
image: string;
|
|
5
6
|
isDefault?: boolean;
|
|
6
7
|
comingSoon?: boolean;
|
|
7
8
|
};
|
|
8
|
-
export declare const
|
|
9
|
+
export declare const bankSettings: Record<string, BankSetting>;
|
|
9
10
|
type Props = {
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
banks: ITenant[];
|
|
12
|
+
selected?: ITenant | null;
|
|
13
|
+
onSelect: (bank: ITenant) => void;
|
|
14
|
+
useCase?: EUseCaseses;
|
|
12
15
|
};
|
|
13
|
-
export declare const BankList: ({ selected, onSelect }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const BankList: ({ banks, selected, onSelect, useCase }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
17
|
type MultipleBankListProps = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
banks: ITenant[];
|
|
19
|
+
selected?: ITenant[];
|
|
20
|
+
onSelect?: (bank: ITenant) => void;
|
|
21
|
+
onRemove?: (bank: ITenant) => void;
|
|
22
|
+
useCase: EUseCaseses;
|
|
18
23
|
};
|
|
19
|
-
export declare const MultipleBankList: ({ selected, onSelect, onRemove }: MultipleBankListProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const MultipleBankList: ({ banks, selected, onSelect, onRemove, useCase, }: MultipleBankListProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
25
|
export {};
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
SINGULAR = "SINGULAR",// khách lẻ
|
|
3
|
-
GROUP = "GROUP",// khách đoàn
|
|
4
|
-
EDUCATION = "EDUCATION",
|
|
5
|
-
MEDICAL = "MEDICAL",
|
|
6
|
-
INHERITANCE = "INHERITANCE",
|
|
7
|
-
SUBSIDY = "SUBSIDY",
|
|
8
|
-
IMMIGRATION = "IMMIGRATION",
|
|
9
|
-
BUSINESS = "BUSINESS"
|
|
10
|
-
}
|
|
11
|
-
type Props = {
|
|
12
|
-
useCase: EUseCaseses;
|
|
13
|
-
setUseCase: (useCase: EUseCaseses) => void;
|
|
14
|
-
};
|
|
15
|
-
export declare const UseCaseSelection: ({ useCase, setUseCase }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { EUseCaseses } from '../../types/enum';
|
|
16
2
|
type Props2 = {
|
|
17
3
|
selected: EUseCaseses;
|
|
18
4
|
primaryColor?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type AddMemberFormProps = {
|
|
2
|
+
departmentId?: number | null;
|
|
2
3
|
onSubmitSuccess: () => void;
|
|
3
4
|
onClose: () => void;
|
|
4
5
|
};
|
|
5
|
-
export declare const AddMemberForm: ({ onClose, onSubmitSuccess }: AddMemberFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const AddMemberForm: ({ departmentId, onClose, onSubmitSuccess }: AddMemberFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IRole } from '../../types/response.dto';
|
|
3
3
|
export interface Department {
|
|
4
|
-
id:
|
|
4
|
+
id: number;
|
|
5
5
|
name: string;
|
|
6
6
|
address: string;
|
|
7
7
|
parentId?: number;
|
|
8
|
+
publicId: string;
|
|
8
9
|
capacity: number;
|
|
10
|
+
transferName?: string;
|
|
11
|
+
transferNumber?: string;
|
|
9
12
|
users: DepartmentMember[];
|
|
10
13
|
}
|
|
11
14
|
export interface DepartmentMember {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type DocumentUploadProps = {
|
|
2
|
+
title: string;
|
|
3
|
+
files: Array<{
|
|
4
|
+
link: string;
|
|
5
|
+
type: string;
|
|
6
|
+
}>;
|
|
7
|
+
loadDocument?: (filePath: string, fileType: string) => Promise<{
|
|
8
|
+
url: string;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
11
|
+
export declare const DocumentUpload: ({ title, files, loadDocument }: DocumentUploadProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ESimPackage } from '../../types/response.dto';
|
|
2
|
+
type ProductCardProps = {
|
|
3
|
+
selectedCountries?: string[];
|
|
4
|
+
product: ESimPackage;
|
|
5
|
+
primaryBlue: string;
|
|
6
|
+
badgeBg: string;
|
|
7
|
+
};
|
|
8
|
+
declare const ProductCard: ({ product, primaryBlue, badgeBg, selectedCountries }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ProductCard;
|
|
@@ -3,7 +3,13 @@ type Props = {
|
|
|
3
3
|
label: string;
|
|
4
4
|
icon: IconDefinition;
|
|
5
5
|
path: string;
|
|
6
|
+
subMenuItems?: Array<{
|
|
7
|
+
label: string;
|
|
8
|
+
icon: IconDefinition;
|
|
9
|
+
path: string;
|
|
10
|
+
display?: boolean;
|
|
11
|
+
}>;
|
|
6
12
|
active: boolean;
|
|
7
13
|
};
|
|
8
|
-
export declare const MenuItem: ({ label, icon, path, active }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const MenuItem: ({ label, icon, path, active, subMenuItems }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
15
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
isAgency?: boolean;
|
|
3
|
+
isBankEmployee?: boolean;
|
|
4
|
+
isAdmin?: boolean;
|
|
5
|
+
tenantShortName?: string;
|
|
6
|
+
tenantName?: string;
|
|
7
|
+
handleLogout: () => void;
|
|
8
|
+
handleUpdateProfile: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const ProfileInfo: ({ isAgency, isBankEmployee, tenantShortName, tenantName, isAdmin, handleLogout, handleUpdateProfile, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type AddDepartmentMemberModalProps = {
|
|
3
|
+
joinedMemberIds?: number[];
|
|
4
|
+
onSubmitSuccess: () => void;
|
|
5
|
+
children?: React.ReactElement<{
|
|
6
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}> | null;
|
|
9
|
+
title: string;
|
|
10
|
+
};
|
|
11
|
+
export interface AddDepartmentMemberModalRef {
|
|
12
|
+
open: (departmentId: number | null) => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const AddDepartmentMemberModal: React.ForwardRefExoticComponent<AddDepartmentMemberModalProps & React.RefAttributes<AddDepartmentMemberModalRef>>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type AddDepartmentModalProps = {
|
|
3
|
+
onSubmitSuccess: () => void;
|
|
4
|
+
children?: React.ReactElement<{
|
|
5
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}> | null;
|
|
8
|
+
title: string;
|
|
9
|
+
};
|
|
10
|
+
export interface AddDepartmentModalRef {
|
|
11
|
+
open: (parentId: number | null) => void;
|
|
12
|
+
close: () => void;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const AddDepartmentModal: React.ForwardRefExoticComponent<AddDepartmentModalProps & React.RefAttributes<AddDepartmentModalRef>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type AddMemberModalProps = {
|
|
3
|
+
onSubmitSuccess: () => void;
|
|
4
|
+
children?: React.ReactElement<{
|
|
5
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}> | null;
|
|
8
|
+
title: string;
|
|
9
|
+
};
|
|
10
|
+
export interface AddMemberModalRef {
|
|
11
|
+
open: (departmentId: number | null) => void;
|
|
12
|
+
close: () => void;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const AddMemberModal: React.ForwardRefExoticComponent<AddMemberModalProps & React.RefAttributes<AddMemberModalRef>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IUser } from '../../types/response.dto';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
interface MemberDetailModelProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
data: {
|
|
7
|
+
label: string;
|
|
8
|
+
member: IUser;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare const MemberDetailModel: React.FC<MemberDetailModelProps>;
|
|
12
|
+
export default MemberDetailModel;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ITransaction } from '../../types/response.dto';
|
|
2
|
+
type Props = {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
transaction: ITransaction;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const RejectTransactionModal: ({ isOpen, onClose, transaction, onSuccess }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ITenant } from '../../types/response.dto';
|
|
2
|
+
type Props = {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
tenant: ITenant;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const UpdateCommissionPolicyModal: ({ isOpen, onClose, tenant, onSuccess }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface DepartmentNodeProps {
|
|
2
|
+
data: {
|
|
3
|
+
label: string;
|
|
4
|
+
subLabel?: string;
|
|
5
|
+
isEmployee: boolean;
|
|
6
|
+
isDepartment: boolean;
|
|
7
|
+
isTenant: boolean;
|
|
8
|
+
departmentAdmin?: string;
|
|
9
|
+
haveChildren?: boolean;
|
|
10
|
+
actions: {
|
|
11
|
+
canAddDepartment?: boolean;
|
|
12
|
+
canAddMember?: boolean;
|
|
13
|
+
canRemoveMember?: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
id: string;
|
|
17
|
+
onClickAction?: (action: string, value: string) => void;
|
|
18
|
+
onOpen?: (value: string) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const DepartmentNode: (props: DepartmentNodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface INode {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
data: {
|
|
5
|
+
label: string;
|
|
6
|
+
subLabel?: string;
|
|
7
|
+
isTenant?: boolean;
|
|
8
|
+
isDepartment?: boolean;
|
|
9
|
+
isEmployee?: boolean;
|
|
10
|
+
departmentAdmin?: string;
|
|
11
|
+
haveChildren?: boolean;
|
|
12
|
+
actions: {
|
|
13
|
+
canAddDepartment?: boolean;
|
|
14
|
+
canAddMember?: boolean;
|
|
15
|
+
canRemoveMember?: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
position: {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
};
|
|
22
|
+
measured?: {
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export interface IEdge {
|
|
28
|
+
id: string;
|
|
29
|
+
source: string;
|
|
30
|
+
target: string;
|
|
31
|
+
animated?: boolean;
|
|
32
|
+
}
|
|
33
|
+
interface LayoutOptions {
|
|
34
|
+
direction: 'TB' | 'LR';
|
|
35
|
+
}
|
|
36
|
+
type LayoutFlowProps = {
|
|
37
|
+
nodes: Array<INode>;
|
|
38
|
+
edges: Array<IEdge>;
|
|
39
|
+
options: LayoutOptions;
|
|
40
|
+
onMenuItemClick?: (action: string, value: string) => void;
|
|
41
|
+
onOpen?: (value: string) => void;
|
|
42
|
+
};
|
|
43
|
+
export declare const LayoutFlow: (props: LayoutFlowProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IDepartment, ITenant, IUser } from '../../types/response.dto';
|
|
2
|
+
type LayoutFlowProps = {
|
|
3
|
+
admin: IUser | null;
|
|
4
|
+
tenant: ITenant;
|
|
5
|
+
departments: IDepartment[];
|
|
6
|
+
onMenuItemClick?: (action: string, value: string) => void;
|
|
7
|
+
onOpen?: (value: string) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const OrganizationLayoutFlow: (props: LayoutFlowProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type SortSelectorProps = {
|
|
2
|
+
options: Array<{
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon: any;
|
|
6
|
+
}>;
|
|
7
|
+
onSortChange: (sortOrder: string) => void;
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
minWidth?: number;
|
|
11
|
+
maxWidth?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const SortSelector: ({ options: inputOptions, onSortChange, defaultValue, minWidth, maxWidth, label: selectLabel, }: SortSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default SortSelector;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IBid, ITenant } from '../../types/response.dto';
|
|
2
|
+
export type BankSetting = {
|
|
3
|
+
code: string;
|
|
4
|
+
image: string;
|
|
5
|
+
isDefault?: boolean;
|
|
6
|
+
comingSoon?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const bankSettings: Record<string, BankSetting>;
|
|
9
|
+
type BankBiddingListProps = {
|
|
10
|
+
banks: ITenant[];
|
|
11
|
+
bids: IBid[];
|
|
12
|
+
selected?: ITenant;
|
|
13
|
+
onSelect?: (bank: ITenant) => void;
|
|
14
|
+
onRemove?: (bank: ITenant) => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const BankAvatar: ({ bank, size, }: {
|
|
17
|
+
bank: ITenant | undefined;
|
|
18
|
+
size?: string;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
20
|
+
export declare const BankBiddingList: ({ banks, bids, selected, onSelect, onRemove, }: BankBiddingListProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionStatus } from '../../types/enum';
|
|
2
2
|
export declare const TransactionStatusBadge: ({ status, bankStatus, onClick, }: {
|
|
3
3
|
status: TransactionStatus;
|
|
4
|
-
bankStatus
|
|
4
|
+
bankStatus?: string;
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,12 +15,15 @@ export declare const ApiUrls: {
|
|
|
15
15
|
sendBankTransaction: string;
|
|
16
16
|
checkTicketStatus: string;
|
|
17
17
|
getByBankTransactionId: (transactionId: string) => string;
|
|
18
|
-
guestCreateEducationTransaction: string;
|
|
19
18
|
updateGroupTransactionStatus: string;
|
|
19
|
+
updateGuestTransactionStatus: string;
|
|
20
20
|
checkInfoSuccess: string;
|
|
21
21
|
cancelTransaction: string;
|
|
22
22
|
updateCustomerInfo: string;
|
|
23
23
|
updateTicketInfo: string;
|
|
24
|
+
transferMoneyAbroad: string;
|
|
25
|
+
updateTransactionBidding: string;
|
|
26
|
+
updateTransaction: string;
|
|
24
27
|
};
|
|
25
28
|
role: {
|
|
26
29
|
list: string;
|
|
@@ -47,12 +50,16 @@ export declare const ApiUrls: {
|
|
|
47
50
|
};
|
|
48
51
|
bid: {
|
|
49
52
|
list: string;
|
|
53
|
+
update: string;
|
|
50
54
|
};
|
|
51
55
|
department: {
|
|
52
56
|
list: string;
|
|
53
57
|
details: string;
|
|
54
58
|
create: string;
|
|
59
|
+
update: string;
|
|
55
60
|
addMembers: string;
|
|
61
|
+
removeMembers: string;
|
|
62
|
+
organizationTree: string;
|
|
56
63
|
};
|
|
57
64
|
userHandlers: {
|
|
58
65
|
userProfile: string;
|
|
@@ -92,4 +99,14 @@ export declare const ApiUrls: {
|
|
|
92
99
|
updateTenant: string;
|
|
93
100
|
removeTenant: string;
|
|
94
101
|
};
|
|
102
|
+
commissionCalculationHandlers: {
|
|
103
|
+
calculateBookerCommission: string;
|
|
104
|
+
};
|
|
105
|
+
commissionPolicyHandlers: {
|
|
106
|
+
getCommissionPolicies: string;
|
|
107
|
+
updateCommissionPolicies: string;
|
|
108
|
+
};
|
|
109
|
+
esimHandlers: {
|
|
110
|
+
list: string;
|
|
111
|
+
};
|
|
95
112
|
};
|
|
@@ -27,5 +27,6 @@ export declare enum BusinessCodes {
|
|
|
27
27
|
DEPARTMENT_ALREADY_EXISTS = "B_021",
|
|
28
28
|
DEPARTMENT_MEMBER_NOT_FOUND = "B_022",
|
|
29
29
|
DEPARTMENT_MEMBER_ALREADY_EXISTS = "B_023",
|
|
30
|
-
USER_ALREADY_IN_DEPARTMENT = "B_024"
|
|
30
|
+
USER_ALREADY_IN_DEPARTMENT = "B_024",
|
|
31
|
+
INVALID_BID = "B_125"
|
|
31
32
|
}
|
package/types/constants/env.d.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
export declare enum EEnv {
|
|
2
|
+
DEV = "DEV",
|
|
3
|
+
UAT = "UAT",
|
|
4
|
+
PROD = "PROD"
|
|
5
|
+
}
|
|
6
|
+
export declare enum EBuildTarget {
|
|
7
|
+
GUEST = "GUEST",
|
|
8
|
+
AGENCY = "AGENCY",
|
|
9
|
+
PARTNER = "PARTNER",
|
|
10
|
+
ADMIN = "ADMIN"
|
|
11
|
+
}
|
|
1
12
|
export declare const Env: {
|
|
2
13
|
ENVIRONMENT: any;
|
|
3
14
|
API_URL: any;
|
|
@@ -5,4 +16,6 @@ export declare const Env: {
|
|
|
5
16
|
BOOKER_URL: any;
|
|
6
17
|
MAINTENANCE_MODE: boolean;
|
|
7
18
|
CLARITY_KEY: any;
|
|
19
|
+
USE_CASES: any;
|
|
20
|
+
ENABLE_ESIM_FEATURE: boolean;
|
|
8
21
|
};
|