@longvansoftware/service-js-client 1.16.4 → 1.16.6
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/src/graphql/cloud/mutations.d.ts +0 -4
- package/dist/src/graphql/cloud/mutations.js +1 -47
- package/dist/src/graphql/cloud/queries.d.ts +0 -1
- package/dist/src/graphql/cloud/queries.js +1 -26
- package/dist/src/graphql/computing/mutations.d.ts +0 -1
- package/dist/src/graphql/computing/mutations.js +1 -15
- package/dist/src/graphql/crm/mutations.d.ts +0 -3
- package/dist/src/graphql/crm/mutations.js +1 -54
- package/dist/src/graphql/crm/queries.d.ts +0 -3
- package/dist/src/graphql/crm/queries.js +1 -71
- package/dist/src/graphql/crm_camping/queries.js +19 -49
- package/dist/src/graphql/orderGraphQL/queries.d.ts +5 -7
- package/dist/src/graphql/orderGraphQL/queries.js +1 -11
- package/dist/src/graphql/product/queries.d.ts +0 -2
- package/dist/src/graphql/product/queries.js +1 -32
- package/dist/src/lib/auth/index.d.ts +1 -1
- package/dist/src/lib/auth/index.js +4 -3
- package/dist/src/lib/cloud/index.d.ts +0 -5
- package/dist/src/lib/cloud/index.js +0 -85
- package/dist/src/lib/computing/index.d.ts +0 -1
- package/dist/src/lib/computing/index.js +0 -17
- package/dist/src/lib/crm/index.d.ts +0 -6
- package/dist/src/lib/crm/index.js +0 -107
- package/dist/src/lib/crm_camping/index.d.ts +2 -2
- package/dist/src/lib/crm_camping/index.js +8 -13
- package/dist/src/lib/orderGraphQL/index.d.ts +0 -1
- package/dist/src/lib/orderGraphQL/index.js +0 -16
- package/dist/src/lib/product/index.d.ts +0 -2
- package/dist/src/lib/product/index.js +0 -34
- package/dist/src/lib/resource_permission/index.d.ts +2 -2
- package/dist/src/lib/resource_permission/index.js +4 -4
- package/dist/src/lib/service.d.ts +14 -0
- package/dist/src/lib/service.js +101 -0
- package/dist/src/utils/build-field-string.d.ts +1 -0
- package/dist/src/utils/build-field-string.js +16 -0
- package/package.json +1 -1
- 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 -427
- package/dist/src/graphql/cashbook/queries.d.ts +0 -2
- package/dist/src/graphql/cashbook/queries.js +0 -99
- package/dist/src/graphql/fragments/product.d.ts +0 -38
- package/dist/src/graphql/fragments/product.js +0 -196
- package/dist/src/graphql/paymentV2/mutations.d.ts +0 -5
- package/dist/src/graphql/paymentV2/mutations.js +0 -120
- package/dist/src/graphql/paymentV2/queries.d.ts +0 -9
- package/dist/src/graphql/paymentV2/queries.js +0 -257
- 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 -218
- 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 -7
- package/dist/src/lib/deepLinkVietQr/index.js +0 -58
- package/dist/src/lib/fileService/index.d.ts +0 -34
- package/dist/src/lib/fileService/index.js +0 -80
- 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 -18
- package/dist/src/lib/paymentV2/index.js +0 -245
- package/dist/src/lib/portal/index.d.ts +0 -23
- package/dist/src/lib/portal/index.js +0 -255
- package/dist/src/lib/shareZalo/index.d.ts +0 -5
- package/dist/src/lib/shareZalo/index.js +0 -32
- 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/common.d.ts +0 -264
- package/dist/src/types/common.js +0 -35
- package/dist/src/types/invoice.d.ts +0 -13
- package/dist/src/types/invoice.js +0 -2
- package/dist/src/types/portal.d.ts +0 -7
- package/dist/src/types/portal.js +0 -2
- package/dist/src/types/store.d.ts +0 -158
- package/dist/src/types/store.js +0 -3
- package/dist/src/utils/errorHandler.d.ts +0 -64
- package/dist/src/utils/errorHandler.js +0 -197
- package/dist/src/utils/validatePhoneNumber.d.ts +0 -1
- package/dist/src/utils/validatePhoneNumber.js +0 -20
@@ -1,427 +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
|
-
$campaignId: String
|
271
|
-
$campaignActionId: String
|
272
|
-
$isBirthday: Boolean
|
273
|
-
) {
|
274
|
-
suggestVoucher(
|
275
|
-
searchVoucherRequest: {
|
276
|
-
partyId: $partyId
|
277
|
-
customerId: $customerId
|
278
|
-
excludeExpired: $excludeExpired
|
279
|
-
campaignId: $campaignId
|
280
|
-
campaignActionId: $campaignActionId
|
281
|
-
isBirthday: $isBirthday
|
282
|
-
}
|
283
|
-
) {
|
284
|
-
total
|
285
|
-
totalPages
|
286
|
-
totalElements
|
287
|
-
last
|
288
|
-
first
|
289
|
-
number
|
290
|
-
numberOfElements
|
291
|
-
size
|
292
|
-
empty
|
293
|
-
content {
|
294
|
-
campaignActionId
|
295
|
-
campaignId
|
296
|
-
partyId
|
297
|
-
voucherCode
|
298
|
-
voucherType
|
299
|
-
status
|
300
|
-
discountAmount
|
301
|
-
discountPercent
|
302
|
-
usageLimitPerVoucher
|
303
|
-
maximumDiscount
|
304
|
-
numberOfTimeUsed
|
305
|
-
id
|
306
|
-
createdStamp
|
307
|
-
updatedStamp
|
308
|
-
updatedBy
|
309
|
-
createdBy
|
310
|
-
isBirthday
|
311
|
-
customerId
|
312
|
-
scope
|
313
|
-
affiliateId
|
314
|
-
maximumSpend
|
315
|
-
minimumSpend
|
316
|
-
maximumDiscountType
|
317
|
-
}
|
318
|
-
}
|
319
|
-
}
|
320
|
-
`;
|
321
|
-
// query GetCampaignActionById {
|
322
|
-
// getCampaignActionById(id: "20.1273.888") {
|
323
|
-
// name
|
324
|
-
// description
|
325
|
-
// partyId
|
326
|
-
// type
|
327
|
-
// viewTemplateId
|
328
|
-
// urlTemplate
|
329
|
-
// shortCode
|
330
|
-
// uriPattern
|
331
|
-
// parameterPattern
|
332
|
-
// status
|
333
|
-
// extendDaysForHeadReview
|
334
|
-
// priorityLevel
|
335
|
-
// positionConnectionType
|
336
|
-
// baseCommissionPercent
|
337
|
-
// targetType
|
338
|
-
// id
|
339
|
-
// createdStamp
|
340
|
-
// updatedStamp
|
341
|
-
// updatedBy
|
342
|
-
// createdBy
|
343
|
-
// }
|
344
|
-
// }
|
345
|
-
exports.GET_CAMPAIGN_ACTION_BY_ID = (0, graphql_tag_1.gql) `
|
346
|
-
query GetCampaignActionById($id: String!) {
|
347
|
-
getCampaignActionById(id: $id) {
|
348
|
-
name
|
349
|
-
description
|
350
|
-
partyId
|
351
|
-
type
|
352
|
-
viewTemplateId
|
353
|
-
urlTemplate
|
354
|
-
shortCode
|
355
|
-
uriPattern
|
356
|
-
parameterPattern
|
357
|
-
status
|
358
|
-
extendDaysForHeadReview
|
359
|
-
priorityLevel
|
360
|
-
positionConnectionType
|
361
|
-
baseCommissionPercent
|
362
|
-
targetType
|
363
|
-
id
|
364
|
-
createdStamp
|
365
|
-
updatedStamp
|
366
|
-
updatedBy
|
367
|
-
createdBy
|
368
|
-
}
|
369
|
-
}
|
370
|
-
`;
|
371
|
-
exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
|
372
|
-
query SearchProductGiftPromotionResponse(
|
373
|
-
$partyId: String!
|
374
|
-
$storeId: String
|
375
|
-
$productIds: [String]
|
376
|
-
$campaignActionId: String
|
377
|
-
$sort: [BaseSortRequest]
|
378
|
-
) {
|
379
|
-
searchProductGiftPromotionResponse(
|
380
|
-
parameterSearchProductGift: {
|
381
|
-
partyId: $partyId
|
382
|
-
storeId: $storeId
|
383
|
-
productIds: $productIds
|
384
|
-
campaignActionId: $campaignActionId
|
385
|
-
sort: $sort
|
386
|
-
}
|
387
|
-
) {
|
388
|
-
total
|
389
|
-
totalPages
|
390
|
-
totalElements
|
391
|
-
last
|
392
|
-
first
|
393
|
-
number
|
394
|
-
numberOfElements
|
395
|
-
size
|
396
|
-
empty
|
397
|
-
content {
|
398
|
-
id
|
399
|
-
partyId
|
400
|
-
campaignId
|
401
|
-
campaignActionId
|
402
|
-
productId
|
403
|
-
quantityLimit
|
404
|
-
campaignActionName
|
405
|
-
startDate
|
406
|
-
productParentId
|
407
|
-
endDate
|
408
|
-
newCustomer
|
409
|
-
createdStamp
|
410
|
-
updatedStamp
|
411
|
-
updatedBy
|
412
|
-
createdBy
|
413
|
-
giftPromotions {
|
414
|
-
fromQuantity
|
415
|
-
toProductId
|
416
|
-
toQuantity
|
417
|
-
productName
|
418
|
-
sku
|
419
|
-
featureImage
|
420
|
-
}
|
421
|
-
}
|
422
|
-
sort {
|
423
|
-
sorted
|
424
|
-
}
|
425
|
-
}
|
426
|
-
}
|
427
|
-
`;
|
@@ -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,38 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Common product fields fragment
|
3
|
-
* Used across multiple product queries to reduce duplication
|
4
|
-
*/
|
5
|
-
export declare const PRODUCT_CORE_FIELDS: import("graphql").DocumentNode;
|
6
|
-
/**
|
7
|
-
* Product attributes fragment
|
8
|
-
*/
|
9
|
-
export declare const PRODUCT_ATTRIBUTES: import("graphql").DocumentNode;
|
10
|
-
/**
|
11
|
-
* Product variants fragment
|
12
|
-
*/
|
13
|
-
export declare const PRODUCT_VARIANTS: import("graphql").DocumentNode;
|
14
|
-
/**
|
15
|
-
* Product feature types fragment
|
16
|
-
*/
|
17
|
-
export declare const PRODUCT_FEATURE_TYPES: import("graphql").DocumentNode;
|
18
|
-
/**
|
19
|
-
* Product categories fragment
|
20
|
-
*/
|
21
|
-
export declare const PRODUCT_CATEGORIES: import("graphql").DocumentNode;
|
22
|
-
/**
|
23
|
-
* Product unit fragment
|
24
|
-
*/
|
25
|
-
export declare const PRODUCT_UNIT: import("graphql").DocumentNode;
|
26
|
-
/**
|
27
|
-
* Complete product details fragment
|
28
|
-
* Combines all product fragments for detailed queries
|
29
|
-
*/
|
30
|
-
export declare const PRODUCT_FULL_DETAILS: import("graphql").DocumentNode;
|
31
|
-
/**
|
32
|
-
* Simple product fields for list views
|
33
|
-
*/
|
34
|
-
export declare const PRODUCT_SIMPLE_FIELDS: import("graphql").DocumentNode;
|
35
|
-
/**
|
36
|
-
* Extended product fields for getProducts query
|
37
|
-
*/
|
38
|
-
export declare const PRODUCT_EXTENDED_FIELDS: import("graphql").DocumentNode;
|