expensify-common 2.0.104 → 2.0.106

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/dist/CONST.d.ts CHANGED
@@ -249,6 +249,61 @@ declare const CONST: {
249
249
  readonly stateName: "District Of Columbia";
250
250
  };
251
251
  };
252
+ /** Canadian provinces */
253
+ readonly PROVINCES: {
254
+ readonly AB: {
255
+ readonly provinceISO: "AB";
256
+ readonly provinceName: "Alberta";
257
+ };
258
+ readonly BC: {
259
+ readonly provinceISO: "BC";
260
+ readonly provinceName: "British Columbia";
261
+ };
262
+ readonly MB: {
263
+ readonly provinceISO: "MB";
264
+ readonly provinceName: "Manitoba";
265
+ };
266
+ readonly NB: {
267
+ readonly provinceISO: "NB";
268
+ readonly provinceName: "New Brunswick";
269
+ };
270
+ readonly NL: {
271
+ readonly provinceISO: "NL";
272
+ readonly provinceName: "Newfoundland and Labrador";
273
+ };
274
+ readonly NS: {
275
+ readonly provinceISO: "NS";
276
+ readonly provinceName: "Nova Scotia";
277
+ };
278
+ readonly NT: {
279
+ readonly provinceISO: "NT";
280
+ readonly provinceName: "Northwest Territories";
281
+ };
282
+ readonly NU: {
283
+ readonly provinceISO: "NU";
284
+ readonly provinceName: "Nunavut";
285
+ };
286
+ readonly ON: {
287
+ readonly provinceISO: "ON";
288
+ readonly provinceName: "Ontario";
289
+ };
290
+ readonly PE: {
291
+ readonly provinceISO: "PE";
292
+ readonly provinceName: "Prince Edward Island";
293
+ };
294
+ readonly QC: {
295
+ readonly provinceISO: "QC";
296
+ readonly provinceName: "Quebec";
297
+ };
298
+ readonly SK: {
299
+ readonly provinceISO: "SK";
300
+ readonly provinceName: "Saskatchewan";
301
+ };
302
+ readonly YT: {
303
+ readonly provinceISO: "YT";
304
+ readonly provinceName: "Yukon";
305
+ };
306
+ };
252
307
  /**
253
308
  * Special characters that need to be removed when they are ending an url
254
309
  *
@@ -485,6 +540,10 @@ declare const CONST: {
485
540
  };
486
541
  readonly PASSWORD_COMPLEXITY_REGEX_STRING: "^(?=.*[A-Z])(?=.*[0-9])(?=.*[a-z]).{8,}$";
487
542
  readonly INTEGRATIONS: {
543
+ readonly ACCOUNTING_METHOD: {
544
+ readonly CASH: "CASH";
545
+ readonly ACCRUAL: "ACCRUAL";
546
+ };
488
547
  /**
489
548
  * Constants that specify how to map (import) Integrations data to Expensify
490
549
  * Parallel to IntegrationEntityMappingTypeEnum in the IS
package/dist/CONST.js CHANGED
@@ -257,6 +257,61 @@ const CONST = {
257
257
  stateName: 'District Of Columbia',
258
258
  },
259
259
  },
260
+ /** Canadian provinces */
261
+ PROVINCES: {
262
+ AB: {
263
+ provinceISO: 'AB',
264
+ provinceName: 'Alberta',
265
+ },
266
+ BC: {
267
+ provinceISO: 'BC',
268
+ provinceName: 'British Columbia',
269
+ },
270
+ MB: {
271
+ provinceISO: 'MB',
272
+ provinceName: 'Manitoba',
273
+ },
274
+ NB: {
275
+ provinceISO: 'NB',
276
+ provinceName: 'New Brunswick',
277
+ },
278
+ NL: {
279
+ provinceISO: 'NL',
280
+ provinceName: 'Newfoundland and Labrador',
281
+ },
282
+ NS: {
283
+ provinceISO: 'NS',
284
+ provinceName: 'Nova Scotia',
285
+ },
286
+ NT: {
287
+ provinceISO: 'NT',
288
+ provinceName: 'Northwest Territories',
289
+ },
290
+ NU: {
291
+ provinceISO: 'NU',
292
+ provinceName: 'Nunavut',
293
+ },
294
+ ON: {
295
+ provinceISO: 'ON',
296
+ provinceName: 'Ontario',
297
+ },
298
+ PE: {
299
+ provinceISO: 'PE',
300
+ provinceName: 'Prince Edward Island',
301
+ },
302
+ QC: {
303
+ provinceISO: 'QC',
304
+ provinceName: 'Quebec',
305
+ },
306
+ SK: {
307
+ provinceISO: 'SK',
308
+ provinceName: 'Saskatchewan',
309
+ },
310
+ YT: {
311
+ provinceISO: 'YT',
312
+ provinceName: 'Yukon',
313
+ },
314
+ },
260
315
  /**
261
316
  * Special characters that need to be removed when they are ending an url
262
317
  *
@@ -524,6 +579,10 @@ const CONST = {
524
579
  },
525
580
  PASSWORD_COMPLEXITY_REGEX_STRING: '^(?=.*[A-Z])(?=.*[0-9])(?=.*[a-z]).{8,}$',
526
581
  INTEGRATIONS: {
582
+ ACCOUNTING_METHOD: {
583
+ CASH: 'CASH',
584
+ ACCRUAL: 'ACCRUAL',
585
+ },
527
586
  /**
528
587
  * Constants that specify how to map (import) Integrations data to Expensify
529
588
  * Parallel to IntegrationEntityMappingTypeEnum in the IS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expensify-common",
3
- "version": "2.0.104",
3
+ "version": "2.0.106",
4
4
  "author": "Expensify, Inc.",
5
5
  "description": "Expensify libraries and components shared across different repos",
6
6
  "homepage": "https://expensify.com",