@marmot-systems/common 2.0.67 → 2.0.68

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/index.d.cts CHANGED
@@ -524,8 +524,8 @@ type InvoiceItemResponse = {
524
524
  credit_type: CreditType | null;
525
525
  product_name: string;
526
526
  product_description: string | null;
527
- product_type: "unit" | "weight" | "case";
528
- weight_unit: "kg" | "lb" | "g" | "oz" | null;
527
+ product_type: ProductType;
528
+ weight_unit: WeightUnit | null;
529
529
  rule_name: string | null;
530
530
  tax_percentage: number | null;
531
531
  };
@@ -538,8 +538,8 @@ type MappedInvoiceItem = {
538
538
  credit_type?: CreditType;
539
539
  product_name: string;
540
540
  product_description?: string;
541
- product_type: "unit" | "weight" | "case";
542
- weight_unit?: "kg" | "lb" | "g" | "oz";
541
+ product_type: ProductType;
542
+ weight_unit?: WeightUnit;
543
543
  rule_name?: string;
544
544
  tax_percentage?: number;
545
545
  };
package/dist/index.d.ts CHANGED
@@ -524,8 +524,8 @@ type InvoiceItemResponse = {
524
524
  credit_type: CreditType | null;
525
525
  product_name: string;
526
526
  product_description: string | null;
527
- product_type: "unit" | "weight" | "case";
528
- weight_unit: "kg" | "lb" | "g" | "oz" | null;
527
+ product_type: ProductType;
528
+ weight_unit: WeightUnit | null;
529
529
  rule_name: string | null;
530
530
  tax_percentage: number | null;
531
531
  };
@@ -538,8 +538,8 @@ type MappedInvoiceItem = {
538
538
  credit_type?: CreditType;
539
539
  product_name: string;
540
540
  product_description?: string;
541
- product_type: "unit" | "weight" | "case";
542
- weight_unit?: "kg" | "lb" | "g" | "oz";
541
+ product_type: ProductType;
542
+ weight_unit?: WeightUnit;
543
543
  rule_name?: string;
544
544
  tax_percentage?: number;
545
545
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marmot-systems/common",
3
- "version": "2.0.67",
3
+ "version": "2.0.68",
4
4
  "description": "Schemas and utils shared across Marmot apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",