shopoflex-types 1.0.231 → 1.0.234

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
@@ -257,7 +257,7 @@ export interface CurrentUserType extends IUser {
257
257
  }>;
258
258
  hasAccesstoVendor?: boolean;
259
259
  }
260
- 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" | "activity.read";
260
+ export type Permission = "orders.view" | "orders.manage" | "orders.refund" | "customers.view" | "customers.manage" | "discounts.view" | "discounts.manage" | "catalog.view" | "catalog.manage" | "catalog.delete" | "catalog.cost" | "inventory.view" | "inventory.manage" | "purchasing.view" | "purchasing.manage" | "expenses.view" | "expenses.manage" | "accounting.view" | "accounting.manage" | "accounting.delete" | "accounting.reports" | "analytics.view" | "analytics.financial" | "analytics.export" | "branches.view" | "branches.manage" | "users.view" | "users.manage" | "roles.manage" | "activity.view" | "settings.manage" | "terminals.manage" | "billing.view" | "billing.manage" | "pos.sell" | "pos.refund" | "pos.discount" | "pos.customers.manage" | "pos.session.operate" | "pos.cash.view" | "pos.cash.deposit" | "pos.cash.withdraw" | "pos.expense.create" | "pos.session.report" | "pos.tables.manage" | "pos.drivers.settle" | "pos.cart.no_remove";
261
261
  export interface IRole {
262
262
  _id?: string;
263
263
  name: NameType;
@@ -248,6 +248,7 @@ export interface OrderType {
248
248
  orderType: PickType;
249
249
  source: 'pos' | 'online';
250
250
  tableNumber?: number;
251
+ guests?: number;
251
252
  customer?: Customer;
252
253
  vendorId?: string;
253
254
  cart?: Cart;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.231",
3
+ "version": "1.0.234",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",