@longvansoftware/service-js-client 1.15.7 → 1.15.9
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.
- package/README.md +93 -93
- package/dist/src/graphql/accounting_service/mutations.js +96 -96
- package/dist/src/graphql/accounting_service/queries.js +57 -57
- package/dist/src/graphql/auth/mutations.js +235 -235
- package/dist/src/graphql/auth/queries.js +68 -68
- package/dist/src/graphql/campaign/mutations.d.ts +1 -0
- package/dist/src/graphql/campaign/mutations.js +34 -0
- package/dist/src/graphql/campaign/queries.d.ts +9 -0
- package/dist/src/graphql/campaign/queries.js +412 -0
- package/dist/src/graphql/cashbook/queries.d.ts +2 -0
- package/dist/src/graphql/cashbook/queries.js +99 -0
- package/dist/src/graphql/cloud/mutations.d.ts +4 -0
- package/dist/src/graphql/cloud/mutations.js +287 -241
- package/dist/src/graphql/cloud/queries.js +341 -341
- package/dist/src/graphql/computing/mutations.js +303 -303
- package/dist/src/graphql/computing/queries.js +548 -548
- package/dist/src/graphql/crm/mutations.d.ts +1 -0
- package/dist/src/graphql/crm/mutations.js +392 -375
- package/dist/src/graphql/crm/queries.d.ts +1 -0
- package/dist/src/graphql/crm/queries.js +359 -332
- package/dist/src/graphql/crm_camping/mutations.js +32 -32
- package/dist/src/graphql/crm_camping/queries.js +198 -198
- package/dist/src/graphql/orderGraphQL/mutations.js +351 -351
- package/dist/src/graphql/orderGraphQL/queries.js +387 -387
- package/dist/src/graphql/payment/mutations.js +45 -45
- package/dist/src/graphql/payment/queries.js +60 -60
- package/dist/src/graphql/paymentLV/mutations.js +19 -19
- package/dist/src/graphql/paymentLV/queries.js +75 -75
- package/dist/src/graphql/paymentV2/mutations.d.ts +3 -0
- package/dist/src/graphql/paymentV2/mutations.js +54 -0
- package/dist/src/graphql/paymentV2/queries.d.ts +6 -0
- package/dist/src/graphql/paymentV2/queries.js +186 -0
- package/dist/src/graphql/product/queries.js +891 -891
- package/dist/src/graphql/quicklab_service/mutations.js +154 -154
- package/dist/src/graphql/quicklab_service/queries.js +108 -108
- package/dist/src/graphql/resource_permission/mutations.js +57 -57
- package/dist/src/graphql/resource_permission/queries.js +13 -13
- package/dist/src/graphql/service/mutations.js +228 -228
- package/dist/src/graphql/service/queries.js +128 -128
- package/dist/src/graphql/store/mutations.d.ts +1 -0
- package/dist/src/graphql/store/mutations.js +29 -0
- package/dist/src/graphql/store/queries.d.ts +1 -0
- package/dist/src/graphql/store/queries.js +29 -0
- package/dist/src/graphql/user/mutations.js +214 -214
- package/dist/src/graphql/user/queries.js +312 -312
- package/dist/src/lib/accounting/index.d.ts +5 -0
- package/dist/src/lib/accounting/index.js +32 -0
- package/dist/src/lib/campaign/index.d.ts +20 -0
- package/dist/src/lib/campaign/index.js +213 -0
- package/dist/src/lib/cashbook/index.d.ts +6 -0
- package/dist/src/lib/cashbook/index.js +56 -0
- package/dist/src/lib/cloud/index.d.ts +4 -0
- package/dist/src/lib/cloud/index.js +69 -0
- package/dist/src/lib/comhub/index.d.ts +6 -0
- package/dist/src/lib/comhub/index.js +50 -0
- package/dist/src/lib/crm/index.d.ts +2 -0
- package/dist/src/lib/crm/index.js +40 -0
- package/dist/src/lib/deepLinkVietQr/index.d.ts +6 -0
- package/dist/src/lib/deepLinkVietQr/index.js +45 -0
- package/dist/src/lib/getImage/index.d.ts +4 -0
- package/dist/src/lib/getImage/index.js +10 -0
- package/dist/src/lib/image/index.d.ts +7 -0
- package/dist/src/lib/image/index.js +49 -0
- package/dist/src/lib/omnigateway/index.d.ts +7 -0
- package/dist/src/lib/omnigateway/index.js +58 -0
- package/dist/src/lib/paymentV2/index.d.ts +13 -0
- package/dist/src/lib/paymentV2/index.js +163 -0
- package/dist/src/lib/portal/index.d.ts +21 -0
- package/dist/src/lib/portal/index.js +225 -0
- package/dist/src/lib/serviceSDK.js +12 -12
- package/dist/src/lib/store/index.d.ts +30 -0
- package/dist/src/lib/store/index.js +74 -0
- package/dist/src/lib/token/index.d.ts +5 -0
- package/dist/src/lib/token/index.js +32 -0
- package/dist/src/lib/upload/index.d.ts +5 -0
- package/dist/src/lib/upload/index.js +35 -0
- package/dist/src/lib/warehouseV2/index.d.ts +13 -0
- package/dist/src/lib/warehouseV2/index.js +54 -0
- package/dist/src/lib/zca/index.d.ts +12 -0
- package/dist/src/lib/zca/index.js +41 -0
- package/dist/src/types/campaign.d.ts +14 -0
- package/dist/src/types/campaign.js +2 -0
- package/dist/src/types/invoice.d.ts +13 -0
- package/dist/src/types/invoice.js +2 -0
- package/dist/src/types/store.d.ts +158 -0
- package/dist/src/types/store.js +3 -0
- package/dist/src/utils/validatePhoneNumber.d.ts +1 -0
- package/dist/src/utils/validatePhoneNumber.js +20 -0
- package/package.json +44 -43
- package/dist/src/lib/service.d.ts +0 -14
- package/dist/src/lib/service.js +0 -101
- package/dist/src/utils/build-field-string.d.ts +0 -1
- package/dist/src/utils/build-field-string.js +0 -16
@@ -2,36 +2,36 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ADD_CUSTOMER_TO_VOUCHER = void 0;
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
5
|
-
exports.ADD_CUSTOMER_TO_VOUCHER = (0, graphql_tag_1.gql) `
|
6
|
-
mutation AddCustomerToVoucher(
|
7
|
-
$partyId: String!
|
8
|
-
$userId: String!
|
9
|
-
$voucherCode: String!
|
10
|
-
) {
|
11
|
-
addCustomerToVoucher(
|
12
|
-
partyId: $partyId
|
13
|
-
userId: $userId
|
14
|
-
voucherCode: $voucherCode
|
15
|
-
) {
|
16
|
-
campaignActionId
|
17
|
-
campaignId
|
18
|
-
partyId
|
19
|
-
voucherCode
|
20
|
-
voucherType
|
21
|
-
status
|
22
|
-
discountAmount
|
23
|
-
discountPercent
|
24
|
-
usageLimitPerVoucher
|
25
|
-
maximumDiscount
|
26
|
-
numberOfTimeUsed
|
27
|
-
id
|
28
|
-
createdStamp
|
29
|
-
updatedStamp
|
30
|
-
updatedBy
|
31
|
-
createdBy
|
32
|
-
isBirthday
|
33
|
-
customerId
|
34
|
-
scope
|
35
|
-
}
|
36
|
-
}
|
5
|
+
exports.ADD_CUSTOMER_TO_VOUCHER = (0, graphql_tag_1.gql) `
|
6
|
+
mutation AddCustomerToVoucher(
|
7
|
+
$partyId: String!
|
8
|
+
$userId: String!
|
9
|
+
$voucherCode: String!
|
10
|
+
) {
|
11
|
+
addCustomerToVoucher(
|
12
|
+
partyId: $partyId
|
13
|
+
userId: $userId
|
14
|
+
voucherCode: $voucherCode
|
15
|
+
) {
|
16
|
+
campaignActionId
|
17
|
+
campaignId
|
18
|
+
partyId
|
19
|
+
voucherCode
|
20
|
+
voucherType
|
21
|
+
status
|
22
|
+
discountAmount
|
23
|
+
discountPercent
|
24
|
+
usageLimitPerVoucher
|
25
|
+
maximumDiscount
|
26
|
+
numberOfTimeUsed
|
27
|
+
id
|
28
|
+
createdStamp
|
29
|
+
updatedStamp
|
30
|
+
updatedBy
|
31
|
+
createdBy
|
32
|
+
isBirthday
|
33
|
+
customerId
|
34
|
+
scope
|
35
|
+
}
|
36
|
+
}
|
37
37
|
`;
|
@@ -2,44 +2,44 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = exports.GET_NUMBER_OF_TICKET_EVALUATION = exports.GET_URL_EVALUATION = exports.GET_AVERAGE_RATING = exports.GET_VOUCHERS = exports.SUGGEST_VOUCHER = exports.GET_CAMPAIGN_ACTION_BY_ID = exports.SEARCH_PRODUCT_QUANTITY_PROMOTION_ACTION = void 0;
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
5
|
-
exports.SEARCH_PRODUCT_QUANTITY_PROMOTION_ACTION = (0, graphql_tag_1.gql) `
|
6
|
-
query SearchProductQuantityPromotionAction(
|
7
|
-
$productId: String!
|
8
|
-
$partyId: String!
|
9
|
-
$storeChannel: String!
|
10
|
-
) {
|
11
|
-
searchProductQuantityPromotionAction(
|
12
|
-
productId: $productId
|
13
|
-
partyId: $partyId
|
14
|
-
storeChannel: $storeChannel
|
15
|
-
)
|
16
|
-
}
|
5
|
+
exports.SEARCH_PRODUCT_QUANTITY_PROMOTION_ACTION = (0, graphql_tag_1.gql) `
|
6
|
+
query SearchProductQuantityPromotionAction(
|
7
|
+
$productId: String!
|
8
|
+
$partyId: String!
|
9
|
+
$storeChannel: String!
|
10
|
+
) {
|
11
|
+
searchProductQuantityPromotionAction(
|
12
|
+
productId: $productId
|
13
|
+
partyId: $partyId
|
14
|
+
storeChannel: $storeChannel
|
15
|
+
)
|
16
|
+
}
|
17
17
|
`;
|
18
|
-
exports.GET_CAMPAIGN_ACTION_BY_ID = (0, graphql_tag_1.gql) `
|
19
|
-
query GetCampaignActionById($id: String!) {
|
20
|
-
getCampaignActionById(id: $id) {
|
21
|
-
name
|
22
|
-
description
|
23
|
-
partyId
|
24
|
-
type
|
25
|
-
viewTemplateId
|
26
|
-
urlTemplate
|
27
|
-
shortCode
|
28
|
-
uriPattern
|
29
|
-
parameterPattern
|
30
|
-
status
|
31
|
-
extendDaysForHeadReview
|
32
|
-
priorityLevel
|
33
|
-
positionConnectionType
|
34
|
-
baseCommissionPercent
|
35
|
-
targetType
|
36
|
-
id
|
37
|
-
createdStamp
|
38
|
-
updatedStamp
|
39
|
-
updatedBy
|
40
|
-
createdBy
|
41
|
-
}
|
42
|
-
}
|
18
|
+
exports.GET_CAMPAIGN_ACTION_BY_ID = (0, graphql_tag_1.gql) `
|
19
|
+
query GetCampaignActionById($id: String!) {
|
20
|
+
getCampaignActionById(id: $id) {
|
21
|
+
name
|
22
|
+
description
|
23
|
+
partyId
|
24
|
+
type
|
25
|
+
viewTemplateId
|
26
|
+
urlTemplate
|
27
|
+
shortCode
|
28
|
+
uriPattern
|
29
|
+
parameterPattern
|
30
|
+
status
|
31
|
+
extendDaysForHeadReview
|
32
|
+
priorityLevel
|
33
|
+
positionConnectionType
|
34
|
+
baseCommissionPercent
|
35
|
+
targetType
|
36
|
+
id
|
37
|
+
createdStamp
|
38
|
+
updatedStamp
|
39
|
+
updatedBy
|
40
|
+
createdBy
|
41
|
+
}
|
42
|
+
}
|
43
43
|
`;
|
44
44
|
// export const SUGGEST_VOUCHER = gql`
|
45
45
|
// query SuggestVoucher (
|
@@ -81,170 +81,170 @@ exports.GET_CAMPAIGN_ACTION_BY_ID = (0, graphql_tag_1.gql) `
|
|
81
81
|
// }
|
82
82
|
// }
|
83
83
|
// `;
|
84
|
-
exports.SUGGEST_VOUCHER = (0, graphql_tag_1.gql) `
|
85
|
-
query SuggestVoucher($partyId: String, $excludeExpired: Boolean, $customerId: String, $scope: String, $isNewCustomer: Boolean, $scopeIgnore: String) {
|
86
|
-
suggestVoucher(
|
87
|
-
searchVoucherRequest: {
|
88
|
-
partyId: $partyId
|
89
|
-
excludeExpired: $excludeExpired
|
90
|
-
customerId: $customerId
|
91
|
-
scope: $scope
|
92
|
-
isNewCustomer: $isNewCustomer
|
93
|
-
scopeIgnore: $scopeIgnore
|
94
|
-
}
|
95
|
-
) {
|
96
|
-
total
|
97
|
-
totalPages
|
98
|
-
totalElements
|
99
|
-
last
|
100
|
-
first
|
101
|
-
number
|
102
|
-
numberOfElements
|
103
|
-
size
|
104
|
-
empty
|
105
|
-
content {
|
106
|
-
campaignActionId
|
107
|
-
campaignId
|
108
|
-
partyId
|
109
|
-
voucherCode
|
110
|
-
voucherType
|
111
|
-
status
|
112
|
-
discountAmount
|
113
|
-
discountPercent
|
114
|
-
description
|
115
|
-
usageLimitPerVoucher
|
116
|
-
maximumDiscount
|
117
|
-
numberOfTimeUsed
|
118
|
-
id
|
119
|
-
createdStamp
|
120
|
-
updatedStamp
|
121
|
-
updatedBy
|
122
|
-
createdBy
|
123
|
-
isBirthday
|
124
|
-
customerId
|
125
|
-
scope
|
126
|
-
affiliateId
|
127
|
-
maximumSpend
|
128
|
-
minimumSpend
|
129
|
-
maximumDiscountType
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
84
|
+
exports.SUGGEST_VOUCHER = (0, graphql_tag_1.gql) `
|
85
|
+
query SuggestVoucher($partyId: String, $excludeExpired: Boolean, $customerId: String, $scope: String, $isNewCustomer: Boolean, $scopeIgnore: String) {
|
86
|
+
suggestVoucher(
|
87
|
+
searchVoucherRequest: {
|
88
|
+
partyId: $partyId
|
89
|
+
excludeExpired: $excludeExpired
|
90
|
+
customerId: $customerId
|
91
|
+
scope: $scope
|
92
|
+
isNewCustomer: $isNewCustomer
|
93
|
+
scopeIgnore: $scopeIgnore
|
94
|
+
}
|
95
|
+
) {
|
96
|
+
total
|
97
|
+
totalPages
|
98
|
+
totalElements
|
99
|
+
last
|
100
|
+
first
|
101
|
+
number
|
102
|
+
numberOfElements
|
103
|
+
size
|
104
|
+
empty
|
105
|
+
content {
|
106
|
+
campaignActionId
|
107
|
+
campaignId
|
108
|
+
partyId
|
109
|
+
voucherCode
|
110
|
+
voucherType
|
111
|
+
status
|
112
|
+
discountAmount
|
113
|
+
discountPercent
|
114
|
+
description
|
115
|
+
usageLimitPerVoucher
|
116
|
+
maximumDiscount
|
117
|
+
numberOfTimeUsed
|
118
|
+
id
|
119
|
+
createdStamp
|
120
|
+
updatedStamp
|
121
|
+
updatedBy
|
122
|
+
createdBy
|
123
|
+
isBirthday
|
124
|
+
customerId
|
125
|
+
scope
|
126
|
+
affiliateId
|
127
|
+
maximumSpend
|
128
|
+
minimumSpend
|
129
|
+
maximumDiscountType
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
133
|
`;
|
134
|
-
exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
135
|
-
query SearchVoucher(
|
136
|
-
$partyId: String
|
137
|
-
$campaignId: String
|
138
|
-
$campaignActionId: String
|
139
|
-
$campaignActionType: String
|
140
|
-
$customerId: String
|
141
|
-
$pageNumber: Int
|
142
|
-
$pageSize: Int
|
143
|
-
) {
|
144
|
-
searchVoucher(
|
145
|
-
searchVoucherRequest: {
|
146
|
-
partyId: $partyId
|
147
|
-
campaignId: $campaignId
|
148
|
-
campaignActionId: $campaignActionId
|
149
|
-
campaignActionType: $campaignActionType
|
150
|
-
customerId: $customerId
|
151
|
-
pageNumber: $pageNumber
|
152
|
-
pageSize: $pageSize
|
153
|
-
}
|
154
|
-
) {
|
155
|
-
total
|
156
|
-
totalPages
|
157
|
-
totalElements
|
158
|
-
last
|
159
|
-
first
|
160
|
-
number
|
161
|
-
numberOfElements
|
162
|
-
size
|
163
|
-
empty
|
164
|
-
content {
|
165
|
-
campaignActionId
|
166
|
-
campaignId
|
167
|
-
partyId
|
168
|
-
voucherCode
|
169
|
-
voucherType
|
170
|
-
status
|
171
|
-
discountAmount
|
172
|
-
discountPercent
|
173
|
-
usageLimitPerVoucher
|
174
|
-
maximumDiscount
|
175
|
-
numberOfTimeUsed
|
176
|
-
id
|
177
|
-
createdStamp
|
178
|
-
updatedStamp
|
179
|
-
updatedBy
|
180
|
-
createdBy
|
181
|
-
isBirthday
|
182
|
-
customerId
|
183
|
-
scope
|
184
|
-
}
|
185
|
-
}
|
186
|
-
}
|
134
|
+
exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
135
|
+
query SearchVoucher(
|
136
|
+
$partyId: String
|
137
|
+
$campaignId: String
|
138
|
+
$campaignActionId: String
|
139
|
+
$campaignActionType: String
|
140
|
+
$customerId: String
|
141
|
+
$pageNumber: Int
|
142
|
+
$pageSize: Int
|
143
|
+
) {
|
144
|
+
searchVoucher(
|
145
|
+
searchVoucherRequest: {
|
146
|
+
partyId: $partyId
|
147
|
+
campaignId: $campaignId
|
148
|
+
campaignActionId: $campaignActionId
|
149
|
+
campaignActionType: $campaignActionType
|
150
|
+
customerId: $customerId
|
151
|
+
pageNumber: $pageNumber
|
152
|
+
pageSize: $pageSize
|
153
|
+
}
|
154
|
+
) {
|
155
|
+
total
|
156
|
+
totalPages
|
157
|
+
totalElements
|
158
|
+
last
|
159
|
+
first
|
160
|
+
number
|
161
|
+
numberOfElements
|
162
|
+
size
|
163
|
+
empty
|
164
|
+
content {
|
165
|
+
campaignActionId
|
166
|
+
campaignId
|
167
|
+
partyId
|
168
|
+
voucherCode
|
169
|
+
voucherType
|
170
|
+
status
|
171
|
+
discountAmount
|
172
|
+
discountPercent
|
173
|
+
usageLimitPerVoucher
|
174
|
+
maximumDiscount
|
175
|
+
numberOfTimeUsed
|
176
|
+
id
|
177
|
+
createdStamp
|
178
|
+
updatedStamp
|
179
|
+
updatedBy
|
180
|
+
createdBy
|
181
|
+
isBirthday
|
182
|
+
customerId
|
183
|
+
scope
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
187
|
`;
|
188
|
-
exports.GET_AVERAGE_RATING = (0, graphql_tag_1.gql) `
|
189
|
-
query GetAverageRating($targetIds: [String]!, $customerId: String!, $evaluationType: String!, $orgId: String!) {
|
190
|
-
getAverageRating(targetIds: $targetIds, customerId: $customerId, evaluationType: $evaluationType, orgId: $orgId) {
|
191
|
-
url
|
192
|
-
targetId
|
193
|
-
evaluationType
|
194
|
-
averageRating
|
195
|
-
haveEvaluation
|
196
|
-
}
|
197
|
-
}
|
188
|
+
exports.GET_AVERAGE_RATING = (0, graphql_tag_1.gql) `
|
189
|
+
query GetAverageRating($targetIds: [String]!, $customerId: String!, $evaluationType: String!, $orgId: String!) {
|
190
|
+
getAverageRating(targetIds: $targetIds, customerId: $customerId, evaluationType: $evaluationType, orgId: $orgId) {
|
191
|
+
url
|
192
|
+
targetId
|
193
|
+
evaluationType
|
194
|
+
averageRating
|
195
|
+
haveEvaluation
|
196
|
+
}
|
197
|
+
}
|
198
198
|
`;
|
199
|
-
exports.GET_URL_EVALUATION = (0, graphql_tag_1.gql) `
|
200
|
-
query GetUrlEvaluation($targetIds: [String]!, $customerId: String!, $evaluationType: String!, $orgId: String!) {
|
201
|
-
getUrlEvaluation(targetIds: $targetIds, customerId: $customerId, evaluationType: $evaluationType, orgId: $orgId,) {
|
202
|
-
url
|
203
|
-
targetId
|
204
|
-
evaluationType
|
205
|
-
averageRating
|
206
|
-
haveEvaluation
|
207
|
-
}
|
208
|
-
}
|
199
|
+
exports.GET_URL_EVALUATION = (0, graphql_tag_1.gql) `
|
200
|
+
query GetUrlEvaluation($targetIds: [String]!, $customerId: String!, $evaluationType: String!, $orgId: String!) {
|
201
|
+
getUrlEvaluation(targetIds: $targetIds, customerId: $customerId, evaluationType: $evaluationType, orgId: $orgId,) {
|
202
|
+
url
|
203
|
+
targetId
|
204
|
+
evaluationType
|
205
|
+
averageRating
|
206
|
+
haveEvaluation
|
207
|
+
}
|
208
|
+
}
|
209
209
|
`;
|
210
|
-
exports.GET_NUMBER_OF_TICKET_EVALUATION = (0, graphql_tag_1.gql) `
|
211
|
-
query GetNumberOfTicketEvaluation($customerId: String!, $orgId: String!) {
|
212
|
-
getNumberOfTicketEvaluation(customerId: $customerId, orgId: $orgId,)
|
213
|
-
}
|
210
|
+
exports.GET_NUMBER_OF_TICKET_EVALUATION = (0, graphql_tag_1.gql) `
|
211
|
+
query GetNumberOfTicketEvaluation($customerId: String!, $orgId: String!) {
|
212
|
+
getNumberOfTicketEvaluation(customerId: $customerId, orgId: $orgId,)
|
213
|
+
}
|
214
214
|
`;
|
215
|
-
exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
|
216
|
-
query SearchProductGiftPromotionResponse($partyId: String!, $productId: String!) {
|
217
|
-
searchProductGiftPromotionResponse(
|
218
|
-
parameterSearchProductGift: {
|
219
|
-
partyId: $partyId
|
220
|
-
productId: $productId
|
221
|
-
}
|
222
|
-
) {
|
223
|
-
total
|
224
|
-
totalPages
|
225
|
-
totalElements
|
226
|
-
content {
|
227
|
-
partyId
|
228
|
-
campaignId
|
229
|
-
campaignActionId
|
230
|
-
campaignActionName
|
231
|
-
startDate
|
232
|
-
endDate
|
233
|
-
productId
|
234
|
-
|
235
|
-
productParentId
|
236
|
-
|
237
|
-
quantityLimit
|
238
|
-
newCustomer
|
239
|
-
giftPromotions {
|
240
|
-
fromQuantity
|
241
|
-
toQuantity
|
242
|
-
toProductId
|
243
|
-
productName
|
244
|
-
sku
|
245
|
-
featureImage
|
246
|
-
}
|
247
|
-
}
|
248
|
-
}
|
249
|
-
}
|
215
|
+
exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
|
216
|
+
query SearchProductGiftPromotionResponse($partyId: String!, $productId: String!) {
|
217
|
+
searchProductGiftPromotionResponse(
|
218
|
+
parameterSearchProductGift: {
|
219
|
+
partyId: $partyId
|
220
|
+
productId: $productId
|
221
|
+
}
|
222
|
+
) {
|
223
|
+
total
|
224
|
+
totalPages
|
225
|
+
totalElements
|
226
|
+
content {
|
227
|
+
partyId
|
228
|
+
campaignId
|
229
|
+
campaignActionId
|
230
|
+
campaignActionName
|
231
|
+
startDate
|
232
|
+
endDate
|
233
|
+
productId
|
234
|
+
|
235
|
+
productParentId
|
236
|
+
|
237
|
+
quantityLimit
|
238
|
+
newCustomer
|
239
|
+
giftPromotions {
|
240
|
+
fromQuantity
|
241
|
+
toQuantity
|
242
|
+
toProductId
|
243
|
+
productName
|
244
|
+
sku
|
245
|
+
featureImage
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
250
|
`;
|