@longvansoftware/storefront-js-client 1.3.6 → 1.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.
@@ -2,154 +2,154 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GET_LIST_WORK_EFFORT_TYPE = exports.GET_LIST_TODO = exports.GET_LIST_OPPORTUNITY_QUERY = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
- exports.GET_LIST_OPPORTUNITY_QUERY = (0, graphql_tag_1.gql) `
6
- query GetListOpportunity($partyId: String!, $performerId: String!, $getOpportunityRequest: GetOpportunityRequest!) {
7
- getListOpportunity(
8
- partyId: $partyId
9
- performerId: $performerId
10
- getOpportunityRequest: $getOpportunityRequest
11
- ) {
12
- total
13
- data {
14
- goal
15
- campaignId
16
- valueReal
17
- valueExpect
18
- successRate
19
- referName
20
- referPhone
21
- referEmail
22
- id
23
- createdBy
24
- ownerId
25
- workEffortTypeId
26
- partyId
27
- name
28
- description
29
- parentId
30
- status
31
- stmId
32
- createdStamp
33
- updatedStamp
34
- endDateExpect
35
- priorityName
36
- targetId
37
- targetType
38
- targetUrl
39
- extSource
40
- connectorId
41
- processResult
42
- }
43
- }
44
- }
5
+ exports.GET_LIST_OPPORTUNITY_QUERY = (0, graphql_tag_1.gql) `
6
+ query GetListOpportunity($partyId: String!, $performerId: String!, $getOpportunityRequest: GetOpportunityRequest!) {
7
+ getListOpportunity(
8
+ partyId: $partyId
9
+ performerId: $performerId
10
+ getOpportunityRequest: $getOpportunityRequest
11
+ ) {
12
+ total
13
+ data {
14
+ goal
15
+ campaignId
16
+ valueReal
17
+ valueExpect
18
+ successRate
19
+ referName
20
+ referPhone
21
+ referEmail
22
+ id
23
+ createdBy
24
+ ownerId
25
+ workEffortTypeId
26
+ partyId
27
+ name
28
+ description
29
+ parentId
30
+ status
31
+ stmId
32
+ createdStamp
33
+ updatedStamp
34
+ endDateExpect
35
+ priorityName
36
+ targetId
37
+ targetType
38
+ targetUrl
39
+ extSource
40
+ connectorId
41
+ processResult
42
+ }
43
+ }
44
+ }
45
45
  `;
46
- exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
47
- query GetListTodo($partyId: String!, $workEffortId: [String]!) {
48
- getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
49
- workEffortId
50
- toDoList {
51
- listAttachment {
52
- id
53
- createdStamp
54
- createdBy
55
- updatedBy
56
- updatedStamp
57
- partyId
58
- path
59
- srcId
60
- srcName
61
- srcPath
62
- srcConfigPathId
63
- name
64
- fileType
65
- type
66
- status
67
- referId
68
- }
69
- isDone
70
- id
71
- workEffortTypeId
72
- workEffortType {
73
- id
74
- name
75
- group
76
- createdStamp
77
- updatedStamp
78
- updatedBy
79
- createdBy
80
- partyId
81
- actionLinkId
82
- partyGroupIds
83
- description
84
- workFlow {
85
- stages {
86
- id
87
- name
88
- mode
89
- workEffortTypeId
90
- }
91
- }
92
- }
93
- partyId
94
- name
95
- description
96
- parentId
97
- parentType
98
- status
99
- createdStamp
100
- updatedStamp
101
- source
102
- mode
103
- connectorId
104
- actionLink {
105
- name
106
- uri
107
- type
108
- partyId
109
- fromCollection
110
- toCollection
111
- group
112
- params
113
- id
114
- createdStamp
115
- updatedStamp
116
- updatedBy
117
- createdBy
118
- }
119
- partyGroupIds
120
- tagIds
121
- processResult
122
- }
123
- }
124
- }
46
+ exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
47
+ query GetListTodo($partyId: String!, $workEffortId: [String]!) {
48
+ getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
49
+ workEffortId
50
+ toDoList {
51
+ listAttachment {
52
+ id
53
+ createdStamp
54
+ createdBy
55
+ updatedBy
56
+ updatedStamp
57
+ partyId
58
+ path
59
+ srcId
60
+ srcName
61
+ srcPath
62
+ srcConfigPathId
63
+ name
64
+ fileType
65
+ type
66
+ status
67
+ referId
68
+ }
69
+ isDone
70
+ id
71
+ workEffortTypeId
72
+ workEffortType {
73
+ id
74
+ name
75
+ group
76
+ createdStamp
77
+ updatedStamp
78
+ updatedBy
79
+ createdBy
80
+ partyId
81
+ actionLinkId
82
+ partyGroupIds
83
+ description
84
+ workFlow {
85
+ stages {
86
+ id
87
+ name
88
+ mode
89
+ workEffortTypeId
90
+ }
91
+ }
92
+ }
93
+ partyId
94
+ name
95
+ description
96
+ parentId
97
+ parentType
98
+ status
99
+ createdStamp
100
+ updatedStamp
101
+ source
102
+ mode
103
+ connectorId
104
+ actionLink {
105
+ name
106
+ uri
107
+ type
108
+ partyId
109
+ fromCollection
110
+ toCollection
111
+ group
112
+ params
113
+ id
114
+ createdStamp
115
+ updatedStamp
116
+ updatedBy
117
+ createdBy
118
+ }
119
+ partyGroupIds
120
+ tagIds
121
+ processResult
122
+ }
123
+ }
124
+ }
125
125
  `;
126
- exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
127
- query GetListWorkEffortType($partyId: String!, $id: String!){
128
- getListWorkEffortType(
129
- partyId: $partyId
130
- getWorkEffortTypeRequest: {
131
- id: $id
132
- isPagination: true }
133
- ) {
134
- id
135
- name
136
- group
137
- createdStamp
138
- updatedStamp
139
- updatedBy
140
- createdBy
141
- partyId
142
- actionLinkId
143
- partyGroupIds
144
- description
145
- workFlow {
146
- stages{
147
- id
148
- name
149
- mode
150
- workEffortTypeId
151
- }
152
- }
153
- }
154
- }
126
+ exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
127
+ query GetListWorkEffortType($partyId: String!, $id: String!){
128
+ getListWorkEffortType(
129
+ partyId: $partyId
130
+ getWorkEffortTypeRequest: {
131
+ id: $id
132
+ isPagination: true }
133
+ ) {
134
+ id
135
+ name
136
+ group
137
+ createdStamp
138
+ updatedStamp
139
+ updatedBy
140
+ createdBy
141
+ partyId
142
+ actionLinkId
143
+ partyGroupIds
144
+ description
145
+ workFlow {
146
+ stages{
147
+ id
148
+ name
149
+ mode
150
+ workEffortTypeId
151
+ }
152
+ }
153
+ }
154
+ }
155
155
  `;
@@ -2,34 +2,34 @@
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
- ) {
18
- createPaymentOrder(
19
- orgId: $orgId
20
- orderId: $orderId
21
- paymentMethod: $paymentMethod
22
- storeId: $storeId
23
- source: $source
24
- appliedAmount: $appliedAmount
25
- payDate: $payDate
26
- returnUrl: $returnUrl
27
- paymentType: $paymentType
28
- createBy: $createBy
29
- ) {
30
- code
31
- message
32
- data
33
- }
34
- }
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: Float!
13
+ $payDate: String!
14
+ $returnUrl: String
15
+ $paymentType: String!
16
+ $createBy: String!
17
+ ) {
18
+ createPaymentOrder(
19
+ orgId: $orgId
20
+ orderId: $orderId
21
+ paymentMethod: $paymentMethod
22
+ storeId: $storeId
23
+ source: $source
24
+ appliedAmount: $appliedAmount
25
+ payDate: $payDate
26
+ returnUrl: $returnUrl
27
+ paymentType: $paymentType
28
+ createBy: $createBy
29
+ ) {
30
+ code
31
+ message
32
+ data
33
+ }
34
+ }
35
35
  `;
@@ -1,2 +1 @@
1
1
  export declare const GET_PAYMENT_METHOD: import("graphql").DocumentNode;
2
- export declare const GEN_QR_PAYMENT: import("graphql").DocumentNode;
@@ -1,23 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GEN_QR_PAYMENT = exports.GET_PAYMENT_METHOD = void 0;
3
+ 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
- }
13
- `;
14
- exports.GEN_QR_PAYMENT = (0, graphql_tag_1.gql) `
15
- query GenQRPayment($orgId: String!, $orderId: String!, $storeId: String!, $totalAmount: BigDecimal){
16
- genQRPayment(
17
- orgId: $orgId
18
- orderId: $orderId
19
- storeId: $storeId
20
- totalAmount: $totalAmount
21
- )
22
- }
5
+ exports.GET_PAYMENT_METHOD = (0, graphql_tag_1.gql) `
6
+ query GetPaymentMethod($orgId: String!, $storeChannelId: String) {
7
+ getPaymentMethod(orgId: $orgId, storeChannelId: $storeChannelId) {
8
+ code
9
+ name
10
+ }
11
+ }
23
12
  `;