@longvansoftware/storefront-js-client 2.7.6 → 2.7.8

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.
@@ -63,7 +63,7 @@ exports.UPDATE_CATEGORY = (0, graphql_tag_1.gql) `
63
63
  updateCategory(
64
64
  productId: $productId
65
65
  categoryId: $categoryId
66
- updatedBy: $updateBy
66
+ updatedBy: $updatedBy
67
67
  ) {
68
68
  status
69
69
  message
@@ -102,7 +102,6 @@ exports.GET_PRODUCT_BY_ID_QUERY = (0, graphql_tag_1.gql) `
102
102
  ) {
103
103
  id
104
104
  title
105
- subType
106
105
  description
107
106
  sku
108
107
  shortDescription
@@ -115,28 +114,20 @@ exports.GET_PRODUCT_BY_ID_QUERY = (0, graphql_tag_1.gql) `
115
114
  parentId
116
115
  handle
117
116
  price
118
- displayPrice
119
- hint
120
- compareAtPrices
121
- priceUnit
122
- priceQuantity
123
- priceType
124
- salePolicy
125
- priceTypeName
126
- priceVaries
127
- available
128
- tags
129
117
  options
130
118
  optionsRelationship
131
119
  compareAtPrice
132
120
  featuredImage
133
121
  images
122
+ productAttributes {
123
+ attributeName
124
+ attributeValue
125
+ }
134
126
  variants {
135
127
  id
136
128
  handle
137
129
  title
138
130
  price
139
- priceType
140
131
  compareAtPrice
141
132
  options
142
133
  optionsIds
@@ -146,38 +137,16 @@ exports.GET_PRODUCT_BY_ID_QUERY = (0, graphql_tag_1.gql) `
146
137
  featureTypes {
147
138
  id
148
139
  name
149
- position
150
- type
151
- subType
152
- fill
153
- requireData
154
140
  values
155
- createStamp
156
- createdBy
141
+ valuesFull {
142
+ id
143
+ name
144
+ }
157
145
  }
158
146
  categories {
159
147
  id
160
148
  title
161
- image
162
- icon
163
- parentId
164
- level
165
149
  handle
166
- description
167
- }
168
- groups {
169
- id
170
- name
171
- policy
172
- image
173
- }
174
- productAttributes {
175
- attributeName
176
- attributeValue
177
- }
178
- unitDTO {
179
- id
180
- name
181
150
  }
182
151
  }
183
152
  }
@@ -237,6 +206,10 @@ exports.GET_PRODUCT_BY_SLUG_QUERY = (0, graphql_tag_1.gql) `
237
206
  title
238
207
  handle
239
208
  }
209
+ unitDTO {
210
+ id
211
+ name
212
+ }
240
213
  }
241
214
  }
242
215
  `;
@@ -17,7 +17,7 @@ class ComhubService extends serviceSDK_1.Service {
17
17
  }
18
18
  sendZns(dataTemplate, appId, messageType) {
19
19
  return __awaiter(this, void 0, void 0, function* () {
20
- const endpoint = `/web-hook/message/v2/send/social/ZNS/app/${appId}/message-type/${messageType}`;
20
+ const endpoint = `/web-hook/message/send/social/ZNS/app/${appId}/message-type/${messageType}`;
21
21
  const method = "POST";
22
22
  try {
23
23
  const response = yield this.restApiCallWithNoHeader(endpoint, method, dataTemplate);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "2.7.6",
3
+ "version": "2.7.8",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [