@longvansoftware/service-js-client 1.17.8 → 1.18.1

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.
@@ -82,12 +82,8 @@ exports.GET_CAMPAIGN_ACTION_BY_ID = (0, graphql_tag_1.gql) `
82
82
  // }
83
83
  // `;
84
84
  exports.SUGGEST_VOUCHER = (0, graphql_tag_1.gql) `
85
- query SuggestVoucher(
86
- $searchVoucherRequest: SearchVoucherRequest
87
- ) {
88
- suggestVoucher(
89
- searchVoucherRequest: $searchVoucherRequest
90
- ) {
85
+ query SuggestVoucher($searchVoucherRequest: SearchVoucherRequest) {
86
+ suggestVoucher(searchVoucherRequest: $searchVoucherRequest) {
91
87
  total
92
88
  totalPages
93
89
  totalElements
@@ -176,6 +172,12 @@ exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
176
172
  isBirthday
177
173
  customerId
178
174
  scope
175
+ affiliateId
176
+ description
177
+ usageLimitType
178
+ maximumDiscountType
179
+ customAttribute
180
+ assignUserLimit
179
181
  }
180
182
  }
181
183
  }
@@ -313,6 +315,12 @@ exports.GET_VOUCHERS_V2 = (0, graphql_tag_1.gql) `
313
315
  isBirthday
314
316
  customerId
315
317
  scope
318
+ affiliateId
319
+ description
320
+ usageLimitType
321
+ maximumDiscountType
322
+ customAttribute
323
+ assignUserLimit
316
324
  }
317
325
  }
318
326
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/service-js-client",
3
- "version": "1.17.8",
3
+ "version": "1.18.1",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [