expensify-common 2.0.188 → 2.0.190

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 (78) hide show
  1. package/dist/Logger.js +11 -1
  2. package/dist/esm/API.d.ts +11 -0
  3. package/dist/esm/API.js +786 -0
  4. package/dist/esm/APIDeferred.d.ts +7 -0
  5. package/dist/esm/APIDeferred.js +216 -0
  6. package/dist/esm/BrowserDetect.d.ts +19 -0
  7. package/dist/esm/BrowserDetect.js +105 -0
  8. package/dist/esm/CLI.js +37 -29
  9. package/dist/esm/CONST.d.ts +1727 -0
  10. package/dist/esm/CONST.js +1847 -0
  11. package/dist/esm/Cookie.d.ts +68 -0
  12. package/dist/esm/Cookie.js +159 -0
  13. package/dist/esm/CredentialsWrapper.d.ts +32 -0
  14. package/dist/esm/CredentialsWrapper.js +46 -0
  15. package/dist/esm/Device.d.ts +8 -0
  16. package/dist/esm/Device.js +24 -0
  17. package/dist/esm/ExpenseRule.d.ts +39 -0
  18. package/dist/esm/ExpenseRule.js +77 -0
  19. package/dist/esm/ExpensiMark.d.ts +197 -0
  20. package/dist/esm/ExpensiMark.js +1374 -0
  21. package/dist/esm/Func.d.ts +40 -0
  22. package/dist/esm/Func.js +69 -0
  23. package/dist/esm/Log.d.ts +3 -0
  24. package/dist/esm/Log.js +35 -0
  25. package/dist/esm/Logger.d.ts +82 -0
  26. package/dist/esm/Logger.js +148 -0
  27. package/dist/esm/Network.d.ts +6 -0
  28. package/dist/esm/Network.js +168 -0
  29. package/dist/esm/Num.d.ts +95 -0
  30. package/dist/esm/Num.js +190 -0
  31. package/dist/esm/PageEvent.d.ts +25 -0
  32. package/dist/esm/PageEvent.js +22 -0
  33. package/dist/esm/PubSub.d.ts +2 -0
  34. package/dist/esm/PubSub.js +111 -0
  35. package/dist/esm/ReportHistoryStore.d.ts +8 -0
  36. package/dist/esm/ReportHistoryStore.js +199 -0
  37. package/dist/esm/SafeString.js +2 -2
  38. package/dist/esm/Templates.d.ts +58 -0
  39. package/dist/esm/Templates.js +196 -0
  40. package/dist/esm/Url.d.ts +10 -0
  41. package/dist/esm/Url.js +15 -0
  42. package/dist/esm/components/CopyText.d.ts +45 -0
  43. package/dist/esm/components/CopyText.js +56 -0
  44. package/dist/esm/components/StepProgressBar.d.ts +26 -0
  45. package/dist/esm/components/StepProgressBar.js +40 -0
  46. package/dist/esm/components/form/element/combobox.d.ts +231 -0
  47. package/dist/esm/components/form/element/combobox.js +812 -0
  48. package/dist/esm/components/form/element/dropdown.d.ts +35 -0
  49. package/dist/esm/components/form/element/dropdown.js +61 -0
  50. package/dist/esm/components/form/element/dropdownItem.d.ts +55 -0
  51. package/dist/esm/components/form/element/dropdownItem.js +113 -0
  52. package/dist/esm/components/form/element/onOffSwitch.d.ts +94 -0
  53. package/dist/esm/components/form/element/onOffSwitch.js +167 -0
  54. package/dist/esm/components/form/element/switch.d.ts +58 -0
  55. package/dist/esm/components/form/element/switch.js +98 -0
  56. package/dist/esm/fastMerge.d.ts +9 -0
  57. package/dist/esm/fastMerge.js +58 -0
  58. package/dist/esm/index.d.ts +22 -0
  59. package/dist/esm/index.js +22 -0
  60. package/dist/esm/jquery.expensifyIframify.d.ts +9 -0
  61. package/dist/esm/jquery.expensifyIframify.js +397 -0
  62. package/dist/esm/md5.d.ts +2 -0
  63. package/dist/esm/md5.js +170 -0
  64. package/dist/esm/mixins/PubSub.d.ts +20 -0
  65. package/dist/esm/mixins/PubSub.js +47 -0
  66. package/dist/esm/mixins/extraClasses.d.ts +8 -0
  67. package/dist/esm/mixins/extraClasses.js +37 -0
  68. package/dist/esm/mixins/validationClasses.d.ts +12 -0
  69. package/dist/esm/mixins/validationClasses.js +30 -0
  70. package/dist/esm/str.d.ts +604 -0
  71. package/dist/esm/str.js +1036 -0
  72. package/dist/esm/tlds.d.ts +2 -0
  73. package/dist/esm/tlds.js +2 -0
  74. package/dist/esm/utils.d.ts +30 -0
  75. package/dist/esm/utils.js +65 -0
  76. package/dist/index.d.ts +1 -0
  77. package/dist/index.js +8 -1
  78. package/package.json +221 -4
@@ -0,0 +1,1727 @@
1
+ /**
2
+ * URL of our CloudFront Instance
3
+ */
4
+ declare const g_cloudFront = "https://d2k5nsl2zxldvw.cloudfront.net";
5
+ /**
6
+ * URL of our image CDN
7
+ */
8
+ declare const g_cloudFrontImg = "https://d2k5nsl2zxldvw.cloudfront.net/images/";
9
+ declare const CONST: {
10
+ readonly CORPAY_DIRECT_REIMBURSEMENT_CURRENCIES: readonly ["USD", "GBP", "EUR", "AUD", "CAD", "SGD"];
11
+ /**
12
+ * Default max ACH limit. It can be overwritten by a private NVP
13
+ *
14
+ * @type {Number}
15
+ */
16
+ readonly ACH_DEFAULT_MAX_AMOUNT_LIMIT: 2000000;
17
+ /**
18
+ * This is set in main.html and is derived from a PHP template variable
19
+ * @type {String}
20
+ */
21
+ readonly URL_TO_SECURE_WEBSITE: "";
22
+ /**
23
+ * IRS remimbursement rate for mileage
24
+ * WARNING ! UPDATE THE PHP CONSTANT VERSION WHEN UPDATING THIS ONE
25
+ *
26
+ * @type Number
27
+ */
28
+ readonly MILEAGE_IRS_RATE: 0.545 | 0.58;
29
+ /**
30
+ * Display this amount to users to encourage them to book a call
31
+ *
32
+ * @type Number
33
+ */
34
+ readonly MAX_TRIAL_BONUS_DAYS: 42;
35
+ readonly COUNTRY: {
36
+ readonly US: "US";
37
+ readonly MX: "MX";
38
+ readonly AU: "AU";
39
+ readonly CA: "CA";
40
+ readonly UK: "UK";
41
+ readonly NZ: "NZ";
42
+ };
43
+ readonly CURRENCIES: {
44
+ readonly US: "USD";
45
+ readonly AU: "AUD";
46
+ readonly UK: "GBP";
47
+ readonly NZ: "NZD";
48
+ readonly EU: "EUR";
49
+ readonly GB: "GBP";
50
+ };
51
+ readonly STATES: {
52
+ readonly AK: {
53
+ readonly stateISO: "AK";
54
+ readonly stateName: "Alaska";
55
+ };
56
+ readonly AL: {
57
+ readonly stateISO: "AL";
58
+ readonly stateName: "Alabama";
59
+ };
60
+ readonly AR: {
61
+ readonly stateISO: "AR";
62
+ readonly stateName: "Arkansas";
63
+ };
64
+ readonly AZ: {
65
+ readonly stateISO: "AZ";
66
+ readonly stateName: "Arizona";
67
+ };
68
+ readonly CA: {
69
+ readonly stateISO: "CA";
70
+ readonly stateName: "California";
71
+ };
72
+ readonly CO: {
73
+ readonly stateISO: "CO";
74
+ readonly stateName: "Colorado";
75
+ };
76
+ readonly CT: {
77
+ readonly stateISO: "CT";
78
+ readonly stateName: "Connecticut";
79
+ };
80
+ readonly DE: {
81
+ readonly stateISO: "DE";
82
+ readonly stateName: "Delaware";
83
+ };
84
+ readonly FL: {
85
+ readonly stateISO: "FL";
86
+ readonly stateName: "Florida";
87
+ };
88
+ readonly GA: {
89
+ readonly stateISO: "GA";
90
+ readonly stateName: "Georgia";
91
+ };
92
+ readonly HI: {
93
+ readonly stateISO: "HI";
94
+ readonly stateName: "Hawaii";
95
+ };
96
+ readonly IA: {
97
+ readonly stateISO: "IA";
98
+ readonly stateName: "Iowa";
99
+ };
100
+ readonly ID: {
101
+ readonly stateISO: "ID";
102
+ readonly stateName: "Idaho";
103
+ };
104
+ readonly IL: {
105
+ readonly stateISO: "IL";
106
+ readonly stateName: "Illinois";
107
+ };
108
+ readonly IN: {
109
+ readonly stateISO: "IN";
110
+ readonly stateName: "Indiana";
111
+ };
112
+ readonly KS: {
113
+ readonly stateISO: "KS";
114
+ readonly stateName: "Kansas";
115
+ };
116
+ readonly KY: {
117
+ readonly stateISO: "KY";
118
+ readonly stateName: "Kentucky";
119
+ };
120
+ readonly LA: {
121
+ readonly stateISO: "LA";
122
+ readonly stateName: "Louisiana";
123
+ };
124
+ readonly MA: {
125
+ readonly stateISO: "MA";
126
+ readonly stateName: "Massachusetts";
127
+ };
128
+ readonly MD: {
129
+ readonly stateISO: "MD";
130
+ readonly stateName: "Maryland";
131
+ };
132
+ readonly ME: {
133
+ readonly stateISO: "ME";
134
+ readonly stateName: "Maine";
135
+ };
136
+ readonly MI: {
137
+ readonly stateISO: "MI";
138
+ readonly stateName: "Michigan";
139
+ };
140
+ readonly MN: {
141
+ readonly stateISO: "MN";
142
+ readonly stateName: "Minnesota";
143
+ };
144
+ readonly MO: {
145
+ readonly stateISO: "MO";
146
+ readonly stateName: "Missouri";
147
+ };
148
+ readonly MS: {
149
+ readonly stateISO: "MS";
150
+ readonly stateName: "Mississippi";
151
+ };
152
+ readonly MT: {
153
+ readonly stateISO: "MT";
154
+ readonly stateName: "Montana";
155
+ };
156
+ readonly NC: {
157
+ readonly stateISO: "NC";
158
+ readonly stateName: "North Carolina";
159
+ };
160
+ readonly ND: {
161
+ readonly stateISO: "ND";
162
+ readonly stateName: "North Dakota";
163
+ };
164
+ readonly NE: {
165
+ readonly stateISO: "NE";
166
+ readonly stateName: "Nebraska";
167
+ };
168
+ readonly NH: {
169
+ readonly stateISO: "NH";
170
+ readonly stateName: "New Hampshire";
171
+ };
172
+ readonly NJ: {
173
+ readonly stateISO: "NJ";
174
+ readonly stateName: "New Jersey";
175
+ };
176
+ readonly NM: {
177
+ readonly stateISO: "NM";
178
+ readonly stateName: "New Mexico";
179
+ };
180
+ readonly NV: {
181
+ readonly stateISO: "NV";
182
+ readonly stateName: "Nevada";
183
+ };
184
+ readonly NY: {
185
+ readonly stateISO: "NY";
186
+ readonly stateName: "New York";
187
+ };
188
+ readonly OH: {
189
+ readonly stateISO: "OH";
190
+ readonly stateName: "Ohio";
191
+ };
192
+ readonly OK: {
193
+ readonly stateISO: "OK";
194
+ readonly stateName: "Oklahoma";
195
+ };
196
+ readonly OR: {
197
+ readonly stateISO: "OR";
198
+ readonly stateName: "Oregon";
199
+ };
200
+ readonly PA: {
201
+ readonly stateISO: "PA";
202
+ readonly stateName: "Pennsylvania";
203
+ };
204
+ readonly PR: {
205
+ readonly stateISO: "PR";
206
+ readonly stateName: "Puerto Rico";
207
+ };
208
+ readonly RI: {
209
+ readonly stateISO: "RI";
210
+ readonly stateName: "Rhode Island";
211
+ };
212
+ readonly SC: {
213
+ readonly stateISO: "SC";
214
+ readonly stateName: "South Carolina";
215
+ };
216
+ readonly SD: {
217
+ readonly stateISO: "SD";
218
+ readonly stateName: "South Dakota";
219
+ };
220
+ readonly TN: {
221
+ readonly stateISO: "TN";
222
+ readonly stateName: "Tennessee";
223
+ };
224
+ readonly TX: {
225
+ readonly stateISO: "TX";
226
+ readonly stateName: "Texas";
227
+ };
228
+ readonly UT: {
229
+ readonly stateISO: "UT";
230
+ readonly stateName: "Utah";
231
+ };
232
+ readonly VA: {
233
+ readonly stateISO: "VA";
234
+ readonly stateName: "Virginia";
235
+ };
236
+ readonly VT: {
237
+ readonly stateISO: "VT";
238
+ readonly stateName: "Vermont";
239
+ };
240
+ readonly WA: {
241
+ readonly stateISO: "WA";
242
+ readonly stateName: "Washington";
243
+ };
244
+ readonly WI: {
245
+ readonly stateISO: "WI";
246
+ readonly stateName: "Wisconsin";
247
+ };
248
+ readonly WV: {
249
+ readonly stateISO: "WV";
250
+ readonly stateName: "West Virginia";
251
+ };
252
+ readonly WY: {
253
+ readonly stateISO: "WY";
254
+ readonly stateName: "Wyoming";
255
+ };
256
+ readonly DC: {
257
+ readonly stateISO: "DC";
258
+ readonly stateName: "District Of Columbia";
259
+ };
260
+ };
261
+ /** Canadian provinces */
262
+ readonly PROVINCES: {
263
+ readonly AB: {
264
+ readonly provinceISO: "AB";
265
+ readonly provinceName: "Alberta";
266
+ };
267
+ readonly BC: {
268
+ readonly provinceISO: "BC";
269
+ readonly provinceName: "British Columbia";
270
+ };
271
+ readonly MB: {
272
+ readonly provinceISO: "MB";
273
+ readonly provinceName: "Manitoba";
274
+ };
275
+ readonly NB: {
276
+ readonly provinceISO: "NB";
277
+ readonly provinceName: "New Brunswick";
278
+ };
279
+ readonly NL: {
280
+ readonly provinceISO: "NL";
281
+ readonly provinceName: "Newfoundland and Labrador";
282
+ };
283
+ readonly NS: {
284
+ readonly provinceISO: "NS";
285
+ readonly provinceName: "Nova Scotia";
286
+ };
287
+ readonly NT: {
288
+ readonly provinceISO: "NT";
289
+ readonly provinceName: "Northwest Territories";
290
+ };
291
+ readonly NU: {
292
+ readonly provinceISO: "NU";
293
+ readonly provinceName: "Nunavut";
294
+ };
295
+ readonly ON: {
296
+ readonly provinceISO: "ON";
297
+ readonly provinceName: "Ontario";
298
+ };
299
+ readonly PE: {
300
+ readonly provinceISO: "PE";
301
+ readonly provinceName: "Prince Edward Island";
302
+ };
303
+ readonly QC: {
304
+ readonly provinceISO: "QC";
305
+ readonly provinceName: "Quebec";
306
+ };
307
+ readonly SK: {
308
+ readonly provinceISO: "SK";
309
+ readonly provinceName: "Saskatchewan";
310
+ };
311
+ readonly YT: {
312
+ readonly provinceISO: "YT";
313
+ readonly provinceName: "Yukon";
314
+ };
315
+ };
316
+ /**
317
+ * Special characters that need to be removed when they are ending an url
318
+ *
319
+ * @type String
320
+ */
321
+ readonly SPECIAL_CHARS_TO_REMOVE: "$*.+!(,=";
322
+ /**
323
+ * Store all the regular expression we are using for matching stuff
324
+ */
325
+ readonly REG_EXP: {
326
+ /**
327
+ * Regular expression to check that a domain is valid
328
+ *
329
+ * @type RegExp
330
+ */
331
+ readonly DOMAIN: RegExp;
332
+ /**
333
+ * Regex matching an text containing an email
334
+ *
335
+ * @type String
336
+ */
337
+ readonly EMAIL_PART: "(?=((?=[\\w'#%+-]+(?:\\.[\\w'#%+-]+)*@)[\\w\\.'#%+-]{1,64}@(?:(?=[a-z\\d]+(?:-+[a-z\\d]+)*\\.)(?:[a-z\\d-]{1,63}\\.)+[a-z]{2,63})(?= |_|\\b))(?<end>.*))\\S{3,254}(?=\\k<end>$)";
338
+ /**
339
+ * Regex matching a text containing general phone number
340
+ *
341
+ * @type RegExp
342
+ */
343
+ readonly GENERAL_PHONE_PART: RegExp;
344
+ /**
345
+ * Regex matching a text containing an E.164 format phone number
346
+ */
347
+ readonly PHONE_PART: "\\+[1-9]\\d{1,14}";
348
+ /**
349
+ * Regular expression to check that a basic name is valid
350
+ *
351
+ * @type RegExp
352
+ */
353
+ readonly FREE_NAME: RegExp;
354
+ /**
355
+ * Regular expression to check that a card is masked
356
+ *
357
+ * @type RegExp
358
+ */
359
+ readonly MASKED_CARD: RegExp;
360
+ /**
361
+ * Regular expression to check that an email is valid
362
+ *
363
+ * @type RegExp
364
+ */
365
+ readonly EMAIL: RegExp;
366
+ /**
367
+ * Regular expression to extract an email from a text
368
+ *
369
+ * @type RegExp
370
+ */
371
+ readonly EXTRACT_EMAIL: RegExp;
372
+ /**
373
+ * Regular expression to search for valid email addresses in a string
374
+ *
375
+ * @type RegExp
376
+ */
377
+ readonly EMAIL_SEARCH: RegExp;
378
+ /**
379
+ * Regular expression to detect if something is a hyperlink
380
+ *
381
+ * Adapted from: https://gist.github.com/dperini/729294
382
+ *
383
+ * @type RegExp
384
+ */
385
+ readonly HYPERLINK: RegExp;
386
+ /**
387
+ * Regex to match valid emails during markdown transformations
388
+ *
389
+ * @type String
390
+ */
391
+ readonly MARKDOWN_EMAIL: "(?=((?=[\\w'#%+-]+(?:\\.[\\w'#%+-]+)*@)[\\w\\.'#%+-]{1,64}@(?:(?=[a-z\\d]+(?:-+[a-z\\d]+)*\\.)(?:[a-z\\d-]{1,63}\\.)+[a-z]{2,63})(?= |_|\\b))(?<end>.*))\\S{3,254}(?=\\k<end>$)";
392
+ /**
393
+ * Regex matching an text containing an Emoji that can be a single emoji or made up by some different emojis
394
+ *
395
+ * @type RegExp
396
+ */
397
+ readonly EMOJI_RULE: RegExp;
398
+ /**
399
+ * Regex to match a piece of text or @here, needed for both shortMention and userMention
400
+ */
401
+ readonly PRE_MENTION_TEXT_PART: "(@here|[a-zA-Z0-9.!$%&+=?^\\`{|}-]?)";
402
+ };
403
+ readonly REPORT: {
404
+ /**
405
+ * Limit when we decided to turn off print to pdf and use only the native feature
406
+ */
407
+ readonly LIMIT_PRINT_PDF: 250;
408
+ readonly ACH_LIMIT: 2000000;
409
+ readonly ACH_DEFAULT_DAYS: 4;
410
+ /**
411
+ * This is the string that a user can enter in a formula to refer to the report title field
412
+ *
413
+ * @type {String}
414
+ */
415
+ readonly TITLE_FORMULA: "{report:title}";
416
+ /**
417
+ * The max time a comment can be made after another to be considered the same comment, in seconds
418
+ */
419
+ readonly MAX_AGE_SAME_COMMENT: 300;
420
+ readonly SMARTREPORT_AGENT_EMAIL: "smartreports@expensify.com";
421
+ /**
422
+ * Email to submit smart reports to (alias for consistency)
423
+ */
424
+ readonly SMART_REPORT_AGENT_EMAIL: "smartreports@expensify.com";
425
+ };
426
+ /**
427
+ * Root URLs
428
+ */
429
+ readonly URL: {
430
+ readonly FORUM_ROOT: "https://community.expensify.com/";
431
+ readonly RECEIPTS: {
432
+ readonly DEVELOPMENT: "https://www.expensify.com.dev/receipts/";
433
+ readonly STAGING: "https://staging.expensify.com/receipts/";
434
+ readonly PRODUCTION: "https://www.expensify.com/receipts/";
435
+ };
436
+ readonly CLOUDFRONT: "https://d2k5nsl2zxldvw.cloudfront.net";
437
+ readonly CLOUDFRONT_IMG: "https://d2k5nsl2zxldvw.cloudfront.net/images/";
438
+ readonly CLOUDFRONT_FILES: "https://d2k5nsl2zxldvw.cloudfront.net/files/";
439
+ readonly EXPENSIFY_SYNC_MANAGER: "quickbooksdesktop/Expensify_QuickBooksDesktop_Setup_2300802.exe";
440
+ readonly USEDOT_ROOT: "https://use.expensify.com/";
441
+ readonly HELPDOT_ROOT: "https://help.expensify.com/";
442
+ readonly ITUNES_SUBSCRIPTION: "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions";
443
+ };
444
+ readonly DATE: {
445
+ readonly FORMAT_STRING: "yyyy-MM-dd";
446
+ readonly FORMAT_STRING_PRETTY: "MMM d, yyyy";
447
+ /**
448
+ * Expensify date format string for moment js
449
+ * usage: moment().format( CONST.DATE.MOMENT_FORMAT_STRING )
450
+ */
451
+ readonly MOMENT_FORMAT_STRING: "YYYY-MM-DD";
452
+ /**
453
+ * This is a typical format of the date plus the time
454
+ *
455
+ * @type {String}
456
+ */
457
+ readonly MOMENT_DATE_TIME: "YYYY-MM-DD HH:mm";
458
+ /**
459
+ * Pretty format used for report history items
460
+ *
461
+ * @example Jun 19, 2019 12:38 PM
462
+ *
463
+ * @type {String}
464
+ */
465
+ readonly MOMENT_DATE_TIME_PRETTY: "MMM DD YYYY h:mma";
466
+ /**
467
+ * Date-time format, including timezone information, eg "2015-10-14T19:44:35+07:00"
468
+ *
469
+ * @type {String}
470
+ */
471
+ readonly MOMENT_DATE_TIME_TIMEZONE: "YYYY-MM-DDTHH:mm:ssZ";
472
+ /**
473
+ * Moment formatting option for a date of this format "Jul 2, 2014"
474
+ *
475
+ * @type {string}
476
+ */
477
+ readonly MOMENT_US_DATE: "MMM D, YYYY";
478
+ /**
479
+ * Moment formatting option for a date of this format "July 2, 2014"
480
+ * ie, full month name
481
+ *
482
+ * @type {string}
483
+ */
484
+ readonly MOMENT_US_DATE_LONG: "MMMM D, YYYY";
485
+ /**
486
+ * Moment formatting option for full month name and year as in "July 2015"
487
+ *
488
+ * @type {string}
489
+ */
490
+ readonly MOMENT_US_MONTH_YEAR_LONG: "MMMM YYYY";
491
+ /**
492
+ * Difference between the local time and UTC time in ms
493
+ */
494
+ readonly TIMEZONE_OFFSET_MS: number;
495
+ readonly SHORT_MONTH_SHORT_DAY: "MMM d";
496
+ readonly LONG_YEAR_MONTH_DAY_24_TIME: "yyyy-MM-dd HH:mm:ss";
497
+ readonly SHORT_MONTH_DAY_LOCAL_TIME: "MMM D [at] LT";
498
+ readonly SHORT_MONTH_DAY_YEAR_LOCAL_TIME: "MMM D, YYYY [at] LT";
499
+ };
500
+ /**
501
+ * Message used by the Func.die() exception
502
+ *
503
+ * @type String
504
+ */
505
+ readonly FUNC_DIE_MESSAGE: "Aborting JavaScript execution";
506
+ /**
507
+ * Default for how long the email delivery failure NVP should be valid (in seconds)
508
+ * Currently 14 days (14 * 24 * 60 * 60)
509
+ *
510
+ * WARNING ! UPDATE THE PHP CONSTANT VERSION WHEN UPDATING THIS ONE
511
+ *
512
+ * @type Integer
513
+ */
514
+ readonly EMAIL_DELIVERY_FAILURE_VALIDITY: 1209600;
515
+ /**
516
+ * Bill Processing-related constants
517
+ */
518
+ readonly BILL_PROCESSING_PARTNER_NAME: "expensify.cash";
519
+ readonly BILL_PROCESSING_EMAIL_DOMAIN: "expensify.cash";
520
+ /**
521
+ * Bank Import Logic Constants
522
+ */
523
+ readonly BANK_IMPORT: {
524
+ readonly BANK_STATUS_BROKEN: 2;
525
+ };
526
+ /**
527
+ * Bank Account Logic Constants
528
+ */
529
+ readonly BANK_ACCOUNT: {
530
+ readonly VERIFICATION_MAX_ATTEMPTS: 7;
531
+ };
532
+ readonly BANK_IMPORT_DAY_LIMITS: {
533
+ readonly 'americanexpress.com': 30;
534
+ readonly 'oauth.bankofamerica.com': 30;
535
+ readonly 'oauth.capitalone.com': 90;
536
+ readonly 'oauth.chase.com': 90;
537
+ readonly 'discover.com': 30;
538
+ readonly 'admin.pexcard.com': 30;
539
+ readonly svbdirect: 75;
540
+ readonly 'oauth.wellsfargo.com': 30;
541
+ };
542
+ readonly DEFAULT_BANK_IMPORT_DAYS: 90;
543
+ readonly PERSONAL_CARD_START_DATE_TOOLTIP: "Expensify will automatically import the earliest available transactions from this card. If a start date is selected, transactions with a posted date prior to this will not be included.";
544
+ /**
545
+ * Emails that the user shouldn't be interacting with from the front-end interface
546
+ * Trying to add these emails as a delegate, onto a policy, or as an approver is considered invalid
547
+ * Any changes here should be reflected in the PHP constant in web-expensify,
548
+ * which is located in _constant.php and also named EXPENSIFY_EMAILS.
549
+ * And should also be reflected in the constant in expensify/app,
550
+ * which is located in src/CONST.js and also named EXPENSIFY_EMAILS.
551
+ */
552
+ readonly EXPENSIFY_EMAILS: readonly ["concierge@expensify.com", "help@expensify.com", "receipts@expensify.com", "chronos@expensify.com", "qa@expensify.com", "contributors@expensify.com", "firstresponders@expensify.com", "qa+travisreceipts@expensify.com", "bills@expensify.com", "studentambassadors@expensify.com", "accounting@expensify.com", "payroll@expensify.com", "svfg@expensify.com", "integrationtestingcreds@expensify.com", "admin@expensify.com", "notifications@expensify.com"];
553
+ /**
554
+ * Emails that the user shouldn't submit reports to nor share reports with
555
+ * Any changes here should be reflected in the PHP constant,
556
+ * which is located in _constant.php and also named INVALID_APPROVER_AND_SHAREE_EMAILS
557
+ */
558
+ readonly INVALID_APPROVER_AND_SHAREE_EMAILS: readonly ["concierge@expensify.com", "help@expensify.com", "receipts@expensify.com", "chronos@expensify.com", "qa@expensify.com", "contributors@expensify.com", "firstresponders@expensify.com", "qa+travisreceipts@expensify.com", "bills@expensify.com", "admin@expensify.com", "notifications@expensify.com"];
559
+ /**
560
+ * Smart scan-related constants
561
+ */
562
+ readonly SMART_SCAN: {
563
+ readonly COST: 20;
564
+ readonly FREE_NUMBER: 25;
565
+ };
566
+ readonly SMS: {
567
+ readonly DOMAIN: "expensify.sms";
568
+ readonly E164_REGEX: RegExp;
569
+ };
570
+ readonly PASSWORD_COMPLEXITY_REGEX_STRING: "^(?=.*[A-Z])(?=.*[0-9])(?=.*[a-z]).{8,}$";
571
+ readonly INTEGRATIONS: {
572
+ readonly ACCOUNTING_METHOD: {
573
+ readonly CASH: "CASH";
574
+ readonly ACCRUAL: "ACCRUAL";
575
+ };
576
+ /**
577
+ * Constants that specify how to map (import) Integrations data to Expensify
578
+ * Parallel to IntegrationEntityMappingTypeEnum in the IS
579
+ */
580
+ readonly DATA_MAPPING: {
581
+ readonly NONE: "NONE";
582
+ readonly TAG: "TAG";
583
+ readonly REPORT_FIELD: "REPORT_FIELD";
584
+ readonly DEFAULT: "DEFAULT";
585
+ };
586
+ readonly EXPORT_DATE: {
587
+ readonly LAST_EXPENSE: "LAST_EXPENSE";
588
+ readonly REPORT_EXPORTED: "REPORT_EXPORTED";
589
+ readonly REPORT_SUBMITTED: "REPORT_SUBMITTED";
590
+ };
591
+ readonly XERO_HQ_CONNECTION_NAME: "xerohq";
592
+ readonly EXPENSIFY_SYNC_MANAGER_VERSION: "23.0.802.0";
593
+ };
594
+ readonly INTEGRATION_TYPES: {
595
+ readonly ACCOUNTING: "accounting";
596
+ readonly HR: "hr";
597
+ };
598
+ readonly DIRECT_INTEGRATIONS: {
599
+ readonly zenefits: {
600
+ readonly value: "zenefits";
601
+ readonly text: "Zenefits";
602
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/zenefit.svg";
603
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/zenefit_gray.svg";
604
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/zenefit_alert.svg";
605
+ readonly types: readonly ["hr"];
606
+ readonly isCorporateOnly: false;
607
+ };
608
+ readonly gusto: {
609
+ readonly value: "gusto";
610
+ readonly text: "Gusto";
611
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/gusto.svg";
612
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/gusto_gray.svg";
613
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/gusto_alert.svg";
614
+ readonly types: readonly ["hr"];
615
+ readonly isCorporateOnly: false;
616
+ };
617
+ readonly quickbooksOnline: {
618
+ readonly value: "quickbooksOnline";
619
+ readonly text: "QuickBooks Online";
620
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/quickbooks.svg";
621
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/quickbooks_gray.svg";
622
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/quickbooks_alert.svg";
623
+ readonly types: readonly ["hr", "accounting"];
624
+ readonly isCorporateOnly: false;
625
+ };
626
+ readonly xero: {
627
+ readonly value: "xero";
628
+ readonly text: "Xero";
629
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/xero.svg";
630
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/xero_gray.svg";
631
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/xero_alert.svg";
632
+ readonly types: readonly ["accounting"];
633
+ readonly isCorporateOnly: false;
634
+ };
635
+ readonly netsuite: {
636
+ readonly value: "netsuite";
637
+ readonly text: "NetSuite";
638
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/netsuite.svg";
639
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/netsuite_gray.svg";
640
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/netsuite_alert.svg";
641
+ readonly types: readonly ["hr", "accounting"];
642
+ readonly isCorporateOnly: true;
643
+ };
644
+ readonly quickbooksDesktop: {
645
+ readonly value: "qbd";
646
+ readonly text: "QuickBooks Desktop";
647
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/quickbooks.svg";
648
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/quickbooks_gray.svg";
649
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/quickbooks_alert.svg";
650
+ readonly types: readonly ["accounting"];
651
+ readonly isCorporateOnly: false;
652
+ };
653
+ readonly intacct: {
654
+ readonly value: "intacct";
655
+ readonly text: "Sage Intacct";
656
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/sage.svg";
657
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/sage_gray.svg";
658
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/sage_alert.svg";
659
+ readonly types: readonly ["hr", "accounting"];
660
+ readonly isCorporateOnly: true;
661
+ };
662
+ readonly financialforce: {
663
+ readonly value: "financialforce";
664
+ readonly text: "Certinia";
665
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/certinia.svg";
666
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/certinia_gray.svg";
667
+ readonly alert_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/certinia_alert.svg";
668
+ readonly types: readonly ["accounting"];
669
+ readonly isCorporateOnly: true;
670
+ };
671
+ };
672
+ readonly INDIRECT_INTEGRATIONS: {
673
+ readonly microsoft_dynamics: {
674
+ readonly value: "microsoft_dynamics";
675
+ readonly text: "Microsoft Dynamics";
676
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/microsoft_dynamics.svg";
677
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/microsoft_dynamics_gray.svg";
678
+ readonly types: readonly ["accounting"];
679
+ readonly isCorporateOnly: true;
680
+ };
681
+ readonly oracle: {
682
+ readonly value: "oracle";
683
+ readonly text: "Oracle";
684
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/oracle.svg";
685
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/oracle_gray.svg";
686
+ readonly types: readonly ["hr", "accounting"];
687
+ readonly isCorporateOnly: true;
688
+ };
689
+ readonly sage: {
690
+ readonly value: "sage";
691
+ readonly text: "Sage";
692
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/sage.svg";
693
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/sage_gray.svg";
694
+ readonly types: readonly ["accounting"];
695
+ readonly isCorporateOnly: true;
696
+ };
697
+ readonly sap: {
698
+ readonly value: "sap";
699
+ readonly text: "SAP";
700
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/sap.svg";
701
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/sap_gray.svg";
702
+ readonly types: readonly ["accounting"];
703
+ readonly isCorporateOnly: true;
704
+ };
705
+ readonly myob: {
706
+ readonly value: "myob";
707
+ readonly text: "MYOB";
708
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/myob.svg";
709
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/myob_gray.svg";
710
+ readonly types: readonly ["accounting"];
711
+ readonly isCorporateOnly: true;
712
+ };
713
+ readonly workday: {
714
+ readonly value: "workday";
715
+ readonly text: "Workday";
716
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/workday.svg";
717
+ readonly gray_image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/workday_gray.svg";
718
+ readonly types: readonly ["hr"];
719
+ readonly isCorporateOnly: true;
720
+ };
721
+ readonly adp: {
722
+ readonly value: "adp";
723
+ readonly text: "ADP";
724
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/export-icons/adp.svg";
725
+ readonly types: readonly ["hr"];
726
+ readonly isCorporateOnly: true;
727
+ };
728
+ readonly generic_indirect_connection: {
729
+ readonly value: "generic_indirect_connection";
730
+ readonly text: "Other";
731
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
732
+ readonly types: readonly ["hr", "accounting"];
733
+ };
734
+ };
735
+ readonly DEFAULT_IS_TEMPLATES: {
736
+ readonly default: {
737
+ readonly value: "default_template";
738
+ readonly text: "Basic Export";
739
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
740
+ };
741
+ readonly tag: {
742
+ readonly value: "tag_template";
743
+ readonly text: "Tag Export";
744
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
745
+ };
746
+ readonly category: {
747
+ readonly value: "category_template";
748
+ readonly text: "Category Export";
749
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
750
+ };
751
+ readonly detailed: {
752
+ readonly value: "detailed_export";
753
+ readonly text: "All Data - Expense Level Export";
754
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
755
+ };
756
+ readonly report: {
757
+ readonly value: "report_level_export";
758
+ readonly text: "All Data - Report Level Export";
759
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
760
+ };
761
+ readonly tax: {
762
+ readonly value: "multiple_tax_export";
763
+ readonly text: "Canadian Multiple Tax Export";
764
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
765
+ };
766
+ readonly perdiem: {
767
+ readonly value: "per_diem_export";
768
+ readonly text: "Per Diem Export";
769
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
770
+ };
771
+ readonly attendees: {
772
+ readonly value: "attendee_audit_export";
773
+ readonly text: "Attendee Audit Export";
774
+ readonly image: "https://d2k5nsl2zxldvw.cloudfront.net/images/icons/accounting-other--blue.svg";
775
+ };
776
+ };
777
+ readonly NVP: {
778
+ readonly DISMISSED_VIOLATIONS: "dismissedViolations";
779
+ };
780
+ readonly FILESIZE: {
781
+ readonly BYTES_IN_MEGABYTE: 1000000;
782
+ readonly MAX: 10000000;
783
+ };
784
+ readonly PARTNER_NAMES: {
785
+ readonly IPHONE: "iphone";
786
+ readonly ANDROID: "android";
787
+ readonly CHAT: "chat-expensify-com";
788
+ };
789
+ readonly LOGIN_TYPES: {
790
+ readonly WEB: "login";
791
+ readonly MOBILE: "device";
792
+ };
793
+ readonly VALIDATE_CODE_REASONS: {
794
+ readonly SIGN_IN: "sign_in";
795
+ readonly ADD_CONTACT_METHOD: "add_contact_method";
796
+ readonly VALIDATE_ACCOUNT: "validate_account";
797
+ readonly REVEAL_CARD_DETAILS: "reveal_card_details";
798
+ };
799
+ readonly EXPENSIFY_CARD: {
800
+ readonly FEED_NAME: "Expensify Card";
801
+ readonly FRAUD_STATES: {
802
+ readonly NONE: 0;
803
+ readonly DOMAIN_CARDS_REIMBURSEMENTS_INVESTIGATION: 1;
804
+ readonly DOMAIN_CARDS_RAPID_INCREASE_INVESTIGATION: 2;
805
+ readonly DOMAIN_CARDS_RAPID_INCREASE_CLEARED: 3;
806
+ readonly DOMAIN_CARDS_RAPID_INCREASE_CONFIRMED: 4;
807
+ readonly INDIVIDUAL_CARD_RAPID_INCREASE_INVESTIGATION: 5;
808
+ readonly INDIVIDUAL_CARD_RAPID_INCREASE_CLEARED: 6;
809
+ readonly INDIVIDUAL_CARD_RAPID_INCREASE_CONFIRMED: 7;
810
+ readonly SUSPICIOUS_PAN_ENTRY: 8;
811
+ readonly SUSPICIOUS_PAN_ENTRY_CLEARED: 9;
812
+ readonly SUSPICIOUS_PAN_ENTRY_CONFIRMED: 10;
813
+ readonly SUSPICIOUS_TRANSACTIONS_DETECTED: 11;
814
+ readonly SUSPICIOUS_TRANSACTIONS_DETECTED_CLEARED: 12;
815
+ readonly SUSPICIOUS_TRANSACTIONS_DETECTED_CONFIRMED: 13;
816
+ };
817
+ };
818
+ readonly TRAVEL_BOOKING: {
819
+ readonly OPTIONS: {
820
+ readonly shortFlightFare: {
821
+ readonly economy: "Economy";
822
+ readonly premiumEconomy: "Premium Economy";
823
+ readonly business: "Business";
824
+ readonly first: "First";
825
+ };
826
+ readonly longFlightFare: {
827
+ readonly economy: "Economy";
828
+ readonly premiumEconomy: "Premium Economy";
829
+ readonly business: "Business";
830
+ readonly first: "First";
831
+ };
832
+ readonly hotelStar: {
833
+ readonly oneStar: "1";
834
+ readonly twoStars: "2";
835
+ readonly threeStars: "3";
836
+ readonly fourStars: "4";
837
+ readonly fiveStars: "5";
838
+ };
839
+ };
840
+ readonly DEFAULT_OPTIONS: {
841
+ readonly shortFlightFare: "economy";
842
+ readonly longFlightFare: "economy";
843
+ readonly hotelStar: "fourStars";
844
+ };
845
+ readonly PAYMENT_TYPE: {
846
+ readonly PAY_AT_HOTEL: "PAY_AT_HOTEL";
847
+ readonly PAY_AT_VENDOR: "PAY_AT_VENDOR";
848
+ };
849
+ };
850
+ readonly EXPENSIFY_DOMAINS: readonly ["expensify.com", "expensifail.com", "expensicorp.com"];
851
+ readonly SUBSCRIPTION_CHANGE_REASONS: {
852
+ readonly TOO_LIMITED: {
853
+ readonly id: "tooLimited";
854
+ readonly label: "Functionality needs improvement";
855
+ readonly prompt: "What software are you moving to and why?";
856
+ };
857
+ readonly TOO_EXPENSIVE: {
858
+ readonly id: "tooExpensive";
859
+ readonly label: "Too expensive";
860
+ readonly prompt: "What software are you moving to and why?";
861
+ };
862
+ readonly INADEQUATE_SUPPORT: {
863
+ readonly id: "inadequateSupport";
864
+ readonly label: "Inadequate customer support";
865
+ readonly prompt: "What software are you moving to and why?";
866
+ };
867
+ readonly BUSINESS_CLOSING: {
868
+ readonly id: "businessClosing";
869
+ readonly label: "Company closing, downsizing, or acquired";
870
+ readonly prompt: "What software are you moving to and why?";
871
+ };
872
+ };
873
+ readonly VIDEO_EXTENSIONS: readonly ["mp4", "mov", "avi", "wmv", "flv", "mkv", "webm", "3gp", "m4v", "mpg", "mpeg", "ogv"];
874
+ readonly COUNTRY_ZIP_REGEX_DATA: {
875
+ readonly AC: {
876
+ readonly regex: RegExp;
877
+ readonly samples: "ASCN 1ZZ";
878
+ };
879
+ readonly AD: {
880
+ readonly regex: RegExp;
881
+ readonly samples: "AD206, AD403, AD106, AD406";
882
+ };
883
+ readonly AE: {};
884
+ readonly AF: {
885
+ readonly regex: RegExp;
886
+ readonly samples: "9536, 1476, 3842, 7975";
887
+ };
888
+ readonly AG: {};
889
+ readonly AI: {
890
+ readonly regex: RegExp;
891
+ readonly samples: "AI-2640";
892
+ };
893
+ readonly AL: {
894
+ readonly regex: RegExp;
895
+ readonly samples: "1631, 9721, 2360, 5574";
896
+ };
897
+ readonly AM: {
898
+ readonly regex: RegExp;
899
+ readonly samples: "5581, 7585, 8434, 2492";
900
+ };
901
+ readonly AO: {};
902
+ readonly AQ: {};
903
+ readonly AR: {
904
+ readonly regex: RegExp;
905
+ readonly samples: "Q7040GFQ, K2178ZHR, P6240EJG, J6070IAE";
906
+ };
907
+ readonly AS: {
908
+ readonly regex: RegExp;
909
+ readonly samples: "96799";
910
+ };
911
+ readonly AT: {
912
+ readonly regex: RegExp;
913
+ readonly samples: "4223, 2052, 3544, 5488";
914
+ };
915
+ readonly AU: {
916
+ readonly regex: RegExp;
917
+ readonly samples: "7181, 7735, 9169, 8780";
918
+ };
919
+ readonly AW: {};
920
+ readonly AX: {
921
+ readonly regex: RegExp;
922
+ readonly samples: "22270, 22889, 22906, 22284";
923
+ };
924
+ readonly AZ: {
925
+ readonly regex: RegExp;
926
+ readonly samples: "AZ 6704, AZ 5332, AZ 3907, AZ 6892";
927
+ };
928
+ readonly BA: {
929
+ readonly regex: RegExp;
930
+ readonly samples: "62722, 80420, 44595, 74614";
931
+ };
932
+ readonly BB: {
933
+ readonly regex: RegExp;
934
+ readonly samples: "BB64089, BB17494, BB73163, BB25752";
935
+ };
936
+ readonly BD: {
937
+ readonly regex: RegExp;
938
+ readonly samples: "8585, 8175, 7381, 0154";
939
+ };
940
+ readonly BE: {
941
+ readonly regex: RegExp;
942
+ readonly samples: "7944, 5303, 6746, 7921";
943
+ };
944
+ readonly BF: {};
945
+ readonly BG: {
946
+ readonly regex: RegExp;
947
+ readonly samples: "6409, 7657, 1206, 7908";
948
+ };
949
+ readonly BH: {
950
+ readonly regex: RegExp;
951
+ readonly samples: "047, 1116, 490, 631";
952
+ };
953
+ readonly BI: {};
954
+ readonly BJ: {};
955
+ readonly BL: {
956
+ readonly regex: RegExp;
957
+ readonly samples: "97133";
958
+ };
959
+ readonly BM: {
960
+ readonly regex: RegExp;
961
+ readonly samples: "QV9P, OSJ1, PZ 3D, GR YK";
962
+ };
963
+ readonly BN: {
964
+ readonly regex: RegExp;
965
+ readonly samples: "PF 9925, TH1970, SC 4619, NF0781";
966
+ };
967
+ readonly BO: {};
968
+ readonly BQ: {};
969
+ readonly BR: {
970
+ readonly regex: RegExp;
971
+ readonly samples: "18816-403, 95177-465, 43447-782, 39403-136";
972
+ };
973
+ readonly BS: {};
974
+ readonly BT: {
975
+ readonly regex: RegExp;
976
+ readonly samples: "28256, 52484, 30608, 93524";
977
+ };
978
+ readonly BW: {};
979
+ readonly BY: {
980
+ readonly regex: RegExp;
981
+ readonly samples: "504154, 360246, 741167, 895047";
982
+ };
983
+ readonly BZ: {};
984
+ readonly CA: {
985
+ readonly regex: RegExp;
986
+ readonly samples: "S1A7K8, Y5H 4G6, H9V0P2, H1A1B5";
987
+ };
988
+ readonly CC: {
989
+ readonly regex: RegExp;
990
+ readonly samples: "6799";
991
+ };
992
+ readonly CD: {};
993
+ readonly CF: {};
994
+ readonly CG: {};
995
+ readonly CH: {
996
+ readonly regex: RegExp;
997
+ readonly samples: "6370, 5271, 7873, 8220";
998
+ };
999
+ readonly CI: {};
1000
+ readonly CK: {};
1001
+ readonly CL: {
1002
+ readonly regex: RegExp;
1003
+ readonly samples: "7565829, 8702008, 3161669, 1607703";
1004
+ };
1005
+ readonly CM: {};
1006
+ readonly CN: {
1007
+ readonly regex: RegExp;
1008
+ readonly samples: "240543, 870138, 295528, 861683";
1009
+ };
1010
+ readonly CO: {
1011
+ readonly regex: RegExp;
1012
+ readonly samples: "678978, 775145, 823943, 913970";
1013
+ };
1014
+ readonly CR: {
1015
+ readonly regex: RegExp;
1016
+ readonly samples: "28256, 52484, 30608, 93524";
1017
+ };
1018
+ readonly CU: {
1019
+ readonly regex: RegExp;
1020
+ readonly samples: "28256, 52484, 30608, 93524";
1021
+ };
1022
+ readonly CV: {
1023
+ readonly regex: RegExp;
1024
+ readonly samples: "9056, 8085, 0491, 4627";
1025
+ };
1026
+ readonly CW: {};
1027
+ readonly CX: {
1028
+ readonly regex: RegExp;
1029
+ readonly samples: "6798";
1030
+ };
1031
+ readonly CY: {
1032
+ readonly regex: RegExp;
1033
+ readonly samples: "9301, 2478, 1981, 6162";
1034
+ };
1035
+ readonly CZ: {
1036
+ readonly regex: RegExp;
1037
+ readonly samples: "150 56, 50694, 229 08, 82811";
1038
+ };
1039
+ readonly DE: {
1040
+ readonly regex: RegExp;
1041
+ readonly samples: "33185, 37198, 81711, 44262";
1042
+ };
1043
+ readonly DJ: {};
1044
+ readonly DK: {
1045
+ readonly regex: RegExp;
1046
+ readonly samples: "1429, 2457, 0637, 5764";
1047
+ };
1048
+ readonly DM: {};
1049
+ readonly DO: {
1050
+ readonly regex: RegExp;
1051
+ readonly samples: "11877, 95773, 93875, 98032";
1052
+ };
1053
+ readonly DZ: {
1054
+ readonly regex: RegExp;
1055
+ readonly samples: "26581, 64621, 57550, 72201";
1056
+ };
1057
+ readonly EC: {
1058
+ readonly regex: RegExp;
1059
+ readonly samples: "541124, 873848, 011495, 334509";
1060
+ };
1061
+ readonly EE: {
1062
+ readonly regex: RegExp;
1063
+ readonly samples: "87173, 01127, 73214, 52381";
1064
+ };
1065
+ readonly EG: {
1066
+ readonly regex: RegExp;
1067
+ readonly samples: "98394, 05129, 91463, 77359";
1068
+ };
1069
+ readonly EH: {
1070
+ readonly regex: RegExp;
1071
+ readonly samples: "30577, 60264, 16487, 38593";
1072
+ };
1073
+ readonly ER: {};
1074
+ readonly ES: {
1075
+ readonly regex: RegExp;
1076
+ readonly samples: "03315, 00413, 23179, 89324";
1077
+ };
1078
+ readonly ET: {
1079
+ readonly regex: RegExp;
1080
+ readonly samples: "6269, 8498, 4514, 7820";
1081
+ };
1082
+ readonly FI: {
1083
+ readonly regex: RegExp;
1084
+ readonly samples: "21859, 72086, 22422, 03774";
1085
+ };
1086
+ readonly FJ: {};
1087
+ readonly FK: {
1088
+ readonly regex: RegExp;
1089
+ readonly samples: "FIQQ 1ZZ";
1090
+ };
1091
+ readonly FM: {
1092
+ readonly regex: RegExp;
1093
+ readonly samples: "96942-9352, 96944-4935, 96941 9065, 96943-5369";
1094
+ };
1095
+ readonly FO: {
1096
+ readonly regex: RegExp;
1097
+ readonly samples: "334, 068, 741, 787";
1098
+ };
1099
+ readonly FR: {
1100
+ readonly regex: RegExp;
1101
+ readonly samples: "25822, 53 637, 55354, 82522";
1102
+ };
1103
+ readonly GA: {};
1104
+ readonly GB: {
1105
+ readonly regex: RegExp;
1106
+ readonly samples: "LA102UX, BL2F8FX, BD1S9LU, WR4G 6LH, W1U";
1107
+ };
1108
+ readonly GD: {};
1109
+ readonly GE: {
1110
+ readonly regex: RegExp;
1111
+ readonly samples: "1232, 9831, 4717, 9428";
1112
+ };
1113
+ readonly GF: {
1114
+ readonly regex: RegExp;
1115
+ readonly samples: "98380, 97335, 98344, 97300";
1116
+ };
1117
+ readonly GG: {
1118
+ readonly regex: RegExp;
1119
+ readonly samples: "GY757LD, GY6D 6XL, GY3Y2BU, GY85 1YO";
1120
+ };
1121
+ readonly GH: {};
1122
+ readonly GI: {
1123
+ readonly regex: RegExp;
1124
+ readonly samples: "GX11 1AA";
1125
+ };
1126
+ readonly GL: {
1127
+ readonly regex: RegExp;
1128
+ readonly samples: "3964, 3915, 3963, 3956";
1129
+ };
1130
+ readonly GM: {};
1131
+ readonly GN: {
1132
+ readonly regex: RegExp;
1133
+ readonly samples: "465, 994, 333, 078";
1134
+ };
1135
+ readonly GP: {
1136
+ readonly regex: RegExp;
1137
+ readonly samples: "98069, 97007, 97147, 97106";
1138
+ };
1139
+ readonly GQ: {};
1140
+ readonly GR: {
1141
+ readonly regex: RegExp;
1142
+ readonly samples: "98654, 319 78, 127 09, 590 52";
1143
+ };
1144
+ readonly GS: {
1145
+ readonly regex: RegExp;
1146
+ readonly samples: "SIQQ 1ZZ";
1147
+ };
1148
+ readonly GT: {
1149
+ readonly regex: RegExp;
1150
+ readonly samples: "30553, 69925, 09376, 83719";
1151
+ };
1152
+ readonly GU: {
1153
+ readonly regex: RegExp;
1154
+ readonly samples: "96922, 96932, 96921, 96911";
1155
+ };
1156
+ readonly GW: {
1157
+ readonly regex: RegExp;
1158
+ readonly samples: "1742, 7941, 4437, 7728";
1159
+ };
1160
+ readonly GY: {};
1161
+ readonly HK: {
1162
+ readonly regex: RegExp;
1163
+ readonly samples: "999077";
1164
+ };
1165
+ readonly HN: {
1166
+ readonly regex: RegExp;
1167
+ readonly samples: "86238, 78999, 03594, 30406";
1168
+ };
1169
+ readonly HR: {
1170
+ readonly regex: RegExp;
1171
+ readonly samples: "85240, 80710, 78235, 98766";
1172
+ };
1173
+ readonly HT: {
1174
+ readonly regex: RegExp;
1175
+ readonly samples: "5101, HT6991, HT3871, 1126";
1176
+ };
1177
+ readonly HU: {
1178
+ readonly regex: RegExp;
1179
+ readonly samples: "0360, 2604, 3362, 4775";
1180
+ };
1181
+ readonly ID: {
1182
+ readonly regex: RegExp;
1183
+ readonly samples: "60993, 52656, 16521, 34931";
1184
+ };
1185
+ readonly IE: {};
1186
+ readonly IL: {
1187
+ readonly regex: RegExp;
1188
+ readonly samples: "74213, 6978354, 2441689, 4971551";
1189
+ };
1190
+ readonly IM: {
1191
+ readonly regex: RegExp;
1192
+ readonly samples: "IM2X1JP, IM4V 9JU, IM3B1UP, IM8E 5XF";
1193
+ };
1194
+ readonly IN: {
1195
+ readonly regex: RegExp;
1196
+ readonly samples: "946956, 143659, 243258, 938385";
1197
+ };
1198
+ readonly IO: {
1199
+ readonly regex: RegExp;
1200
+ readonly samples: "BBND 1ZZ";
1201
+ };
1202
+ readonly IQ: {
1203
+ readonly regex: RegExp;
1204
+ readonly samples: "63282, 87817, 38580, 47725";
1205
+ };
1206
+ readonly IR: {
1207
+ readonly regex: RegExp;
1208
+ readonly samples: "0666174250, 6052682188, 02360-81920, 25102-08646";
1209
+ };
1210
+ readonly IS: {
1211
+ readonly regex: RegExp;
1212
+ readonly samples: "408, 013, 001, 936";
1213
+ };
1214
+ readonly IT: {
1215
+ readonly regex: RegExp;
1216
+ readonly samples: "31701, 61341, 92781, 45609";
1217
+ };
1218
+ readonly JE: {
1219
+ readonly regex: RegExp;
1220
+ readonly samples: "JE0D 2EX, JE59 2OF, JE1X1ZW, JE0V 1SO";
1221
+ };
1222
+ readonly JM: {};
1223
+ readonly JO: {
1224
+ readonly regex: RegExp;
1225
+ readonly samples: "20789, 02128, 52170, 40284";
1226
+ };
1227
+ readonly JP: {
1228
+ readonly regex: RegExp;
1229
+ readonly samples: "5429642, 046-1544, 6463599, 368-5362";
1230
+ };
1231
+ readonly KE: {
1232
+ readonly regex: RegExp;
1233
+ readonly samples: "33043, 98830, 59324, 42876";
1234
+ };
1235
+ readonly KG: {
1236
+ readonly regex: RegExp;
1237
+ readonly samples: "500371, 176592, 184133, 225279";
1238
+ };
1239
+ readonly KH: {
1240
+ readonly regex: RegExp;
1241
+ readonly samples: "220281, 18824, 35379, 09570";
1242
+ };
1243
+ readonly KI: {
1244
+ readonly regex: RegExp;
1245
+ readonly samples: "KI0104, KI0109, KI0112, KI0306";
1246
+ };
1247
+ readonly KM: {};
1248
+ readonly KN: {
1249
+ readonly regex: RegExp;
1250
+ readonly samples: "KN2522, KN2560-3032, KN3507, KN4440";
1251
+ };
1252
+ readonly KP: {};
1253
+ readonly KR: {
1254
+ readonly regex: RegExp;
1255
+ readonly samples: "67417, 66648, 08359, 93750";
1256
+ };
1257
+ readonly KW: {
1258
+ readonly regex: RegExp;
1259
+ readonly samples: "74840, 53309, 71276, 59262";
1260
+ };
1261
+ readonly KY: {
1262
+ readonly regex: RegExp;
1263
+ readonly samples: "KY0-3078, KY1-7812, KY8-3729, KY3-4664";
1264
+ };
1265
+ readonly KZ: {
1266
+ readonly regex: RegExp;
1267
+ readonly samples: "129113, 976562, 226811, 933781";
1268
+ };
1269
+ readonly LA: {
1270
+ readonly regex: RegExp;
1271
+ readonly samples: "08875, 50779, 87756, 75932";
1272
+ };
1273
+ readonly LB: {
1274
+ readonly regex: RegExp;
1275
+ readonly samples: "5436 1302, 9830 7470, 76911911, 9453 1306";
1276
+ };
1277
+ readonly LC: {
1278
+ readonly regex: RegExp;
1279
+ readonly samples: "21080, LC99127, LC24 258, 51 740";
1280
+ };
1281
+ readonly LI: {
1282
+ readonly regex: RegExp;
1283
+ readonly samples: "6644, 2852, 4630, 4541";
1284
+ };
1285
+ readonly LK: {
1286
+ readonly regex: RegExp;
1287
+ readonly samples: "44605, 27721, 90695, 65514";
1288
+ };
1289
+ readonly LR: {
1290
+ readonly regex: RegExp;
1291
+ readonly samples: "6644, 2852, 4630, 4541";
1292
+ };
1293
+ readonly LS: {
1294
+ readonly regex: RegExp;
1295
+ readonly samples: "779, 803, 104, 897";
1296
+ };
1297
+ readonly LT: {
1298
+ readonly regex: RegExp;
1299
+ readonly samples: "LT-22248, LT-12796, 69822, 37280";
1300
+ };
1301
+ readonly LU: {
1302
+ readonly regex: RegExp;
1303
+ readonly samples: "5469, L-4476, 6304, 9739";
1304
+ };
1305
+ readonly LV: {
1306
+ readonly regex: RegExp;
1307
+ readonly samples: "9344, LV-5030, LV-0132, 8097";
1308
+ };
1309
+ readonly LY: {};
1310
+ readonly MA: {
1311
+ readonly regex: RegExp;
1312
+ readonly samples: "50219, 95871, 80907, 79804";
1313
+ };
1314
+ readonly MC: {
1315
+ readonly regex: RegExp;
1316
+ readonly samples: "98084, 98041, 98070, 98062";
1317
+ };
1318
+ readonly MD: {
1319
+ readonly regex: RegExp;
1320
+ readonly samples: "6250, MD-9681, MD3282, MD-0652";
1321
+ };
1322
+ readonly ME: {
1323
+ readonly regex: RegExp;
1324
+ readonly samples: "87622, 92688, 23129, 59566";
1325
+ };
1326
+ readonly MF: {
1327
+ readonly regex: RegExp;
1328
+ readonly samples: "97169, 98180, 98067, 98043";
1329
+ };
1330
+ readonly MG: {
1331
+ readonly regex: RegExp;
1332
+ readonly samples: "854, 084, 524, 064";
1333
+ };
1334
+ readonly MH: {
1335
+ readonly regex: RegExp;
1336
+ readonly samples: "96962, 96969, 96970-8530, 96960-3226";
1337
+ };
1338
+ readonly MK: {
1339
+ readonly regex: RegExp;
1340
+ readonly samples: "8299, 6904, 6144, 9753";
1341
+ };
1342
+ readonly ML: {};
1343
+ readonly MM: {
1344
+ readonly regex: RegExp;
1345
+ readonly samples: "59188, 93943, 40829, 69981";
1346
+ };
1347
+ readonly MN: {
1348
+ readonly regex: RegExp;
1349
+ readonly samples: "94129, 29906, 53374, 80141";
1350
+ };
1351
+ readonly MO: {};
1352
+ readonly MP: {
1353
+ readonly regex: RegExp;
1354
+ readonly samples: "96952 3162, 96950 1567, 96951 2994, 96950 8745";
1355
+ };
1356
+ readonly MQ: {
1357
+ readonly regex: RegExp;
1358
+ readonly samples: "98297, 97273, 97261, 98282";
1359
+ };
1360
+ readonly MR: {};
1361
+ readonly MS: {
1362
+ readonly regex: RegExp;
1363
+ readonly samples: "MSR1110, MSR1230, MSR1250, MSR1330";
1364
+ };
1365
+ readonly MT: {
1366
+ readonly regex: RegExp;
1367
+ readonly samples: "DKV 8196, KSU9264, QII0259, HKH 1020";
1368
+ };
1369
+ readonly MU: {
1370
+ readonly regex: RegExp;
1371
+ readonly samples: "H8310, 52591, M9826, F5810";
1372
+ };
1373
+ readonly MV: {
1374
+ readonly regex: RegExp;
1375
+ readonly samples: "16354, 20857, 50991, 72527";
1376
+ };
1377
+ readonly MW: {};
1378
+ readonly MX: {
1379
+ readonly regex: RegExp;
1380
+ readonly samples: "71530, 76424, 73811, 50503";
1381
+ };
1382
+ readonly MY: {
1383
+ readonly regex: RegExp;
1384
+ readonly samples: "75958, 15826, 86715, 37081";
1385
+ };
1386
+ readonly MZ: {
1387
+ readonly regex: RegExp;
1388
+ readonly samples: "0902, 6258, 7826, 7150";
1389
+ };
1390
+ readonly NA: {
1391
+ readonly regex: RegExp;
1392
+ readonly samples: "68338, 63392, 21820, 61211";
1393
+ };
1394
+ readonly NC: {
1395
+ readonly regex: RegExp;
1396
+ readonly samples: "98865, 98813, 98820, 98855";
1397
+ };
1398
+ readonly NE: {
1399
+ readonly regex: RegExp;
1400
+ readonly samples: "9790, 3270, 2239, 0400";
1401
+ };
1402
+ readonly NF: {
1403
+ readonly regex: RegExp;
1404
+ readonly samples: "2899";
1405
+ };
1406
+ readonly NG: {
1407
+ readonly regex: RegExp;
1408
+ readonly samples: "289096, 223817, 199970, 840648";
1409
+ };
1410
+ readonly NI: {
1411
+ readonly regex: RegExp;
1412
+ readonly samples: "86308, 60956, 49945, 15470";
1413
+ };
1414
+ readonly NL: {
1415
+ readonly regex: RegExp;
1416
+ readonly samples: "6998 VY, 5390 CK, 2476 PS, 8873OX";
1417
+ };
1418
+ readonly NO: {
1419
+ readonly regex: RegExp;
1420
+ readonly samples: "0711, 4104, 2683, 5015";
1421
+ };
1422
+ readonly NP: {
1423
+ readonly regex: RegExp;
1424
+ readonly samples: "42438, 73964, 66400, 33976";
1425
+ };
1426
+ readonly NR: {
1427
+ readonly regex: RegExp;
1428
+ readonly samples: "NRU68";
1429
+ };
1430
+ readonly NU: {
1431
+ readonly regex: RegExp;
1432
+ readonly samples: "9974";
1433
+ };
1434
+ readonly NZ: {
1435
+ readonly regex: RegExp;
1436
+ readonly samples: "7015, 0780, 4109, 1422";
1437
+ };
1438
+ readonly OM: {
1439
+ readonly regex: RegExp;
1440
+ readonly samples: "PC 851, PC 362, PC 598, PC 499";
1441
+ };
1442
+ readonly PA: {
1443
+ readonly regex: RegExp;
1444
+ readonly samples: "0711, 4104, 2683, 5015";
1445
+ };
1446
+ readonly PE: {
1447
+ readonly regex: RegExp;
1448
+ readonly samples: "10013, 12081, 14833, 24615";
1449
+ };
1450
+ readonly PF: {
1451
+ readonly regex: RegExp;
1452
+ readonly samples: "98755, 98710, 98748, 98791";
1453
+ };
1454
+ readonly PG: {
1455
+ readonly regex: RegExp;
1456
+ readonly samples: "193, 166, 880, 553";
1457
+ };
1458
+ readonly PH: {
1459
+ readonly regex: RegExp;
1460
+ readonly samples: "0137, 8216, 2876, 0876";
1461
+ };
1462
+ readonly PK: {
1463
+ readonly regex: RegExp;
1464
+ readonly samples: "78219, 84497, 62102, 12564";
1465
+ };
1466
+ readonly PL: {
1467
+ readonly regex: RegExp;
1468
+ readonly samples: "63-825, 26-714, 05-505, 15-200";
1469
+ };
1470
+ readonly PM: {
1471
+ readonly regex: RegExp;
1472
+ readonly samples: "97500";
1473
+ };
1474
+ readonly PN: {
1475
+ readonly regex: RegExp;
1476
+ readonly samples: "PCRN 1ZZ";
1477
+ };
1478
+ readonly PR: {
1479
+ readonly regex: RegExp;
1480
+ readonly samples: "00989 3603, 00639 0720, 00707-9803, 00610 7362";
1481
+ };
1482
+ readonly PS: {
1483
+ readonly regex: RegExp;
1484
+ readonly samples: "00748, 00663, 00779-4433, 00934 1559";
1485
+ };
1486
+ readonly PT: {
1487
+ readonly regex: RegExp;
1488
+ readonly samples: "0060-917, 4391-979, 5551-657, 9961-093";
1489
+ };
1490
+ readonly PW: {
1491
+ readonly regex: RegExp;
1492
+ readonly samples: "96940, 96939, 96939 6004, 96940-1871";
1493
+ };
1494
+ readonly PY: {
1495
+ readonly regex: RegExp;
1496
+ readonly samples: "7895, 5835, 8783, 5887";
1497
+ };
1498
+ readonly QA: {};
1499
+ readonly RE: {
1500
+ readonly regex: RegExp;
1501
+ readonly samples: "98445, 97404, 98421, 98434";
1502
+ };
1503
+ readonly RO: {
1504
+ readonly regex: RegExp;
1505
+ readonly samples: "935929, 407608, 637434, 174574";
1506
+ };
1507
+ readonly RS: {
1508
+ readonly regex: RegExp;
1509
+ readonly samples: "929863, 259131, 687739, 07011";
1510
+ };
1511
+ readonly RU: {
1512
+ readonly regex: RegExp;
1513
+ readonly samples: "138294, 617323, 307906, 981238";
1514
+ };
1515
+ readonly RW: {};
1516
+ readonly SA: {
1517
+ readonly regex: RegExp;
1518
+ readonly samples: "86020-1256, 72375, 70280, 96328";
1519
+ };
1520
+ readonly SB: {};
1521
+ readonly SC: {};
1522
+ readonly SD: {
1523
+ readonly regex: RegExp;
1524
+ readonly samples: "78219, 84497, 62102, 12564";
1525
+ };
1526
+ readonly SE: {
1527
+ readonly regex: RegExp;
1528
+ readonly samples: "095 39, 41052, 84687, 563 66";
1529
+ };
1530
+ readonly SG: {
1531
+ readonly regex: RegExp;
1532
+ readonly samples: "606542, 233985, 036755, 265255";
1533
+ };
1534
+ readonly SH: {
1535
+ readonly regex: RegExp;
1536
+ readonly samples: "STHL 1ZZ, ASCN 1ZZ, TDCU 1ZZ";
1537
+ };
1538
+ readonly SI: {
1539
+ readonly regex: RegExp;
1540
+ readonly samples: "6898, 3413, 2031, 5732";
1541
+ };
1542
+ readonly SJ: {
1543
+ readonly regex: RegExp;
1544
+ readonly samples: "7616, 3163, 5769, 0237";
1545
+ };
1546
+ readonly SK: {
1547
+ readonly regex: RegExp;
1548
+ readonly samples: "594 52, 813 34, 867 67, 41814";
1549
+ };
1550
+ readonly SL: {};
1551
+ readonly SM: {
1552
+ readonly regex: RegExp;
1553
+ readonly samples: "47894, 47895, 47893, 47899";
1554
+ };
1555
+ readonly SN: {
1556
+ readonly regex: RegExp;
1557
+ readonly samples: "48336, 23224, 33261, 82430";
1558
+ };
1559
+ readonly SO: {};
1560
+ readonly SR: {};
1561
+ readonly SS: {
1562
+ readonly regex: RegExp;
1563
+ readonly samples: "JQ 80186, CU 46474, DE33738, MS 59107";
1564
+ };
1565
+ readonly ST: {};
1566
+ readonly SV: {};
1567
+ readonly SX: {};
1568
+ readonly SY: {};
1569
+ readonly SZ: {
1570
+ readonly regex: RegExp;
1571
+ readonly samples: "H458, L986, M477, S916";
1572
+ };
1573
+ readonly TA: {
1574
+ readonly regex: RegExp;
1575
+ readonly samples: "TDCU 1ZZ";
1576
+ };
1577
+ readonly TC: {
1578
+ readonly regex: RegExp;
1579
+ readonly samples: "TKCA 1ZZ";
1580
+ };
1581
+ readonly TD: {};
1582
+ readonly TF: {};
1583
+ readonly TG: {};
1584
+ readonly TH: {
1585
+ readonly regex: RegExp;
1586
+ readonly samples: "30706, 18695, 21044, 42496";
1587
+ };
1588
+ readonly TJ: {
1589
+ readonly regex: RegExp;
1590
+ readonly samples: "381098, 961344, 519925, 667883";
1591
+ };
1592
+ readonly TK: {};
1593
+ readonly TL: {};
1594
+ readonly TM: {
1595
+ readonly regex: RegExp;
1596
+ readonly samples: "544985, 164362, 425224, 374603";
1597
+ };
1598
+ readonly TN: {
1599
+ readonly regex: RegExp;
1600
+ readonly samples: "6075, 7340, 2574, 8988";
1601
+ };
1602
+ readonly TO: {};
1603
+ readonly TR: {
1604
+ readonly regex: RegExp;
1605
+ readonly samples: "42524, 81057, 50859, 42677";
1606
+ };
1607
+ readonly TT: {
1608
+ readonly regex: RegExp;
1609
+ readonly samples: "041238, 033990, 763476, 981118";
1610
+ };
1611
+ readonly TV: {};
1612
+ readonly TW: {
1613
+ readonly regex: RegExp;
1614
+ readonly samples: "21577, 76068, 68698, 08912";
1615
+ };
1616
+ readonly TZ: {};
1617
+ readonly UA: {
1618
+ readonly regex: RegExp;
1619
+ readonly samples: "10629, 81138, 15668, 30055";
1620
+ };
1621
+ readonly UG: {};
1622
+ readonly UM: {};
1623
+ readonly US: {
1624
+ readonly regex: RegExp;
1625
+ readonly samples: "12345, 12345-1234, 12345 1234";
1626
+ };
1627
+ readonly UY: {
1628
+ readonly regex: RegExp;
1629
+ readonly samples: "40073, 30136, 06583, 00021";
1630
+ };
1631
+ readonly UZ: {
1632
+ readonly regex: RegExp;
1633
+ readonly samples: "205122, 219713, 441699, 287471";
1634
+ };
1635
+ readonly VA: {
1636
+ readonly regex: RegExp;
1637
+ readonly samples: "00120";
1638
+ };
1639
+ readonly VC: {
1640
+ readonly regex: RegExp;
1641
+ readonly samples: "VC0600, VC0176, VC0616, VC4094";
1642
+ };
1643
+ readonly VE: {
1644
+ readonly regex: RegExp;
1645
+ readonly samples: "9692, 1953, 6680, 8302";
1646
+ };
1647
+ readonly VG: {
1648
+ readonly regex: RegExp;
1649
+ readonly samples: "VG1204, VG7387, VG3431, VG6021";
1650
+ };
1651
+ readonly VI: {
1652
+ readonly regex: RegExp;
1653
+ readonly samples: "00820, 00804 2036, 00825 3344, 00811-5900";
1654
+ };
1655
+ readonly VN: {
1656
+ readonly regex: RegExp;
1657
+ readonly samples: "133836, 748243, 894060, 020597";
1658
+ };
1659
+ readonly VU: {};
1660
+ readonly WF: {
1661
+ readonly regex: RegExp;
1662
+ readonly samples: "98692, 98697, 98698, 98671";
1663
+ };
1664
+ readonly WS: {
1665
+ readonly regex: RegExp;
1666
+ readonly samples: "WS1349, WS2798, WS1751, WS2090";
1667
+ };
1668
+ readonly XK: {
1669
+ readonly regex: RegExp;
1670
+ readonly samples: "56509, 15863, 46644, 21896";
1671
+ };
1672
+ readonly YE: {};
1673
+ readonly YT: {
1674
+ readonly regex: RegExp;
1675
+ readonly samples: "97698, 97697, 97632, 97609";
1676
+ };
1677
+ readonly ZA: {
1678
+ readonly regex: RegExp;
1679
+ readonly samples: "6855, 5179, 6956, 7147";
1680
+ };
1681
+ readonly ZM: {
1682
+ readonly regex: RegExp;
1683
+ readonly samples: "77603, 97367, 80454, 94484";
1684
+ };
1685
+ readonly ZW: {};
1686
+ };
1687
+ readonly GENERIC_ZIP_CODE_REGEX: RegExp;
1688
+ };
1689
+ /**
1690
+ * UI Constants
1691
+ */
1692
+ declare const UI: {
1693
+ readonly ICON: {
1694
+ readonly DELETE: "trashcan";
1695
+ readonly CAR: "car";
1696
+ readonly CASH: "cash";
1697
+ readonly MANAGED_CARD: "corporate-card";
1698
+ readonly CARD: "credit-card";
1699
+ readonly CLOCK: "time";
1700
+ readonly PER_DIEM: "per-diem";
1701
+ readonly PENDING_CARD: "card-transaction-pending";
1702
+ readonly CSV_UPLOAD: "csv-upload";
1703
+ readonly PENDING_CREDIT_CARD: "credit-card-pending";
1704
+ };
1705
+ readonly spinnerDIV: "<div class=\"spinner\"></div>";
1706
+ readonly spinnerSmallDIV: "<div class=\"spinner spinner-small\"></div>";
1707
+ readonly spinnerLargeDIV: "<div class=\"spinner spinner-large\"></div>";
1708
+ readonly spinnerClass: "view_spinner";
1709
+ readonly SPINNER: "spinner";
1710
+ readonly imageURLPrefix: "https://d2k5nsl2zxldvw.cloudfront.net/images/";
1711
+ readonly ACTIVE: "active";
1712
+ readonly ERROR: "error";
1713
+ readonly HIDDEN: "hidden";
1714
+ readonly INVISIBLE: "invisible";
1715
+ readonly DEPRECIATED: "depreciated";
1716
+ readonly DISABLED: "disabled";
1717
+ readonly REQUIRED: "required";
1718
+ readonly SELECT_DEFAULT: "###";
1719
+ readonly SELECTED: "selected";
1720
+ readonly QR_CODE: "js_qrCode";
1721
+ readonly DIALOG_Z_INDEX: 4000;
1722
+ };
1723
+ /**
1724
+ * Set of most frequently used public domains
1725
+ */
1726
+ declare const PUBLIC_DOMAINS_SET: Set<string>;
1727
+ export { g_cloudFront, g_cloudFrontImg, CONST, UI, PUBLIC_DOMAINS_SET };