shopoflex-types 1.0.128 → 1.0.132

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 (2) hide show
  1. package/dist/common.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/common.d.ts CHANGED
@@ -437,6 +437,15 @@ export interface IDineInSettings {
437
437
  menuSettings?: IMenuSettings;
438
438
  openingHours?: IOpeningHours;
439
439
  }
440
+ interface IAccountingConfig {
441
+ enabled?: boolean;
442
+ accountingStandard?: 'lebanese' | 'ifrs' | 'gaap' | 'uk_gaap' | 'simple' | 'custom';
443
+ fiscalYearStart?: Date;
444
+ settings?: {
445
+ enableAutomaticEntries?: boolean;
446
+ enableInventoryAccounting?: boolean;
447
+ };
448
+ }
440
449
  export interface IBranch {
441
450
  _id?: string;
442
451
  name: {
@@ -460,6 +469,7 @@ export interface IBranch {
460
469
  isActive?: boolean;
461
470
  whatsapp?: string;
462
471
  showMap?: boolean;
472
+ accountingConfig?: IAccountingConfig;
463
473
  }
464
474
  export interface PaginationQuery {
465
475
  page?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.128",
3
+ "version": "1.0.132",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",