@longvansoftware/service-js-client 2.6.1 → 2.6.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.
Files changed (77) hide show
  1. package/dist/src/graphql/campaign/mutations.d.ts +1 -0
  2. package/dist/src/graphql/campaign/mutations.js +34 -0
  3. package/dist/src/graphql/campaign/queries.d.ts +11 -0
  4. package/dist/src/graphql/campaign/queries.js +496 -0
  5. package/dist/src/graphql/cashbook/queries.d.ts +2 -0
  6. package/dist/src/graphql/cashbook/queries.js +99 -0
  7. package/dist/src/graphql/cloudCloud/mutations.d.ts +3 -0
  8. package/dist/src/graphql/cloudCloud/mutations.js +41 -0
  9. package/dist/src/graphql/cloudCloud/queries.d.ts +5 -0
  10. package/dist/src/graphql/cloudCloud/queries.js +185 -0
  11. package/dist/src/graphql/orderCloud/mutations.d.ts +1 -0
  12. package/dist/src/graphql/orderCloud/mutations.js +12 -0
  13. package/dist/src/graphql/orderCloud/queries.d.ts +1 -0
  14. package/dist/src/graphql/orderCloud/queries.js +12 -0
  15. package/dist/src/graphql/paymentV2/mutations.d.ts +5 -0
  16. package/dist/src/graphql/paymentV2/mutations.js +124 -0
  17. package/dist/src/graphql/paymentV2/queries.d.ts +10 -0
  18. package/dist/src/graphql/paymentV2/queries.js +277 -0
  19. package/dist/src/graphql/store/mutations.d.ts +1 -0
  20. package/dist/src/graphql/store/mutations.js +29 -0
  21. package/dist/src/graphql/store/queries.d.ts +1 -0
  22. package/dist/src/graphql/store/queries.js +29 -0
  23. package/dist/src/graphql/truedoc/queries.d.ts +1 -0
  24. package/dist/src/graphql/truedoc/queries.js +18 -0
  25. package/dist/src/graphql/user/mutations.d.ts +13 -11
  26. package/dist/src/graphql/user/mutations.js +12 -1
  27. package/dist/src/lib/accounting/index.d.ts +5 -0
  28. package/dist/src/lib/accounting/index.js +32 -0
  29. package/dist/src/lib/campaign/index.d.ts +22 -0
  30. package/dist/src/lib/campaign/index.js +252 -0
  31. package/dist/src/lib/cashbook/index.d.ts +6 -0
  32. package/dist/src/lib/cashbook/index.js +56 -0
  33. package/dist/src/lib/cloudCloud/index.d.ts +12 -0
  34. package/dist/src/lib/cloudCloud/index.js +142 -0
  35. package/dist/src/lib/comhub/index.d.ts +6 -0
  36. package/dist/src/lib/comhub/index.js +50 -0
  37. package/dist/src/lib/deepLinkVietQr/index.d.ts +7 -0
  38. package/dist/src/lib/deepLinkVietQr/index.js +58 -0
  39. package/dist/src/lib/fileService/index.d.ts +34 -0
  40. package/dist/src/lib/fileService/index.js +80 -0
  41. package/dist/src/lib/getImage/index.d.ts +4 -0
  42. package/dist/src/lib/getImage/index.js +10 -0
  43. package/dist/src/lib/image/index.d.ts +7 -0
  44. package/dist/src/lib/image/index.js +49 -0
  45. package/dist/src/lib/omnigateway/index.d.ts +7 -0
  46. package/dist/src/lib/omnigateway/index.js +58 -0
  47. package/dist/src/lib/orderCloud/index.d.ts +5 -0
  48. package/dist/src/lib/orderCloud/index.js +37 -0
  49. package/dist/src/lib/paymentV2/index.d.ts +19 -0
  50. package/dist/src/lib/paymentV2/index.js +264 -0
  51. package/dist/src/lib/portal/index.d.ts +33 -0
  52. package/dist/src/lib/portal/index.js +456 -0
  53. package/dist/src/lib/store/index.d.ts +30 -0
  54. package/dist/src/lib/store/index.js +74 -0
  55. package/dist/src/lib/token/index.d.ts +5 -0
  56. package/dist/src/lib/token/index.js +32 -0
  57. package/dist/src/lib/truedoc/index.d.ts +5 -0
  58. package/dist/src/lib/truedoc/index.js +35 -0
  59. package/dist/src/lib/upload/index.d.ts +5 -0
  60. package/dist/src/lib/upload/index.js +35 -0
  61. package/dist/src/lib/user/index.d.ts +1 -0
  62. package/dist/src/lib/user/index.js +20 -0
  63. package/dist/src/lib/warehouseV2/index.d.ts +13 -0
  64. package/dist/src/lib/warehouseV2/index.js +54 -0
  65. package/dist/src/lib/zca/index.d.ts +12 -0
  66. package/dist/src/lib/zca/index.js +41 -0
  67. package/dist/src/types/campaign.d.ts +14 -0
  68. package/dist/src/types/campaign.js +2 -0
  69. package/dist/src/types/invoice.d.ts +14 -0
  70. package/dist/src/types/invoice.js +2 -0
  71. package/dist/src/types/portal.d.ts +7 -0
  72. package/dist/src/types/portal.js +2 -0
  73. package/dist/src/types/store.d.ts +158 -0
  74. package/dist/src/types/store.js +3 -0
  75. package/dist/src/utils/validatePhoneNumber.d.ts +1 -0
  76. package/dist/src/utils/validatePhoneNumber.js +20 -0
  77. package/package.json +1 -1
@@ -0,0 +1,185 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.COUNT_AVAILABLE_BOOKING = exports.GET_LIST_LAB_SERVICE = exports.SEARCH_SERVICE_BY_PHONE = exports.SERVICE_DETAIL = exports.SEARCH_SERVICE = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.SEARCH_SERVICE = (0, graphql_tag_1.gql) `
6
+ query SearchService($filter: CloudServiceFilterInput) {
7
+ searchService(filter: $filter) {
8
+ total
9
+ offset
10
+ maxResult
11
+ resultList {
12
+ supplierId
13
+ serviceId
14
+ partnerId
15
+ serviceName
16
+ type
17
+ typeName
18
+ status
19
+ statusFulfillment
20
+ ownerId
21
+ startDate
22
+ endDate
23
+ serviceType
24
+ urlPrivate
25
+ urlPublic
26
+ username
27
+ password
28
+ attrs
29
+ description
30
+ productGroupId
31
+ orderId
32
+ actionRequest {
33
+ id
34
+ name
35
+ uri
36
+ type
37
+ }
38
+ billingCycle {
39
+ quantity
40
+ unit
41
+ }
42
+ productConfiguration {
43
+ productId
44
+ productTitle
45
+ productResources {
46
+ name
47
+ quantity
48
+ unit
49
+ productId
50
+ giftProductId
51
+ gift
52
+ giftQuantity
53
+ campaignId
54
+ campaignActionId
55
+ qualify
56
+ idParent
57
+ addQuantity
58
+ defaultQuantity
59
+ title
60
+ price
61
+ unitPrice
62
+ totalResource
63
+ unitGift
64
+ giftDuration
65
+ giftDurationUnit
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ `;
72
+ exports.SERVICE_DETAIL = (0, graphql_tag_1.gql) `
73
+ query ServiceDetail($serviceId: String) {
74
+ serviceDetail(serviceId: $serviceId) {
75
+ service {
76
+ productConfiguration {
77
+ productId
78
+ productTitle
79
+ }
80
+ supplierId
81
+ serviceId
82
+ partnerId
83
+ serviceName
84
+ type
85
+ typeName
86
+ status
87
+ statusFulfillment
88
+ ownerId
89
+ startDate
90
+ endDate
91
+ serviceType
92
+ urlPrivate
93
+ urlPublic
94
+ username
95
+ password
96
+ attrs
97
+ description
98
+ ips
99
+ productGroupId
100
+ orderId
101
+ }
102
+ resources {
103
+ type
104
+ name
105
+ total
106
+ unit
107
+ component
108
+ value
109
+ keyId
110
+ }
111
+ configs {
112
+ configId
113
+ name
114
+ configValue
115
+ }
116
+ extraData {
117
+ title
118
+ content {
119
+ name
120
+ value
121
+ type
122
+ action
123
+ }
124
+ }
125
+ }
126
+ }
127
+ `;
128
+ exports.SEARCH_SERVICE_BY_PHONE = (0, graphql_tag_1.gql) `
129
+ query SearchServiceByPhone($phone: String, $serviceScope: String) {
130
+ searchServiceByPhone(phone: $phone, serviceScope: $serviceScope) {
131
+ total
132
+ offset
133
+ maxResult
134
+ resultList {
135
+ supplierId
136
+ serviceId
137
+ partnerId
138
+ serviceName
139
+ serviceGroup
140
+ type
141
+ typeName
142
+ status
143
+ statusFulfillment
144
+ ownerId
145
+ startDate
146
+ endDate
147
+ serviceType
148
+ urlPrivate
149
+ urlPublic
150
+ username
151
+ password
152
+ attrs
153
+ description
154
+ ips
155
+ productGroupId
156
+ orderId
157
+ sponsorId
158
+ sponsorName
159
+ providedFromId
160
+ providedFromName
161
+ productConfiguration {
162
+ productId
163
+ productTitle
164
+ }
165
+ }
166
+ }
167
+ }
168
+ `;
169
+ exports.GET_LIST_LAB_SERVICE = (0, graphql_tag_1.gql) `
170
+ query GetListLabService($productId: String!) {
171
+ getListLabService(productId: $productId) {
172
+ productId
173
+ productName
174
+ productParentId
175
+ image
176
+ groupItemId
177
+ groupItemName
178
+ }
179
+ }
180
+ `;
181
+ exports.COUNT_AVAILABLE_BOOKING = (0, graphql_tag_1.gql) `
182
+ query countAvailableBookings($serviceId: String!) {
183
+ countAvailableBookings(serviceId: $serviceId)
184
+ }
185
+ `;
@@ -0,0 +1 @@
1
+ export declare const FIND_ORDER_BY_OWNER_PARTYID: import("graphql").DocumentNode;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FIND_ORDER_BY_OWNER_PARTYID = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.FIND_ORDER_BY_OWNER_PARTYID = (0, graphql_tag_1.gql) `
6
+ mutation FindOrderByOwnerPartyId(
7
+ $partnerId: String!
8
+ $ownerPartyId: String!
9
+ ) {
10
+ findOrderByOwnerPartyId(partnerId: $partnerId, ownerPartyId: $ownerPartyId)
11
+ }
12
+ `;
@@ -0,0 +1 @@
1
+ export declare const FIND_ORDER_BY_OWNER_PARTYID: import("graphql").DocumentNode;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FIND_ORDER_BY_OWNER_PARTYID = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.FIND_ORDER_BY_OWNER_PARTYID = (0, graphql_tag_1.gql) `
6
+ query FindOrderByOwnerPartyId(
7
+ $partnerId: String!
8
+ $ownerPartyId: String!
9
+ ) {
10
+ findOrderByOwnerPartyId(partnerId: $partnerId, ownerPartyId: $ownerPartyId)
11
+ }
12
+ `;
@@ -0,0 +1,5 @@
1
+ export declare const CANCEL_PAYMENT: import("graphql").DocumentNode;
2
+ export declare const CONFIRM_TO_GATEWAY: import("graphql").DocumentNode;
3
+ export declare const CONFIRM_PAYMENT_SUCCESS_MANUAL: import("graphql").DocumentNode;
4
+ export declare const HANDLE_UPDATE_GATEWAY_CONFIG: import("graphql").DocumentNode;
5
+ export declare const HANDLE_CREATE_GATEWAY_CONFIG: import("graphql").DocumentNode;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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
+ 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
+ $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
+ `;
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
+ `;
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
+ `;
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
+ `;
@@ -0,0 +1,10 @@
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;
7
+ export declare const GET_PAYMENT_METHOD_TITLES: import("graphql").DocumentNode;
8
+ export declare const GET_PAYEMNT_GATEWAYS_BY_METHOD_CODE: import("graphql").DocumentNode;
9
+ export declare const GET_PAYMENT_METHOD_TYPES_V2: import("graphql").DocumentNode;
10
+ export declare const GET_TRANSFER_INFO: import("graphql").DocumentNode;
@@ -0,0 +1,277 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GET_TRANSFER_INFO = exports.GET_PAYMENT_METHOD_TYPES_V2 = exports.GET_PAYEMNT_GATEWAYS_BY_METHOD_CODE = exports.GET_PAYMENT_METHOD_TITLES = 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
+ 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
+ }
46
+ `;
47
+ exports.PAYMENT_METHODS = (0, graphql_tag_1.gql) `
48
+ query PaymentMethods {
49
+ paymentMethods {
50
+ id
51
+ code
52
+ name
53
+ description
54
+ image
55
+ titles {
56
+ id
57
+ code
58
+ name
59
+ lang
60
+ showField
61
+ required
62
+ }
63
+ }
64
+ }
65
+ `;
66
+ exports.GET_PAYMENT_METHOD_TYPES = (0, graphql_tag_1.gql) `
67
+ query GetPaymentMethodTypes($partnerId: String!, $storeId: String!) {
68
+ getPaymentMethodTypes(partnerId: $partnerId, storeId: $storeId) {
69
+ code
70
+ name
71
+ description
72
+ image
73
+ }
74
+ }
75
+ `;
76
+ exports.PAYMENT_INFO = (0, graphql_tag_1.gql) `
77
+ query PaymentInfo($paymentId: String!) {
78
+ paymentInfo(paymentId: $paymentId) {
79
+ id
80
+ payType
81
+ payDate
82
+ dueDate
83
+ completePayment
84
+ paymentTerm
85
+ methodCode
86
+ methodTypeCode
87
+ gatewayConfigId
88
+ partnerCode
89
+ totalAmount
90
+ remain
91
+ currCode
92
+ invoiceId
93
+ orderId
94
+ orderInfo
95
+ orderGroup
96
+ orderType
97
+ returnUrl
98
+ ipnUrl
99
+ merchantIp
100
+ extraData
101
+ storeID
102
+ bankCode
103
+ appUser
104
+ phone
105
+ email
106
+ address
107
+ signature
108
+ createBy
109
+ transactionId
110
+ baseMethodCode
111
+ retry
112
+ postToOrder
113
+ editAble
114
+ approved
115
+ statusCode
116
+ paymentGroup
117
+ userId
118
+ type
119
+ attributes
120
+ items {
121
+ id
122
+ partnerCode
123
+ paymentId
124
+ type
125
+ orderId
126
+ invoiceId
127
+ orderGroup
128
+ orderType
129
+ orderInfo
130
+ totalAmount
131
+ }
132
+ }
133
+ }
134
+ `;
135
+ exports.PAYMENT_STATUS = (0, graphql_tag_1.gql) `
136
+ query PaymentStatus($paymentId: String!) {
137
+ paymentStatus(paymentId: $paymentId) {
138
+ methodCode
139
+ methodTypeCode
140
+ gatewayConfigId
141
+ partnerCode
142
+ totalAmount
143
+ fee
144
+ discountAmount
145
+ payDate
146
+ payType
147
+ transactionDate
148
+ paymentId
149
+ invoiceId
150
+ orderInfo
151
+ orderType
152
+ locale
153
+ merchantIp
154
+ extraData
155
+ storeID
156
+ bankCode
157
+ appUser
158
+ phone
159
+ email
160
+ address
161
+ statusCode
162
+ statusDescription
163
+ transactionId
164
+ createBy
165
+ methodDescription
166
+ methodMapping
167
+ baseMethodCode
168
+ confirmPaidBy
169
+ confirmPaidDate
170
+ qrCode
171
+ payUrl
172
+ attributes
173
+ }
174
+ }
175
+ `;
176
+ exports.GW_CONFIG_DETAIL = (0, graphql_tag_1.gql) `
177
+ query GwConfigDetail($configId: String!) {
178
+ gwConfigDetail(configId: $configId) {
179
+ id
180
+ name
181
+ methodCode
182
+ partnerCode
183
+ subMethodCode
184
+ gwPartnerCode
185
+ gwPartnerName
186
+ gwSubChannel
187
+ gwMethodVersion
188
+ accessKey
189
+ secretKey
190
+ description
191
+ activated
192
+ }
193
+ }
194
+ `;
195
+ exports.GET_PAYMENT_METHOD_TITLES = (0, graphql_tag_1.gql) `
196
+ query GetPaymentMethodTitles($methodCode: String!) {
197
+ getPaymentMethodTitles(methodCode: $methodCode) {
198
+ id
199
+ code
200
+ name
201
+ lang
202
+ showField
203
+ required
204
+ }
205
+ }
206
+ `;
207
+ exports.GET_PAYEMNT_GATEWAYS_BY_METHOD_CODE = (0, graphql_tag_1.gql) `
208
+ query GetPaymentGatewaysByMethodCode(
209
+ $partnerId: String!
210
+ $methodCode: String!
211
+ $storeId: String
212
+ ) {
213
+ getPaymentGatewaysByMethodCode(
214
+ partnerId: $partnerId
215
+ methodCode: $methodCode
216
+ storeId: $storeId
217
+ ) {
218
+ id
219
+ name
220
+ methodCode
221
+ partnerCode
222
+ subMethodCode
223
+ gwPartnerCode
224
+ gwPartnerName
225
+ gwSubChannel
226
+ gwMethodVersion
227
+ hashAlgorithm
228
+ accessKey
229
+ secretKey
230
+ requestUrl
231
+ description
232
+ activated
233
+ storeActive
234
+ }
235
+ }
236
+ `;
237
+ exports.GET_PAYMENT_METHOD_TYPES_V2 = (0, graphql_tag_1.gql) `
238
+ query GetPaymentMethodTypes(
239
+ $partnerId: String!
240
+ $storeId: String!
241
+ $storeActive: StoreActive
242
+ $allMethodTypes: Boolean
243
+ ) {
244
+ getPaymentMethodTypes(
245
+ partnerId: $partnerId
246
+ storeId: $storeId
247
+ storeActive: $storeActive
248
+ allMethodTypes: $allMethodTypes
249
+ ) {
250
+ code
251
+ name
252
+ description
253
+ image
254
+ storeActive
255
+ }
256
+ }
257
+ `;
258
+ exports.GET_TRANSFER_INFO = (0, graphql_tag_1.gql) `
259
+ query GetTransferInfo(
260
+ $partnerId: String!
261
+ $storeId: String
262
+ $paymentId: String
263
+ ) {
264
+ getTransferInfo(
265
+ partnerId: $partnerId
266
+ storeId: $storeId
267
+ paymentId: $paymentId
268
+ ) {
269
+ bankCode
270
+ bankName
271
+ accountNumber
272
+ accountName
273
+ description
274
+ transferInfo
275
+ }
276
+ }
277
+ `;
@@ -0,0 +1 @@
1
+ export declare const CREATE_STORE_MUTATION: import("graphql").DocumentNode;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CREATE_STORE_MUTATION = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.CREATE_STORE_MUTATION = (0, graphql_tag_1.gql) `
6
+ mutation CreateStore($partnerId: String, $storeName: String) {
7
+ createStore(partnerId: $partnerId, storeName: $storeName) {
8
+ id
9
+ createdStamp
10
+ name
11
+ type
12
+ enable
13
+ partyId
14
+ warehouses
15
+ warehouseIdDefault
16
+ enableOrderAbleFuture
17
+ enableOrderNegativeQuantity
18
+ storeEcommerceName
19
+ shippingCompanies
20
+ shippingCompanyIdPrimary
21
+ customerIdPrimary
22
+ paymentMethodIdPrimary
23
+ enableCustomProductPrice
24
+ enablePaymentPartial
25
+ paymentPartialPercent
26
+ productStoreLink
27
+ }
28
+ }
29
+ `;
@@ -0,0 +1 @@
1
+ export declare const GET_STORE_CHANNEL_BY_EMP_ID_QUERY: import("graphql").DocumentNode;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GET_STORE_CHANNEL_BY_EMP_ID_QUERY = void 0;
4
+ const graphql_tag_1 = require("graphql-tag");
5
+ exports.GET_STORE_CHANNEL_BY_EMP_ID_QUERY = (0, graphql_tag_1.gql) `
6
+ query GetStoreChannelByEmpId($saleId: String) {
7
+ getStoreChannelByEmpId(saleId: $saleId) {
8
+ id
9
+ createdStamp
10
+ name
11
+ type
12
+ enable
13
+ partyId
14
+ warehouses
15
+ warehouseIdDefault
16
+ enableOrderAbleFuture
17
+ enableOrderNegativeQuantity
18
+ storeEcommerceName
19
+ shippingCompanies
20
+ shippingCompanyIdPrimary
21
+ customerIdPrimary
22
+ paymentMethodIdPrimary
23
+ enableCustomProductPrice
24
+ enablePaymentPartial
25
+ paymentPartialPercent
26
+ productStoreLink
27
+ }
28
+ }
29
+ `;
@@ -0,0 +1 @@
1
+ export declare const GET_CUSTOMER_INFOR: import("graphql").DocumentNode;