@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
- usageLimitType
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
- id
255
- voucherCode
256
- voucherType
257
- isBirthday
258
- discountAmount
259
- discountPercent
260
- usageLimitPerVoucher
261
- numberOfTimeUsed
262
- maximumDiscount
263
- memberLevel
264
- affiliateId
265
- description
266
- usageLimitType
267
- minimumSpend
268
- maximumSpend
269
- expiryDate
270
- isUsable
271
- unusableReasons
272
- remainingAmount
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "4.8.2",
3
+ "version": "4.8.3",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [