@longvansoftware/storefront-js-client 4.3.7-beta.0 → 4.3.7

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 (38) hide show
  1. package/README.md +221 -221
  2. package/dist/src/graphql/auth/mutations.js +309 -309
  3. package/dist/src/graphql/auth/queries.js +209 -209
  4. package/dist/src/graphql/campaign/mutations.js +26 -26
  5. package/dist/src/graphql/campaign/queries.js +457 -457
  6. package/dist/src/graphql/cashbook/queries.js +93 -93
  7. package/dist/src/graphql/cloud/mutations.js +103 -103
  8. package/dist/src/graphql/cloud/queries.js +112 -112
  9. package/dist/src/graphql/cloudCloud/mutations.js +12 -12
  10. package/dist/src/graphql/cloudCloud/queries.js +117 -117
  11. package/dist/src/graphql/cloudService/queries.d.ts +1 -0
  12. package/dist/src/graphql/cloudService/queries.js +71 -0
  13. package/dist/src/graphql/computing/mutations.js +96 -96
  14. package/dist/src/graphql/computing/queries.js +41 -41
  15. package/dist/src/graphql/crm/mutations.js +1064 -1064
  16. package/dist/src/graphql/crm/queries.js +920 -920
  17. package/dist/src/graphql/orderCloud/mutations.js +7 -7
  18. package/dist/src/graphql/orderCloud/queries.js +7 -7
  19. package/dist/src/graphql/payment/mutations.js +194 -194
  20. package/dist/src/graphql/payment/queries.js +117 -117
  21. package/dist/src/graphql/paymentV2/mutations.js +115 -115
  22. package/dist/src/graphql/paymentV2/queries.js +263 -263
  23. package/dist/src/graphql/product/mutations.js +652 -652
  24. package/dist/src/graphql/product/queries.js +990 -989
  25. package/dist/src/graphql/service/mutations.js +304 -304
  26. package/dist/src/graphql/service/queries.js +131 -131
  27. package/dist/src/graphql/store/mutations.js +24 -24
  28. package/dist/src/graphql/store/queries.js +24 -24
  29. package/dist/src/graphql/user/mutations.js +201 -201
  30. package/dist/src/graphql/user/queries.js +339 -339
  31. package/dist/src/lib/cloudService/index.d.ts +5 -0
  32. package/dist/src/lib/cloudService/index.js +35 -0
  33. package/dist/src/lib/order/index.d.ts +0 -9
  34. package/dist/src/lib/order/index.js +0 -21
  35. package/dist/src/lib/serviceSDK.js +14 -14
  36. package/package.json +43 -43
  37. package/dist/index.d.ts +0 -1698
  38. package/dist/index.js +0 -13673
@@ -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
  `;