@longvansoftware/service-js-client 1.16.0 → 1.16.2
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/cloud/mutations.js +282 -282
- 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.js +390 -390
- package/dist/src/graphql/crm/queries.js +357 -357
- package/dist/src/graphql/crm_camping/mutations.js +32 -32
- package/dist/src/graphql/crm_camping/queries.js +228 -199
- 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/product/queries.d.ts +1 -0
- package/dist/src/graphql/product/queries.js +910 -892
- 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/user/mutations.js +214 -214
- package/dist/src/graphql/user/queries.js +312 -312
- package/dist/src/lib/crm_camping/index.d.ts +1 -1
- package/dist/src/lib/crm_camping/index.js +10 -6
- package/dist/src/lib/product/index.d.ts +1 -0
- package/dist/src/lib/product/index.js +18 -0
- package/dist/src/lib/service.d.ts +14 -0
- package/dist/src/lib/service.js +101 -0
- package/dist/src/lib/serviceSDK.js +12 -12
- package/dist/src/utils/build-field-string.d.ts +1 -0
- package/dist/src/utils/build-field-string.js +16 -0
- package/package.json +43 -44
- package/dist/src/graphql/campaign/mutations.d.ts +0 -1
- package/dist/src/graphql/campaign/mutations.js +0 -34
- package/dist/src/graphql/campaign/queries.d.ts +0 -9
- package/dist/src/graphql/campaign/queries.js +0 -412
- package/dist/src/graphql/cashbook/queries.d.ts +0 -2
- package/dist/src/graphql/cashbook/queries.js +0 -99
- package/dist/src/graphql/paymentV2/mutations.d.ts +0 -3
- package/dist/src/graphql/paymentV2/mutations.js +0 -54
- package/dist/src/graphql/paymentV2/queries.d.ts +0 -6
- package/dist/src/graphql/paymentV2/queries.js +0 -186
- package/dist/src/graphql/store/mutations.d.ts +0 -1
- package/dist/src/graphql/store/mutations.js +0 -29
- package/dist/src/graphql/store/queries.d.ts +0 -1
- package/dist/src/graphql/store/queries.js +0 -29
- package/dist/src/lib/accounting/index.d.ts +0 -5
- package/dist/src/lib/accounting/index.js +0 -32
- package/dist/src/lib/campaign/index.d.ts +0 -20
- package/dist/src/lib/campaign/index.js +0 -213
- package/dist/src/lib/cashbook/index.d.ts +0 -6
- package/dist/src/lib/cashbook/index.js +0 -56
- package/dist/src/lib/comhub/index.d.ts +0 -6
- package/dist/src/lib/comhub/index.js +0 -50
- package/dist/src/lib/deepLinkVietQr/index.d.ts +0 -6
- package/dist/src/lib/deepLinkVietQr/index.js +0 -45
- package/dist/src/lib/getImage/index.d.ts +0 -4
- package/dist/src/lib/getImage/index.js +0 -10
- package/dist/src/lib/image/index.d.ts +0 -7
- package/dist/src/lib/image/index.js +0 -49
- package/dist/src/lib/omnigateway/index.d.ts +0 -7
- package/dist/src/lib/omnigateway/index.js +0 -58
- package/dist/src/lib/paymentV2/index.d.ts +0 -13
- package/dist/src/lib/paymentV2/index.js +0 -163
- package/dist/src/lib/portal/index.d.ts +0 -21
- package/dist/src/lib/portal/index.js +0 -225
- package/dist/src/lib/store/index.d.ts +0 -30
- package/dist/src/lib/store/index.js +0 -74
- package/dist/src/lib/token/index.d.ts +0 -5
- package/dist/src/lib/token/index.js +0 -32
- package/dist/src/lib/upload/index.d.ts +0 -5
- package/dist/src/lib/upload/index.js +0 -35
- package/dist/src/lib/warehouseV2/index.d.ts +0 -13
- package/dist/src/lib/warehouseV2/index.js +0 -54
- package/dist/src/lib/zca/index.d.ts +0 -12
- package/dist/src/lib/zca/index.js +0 -41
- package/dist/src/types/campaign.d.ts +0 -14
- package/dist/src/types/campaign.js +0 -2
- package/dist/src/types/invoice.d.ts +0 -13
- package/dist/src/types/invoice.js +0 -2
- package/dist/src/types/store.d.ts +0 -158
- package/dist/src/types/store.js +0 -3
- package/dist/src/utils/validatePhoneNumber.d.ts +0 -1
- package/dist/src/utils/validatePhoneNumber.js +0 -20
@@ -1,412 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = exports.GET_CAMPAIGN_ACTION_BY_ID = exports.SUGGEST_VOUCHER = exports.GET_VOUCHER_AVAILABLE_FOR_CUSTOMER = exports.GET_PROMOTION_PRODUCT_PRICE = exports.GET_CAMPAIGN_ACTIVE_NOW = exports.CHECK_VALID_VOUCHER = exports.GET_VOUCHERS = exports.GET_CAMPAIGN_ACTION_ACTIVE_NOW = void 0;
|
4
|
-
const graphql_tag_1 = require("graphql-tag");
|
5
|
-
exports.GET_CAMPAIGN_ACTION_ACTIVE_NOW = (0, graphql_tag_1.gql) `
|
6
|
-
query GetCampaignActionActiveNow(
|
7
|
-
$partyId: String!
|
8
|
-
$customerId: String
|
9
|
-
$campaignActionType: String
|
10
|
-
$productStoreId: String
|
11
|
-
) {
|
12
|
-
getCampaignActionActiveNow(
|
13
|
-
checkCampaignActiveRequest: {
|
14
|
-
partyId: $partyId
|
15
|
-
customerId: $customerId
|
16
|
-
campaignActionType: $campaignActionType
|
17
|
-
productStoreId: $productStoreId
|
18
|
-
}
|
19
|
-
) {
|
20
|
-
campaignId
|
21
|
-
campaignName
|
22
|
-
statusCampaign
|
23
|
-
campaignDescription
|
24
|
-
fromDate
|
25
|
-
toDate
|
26
|
-
campaignActionId
|
27
|
-
campaignActionName
|
28
|
-
type
|
29
|
-
campaignActionDescription
|
30
|
-
priorityLevel
|
31
|
-
}
|
32
|
-
}
|
33
|
-
`;
|
34
|
-
exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
35
|
-
query SearchVoucher(
|
36
|
-
$partyId: String
|
37
|
-
$storeId: String
|
38
|
-
$campaignId: String
|
39
|
-
$campaignActionId: String
|
40
|
-
$campaignActionType: String
|
41
|
-
$customerId: String
|
42
|
-
$excludeExpired: Boolean
|
43
|
-
$pageNumber: Int
|
44
|
-
$pageSize: Int
|
45
|
-
) {
|
46
|
-
searchVoucher(
|
47
|
-
searchVoucherRequest: {
|
48
|
-
partyId: $partyId
|
49
|
-
storeId: $storeId
|
50
|
-
campaignId: $campaignId
|
51
|
-
campaignActionId: $campaignActionId
|
52
|
-
campaignActionType: $campaignActionType
|
53
|
-
customerId: $customerId
|
54
|
-
excludeExpired: $excludeExpired
|
55
|
-
pageNumber: $pageNumber
|
56
|
-
pageSize: $pageSize
|
57
|
-
}
|
58
|
-
) {
|
59
|
-
total
|
60
|
-
totalPages
|
61
|
-
totalElements
|
62
|
-
last
|
63
|
-
first
|
64
|
-
number
|
65
|
-
numberOfElements
|
66
|
-
size
|
67
|
-
empty
|
68
|
-
content {
|
69
|
-
campaignActionId
|
70
|
-
campaignId
|
71
|
-
partyId
|
72
|
-
voucherCode
|
73
|
-
voucherType
|
74
|
-
status
|
75
|
-
discountAmount
|
76
|
-
discountPercent
|
77
|
-
usageLimitPerVoucher
|
78
|
-
maximumDiscount
|
79
|
-
numberOfTimeUsed
|
80
|
-
id
|
81
|
-
createdStamp
|
82
|
-
updatedStamp
|
83
|
-
updatedBy
|
84
|
-
createdBy
|
85
|
-
isBirthday
|
86
|
-
customerId
|
87
|
-
}
|
88
|
-
}
|
89
|
-
}
|
90
|
-
`;
|
91
|
-
exports.CHECK_VALID_VOUCHER = (0, graphql_tag_1.gql) `
|
92
|
-
query CheckValidVoucher(
|
93
|
-
$partyId: String
|
94
|
-
$productStoreId: String
|
95
|
-
$customerId: String
|
96
|
-
$voucherCode: String!
|
97
|
-
) {
|
98
|
-
checkValidVoucher(
|
99
|
-
checkValidVoucherRequest: {
|
100
|
-
customerId: $customerId
|
101
|
-
voucherCode: $voucherCode
|
102
|
-
productStoreId: $productStoreId
|
103
|
-
}
|
104
|
-
partyId: $partyId
|
105
|
-
) {
|
106
|
-
campaignActionId
|
107
|
-
campaignId
|
108
|
-
partyId
|
109
|
-
voucherCode
|
110
|
-
voucherType
|
111
|
-
status
|
112
|
-
discountAmount
|
113
|
-
discountPercent
|
114
|
-
usageLimitPerVoucher
|
115
|
-
maximumDiscount
|
116
|
-
numberOfTimeUsed
|
117
|
-
id
|
118
|
-
createdStamp
|
119
|
-
updatedStamp
|
120
|
-
updatedBy
|
121
|
-
createdBy
|
122
|
-
}
|
123
|
-
}
|
124
|
-
`;
|
125
|
-
exports.GET_CAMPAIGN_ACTIVE_NOW = (0, graphql_tag_1.gql) `
|
126
|
-
query GetCampaignActiveNow(
|
127
|
-
$partyId: String!
|
128
|
-
$productStoreId: String
|
129
|
-
$campaignActionType: String
|
130
|
-
$customerId: String
|
131
|
-
) {
|
132
|
-
getCampaignActiveNow(
|
133
|
-
checkCampaignActiveRequest: {
|
134
|
-
partyId: $partyId
|
135
|
-
customerId: $customerId
|
136
|
-
campaignActionType: $campaignActionType
|
137
|
-
productStoreId: $productStoreId
|
138
|
-
}
|
139
|
-
) {
|
140
|
-
campaign {
|
141
|
-
id
|
142
|
-
createdStamp
|
143
|
-
updatedStamp
|
144
|
-
updatedBy
|
145
|
-
createdBy
|
146
|
-
useForAll
|
147
|
-
description
|
148
|
-
partyId
|
149
|
-
name
|
150
|
-
type
|
151
|
-
domain
|
152
|
-
fromDate
|
153
|
-
toDate
|
154
|
-
status
|
155
|
-
}
|
156
|
-
campaignActions {
|
157
|
-
name
|
158
|
-
description
|
159
|
-
partyId
|
160
|
-
type
|
161
|
-
viewTemplateId
|
162
|
-
urlTemplate
|
163
|
-
shortCode
|
164
|
-
uriPattern
|
165
|
-
parameterPattern
|
166
|
-
status
|
167
|
-
extendDaysForHeadReview
|
168
|
-
priorityLevel
|
169
|
-
positionConnectionType
|
170
|
-
baseCommissionPercent
|
171
|
-
targetType
|
172
|
-
id
|
173
|
-
createdStamp
|
174
|
-
updatedStamp
|
175
|
-
updatedBy
|
176
|
-
createdBy
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
180
|
-
`;
|
181
|
-
exports.GET_PROMOTION_PRODUCT_PRICE = (0, graphql_tag_1.gql) `
|
182
|
-
query GetPromotionProductPrice(
|
183
|
-
$partyId: String!
|
184
|
-
$productStoreId: String!
|
185
|
-
$productId: String!
|
186
|
-
$productPrice: BigDecimal!
|
187
|
-
) {
|
188
|
-
getPromotionProductPrice(
|
189
|
-
partyId: $partyId
|
190
|
-
productStoreId: $productStoreId
|
191
|
-
productId: $productId
|
192
|
-
productPrice: $productPrice
|
193
|
-
) {
|
194
|
-
campaignId
|
195
|
-
campaignName
|
196
|
-
statusCampaign
|
197
|
-
campaignDescription
|
198
|
-
fromDate
|
199
|
-
toDate
|
200
|
-
campaignPrivateUse
|
201
|
-
useWithOtherCampaignIds
|
202
|
-
campaignActionId
|
203
|
-
campaignActionName
|
204
|
-
type
|
205
|
-
campaignActionDescription
|
206
|
-
priorityLevel
|
207
|
-
campaignActionPrivateUse
|
208
|
-
useWithOtherCampaignActionIds
|
209
|
-
}
|
210
|
-
}
|
211
|
-
`;
|
212
|
-
exports.GET_VOUCHER_AVAILABLE_FOR_CUSTOMER = (0, graphql_tag_1.gql) `
|
213
|
-
query GetVoucherAvailableForCustomer(
|
214
|
-
$partyId: String
|
215
|
-
$storeId: String
|
216
|
-
$campaignId: String
|
217
|
-
$campaignActionId: String
|
218
|
-
$customerId: String
|
219
|
-
$excludeExpired: Boolean
|
220
|
-
$isPageAble: Boolean
|
221
|
-
) {
|
222
|
-
getVoucherAvailableForCustomer(
|
223
|
-
searchVoucherRequest: {
|
224
|
-
partyId: $partyId
|
225
|
-
storeId: $storeId
|
226
|
-
campaignId: $campaignId
|
227
|
-
campaignActionId: $campaignActionId
|
228
|
-
customerId: $customerId
|
229
|
-
excludeExpired: $excludeExpired
|
230
|
-
isPageAble: $isPageAble
|
231
|
-
}
|
232
|
-
) {
|
233
|
-
total
|
234
|
-
totalPages
|
235
|
-
totalElements
|
236
|
-
last
|
237
|
-
first
|
238
|
-
number
|
239
|
-
numberOfElements
|
240
|
-
size
|
241
|
-
empty
|
242
|
-
content {
|
243
|
-
campaignActionId
|
244
|
-
campaignId
|
245
|
-
partyId
|
246
|
-
voucherCode
|
247
|
-
voucherType
|
248
|
-
status
|
249
|
-
discountAmount
|
250
|
-
discountPercent
|
251
|
-
usageLimitPerVoucher
|
252
|
-
maximumDiscount
|
253
|
-
numberOfTimeUsed
|
254
|
-
id
|
255
|
-
createdStamp
|
256
|
-
updatedStamp
|
257
|
-
updatedBy
|
258
|
-
createdBy
|
259
|
-
isBirthday
|
260
|
-
customerId
|
261
|
-
}
|
262
|
-
}
|
263
|
-
}
|
264
|
-
`;
|
265
|
-
exports.SUGGEST_VOUCHER = (0, graphql_tag_1.gql) `
|
266
|
-
query SuggestVoucher(
|
267
|
-
$partyId: String
|
268
|
-
$customerId: String
|
269
|
-
$excludeExpired: Boolean
|
270
|
-
) {
|
271
|
-
suggestVoucher(
|
272
|
-
searchVoucherRequest: {
|
273
|
-
partyId: $partyId
|
274
|
-
customerId: $customerId
|
275
|
-
excludeExpired: $excludeExpired
|
276
|
-
}
|
277
|
-
) {
|
278
|
-
total
|
279
|
-
totalPages
|
280
|
-
totalElements
|
281
|
-
last
|
282
|
-
first
|
283
|
-
number
|
284
|
-
numberOfElements
|
285
|
-
size
|
286
|
-
empty
|
287
|
-
content {
|
288
|
-
campaignActionId
|
289
|
-
campaignId
|
290
|
-
partyId
|
291
|
-
voucherCode
|
292
|
-
voucherType
|
293
|
-
status
|
294
|
-
discountAmount
|
295
|
-
discountPercent
|
296
|
-
usageLimitPerVoucher
|
297
|
-
maximumDiscount
|
298
|
-
numberOfTimeUsed
|
299
|
-
id
|
300
|
-
createdStamp
|
301
|
-
updatedStamp
|
302
|
-
updatedBy
|
303
|
-
createdBy
|
304
|
-
isBirthday
|
305
|
-
customerId
|
306
|
-
scope
|
307
|
-
affiliateId
|
308
|
-
maximumSpend
|
309
|
-
minimumSpend
|
310
|
-
}
|
311
|
-
}
|
312
|
-
}
|
313
|
-
`;
|
314
|
-
// query GetCampaignActionById {
|
315
|
-
// getCampaignActionById(id: "20.1273.888") {
|
316
|
-
// name
|
317
|
-
// description
|
318
|
-
// partyId
|
319
|
-
// type
|
320
|
-
// viewTemplateId
|
321
|
-
// urlTemplate
|
322
|
-
// shortCode
|
323
|
-
// uriPattern
|
324
|
-
// parameterPattern
|
325
|
-
// status
|
326
|
-
// extendDaysForHeadReview
|
327
|
-
// priorityLevel
|
328
|
-
// positionConnectionType
|
329
|
-
// baseCommissionPercent
|
330
|
-
// targetType
|
331
|
-
// id
|
332
|
-
// createdStamp
|
333
|
-
// updatedStamp
|
334
|
-
// updatedBy
|
335
|
-
// createdBy
|
336
|
-
// }
|
337
|
-
// }
|
338
|
-
exports.GET_CAMPAIGN_ACTION_BY_ID = (0, graphql_tag_1.gql) `
|
339
|
-
query GetCampaignActionById($id: String!) {
|
340
|
-
getCampaignActionById(id: $id) {
|
341
|
-
name
|
342
|
-
description
|
343
|
-
partyId
|
344
|
-
type
|
345
|
-
viewTemplateId
|
346
|
-
urlTemplate
|
347
|
-
shortCode
|
348
|
-
uriPattern
|
349
|
-
parameterPattern
|
350
|
-
status
|
351
|
-
extendDaysForHeadReview
|
352
|
-
priorityLevel
|
353
|
-
positionConnectionType
|
354
|
-
baseCommissionPercent
|
355
|
-
targetType
|
356
|
-
id
|
357
|
-
createdStamp
|
358
|
-
updatedStamp
|
359
|
-
updatedBy
|
360
|
-
createdBy
|
361
|
-
}
|
362
|
-
}
|
363
|
-
`;
|
364
|
-
exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
|
365
|
-
query SearchProductGiftPromotionResponse(
|
366
|
-
$partyId: String!
|
367
|
-
$storeId: String
|
368
|
-
$campaignActionId: String
|
369
|
-
) {
|
370
|
-
searchProductGiftPromotionResponse(
|
371
|
-
parameterSearchProductGift: {
|
372
|
-
partyId: $partyId
|
373
|
-
storeId: $storeId
|
374
|
-
campaignActionId: $campaignActionId
|
375
|
-
}
|
376
|
-
) {
|
377
|
-
total
|
378
|
-
totalPages
|
379
|
-
totalElements
|
380
|
-
last
|
381
|
-
first
|
382
|
-
number
|
383
|
-
numberOfElements
|
384
|
-
size
|
385
|
-
empty
|
386
|
-
content {
|
387
|
-
id
|
388
|
-
partyId
|
389
|
-
campaignId
|
390
|
-
campaignActionId
|
391
|
-
productId
|
392
|
-
quantityLimit
|
393
|
-
campaignActionName
|
394
|
-
startDate
|
395
|
-
endDate
|
396
|
-
newCustomer
|
397
|
-
createdStamp
|
398
|
-
updatedStamp
|
399
|
-
updatedBy
|
400
|
-
createdBy
|
401
|
-
giftPromotions {
|
402
|
-
fromQuantity
|
403
|
-
toProductId
|
404
|
-
toQuantity
|
405
|
-
productName
|
406
|
-
sku
|
407
|
-
featureImage
|
408
|
-
}
|
409
|
-
}
|
410
|
-
}
|
411
|
-
}
|
412
|
-
`;
|
@@ -1,99 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GET_CASHBOOK_TRANSACTION_DETAIL = exports.SEARCH_TRANSACTIONS = void 0;
|
4
|
-
const graphql_tag_1 = require("graphql-tag");
|
5
|
-
exports.SEARCH_TRANSACTIONS = (0, graphql_tag_1.gql) `
|
6
|
-
query SearchTransactions(
|
7
|
-
$partnerId: String!
|
8
|
-
$keyword: String
|
9
|
-
$dateFrom: Long
|
10
|
-
$dateTo: Long
|
11
|
-
$currentPage: Int
|
12
|
-
$pageSize: Int
|
13
|
-
) {
|
14
|
-
searchTransactions(
|
15
|
-
partnerId: $partnerId
|
16
|
-
keyword: $keyword
|
17
|
-
dateFrom: $dateFrom
|
18
|
-
dateTo: $dateTo
|
19
|
-
currentPage: $currentPage
|
20
|
-
pageSize: $pageSize
|
21
|
-
) {
|
22
|
-
total
|
23
|
-
index
|
24
|
-
maxResult
|
25
|
-
resultList {
|
26
|
-
id
|
27
|
-
createdStamp
|
28
|
-
updatedStamp
|
29
|
-
createdBy
|
30
|
-
updatedBy
|
31
|
-
partnerId
|
32
|
-
extId
|
33
|
-
transactionId
|
34
|
-
paymentGatewayType
|
35
|
-
bankCode
|
36
|
-
bankAccountNumber
|
37
|
-
extBankAccountNumber
|
38
|
-
extBank
|
39
|
-
amount
|
40
|
-
currencyCode
|
41
|
-
description
|
42
|
-
timeTransaction
|
43
|
-
status
|
44
|
-
gateway
|
45
|
-
paymentId
|
46
|
-
paymentAmount
|
47
|
-
paymentConfirmStatus
|
48
|
-
paymentConfirmNote
|
49
|
-
accountTransactionId
|
50
|
-
orderId
|
51
|
-
invoiceId
|
52
|
-
cashAccountId
|
53
|
-
purpose
|
54
|
-
customAttributes
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
`;
|
59
|
-
exports.GET_CASHBOOK_TRANSACTION_DETAIL = (0, graphql_tag_1.gql) `
|
60
|
-
query GetCashbookTransactionDetail(
|
61
|
-
$partnerId: String!
|
62
|
-
$cashTransactionId: String!
|
63
|
-
) {
|
64
|
-
getCashbookTransactionDetail(
|
65
|
-
partnerId: $partnerId
|
66
|
-
cashTransactionId: $cashTransactionId
|
67
|
-
) {
|
68
|
-
id
|
69
|
-
createdStamp
|
70
|
-
updatedStamp
|
71
|
-
createdBy
|
72
|
-
updatedBy
|
73
|
-
partnerId
|
74
|
-
extId
|
75
|
-
transactionId
|
76
|
-
paymentGatewayType
|
77
|
-
bankCode
|
78
|
-
bankAccountNumber
|
79
|
-
extBankAccountNumber
|
80
|
-
extBank
|
81
|
-
amount
|
82
|
-
currencyCode
|
83
|
-
description
|
84
|
-
timeTransaction
|
85
|
-
status
|
86
|
-
gateway
|
87
|
-
paymentId
|
88
|
-
paymentAmount
|
89
|
-
paymentConfirmStatus
|
90
|
-
paymentConfirmNote
|
91
|
-
accountTransactionId
|
92
|
-
orderId
|
93
|
-
invoiceId
|
94
|
-
cashAccountId
|
95
|
-
purpose
|
96
|
-
customAttributes
|
97
|
-
}
|
98
|
-
}
|
99
|
-
`;
|
@@ -1,54 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CONFIRM_PAYMENT_SUCCESS_MANUAL = exports.CONFIRM_TO_GATEWAY = exports.CANCEL_PAYMENT = void 0;
|
4
|
-
const graphql_tag_1 = require("graphql-tag");
|
5
|
-
exports.CANCEL_PAYMENT = (0, graphql_tag_1.gql) `
|
6
|
-
mutation CancelPayment($paymentId: String!, $reason: String!) {
|
7
|
-
cancelPayment(paymentId: $paymentId, reason: $reason)
|
8
|
-
}
|
9
|
-
`;
|
10
|
-
exports.CONFIRM_TO_GATEWAY = (0, graphql_tag_1.gql) `
|
11
|
-
mutation ConfirmToGateWay(
|
12
|
-
$paymentId: String!
|
13
|
-
$methodCode: String
|
14
|
-
$returnUrl: String
|
15
|
-
) {
|
16
|
-
confirmToGateway(
|
17
|
-
paymentId: $paymentId
|
18
|
-
methodCode: $methodCode
|
19
|
-
returnUrl: $returnUrl
|
20
|
-
) {
|
21
|
-
code
|
22
|
-
message
|
23
|
-
data
|
24
|
-
qrCodeUrl
|
25
|
-
deeplink
|
26
|
-
deeplinkMiniApp
|
27
|
-
paymentId
|
28
|
-
gwConfigId
|
29
|
-
}
|
30
|
-
}
|
31
|
-
`;
|
32
|
-
exports.CONFIRM_PAYMENT_SUCCESS_MANUAL = (0, graphql_tag_1.gql) `
|
33
|
-
mutation ConfirmPaymentSuccessManual(
|
34
|
-
$paymentId: String!
|
35
|
-
$transactionNo: String!
|
36
|
-
$note: String
|
37
|
-
$confirmBy: String!
|
38
|
-
) {
|
39
|
-
confirmPaymentSuccessManual(
|
40
|
-
paymentId: $paymentId
|
41
|
-
transactionNo: $transactionNo
|
42
|
-
note: $note
|
43
|
-
confirmBy: $confirmBy
|
44
|
-
) {
|
45
|
-
code
|
46
|
-
message
|
47
|
-
data
|
48
|
-
qrCodeUrl
|
49
|
-
deeplink
|
50
|
-
deeplinkMiniApp
|
51
|
-
paymentId
|
52
|
-
}
|
53
|
-
}
|
54
|
-
`;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export declare const PAYMENTS_BY_ORDERS: import("graphql").DocumentNode;
|
2
|
-
export declare const PAYMENT_METHODS: import("graphql").DocumentNode;
|
3
|
-
export declare const GET_PAYMENT_METHOD_TYPES: import("graphql").DocumentNode;
|
4
|
-
export declare const PAYMENT_INFO: import("graphql").DocumentNode;
|
5
|
-
export declare const PAYMENT_STATUS: import("graphql").DocumentNode;
|
6
|
-
export declare const GW_CONFIG_DETAIL: import("graphql").DocumentNode;
|