@longvansoftware/storefront-js-client 2.7.4 → 2.7.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/README.md +93 -93
- package/dist/src/graphql/auth/mutations.js +130 -130
- package/dist/src/graphql/auth/queries.js +55 -55
- package/dist/src/graphql/campaign/mutations.js +26 -26
- package/dist/src/graphql/campaign/queries.js +369 -368
- package/dist/src/graphql/cloud/mutations.js +103 -103
- package/dist/src/graphql/cloud/queries.js +112 -112
- package/dist/src/graphql/computing/mutations.js +96 -96
- package/dist/src/graphql/computing/queries.js +41 -41
- package/dist/src/graphql/crm/mutations.js +813 -813
- package/dist/src/graphql/crm/queries.js +661 -661
- package/dist/src/graphql/payment/mutations.js +40 -40
- package/dist/src/graphql/payment/queries.js +57 -57
- package/dist/src/graphql/paymentV2/mutations.js +47 -47
- package/dist/src/graphql/paymentV2/queries.js +176 -176
- package/dist/src/graphql/product/mutations.d.ts +7 -0
- package/dist/src/graphql/product/mutations.js +104 -0
- package/dist/src/graphql/product/queries.d.ts +1 -0
- package/dist/src/graphql/product/queries.js +493 -454
- package/dist/src/graphql/service/mutations.js +304 -304
- package/dist/src/graphql/service/queries.js +131 -131
- package/dist/src/graphql/user/mutations.js +110 -110
- package/dist/src/graphql/user/queries.js +279 -279
- package/dist/src/lib/campaign/index.d.ts +1 -1
- package/dist/src/lib/campaign/index.js +2 -1
- package/dist/src/lib/product/index.d.ts +8 -0
- package/dist/src/lib/product/index.js +133 -0
- package/dist/src/lib/serviceSDK.js +12 -12
- package/dist/src/lib/shareZalo/index.d.ts +5 -0
- package/dist/src/lib/shareZalo/index.js +32 -0
- package/package.json +43 -43
|
@@ -2,44 +2,44 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CREATE_PAYMENT_ORDER_MUTATION = void 0;
|
|
4
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: BigDecimal
|
|
13
|
-
$payDate: String!
|
|
14
|
-
$returnUrl: String
|
|
15
|
-
$paymentType: String!
|
|
16
|
-
$createBy: String!
|
|
17
|
-
$paymentInfo: String
|
|
18
|
-
$attributes: JSON
|
|
19
|
-
) {
|
|
20
|
-
createPaymentOrder(
|
|
21
|
-
orgId: $orgId
|
|
22
|
-
orderId: $orderId
|
|
23
|
-
paymentMethod: $paymentMethod
|
|
24
|
-
storeId: $storeId
|
|
25
|
-
source: $source
|
|
26
|
-
appliedAmount: $appliedAmount
|
|
27
|
-
payDate: $payDate
|
|
28
|
-
returnUrl: $returnUrl
|
|
29
|
-
paymentType: $paymentType
|
|
30
|
-
createBy: $createBy
|
|
31
|
-
paymentInfo: $paymentInfo
|
|
32
|
-
attributes: $attributes
|
|
33
|
-
) {
|
|
34
|
-
code
|
|
35
|
-
message
|
|
36
|
-
data
|
|
37
|
-
qrCodeUrl
|
|
38
|
-
deeplink
|
|
39
|
-
deeplinkMiniApp
|
|
40
|
-
invoiceId
|
|
41
|
-
orderId
|
|
42
|
-
paymentId
|
|
43
|
-
}
|
|
44
|
-
}
|
|
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: BigDecimal
|
|
13
|
+
$payDate: String!
|
|
14
|
+
$returnUrl: String
|
|
15
|
+
$paymentType: String!
|
|
16
|
+
$createBy: String!
|
|
17
|
+
$paymentInfo: String
|
|
18
|
+
$attributes: JSON
|
|
19
|
+
) {
|
|
20
|
+
createPaymentOrder(
|
|
21
|
+
orgId: $orgId
|
|
22
|
+
orderId: $orderId
|
|
23
|
+
paymentMethod: $paymentMethod
|
|
24
|
+
storeId: $storeId
|
|
25
|
+
source: $source
|
|
26
|
+
appliedAmount: $appliedAmount
|
|
27
|
+
payDate: $payDate
|
|
28
|
+
returnUrl: $returnUrl
|
|
29
|
+
paymentType: $paymentType
|
|
30
|
+
createBy: $createBy
|
|
31
|
+
paymentInfo: $paymentInfo
|
|
32
|
+
attributes: $attributes
|
|
33
|
+
) {
|
|
34
|
+
code
|
|
35
|
+
message
|
|
36
|
+
data
|
|
37
|
+
qrCodeUrl
|
|
38
|
+
deeplink
|
|
39
|
+
deeplinkMiniApp
|
|
40
|
+
invoiceId
|
|
41
|
+
orderId
|
|
42
|
+
paymentId
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
45
|
`;
|
|
@@ -2,64 +2,64 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GET_INVOICE_DETAIL = exports.GET_PAYMENT_METHOD_OF_STORE_CHANNEL = exports.GEN_QR_PAYMENT = exports.GET_PAYMENT_METHOD = void 0;
|
|
4
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
|
-
id
|
|
9
|
-
code
|
|
10
|
-
name
|
|
11
|
-
}
|
|
12
|
-
}
|
|
5
|
+
exports.GET_PAYMENT_METHOD = (0, graphql_tag_1.gql) `
|
|
6
|
+
query GetPaymentMethod($orgId: String!, $storeChannelId: String) {
|
|
7
|
+
getPaymentMethod(orgId: $orgId, storeChannelId: $storeChannelId) {
|
|
8
|
+
id
|
|
9
|
+
code
|
|
10
|
+
name
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
13
|
`;
|
|
14
|
-
exports.GEN_QR_PAYMENT = (0, graphql_tag_1.gql) `
|
|
15
|
-
query GenQRPayment(
|
|
16
|
-
$orgId: String!
|
|
17
|
-
$orderId: String!
|
|
18
|
-
$storeId: String!
|
|
19
|
-
$totalAmount: BigDecimal
|
|
20
|
-
) {
|
|
21
|
-
genQRPayment(
|
|
22
|
-
orgId: $orgId
|
|
23
|
-
orderId: $orderId
|
|
24
|
-
storeId: $storeId
|
|
25
|
-
totalAmount: $totalAmount
|
|
26
|
-
)
|
|
27
|
-
}
|
|
14
|
+
exports.GEN_QR_PAYMENT = (0, graphql_tag_1.gql) `
|
|
15
|
+
query GenQRPayment(
|
|
16
|
+
$orgId: String!
|
|
17
|
+
$orderId: String!
|
|
18
|
+
$storeId: String!
|
|
19
|
+
$totalAmount: BigDecimal
|
|
20
|
+
) {
|
|
21
|
+
genQRPayment(
|
|
22
|
+
orgId: $orgId
|
|
23
|
+
orderId: $orderId
|
|
24
|
+
storeId: $storeId
|
|
25
|
+
totalAmount: $totalAmount
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
28
|
`;
|
|
29
|
-
exports.GET_PAYMENT_METHOD_OF_STORE_CHANNEL = (0, graphql_tag_1.gql) `
|
|
30
|
-
query GetPaymentMethodOfStoreChannel(
|
|
31
|
-
$orgId: String!
|
|
32
|
-
$storeChannelId: String!
|
|
33
|
-
) {
|
|
34
|
-
getPaymentMethodOfStoreChannel(
|
|
35
|
-
orgId: $orgId
|
|
36
|
-
storeChannelId: $storeChannelId
|
|
37
|
-
) {
|
|
38
|
-
id
|
|
39
|
-
code
|
|
40
|
-
name
|
|
41
|
-
image
|
|
42
|
-
description
|
|
43
|
-
}
|
|
44
|
-
}
|
|
29
|
+
exports.GET_PAYMENT_METHOD_OF_STORE_CHANNEL = (0, graphql_tag_1.gql) `
|
|
30
|
+
query GetPaymentMethodOfStoreChannel(
|
|
31
|
+
$orgId: String!
|
|
32
|
+
$storeChannelId: String!
|
|
33
|
+
) {
|
|
34
|
+
getPaymentMethodOfStoreChannel(
|
|
35
|
+
orgId: $orgId
|
|
36
|
+
storeChannelId: $storeChannelId
|
|
37
|
+
) {
|
|
38
|
+
id
|
|
39
|
+
code
|
|
40
|
+
name
|
|
41
|
+
image
|
|
42
|
+
description
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
45
|
`;
|
|
46
|
-
exports.GET_INVOICE_DETAIL = (0, graphql_tag_1.gql) `
|
|
47
|
-
query GetInvoiceDetail($invoiceId: String!) {
|
|
48
|
-
getInvoiceDetail(invoiceId: $invoiceId) {
|
|
49
|
-
id
|
|
50
|
-
orderId
|
|
51
|
-
type
|
|
52
|
-
partyIdFrom
|
|
53
|
-
partyIdTo
|
|
54
|
-
status
|
|
55
|
-
invoiceDate
|
|
56
|
-
invoiceDueDate
|
|
57
|
-
createdBy
|
|
58
|
-
createdStamp
|
|
59
|
-
paymentId
|
|
60
|
-
originalTotalPrice
|
|
61
|
-
totalVAT
|
|
62
|
-
appliedAmount
|
|
63
|
-
}
|
|
64
|
-
}
|
|
46
|
+
exports.GET_INVOICE_DETAIL = (0, graphql_tag_1.gql) `
|
|
47
|
+
query GetInvoiceDetail($invoiceId: String!) {
|
|
48
|
+
getInvoiceDetail(invoiceId: $invoiceId) {
|
|
49
|
+
id
|
|
50
|
+
orderId
|
|
51
|
+
type
|
|
52
|
+
partyIdFrom
|
|
53
|
+
partyIdTo
|
|
54
|
+
status
|
|
55
|
+
invoiceDate
|
|
56
|
+
invoiceDueDate
|
|
57
|
+
createdBy
|
|
58
|
+
createdStamp
|
|
59
|
+
paymentId
|
|
60
|
+
originalTotalPrice
|
|
61
|
+
totalVAT
|
|
62
|
+
appliedAmount
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
65
|
`;
|
|
@@ -2,53 +2,53 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CONFIRM_PAYMENT_SUCCESS_MANUAL = exports.CONFIRM_TO_GATEWAY = exports.CANCEL_PAYMENT = void 0;
|
|
4
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
|
-
}
|
|
5
|
+
exports.CANCEL_PAYMENT = (0, graphql_tag_1.gql) `
|
|
6
|
+
mutation CancelPayment($paymentId: String!, $reason: String!) {
|
|
7
|
+
cancelPayment(paymentId: $paymentId, reason: $reason)
|
|
8
|
+
}
|
|
9
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
|
-
}
|
|
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
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
|
-
}
|
|
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
54
|
`;
|
|
@@ -2,185 +2,185 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GW_CONFIG_DETAIL = exports.PAYMENT_STATUS = exports.PAYMENT_INFO = exports.GET_PAYMENT_METHOD_TYPES = exports.PAYMENT_METHODS = exports.PAYMENTS_BY_ORDERS = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
-
exports.PAYMENTS_BY_ORDERS = (0, graphql_tag_1.gql) `
|
|
6
|
-
query PaymentsByOrders($orderIds: [String!]!) {
|
|
7
|
-
paymentsByOrders(orderIds: $orderIds) {
|
|
8
|
-
methodCode
|
|
9
|
-
methodTypeCode
|
|
10
|
-
gatewayConfigId
|
|
11
|
-
partnerCode
|
|
12
|
-
totalAmount
|
|
13
|
-
fee
|
|
14
|
-
discountAmount
|
|
15
|
-
payDate
|
|
16
|
-
payType
|
|
17
|
-
transactionDate
|
|
18
|
-
orderId
|
|
19
|
-
paymentId
|
|
20
|
-
invoiceId
|
|
21
|
-
orderInfo
|
|
22
|
-
orderType
|
|
23
|
-
locale
|
|
24
|
-
merchantIp
|
|
25
|
-
extraData
|
|
26
|
-
storeID
|
|
27
|
-
bankCode
|
|
28
|
-
appUser
|
|
29
|
-
phone
|
|
30
|
-
email
|
|
31
|
-
address
|
|
32
|
-
statusCode
|
|
33
|
-
statusDescription
|
|
34
|
-
transactionId
|
|
35
|
-
createBy
|
|
36
|
-
methodDescription
|
|
37
|
-
methodMapping
|
|
38
|
-
baseMethodCode
|
|
39
|
-
confirmPaidBy
|
|
40
|
-
confirmPaidDate
|
|
41
|
-
qrCode
|
|
42
|
-
payUrl
|
|
43
|
-
paymentNote
|
|
44
|
-
}
|
|
45
|
-
}
|
|
5
|
+
exports.PAYMENTS_BY_ORDERS = (0, graphql_tag_1.gql) `
|
|
6
|
+
query PaymentsByOrders($orderIds: [String!]!) {
|
|
7
|
+
paymentsByOrders(orderIds: $orderIds) {
|
|
8
|
+
methodCode
|
|
9
|
+
methodTypeCode
|
|
10
|
+
gatewayConfigId
|
|
11
|
+
partnerCode
|
|
12
|
+
totalAmount
|
|
13
|
+
fee
|
|
14
|
+
discountAmount
|
|
15
|
+
payDate
|
|
16
|
+
payType
|
|
17
|
+
transactionDate
|
|
18
|
+
orderId
|
|
19
|
+
paymentId
|
|
20
|
+
invoiceId
|
|
21
|
+
orderInfo
|
|
22
|
+
orderType
|
|
23
|
+
locale
|
|
24
|
+
merchantIp
|
|
25
|
+
extraData
|
|
26
|
+
storeID
|
|
27
|
+
bankCode
|
|
28
|
+
appUser
|
|
29
|
+
phone
|
|
30
|
+
email
|
|
31
|
+
address
|
|
32
|
+
statusCode
|
|
33
|
+
statusDescription
|
|
34
|
+
transactionId
|
|
35
|
+
createBy
|
|
36
|
+
methodDescription
|
|
37
|
+
methodMapping
|
|
38
|
+
baseMethodCode
|
|
39
|
+
confirmPaidBy
|
|
40
|
+
confirmPaidDate
|
|
41
|
+
qrCode
|
|
42
|
+
payUrl
|
|
43
|
+
paymentNote
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
46
|
`;
|
|
47
|
-
exports.PAYMENT_METHODS = (0, graphql_tag_1.gql) `
|
|
48
|
-
query PaymentMethods($partnerCode: String) {
|
|
49
|
-
paymentMethods(partnerCode: $partnerCode) {
|
|
50
|
-
id
|
|
51
|
-
code
|
|
52
|
-
name
|
|
53
|
-
description
|
|
54
|
-
image
|
|
55
|
-
}
|
|
56
|
-
}
|
|
47
|
+
exports.PAYMENT_METHODS = (0, graphql_tag_1.gql) `
|
|
48
|
+
query PaymentMethods($partnerCode: String) {
|
|
49
|
+
paymentMethods(partnerCode: $partnerCode) {
|
|
50
|
+
id
|
|
51
|
+
code
|
|
52
|
+
name
|
|
53
|
+
description
|
|
54
|
+
image
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
57
|
`;
|
|
58
|
-
exports.GET_PAYMENT_METHOD_TYPES = (0, graphql_tag_1.gql) `
|
|
59
|
-
query GetPaymentMethodTypes($partnerId: String!, $storeId: String!) {
|
|
60
|
-
getPaymentMethodTypes(partnerId: $partnerId, storeId: $storeId) {
|
|
61
|
-
code
|
|
62
|
-
name
|
|
63
|
-
description
|
|
64
|
-
image
|
|
65
|
-
}
|
|
66
|
-
}
|
|
58
|
+
exports.GET_PAYMENT_METHOD_TYPES = (0, graphql_tag_1.gql) `
|
|
59
|
+
query GetPaymentMethodTypes($partnerId: String!, $storeId: String!) {
|
|
60
|
+
getPaymentMethodTypes(partnerId: $partnerId, storeId: $storeId) {
|
|
61
|
+
code
|
|
62
|
+
name
|
|
63
|
+
description
|
|
64
|
+
image
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
67
|
`;
|
|
68
|
-
exports.PAYMENT_INFO = (0, graphql_tag_1.gql) `
|
|
69
|
-
query PaymentInfo($paymentId: String!) {
|
|
70
|
-
paymentInfo(paymentId: $paymentId) {
|
|
71
|
-
id
|
|
72
|
-
payType
|
|
73
|
-
payDate
|
|
74
|
-
dueDate
|
|
75
|
-
completePayment
|
|
76
|
-
paymentTerm
|
|
77
|
-
methodCode
|
|
78
|
-
methodTypeCode
|
|
79
|
-
gatewayConfigId
|
|
80
|
-
partnerCode
|
|
81
|
-
totalAmount
|
|
82
|
-
remain
|
|
83
|
-
currCode
|
|
84
|
-
invoiceId
|
|
85
|
-
orderId
|
|
86
|
-
orderInfo
|
|
87
|
-
orderGroup
|
|
88
|
-
orderType
|
|
89
|
-
returnUrl
|
|
90
|
-
ipnUrl
|
|
91
|
-
merchantIp
|
|
92
|
-
extraData
|
|
93
|
-
storeID
|
|
94
|
-
bankCode
|
|
95
|
-
appUser
|
|
96
|
-
phone
|
|
97
|
-
email
|
|
98
|
-
address
|
|
99
|
-
signature
|
|
100
|
-
createBy
|
|
101
|
-
transactionId
|
|
102
|
-
baseMethodCode
|
|
103
|
-
retry
|
|
104
|
-
postToOrder
|
|
105
|
-
editAble
|
|
106
|
-
approved
|
|
107
|
-
statusCode
|
|
108
|
-
paymentGroup
|
|
109
|
-
userId
|
|
110
|
-
type
|
|
111
|
-
attributes
|
|
112
|
-
items {
|
|
113
|
-
id
|
|
114
|
-
partnerCode
|
|
115
|
-
paymentId
|
|
116
|
-
type
|
|
117
|
-
orderId
|
|
118
|
-
invoiceId
|
|
119
|
-
orderGroup
|
|
120
|
-
orderType
|
|
121
|
-
orderInfo
|
|
122
|
-
totalAmount
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
68
|
+
exports.PAYMENT_INFO = (0, graphql_tag_1.gql) `
|
|
69
|
+
query PaymentInfo($paymentId: String!) {
|
|
70
|
+
paymentInfo(paymentId: $paymentId) {
|
|
71
|
+
id
|
|
72
|
+
payType
|
|
73
|
+
payDate
|
|
74
|
+
dueDate
|
|
75
|
+
completePayment
|
|
76
|
+
paymentTerm
|
|
77
|
+
methodCode
|
|
78
|
+
methodTypeCode
|
|
79
|
+
gatewayConfigId
|
|
80
|
+
partnerCode
|
|
81
|
+
totalAmount
|
|
82
|
+
remain
|
|
83
|
+
currCode
|
|
84
|
+
invoiceId
|
|
85
|
+
orderId
|
|
86
|
+
orderInfo
|
|
87
|
+
orderGroup
|
|
88
|
+
orderType
|
|
89
|
+
returnUrl
|
|
90
|
+
ipnUrl
|
|
91
|
+
merchantIp
|
|
92
|
+
extraData
|
|
93
|
+
storeID
|
|
94
|
+
bankCode
|
|
95
|
+
appUser
|
|
96
|
+
phone
|
|
97
|
+
email
|
|
98
|
+
address
|
|
99
|
+
signature
|
|
100
|
+
createBy
|
|
101
|
+
transactionId
|
|
102
|
+
baseMethodCode
|
|
103
|
+
retry
|
|
104
|
+
postToOrder
|
|
105
|
+
editAble
|
|
106
|
+
approved
|
|
107
|
+
statusCode
|
|
108
|
+
paymentGroup
|
|
109
|
+
userId
|
|
110
|
+
type
|
|
111
|
+
attributes
|
|
112
|
+
items {
|
|
113
|
+
id
|
|
114
|
+
partnerCode
|
|
115
|
+
paymentId
|
|
116
|
+
type
|
|
117
|
+
orderId
|
|
118
|
+
invoiceId
|
|
119
|
+
orderGroup
|
|
120
|
+
orderType
|
|
121
|
+
orderInfo
|
|
122
|
+
totalAmount
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
126
|
`;
|
|
127
|
-
exports.PAYMENT_STATUS = (0, graphql_tag_1.gql) `
|
|
128
|
-
query PaymentStatus($paymentId: String!) {
|
|
129
|
-
paymentStatus(paymentId: $paymentId) {
|
|
130
|
-
methodCode
|
|
131
|
-
methodTypeCode
|
|
132
|
-
gatewayConfigId
|
|
133
|
-
partnerCode
|
|
134
|
-
totalAmount
|
|
135
|
-
fee
|
|
136
|
-
discountAmount
|
|
137
|
-
payDate
|
|
138
|
-
payType
|
|
139
|
-
transactionDate
|
|
140
|
-
paymentId
|
|
141
|
-
invoiceId
|
|
142
|
-
orderInfo
|
|
143
|
-
orderType
|
|
144
|
-
locale
|
|
145
|
-
merchantIp
|
|
146
|
-
extraData
|
|
147
|
-
storeID
|
|
148
|
-
bankCode
|
|
149
|
-
appUser
|
|
150
|
-
phone
|
|
151
|
-
email
|
|
152
|
-
address
|
|
153
|
-
statusCode
|
|
154
|
-
statusDescription
|
|
155
|
-
transactionId
|
|
156
|
-
createBy
|
|
157
|
-
methodDescription
|
|
158
|
-
methodMapping
|
|
159
|
-
baseMethodCode
|
|
160
|
-
confirmPaidBy
|
|
161
|
-
confirmPaidDate
|
|
162
|
-
qrCode
|
|
163
|
-
payUrl
|
|
164
|
-
attributes
|
|
165
|
-
}
|
|
166
|
-
}
|
|
127
|
+
exports.PAYMENT_STATUS = (0, graphql_tag_1.gql) `
|
|
128
|
+
query PaymentStatus($paymentId: String!) {
|
|
129
|
+
paymentStatus(paymentId: $paymentId) {
|
|
130
|
+
methodCode
|
|
131
|
+
methodTypeCode
|
|
132
|
+
gatewayConfigId
|
|
133
|
+
partnerCode
|
|
134
|
+
totalAmount
|
|
135
|
+
fee
|
|
136
|
+
discountAmount
|
|
137
|
+
payDate
|
|
138
|
+
payType
|
|
139
|
+
transactionDate
|
|
140
|
+
paymentId
|
|
141
|
+
invoiceId
|
|
142
|
+
orderInfo
|
|
143
|
+
orderType
|
|
144
|
+
locale
|
|
145
|
+
merchantIp
|
|
146
|
+
extraData
|
|
147
|
+
storeID
|
|
148
|
+
bankCode
|
|
149
|
+
appUser
|
|
150
|
+
phone
|
|
151
|
+
email
|
|
152
|
+
address
|
|
153
|
+
statusCode
|
|
154
|
+
statusDescription
|
|
155
|
+
transactionId
|
|
156
|
+
createBy
|
|
157
|
+
methodDescription
|
|
158
|
+
methodMapping
|
|
159
|
+
baseMethodCode
|
|
160
|
+
confirmPaidBy
|
|
161
|
+
confirmPaidDate
|
|
162
|
+
qrCode
|
|
163
|
+
payUrl
|
|
164
|
+
attributes
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
167
|
`;
|
|
168
|
-
exports.GW_CONFIG_DETAIL = (0, graphql_tag_1.gql) `
|
|
169
|
-
query GwConfigDetail($configId: String!) {
|
|
170
|
-
gwConfigDetail(configId: $configId) {
|
|
171
|
-
id
|
|
172
|
-
name
|
|
173
|
-
methodCode
|
|
174
|
-
partnerCode
|
|
175
|
-
subMethodCode
|
|
176
|
-
gwPartnerCode
|
|
177
|
-
gwPartnerName
|
|
178
|
-
gwSubChannel
|
|
179
|
-
gwMethodVersion
|
|
180
|
-
accessKey
|
|
181
|
-
secretKey
|
|
182
|
-
description
|
|
183
|
-
activated
|
|
184
|
-
}
|
|
185
|
-
}
|
|
168
|
+
exports.GW_CONFIG_DETAIL = (0, graphql_tag_1.gql) `
|
|
169
|
+
query GwConfigDetail($configId: String!) {
|
|
170
|
+
gwConfigDetail(configId: $configId) {
|
|
171
|
+
id
|
|
172
|
+
name
|
|
173
|
+
methodCode
|
|
174
|
+
partnerCode
|
|
175
|
+
subMethodCode
|
|
176
|
+
gwPartnerCode
|
|
177
|
+
gwPartnerName
|
|
178
|
+
gwSubChannel
|
|
179
|
+
gwMethodVersion
|
|
180
|
+
accessKey
|
|
181
|
+
secretKey
|
|
182
|
+
description
|
|
183
|
+
activated
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
186
|
`;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const UPDATE_PRODUCT_TITLE: import("graphql").DocumentNode;
|
|
2
|
+
export declare const UPDATE_PRICE: import("graphql").DocumentNode;
|
|
3
|
+
export declare const UPDATE_PRICE_PROMOTION: import("graphql").DocumentNode;
|
|
4
|
+
export declare const UPDATE_CATEGORY: import("graphql").DocumentNode;
|
|
5
|
+
export declare const UPDATE_SHORT_DESCRIPTION: import("graphql").DocumentNode;
|
|
6
|
+
export declare const UPDATE_UNIT: import("graphql").DocumentNode;
|
|
7
|
+
export declare const CLEAR_ALL_CACHES: import("graphql").DocumentNode;
|