@longvansoftware/storefront-js-client 0.0.2 → 1.0.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.
Files changed (51) hide show
  1. package/dist/config/config.d.ts +18 -0
  2. package/dist/config/config.js +21 -0
  3. package/dist/src/graphql/auth/mutations.d.ts +7 -0
  4. package/dist/src/graphql/auth/mutations.js +99 -0
  5. package/dist/src/graphql/crm/mutations.d.ts +6 -0
  6. package/dist/src/graphql/crm/mutations.js +258 -0
  7. package/dist/src/graphql/crm/queries.d.ts +3 -0
  8. package/dist/src/graphql/crm/queries.js +155 -0
  9. package/dist/src/graphql/payment/mutations.d.ts +1 -0
  10. package/dist/src/graphql/payment/mutations.js +35 -0
  11. package/dist/src/graphql/payment/queries.d.ts +1 -0
  12. package/dist/src/graphql/payment/queries.js +12 -0
  13. package/dist/src/graphql/product/mutations.d.ts +0 -0
  14. package/dist/src/graphql/product/mutations.js +1 -0
  15. package/dist/src/graphql/product/queries.d.ts +10 -0
  16. package/dist/src/graphql/product/queries.js +415 -0
  17. package/dist/src/graphql/user/mutations.d.ts +3 -0
  18. package/dist/src/graphql/user/mutations.js +87 -0
  19. package/dist/src/graphql/user/queries.d.ts +3 -0
  20. package/dist/src/graphql/user/queries.js +67 -0
  21. package/dist/src/index.d.ts +1 -0
  22. package/dist/src/index.js +5 -0
  23. package/dist/src/lib/SDK.d.ts +28 -0
  24. package/dist/src/lib/SDK.js +43 -0
  25. package/dist/src/lib/auth/index.d.ts +26 -0
  26. package/dist/src/lib/auth/index.js +54 -0
  27. package/dist/src/lib/crm/index.d.ts +14 -0
  28. package/dist/src/lib/crm/index.js +185 -0
  29. package/dist/src/lib/order/index.d.ts +87 -0
  30. package/dist/src/lib/order/index.js +209 -0
  31. package/dist/src/lib/payment/index.d.ts +6 -0
  32. package/dist/src/lib/payment/index.js +50 -0
  33. package/dist/src/lib/product/index.d.ts +36 -0
  34. package/dist/src/lib/product/index.js +116 -0
  35. package/dist/src/lib/service.d.ts +14 -0
  36. package/dist/src/lib/service.js +97 -0
  37. package/dist/src/lib/user/index.d.ts +11 -0
  38. package/dist/src/lib/user/index.js +135 -0
  39. package/dist/src/types/auth.d.ts +82 -0
  40. package/dist/src/types/auth.js +2 -0
  41. package/dist/src/types/crm.d.ts +219 -0
  42. package/dist/src/types/crm.js +2 -0
  43. package/dist/src/types/order.d.ts +7 -0
  44. package/dist/src/types/order.js +2 -0
  45. package/dist/src/types/product.d.ts +61 -0
  46. package/dist/src/types/product.js +2 -0
  47. package/dist/src/types/user.d.ts +49 -0
  48. package/dist/src/types/user.js +2 -0
  49. package/dist/src/utils/helpers.d.ts +4 -0
  50. package/dist/src/utils/helpers.js +41 -0
  51. package/package.json +25 -19
@@ -0,0 +1,18 @@
1
+ export declare const environmentEndpoints: {
2
+ dev: {
3
+ product: string;
4
+ crm: string;
5
+ auth: string;
6
+ order: string;
7
+ user: string;
8
+ payment: string;
9
+ };
10
+ live: {
11
+ product: string;
12
+ crm: string;
13
+ auth: string;
14
+ order: string;
15
+ user: string;
16
+ payment: string;
17
+ };
18
+ };
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.environmentEndpoints = void 0;
4
+ exports.environmentEndpoints = {
5
+ dev: {
6
+ product: "https://product-service.dev.longvan.vn/product-service/graphql",
7
+ crm: "https://crm-ticket-gateway.dev.longvan.vn/crm-graph-gateway/graphql",
8
+ auth: "https://crm.dev.longvan.vn/authorization-gateway/graphql",
9
+ order: "https://storefront.dev.longvan.vn/v2",
10
+ user: "https://user.dev.longvan.vn/user-gateway/graphql",
11
+ payment: "https://portal.dev.longvan.vn/invoice-gateway/graphql",
12
+ },
13
+ live: {
14
+ product: "https://product-service.dev.longvan.vn/product-service/graphql",
15
+ crm: "https://crm-ticket-gateway.dev.longvan.vn/crm-graph-gateway/graphql",
16
+ auth: "https://crm.dev.longvan.vn/authorization-gateway/graphql",
17
+ order: "https://storefront.dev.longvan.vn/v2",
18
+ user: "https://user.dev.longvan.vn/user-gateway/graphql",
19
+ payment: "https://portal.dev.longvan.vn/invoice-gateway/graphql",
20
+ },
21
+ };
@@ -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,6 @@
1
+ export declare const ADD_OPPORTUNITY_MUTATION: import("graphql").DocumentNode;
2
+ export declare const UPDATE_STATUS_ATTACHMENT_BY_ID: import("graphql").DocumentNode;
3
+ export declare const UPDATE_WORK_EFFORT_DESCRIPTION: import("graphql").DocumentNode;
4
+ export declare const UPDATE_WORK_EFFORT_NAME: import("graphql").DocumentNode;
5
+ export declare const UPDATE_WORK_EFFORT_STATUS: import("graphql").DocumentNode;
6
+ export declare const ADD_ATTACHMENT_FOR_WORK_EFFORT: import("graphql").DocumentNode;
@@ -0,0 +1,258 @@
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.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.UPDATE_STATUS_ATTACHMENT_BY_ID = (0, graphql_tag_1.gql) `
48
+ mutation UpdateStatusAttachmentById(
49
+ $performerId: String!,
50
+ $attachmentId: String!,
51
+ $status: String!
52
+ ) {
53
+ updateStatusAttachmentById(
54
+ performerId: $performerId,
55
+ attachmentId: $attachmentId,
56
+ status: $status
57
+ ) {
58
+ id
59
+ createdStamp
60
+ updatedStamp
61
+ updatedBy
62
+ createdBy
63
+ partyId
64
+ path
65
+ srcId
66
+ srcName
67
+ srcPath
68
+ srcConfigPathId
69
+ name
70
+ fileType
71
+ type
72
+ status
73
+ referId
74
+ }
75
+ }
76
+ `;
77
+ exports.UPDATE_WORK_EFFORT_DESCRIPTION = (0, graphql_tag_1.gql) `
78
+ mutation UpdateWorkEffortDescription(
79
+ $performerId: String!,
80
+ $workEffortId: String!,
81
+ $description: String!
82
+ ) {
83
+ updateWorkEffortDescription(
84
+ performerId: $performerId,
85
+ workEffortId: $workEffortId,
86
+ description: $description
87
+ ) {
88
+ id
89
+ createdStamp
90
+ updatedStamp
91
+ createdBy
92
+ updatedBy
93
+ name
94
+ partyId
95
+ targetId
96
+ targetType
97
+ targetUrl
98
+ description
99
+ status
100
+ parentId
101
+ workEffortTypeId
102
+ stmId
103
+ workflowId
104
+ endDateExpect
105
+ endDateActual
106
+ startDateActual
107
+ startDateExpect
108
+ source
109
+ ownerId
110
+ priorityName
111
+ priorityValue
112
+ extSource
113
+ extSourceTopicId
114
+ extSourceSocialAppId
115
+ extSourceSupportChannelType
116
+ extSourceSocialChannelType
117
+ extSourceSocialAppName
118
+ extSourceTopicUrl
119
+ connectorId
120
+ mode
121
+ partyGroupIds
122
+ tagIds
123
+ processResult
124
+ }
125
+ }
126
+ `;
127
+ exports.UPDATE_WORK_EFFORT_NAME = (0, graphql_tag_1.gql) `
128
+ mutation UpdateWorkEffortName(
129
+ $partyId: String!,
130
+ $performerId: String!,
131
+ $workEffortId: String!,
132
+ $newName: String!
133
+ ) {
134
+ updateWorkEffortName(
135
+ partyId: $partyId,
136
+ performerId: $performerId,
137
+ workEffortId: $workEffortId,
138
+ newName: $newName
139
+ ) {
140
+ id
141
+ createdStamp
142
+ updatedStamp
143
+ createdBy
144
+ updatedBy
145
+ name
146
+ partyId
147
+ targetId
148
+ targetType
149
+ targetUrl
150
+ description
151
+ status
152
+ parentId
153
+ workEffortTypeId
154
+ stmId
155
+ workflowId
156
+ endDateExpect
157
+ endDateActual
158
+ startDateActual
159
+ startDateExpect
160
+ source
161
+ ownerId
162
+ priorityName
163
+ priorityValue
164
+ extSource
165
+ extSourceTopicId
166
+ extSourceSocialAppId
167
+ extSourceSupportChannelType
168
+ extSourceSocialChannelType
169
+ extSourceSocialAppName
170
+ extSourceTopicUrl
171
+ connectorId
172
+ mode
173
+ partyGroupIds
174
+ tagIds
175
+ processResult
176
+ }
177
+ }
178
+ `;
179
+ exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
180
+ mutation UpdateWorkEffortStatus(
181
+ $partyId: String!,
182
+ $performerId: String!,
183
+ $workEffortId: String!,
184
+ $source: String!,
185
+ $status: String!
186
+ ) {
187
+ updateWorkEffortStatus(
188
+ partyId: $partyId,
189
+ performerId: $performerId,
190
+ workEffortId: $workEffortId,
191
+ source: $source,
192
+ status: $status
193
+ ) {
194
+ id
195
+ createdStamp
196
+ updatedStamp
197
+ createdBy
198
+ updatedBy
199
+ name
200
+ partyId
201
+ targetId
202
+ targetType
203
+ targetUrl
204
+ description
205
+ status
206
+ parentId
207
+ workEffortTypeId
208
+ stmId
209
+ workflowId
210
+ endDateExpect
211
+ endDateActual
212
+ startDateActual
213
+ startDateExpect
214
+ source
215
+ ownerId
216
+ priorityName
217
+ priorityValue
218
+ extSource
219
+ extSourceTopicId
220
+ extSourceSocialAppId
221
+ extSourceSupportChannelType
222
+ extSourceSocialChannelType
223
+ extSourceSocialAppName
224
+ extSourceTopicUrl
225
+ connectorId
226
+ mode
227
+ partyGroupIds
228
+ tagIds
229
+ processResult
230
+ }
231
+ }
232
+ `;
233
+ exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
234
+ mutation ($partyId: String!, $performerId: String!, $workEffortId: String!, $attachments: [AddAttachmentRequest]) {
235
+ addAttachmentForWorkEffort(
236
+ partyId: $partyId
237
+ performerId: $performerId
238
+ workEffortId: $workEffortId
239
+ addAttachmentRequest: $attachments
240
+ ) {
241
+ id
242
+ createdStamp
243
+ updatedStamp
244
+ updatedBy
245
+ createdBy
246
+ partyId
247
+ path
248
+ srcId
249
+ srcName
250
+ srcPath
251
+ srcConfigPathId
252
+ name
253
+ fileType
254
+ type
255
+ referId
256
+ }
257
+ }
258
+ `;
@@ -0,0 +1,3 @@
1
+ export declare const GET_LIST_OPPORTUNITY_QUERY: 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;
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GET_LIST_WORK_EFFORT_TYPE = exports.GET_LIST_TODO = 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
+ `;
46
+ exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
47
+ query GetListTodo($partyId: String!, $workEffortId: [String]!) {
48
+ getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
49
+ workEffortId
50
+ toDoList {
51
+ listAttachment {
52
+ id
53
+ createdStamp
54
+ createdBy
55
+ updatedBy
56
+ updatedStamp
57
+ partyId
58
+ path
59
+ srcId
60
+ srcName
61
+ srcPath
62
+ srcConfigPathId
63
+ name
64
+ fileType
65
+ type
66
+ status
67
+ referId
68
+ }
69
+ isDone
70
+ id
71
+ workEffortTypeId
72
+ workEffortType {
73
+ id
74
+ name
75
+ group
76
+ createdStamp
77
+ updatedStamp
78
+ updatedBy
79
+ createdBy
80
+ partyId
81
+ actionLinkId
82
+ partyGroupIds
83
+ description
84
+ workFlow {
85
+ stages {
86
+ id
87
+ name
88
+ mode
89
+ workEffortTypeId
90
+ }
91
+ }
92
+ }
93
+ partyId
94
+ name
95
+ description
96
+ parentId
97
+ parentType
98
+ status
99
+ createdStamp
100
+ updatedStamp
101
+ source
102
+ mode
103
+ connectorId
104
+ actionLink {
105
+ name
106
+ uri
107
+ type
108
+ partyId
109
+ fromCollection
110
+ toCollection
111
+ group
112
+ params
113
+ id
114
+ createdStamp
115
+ updatedStamp
116
+ updatedBy
117
+ createdBy
118
+ }
119
+ partyGroupIds
120
+ tagIds
121
+ processResult
122
+ }
123
+ }
124
+ }
125
+ `;
126
+ exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
127
+ query GetListWorkEffortType($partyId: String!, $id: String!){
128
+ getListWorkEffortType(
129
+ partyId: $partyId
130
+ getWorkEffortTypeRequest: {
131
+ id: $id
132
+ isPagination: true }
133
+ ) {
134
+ id
135
+ name
136
+ group
137
+ createdStamp
138
+ updatedStamp
139
+ updatedBy
140
+ createdBy
141
+ partyId
142
+ actionLinkId
143
+ partyGroupIds
144
+ description
145
+ workFlow {
146
+ stages{
147
+ id
148
+ name
149
+ mode
150
+ workEffortTypeId
151
+ }
152
+ }
153
+ }
154
+ }
155
+ `;
@@ -0,0 +1 @@
1
+ export declare const CREATE_PAYMENT_ORDER_MUTATION: import("graphql").DocumentNode;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CREATE_PAYMENT_ORDER_MUTATION = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.CREATE_PAYMENT_ORDER_MUTATION = (0, graphql_tag_1.gql) `
6
+ mutation CreatePaymentOrder(
7
+ $orgId: String!
8
+ $orderId: String!
9
+ $paymentMethod: String!
10
+ $storeId: String!
11
+ $source: String!
12
+ $appliedAmount: Float!
13
+ $payDate: String!
14
+ $returnUrl: String
15
+ $paymentType: String!
16
+ $createBy: String!
17
+ ) {
18
+ createPaymentOrder(
19
+ orgId: $orgId
20
+ orderId: $orderId
21
+ paymentMethod: $paymentMethod
22
+ storeId: $storeId
23
+ source: $source
24
+ appliedAmount: $appliedAmount
25
+ payDate: $payDate
26
+ returnUrl: $returnUrl
27
+ paymentType: $paymentType
28
+ createBy: $createBy
29
+ ) {
30
+ code
31
+ message
32
+ data
33
+ }
34
+ }
35
+ `;
@@ -0,0 +1 @@
1
+ export declare const GET_PAYMENT_METHOD: import("graphql").DocumentNode;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GET_PAYMENT_METHOD = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.GET_PAYMENT_METHOD = (0, graphql_tag_1.gql) `
6
+ query GetPaymentMethod($orgId: String!, $storeChannelId: String) {
7
+ getPaymentMethod(orgId: $orgId, storeChannelId: $storeChannelId) {
8
+ code
9
+ name
10
+ }
11
+ }
12
+ `;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,10 @@
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: import("graphql").DocumentNode;
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";
10
+ export declare const GET_PRODUCT_OPTION: import("graphql").DocumentNode;