gotrip-fx-transaction-form 1.0.137 → 1.0.139

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.
@@ -34,134 +34,134 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
34
34
  value: string;
35
35
  }[];
36
36
  getValues: import('react-hook-form').UseFormGetValues<{
37
+ lastName?: string | undefined;
37
38
  customers?: {
38
- ticketCode?: string | undefined;
39
39
  currencyCode?: string | undefined;
40
+ ticketCode?: string | undefined;
40
41
  bankCode?: string | undefined;
41
42
  bankName?: string | undefined;
42
43
  customerName: string;
43
- passportNo: string;
44
- idNo: string;
45
44
  mobileNo: string;
46
45
  amount: number;
46
+ passportNo: string;
47
+ idNo: string;
47
48
  }[] | undefined;
48
- lastName?: string | undefined;
49
49
  agent: {
50
50
  name?: string | undefined;
51
- idNo?: string | undefined;
52
51
  mobileNo?: string | undefined;
52
+ idNo?: string | undefined;
53
53
  };
54
+ agreeTerms: NonNullable<boolean | undefined>;
54
55
  reservationNumber: string;
55
56
  airlineCode: string;
56
57
  airlineName: string;
57
58
  departureDate: string;
58
59
  countryCodeDes: string;
59
60
  countryNameDes: string;
60
- agreeTerms: NonNullable<boolean | undefined>;
61
61
  }>;
62
62
  setValue: import('react-hook-form').UseFormSetValue<{
63
+ lastName?: string | undefined;
63
64
  customers?: {
64
- ticketCode?: string | undefined;
65
65
  currencyCode?: string | undefined;
66
+ ticketCode?: string | undefined;
66
67
  bankCode?: string | undefined;
67
68
  bankName?: string | undefined;
68
69
  customerName: string;
69
- passportNo: string;
70
- idNo: string;
71
70
  mobileNo: string;
72
71
  amount: number;
72
+ passportNo: string;
73
+ idNo: string;
73
74
  }[] | undefined;
74
- lastName?: string | undefined;
75
75
  agent: {
76
76
  name?: string | undefined;
77
- idNo?: string | undefined;
78
77
  mobileNo?: string | undefined;
78
+ idNo?: string | undefined;
79
79
  };
80
+ agreeTerms: NonNullable<boolean | undefined>;
80
81
  reservationNumber: string;
81
82
  airlineCode: string;
82
83
  airlineName: string;
83
84
  departureDate: string;
84
85
  countryCodeDes: string;
85
86
  countryNameDes: string;
86
- agreeTerms: NonNullable<boolean | undefined>;
87
87
  }>;
88
88
  watch: import('react-hook-form').UseFormWatch<{
89
+ lastName?: string | undefined;
89
90
  customers?: {
90
- ticketCode?: string | undefined;
91
91
  currencyCode?: string | undefined;
92
+ ticketCode?: string | undefined;
92
93
  bankCode?: string | undefined;
93
94
  bankName?: string | undefined;
94
95
  customerName: string;
95
- passportNo: string;
96
- idNo: string;
97
96
  mobileNo: string;
98
97
  amount: number;
98
+ passportNo: string;
99
+ idNo: string;
99
100
  }[] | undefined;
100
- lastName?: string | undefined;
101
101
  agent: {
102
102
  name?: string | undefined;
103
- idNo?: string | undefined;
104
103
  mobileNo?: string | undefined;
104
+ idNo?: string | undefined;
105
105
  };
106
+ agreeTerms: NonNullable<boolean | undefined>;
106
107
  reservationNumber: string;
107
108
  airlineCode: string;
108
109
  airlineName: string;
109
110
  departureDate: string;
110
111
  countryCodeDes: string;
111
112
  countryNameDes: string;
112
- agreeTerms: NonNullable<boolean | undefined>;
113
113
  }>;
114
114
  trigger: import('react-hook-form').UseFormTrigger<{
115
+ lastName?: string | undefined;
115
116
  customers?: {
116
- ticketCode?: string | undefined;
117
117
  currencyCode?: string | undefined;
118
+ ticketCode?: string | undefined;
118
119
  bankCode?: string | undefined;
119
120
  bankName?: string | undefined;
120
121
  customerName: string;
121
- passportNo: string;
122
- idNo: string;
123
122
  mobileNo: string;
124
123
  amount: number;
124
+ passportNo: string;
125
+ idNo: string;
125
126
  }[] | undefined;
126
- lastName?: string | undefined;
127
127
  agent: {
128
128
  name?: string | undefined;
129
- idNo?: string | undefined;
130
129
  mobileNo?: string | undefined;
130
+ idNo?: string | undefined;
131
131
  };
132
+ agreeTerms: NonNullable<boolean | undefined>;
132
133
  reservationNumber: string;
133
134
  airlineCode: string;
134
135
  airlineName: string;
135
136
  departureDate: string;
136
137
  countryCodeDes: string;
137
138
  countryNameDes: string;
138
- agreeTerms: NonNullable<boolean | undefined>;
139
139
  }>;
140
140
  reset: import('react-hook-form').UseFormReset<{
141
+ lastName?: string | undefined;
141
142
  customers?: {
142
- ticketCode?: string | undefined;
143
143
  currencyCode?: string | undefined;
144
+ ticketCode?: string | undefined;
144
145
  bankCode?: string | undefined;
145
146
  bankName?: string | undefined;
146
147
  customerName: string;
147
- passportNo: string;
148
- idNo: string;
149
148
  mobileNo: string;
150
149
  amount: number;
150
+ passportNo: string;
151
+ idNo: string;
151
152
  }[] | undefined;
152
- lastName?: string | undefined;
153
153
  agent: {
154
154
  name?: string | undefined;
155
- idNo?: string | undefined;
156
155
  mobileNo?: string | undefined;
156
+ idNo?: string | undefined;
157
157
  };
158
+ agreeTerms: NonNullable<boolean | undefined>;
158
159
  reservationNumber: string;
159
160
  airlineCode: string;
160
161
  airlineName: string;
161
162
  departureDate: string;
162
163
  countryCodeDes: string;
163
164
  countryNameDes: string;
164
- agreeTerms: NonNullable<boolean | undefined>;
165
165
  }>;
166
166
  onSelectFile: (event: ChangeEvent<HTMLInputElement>) => Promise<void>;
167
167
  onSubmit: (data: yup.InferType<yup.ObjectSchema<{
@@ -173,20 +173,20 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
173
173
  countryCodeDes: string;
174
174
  countryNameDes: string;
175
175
  customers: {
176
- ticketCode?: string | undefined;
177
176
  currencyCode?: string | undefined;
177
+ ticketCode?: string | undefined;
178
178
  bankCode?: string | undefined;
179
179
  bankName?: string | undefined;
180
180
  customerName: string;
181
- passportNo: string;
182
- idNo: string;
183
181
  mobileNo: string;
184
182
  amount: number;
183
+ passportNo: string;
184
+ idNo: string;
185
185
  }[] | undefined;
186
186
  agent: {
187
187
  name?: string | undefined;
188
- idNo?: string | undefined;
189
188
  mobileNo?: string | undefined;
189
+ idNo?: string | undefined;
190
190
  };
191
191
  agreeTerms: NonNullable<boolean | undefined>;
192
192
  }, yup.AnyObject, {
@@ -206,82 +206,82 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
206
206
  agreeTerms: undefined;
207
207
  }, "">>) => Promise<void>;
208
208
  handleSubmit: import('react-hook-form').UseFormHandleSubmit<{
209
+ lastName?: string | undefined;
209
210
  customers?: {
210
- ticketCode?: string | undefined;
211
211
  currencyCode?: string | undefined;
212
+ ticketCode?: string | undefined;
212
213
  bankCode?: string | undefined;
213
214
  bankName?: string | undefined;
214
215
  customerName: string;
215
- passportNo: string;
216
- idNo: string;
217
216
  mobileNo: string;
218
217
  amount: number;
218
+ passportNo: string;
219
+ idNo: string;
219
220
  }[] | undefined;
220
- lastName?: string | undefined;
221
221
  agent: {
222
222
  name?: string | undefined;
223
- idNo?: string | undefined;
224
223
  mobileNo?: string | undefined;
224
+ idNo?: string | undefined;
225
225
  };
226
+ agreeTerms: NonNullable<boolean | undefined>;
226
227
  reservationNumber: string;
227
228
  airlineCode: string;
228
229
  airlineName: string;
229
230
  departureDate: string;
230
231
  countryCodeDes: string;
231
232
  countryNameDes: string;
232
- agreeTerms: NonNullable<boolean | undefined>;
233
233
  }, undefined>;
234
234
  errors: import('react-hook-form').FieldErrors<{
235
+ lastName?: string | undefined;
235
236
  customers?: {
236
- ticketCode?: string | undefined;
237
237
  currencyCode?: string | undefined;
238
+ ticketCode?: string | undefined;
238
239
  bankCode?: string | undefined;
239
240
  bankName?: string | undefined;
240
241
  customerName: string;
241
- passportNo: string;
242
- idNo: string;
243
242
  mobileNo: string;
244
243
  amount: number;
244
+ passportNo: string;
245
+ idNo: string;
245
246
  }[] | undefined;
246
- lastName?: string | undefined;
247
247
  agent: {
248
248
  name?: string | undefined;
249
- idNo?: string | undefined;
250
249
  mobileNo?: string | undefined;
250
+ idNo?: string | undefined;
251
251
  };
252
+ agreeTerms: NonNullable<boolean | undefined>;
252
253
  reservationNumber: string;
253
254
  airlineCode: string;
254
255
  airlineName: string;
255
256
  departureDate: string;
256
257
  countryCodeDes: string;
257
258
  countryNameDes: string;
258
- agreeTerms: NonNullable<boolean | undefined>;
259
259
  }>;
260
260
  register: import('react-hook-form').UseFormRegister<{
261
+ lastName?: string | undefined;
261
262
  customers?: {
262
- ticketCode?: string | undefined;
263
263
  currencyCode?: string | undefined;
264
+ ticketCode?: string | undefined;
264
265
  bankCode?: string | undefined;
265
266
  bankName?: string | undefined;
266
267
  customerName: string;
267
- passportNo: string;
268
- idNo: string;
269
268
  mobileNo: string;
270
269
  amount: number;
270
+ passportNo: string;
271
+ idNo: string;
271
272
  }[] | undefined;
272
- lastName?: string | undefined;
273
273
  agent: {
274
274
  name?: string | undefined;
275
- idNo?: string | undefined;
276
275
  mobileNo?: string | undefined;
276
+ idNo?: string | undefined;
277
277
  };
278
+ agreeTerms: NonNullable<boolean | undefined>;
278
279
  reservationNumber: string;
279
280
  airlineCode: string;
280
281
  airlineName: string;
281
282
  departureDate: string;
282
283
  countryCodeDes: string;
283
284
  countryNameDes: string;
284
- agreeTerms: NonNullable<boolean | undefined>;
285
285
  }>;
286
286
  removeCustomer: (index: number) => void;
287
287
  addCustomer: () => void;
@@ -9,9 +9,9 @@ declare const groupOfBookerSchema: yup.ObjectSchema<{
9
9
  role_id?: number | null | undefined;
10
10
  status: string;
11
11
  phone: string;
12
- lastName: string;
13
12
  email: string;
14
13
  password: string;
14
+ lastName: string;
15
15
  firstName: string;
16
16
  }[] | undefined;
17
17
  }, yup.AnyObject, {
@@ -30,9 +30,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
30
30
  role_id?: number | null | undefined;
31
31
  status: string;
32
32
  phone: string;
33
- lastName: string;
34
33
  email: string;
35
34
  password: string;
35
+ lastName: string;
36
36
  firstName: string;
37
37
  }[] | undefined;
38
38
  }>;
@@ -44,9 +44,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
44
44
  role_id?: number | null | undefined;
45
45
  status: string;
46
46
  phone: string;
47
- lastName: string;
48
47
  email: string;
49
48
  password: string;
49
+ lastName: string;
50
50
  firstName: string;
51
51
  }[] | undefined;
52
52
  }, undefined>;
@@ -58,9 +58,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
58
58
  role_id?: number | null | undefined;
59
59
  status: string;
60
60
  phone: string;
61
- lastName: string;
62
61
  email: string;
63
62
  password: string;
63
+ lastName: string;
64
64
  firstName: string;
65
65
  }[] | undefined;
66
66
  }>;
@@ -72,9 +72,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
72
72
  role_id?: number | null | undefined;
73
73
  status: string;
74
74
  phone: string;
75
- lastName: string;
76
75
  email: string;
77
76
  password: string;
77
+ lastName: string;
78
78
  firstName: string;
79
79
  }[] | undefined;
80
80
  }>;
@@ -86,9 +86,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
86
86
  role_id?: number | null | undefined;
87
87
  status: string;
88
88
  phone: string;
89
- lastName: string;
90
89
  email: string;
91
90
  password: string;
91
+ lastName: string;
92
92
  firstName: string;
93
93
  }[] | undefined;
94
94
  }>;
@@ -100,9 +100,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
100
100
  role_id?: number | null | undefined;
101
101
  status: string;
102
102
  phone: string;
103
- lastName: string;
104
103
  email: string;
105
104
  password: string;
105
+ lastName: string;
106
106
  firstName: string;
107
107
  }[] | undefined;
108
108
  }>;
@@ -114,9 +114,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
114
114
  role_id?: number | null | undefined;
115
115
  status: string;
116
116
  phone: string;
117
- lastName: string;
118
117
  email: string;
119
118
  password: string;
119
+ lastName: string;
120
120
  firstName: string;
121
121
  }[] | undefined;
122
122
  }>;
@@ -128,9 +128,9 @@ export declare const useImportBookers: (onFinish: () => void) => {
128
128
  role_id?: number | null | undefined;
129
129
  status: string;
130
130
  phone: string;
131
- lastName: string;
132
131
  email: string;
133
132
  password: string;
133
+ lastName: string;
134
134
  firstName: string;
135
135
  }[] | undefined;
136
136
  }>;
@@ -5,9 +5,9 @@ declare const groupOfMemberSchema: yup.ObjectSchema<{
5
5
  uuid?: string | undefined;
6
6
  status: string;
7
7
  phone: string;
8
- lastName: string;
9
8
  email: string;
10
9
  password: string;
10
+ lastName: string;
11
11
  firstName: string;
12
12
  }[] | undefined;
13
13
  }, yup.AnyObject, {
@@ -23,9 +23,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
23
23
  uuid?: string | undefined;
24
24
  status: string;
25
25
  phone: string;
26
- lastName: string;
27
26
  email: string;
28
27
  password: string;
28
+ lastName: string;
29
29
  firstName: string;
30
30
  }[] | undefined;
31
31
  }>;
@@ -34,9 +34,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
34
34
  uuid?: string | undefined;
35
35
  status: string;
36
36
  phone: string;
37
- lastName: string;
38
37
  email: string;
39
38
  password: string;
39
+ lastName: string;
40
40
  firstName: string;
41
41
  }[] | undefined;
42
42
  }, undefined>;
@@ -45,9 +45,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
45
45
  uuid?: string | undefined;
46
46
  status: string;
47
47
  phone: string;
48
- lastName: string;
49
48
  email: string;
50
49
  password: string;
50
+ lastName: string;
51
51
  firstName: string;
52
52
  }[] | undefined;
53
53
  }>;
@@ -56,9 +56,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
56
56
  uuid?: string | undefined;
57
57
  status: string;
58
58
  phone: string;
59
- lastName: string;
60
59
  email: string;
61
60
  password: string;
61
+ lastName: string;
62
62
  firstName: string;
63
63
  }[] | undefined;
64
64
  }>;
@@ -67,9 +67,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
67
67
  uuid?: string | undefined;
68
68
  status: string;
69
69
  phone: string;
70
- lastName: string;
71
70
  email: string;
72
71
  password: string;
72
+ lastName: string;
73
73
  firstName: string;
74
74
  }[] | undefined;
75
75
  }>;
@@ -78,9 +78,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
78
78
  uuid?: string | undefined;
79
79
  status: string;
80
80
  phone: string;
81
- lastName: string;
82
81
  email: string;
83
82
  password: string;
83
+ lastName: string;
84
84
  firstName: string;
85
85
  }[] | undefined;
86
86
  }>;
@@ -89,9 +89,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
89
89
  uuid?: string | undefined;
90
90
  status: string;
91
91
  phone: string;
92
- lastName: string;
93
92
  email: string;
94
93
  password: string;
94
+ lastName: string;
95
95
  firstName: string;
96
96
  }[] | undefined;
97
97
  }>;
@@ -100,9 +100,9 @@ export declare const useImportMembers: (onFinish: () => void) => {
100
100
  uuid?: string | undefined;
101
101
  status: string;
102
102
  phone: string;
103
- lastName: string;
104
103
  email: string;
105
104
  password: string;
105
+ lastName: string;
106
106
  firstName: string;
107
107
  }[] | undefined;
108
108
  }>;
@@ -0,0 +1 @@
1
+ export declare const useIsMobileDevice: () => boolean;
@@ -0,0 +1,5 @@
1
+ export declare const useTicketImage: () => {
2
+ isExtractingTicket: boolean;
3
+ readBase64Str: (base64: string) => Promise<any>;
4
+ readImageFile: (file: File) => Promise<any>;
5
+ };
@@ -1,6 +1,5 @@
1
1
  type Props = {
2
2
  hide?: string[];
3
- defaultBank?: string;
4
3
  };
5
- export declare const GuestHome: ({ hide, defaultBank }: Props) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const GuestHome: ({ hide }: Props) => import("react/jsx-runtime").JSX.Element;
6
5
  export {};