@longvansoftware/storefront-js-client 4.3.8 → 4.4.0
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 +221 -221
- package/dist/src/graphql/auth/mutations.js +309 -309
- package/dist/src/graphql/auth/queries.js +209 -209
- package/dist/src/graphql/campaign/mutations.js +26 -26
- package/dist/src/graphql/campaign/queries.js +457 -457
- package/dist/src/graphql/cashbook/queries.js +93 -93
- package/dist/src/graphql/cloud/mutations.js +103 -103
- package/dist/src/graphql/cloud/queries.js +112 -112
- package/dist/src/graphql/cloudCloud/mutations.js +12 -12
- package/dist/src/graphql/cloudCloud/queries.js +117 -117
- package/dist/src/graphql/cloudService/queries.d.ts +1 -0
- package/dist/src/graphql/cloudService/queries.js +71 -0
- 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 +1064 -1064
- package/dist/src/graphql/crm/queries.js +920 -920
- package/dist/src/graphql/orderCloud/mutations.js +7 -7
- package/dist/src/graphql/orderCloud/queries.js +7 -7
- package/dist/src/graphql/payment/mutations.d.ts +1 -0
- package/dist/src/graphql/payment/mutations.js +212 -195
- package/dist/src/graphql/payment/queries.d.ts +1 -0
- package/dist/src/graphql/payment/queries.js +123 -118
- package/dist/src/graphql/paymentV2/mutations.js +115 -115
- package/dist/src/graphql/paymentV2/queries.js +263 -263
- package/dist/src/graphql/product/mutations.d.ts +1 -0
- package/dist/src/graphql/product/mutations.js +671 -653
- package/dist/src/graphql/product/queries.js +996 -990
- package/dist/src/graphql/service/mutations.js +304 -304
- package/dist/src/graphql/service/queries.js +131 -131
- package/dist/src/graphql/store/mutations.js +24 -24
- package/dist/src/graphql/store/queries.js +24 -24
- package/dist/src/graphql/user/mutations.js +201 -201
- package/dist/src/graphql/user/queries.js +339 -339
- package/dist/src/lib/cloudService/index.d.ts +5 -0
- package/dist/src/lib/cloudService/index.js +35 -0
- package/dist/src/lib/payment/index.d.ts +2 -0
- package/dist/src/lib/payment/index.js +33 -0
- package/dist/src/lib/product/index.d.ts +1 -0
- package/dist/src/lib/product/index.js +17 -0
- package/dist/src/lib/serviceSDK.js +14 -14
- package/package.json +43 -43
- package/dist/index.d.ts +0 -1698
- package/dist/index.js +0 -13673
|
@@ -1,128 +1,133 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GET_INVOICE_ITEM_OF_INVOICE = exports.VIEW_PUBLISHED_INVOICE = exports.GET_INVOICES_OF_ORDER = exports.GET_INVOICE_DETAIL = exports.GET_PAYMENT_METHOD_OF_STORE_CHANNEL = exports.GEN_QR_PAYMENT = exports.GET_PAYMENT_METHOD = void 0;
|
|
3
|
+
exports.SUGGEST_INVOINCE_NOTE = exports.GET_INVOICE_ITEM_OF_INVOICE = exports.VIEW_PUBLISHED_INVOICE = exports.GET_INVOICES_OF_ORDER = 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
|
`;
|
|
66
|
-
exports.GET_INVOICES_OF_ORDER = (0, graphql_tag_1.gql) `
|
|
67
|
-
query GetInvoicesOfOrder($orderId: String!) {
|
|
68
|
-
getInvoicesOfOrder(orderId: $orderId) {
|
|
69
|
-
id
|
|
70
|
-
orderId
|
|
71
|
-
type
|
|
72
|
-
partyIdFrom
|
|
73
|
-
partyIdTo
|
|
74
|
-
status
|
|
75
|
-
invoiceDate
|
|
76
|
-
invoiceDueDate
|
|
77
|
-
createdBy
|
|
78
|
-
createdStamp
|
|
79
|
-
paymentId
|
|
80
|
-
originalTotalPrice
|
|
81
|
-
totalVAT
|
|
82
|
-
appliedAmount
|
|
83
|
-
attributes {
|
|
84
|
-
name
|
|
85
|
-
value
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
66
|
+
exports.GET_INVOICES_OF_ORDER = (0, graphql_tag_1.gql) `
|
|
67
|
+
query GetInvoicesOfOrder($orderId: String!) {
|
|
68
|
+
getInvoicesOfOrder(orderId: $orderId) {
|
|
69
|
+
id
|
|
70
|
+
orderId
|
|
71
|
+
type
|
|
72
|
+
partyIdFrom
|
|
73
|
+
partyIdTo
|
|
74
|
+
status
|
|
75
|
+
invoiceDate
|
|
76
|
+
invoiceDueDate
|
|
77
|
+
createdBy
|
|
78
|
+
createdStamp
|
|
79
|
+
paymentId
|
|
80
|
+
originalTotalPrice
|
|
81
|
+
totalVAT
|
|
82
|
+
appliedAmount
|
|
83
|
+
attributes {
|
|
84
|
+
name
|
|
85
|
+
value
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
89
|
`;
|
|
90
|
-
exports.VIEW_PUBLISHED_INVOICE = (0, graphql_tag_1.gql) `
|
|
91
|
-
query ViewPublishedInvoice($partnerId: String!, $invoiceId: String!) {
|
|
92
|
-
viewPublishedInvoice(partnerId: $partnerId, invoiceId: $invoiceId) {
|
|
93
|
-
code
|
|
94
|
-
message
|
|
95
|
-
invoiceId
|
|
96
|
-
sourceId
|
|
97
|
-
sourceType
|
|
98
|
-
previewLink
|
|
99
|
-
lookupLink
|
|
100
|
-
}
|
|
101
|
-
}
|
|
90
|
+
exports.VIEW_PUBLISHED_INVOICE = (0, graphql_tag_1.gql) `
|
|
91
|
+
query ViewPublishedInvoice($partnerId: String!, $invoiceId: String!) {
|
|
92
|
+
viewPublishedInvoice(partnerId: $partnerId, invoiceId: $invoiceId) {
|
|
93
|
+
code
|
|
94
|
+
message
|
|
95
|
+
invoiceId
|
|
96
|
+
sourceId
|
|
97
|
+
sourceType
|
|
98
|
+
previewLink
|
|
99
|
+
lookupLink
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
102
|
`;
|
|
103
|
-
exports.GET_INVOICE_ITEM_OF_INVOICE = (0, graphql_tag_1.gql) `
|
|
104
|
-
query GetInvoiceItemOfInvoie($invoiceId: String!) {
|
|
105
|
-
getInvoiceItemOfInvoie(invoiceId: $invoiceId) {
|
|
106
|
-
id
|
|
107
|
-
invoiceId
|
|
108
|
-
type
|
|
109
|
-
partyIdFrom
|
|
110
|
-
partyIdTo
|
|
111
|
-
status
|
|
112
|
-
productParentId
|
|
113
|
-
productId
|
|
114
|
-
productName
|
|
115
|
-
sku
|
|
116
|
-
unitType
|
|
117
|
-
quantity
|
|
118
|
-
amount
|
|
119
|
-
vatRateName
|
|
120
|
-
vatRate
|
|
121
|
-
totalVAT
|
|
122
|
-
totalAmount
|
|
123
|
-
invoiceDate
|
|
124
|
-
note
|
|
125
|
-
itemType
|
|
126
|
-
}
|
|
127
|
-
}
|
|
103
|
+
exports.GET_INVOICE_ITEM_OF_INVOICE = (0, graphql_tag_1.gql) `
|
|
104
|
+
query GetInvoiceItemOfInvoie($invoiceId: String!) {
|
|
105
|
+
getInvoiceItemOfInvoie(invoiceId: $invoiceId) {
|
|
106
|
+
id
|
|
107
|
+
invoiceId
|
|
108
|
+
type
|
|
109
|
+
partyIdFrom
|
|
110
|
+
partyIdTo
|
|
111
|
+
status
|
|
112
|
+
productParentId
|
|
113
|
+
productId
|
|
114
|
+
productName
|
|
115
|
+
sku
|
|
116
|
+
unitType
|
|
117
|
+
quantity
|
|
118
|
+
amount
|
|
119
|
+
vatRateName
|
|
120
|
+
vatRate
|
|
121
|
+
totalVAT
|
|
122
|
+
totalAmount
|
|
123
|
+
invoiceDate
|
|
124
|
+
note
|
|
125
|
+
itemType
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
`;
|
|
129
|
+
exports.SUGGEST_INVOINCE_NOTE = (0, graphql_tag_1.gql) `
|
|
130
|
+
query SuggestInvoiceNote($partnerId: String!, $query: String) {
|
|
131
|
+
suggestInvoiceNote(partnerId: $partnerId, query: $query)
|
|
132
|
+
}
|
|
128
133
|
`;
|
|
@@ -2,123 +2,123 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HANDLE_CREATE_GATEWAY_CONFIG = exports.HANDLE_UPDATE_GATEWAY_CONFIG = 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
|
-
$storeId: String
|
|
14
|
-
$methodTypeCode: String
|
|
15
|
-
$methodCode: String
|
|
16
|
-
$returnUrl: String
|
|
17
|
-
) {
|
|
18
|
-
confirmToGateway(
|
|
19
|
-
paymentId: $paymentId
|
|
20
|
-
storeId: $storeId
|
|
21
|
-
methodTypeCode: $methodTypeCode
|
|
22
|
-
methodCode: $methodCode
|
|
23
|
-
returnUrl: $returnUrl
|
|
24
|
-
) {
|
|
25
|
-
code
|
|
26
|
-
message
|
|
27
|
-
data
|
|
28
|
-
qrCodeUrl
|
|
29
|
-
deeplink
|
|
30
|
-
deeplinkMiniApp
|
|
31
|
-
paymentId
|
|
32
|
-
gwConfigId
|
|
33
|
-
}
|
|
34
|
-
}
|
|
10
|
+
exports.CONFIRM_TO_GATEWAY = (0, graphql_tag_1.gql) `
|
|
11
|
+
mutation ConfirmToGateWay(
|
|
12
|
+
$paymentId: String!
|
|
13
|
+
$storeId: String
|
|
14
|
+
$methodTypeCode: String
|
|
15
|
+
$methodCode: String
|
|
16
|
+
$returnUrl: String
|
|
17
|
+
) {
|
|
18
|
+
confirmToGateway(
|
|
19
|
+
paymentId: $paymentId
|
|
20
|
+
storeId: $storeId
|
|
21
|
+
methodTypeCode: $methodTypeCode
|
|
22
|
+
methodCode: $methodCode
|
|
23
|
+
returnUrl: $returnUrl
|
|
24
|
+
) {
|
|
25
|
+
code
|
|
26
|
+
message
|
|
27
|
+
data
|
|
28
|
+
qrCodeUrl
|
|
29
|
+
deeplink
|
|
30
|
+
deeplinkMiniApp
|
|
31
|
+
paymentId
|
|
32
|
+
gwConfigId
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
35
|
`;
|
|
36
|
-
exports.CONFIRM_PAYMENT_SUCCESS_MANUAL = (0, graphql_tag_1.gql) `
|
|
37
|
-
mutation ConfirmPaymentSuccessManual(
|
|
38
|
-
$paymentId: String!
|
|
39
|
-
$transactionNo: String!
|
|
40
|
-
$note: String
|
|
41
|
-
$confirmBy: String!
|
|
42
|
-
) {
|
|
43
|
-
confirmPaymentSuccessManual(
|
|
44
|
-
paymentId: $paymentId
|
|
45
|
-
transactionNo: $transactionNo
|
|
46
|
-
note: $note
|
|
47
|
-
confirmBy: $confirmBy
|
|
48
|
-
) {
|
|
49
|
-
code
|
|
50
|
-
message
|
|
51
|
-
data
|
|
52
|
-
qrCodeUrl
|
|
53
|
-
deeplink
|
|
54
|
-
deeplinkMiniApp
|
|
55
|
-
paymentId
|
|
56
|
-
}
|
|
57
|
-
}
|
|
36
|
+
exports.CONFIRM_PAYMENT_SUCCESS_MANUAL = (0, graphql_tag_1.gql) `
|
|
37
|
+
mutation ConfirmPaymentSuccessManual(
|
|
38
|
+
$paymentId: String!
|
|
39
|
+
$transactionNo: String!
|
|
40
|
+
$note: String
|
|
41
|
+
$confirmBy: String!
|
|
42
|
+
) {
|
|
43
|
+
confirmPaymentSuccessManual(
|
|
44
|
+
paymentId: $paymentId
|
|
45
|
+
transactionNo: $transactionNo
|
|
46
|
+
note: $note
|
|
47
|
+
confirmBy: $confirmBy
|
|
48
|
+
) {
|
|
49
|
+
code
|
|
50
|
+
message
|
|
51
|
+
data
|
|
52
|
+
qrCodeUrl
|
|
53
|
+
deeplink
|
|
54
|
+
deeplinkMiniApp
|
|
55
|
+
paymentId
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
58
|
`;
|
|
59
|
-
exports.HANDLE_UPDATE_GATEWAY_CONFIG = (0, graphql_tag_1.gql) `
|
|
60
|
-
mutation HandleUpdateGatewayConfig(
|
|
61
|
-
$input: PaymentGatewayConfigInput!
|
|
62
|
-
$cassoApiKey: String
|
|
63
|
-
) {
|
|
64
|
-
handleUpdateGatewayConfig(input: $input, cassoApiKey: $cassoApiKey) {
|
|
65
|
-
id
|
|
66
|
-
methodCode
|
|
67
|
-
partnerCode
|
|
68
|
-
subMethodCode
|
|
69
|
-
gwPartnerCode
|
|
70
|
-
gwPartnerName
|
|
71
|
-
gwPaymentMethod
|
|
72
|
-
gwSubChannel
|
|
73
|
-
gwMethodVersion
|
|
74
|
-
hashAlgorithm
|
|
75
|
-
accessKey
|
|
76
|
-
secretKey
|
|
77
|
-
responseUrl
|
|
78
|
-
requestUrl
|
|
79
|
-
methodType
|
|
80
|
-
publicKey
|
|
81
|
-
redirectUrl
|
|
82
|
-
activated
|
|
83
|
-
paymentRecordingMethod
|
|
84
|
-
userId
|
|
85
|
-
storeIdMapping {
|
|
86
|
-
storeId
|
|
87
|
-
gwStoreId
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
59
|
+
exports.HANDLE_UPDATE_GATEWAY_CONFIG = (0, graphql_tag_1.gql) `
|
|
60
|
+
mutation HandleUpdateGatewayConfig(
|
|
61
|
+
$input: PaymentGatewayConfigInput!
|
|
62
|
+
$cassoApiKey: String
|
|
63
|
+
) {
|
|
64
|
+
handleUpdateGatewayConfig(input: $input, cassoApiKey: $cassoApiKey) {
|
|
65
|
+
id
|
|
66
|
+
methodCode
|
|
67
|
+
partnerCode
|
|
68
|
+
subMethodCode
|
|
69
|
+
gwPartnerCode
|
|
70
|
+
gwPartnerName
|
|
71
|
+
gwPaymentMethod
|
|
72
|
+
gwSubChannel
|
|
73
|
+
gwMethodVersion
|
|
74
|
+
hashAlgorithm
|
|
75
|
+
accessKey
|
|
76
|
+
secretKey
|
|
77
|
+
responseUrl
|
|
78
|
+
requestUrl
|
|
79
|
+
methodType
|
|
80
|
+
publicKey
|
|
81
|
+
redirectUrl
|
|
82
|
+
activated
|
|
83
|
+
paymentRecordingMethod
|
|
84
|
+
userId
|
|
85
|
+
storeIdMapping {
|
|
86
|
+
storeId
|
|
87
|
+
gwStoreId
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
91
|
`;
|
|
92
|
-
exports.HANDLE_CREATE_GATEWAY_CONFIG = (0, graphql_tag_1.gql) `
|
|
93
|
-
mutation HandleCreateGatewayConfig(
|
|
94
|
-
$input: PaymentGatewayConfigInput!
|
|
95
|
-
$cassoApiKey: String
|
|
96
|
-
) {
|
|
97
|
-
handleCreateGatewayConfig(input: $input, cassoApiKey: $cassoApiKey) {
|
|
98
|
-
id
|
|
99
|
-
methodCode
|
|
100
|
-
partnerCode
|
|
101
|
-
subMethodCode
|
|
102
|
-
gwPartnerCode
|
|
103
|
-
gwPartnerName
|
|
104
|
-
gwPaymentMethod
|
|
105
|
-
gwSubChannel
|
|
106
|
-
gwMethodVersion
|
|
107
|
-
hashAlgorithm
|
|
108
|
-
accessKey
|
|
109
|
-
secretKey
|
|
110
|
-
responseUrl
|
|
111
|
-
requestUrl
|
|
112
|
-
methodType
|
|
113
|
-
publicKey
|
|
114
|
-
redirectUrl
|
|
115
|
-
activated
|
|
116
|
-
paymentRecordingMethod
|
|
117
|
-
userId
|
|
118
|
-
storeIdMapping {
|
|
119
|
-
storeId
|
|
120
|
-
gwStoreId
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
92
|
+
exports.HANDLE_CREATE_GATEWAY_CONFIG = (0, graphql_tag_1.gql) `
|
|
93
|
+
mutation HandleCreateGatewayConfig(
|
|
94
|
+
$input: PaymentGatewayConfigInput!
|
|
95
|
+
$cassoApiKey: String
|
|
96
|
+
) {
|
|
97
|
+
handleCreateGatewayConfig(input: $input, cassoApiKey: $cassoApiKey) {
|
|
98
|
+
id
|
|
99
|
+
methodCode
|
|
100
|
+
partnerCode
|
|
101
|
+
subMethodCode
|
|
102
|
+
gwPartnerCode
|
|
103
|
+
gwPartnerName
|
|
104
|
+
gwPaymentMethod
|
|
105
|
+
gwSubChannel
|
|
106
|
+
gwMethodVersion
|
|
107
|
+
hashAlgorithm
|
|
108
|
+
accessKey
|
|
109
|
+
secretKey
|
|
110
|
+
responseUrl
|
|
111
|
+
requestUrl
|
|
112
|
+
methodType
|
|
113
|
+
publicKey
|
|
114
|
+
redirectUrl
|
|
115
|
+
activated
|
|
116
|
+
paymentRecordingMethod
|
|
117
|
+
userId
|
|
118
|
+
storeIdMapping {
|
|
119
|
+
storeId
|
|
120
|
+
gwStoreId
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
124
|
`;
|