@longvansoftware/storefront-js-client 1.6.2 → 1.6.3

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.
@@ -2,36 +2,41 @@
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
- ) {
19
- createPaymentOrder(
20
- orgId: $orgId
21
- orderId: $orderId
22
- paymentMethod: $paymentMethod
23
- storeId: $storeId
24
- source: $source
25
- appliedAmount: $appliedAmount
26
- payDate: $payDate
27
- returnUrl: $returnUrl
28
- paymentType: $paymentType
29
- createBy: $createBy
30
- paymentInfo: $paymentInfo
31
- ) {
32
- code
33
- message
34
- data
35
- }
36
- }
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
+ ) {
19
+ createPaymentOrder(
20
+ orgId: $orgId
21
+ orderId: $orderId
22
+ paymentMethod: $paymentMethod
23
+ storeId: $storeId
24
+ source: $source
25
+ appliedAmount: $appliedAmount
26
+ payDate: $payDate
27
+ returnUrl: $returnUrl
28
+ paymentType: $paymentType
29
+ createBy: $createBy
30
+ paymentInfo: $paymentInfo
31
+ ) {
32
+ code
33
+ message
34
+ data
35
+ qrCodeUrl
36
+ deeplink
37
+ deeplinkMiniApp
38
+ invoiceId
39
+ orderId
40
+ }
41
+ }
37
42
  `;
@@ -2,44 +2,44 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  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
  `;
@@ -11,3 +11,4 @@ export declare const GET_PRODUCT_OPTION: import("graphql").DocumentNode;
11
11
  export declare const GET_POLICY: import("graphql").DocumentNode;
12
12
  export declare const GET_STORES: import("graphql").DocumentNode;
13
13
  export declare const GET_DETAIL_STORES: import("graphql").DocumentNode;
14
+ export declare const GET_PRODUCT_IMAGE: import("graphql").DocumentNode;