shopoflex-types 1.0.218 → 1.0.219

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 +9 -1
  2. package/package.json +1 -1
package/dist/common.d.ts CHANGED
@@ -252,7 +252,7 @@ export interface CurrentUserType extends IUser {
252
252
  }>;
253
253
  hasAccesstoVendor?: boolean;
254
254
  }
255
- export type Permission = "products.read" | "products.create" | "products.update" | "products.delete" | "products.cost" | "products.inventory" | "orders.read" | "orders.create" | "orders.update" | "orders.delete" | "orders.refund" | "orders.status" | "customers.read" | "customers.create" | "customers.update" | "customers.delete" | "accounting.read" | "accounting.create" | "accounting.update" | "accounting.delete" | "analytics.dashboard" | "analytics.revenue" | "analytics.customers" | "analytics.products" | "analytics.traffic" | "analytics.financial" | "analytics.inventory" | "analytics.export" | "branches.read" | "branches.create" | "branches.update" | "branches.delete" | "users.read" | "users.create" | "users.update" | "users.delete" | "users.invite" | "users.permissions.view" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "system.vendor.update" | "system.discounts.read" | "system.discounts.create" | "system.discounts.update" | "system.discounts.delete" | "system.wallet.view" | "traffic.read" | "traffic.analytics" | "traffic.network";
255
+ export type Permission = "products.read" | "products.create" | "products.update" | "products.delete" | "products.cost" | "products.inventory" | "orders.read" | "orders.create" | "orders.update" | "orders.delete" | "orders.refund" | "orders.status" | "customers.read" | "customers.create" | "customers.update" | "customers.delete" | "accounting.read" | "accounting.create" | "accounting.update" | "accounting.delete" | "analytics.dashboard" | "analytics.revenue" | "analytics.customers" | "analytics.products" | "analytics.traffic" | "analytics.financial" | "analytics.inventory" | "analytics.export" | "branches.read" | "branches.create" | "branches.update" | "branches.delete" | "users.read" | "users.create" | "users.update" | "users.delete" | "users.invite" | "users.permissions.view" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "system.vendor.update" | "system.discounts.read" | "system.discounts.create" | "system.discounts.update" | "system.discounts.delete" | "system.wallet.view" | "system.cart.restrict_item_removal" | "traffic.read" | "traffic.analytics" | "traffic.network";
256
256
  export interface IRole {
257
257
  _id?: string;
258
258
  name: NameType;
@@ -397,6 +397,13 @@ export interface PluBarcodeConfig {
397
397
  postfixLength: number;
398
398
  valueType: 'price' | 'weight';
399
399
  }
400
+ export interface VendorPages {
401
+ vendorId: string;
402
+ about?: Record<string, string>;
403
+ privacy?: Record<string, string>;
404
+ terms?: Record<string, string>;
405
+ updatedAt?: string;
406
+ }
400
407
  export interface Vendor {
401
408
  _id?: string;
402
409
  industry?: string;
@@ -681,6 +688,7 @@ export interface IBranch {
681
688
  allowCustomPricing?: boolean;
682
689
  showCost?: boolean;
683
690
  preventSessionCloseIfOpenCarts?: boolean;
691
+ autoLockPosOnInit?: boolean;
684
692
  }
685
693
  export interface PaginationQuery {
686
694
  page?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.218",
3
+ "version": "1.0.219",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",