@longvansoftware/storefront-js-client 3.4.7 → 3.4.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/dist/config/config.js +3 -3
- package/dist/src/graphql/accounting_service/mutations.d.ts +2 -0
- package/dist/src/graphql/accounting_service/mutations.js +102 -0
- package/dist/src/graphql/accounting_service/queries.d.ts +1 -0
- package/dist/src/graphql/accounting_service/queries.js +62 -0
- package/dist/src/graphql/crm_camping/mutations.d.ts +1 -0
- package/dist/src/graphql/crm_camping/mutations.js +37 -0
- package/dist/src/graphql/crm_camping/queries.d.ts +8 -0
- package/dist/src/graphql/crm_camping/queries.js +279 -0
- package/dist/src/graphql/orderGraphQL/mutations.d.ts +4 -0
- package/dist/src/graphql/orderGraphQL/mutations.js +359 -0
- package/dist/src/graphql/orderGraphQL/queries.d.ts +7 -0
- package/dist/src/graphql/orderGraphQL/queries.js +402 -0
- package/dist/src/graphql/paymentLV/mutations.d.ts +2 -0
- package/dist/src/graphql/paymentLV/mutations.js +25 -0
- package/dist/src/graphql/paymentLV/queries.d.ts +4 -0
- package/dist/src/graphql/paymentLV/queries.js +83 -0
- package/dist/src/graphql/quicklab_service/mutations.d.ts +8 -0
- package/dist/src/graphql/quicklab_service/mutations.js +171 -0
- package/dist/src/graphql/quicklab_service/queries.d.ts +6 -0
- package/dist/src/graphql/quicklab_service/queries.js +121 -0
- package/dist/src/graphql/resource_permission/mutations.d.ts +2 -0
- package/dist/src/graphql/resource_permission/mutations.js +63 -0
- package/dist/src/graphql/resource_permission/queries.d.ts +1 -0
- package/dist/src/graphql/resource_permission/queries.js +18 -0
- package/dist/src/lib/accounting_service/index.d.ts +9 -0
- package/dist/src/lib/accounting_service/index.js +69 -0
- package/dist/src/lib/cloud_rest/index.d.ts +17 -0
- package/dist/src/lib/cloud_rest/index.js +101 -0
- package/dist/src/lib/crm_camping/index.d.ts +16 -0
- package/dist/src/lib/crm_camping/index.js +227 -0
- package/dist/src/lib/dns/index.d.ts +7 -0
- package/dist/src/lib/dns/index.js +40 -0
- package/dist/src/lib/fileService/index.js +2 -2
- package/dist/src/lib/orderGraphQL/index.d.ts +16 -0
- package/dist/src/lib/orderGraphQL/index.js +192 -0
- package/dist/src/lib/order_cloud_rest/index.d.ts +7 -0
- package/dist/src/lib/order_cloud_rest/index.js +39 -0
- package/dist/src/lib/paymentLV/index.d.ts +12 -0
- package/dist/src/lib/paymentLV/index.js +132 -0
- package/dist/src/lib/quicklab_service/index.d.ts +18 -0
- package/dist/src/lib/quicklab_service/index.js +197 -0
- package/dist/src/lib/resource_permission/index.d.ts +9 -0
- package/dist/src/lib/resource_permission/index.js +81 -0
- package/package.json +1 -1
package/dist/config/config.js
CHANGED
|
@@ -27,7 +27,7 @@ exports.environmentEndpoints = {
|
|
|
27
27
|
zca: "https://zca.dev.longvan.vn",
|
|
28
28
|
cashbook: 'https://api-gateway.dev.longvan.vn/cashbook-service/graphql',
|
|
29
29
|
store: "https://storefront.dev.longvan.vn/v2",
|
|
30
|
-
fileService: "https://fileservice.dev.longvan.vn"
|
|
30
|
+
fileService: "https://fileservice.dev.longvan.vn/omnichannel"
|
|
31
31
|
},
|
|
32
32
|
live: {
|
|
33
33
|
product: "https://product-service.longvan.vn/product-service/graphql",
|
|
@@ -52,8 +52,8 @@ exports.environmentEndpoints = {
|
|
|
52
52
|
omnigateway: "https://omni-gateway.longvan.vn/omni-gateway/v1",
|
|
53
53
|
authorization: "https://id.longvan.vn/authorization/public",
|
|
54
54
|
zca: "https://zca.longvan.vn",
|
|
55
|
-
cashbook: 'https://api-gateway.
|
|
55
|
+
cashbook: 'https://api-gateway.longvan.vn/cashbook-service/graphql',
|
|
56
56
|
store: "https://storefront.longvan.vn/v2",
|
|
57
|
-
fileService: "https://fileservice.longvan.vn"
|
|
57
|
+
fileService: "https://fileservice.longvan.vn/longvan"
|
|
58
58
|
},
|
|
59
59
|
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CONFIRM_DEPOSIT_WALLET = exports.DEPOSIT_WALLET = void 0;
|
|
4
|
+
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
+
exports.DEPOSIT_WALLET = (0, graphql_tag_1.gql) `
|
|
6
|
+
mutation DepositWallet(
|
|
7
|
+
$partnerId: String!
|
|
8
|
+
$storeId: String!
|
|
9
|
+
$partyId: String!
|
|
10
|
+
$storeName: String
|
|
11
|
+
$amountDeposit: BigDecimal!
|
|
12
|
+
$amountPromotion: BigDecimal
|
|
13
|
+
$orderNote: String
|
|
14
|
+
$paymentMethodCode: String
|
|
15
|
+
$sourcePayment: String
|
|
16
|
+
$paymentType: String
|
|
17
|
+
$returnUrl: String
|
|
18
|
+
$createBy: String
|
|
19
|
+
) {
|
|
20
|
+
depositWallet(
|
|
21
|
+
partnerId: $partnerId
|
|
22
|
+
partyId: $partyId
|
|
23
|
+
storeId: $storeId
|
|
24
|
+
storeName: $storeName
|
|
25
|
+
amountDeposit: $amountDeposit
|
|
26
|
+
amountPromotion: $amountPromotion
|
|
27
|
+
orderNote: $orderNote
|
|
28
|
+
paymentMethodCode: $paymentMethodCode
|
|
29
|
+
sourcePayment: $sourcePayment
|
|
30
|
+
paymentType: $paymentType
|
|
31
|
+
returnUrl: $returnUrl
|
|
32
|
+
createBy: $createBy
|
|
33
|
+
) {
|
|
34
|
+
order {
|
|
35
|
+
orderId
|
|
36
|
+
}
|
|
37
|
+
payment {
|
|
38
|
+
code
|
|
39
|
+
message
|
|
40
|
+
data
|
|
41
|
+
qrCodeUrl
|
|
42
|
+
deeplink
|
|
43
|
+
deeplinkMiniApp
|
|
44
|
+
invoiceId
|
|
45
|
+
orderId
|
|
46
|
+
paymentId
|
|
47
|
+
}
|
|
48
|
+
financialOrder {
|
|
49
|
+
partnerId
|
|
50
|
+
name
|
|
51
|
+
userId
|
|
52
|
+
totalAmount
|
|
53
|
+
type
|
|
54
|
+
transactionId
|
|
55
|
+
status
|
|
56
|
+
accountNumber
|
|
57
|
+
method
|
|
58
|
+
gateway
|
|
59
|
+
extOrderId
|
|
60
|
+
extTransactionId
|
|
61
|
+
transactionTime
|
|
62
|
+
description
|
|
63
|
+
source
|
|
64
|
+
level
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
`;
|
|
69
|
+
exports.CONFIRM_DEPOSIT_WALLET = (0, graphql_tag_1.gql) `
|
|
70
|
+
mutation ConfirmDepositWallet(
|
|
71
|
+
$partnerId: String!
|
|
72
|
+
$orderId: String!
|
|
73
|
+
$transactionId: String
|
|
74
|
+
$transactionTime: Long!
|
|
75
|
+
$createBy: String
|
|
76
|
+
) {
|
|
77
|
+
confirmDepositWallet(
|
|
78
|
+
partnerId: $partnerId
|
|
79
|
+
orderId: $orderId
|
|
80
|
+
transactionId: $transactionId
|
|
81
|
+
transactionTime: $transactionTime
|
|
82
|
+
createBy: $createBy
|
|
83
|
+
) {
|
|
84
|
+
partnerId
|
|
85
|
+
name
|
|
86
|
+
userId
|
|
87
|
+
totalAmount
|
|
88
|
+
type
|
|
89
|
+
transactionId
|
|
90
|
+
status
|
|
91
|
+
accountNumber
|
|
92
|
+
method
|
|
93
|
+
gateway
|
|
94
|
+
extOrderId
|
|
95
|
+
extTransactionId
|
|
96
|
+
transactionTime
|
|
97
|
+
description
|
|
98
|
+
source
|
|
99
|
+
level
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FINANCIAL_ACCOUNT_WALLET_INFO: import("graphql").DocumentNode;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FINANCIAL_ACCOUNT_WALLET_INFO = void 0;
|
|
4
|
+
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
+
exports.FINANCIAL_ACCOUNT_WALLET_INFO = (0, graphql_tag_1.gql) `
|
|
6
|
+
query FinancialAccountWalletInfo(
|
|
7
|
+
$partnerId: String!
|
|
8
|
+
$partyId: String
|
|
9
|
+
$showTransaction: Boolean!
|
|
10
|
+
) {
|
|
11
|
+
financialAccountWalletInfo(
|
|
12
|
+
partnerId: $partnerId
|
|
13
|
+
partyId: $partyId
|
|
14
|
+
showTransaction: $showTransaction
|
|
15
|
+
) {
|
|
16
|
+
financialAccount {
|
|
17
|
+
id
|
|
18
|
+
partyId
|
|
19
|
+
partnerId
|
|
20
|
+
type
|
|
21
|
+
description
|
|
22
|
+
glAccountNumber
|
|
23
|
+
created
|
|
24
|
+
updated
|
|
25
|
+
}
|
|
26
|
+
glAccount {
|
|
27
|
+
partnerId
|
|
28
|
+
accountNumber
|
|
29
|
+
owner
|
|
30
|
+
debit
|
|
31
|
+
credit
|
|
32
|
+
balance
|
|
33
|
+
type
|
|
34
|
+
parent
|
|
35
|
+
level
|
|
36
|
+
description
|
|
37
|
+
created
|
|
38
|
+
updated
|
|
39
|
+
deleteAble
|
|
40
|
+
}
|
|
41
|
+
transactions {
|
|
42
|
+
partnerId
|
|
43
|
+
name
|
|
44
|
+
userId
|
|
45
|
+
totalAmount
|
|
46
|
+
type
|
|
47
|
+
transactionId
|
|
48
|
+
status
|
|
49
|
+
accountNumber
|
|
50
|
+
method
|
|
51
|
+
gateway
|
|
52
|
+
extOrderId
|
|
53
|
+
extTransactionId
|
|
54
|
+
transactionTime
|
|
55
|
+
description
|
|
56
|
+
source
|
|
57
|
+
level
|
|
58
|
+
createdStamp
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ADD_CUSTOMER_TO_VOUCHER: import("graphql").DocumentNode;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ADD_CUSTOMER_TO_VOUCHER = void 0;
|
|
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
|
+
}
|
|
37
|
+
`;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const SEARCH_PRODUCT_QUANTITY_PROMOTION_ACTION: import("graphql").DocumentNode;
|
|
2
|
+
export declare const GET_CAMPAIGN_ACTION_BY_ID: import("graphql").DocumentNode;
|
|
3
|
+
export declare const SUGGEST_VOUCHER: import("graphql").DocumentNode;
|
|
4
|
+
export declare const GET_VOUCHERS: import("graphql").DocumentNode;
|
|
5
|
+
export declare const GET_AVERAGE_RATING: import("graphql").DocumentNode;
|
|
6
|
+
export declare const GET_URL_EVALUATION: import("graphql").DocumentNode;
|
|
7
|
+
export declare const GET_NUMBER_OF_TICKET_EVALUATION: import("graphql").DocumentNode;
|
|
8
|
+
export declare const SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE: import("graphql").DocumentNode;
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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
|
+
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
|
+
}
|
|
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
|
+
}
|
|
43
|
+
`;
|
|
44
|
+
// export const SUGGEST_VOUCHER = gql`
|
|
45
|
+
// query SuggestVoucher (
|
|
46
|
+
// searchVoucherRequest: { partyId: String, customerId: String }
|
|
47
|
+
// ) {
|
|
48
|
+
// suggestVoucher(
|
|
49
|
+
// searchVoucherRequest: { partyId: $partyId, customerId: $customerId }
|
|
50
|
+
// ) {
|
|
51
|
+
// total
|
|
52
|
+
// totalPages
|
|
53
|
+
// totalElements
|
|
54
|
+
// last
|
|
55
|
+
// first
|
|
56
|
+
// number
|
|
57
|
+
// numberOfElements
|
|
58
|
+
// size
|
|
59
|
+
// empty
|
|
60
|
+
// content {
|
|
61
|
+
// campaignActionId
|
|
62
|
+
// campaignId
|
|
63
|
+
// partyId
|
|
64
|
+
// voucherCode
|
|
65
|
+
// voucherType
|
|
66
|
+
// status
|
|
67
|
+
// discountAmount
|
|
68
|
+
// discountPercent
|
|
69
|
+
// usageLimitPerVoucher
|
|
70
|
+
// maximumDiscount
|
|
71
|
+
// numberOfTimeUsed
|
|
72
|
+
// id
|
|
73
|
+
// createdStamp
|
|
74
|
+
// updatedStamp
|
|
75
|
+
// updatedBy
|
|
76
|
+
// createdBy
|
|
77
|
+
// isBirthday
|
|
78
|
+
// customerId
|
|
79
|
+
// scope
|
|
80
|
+
// }
|
|
81
|
+
// }
|
|
82
|
+
// }
|
|
83
|
+
// `;
|
|
84
|
+
exports.SUGGEST_VOUCHER = (0, graphql_tag_1.gql) `
|
|
85
|
+
query SuggestVoucher(
|
|
86
|
+
$partyId: String
|
|
87
|
+
$excludeExpired: Boolean
|
|
88
|
+
$customerId: String
|
|
89
|
+
$scope: String
|
|
90
|
+
$isNewCustomer: Boolean
|
|
91
|
+
$scopeIgnore: String
|
|
92
|
+
) {
|
|
93
|
+
suggestVoucher(
|
|
94
|
+
searchVoucherRequest: {
|
|
95
|
+
partyId: $partyId
|
|
96
|
+
excludeExpired: $excludeExpired
|
|
97
|
+
customerId: $customerId
|
|
98
|
+
scope: $scope
|
|
99
|
+
isNewCustomer: $isNewCustomer
|
|
100
|
+
scopeIgnore: $scopeIgnore
|
|
101
|
+
}
|
|
102
|
+
) {
|
|
103
|
+
total
|
|
104
|
+
totalPages
|
|
105
|
+
totalElements
|
|
106
|
+
last
|
|
107
|
+
first
|
|
108
|
+
number
|
|
109
|
+
numberOfElements
|
|
110
|
+
size
|
|
111
|
+
empty
|
|
112
|
+
content {
|
|
113
|
+
campaignActionId
|
|
114
|
+
campaignId
|
|
115
|
+
partyId
|
|
116
|
+
voucherCode
|
|
117
|
+
voucherType
|
|
118
|
+
status
|
|
119
|
+
discountAmount
|
|
120
|
+
discountPercent
|
|
121
|
+
description
|
|
122
|
+
usageLimitPerVoucher
|
|
123
|
+
maximumDiscount
|
|
124
|
+
numberOfTimeUsed
|
|
125
|
+
id
|
|
126
|
+
createdStamp
|
|
127
|
+
updatedStamp
|
|
128
|
+
updatedBy
|
|
129
|
+
createdBy
|
|
130
|
+
isBirthday
|
|
131
|
+
customerId
|
|
132
|
+
scope
|
|
133
|
+
affiliateId
|
|
134
|
+
maximumSpend
|
|
135
|
+
minimumSpend
|
|
136
|
+
maximumDiscountType
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
141
|
+
exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
|
142
|
+
query SearchVoucher(
|
|
143
|
+
$partyId: String
|
|
144
|
+
$campaignId: String
|
|
145
|
+
$campaignActionId: String
|
|
146
|
+
$campaignActionType: String
|
|
147
|
+
$customerId: String
|
|
148
|
+
$pageNumber: Int
|
|
149
|
+
$pageSize: Int
|
|
150
|
+
) {
|
|
151
|
+
searchVoucher(
|
|
152
|
+
searchVoucherRequest: {
|
|
153
|
+
partyId: $partyId
|
|
154
|
+
campaignId: $campaignId
|
|
155
|
+
campaignActionId: $campaignActionId
|
|
156
|
+
campaignActionType: $campaignActionType
|
|
157
|
+
customerId: $customerId
|
|
158
|
+
pageNumber: $pageNumber
|
|
159
|
+
pageSize: $pageSize
|
|
160
|
+
}
|
|
161
|
+
) {
|
|
162
|
+
total
|
|
163
|
+
totalPages
|
|
164
|
+
totalElements
|
|
165
|
+
last
|
|
166
|
+
first
|
|
167
|
+
number
|
|
168
|
+
numberOfElements
|
|
169
|
+
size
|
|
170
|
+
empty
|
|
171
|
+
content {
|
|
172
|
+
campaignActionId
|
|
173
|
+
campaignId
|
|
174
|
+
partyId
|
|
175
|
+
voucherCode
|
|
176
|
+
voucherType
|
|
177
|
+
status
|
|
178
|
+
discountAmount
|
|
179
|
+
discountPercent
|
|
180
|
+
usageLimitPerVoucher
|
|
181
|
+
maximumDiscount
|
|
182
|
+
numberOfTimeUsed
|
|
183
|
+
id
|
|
184
|
+
createdStamp
|
|
185
|
+
updatedStamp
|
|
186
|
+
updatedBy
|
|
187
|
+
createdBy
|
|
188
|
+
isBirthday
|
|
189
|
+
customerId
|
|
190
|
+
scope
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
`;
|
|
195
|
+
exports.GET_AVERAGE_RATING = (0, graphql_tag_1.gql) `
|
|
196
|
+
query GetAverageRating(
|
|
197
|
+
$targetIds: [String]!
|
|
198
|
+
$customerId: String!
|
|
199
|
+
$evaluationType: String!
|
|
200
|
+
$orgId: String!
|
|
201
|
+
) {
|
|
202
|
+
getAverageRating(
|
|
203
|
+
targetIds: $targetIds
|
|
204
|
+
customerId: $customerId
|
|
205
|
+
evaluationType: $evaluationType
|
|
206
|
+
orgId: $orgId
|
|
207
|
+
) {
|
|
208
|
+
url
|
|
209
|
+
targetId
|
|
210
|
+
evaluationType
|
|
211
|
+
averageRating
|
|
212
|
+
haveEvaluation
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
`;
|
|
216
|
+
exports.GET_URL_EVALUATION = (0, graphql_tag_1.gql) `
|
|
217
|
+
query GetUrlEvaluation(
|
|
218
|
+
$targetIds: [String]!
|
|
219
|
+
$customerId: String!
|
|
220
|
+
$evaluationType: String!
|
|
221
|
+
$orgId: String!
|
|
222
|
+
) {
|
|
223
|
+
getUrlEvaluation(
|
|
224
|
+
targetIds: $targetIds
|
|
225
|
+
customerId: $customerId
|
|
226
|
+
evaluationType: $evaluationType
|
|
227
|
+
orgId: $orgId
|
|
228
|
+
) {
|
|
229
|
+
url
|
|
230
|
+
targetId
|
|
231
|
+
evaluationType
|
|
232
|
+
averageRating
|
|
233
|
+
haveEvaluation
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
`;
|
|
237
|
+
exports.GET_NUMBER_OF_TICKET_EVALUATION = (0, graphql_tag_1.gql) `
|
|
238
|
+
query GetNumberOfTicketEvaluation($customerId: String!, $orgId: String!) {
|
|
239
|
+
getNumberOfTicketEvaluation(customerId: $customerId, orgId: $orgId)
|
|
240
|
+
}
|
|
241
|
+
`;
|
|
242
|
+
exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
|
|
243
|
+
query SearchProductGiftPromotionResponse(
|
|
244
|
+
$parameterSearchProductGift: ParameterSearchProductGift
|
|
245
|
+
) {
|
|
246
|
+
searchProductGiftPromotionResponse(
|
|
247
|
+
parameterSearchProductGift: $parameterSearchProductGift
|
|
248
|
+
) {
|
|
249
|
+
total
|
|
250
|
+
totalPages
|
|
251
|
+
totalElements
|
|
252
|
+
content {
|
|
253
|
+
id
|
|
254
|
+
partyId
|
|
255
|
+
campaignId
|
|
256
|
+
campaignActionId
|
|
257
|
+
productId
|
|
258
|
+
productParentId
|
|
259
|
+
quantityLimit
|
|
260
|
+
giftPromotions {
|
|
261
|
+
fromQuantity
|
|
262
|
+
toProductId
|
|
263
|
+
toQuantity
|
|
264
|
+
productName
|
|
265
|
+
sku
|
|
266
|
+
featureImage
|
|
267
|
+
}
|
|
268
|
+
campaignActionName
|
|
269
|
+
startDate
|
|
270
|
+
endDate
|
|
271
|
+
newCustomer
|
|
272
|
+
createdStamp
|
|
273
|
+
updatedStamp
|
|
274
|
+
updatedBy
|
|
275
|
+
createdBy
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
`;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const CREATE_ORDER: import("graphql").DocumentNode;
|
|
2
|
+
export declare const UPDATE_QUANTITY_V2: import("graphql").DocumentNode;
|
|
3
|
+
export declare const ADD_TO_CART: import("graphql").DocumentNode;
|
|
4
|
+
export declare const REMOVE_PRODUCT_OPTION_ORDER_LINE_ITEM: import("graphql").DocumentNode;
|