@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 +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/admin/DropshippingAdmin.ts +2 -2
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
|
@@ -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 */
|