shopoflex-types 1.0.208 → 1.0.211

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/common.d.ts CHANGED
@@ -384,6 +384,13 @@ export interface VendorCurrentPlan {
384
384
  branches: number | "unlimited";
385
385
  };
386
386
  }
387
+ export interface PluBarcodeConfig {
388
+ prefix: string;
389
+ pluLength: number;
390
+ valueLength: number;
391
+ postfixLength: number;
392
+ valueType: 'price' | 'weight';
393
+ }
387
394
  export interface Vendor {
388
395
  _id?: string;
389
396
  industry?: string;
@@ -468,6 +475,7 @@ export interface Vendor {
468
475
  canCreateOrder(): Promise<boolean>;
469
476
  canCreateUser(): Promise<boolean>;
470
477
  canCreateBranch(): Promise<boolean>;
478
+ pluBarcodeConfig?: PluBarcodeConfig;
471
479
  printStyleSettings?: IPrintStyleSettings;
472
480
  }
473
481
  export interface IPrintStyleSettings {
@@ -23,6 +23,7 @@ export interface VariantType {
23
23
  attributes?: VariantAttribute[];
24
24
  files?: FileType[];
25
25
  barcode?: string;
26
+ plu?: string;
26
27
  isActive?: boolean;
27
28
  sortOrder?: number;
28
29
  subscriptionConfig?: {
@@ -131,6 +132,7 @@ export interface CartItem {
131
132
  serviceName?: NameType;
132
133
  taxEnabled?: boolean;
133
134
  selectedStorage?: string;
135
+ pluLocked?: boolean;
134
136
  }
135
137
  export interface sModifier {
136
138
  name: NameType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.208",
3
+ "version": "1.0.211",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",