shopoflex-types 1.0.129 → 1.0.137

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