@thorprovider/types 5.3.7 → 5.3.8

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.mts CHANGED
@@ -3850,17 +3850,17 @@ interface DropshipperVariantSalePricing {
3850
3850
  currency: string;
3851
3851
  tiers: DropshipperSaleTier[];
3852
3852
  }
3853
- /** Margin (Y) */
3853
+ /** Margin (Y): amount (currency), percent (margin as % of sale) and markup_percent (markup % over cost) */
3854
3854
  interface DropshipperVariantMarginPricing {
3855
3855
  amount: number;
3856
3856
  percent: number;
3857
+ markup_percent: number;
3857
3858
  }
3858
3859
  /** Pricing bundle for a variant */
3859
3860
  interface DropshipperVariantPricing {
3860
3861
  cost: DropshipperVariantCostPricing;
3861
3862
  sale: DropshipperVariantSalePricing;
3862
3863
  margin: DropshipperVariantMarginPricing;
3863
- markup_percent: number;
3864
3864
  }
3865
3865
  /** A product variant as seen by the dropshipper */
3866
3866
  interface DropshipperVariant {
package/dist/index.d.ts CHANGED
@@ -3850,17 +3850,17 @@ interface DropshipperVariantSalePricing {
3850
3850
  currency: string;
3851
3851
  tiers: DropshipperSaleTier[];
3852
3852
  }
3853
- /** Margin (Y) */
3853
+ /** Margin (Y): amount (currency), percent (margin as % of sale) and markup_percent (markup % over cost) */
3854
3854
  interface DropshipperVariantMarginPricing {
3855
3855
  amount: number;
3856
3856
  percent: number;
3857
+ markup_percent: number;
3857
3858
  }
3858
3859
  /** Pricing bundle for a variant */
3859
3860
  interface DropshipperVariantPricing {
3860
3861
  cost: DropshipperVariantCostPricing;
3861
3862
  sale: DropshipperVariantSalePricing;
3862
3863
  margin: DropshipperVariantMarginPricing;
3863
- markup_percent: number;
3864
3864
  }
3865
3865
  /** A product variant as seen by the dropshipper */
3866
3866
  interface DropshipperVariant {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thorprovider/types",
3
- "version": "5.3.7",
3
+ "version": "5.3.8",
4
4
  "description": "Shared TypeScript types for Thor Commerce ecosystem - Framework-agnostic type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -165,10 +165,11 @@ export interface DropshipperVariantSalePricing {
165
165
  tiers: DropshipperSaleTier[];
166
166
  }
167
167
 
168
- /** Margin (Y) */
168
+ /** Margin (Y): amount (currency), percent (margin as % of sale) and markup_percent (markup % over cost) */
169
169
  export interface DropshipperVariantMarginPricing {
170
170
  amount: number;
171
171
  percent: number;
172
+ markup_percent: number;
172
173
  }
173
174
 
174
175
  /** Pricing bundle for a variant */
@@ -176,7 +177,6 @@ export interface DropshipperVariantPricing {
176
177
  cost: DropshipperVariantCostPricing;
177
178
  sale: DropshipperVariantSalePricing;
178
179
  margin: DropshipperVariantMarginPricing;
179
- markup_percent: number;
180
180
  }
181
181
 
182
182
  /** A product variant as seen by the dropshipper */