@wf-financing/ui-assets 1.2.2 → 1.3.0

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.
@@ -8,6 +8,19 @@ export declare const SlideoutPanelSchema: z.ZodObject<{
8
8
  } & {
9
9
  header: z.ZodString;
10
10
  secondaryAction: z.ZodString;
11
+ helpPopover: z.ZodObject<{
12
+ heading: z.ZodString;
13
+ text: z.ZodString;
14
+ linkLabel: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ heading: string;
17
+ text: string;
18
+ linkLabel: string;
19
+ }, {
20
+ heading: string;
21
+ text: string;
22
+ linkLabel: string;
23
+ }>;
11
24
  }, "strip", z.ZodTypeAny, {
12
25
  version: string;
13
26
  language: string;
@@ -15,6 +28,11 @@ export declare const SlideoutPanelSchema: z.ZodObject<{
15
28
  type: string;
16
29
  header: string;
17
30
  secondaryAction: string;
31
+ helpPopover: {
32
+ heading: string;
33
+ text: string;
34
+ linkLabel: string;
35
+ };
18
36
  }, {
19
37
  version: string;
20
38
  language: string;
@@ -22,6 +40,11 @@ export declare const SlideoutPanelSchema: z.ZodObject<{
22
40
  type: string;
23
41
  header: string;
24
42
  secondaryAction: string;
43
+ helpPopover: {
44
+ heading: string;
45
+ text: string;
46
+ linkLabel: string;
47
+ };
25
48
  }>;
26
49
  export type SlideoutPanel = z.infer<typeof SlideoutPanelSchema>;
27
50
  export declare const ContactDetailsScreenSchema: z.ZodObject<{
@@ -94,11 +117,25 @@ export declare const ContactDetailsScreenSchema: z.ZodObject<{
94
117
  contactSupportUrl: string;
95
118
  textAfterLink: string;
96
119
  }>;
120
+ validation: z.ZodObject<{
121
+ phoneNumber: z.ZodString;
122
+ email: z.ZodString;
123
+ }, "strip", z.ZodTypeAny, {
124
+ email: string;
125
+ phoneNumber: string;
126
+ }, {
127
+ email: string;
128
+ phoneNumber: string;
129
+ }>;
97
130
  }, "strip", z.ZodTypeAny, {
98
131
  version: string;
99
132
  language: string;
100
133
  cohort: string;
101
134
  type: string;
135
+ validation: {
136
+ email: string;
137
+ phoneNumber: string;
138
+ };
102
139
  header: string;
103
140
  text: string;
104
141
  email: {
@@ -130,6 +167,10 @@ export declare const ContactDetailsScreenSchema: z.ZodObject<{
130
167
  language: string;
131
168
  cohort: string;
132
169
  type: string;
170
+ validation: {
171
+ email: string;
172
+ phoneNumber: string;
173
+ };
133
174
  header: string;
134
175
  text: string;
135
176
  email: {
@@ -195,7 +236,31 @@ export declare const UserConsentScreenSchema: z.ZodObject<{
195
236
  alreadyHaveAnAccountText: string;
196
237
  wayflyerSignInUrl: string;
197
238
  }>;
198
- consentNotice: z.ZodString;
239
+ consentNotice: z.ZodObject<{
240
+ textBeforePrivacyLink: z.ZodString;
241
+ privacyPolicyLinkText: z.ZodString;
242
+ privacyPolicyUrl: z.ZodString;
243
+ textBetweenLinks: z.ZodString;
244
+ termsLinkText: z.ZodString;
245
+ termsUrl: z.ZodString;
246
+ textAfterTermsLink: z.ZodString;
247
+ }, "strip", z.ZodTypeAny, {
248
+ termsUrl: string;
249
+ textBeforePrivacyLink: string;
250
+ privacyPolicyLinkText: string;
251
+ privacyPolicyUrl: string;
252
+ textBetweenLinks: string;
253
+ termsLinkText: string;
254
+ textAfterTermsLink: string;
255
+ }, {
256
+ termsUrl: string;
257
+ textBeforePrivacyLink: string;
258
+ privacyPolicyLinkText: string;
259
+ privacyPolicyUrl: string;
260
+ textBetweenLinks: string;
261
+ termsLinkText: string;
262
+ textAfterTermsLink: string;
263
+ }>;
199
264
  primaryAction: z.ZodObject<{
200
265
  label: z.ZodString;
201
266
  accessibilityLabel: z.ZodString;
@@ -247,7 +312,15 @@ export declare const UserConsentScreenSchema: z.ZodObject<{
247
312
  alreadyHaveAnAccountText: string;
248
313
  wayflyerSignInUrl: string;
249
314
  };
250
- consentNotice: string;
315
+ consentNotice: {
316
+ termsUrl: string;
317
+ textBeforePrivacyLink: string;
318
+ privacyPolicyLinkText: string;
319
+ privacyPolicyUrl: string;
320
+ textBetweenLinks: string;
321
+ termsLinkText: string;
322
+ textAfterTermsLink: string;
323
+ };
251
324
  startError: {
252
325
  headline: string;
253
326
  textBeforeLink: string;
@@ -277,7 +350,15 @@ export declare const UserConsentScreenSchema: z.ZodObject<{
277
350
  alreadyHaveAnAccountText: string;
278
351
  wayflyerSignInUrl: string;
279
352
  };
280
- consentNotice: string;
353
+ consentNotice: {
354
+ termsUrl: string;
355
+ textBeforePrivacyLink: string;
356
+ privacyPolicyLinkText: string;
357
+ privacyPolicyUrl: string;
358
+ textBetweenLinks: string;
359
+ termsLinkText: string;
360
+ textAfterTermsLink: string;
361
+ };
281
362
  startError: {
282
363
  headline: string;
283
364
  textBeforeLink: string;
@@ -303,86 +384,21 @@ export declare const CountryOfIncorporationScreenSchema: z.ZodObject<{
303
384
  }, {
304
385
  label: string;
305
386
  }>;
306
- agreedWithTermsAndCondition: z.ZodObject<{
307
- label: z.ZodObject<{
308
- textOne: z.ZodString;
309
- textTwo: z.ZodString;
310
- wayflyerTermsAndConditionsUrl: z.ZodString;
311
- wayflyerPrivacyPolicyUrl: z.ZodString;
312
- }, "strip", z.ZodTypeAny, {
313
- textOne: string;
314
- textTwo: string;
315
- wayflyerTermsAndConditionsUrl: string;
316
- wayflyerPrivacyPolicyUrl: string;
317
- }, {
318
- textOne: string;
319
- textTwo: string;
320
- wayflyerTermsAndConditionsUrl: string;
321
- wayflyerPrivacyPolicyUrl: string;
322
- }>;
323
- error: z.ZodString;
324
- }, "strip", z.ZodTypeAny, {
325
- label: {
326
- textOne: string;
327
- textTwo: string;
328
- wayflyerTermsAndConditionsUrl: string;
329
- wayflyerPrivacyPolicyUrl: string;
330
- };
331
- error: string;
332
- }, {
333
- label: {
334
- textOne: string;
335
- textTwo: string;
336
- wayflyerTermsAndConditionsUrl: string;
337
- wayflyerPrivacyPolicyUrl: string;
338
- };
339
- error: string;
340
- }>;
341
387
  }, "strip", z.ZodTypeAny, {
342
388
  agreedOnApplicationServicesUpdateNews: {
343
389
  label: string;
344
390
  };
345
- agreedWithTermsAndCondition: {
346
- label: {
347
- textOne: string;
348
- textTwo: string;
349
- wayflyerTermsAndConditionsUrl: string;
350
- wayflyerPrivacyPolicyUrl: string;
351
- };
352
- error: string;
353
- };
354
391
  }, {
355
392
  agreedOnApplicationServicesUpdateNews: {
356
393
  label: string;
357
394
  };
358
- agreedWithTermsAndCondition: {
359
- label: {
360
- textOne: string;
361
- textTwo: string;
362
- wayflyerTermsAndConditionsUrl: string;
363
- wayflyerPrivacyPolicyUrl: string;
364
- };
365
- error: string;
366
- };
367
395
  }>;
368
- cantSeeYourCountryBlock: z.ZodObject<{
369
- head: z.ZodString;
370
- textOne: z.ZodString;
371
- textTwo: z.ZodString;
372
- wayflyerGetInTouchUrl: z.ZodString;
373
- wayflyerHelpCenterUrl: z.ZodString;
396
+ validation: z.ZodObject<{
397
+ countryRequired: z.ZodString;
374
398
  }, "strip", z.ZodTypeAny, {
375
- textOne: string;
376
- textTwo: string;
377
- head: string;
378
- wayflyerGetInTouchUrl: string;
379
- wayflyerHelpCenterUrl: string;
399
+ countryRequired: string;
380
400
  }, {
381
- textOne: string;
382
- textTwo: string;
383
- head: string;
384
- wayflyerGetInTouchUrl: string;
385
- wayflyerHelpCenterUrl: string;
401
+ countryRequired: string;
386
402
  }>;
387
403
  primaryAction: z.ZodObject<{
388
404
  label: z.ZodString;
@@ -399,6 +415,9 @@ export declare const CountryOfIncorporationScreenSchema: z.ZodObject<{
399
415
  language: string;
400
416
  cohort: string;
401
417
  type: string;
418
+ validation: {
419
+ countryRequired: string;
420
+ };
402
421
  header: string;
403
422
  text: string;
404
423
  primaryAction: {
@@ -409,28 +428,15 @@ export declare const CountryOfIncorporationScreenSchema: z.ZodObject<{
409
428
  agreedOnApplicationServicesUpdateNews: {
410
429
  label: string;
411
430
  };
412
- agreedWithTermsAndCondition: {
413
- label: {
414
- textOne: string;
415
- textTwo: string;
416
- wayflyerTermsAndConditionsUrl: string;
417
- wayflyerPrivacyPolicyUrl: string;
418
- };
419
- error: string;
420
- };
421
- };
422
- cantSeeYourCountryBlock: {
423
- textOne: string;
424
- textTwo: string;
425
- head: string;
426
- wayflyerGetInTouchUrl: string;
427
- wayflyerHelpCenterUrl: string;
428
431
  };
429
432
  }, {
430
433
  version: string;
431
434
  language: string;
432
435
  cohort: string;
433
436
  type: string;
437
+ validation: {
438
+ countryRequired: string;
439
+ };
434
440
  header: string;
435
441
  text: string;
436
442
  primaryAction: {
@@ -441,22 +447,6 @@ export declare const CountryOfIncorporationScreenSchema: z.ZodObject<{
441
447
  agreedOnApplicationServicesUpdateNews: {
442
448
  label: string;
443
449
  };
444
- agreedWithTermsAndCondition: {
445
- label: {
446
- textOne: string;
447
- textTwo: string;
448
- wayflyerTermsAndConditionsUrl: string;
449
- wayflyerPrivacyPolicyUrl: string;
450
- };
451
- error: string;
452
- };
453
- };
454
- cantSeeYourCountryBlock: {
455
- textOne: string;
456
- textTwo: string;
457
- head: string;
458
- wayflyerGetInTouchUrl: string;
459
- wayflyerHelpCenterUrl: string;
460
450
  };
461
451
  }>;
462
452
  export type CountryOfIncorporationScreen = z.infer<typeof CountryOfIncorporationScreenSchema>;
@@ -469,19 +459,13 @@ export declare const EmailAlreadyRegisteredScreenSchema: z.ZodObject<{
469
459
  header: z.ZodString;
470
460
  body: z.ZodObject<{
471
461
  textOne: z.ZodString;
472
- supportTeamLink: z.ZodString;
473
- supportTeamUrl: z.ZodString;
474
462
  textTwo: z.ZodString;
475
463
  }, "strip", z.ZodTypeAny, {
476
464
  textOne: string;
477
465
  textTwo: string;
478
- supportTeamLink: string;
479
- supportTeamUrl: string;
480
466
  }, {
481
467
  textOne: string;
482
468
  textTwo: string;
483
- supportTeamLink: string;
484
- supportTeamUrl: string;
485
469
  }>;
486
470
  primaryAction: z.ZodObject<{
487
471
  label: z.ZodString;
@@ -511,8 +495,6 @@ export declare const EmailAlreadyRegisteredScreenSchema: z.ZodObject<{
511
495
  body: {
512
496
  textOne: string;
513
497
  textTwo: string;
514
- supportTeamLink: string;
515
- supportTeamUrl: string;
516
498
  };
517
499
  }, {
518
500
  version: string;
@@ -528,8 +510,6 @@ export declare const EmailAlreadyRegisteredScreenSchema: z.ZodObject<{
528
510
  body: {
529
511
  textOne: string;
530
512
  textTwo: string;
531
- supportTeamLink: string;
532
- supportTeamUrl: string;
533
513
  };
534
514
  }>;
535
515
  export type EmailAlreadyRegisteredScreen = z.infer<typeof EmailAlreadyRegisteredScreenSchema>;
@@ -585,6 +565,16 @@ export declare const StateProvinceScreenSchema: z.ZodObject<{
585
565
  searchPlaceholder: string;
586
566
  helperText: string;
587
567
  }>;
568
+ validation: z.ZodObject<{
569
+ stateRequired: z.ZodString;
570
+ pobRequired: z.ZodString;
571
+ }, "strip", z.ZodTypeAny, {
572
+ stateRequired: string;
573
+ pobRequired: string;
574
+ }, {
575
+ stateRequired: string;
576
+ pobRequired: string;
577
+ }>;
588
578
  primaryAction: z.ZodObject<{
589
579
  label: z.ZodString;
590
580
  accessibilityLabel: z.ZodString;
@@ -600,6 +590,10 @@ export declare const StateProvinceScreenSchema: z.ZodObject<{
600
590
  language: string;
601
591
  cohort: string;
602
592
  type: string;
593
+ validation: {
594
+ stateRequired: string;
595
+ pobRequired: string;
596
+ };
603
597
  primaryAction: {
604
598
  label: string;
605
599
  accessibilityLabel: string;
@@ -629,6 +623,10 @@ export declare const StateProvinceScreenSchema: z.ZodObject<{
629
623
  language: string;
630
624
  cohort: string;
631
625
  type: string;
626
+ validation: {
627
+ stateRequired: string;
628
+ pobRequired: string;
629
+ };
632
630
  primaryAction: {
633
631
  label: string;
634
632
  accessibilityLabel: string;
@@ -903,10 +901,13 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
903
901
  }>;
904
902
  dateOfIncorporationInput: z.ZodObject<{
905
903
  label: z.ZodString;
904
+ helperText: z.ZodString;
906
905
  }, "strip", z.ZodTypeAny, {
907
906
  label: string;
907
+ helperText: string;
908
908
  }, {
909
909
  label: string;
910
+ helperText: string;
910
911
  }>;
911
912
  industryInput: z.ZodObject<{
912
913
  label: z.ZodString;
@@ -942,16 +943,6 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
942
943
  }, {
943
944
  label: string;
944
945
  }>;
945
- helperTextsBlock: z.ZodObject<{
946
- textOne: z.ZodString;
947
- textTwo: z.ZodString;
948
- }, "strip", z.ZodTypeAny, {
949
- textOne: string;
950
- textTwo: string;
951
- }, {
952
- textOne: string;
953
- textTwo: string;
954
- }>;
955
946
  proofOfRegistration: z.ZodObject<{
956
947
  title: z.ZodString;
957
948
  description: z.ZodString;
@@ -983,6 +974,34 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
983
974
  accessibilityLabel: string;
984
975
  };
985
976
  }>;
977
+ validation: z.ZodObject<{
978
+ legalName: z.ZodString;
979
+ dateOfIncorporation: z.ZodString;
980
+ dateOfIncorporationRequired: z.ZodString;
981
+ businessType: z.ZodString;
982
+ industryType: z.ZodString;
983
+ websiteOrNoWebsite: z.ZodString;
984
+ websiteUrl: z.ZodString;
985
+ proofOfRegistration: z.ZodString;
986
+ }, "strip", z.ZodTypeAny, {
987
+ proofOfRegistration: string;
988
+ legalName: string;
989
+ dateOfIncorporation: string;
990
+ dateOfIncorporationRequired: string;
991
+ businessType: string;
992
+ industryType: string;
993
+ websiteOrNoWebsite: string;
994
+ websiteUrl: string;
995
+ }, {
996
+ proofOfRegistration: string;
997
+ legalName: string;
998
+ dateOfIncorporation: string;
999
+ dateOfIncorporationRequired: string;
1000
+ businessType: string;
1001
+ industryType: string;
1002
+ websiteOrNoWebsite: string;
1003
+ websiteUrl: string;
1004
+ }>;
986
1005
  primaryAction: z.ZodObject<{
987
1006
  label: z.ZodString;
988
1007
  accessibilityLabel: z.ZodString;
@@ -998,6 +1017,16 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
998
1017
  language: string;
999
1018
  cohort: string;
1000
1019
  type: string;
1020
+ validation: {
1021
+ proofOfRegistration: string;
1022
+ legalName: string;
1023
+ dateOfIncorporation: string;
1024
+ dateOfIncorporationRequired: string;
1025
+ businessType: string;
1026
+ industryType: string;
1027
+ websiteOrNoWebsite: string;
1028
+ websiteUrl: string;
1029
+ };
1001
1030
  header: string;
1002
1031
  text: string;
1003
1032
  phoneNumberInput: {
@@ -1007,10 +1036,6 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
1007
1036
  label: string;
1008
1037
  accessibilityLabel: string;
1009
1038
  };
1010
- helperTextsBlock: {
1011
- textOne: string;
1012
- textTwo: string;
1013
- };
1014
1039
  businessSearchInput: {
1015
1040
  label: string;
1016
1041
  placeholder: string;
@@ -1022,6 +1047,7 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
1022
1047
  };
1023
1048
  dateOfIncorporationInput: {
1024
1049
  label: string;
1050
+ helperText: string;
1025
1051
  };
1026
1052
  industryInput: {
1027
1053
  label: string;
@@ -1048,6 +1074,16 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
1048
1074
  language: string;
1049
1075
  cohort: string;
1050
1076
  type: string;
1077
+ validation: {
1078
+ proofOfRegistration: string;
1079
+ legalName: string;
1080
+ dateOfIncorporation: string;
1081
+ dateOfIncorporationRequired: string;
1082
+ businessType: string;
1083
+ industryType: string;
1084
+ websiteOrNoWebsite: string;
1085
+ websiteUrl: string;
1086
+ };
1051
1087
  header: string;
1052
1088
  text: string;
1053
1089
  phoneNumberInput: {
@@ -1057,10 +1093,6 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
1057
1093
  label: string;
1058
1094
  accessibilityLabel: string;
1059
1095
  };
1060
- helperTextsBlock: {
1061
- textOne: string;
1062
- textTwo: string;
1063
- };
1064
1096
  businessSearchInput: {
1065
1097
  label: string;
1066
1098
  placeholder: string;
@@ -1072,6 +1104,7 @@ export declare const BusinessDetailsSchema: z.ZodObject<{
1072
1104
  };
1073
1105
  dateOfIncorporationInput: {
1074
1106
  label: string;
1107
+ helperText: string;
1075
1108
  };
1076
1109
  industryInput: {
1077
1110
  label: string;
@@ -1278,27 +1311,12 @@ export declare const BusinessModelScreenSchema: z.ZodObject<{
1278
1311
  label: string;
1279
1312
  accessibilityLabel: string;
1280
1313
  }>;
1281
- unsupportedBusinessModel: z.ZodObject<{
1282
- title: z.ZodString;
1283
- textBeforeLink: z.ZodString;
1284
- linkText: z.ZodString;
1285
- textAfterLink: z.ZodString;
1286
- linkAccessibilityLabel: z.ZodString;
1287
- supportArticleUrl: z.ZodString;
1314
+ validation: z.ZodObject<{
1315
+ atLeastOneRequired: z.ZodString;
1288
1316
  }, "strip", z.ZodTypeAny, {
1289
- title: string;
1290
- textBeforeLink: string;
1291
- textAfterLink: string;
1292
- linkText: string;
1293
- linkAccessibilityLabel: string;
1294
- supportArticleUrl: string;
1317
+ atLeastOneRequired: string;
1295
1318
  }, {
1296
- title: string;
1297
- textBeforeLink: string;
1298
- textAfterLink: string;
1299
- linkText: string;
1300
- linkAccessibilityLabel: string;
1301
- supportArticleUrl: string;
1319
+ atLeastOneRequired: string;
1302
1320
  }>;
1303
1321
  submitError: z.ZodObject<{
1304
1322
  message: z.ZodString;
@@ -1312,6 +1330,9 @@ export declare const BusinessModelScreenSchema: z.ZodObject<{
1312
1330
  language: string;
1313
1331
  cohort: string;
1314
1332
  type: string;
1333
+ validation: {
1334
+ atLeastOneRequired: string;
1335
+ };
1315
1336
  header: string;
1316
1337
  text: string;
1317
1338
  primaryAction: {
@@ -1362,19 +1383,14 @@ export declare const BusinessModelScreenSchema: z.ZodObject<{
1362
1383
  description: string;
1363
1384
  };
1364
1385
  };
1365
- unsupportedBusinessModel: {
1366
- title: string;
1367
- textBeforeLink: string;
1368
- textAfterLink: string;
1369
- linkText: string;
1370
- linkAccessibilityLabel: string;
1371
- supportArticleUrl: string;
1372
- };
1373
1386
  }, {
1374
1387
  version: string;
1375
1388
  language: string;
1376
1389
  cohort: string;
1377
1390
  type: string;
1391
+ validation: {
1392
+ atLeastOneRequired: string;
1393
+ };
1378
1394
  header: string;
1379
1395
  text: string;
1380
1396
  primaryAction: {
@@ -1425,14 +1441,6 @@ export declare const BusinessModelScreenSchema: z.ZodObject<{
1425
1441
  description: string;
1426
1442
  };
1427
1443
  };
1428
- unsupportedBusinessModel: {
1429
- title: string;
1430
- textBeforeLink: string;
1431
- textAfterLink: string;
1432
- linkText: string;
1433
- linkAccessibilityLabel: string;
1434
- supportArticleUrl: string;
1435
- };
1436
1444
  }>;
1437
1445
  export type BusinessModelScreen = z.infer<typeof BusinessModelScreenSchema>;
1438
1446
  export declare const NotInYourCountryYetScreenSchema: z.ZodObject<{
@@ -1460,6 +1468,13 @@ export declare const NotInYourCountryYetScreenSchema: z.ZodObject<{
1460
1468
  }, {
1461
1469
  label: string;
1462
1470
  }>;
1471
+ validation: z.ZodObject<{
1472
+ countryRequired: z.ZodString;
1473
+ }, "strip", z.ZodTypeAny, {
1474
+ countryRequired: string;
1475
+ }, {
1476
+ countryRequired: string;
1477
+ }>;
1463
1478
  primaryAction: z.ZodObject<{
1464
1479
  label: z.ZodString;
1465
1480
  accessibilityLabel: z.ZodString;
@@ -1475,6 +1490,9 @@ export declare const NotInYourCountryYetScreenSchema: z.ZodObject<{
1475
1490
  language: string;
1476
1491
  cohort: string;
1477
1492
  type: string;
1493
+ validation: {
1494
+ countryRequired: string;
1495
+ };
1478
1496
  header: string;
1479
1497
  text: string;
1480
1498
  primaryAction: {
@@ -1493,6 +1511,9 @@ export declare const NotInYourCountryYetScreenSchema: z.ZodObject<{
1493
1511
  language: string;
1494
1512
  cohort: string;
1495
1513
  type: string;
1514
+ validation: {
1515
+ countryRequired: string;
1516
+ };
1496
1517
  header: string;
1497
1518
  text: string;
1498
1519
  primaryAction: {
@@ -1638,6 +1659,39 @@ export declare const IneligibleCountryScreenSchema: z.ZodObject<{
1638
1659
  };
1639
1660
  }>;
1640
1661
  export type IneligibleCountryScreen = z.infer<typeof IneligibleCountryScreenSchema>;
1662
+ export declare const IneligibleBusinessModelScreenSchema: z.ZodObject<{
1663
+ version: z.ZodString;
1664
+ language: z.ZodString;
1665
+ cohort: z.ZodString;
1666
+ type: z.ZodString;
1667
+ } & {
1668
+ header: z.ZodString;
1669
+ textBeforeLink: z.ZodString;
1670
+ linkText: z.ZodString;
1671
+ linkUrl: z.ZodString;
1672
+ textAfterLink: z.ZodString;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ version: string;
1675
+ language: string;
1676
+ cohort: string;
1677
+ type: string;
1678
+ header: string;
1679
+ textBeforeLink: string;
1680
+ textAfterLink: string;
1681
+ linkText: string;
1682
+ linkUrl: string;
1683
+ }, {
1684
+ version: string;
1685
+ language: string;
1686
+ cohort: string;
1687
+ type: string;
1688
+ header: string;
1689
+ textBeforeLink: string;
1690
+ textAfterLink: string;
1691
+ linkText: string;
1692
+ linkUrl: string;
1693
+ }>;
1694
+ export type IneligibleBusinessModelScreen = z.infer<typeof IneligibleBusinessModelScreenSchema>;
1641
1695
  export declare const BusinessAlreadyOnWayflyerScreenSchema: z.ZodObject<{
1642
1696
  version: z.ZodString;
1643
1697
  language: z.ZodString;
@@ -1736,7 +1790,6 @@ export declare const HandoverToWayflyerScreenSchema: z.ZodObject<{
1736
1790
  reviewFundingOffer: string;
1737
1791
  receiveFunds: string;
1738
1792
  }>;
1739
- footerNote: z.ZodString;
1740
1793
  primaryAction: z.ZodObject<{
1741
1794
  label: z.ZodString;
1742
1795
  accessibilityLabel: z.ZodString;
@@ -1776,7 +1829,6 @@ export declare const HandoverToWayflyerScreenSchema: z.ZodObject<{
1776
1829
  reviewFundingOffer: string;
1777
1830
  receiveFunds: string;
1778
1831
  };
1779
- footerNote: string;
1780
1832
  }, {
1781
1833
  version: string;
1782
1834
  language: string;
@@ -1799,6 +1851,5 @@ export declare const HandoverToWayflyerScreenSchema: z.ZodObject<{
1799
1851
  reviewFundingOffer: string;
1800
1852
  receiveFunds: string;
1801
1853
  };
1802
- footerNote: string;
1803
1854
  }>;
1804
1855
  export type HandoverToWayflyerScreen = z.infer<typeof HandoverToWayflyerScreenSchema>;
@@ -0,0 +1 @@
1
+ export declare const detectBrowserLanguage: (supported: Set<string>) => string;
@@ -2,3 +2,5 @@ export { mustContainPlaceholders } from './validators';
2
2
  export { CohortMap, LanguageMap } from './normalizers';
3
3
  export { filterCopy } from './filterCopy';
4
4
  export { getCopyBundleForPartner, PARTNER_COPY_MAP } from '../copy/partnerCopyMap';
5
+ export { SUPPORTED_LANGUAGES } from './supportedLanguages';
6
+ export { detectBrowserLanguage } from './detectBrowserLanguage';
@@ -0,0 +1 @@
1
+ export declare const SUPPORTED_LANGUAGES: Set<string>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wf-financing/ui-assets",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "zod": "^3.23.8",
22
- "@wf-financing/embedded-types": "1.1.1"
22
+ "@wf-financing/embedded-types": "1.1.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "dotenv": "^17.2.3"