@longvansoftware/storefront-js-client 4.8.2 → 4.8.3
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.
|
@@ -55,7 +55,6 @@ exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
|
|
55
55
|
size
|
|
56
56
|
empty
|
|
57
57
|
content {
|
|
58
|
-
campaignActionId
|
|
59
58
|
campaignId
|
|
60
59
|
partyId
|
|
61
60
|
voucherCode
|
|
@@ -64,7 +63,6 @@ exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
|
|
64
63
|
discountAmount
|
|
65
64
|
discountPercent
|
|
66
65
|
discountType
|
|
67
|
-
discountValue
|
|
68
66
|
usageLimitPerVoucher
|
|
69
67
|
maximumDiscount
|
|
70
68
|
maximumDiscountType
|
|
@@ -81,11 +79,13 @@ exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
|
|
81
79
|
scope
|
|
82
80
|
affiliateId
|
|
83
81
|
description
|
|
84
|
-
|
|
82
|
+
expiryDate
|
|
85
83
|
customAttribute
|
|
86
84
|
assignUserLimit
|
|
87
85
|
ownerPartyId
|
|
88
86
|
migratedFromReferralId
|
|
87
|
+
campaignActionId
|
|
88
|
+
discountValue
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -251,25 +251,30 @@ class CampaignService extends serviceSDK_1.Service {
|
|
|
251
251
|
voucherForUserRequest(orderId_1) {
|
|
252
252
|
return __awaiter(this, arguments, void 0, function* (orderId, customerId = "", paymentMethodId, shippingCompanyId, pageNumber = 0, pageSize = 20, fields = [
|
|
253
253
|
`content {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
254
|
+
id
|
|
255
|
+
voucherCode
|
|
256
|
+
isBirthday
|
|
257
|
+
discountAmount
|
|
258
|
+
discountPercent
|
|
259
|
+
usageLimitPerVoucher
|
|
260
|
+
numberOfTimeUsed
|
|
261
|
+
maximumDiscount
|
|
262
|
+
maximumDiscountType
|
|
263
|
+
memberLevel
|
|
264
|
+
affiliateId
|
|
265
|
+
description
|
|
266
|
+
usageLimitType
|
|
267
|
+
minimumSpend
|
|
268
|
+
maximumSpend
|
|
269
|
+
expiryDate
|
|
270
|
+
isUsable
|
|
271
|
+
unusableReasons
|
|
272
|
+
remainingAmount
|
|
273
|
+
discountType
|
|
274
|
+
discountValue
|
|
275
|
+
ownerPartyId
|
|
276
|
+
rewardType
|
|
277
|
+
voucherType
|
|
273
278
|
}`,
|
|
274
279
|
"total",
|
|
275
280
|
"pageNumber",
|