@longvansoftware/storefront-js-client 0.0.2 → 0.0.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.
Files changed (29) hide show
  1. package/dist/constants/graphql/mutations/authorizationMutations.d.ts +7 -0
  2. package/dist/constants/graphql/mutations/authorizationMutations.js +99 -0
  3. package/dist/constants/graphql/mutations/crmMutations.d.ts +8 -0
  4. package/dist/constants/graphql/mutations/crmMutations.js +368 -0
  5. package/dist/constants/graphql/mutations/userMutations.d.ts +4 -0
  6. package/dist/constants/graphql/mutations/userMutations.js +116 -0
  7. package/dist/constants/graphql/queries/crmQueries.d.ts +1 -0
  8. package/dist/constants/graphql/queries/crmQueries.js +45 -0
  9. package/dist/constants/graphql/queries/productQueries.d.ts +9 -0
  10. package/dist/constants/graphql/queries/productQueries.js +368 -0
  11. package/dist/constants/interfaces/authorization.d.ts +82 -0
  12. package/dist/constants/interfaces/authorization.js +2 -0
  13. package/dist/constants/interfaces/crm.d.ts +218 -0
  14. package/dist/constants/interfaces/crm.js +2 -0
  15. package/dist/constants/interfaces/product.d.ts +61 -0
  16. package/dist/constants/interfaces/product.js +2 -0
  17. package/dist/constants/interfaces/user.d.ts +49 -0
  18. package/dist/constants/interfaces/user.js +2 -0
  19. package/dist/index.d.ts +19 -0
  20. package/dist/index.js +17 -0
  21. package/dist/modules/authorization/graphql.d.ts +15 -0
  22. package/dist/modules/authorization/graphql.js +116 -0
  23. package/dist/modules/crm/graphql.d.ts +19 -0
  24. package/dist/modules/crm/graphql.js +291 -0
  25. package/dist/modules/product/graphql.d.ts +19 -0
  26. package/dist/modules/product/graphql.js +180 -0
  27. package/dist/modules/user/graphql.d.ts +14 -0
  28. package/dist/modules/user/graphql.js +156 -0
  29. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ export declare const LOGIN_MUTATION: import("graphql").DocumentNode;
2
+ export declare const REGISTER_MUTATION: import("graphql").DocumentNode;
3
+ export declare const SEND_SMS_VERIFY_CODE_MUTATION: import("graphql").DocumentNode;
4
+ export declare const VERIFY_CODE_MUTATION: import("graphql").DocumentNode;
5
+ export declare const RESET_PASSWORD_MUTATION: import("graphql").DocumentNode;
6
+ export declare const UPDATE_INFO_MUTATION: import("graphql").DocumentNode;
7
+ export declare const UPDATE_PASSWORD_MUTATION = "\n mutation UpdatePassword($orgId: String!, $accessToken: String!, $currentPassword: String!, $newPassword: String!) {\n updatePassword(orgId: $orgId, accessToken: $accessToken, currentPassword: $currentPassword, newPassword: $newPassword)\n }\n";
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UPDATE_PASSWORD_MUTATION = exports.UPDATE_INFO_MUTATION = exports.RESET_PASSWORD_MUTATION = exports.VERIFY_CODE_MUTATION = exports.SEND_SMS_VERIFY_CODE_MUTATION = exports.REGISTER_MUTATION = exports.LOGIN_MUTATION = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.LOGIN_MUTATION = (0, graphql_tag_1.gql) `
6
+ mutation Login($loginRequest: LoginRequest!) {
7
+ login(loginRequest: $loginRequest) {
8
+ partyId
9
+ orgId
10
+ fullName
11
+ email
12
+ phone
13
+ address
14
+ identityNumber
15
+ gender
16
+ birthDate
17
+ avatarUrl
18
+ accessToken
19
+ username
20
+ orgPermissionsMap
21
+ orgPositionsMap
22
+ orgRolesMap
23
+ }
24
+ }
25
+ `;
26
+ exports.REGISTER_MUTATION = (0, graphql_tag_1.gql) `
27
+ mutation Register($orgId: String!, $registerRequest: RegisterRequest!) {
28
+ register(orgId: $orgId, registerRequest: $registerRequest) {
29
+ id
30
+ partyId
31
+ type
32
+ username
33
+ status
34
+ accessToken
35
+ }
36
+ }
37
+ `;
38
+ exports.SEND_SMS_VERIFY_CODE_MUTATION = (0, graphql_tag_1.gql) `
39
+ mutation SendSmsVerifyCode($orgId: String!, $username: String!) {
40
+ sendSmsVerifyCode(orgId: $orgId, username: $username) {
41
+ id
42
+ code
43
+ username
44
+ timeExpired
45
+ }
46
+ }
47
+ `;
48
+ exports.VERIFY_CODE_MUTATION = (0, graphql_tag_1.gql) `
49
+ mutation VerifyCode($orgId: String!, $verifyCodeRequest: VerifyCodeRequest!) {
50
+ verifyCode(orgId: $orgId, verifyCodeRequest: $verifyCodeRequest)
51
+ }
52
+ `;
53
+ exports.RESET_PASSWORD_MUTATION = (0, graphql_tag_1.gql) `
54
+ mutation ResetPassword(
55
+ $orgId: String!
56
+ $username: String!
57
+ $newPassword: String!
58
+ $accessToken: String!
59
+ ) {
60
+ resetPassword(
61
+ orgId: $orgId
62
+ username: $username
63
+ newPassword: $newPassword
64
+ accessToken: $accessToken
65
+ )
66
+ }
67
+ `;
68
+ exports.UPDATE_INFO_MUTATION = (0, graphql_tag_1.gql) `
69
+ mutation UpdateInfo(
70
+ $orgId: String
71
+ $accessToken: String
72
+ $updateUserRequest: UpdateUserRequest
73
+ $type: String
74
+ $password: String
75
+ ) {
76
+ updateInfo(
77
+ orgId: $orgId
78
+ accessToken: $accessToken
79
+ updateUserRequest: $updateUserRequest
80
+ type: $type
81
+ password: $password
82
+ ) {
83
+ partyId
84
+ fullName
85
+ email
86
+ phone
87
+ address
88
+ identityNumber
89
+ gender
90
+ birthDate
91
+ avatarUrl
92
+ }
93
+ }
94
+ `;
95
+ exports.UPDATE_PASSWORD_MUTATION = `
96
+ mutation UpdatePassword($orgId: String!, $accessToken: String!, $currentPassword: String!, $newPassword: String!) {
97
+ updatePassword(orgId: $orgId, accessToken: $accessToken, currentPassword: $currentPassword, newPassword: $newPassword)
98
+ }
99
+ `;
@@ -0,0 +1,8 @@
1
+ export declare const ADD_OPPORTUNITY_MUTATION: import("graphql").DocumentNode;
2
+ export declare const GET_LIST_TODO: import("graphql").DocumentNode;
3
+ export declare const GET_LIST_WORK_EFFORT_TYPE: import("graphql").DocumentNode;
4
+ export declare const UPDATE_STATUS_ATTACHMENT_BY_ID: import("graphql").DocumentNode;
5
+ export declare const UPDATE_WORK_EFFORT_DESCRIPTION: import("graphql").DocumentNode;
6
+ export declare const UPDATE_WORK_EFFORT_NAME: import("graphql").DocumentNode;
7
+ export declare const UPDATE_WORK_EFFORT_STATUS: import("graphql").DocumentNode;
8
+ export declare const ADD_ATTACHMENT_FOR_WORK_EFFORT: import("graphql").DocumentNode;
@@ -0,0 +1,368 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = exports.UPDATE_WORK_EFFORT_STATUS = exports.UPDATE_WORK_EFFORT_NAME = exports.UPDATE_WORK_EFFORT_DESCRIPTION = exports.UPDATE_STATUS_ATTACHMENT_BY_ID = exports.GET_LIST_WORK_EFFORT_TYPE = exports.GET_LIST_TODO = exports.ADD_OPPORTUNITY_MUTATION = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.ADD_OPPORTUNITY_MUTATION = (0, graphql_tag_1.gql) `
6
+ mutation AddOpportunity(
7
+ $partyId: String!
8
+ $addOpportunityRequest: AddOpportunityRequest!
9
+ $performerId: String!
10
+ ) {
11
+ addOpportunity(
12
+ partyId: $partyId
13
+ addOpportunityRequest: $addOpportunityRequest
14
+ performerId: $performerId
15
+ ) {
16
+ goal
17
+ campaignId
18
+ valueReal
19
+ valueExpect
20
+ successRate
21
+ referName
22
+ referPhone
23
+ referEmail
24
+ id
25
+ createdBy
26
+ ownerId
27
+ workEffortTypeId
28
+ partyId
29
+ name
30
+ description
31
+ parentId
32
+ status
33
+ stmId
34
+ createdStamp
35
+ updatedStamp
36
+ endDateExpect
37
+ priorityName
38
+ targetId
39
+ targetType
40
+ targetUrl
41
+ extSource
42
+ connectorId
43
+ processResult
44
+ }
45
+ }
46
+ `;
47
+ exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
48
+ query GetListTodo($partyId: String!, $workEffortId: [String]!) {
49
+ getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
50
+ workEffortId
51
+ toDoList {
52
+ listAttachment {
53
+ id
54
+ createdStamp
55
+ createdBy
56
+ updatedBy
57
+ updatedStamp
58
+ partyId
59
+ path
60
+ srcId
61
+ srcName
62
+ srcPath
63
+ srcConfigPathId
64
+ name
65
+ fileType
66
+ type
67
+ status
68
+ referId
69
+ }
70
+ isDone
71
+ id
72
+ workEffortTypeId
73
+ workEffortType {
74
+ id
75
+ name
76
+ group
77
+ createdStamp
78
+ updatedStamp
79
+ updatedBy
80
+ createdBy
81
+ partyId
82
+ actionLinkId
83
+ partyGroupIds
84
+ description
85
+ workFlow {
86
+ stages {
87
+ id
88
+ name
89
+ mode
90
+ workEffortTypeId
91
+ }
92
+ }
93
+ }
94
+ partyId
95
+ name
96
+ description
97
+ parentId
98
+ parentType
99
+ status
100
+ createdStamp
101
+ updatedStamp
102
+ source
103
+ mode
104
+ connectorId
105
+ actionLink {
106
+ name
107
+ uri
108
+ type
109
+ partyId
110
+ fromCollection
111
+ toCollection
112
+ group
113
+ params
114
+ id
115
+ createdStamp
116
+ updatedStamp
117
+ updatedBy
118
+ createdBy
119
+ }
120
+ partyGroupIds
121
+ tagIds
122
+ processResult
123
+ }
124
+ }
125
+ }
126
+ `;
127
+ exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
128
+ query GetListWorkEffortType($partyId: String!, $id: String!){
129
+ getListWorkEffortType(
130
+ partyId: $partyId
131
+ getWorkEffortTypeRequest: {
132
+ id: $id
133
+ isPagination: true }
134
+ ) {
135
+ id
136
+ name
137
+ group
138
+ createdStamp
139
+ updatedStamp
140
+ updatedBy
141
+ createdBy
142
+ partyId
143
+ actionLinkId
144
+ partyGroupIds
145
+ description
146
+ workFlow {
147
+ stages{
148
+ id
149
+ name
150
+ mode
151
+ workEffortTypeId
152
+ }
153
+ }
154
+ }
155
+ }
156
+ `;
157
+ exports.UPDATE_STATUS_ATTACHMENT_BY_ID = (0, graphql_tag_1.gql) `
158
+ mutation UpdateStatusAttachmentById(
159
+ $performerId: String!,
160
+ $attachmentId: String!,
161
+ $status: String!
162
+ ) {
163
+ updateStatusAttachmentById(
164
+ performerId: $performerId,
165
+ attachmentId: $attachmentId,
166
+ status: $status
167
+ ) {
168
+ id
169
+ createdStamp
170
+ updatedStamp
171
+ updatedBy
172
+ createdBy
173
+ partyId
174
+ path
175
+ srcId
176
+ srcName
177
+ srcPath
178
+ srcConfigPathId
179
+ name
180
+ fileType
181
+ type
182
+ status
183
+ referId
184
+ }
185
+ }
186
+ `;
187
+ exports.UPDATE_WORK_EFFORT_DESCRIPTION = (0, graphql_tag_1.gql) `
188
+ mutation UpdateWorkEffortDescription(
189
+ $performerId: String!,
190
+ $workEffortId: String!,
191
+ $description: String!
192
+ ) {
193
+ updateWorkEffortDescription(
194
+ performerId: $performerId,
195
+ workEffortId: $workEffortId,
196
+ description: $description
197
+ ) {
198
+ id
199
+ createdStamp
200
+ updatedStamp
201
+ createdBy
202
+ updatedBy
203
+ name
204
+ partyId
205
+ targetId
206
+ targetType
207
+ targetUrl
208
+ description
209
+ status
210
+ parentId
211
+ workEffortTypeId
212
+ stmId
213
+ workflowId
214
+ endDateExpect
215
+ endDateActual
216
+ startDateActual
217
+ startDateExpect
218
+ source
219
+ ownerId
220
+ priorityName
221
+ priorityValue
222
+ extSource
223
+ extSourceTopicId
224
+ extSourceSocialAppId
225
+ extSourceSupportChannelType
226
+ extSourceSocialChannelType
227
+ extSourceSocialAppName
228
+ extSourceTopicUrl
229
+ connectorId
230
+ mode
231
+ partyGroupIds
232
+ tagIds
233
+ processResult
234
+ }
235
+ }
236
+ `;
237
+ exports.UPDATE_WORK_EFFORT_NAME = (0, graphql_tag_1.gql) `
238
+ mutation UpdateWorkEffortName(
239
+ $partyId: String!,
240
+ $performerId: String!,
241
+ $workEffortId: String!,
242
+ $newName: String!
243
+ ) {
244
+ updateWorkEffortName(
245
+ partyId: $partyId,
246
+ performerId: $performerId,
247
+ workEffortId: $workEffortId,
248
+ newName: $newName
249
+ ) {
250
+ id
251
+ createdStamp
252
+ updatedStamp
253
+ createdBy
254
+ updatedBy
255
+ name
256
+ partyId
257
+ targetId
258
+ targetType
259
+ targetUrl
260
+ description
261
+ status
262
+ parentId
263
+ workEffortTypeId
264
+ stmId
265
+ workflowId
266
+ endDateExpect
267
+ endDateActual
268
+ startDateActual
269
+ startDateExpect
270
+ source
271
+ ownerId
272
+ priorityName
273
+ priorityValue
274
+ extSource
275
+ extSourceTopicId
276
+ extSourceSocialAppId
277
+ extSourceSupportChannelType
278
+ extSourceSocialChannelType
279
+ extSourceSocialAppName
280
+ extSourceTopicUrl
281
+ connectorId
282
+ mode
283
+ partyGroupIds
284
+ tagIds
285
+ processResult
286
+ }
287
+ }
288
+ `;
289
+ exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
290
+ mutation UpdateWorkEffortStatus(
291
+ $partyId: String!,
292
+ $performerId: String!,
293
+ $workEffortId: String!,
294
+ $source: String!,
295
+ $status: String!
296
+ ) {
297
+ updateWorkEffortStatus(
298
+ partyId: $partyId,
299
+ performerId: $performerId,
300
+ workEffortId: $workEffortId,
301
+ source: $source,
302
+ status: $status
303
+ ) {
304
+ id
305
+ createdStamp
306
+ updatedStamp
307
+ createdBy
308
+ updatedBy
309
+ name
310
+ partyId
311
+ targetId
312
+ targetType
313
+ targetUrl
314
+ description
315
+ status
316
+ parentId
317
+ workEffortTypeId
318
+ stmId
319
+ workflowId
320
+ endDateExpect
321
+ endDateActual
322
+ startDateActual
323
+ startDateExpect
324
+ source
325
+ ownerId
326
+ priorityName
327
+ priorityValue
328
+ extSource
329
+ extSourceTopicId
330
+ extSourceSocialAppId
331
+ extSourceSupportChannelType
332
+ extSourceSocialChannelType
333
+ extSourceSocialAppName
334
+ extSourceTopicUrl
335
+ connectorId
336
+ mode
337
+ partyGroupIds
338
+ tagIds
339
+ processResult
340
+ }
341
+ }
342
+ `;
343
+ exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
344
+ mutation ($partyId: String!, $performerId: String!, $workEffortId: String!, $attachments: [AddAttachmentRequest]) {
345
+ addAttachmentForWorkEffort(
346
+ partyId: $partyId
347
+ performerId: $performerId
348
+ workEffortId: $workEffortId
349
+ addAttachmentRequest: $attachments
350
+ ) {
351
+ id
352
+ createdStamp
353
+ updatedStamp
354
+ updatedBy
355
+ createdBy
356
+ partyId
357
+ path
358
+ srcId
359
+ srcName
360
+ srcPath
361
+ srcConfigPathId
362
+ name
363
+ fileType
364
+ type
365
+ referId
366
+ }
367
+ }
368
+ `;
@@ -0,0 +1,4 @@
1
+ export declare const CREATE_COMPANY: import("graphql").DocumentNode;
2
+ export declare const UPDATE_COMPANY_INFOR: import("graphql").DocumentNode;
3
+ export declare const UPDATE_CUSTOMER_V2: import("graphql").DocumentNode;
4
+ export declare const GET_PERSON_BY_PARTY_IDS: import("graphql").DocumentNode;
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GET_PERSON_BY_PARTY_IDS = exports.UPDATE_CUSTOMER_V2 = exports.UPDATE_COMPANY_INFOR = exports.CREATE_COMPANY = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.CREATE_COMPANY = (0, graphql_tag_1.gql) `
6
+ mutation CreateCompany(
7
+ $createCompanyRequest: createCompanyRequestInput!,
8
+ $createTaxCodeRequest: createTaxCodeRequestInput,
9
+ $orgId: String!,
10
+ $createdBy: String!
11
+ ) {
12
+ createCompany(
13
+ createCompanyRequest: $createCompanyRequest,
14
+ createTaxCodeRequest: $createTaxCodeRequest,
15
+ orgId: $orgId,
16
+ createdBy: $createdBy
17
+ ) {
18
+ id
19
+ name
20
+ address
21
+ gender
22
+ identityNumber
23
+ birthDate
24
+ email
25
+ phone
26
+ createdStamp
27
+ createdBy
28
+ memberLevel
29
+ }
30
+ }
31
+ `;
32
+ exports.UPDATE_COMPANY_INFOR = (0, graphql_tag_1.gql) `
33
+ mutation UpdateCompanyInfo(
34
+ $id: String!,
35
+ $fieldName: String!,
36
+ $valueUpdate: String!,
37
+ $orgId: String!,
38
+ $updatedBy: String!
39
+ ) {
40
+ updateCompanyInfo(
41
+ id: $id,
42
+ fieldName: $fieldName,
43
+ valueUpdate: $valueUpdate,
44
+ orgId: $orgId,
45
+ updatedBy: $updatedBy
46
+ ) {
47
+ id
48
+ name
49
+ address
50
+ gender
51
+ identityNumber
52
+ birthDate
53
+ email
54
+ phone
55
+ createdStamp
56
+ createdBy
57
+ memberLevel
58
+ }
59
+ }
60
+ `;
61
+ exports.UPDATE_CUSTOMER_V2 = (0, graphql_tag_1.gql) `
62
+ mutation UpdateCustomerV2(
63
+ $id: String!,
64
+ $updateCustomerRequest: UpdateCustomerRequestInput!,
65
+ $tenantId: String!,
66
+ $updatedBy: String!
67
+ ) {
68
+ updateCustomerV2(
69
+ id: $id,
70
+ updateCustomerRequest: $updateCustomerRequest,
71
+ tenantId: $tenantId,
72
+ updatedBy: $updatedBy
73
+ ) {
74
+ id
75
+ name
76
+ address
77
+ gender
78
+ identityNumber
79
+ birthDate
80
+ email
81
+ phone
82
+ createdStamp
83
+ createdBy
84
+ memberLevel
85
+ }
86
+ }
87
+ `;
88
+ exports.GET_PERSON_BY_PARTY_IDS = (0, graphql_tag_1.gql) `
89
+ query GetPersonByPartyIds($partyIds: [String]!){
90
+ getPersonByPartyIds(partyIds: ["string"]) {
91
+ status
92
+ partyId
93
+ fullName
94
+ phone
95
+ address
96
+ gender
97
+ birthDate
98
+ email
99
+ personalTitle
100
+ imageUrl
101
+ identityNumber
102
+ addressModel {
103
+ id
104
+ addressInfo
105
+ provinceGeoId
106
+ districtGeoId
107
+ wardGeoId
108
+ provinceName
109
+ districtName
110
+ wardName
111
+ isDefault
112
+ }
113
+ id
114
+ }
115
+ }
116
+ `;
@@ -0,0 +1 @@
1
+ export declare const GET_LIST_OPPORTUNITY_QUERY: import("graphql").DocumentNode;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GET_LIST_OPPORTUNITY_QUERY = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.GET_LIST_OPPORTUNITY_QUERY = (0, graphql_tag_1.gql) `
6
+ query GetListOpportunity($partyId: String!, $performerId: String!, $getOpportunityRequest: GetOpportunityRequest!) {
7
+ getListOpportunity(
8
+ partyId: $partyId
9
+ performerId: $performerId
10
+ getOpportunityRequest: $getOpportunityRequest
11
+ ) {
12
+ total
13
+ data {
14
+ goal
15
+ campaignId
16
+ valueReal
17
+ valueExpect
18
+ successRate
19
+ referName
20
+ referPhone
21
+ referEmail
22
+ id
23
+ createdBy
24
+ ownerId
25
+ workEffortTypeId
26
+ partyId
27
+ name
28
+ description
29
+ parentId
30
+ status
31
+ stmId
32
+ createdStamp
33
+ updatedStamp
34
+ endDateExpect
35
+ priorityName
36
+ targetId
37
+ targetType
38
+ targetUrl
39
+ extSource
40
+ connectorId
41
+ processResult
42
+ }
43
+ }
44
+ }
45
+ `;
@@ -0,0 +1,9 @@
1
+ export declare const GET_PRODUCT_BY_ID_QUERY: import("graphql").DocumentNode;
2
+ export declare const GET_PRODUCT_BY_SLUG_QUERY: import("graphql").DocumentNode;
3
+ export declare const GET_SIMPLE_PRODUCTS_QUERY = "\nquery GetSimpleProducts (\n$partnerId: String!\n$storeChannel: String!\n$category: String\n$product: String\n$sku: String\n$tag: String\n$priceFrom: BigDecimal\n$priceTo: BigDecimal\n$status: String\n$productType: String\n$subType: String\n$sortOrder: String\n$sortBy: String\n$brandId: String\n$keyword: String\n$display: String\n$onlyPromotion: Boolean\n$currentPage: Int\n$maxResult: Int\n) {\n\tgetSimpleProducts(\n\tpartnerId: $partnerId\n\tstoreChannel: $storeChannel\n\tcategory: $category\n\tproduct: $product\n\tsku: $sku\n\ttag: $tag\n\tpriceFrom: $priceFrom\n\tpriceTo: $priceTo\n\tstatus: $status\n\tproductType: $productType\n\tsubType: $subType\n\tsortOrder: $sortOrder\n\tsortBy: $sortBy\n\tbrandId: $brandId\n\tkeyword: $keyword\n\tdisplay: $display\n\tonlyPromotion: $onlyPromotion\n\tcurrentPage: $currentPage\n\tmaxResult: $maxResult\n\t) {\n\t\ttotal\n\t\tcurrentPage\n\t\tmaxResult\n\t\ttotalPage\n\t\tdata {\n\t\t\tid\n\t\t\ttitle\n\t\t\tsku\n\t\t\tshortDescription\n\t\t\tvat\n\t\t\tunit\n\t\t\tqualify\n\t\t\tparentId\n\t\t\thandle\n\t\t\tprice\n\t\t\tcompareAtPrice\n\t\t\tfeaturedImage\n\t\t\timages\n\t\t\toptions\n\t\t}\n\t}\n}\n";
4
+ export declare const GET_CATEGORIES_QUERY: import("graphql").DocumentNode;
5
+ export declare const GET_CATEGORY_BY_HANDLE_QUERY: import("graphql").DocumentNode;
6
+ export declare const GET_CATEGORY_BY_ID_QUERY: import("graphql").DocumentNode;
7
+ export declare const GET_BRANDS_QUERY = "\nquery GetBrands($partnerId: String!, $storeChannel: String!, $enable: Boolean) {\n\tgetBrands(partnerId: $partnerId, storeChannel: $storeChannel, enable: $enable) {\n\t\tid\n\t\tname\n\t\timage\n\t\timageIcon\n\t}\n}\n";
8
+ export declare const GET_BRANDS_BY_CATEGORY_QUERY = "\nquery GetBrandsByCategory($partnerId: String!, $storeChannel: String!, $categoryId: String!) {\n\tgetBrandsByCategory(partnerId: $partnerId, storeChannel: $storeChannel, categoryId: $categoryId) {\n\t\tid\n\t\tname\n\t\timage\n\t\timageIcon\n\t}\n}\n";
9
+ export declare const GET_BRAND_DETAIL_QUERY = "\n query GetBrandDetail($partnerId: String!, $brandId: String!, $storeChannel: String!) {\n getDetail(partnerId: $partnerId, brandId: $brandId, storeChannel: $storeChannel) {\n id\n name\n image\n imageIcon\n }\n }\n";