shopoflex-types 1.0.195 → 1.0.197

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
@@ -28,6 +28,7 @@ export interface Discount {
28
28
  customerMessage?: string;
29
29
  showOnHomePage?: boolean;
30
30
  orderTypes?: PickType[];
31
+ applicableCustomer?: any;
31
32
  applicableBranches?: mongoose.Types.ObjectId[];
32
33
  }
33
34
  export declare enum TemplateId {
@@ -398,6 +399,7 @@ export interface Vendor {
398
399
  taxManagement?: TaxConfig;
399
400
  currentPlan?: VendorCurrentPlan;
400
401
  branding?: any;
402
+ onlineOrdersHandlers?: string[];
401
403
  getTaxConfig(country?: string): TaxSettings;
402
404
  calculateTax(subtotal: number, country?: string): {
403
405
  taxAmount: number;
@@ -25,6 +25,11 @@ export interface VariantType {
25
25
  barcode?: string;
26
26
  isActive?: boolean;
27
27
  sortOrder?: number;
28
+ subscriptionConfig?: {
29
+ isActive: boolean;
30
+ duration: number;
31
+ usageLimit: number;
32
+ };
28
33
  stockAlertConfig?: {
29
34
  enabled?: boolean;
30
35
  thresholds?: number[];
@@ -61,6 +66,7 @@ export interface ProductType {
61
66
  sort?: number;
62
67
  isActive: boolean;
63
68
  taxEnabled?: boolean;
69
+ showOnWebsite?: boolean;
64
70
  specifications?: {
65
71
  active: boolean;
66
72
  values: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.195",
3
+ "version": "1.0.197",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",