@tap-payments/auth-jsconnect 2.4.21 → 2.4.22

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 (22) hide show
  1. package/build/@types/app.d.ts +5 -0
  2. package/build/constants/dummy.d.ts +4 -219
  3. package/build/constants/dummy.js +60 -6194
  4. package/build/features/connect/screens/Individual/Individual.js +1 -2
  5. package/build/features/connect/screens/Individual/MobileNumber.js +6 -3
  6. package/build/features/connect/screens/Individual/validation.js +8 -3
  7. package/build/features/connect/screens/Mobile/MobileNumber.js +6 -3
  8. package/build/features/connect/screens/Mobile/validation.js +8 -3
  9. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +1 -2
  10. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +7 -4
  11. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +8 -3
  12. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +7 -4
  13. package/build/features/connectExpress/screens/Mobile/validation.js +16 -6
  14. package/build/features/individual/screens/IndividualList/MobileNumber.js +6 -3
  15. package/build/features/individual/screens/IndividualList/validation.js +8 -3
  16. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -3
  17. package/build/features/individual/screens/IndividualPersonalInfo/validation.js +8 -3
  18. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +7 -4
  19. package/build/features/individual/screens/IndividualPhoneInfo/validation.js +8 -3
  20. package/build/features/signIn/screens/Mobile/MobileNumber.js +6 -3
  21. package/build/features/signIn/screens/Mobile/validation.js +8 -3
  22. package/package.json +1 -1
@@ -26,6 +26,8 @@ export interface CountryCode {
26
26
  logo: string;
27
27
  digits: number;
28
28
  supported_by_tap: boolean;
29
+ min_digits: number;
30
+ max_digits: number;
29
31
  }
30
32
  export interface City {
31
33
  id: string;
@@ -731,12 +733,15 @@ export type CountryInfo = {
731
733
  id: number;
732
734
  label: string;
733
735
  country: {
736
+ id: number;
734
737
  name_en: string;
735
738
  name_ar: string;
736
739
  iso2: string;
737
740
  iso3: string;
738
741
  idd_prefix: string;
739
742
  logo: string;
743
+ min_digits: number;
744
+ max_digits: number;
740
745
  };
741
746
  };
742
747
  export type BusinessCountryInfo = {
@@ -1,3 +1,4 @@
1
+ import { BusinessCountryInfo } from '../@types';
1
2
  export declare const OTHER_BRAND: {
2
3
  id: string;
3
4
  code: string;
@@ -76,209 +77,9 @@ export declare const defaultCountry: {
76
77
  logo: string;
77
78
  digits: number;
78
79
  supported_by_tap: boolean;
80
+ min_digits: number;
81
+ max_digits: number;
79
82
  };
80
- export declare const businessCountries: ({
81
- created: number;
82
- updated: number;
83
- countryId: string;
84
- name: {
85
- created: number;
86
- updated: number;
87
- textId: string;
88
- arabic: string;
89
- english: string;
90
- french: string;
91
- spanish: string;
92
- russian: string;
93
- chinese: string;
94
- };
95
- iso2: string;
96
- iso3: string;
97
- numeric: number;
98
- continent: string;
99
- capital: string;
100
- geoNameId: string;
101
- idd_prefix: number;
102
- logo: string;
103
- digits: number;
104
- supported_by_tap: boolean;
105
- } | {
106
- created: number;
107
- updated: number;
108
- countryId: string;
109
- name: {
110
- created: number;
111
- updated: number;
112
- textId: string;
113
- arabic: string;
114
- english: string;
115
- french: string;
116
- spanish: string;
117
- russian: string;
118
- chinese: string;
119
- };
120
- iso2: string;
121
- iso3: string;
122
- numeric: number;
123
- continent: string;
124
- capital: string;
125
- geoNameId: string;
126
- idd_prefix: number;
127
- logo: string;
128
- digits: number;
129
- supported_by_tap?: undefined;
130
- })[];
131
- export declare const countriesCode: ({
132
- created: number;
133
- updated: number;
134
- countryId: string;
135
- name: {
136
- created: number;
137
- updated: number;
138
- textId: string;
139
- arabic: string;
140
- english: string;
141
- french: string;
142
- spanish: string;
143
- russian: string;
144
- chinese: string;
145
- };
146
- iso2: string;
147
- iso3: string;
148
- numeric: number;
149
- continent: string;
150
- capital: string;
151
- geoNameId: string;
152
- idd_prefix: number;
153
- logo: string;
154
- digits: number;
155
- supported_by_tap: boolean;
156
- } | {
157
- created: number;
158
- updated: number;
159
- countryId: string;
160
- name: {
161
- created: number;
162
- updated: number;
163
- textId: string;
164
- arabic: string;
165
- english: string;
166
- french: string;
167
- spanish: string;
168
- russian: string;
169
- chinese: string;
170
- };
171
- iso2: string;
172
- iso3: string;
173
- numeric: number;
174
- continent: string;
175
- capital: string;
176
- geoNameId: string;
177
- idd_prefix: number;
178
- logo: string;
179
- digits: number;
180
- supported_by_tap?: undefined;
181
- } | {
182
- created: number;
183
- updated: number;
184
- countryId: string;
185
- name: {
186
- created: number;
187
- updated: number;
188
- textId: string;
189
- arabic: string;
190
- english: string;
191
- french: string;
192
- spanish: string;
193
- russian: string;
194
- chinese: string;
195
- };
196
- iso2: string;
197
- iso3: string;
198
- numeric: number;
199
- continent: string;
200
- capital: string;
201
- geoNameId: string;
202
- idd_prefix: number;
203
- logo?: undefined;
204
- digits?: undefined;
205
- supported_by_tap?: undefined;
206
- } | {
207
- created: number;
208
- updated: number;
209
- countryId: string;
210
- name: {
211
- created: number;
212
- updated: number;
213
- textId: string;
214
- arabic: string;
215
- english: string;
216
- french: string;
217
- spanish: string;
218
- russian: string;
219
- chinese: string;
220
- };
221
- iso2: string;
222
- iso3: string;
223
- numeric: number;
224
- continent: string;
225
- capital: string;
226
- geoNameId: string;
227
- idd_prefix: number;
228
- logo: string;
229
- digits?: undefined;
230
- supported_by_tap?: undefined;
231
- } | {
232
- created: number;
233
- updated: number;
234
- countryId: string;
235
- name: {
236
- created: number;
237
- updated: number;
238
- textId: string;
239
- arabic: string;
240
- english: string;
241
- french: string;
242
- spanish: string;
243
- russian: string;
244
- chinese: string;
245
- };
246
- iso2: string;
247
- iso3: string;
248
- numeric: number;
249
- continent: string;
250
- capital: string;
251
- geoNameId: string;
252
- idd_prefix: number;
253
- digits: number;
254
- logo?: undefined;
255
- supported_by_tap?: undefined;
256
- } | {
257
- created: number;
258
- updated: number;
259
- countryId: string;
260
- name: {
261
- created: number;
262
- updated: number;
263
- textId: string;
264
- arabic: string;
265
- english: string;
266
- french: string;
267
- spanish: string;
268
- russian: string;
269
- chinese: string;
270
- };
271
- iso2: string;
272
- iso3: string;
273
- numeric: number;
274
- continent: string;
275
- capital: string;
276
- geoNameId: string;
277
- idd_prefix: number;
278
- digits: number;
279
- supported_by_tap: boolean;
280
- logo?: undefined;
281
- })[];
282
83
  export declare const SOCIAL_MEDIA_LINKS: {
283
84
  twitter: string;
284
85
  facebook: string;
@@ -371,20 +172,4 @@ export declare const BRAND_LIST: {
371
172
  };
372
173
  website: string;
373
174
  }[];
374
- export declare const BUSINESS_COUNTRIES: {
375
- id: number;
376
- title: string;
377
- countries: {
378
- id: number;
379
- label: string;
380
- country: {
381
- id: number;
382
- name_en: string;
383
- name_ar: string;
384
- iso2: string;
385
- iso3: string;
386
- idd_prefix: string;
387
- logo: string;
388
- };
389
- }[];
390
- }[];
175
+ export declare const BUSINESS_COUNTRIES: Array<BusinessCountryInfo>;