@longvansoftware/service-js-client 1.3.0 → 1.3.2

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.
@@ -32,6 +32,6 @@ exports.environmentEndpoints = {
32
32
  dns: "https://admin.longvan.net/powerdns/dns",
33
33
  crm_camping: "https://crm.longvan.vn/campaign-gateway/graphql",
34
34
  order_graphQL: "https://api-gateway.longvan.vn/order-cloud-service/graphql",
35
- paymentLV: "https://payment.longvan.vn/graphql",
35
+ paymentLV: "https://payment-staging.longvan.vn/graphql",
36
36
  },
37
37
  };
@@ -205,6 +205,7 @@ exports.GET_PRODUCT_BY_SLUG_QUERY = (0, graphql_tag_1.gql) `
205
205
  ) {
206
206
  id
207
207
  title
208
+ subType
208
209
  description
209
210
  sku
210
211
  shortDescription
@@ -213,24 +214,35 @@ exports.GET_PRODUCT_BY_SLUG_QUERY = (0, graphql_tag_1.gql) `
213
214
  depth
214
215
  height
215
216
  vat
217
+ unitDTO {
218
+ id
219
+ name
220
+ }
221
+ productAttributes {
222
+ attributeName
223
+ attributeValue
224
+ }
216
225
  qualify
217
226
  parentId
218
227
  handle
219
228
  price
229
+ priceType
230
+ salePolicy
231
+ priceTypeName
232
+ priceVaries
233
+ available
234
+ tags
220
235
  options
221
236
  optionsRelationship
222
237
  compareAtPrice
223
238
  featuredImage
224
239
  images
225
- productAttributes {
226
- attributeName
227
- attributeValue
228
- }
229
240
  variants {
230
241
  id
231
242
  handle
232
243
  title
233
244
  price
245
+ priceType
234
246
  compareAtPrice
235
247
  options
236
248
  optionsIds
@@ -247,6 +259,12 @@ exports.GET_PRODUCT_BY_SLUG_QUERY = (0, graphql_tag_1.gql) `
247
259
  title
248
260
  handle
249
261
  }
262
+ groups {
263
+ id
264
+ name
265
+ policy
266
+ image
267
+ }
250
268
  }
251
269
  }
252
270
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/service-js-client",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [