feat(modules-sdk): remote query context filter (#7153)
What: - Remote query now handles `context` keywork in the arguments to forward it as a filter to the method `list` - Pricing module `list` method returning `calculated_price` if requested as a field
This commit is contained in:
1 parent
aef222278b
commit
4b57c5d286
10 files changed
+202
-21
No files matched your search
@@ -58,6 +58,12 @@ export interface PriceSetDTO {
|
||||
* The prices that belong to this price set.
|
||||
*/
|
||||
prices?: MoneyAmountDTO[]
|
||||
|
||||
/**
|
||||
* The calculated price based on the context.
|
||||
*/
|
||||
calculated_price?: CalculatedPriceSet
|
||||
|
||||
/**
|
||||
* The rule types applied on this price set.
|
||||
*/
|
||||
@@ -321,7 +327,8 @@ export interface UpdatePriceSetDTO {
|
||||
* Filters to apply on price sets.
|
||||
*/
|
||||
export interface FilterablePriceSetProps
|
||||
extends BaseFilterable<FilterablePriceSetProps> {
|
||||
extends BaseFilterable<FilterablePriceSetProps>,
|
||||
PricingContext {
|
||||
/**
|
||||
* IDs to filter price sets by.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user