shopoflex-types 1.0.139 → 1.0.142

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.
@@ -40,6 +40,7 @@ export interface PurchaseOrderType {
40
40
  createdAt: Date;
41
41
  updatedAt: Date;
42
42
  amountPaid?: number;
43
+ orderDate: Date;
43
44
  }
44
45
  export interface InventoryAdjustmentType {
45
46
  _id?: any;
@@ -7,9 +7,6 @@ export type NameType = {
7
7
  } & {
8
8
  [key: string]: string;
9
9
  };
10
- export interface UsageTypes {
11
- types: ("main_product" | "addon")[];
12
- }
13
10
  export interface CompositionType {
14
11
  componentId: string;
15
12
  variantId: string;
@@ -57,7 +54,7 @@ export interface ProductType {
57
54
  modifiers?: Modifier[];
58
55
  hasModifiers?: boolean;
59
56
  isSellable?: boolean;
60
- usageTypes?: UsageTypes;
57
+ usageTypes?: Array<"main_product" | "addon">;
61
58
  notes?: ProductNotes;
62
59
  label?: Label;
63
60
  hasVariants?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.139",
3
+ "version": "1.0.142",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",