@longvansoftware/storefront-js-client 3.2.6 → 3.2.7
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.
|
@@ -373,6 +373,7 @@ exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
|
|
|
373
373
|
$storeId: String
|
|
374
374
|
$productIds: [String]
|
|
375
375
|
$campaignActionId: String
|
|
376
|
+
$sort: [BaseSortRequest]
|
|
376
377
|
) {
|
|
377
378
|
searchProductGiftPromotionResponse(
|
|
378
379
|
parameterSearchProductGift: {
|
|
@@ -380,6 +381,7 @@ exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
|
|
|
380
381
|
storeId: $storeId
|
|
381
382
|
productIds: $productIds
|
|
382
383
|
campaignActionId: $campaignActionId
|
|
384
|
+
sort: $sort
|
|
383
385
|
}
|
|
384
386
|
) {
|
|
385
387
|
total
|
|
@@ -203,6 +203,7 @@ class CampaignService extends serviceSDK_1.Service {
|
|
|
203
203
|
storeId: this.storeId,
|
|
204
204
|
productIds: productIds,
|
|
205
205
|
campaignActionId: campaignActionId,
|
|
206
|
+
sort: { asc: true, key: "createdStamp" },
|
|
206
207
|
};
|
|
207
208
|
try {
|
|
208
209
|
const response = yield this.graphqlQuery(query, variables);
|