gotrip-fx-transaction-form 1.0.40 → 1.0.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -54,6 +54,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
54
54
  departureDate: string;
55
55
  countryCodeDes: string;
56
56
  countryNameDes: string;
57
+ agreeTerms: NonNullable<boolean | undefined>;
57
58
  }>;
58
59
  setValue: import('react-hook-form').UseFormSetValue<{
59
60
  customers?: {
@@ -74,6 +75,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
74
75
  departureDate: string;
75
76
  countryCodeDes: string;
76
77
  countryNameDes: string;
78
+ agreeTerms: NonNullable<boolean | undefined>;
77
79
  }>;
78
80
  watch: import('react-hook-form').UseFormWatch<{
79
81
  customers?: {
@@ -94,6 +96,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
94
96
  departureDate: string;
95
97
  countryCodeDes: string;
96
98
  countryNameDes: string;
99
+ agreeTerms: NonNullable<boolean | undefined>;
97
100
  }>;
98
101
  trigger: import('react-hook-form').UseFormTrigger<{
99
102
  customers?: {
@@ -114,6 +117,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
114
117
  departureDate: string;
115
118
  countryCodeDes: string;
116
119
  countryNameDes: string;
120
+ agreeTerms: NonNullable<boolean | undefined>;
117
121
  }>;
118
122
  reset: import('react-hook-form').UseFormReset<{
119
123
  customers?: {
@@ -134,6 +138,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
134
138
  departureDate: string;
135
139
  countryCodeDes: string;
136
140
  countryNameDes: string;
141
+ agreeTerms: NonNullable<boolean | undefined>;
137
142
  }>;
138
143
  onSelectFile: (event: ChangeEvent<HTMLInputElement>) => Promise<void>;
139
144
  onSubmit: (data: yup.InferType<yup.ObjectSchema<{
@@ -155,6 +160,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
155
160
  mobileNo: string;
156
161
  amount: number;
157
162
  }[] | undefined;
163
+ agreeTerms: NonNullable<boolean | undefined>;
158
164
  }, yup.AnyObject, {
159
165
  lastName: undefined;
160
166
  airlineCode: undefined;
@@ -163,6 +169,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
163
169
  countryCodeDes: undefined;
164
170
  countryNameDes: undefined;
165
171
  customers: "";
172
+ agreeTerms: undefined;
166
173
  }, "">>) => Promise<void>;
167
174
  handleSubmit: import('react-hook-form').UseFormHandleSubmit<{
168
175
  customers?: {
@@ -183,6 +190,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
183
190
  departureDate: string;
184
191
  countryCodeDes: string;
185
192
  countryNameDes: string;
193
+ agreeTerms: NonNullable<boolean | undefined>;
186
194
  }, undefined>;
187
195
  errors: import('react-hook-form').FieldErrors<{
188
196
  customers?: {
@@ -203,6 +211,7 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
203
211
  departureDate: string;
204
212
  countryCodeDes: string;
205
213
  countryNameDes: string;
214
+ agreeTerms: NonNullable<boolean | undefined>;
206
215
  }>;
207
216
  register: import('react-hook-form').UseFormRegister<{
208
217
  customers?: {
@@ -223,11 +232,12 @@ export declare const useGroupCustomers: (onFinish: () => void) => {
223
232
  departureDate: string;
224
233
  countryCodeDes: string;
225
234
  countryNameDes: string;
235
+ agreeTerms: NonNullable<boolean | undefined>;
226
236
  }>;
227
237
  removeCustomer: (index: number) => void;
228
238
  addCustomer: () => void;
229
239
  isGettingFlightInfo: boolean;
230
- disabled: Record<"airlineCode" | "airlineName" | "departureDate" | "countryCodeDes" | "countryNameDes" | ("customers" | "lastName"), boolean>;
240
+ disabled: Record<"airlineCode" | "airlineName" | "departureDate" | "countryCodeDes" | "countryNameDes" | "agreeTerms" | ("customers" | "lastName"), boolean>;
231
241
  authorizationLetterFiles: File[];
232
242
  setAuthorizationLetterFiles: import('react').Dispatch<import('react').SetStateAction<File[]>>;
233
243
  isLoading: boolean;