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.
Files changed (68) hide show
  1. package/index.js +39933 -27564
  2. package/package.json +1 -1
  3. package/types/components/AddDepartment/AddDepartmentForm.d.ts +2 -1
  4. package/types/components/AddTransaction/BankList.d.ts +15 -10
  5. package/types/components/AddTransaction/UploadingStatus.d.ts +6 -0
  6. package/types/components/AddTransaction/UseCaseSelection.d.ts +1 -15
  7. package/types/components/AddUser/AddMemberForm.d.ts +2 -1
  8. package/types/components/CountrySelector/CountrySelector.d.ts +5 -0
  9. package/types/components/Department/DepartmentCard.d.ts +4 -1
  10. package/types/components/DocumentUpload/DocumentUpload.d.ts +12 -0
  11. package/types/components/ESIM/ProductCard.d.ts +9 -0
  12. package/types/components/Menu/MenuItem.d.ts +7 -1
  13. package/types/components/Menu/ProfileInfo.d.ts +11 -0
  14. package/types/components/Modal/AddDepartmentMemberModal.d.ts +17 -0
  15. package/types/components/Modal/AddDepartmentModal.d.ts +16 -0
  16. package/types/components/Modal/AddMemberModal.d.ts +16 -0
  17. package/types/components/Modal/MemberDetailModel.d.ts +12 -0
  18. package/types/components/Modal/RejectTransactionModal.d.ts +9 -0
  19. package/types/components/Modal/UpdateCommissionPolicyModal.d.ts +9 -0
  20. package/types/components/OrganizationFlow/DepartmentNode.d.ts +21 -0
  21. package/types/components/OrganizationFlow/LayoutFlow.d.ts +44 -0
  22. package/types/components/OrganizationFlow/OrganizationLayoutFlow.d.ts +10 -0
  23. package/types/components/SortSelector/SortSelector.d.ts +14 -0
  24. package/types/components/TransactionDetail/BankBiddingList.d.ts +21 -0
  25. package/types/components/TransactionStatusBadge/TransactionStatusBadge.d.ts +1 -1
  26. package/types/constants/api-urls.d.ts +18 -1
  27. package/types/constants/business-codes.d.ts +2 -1
  28. package/types/constants/env.d.ts +13 -0
  29. package/types/hooks/transactions/useEducation.hook.d.ts +172 -123
  30. package/types/hooks/transactions/useGroupTransactions.d.ts +153 -0
  31. package/types/hooks/transactions/useGuestTransaction.d.ts +66 -0
  32. package/types/hooks/transactions/useImmigration.hook.d.ts +116 -75
  33. package/types/hooks/transactions/useTransferMoneyAbroadTransaction.d.ts +58 -0
  34. package/types/hooks/useBankList.d.ts +6 -0
  35. package/types/hooks/useComissionPolicies.d.ts +6 -0
  36. package/types/hooks/useCommissionCalculation.d.ts +13 -0
  37. package/types/hooks/useDepartmentList.d.ts +1 -0
  38. package/types/hooks/useESimList.d.ts +22 -0
  39. package/types/hooks/useGroupCustomers.d.ts +3 -3
  40. package/types/hooks/useHeaderMenu.d.ts +13 -0
  41. package/types/hooks/useOrganizationStructure.d.ts +9 -0
  42. package/types/hooks/useRequestCustomers.d.ts +1 -126
  43. package/types/hooks/useTransactionList.d.ts +0 -1
  44. package/types/hooks/useUseCases.d.ts +16 -0
  45. package/types/pages/admin/tenant-organization-flow/OrganizationFlow.d.ts +1 -0
  46. package/types/pages/agency/department-detail/AddDepartmentMember.d.ts +8 -0
  47. package/types/pages/agency/department-detail/DepartmentDetail.d.ts +1 -0
  48. package/types/pages/agency/department-list/AddDepartment.d.ts +5 -0
  49. package/types/pages/agency/department-list/DepartmentList.d.ts +2 -0
  50. package/types/pages/agency/esim-listing/ESIMListing.d.ts +6 -0
  51. package/types/pages/agency/organization-flow/OrganizationFlow.d.ts +1 -0
  52. package/types/pages/agency/transaction-detail/GroupTransactionDetail.d.ts +8 -0
  53. package/types/pages/agency/transaction-detail/TransactionDetail.d.ts +3 -0
  54. package/types/pages/agency/transaction-detail/TransferMoneyAbroadTransactionDetail.d.ts +6 -0
  55. package/types/pages/partner/add-member/AddMember.d.ts +1 -1
  56. package/types/pages/partner/department-detail/EditDepartmentModal.d.ts +33 -0
  57. package/types/pages/partner/organization-flow/OrganizationFlow.d.ts +1 -0
  58. package/types/pages/partner/transaction-detail/GroupTransactionDetail.d.ts +7 -0
  59. package/types/pages/partner/transaction-detail/SingularTransactionDetail.d.ts +6 -0
  60. package/types/pages/partner/transaction-detail/TransferMoneyAbroadTransactionDetail.d.ts +6 -0
  61. package/types/pages/partner/transaction-list/GroupTransactionList.d.ts +1 -2
  62. package/types/types/enum.d.ts +18 -1
  63. package/types/types/request.dto.d.ts +6 -0
  64. package/types/types/response.dto.d.ts +64 -1
  65. package/types/types/role.d.ts +5 -0
  66. package/types/types/user.d.ts +2 -1
  67. package/types/util/signed-url.util.d.ts +3 -0
  68. package/types/util/transaction.util.d.ts +1 -1
@@ -1,13 +1,15 @@
1
- import { Bank } from '../../components/AddTransaction/BankList';
1
+ import { ITenant } from '../../types/response.dto';
2
+ import { NumberFormatValues } from 'react-number-format';
2
3
  import * as yup from 'yup';
3
4
  declare const businessSchema: yup.ObjectSchema<{
4
- name: string;
5
+ customerName: string;
5
6
  email: string;
6
- phone: string;
7
+ mobileNo: string;
7
8
  province: string;
8
- district: string;
9
9
  amount: number;
10
- currency: string;
10
+ currencyCode: string;
11
+ bankShortNames: (string | undefined)[];
12
+ agreeTerms: NonNullable<boolean | undefined>;
11
13
  document1: {
12
14
  type: string;
13
15
  link: string;
@@ -15,19 +17,20 @@ declare const businessSchema: yup.ObjectSchema<{
15
17
  document2: {
16
18
  type: string;
17
19
  link: string;
18
- }[] | undefined;
20
+ }[];
19
21
  document3: {
20
22
  type: string;
21
23
  link: string;
22
24
  }[];
23
25
  }, yup.AnyObject, {
24
- name: undefined;
26
+ customerName: undefined;
25
27
  email: undefined;
26
- phone: undefined;
28
+ mobileNo: undefined;
27
29
  province: undefined;
28
- district: undefined;
29
- amount: undefined;
30
- currency: undefined;
30
+ amount: 50000;
31
+ currencyCode: undefined;
32
+ bankShortNames: "";
33
+ agreeTerms: undefined;
31
34
  document1: "";
32
35
  document2: "";
33
36
  document3: "";
@@ -36,167 +39,205 @@ type Props = {
36
39
  onFinish?: () => void;
37
40
  };
38
41
  export declare const useImmigration: ({ onFinish }: Props) => {
39
- selectedBanks: Bank[];
40
- setSelectedBanks: import('react').Dispatch<import('react').SetStateAction<Bank[]>>;
42
+ uploadState: {
43
+ total: number;
44
+ uploaded: number;
45
+ };
46
+ selectedBanks: ITenant[];
47
+ onSetSelectedBanks: (banks: ITenant[]) => void;
41
48
  register: import('react-hook-form').UseFormRegister<{
42
- document2?: {
43
- type: string;
44
- link: string;
45
- }[] | undefined;
46
- name: string;
47
- phone: string;
48
49
  email: string;
49
- currency: string;
50
+ customerName: string;
51
+ mobileNo: string;
50
52
  amount: number;
53
+ currencyCode: string;
54
+ agreeTerms: NonNullable<boolean | undefined>;
51
55
  province: string;
56
+ bankShortNames: (string | undefined)[];
52
57
  document1: {
53
58
  type: string;
54
59
  link: string;
55
60
  }[];
61
+ document2: {
62
+ type: string;
63
+ link: string;
64
+ }[];
56
65
  document3: {
57
66
  type: string;
58
67
  link: string;
59
68
  }[];
60
- district: string;
61
69
  }>;
62
70
  handleSubmit: import('react-hook-form').UseFormHandleSubmit<{
63
- document2?: {
64
- type: string;
65
- link: string;
66
- }[] | undefined;
67
- name: string;
68
- phone: string;
69
71
  email: string;
70
- currency: string;
72
+ customerName: string;
73
+ mobileNo: string;
71
74
  amount: number;
75
+ currencyCode: string;
76
+ agreeTerms: NonNullable<boolean | undefined>;
72
77
  province: string;
78
+ bankShortNames: (string | undefined)[];
73
79
  document1: {
74
80
  type: string;
75
81
  link: string;
76
82
  }[];
83
+ document2: {
84
+ type: string;
85
+ link: string;
86
+ }[];
77
87
  document3: {
78
88
  type: string;
79
89
  link: string;
80
90
  }[];
81
- district: string;
82
91
  }, undefined>;
83
92
  formState: {
84
93
  errors: import('react-hook-form').FieldErrors<{
85
- document2?: {
86
- type: string;
87
- link: string;
88
- }[] | undefined;
89
- name: string;
90
- phone: string;
91
94
  email: string;
92
- currency: string;
95
+ customerName: string;
96
+ mobileNo: string;
93
97
  amount: number;
98
+ currencyCode: string;
99
+ agreeTerms: NonNullable<boolean | undefined>;
94
100
  province: string;
101
+ bankShortNames: (string | undefined)[];
95
102
  document1: {
96
103
  type: string;
97
104
  link: string;
98
105
  }[];
106
+ document2: {
107
+ type: string;
108
+ link: string;
109
+ }[];
99
110
  document3: {
100
111
  type: string;
101
112
  link: string;
102
113
  }[];
103
- district: string;
104
114
  }>;
105
115
  };
106
116
  getValues: import('react-hook-form').UseFormGetValues<{
107
- document2?: {
108
- type: string;
109
- link: string;
110
- }[] | undefined;
111
- name: string;
112
- phone: string;
113
117
  email: string;
114
- currency: string;
118
+ customerName: string;
119
+ mobileNo: string;
115
120
  amount: number;
121
+ currencyCode: string;
122
+ agreeTerms: NonNullable<boolean | undefined>;
116
123
  province: string;
124
+ bankShortNames: (string | undefined)[];
117
125
  document1: {
118
126
  type: string;
119
127
  link: string;
120
128
  }[];
129
+ document2: {
130
+ type: string;
131
+ link: string;
132
+ }[];
121
133
  document3: {
122
134
  type: string;
123
135
  link: string;
124
136
  }[];
125
- district: string;
126
137
  }>;
127
138
  setValue: import('react-hook-form').UseFormSetValue<{
128
- document2?: {
129
- type: string;
130
- link: string;
131
- }[] | undefined;
132
- name: string;
133
- phone: string;
134
139
  email: string;
135
- currency: string;
140
+ customerName: string;
141
+ mobileNo: string;
136
142
  amount: number;
143
+ currencyCode: string;
144
+ agreeTerms: NonNullable<boolean | undefined>;
137
145
  province: string;
146
+ bankShortNames: (string | undefined)[];
138
147
  document1: {
139
148
  type: string;
140
149
  link: string;
141
150
  }[];
151
+ document2: {
152
+ type: string;
153
+ link: string;
154
+ }[];
142
155
  document3: {
143
156
  type: string;
144
157
  link: string;
145
158
  }[];
146
- district: string;
147
159
  }>;
148
- onSubmit: (data: yup.InferType<typeof businessSchema>) => void;
160
+ onSubmit: (data: yup.InferType<typeof businessSchema>) => Promise<void>;
149
161
  errors: import('react-hook-form').FieldErrors<{
150
- document2?: {
151
- type: string;
152
- link: string;
153
- }[] | undefined;
154
- name: string;
155
- phone: string;
156
162
  email: string;
157
- currency: string;
163
+ customerName: string;
164
+ mobileNo: string;
158
165
  amount: number;
166
+ currencyCode: string;
167
+ agreeTerms: NonNullable<boolean | undefined>;
159
168
  province: string;
169
+ bankShortNames: (string | undefined)[];
160
170
  document1: {
161
171
  type: string;
162
172
  link: string;
163
173
  }[];
174
+ document2: {
175
+ type: string;
176
+ link: string;
177
+ }[];
164
178
  document3: {
165
179
  type: string;
166
180
  link: string;
167
181
  }[];
168
- district: string;
169
182
  }>;
170
183
  reset: import('react-hook-form').UseFormReset<{
171
- document2?: {
172
- type: string;
173
- link: string;
174
- }[] | undefined;
175
- name: string;
176
- phone: string;
177
184
  email: string;
178
- currency: string;
185
+ customerName: string;
186
+ mobileNo: string;
179
187
  amount: number;
188
+ currencyCode: string;
189
+ agreeTerms: NonNullable<boolean | undefined>;
180
190
  province: string;
191
+ bankShortNames: (string | undefined)[];
181
192
  document1: {
182
193
  type: string;
183
194
  link: string;
184
195
  }[];
196
+ document2: {
197
+ type: string;
198
+ link: string;
199
+ }[];
185
200
  document3: {
186
201
  type: string;
187
202
  link: string;
188
203
  }[];
189
- district: string;
190
204
  }>;
191
205
  documents: {
192
206
  document1: File[];
193
207
  document2: File[];
194
208
  document3: File[];
195
209
  };
196
- setDocuments: import('react').Dispatch<import('react').SetStateAction<{
197
- document1: File[];
198
- document2: File[];
199
- document3: File[];
200
- }>>;
210
+ onSetDocuments: (key: "document1" | "document2" | "document3", files: File[]) => void;
211
+ isLoading: boolean;
212
+ currencyCollection: import('@zag-js/collection').ListCollection<{
213
+ label: string;
214
+ value: string;
215
+ }>;
216
+ handleSelectCurrency: (currency: string) => void;
217
+ selectedCurrency: string;
218
+ handleAmountChange: (values: NumberFormatValues) => void;
219
+ amount: number;
220
+ trigger: import('react-hook-form').UseFormTrigger<{
221
+ email: string;
222
+ customerName: string;
223
+ mobileNo: string;
224
+ amount: number;
225
+ currencyCode: string;
226
+ agreeTerms: NonNullable<boolean | undefined>;
227
+ province: string;
228
+ bankShortNames: (string | undefined)[];
229
+ document1: {
230
+ type: string;
231
+ link: string;
232
+ }[];
233
+ document2: {
234
+ type: string;
235
+ link: string;
236
+ }[];
237
+ document3: {
238
+ type: string;
239
+ link: string;
240
+ }[];
241
+ }>;
201
242
  };
202
243
  export {};
@@ -0,0 +1,58 @@
1
+ import { IBid, SignedUrl } from '../../types/response.dto';
2
+ export declare const useTransferMoneyAbroadTransaction: () => {
3
+ loading: boolean;
4
+ getValues: import('react-hook-form').UseFormGetValues<{
5
+ receiptCreatedAt?: string | undefined;
6
+ total: number;
7
+ price: number;
8
+ }>;
9
+ setValue: import('react-hook-form').UseFormSetValue<{
10
+ receiptCreatedAt?: string | undefined;
11
+ total: number;
12
+ price: number;
13
+ }>;
14
+ watch: import('react-hook-form').UseFormWatch<{
15
+ receiptCreatedAt?: string | undefined;
16
+ total: number;
17
+ price: number;
18
+ }>;
19
+ trigger: import('react-hook-form').UseFormTrigger<{
20
+ receiptCreatedAt?: string | undefined;
21
+ total: number;
22
+ price: number;
23
+ }>;
24
+ reset: import('react-hook-form').UseFormReset<{
25
+ receiptCreatedAt?: string | undefined;
26
+ total: number;
27
+ price: number;
28
+ }>;
29
+ handleSubmit: import('react-hook-form').UseFormHandleSubmit<{
30
+ receiptCreatedAt?: string | undefined;
31
+ total: number;
32
+ price: number;
33
+ }, undefined>;
34
+ errors: import('react-hook-form').FieldErrors<{
35
+ receiptCreatedAt?: string | undefined;
36
+ total: number;
37
+ price: number;
38
+ }>;
39
+ register: import('react-hook-form').UseFormRegister<{
40
+ receiptCreatedAt?: string | undefined;
41
+ total: number;
42
+ price: number;
43
+ }>;
44
+ setError: import('react-hook-form').UseFormSetError<{
45
+ receiptCreatedAt?: string | undefined;
46
+ total: number;
47
+ price: number;
48
+ }>;
49
+ clearErrors: import('react-hook-form').UseFormClearErrors<{
50
+ receiptCreatedAt?: string | undefined;
51
+ total: number;
52
+ price: number;
53
+ }>;
54
+ updateBidding: (bidId: number, bidData: IBid) => Promise<boolean>;
55
+ acceptBidding: (transactionId: number, bid: IBid) => Promise<boolean>;
56
+ updateTransaction: (transactionId: number, data: any) => Promise<boolean>;
57
+ getSignedUrl: (filePath: string, fileType: string) => Promise<SignedUrl>;
58
+ };
@@ -0,0 +1,6 @@
1
+ import { ITenant } from '../types/response.dto';
2
+ export declare const useBankList: () => {
3
+ banks: ITenant[];
4
+ loading: boolean;
5
+ refetchData: () => void;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { ICommissionPolicy } from '../types/response.dto';
2
+ export declare const useComissionPolicies: () => {
3
+ loading: boolean;
4
+ commissionPolicies: ICommissionPolicy[];
5
+ getCommissionPoliciesByTenantId: (tenantId: number) => Promise<ICommissionPolicy[]>;
6
+ };
@@ -0,0 +1,13 @@
1
+ interface CommissionTransaction {
2
+ bankCode: string;
3
+ amount: number;
4
+ currencyCode: string;
5
+ }
6
+ export declare const useCommissionCalculation: () => {
7
+ commission: number;
8
+ isLoading: boolean;
9
+ error: string | null;
10
+ calculateCommission: (transactions: CommissionTransaction[]) => Promise<void>;
11
+ hasCommissionData: boolean;
12
+ };
13
+ export {};
@@ -6,4 +6,5 @@ export declare const useDepartmentList: () => {
6
6
  loading: boolean;
7
7
  fetchDepartments: () => Promise<void>;
8
8
  fetchDeparmentDetails: (id: number) => Promise<void>;
9
+ updateDepartment: (id: number, data: Partial<Department>) => Promise<void>;
9
10
  };
@@ -0,0 +1,22 @@
1
+ import { ESimPackage } from '../types/response.dto';
2
+ import { GetESimPackageListReqDto } from '../types/request.dto';
3
+ type Props = {
4
+ defaultLimit?: number;
5
+ defaultFilter?: GetESimPackageListReqDto | null;
6
+ };
7
+ export declare const useESimList: ({ defaultLimit, defaultFilter }: Props) => {
8
+ esimPackages: ESimPackage[];
9
+ total: number;
10
+ loading: boolean;
11
+ refetchData: () => void;
12
+ page: number;
13
+ limit: number;
14
+ setPage: import('react').Dispatch<import('react').SetStateAction<number>>;
15
+ setLimit: import('react').Dispatch<import('react').SetStateAction<number>>;
16
+ setFilter: import('react').Dispatch<import('react').SetStateAction<GetESimPackageListReqDto>>;
17
+ filter: GetESimPackageListReqDto;
18
+ setSortBy: import('react').Dispatch<import('react').SetStateAction<{
19
+ [key: string]: "desc" | "asc";
20
+ }>>;
21
+ };
22
+ export {};
@@ -1,5 +1,5 @@
1
+ import { ITenant } from '../types/response.dto';
1
2
  import { ChangeEvent } from 'react';
2
- import { Bank } from '../components/AddTransaction/BankList';
3
3
  import * as yup from 'yup';
4
4
  declare const onePersonSchema: yup.ObjectSchema<{
5
5
  ticketCode: string | undefined;
@@ -290,8 +290,8 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
290
290
  authorizationLetterFiles: File[];
291
291
  setAuthorizationLetterFiles: import('react').Dispatch<import('react').SetStateAction<File[]>>;
292
292
  isLoading: boolean;
293
- selectedBank: Bank | null;
294
- onSelectBank: (bank: Bank) => void;
293
+ selectedBank: ITenant | null | undefined;
294
+ onSelectBank: (bank: ITenant) => void;
295
295
  hasError: boolean;
296
296
  currencyCollection: import('@zag-js/collection').ListCollection<{
297
297
  label: string;
@@ -0,0 +1,13 @@
1
+ import { EPermissionKey } from '../types/user';
2
+ import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
3
+ export type HeaderMenuItem = {
4
+ label: string;
5
+ icon: IconDefinition;
6
+ path: string;
7
+ forPermissions?: EPermissionKey[];
8
+ display?: boolean;
9
+ subMenuItems?: HeaderMenuItem[];
10
+ };
11
+ export declare const useHeaderMenu: () => {
12
+ items: HeaderMenuItem[];
13
+ };
@@ -0,0 +1,9 @@
1
+ import { Department } from '../components/Department/DepartmentCard';
2
+ import { ITenant, IUser } from '../types/response.dto';
3
+ export declare const useOrganizationStructure: () => {
4
+ partnerAdmin: IUser | null;
5
+ tenant: ITenant | undefined;
6
+ departments: Department[];
7
+ loading: boolean;
8
+ fetchOrganizationTree: (tenantId?: number) => Promise<void>;
9
+ };
@@ -1,126 +1 @@
1
- import { SignedUrl } from '../types/response.dto';
2
- import { TransactionStatus } from '../types/enum';
3
- export declare const useRequestCustomers: () => {
4
- getValues: import('react-hook-form').UseFormGetValues<{
5
- customers?: {
6
- name: string;
7
- status: TransactionStatus;
8
- passportNo: string;
9
- idNo: string;
10
- amount: number;
11
- currencyCode: string;
12
- transactionId: number;
13
- }[] | undefined;
14
- totalAmount: number;
15
- }>;
16
- setValue: import('react-hook-form').UseFormSetValue<{
17
- customers?: {
18
- name: string;
19
- status: TransactionStatus;
20
- passportNo: string;
21
- idNo: string;
22
- amount: number;
23
- currencyCode: string;
24
- transactionId: number;
25
- }[] | undefined;
26
- totalAmount: number;
27
- }>;
28
- watch: import('react-hook-form').UseFormWatch<{
29
- customers?: {
30
- name: string;
31
- status: TransactionStatus;
32
- passportNo: string;
33
- idNo: string;
34
- amount: number;
35
- currencyCode: string;
36
- transactionId: number;
37
- }[] | undefined;
38
- totalAmount: number;
39
- }>;
40
- trigger: import('react-hook-form').UseFormTrigger<{
41
- customers?: {
42
- name: string;
43
- status: TransactionStatus;
44
- passportNo: string;
45
- idNo: string;
46
- amount: number;
47
- currencyCode: string;
48
- transactionId: number;
49
- }[] | undefined;
50
- totalAmount: number;
51
- }>;
52
- reset: import('react-hook-form').UseFormReset<{
53
- customers?: {
54
- name: string;
55
- status: TransactionStatus;
56
- passportNo: string;
57
- idNo: string;
58
- amount: number;
59
- currencyCode: string;
60
- transactionId: number;
61
- }[] | undefined;
62
- totalAmount: number;
63
- }>;
64
- handleSubmit: import('react-hook-form').UseFormHandleSubmit<{
65
- customers?: {
66
- name: string;
67
- status: TransactionStatus;
68
- passportNo: string;
69
- idNo: string;
70
- amount: number;
71
- currencyCode: string;
72
- transactionId: number;
73
- }[] | undefined;
74
- totalAmount: number;
75
- }, undefined>;
76
- errors: import('react-hook-form').FieldErrors<{
77
- customers?: {
78
- name: string;
79
- status: TransactionStatus;
80
- passportNo: string;
81
- idNo: string;
82
- amount: number;
83
- currencyCode: string;
84
- transactionId: number;
85
- }[] | undefined;
86
- totalAmount: number;
87
- }>;
88
- register: import('react-hook-form').UseFormRegister<{
89
- customers?: {
90
- name: string;
91
- status: TransactionStatus;
92
- passportNo: string;
93
- idNo: string;
94
- amount: number;
95
- currencyCode: string;
96
- transactionId: number;
97
- }[] | undefined;
98
- totalAmount: number;
99
- }>;
100
- getSignedUrl: (filePath: string, fileType: string) => Promise<SignedUrl>;
101
- loading: boolean;
102
- setError: import('react-hook-form').UseFormSetError<{
103
- customers?: {
104
- name: string;
105
- status: TransactionStatus;
106
- passportNo: string;
107
- idNo: string;
108
- amount: number;
109
- currencyCode: string;
110
- transactionId: number;
111
- }[] | undefined;
112
- totalAmount: number;
113
- }>;
114
- clearErrors: import('react-hook-form').UseFormClearErrors<{
115
- customers?: {
116
- name: string;
117
- status: TransactionStatus;
118
- passportNo: string;
119
- idNo: string;
120
- amount: number;
121
- currencyCode: string;
122
- transactionId: number;
123
- }[] | undefined;
124
- totalAmount: number;
125
- }>;
126
- };
1
+ export {};
@@ -14,7 +14,6 @@ export declare const useTransactionList: ({ defaultLimit, defaultFilter }: Props
14
14
  limit: number;
15
15
  refetchData: () => void;
16
16
  checkTicketStatus: (transaction: ITransaction) => Promise<void>;
17
- updateGroupTransactionStatus: (groupPublicId: string, transactions: ITransaction[]) => Promise<boolean>;
18
17
  setPage: import('react').Dispatch<import('react').SetStateAction<number>>;
19
18
  setLimit: (limit: number) => void;
20
19
  setFilter: import('react').Dispatch<import('react').SetStateAction<GetTransactionListReqDto>>;
@@ -0,0 +1,16 @@
1
+ import { EUseCaseses } from '../types/enum';
2
+ export type UseCase = {
3
+ id: EUseCaseses;
4
+ enable: boolean;
5
+ hide?: boolean;
6
+ name: string;
7
+ description?: string;
8
+ image?: string;
9
+ };
10
+ export type Group = {
11
+ name: string;
12
+ useCases: UseCase[];
13
+ };
14
+ export declare const useUseCases: () => {
15
+ groups: Group[];
16
+ };
@@ -0,0 +1 @@
1
+ export declare const OrganizationFlow: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ type AddDepartmentMemberProps = {
2
+ parentId?: number | null;
3
+ departmentId: number;
4
+ joinedMemberIds?: number[];
5
+ onSubmitSuccess: () => void;
6
+ };
7
+ export declare const AddDepartmentMember: ({ parentId, onSubmitSuccess, joinedMemberIds, departmentId, }: AddDepartmentMemberProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const DepartmentDetail: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ type AddDepartmentProps = {
2
+ onSubmitSuccess: () => void;
3
+ };
4
+ export declare const AddDepartment: ({ onSubmitSuccess }: AddDepartmentProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const DepartmentList: React.FC;
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ showLayout?: boolean;
3
+ defaultLimit?: number;
4
+ };
5
+ export declare const ESIMListing: ({ showLayout }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const OrganizationFlow: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { ITransaction } from '../../../types/response.dto';
2
+ type GroupTransactionDetailProps = {
3
+ transactions: ITransaction[];
4
+ selectedTransactionId?: number;
5
+ onTransactionsUpdate?: () => void;
6
+ };
7
+ export declare const GroupTransactionDetail: ({ transactions, selectedTransactionId, }: GroupTransactionDetailProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};