@longvansoftware/service-js-client 1.15.8 → 1.15.9
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 +93 -93
- package/dist/src/graphql/accounting_service/mutations.js +96 -96
- package/dist/src/graphql/accounting_service/queries.js +57 -57
- package/dist/src/graphql/auth/mutations.js +235 -235
- package/dist/src/graphql/auth/queries.js +68 -68
- package/dist/src/graphql/campaign/mutations.d.ts +1 -0
- package/dist/src/graphql/campaign/mutations.js +34 -0
- package/dist/src/graphql/campaign/queries.d.ts +9 -0
- package/dist/src/graphql/campaign/queries.js +412 -0
- package/dist/src/graphql/cashbook/queries.d.ts +2 -0
- package/dist/src/graphql/cashbook/queries.js +99 -0
- package/dist/src/graphql/cloud/mutations.js +282 -282
- package/dist/src/graphql/cloud/queries.js +341 -341
- package/dist/src/graphql/computing/mutations.js +303 -303
- package/dist/src/graphql/computing/queries.js +548 -548
- package/dist/src/graphql/crm/mutations.d.ts +1 -0
- package/dist/src/graphql/crm/mutations.js +392 -375
- package/dist/src/graphql/crm/queries.d.ts +1 -0
- package/dist/src/graphql/crm/queries.js +359 -332
- package/dist/src/graphql/crm_camping/mutations.js +32 -32
- package/dist/src/graphql/crm_camping/queries.js +198 -198
- package/dist/src/graphql/orderGraphQL/mutations.js +351 -351
- package/dist/src/graphql/orderGraphQL/queries.js +387 -387
- package/dist/src/graphql/payment/mutations.js +45 -45
- package/dist/src/graphql/payment/queries.js +60 -60
- package/dist/src/graphql/paymentLV/mutations.js +19 -19
- package/dist/src/graphql/paymentLV/queries.js +75 -75
- package/dist/src/graphql/paymentV2/mutations.d.ts +3 -0
- package/dist/src/graphql/paymentV2/mutations.js +54 -0
- package/dist/src/graphql/paymentV2/queries.d.ts +6 -0
- package/dist/src/graphql/paymentV2/queries.js +186 -0
- package/dist/src/graphql/product/queries.js +891 -891
- package/dist/src/graphql/quicklab_service/mutations.js +154 -154
- package/dist/src/graphql/quicklab_service/queries.js +108 -108
- package/dist/src/graphql/resource_permission/mutations.js +57 -57
- package/dist/src/graphql/resource_permission/queries.js +13 -13
- package/dist/src/graphql/service/mutations.js +228 -228
- package/dist/src/graphql/service/queries.js +128 -128
- package/dist/src/graphql/store/mutations.d.ts +1 -0
- package/dist/src/graphql/store/mutations.js +29 -0
- package/dist/src/graphql/store/queries.d.ts +1 -0
- package/dist/src/graphql/store/queries.js +29 -0
- package/dist/src/graphql/user/mutations.js +214 -214
- package/dist/src/graphql/user/queries.js +312 -312
- package/dist/src/lib/accounting/index.d.ts +5 -0
- package/dist/src/lib/accounting/index.js +32 -0
- package/dist/src/lib/campaign/index.d.ts +20 -0
- package/dist/src/lib/campaign/index.js +213 -0
- package/dist/src/lib/cashbook/index.d.ts +6 -0
- package/dist/src/lib/cashbook/index.js +56 -0
- package/dist/src/lib/comhub/index.d.ts +6 -0
- package/dist/src/lib/comhub/index.js +50 -0
- package/dist/src/lib/crm/index.d.ts +2 -0
- package/dist/src/lib/crm/index.js +40 -0
- package/dist/src/lib/deepLinkVietQr/index.d.ts +6 -0
- package/dist/src/lib/deepLinkVietQr/index.js +45 -0
- package/dist/src/lib/getImage/index.d.ts +4 -0
- package/dist/src/lib/getImage/index.js +10 -0
- package/dist/src/lib/image/index.d.ts +7 -0
- package/dist/src/lib/image/index.js +49 -0
- package/dist/src/lib/omnigateway/index.d.ts +7 -0
- package/dist/src/lib/omnigateway/index.js +58 -0
- package/dist/src/lib/paymentV2/index.d.ts +13 -0
- package/dist/src/lib/paymentV2/index.js +163 -0
- package/dist/src/lib/portal/index.d.ts +21 -0
- package/dist/src/lib/portal/index.js +225 -0
- package/dist/src/lib/serviceSDK.js +12 -12
- package/dist/src/lib/store/index.d.ts +30 -0
- package/dist/src/lib/store/index.js +74 -0
- package/dist/src/lib/token/index.d.ts +5 -0
- package/dist/src/lib/token/index.js +32 -0
- package/dist/src/lib/upload/index.d.ts +5 -0
- package/dist/src/lib/upload/index.js +35 -0
- package/dist/src/lib/warehouseV2/index.d.ts +13 -0
- package/dist/src/lib/warehouseV2/index.js +54 -0
- package/dist/src/lib/zca/index.d.ts +12 -0
- package/dist/src/lib/zca/index.js +41 -0
- package/dist/src/types/campaign.d.ts +14 -0
- package/dist/src/types/campaign.js +2 -0
- package/dist/src/types/invoice.d.ts +13 -0
- package/dist/src/types/invoice.js +2 -0
- package/dist/src/types/store.d.ts +158 -0
- package/dist/src/types/store.js +3 -0
- package/dist/src/utils/validatePhoneNumber.d.ts +1 -0
- package/dist/src/utils/validatePhoneNumber.js +20 -0
- package/package.json +44 -43
@@ -1,347 +1,374 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GET_COLLEGES_BY_PROVINCE_ID = exports.GET_RESUME_DOMAIN_BY_SERVICE_ID = exports.GET_REUSME_BY_CUSTOMER_ID = exports.GET_RESUME_CONTACT = exports.GET_RESUME_ID_BY_RESOURCE = exports.GET_LIST_COMMENT = exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = exports.GET_TICKET_BY_ID = exports.GET_LIST_TICKET = exports.GET_LIST_WORK_EFFORT_TYPE = exports.GET_LIST_TODO = exports.GET_LIST_OPPORTUNITY_QUERY = void 0;
|
3
|
+
exports.GET_RELATED_RESOURCE_BY_RESOURCE_TYPE = exports.GET_COLLEGES_BY_PROVINCE_ID = exports.GET_RESUME_DOMAIN_BY_SERVICE_ID = exports.GET_REUSME_BY_CUSTOMER_ID = exports.GET_RESUME_CONTACT = exports.GET_RESUME_ID_BY_RESOURCE = exports.GET_LIST_COMMENT = exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = exports.GET_TICKET_BY_ID = exports.GET_LIST_TICKET = 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(
|
7
|
-
$partyId: String!
|
8
|
-
$performerId: String!
|
9
|
-
$getOpportunityRequest: GetOpportunityRequest!
|
10
|
-
) {
|
11
|
-
getListOpportunity(
|
12
|
-
partyId: $partyId
|
13
|
-
performerId: $performerId
|
14
|
-
getOpportunityRequest: $getOpportunityRequest
|
15
|
-
) {
|
16
|
-
total
|
17
|
-
data {
|
18
|
-
goal
|
19
|
-
campaignId
|
20
|
-
valueReal
|
21
|
-
valueExpect
|
22
|
-
successRate
|
23
|
-
referName
|
24
|
-
referPhone
|
25
|
-
referEmail
|
26
|
-
id
|
27
|
-
createdBy
|
28
|
-
ownerId
|
29
|
-
workEffortTypeId
|
30
|
-
partyId
|
31
|
-
name
|
32
|
-
description
|
33
|
-
parentId
|
34
|
-
status
|
35
|
-
stmId
|
36
|
-
createdStamp
|
37
|
-
updatedStamp
|
38
|
-
endDateExpect
|
39
|
-
priorityName
|
40
|
-
targetId
|
41
|
-
targetType
|
42
|
-
targetUrl
|
43
|
-
extSource
|
44
|
-
connectorId
|
45
|
-
processResult
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
5
|
+
exports.GET_LIST_OPPORTUNITY_QUERY = (0, graphql_tag_1.gql) `
|
6
|
+
query GetListOpportunity(
|
7
|
+
$partyId: String!
|
8
|
+
$performerId: String!
|
9
|
+
$getOpportunityRequest: GetOpportunityRequest!
|
10
|
+
) {
|
11
|
+
getListOpportunity(
|
12
|
+
partyId: $partyId
|
13
|
+
performerId: $performerId
|
14
|
+
getOpportunityRequest: $getOpportunityRequest
|
15
|
+
) {
|
16
|
+
total
|
17
|
+
data {
|
18
|
+
goal
|
19
|
+
campaignId
|
20
|
+
valueReal
|
21
|
+
valueExpect
|
22
|
+
successRate
|
23
|
+
referName
|
24
|
+
referPhone
|
25
|
+
referEmail
|
26
|
+
id
|
27
|
+
createdBy
|
28
|
+
ownerId
|
29
|
+
workEffortTypeId
|
30
|
+
partyId
|
31
|
+
name
|
32
|
+
description
|
33
|
+
parentId
|
34
|
+
status
|
35
|
+
stmId
|
36
|
+
createdStamp
|
37
|
+
updatedStamp
|
38
|
+
endDateExpect
|
39
|
+
priorityName
|
40
|
+
targetId
|
41
|
+
targetType
|
42
|
+
targetUrl
|
43
|
+
extSource
|
44
|
+
connectorId
|
45
|
+
processResult
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
49
|
`;
|
50
|
-
exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
|
51
|
-
query GetListTodo($partyId: String!, $workEffortId: [String]!) {
|
52
|
-
getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
|
53
|
-
workEffortId
|
54
|
-
toDoList {
|
55
|
-
listAttachment {
|
56
|
-
id
|
57
|
-
createdStamp
|
58
|
-
createdBy
|
59
|
-
updatedBy
|
60
|
-
updatedStamp
|
61
|
-
partyId
|
62
|
-
path
|
63
|
-
srcId
|
64
|
-
srcName
|
65
|
-
srcPath
|
66
|
-
srcConfigPathId
|
67
|
-
name
|
68
|
-
fileType
|
69
|
-
type
|
70
|
-
status
|
71
|
-
referId
|
72
|
-
}
|
73
|
-
isDone
|
74
|
-
id
|
75
|
-
workEffortTypeId
|
76
|
-
workEffortType {
|
77
|
-
id
|
78
|
-
name
|
79
|
-
group
|
80
|
-
createdStamp
|
81
|
-
updatedStamp
|
82
|
-
updatedBy
|
83
|
-
createdBy
|
84
|
-
partyId
|
85
|
-
actionLinkId
|
86
|
-
partyGroupIds
|
87
|
-
description
|
88
|
-
workFlow {
|
89
|
-
stages {
|
90
|
-
id
|
91
|
-
name
|
92
|
-
mode
|
93
|
-
workEffortTypeId
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
partyId
|
98
|
-
name
|
99
|
-
description
|
100
|
-
parentId
|
101
|
-
parentType
|
102
|
-
status
|
103
|
-
createdStamp
|
104
|
-
updatedStamp
|
105
|
-
source
|
106
|
-
mode
|
107
|
-
connectorId
|
108
|
-
actionLink {
|
109
|
-
name
|
110
|
-
uri
|
111
|
-
type
|
112
|
-
partyId
|
113
|
-
fromCollection
|
114
|
-
toCollection
|
115
|
-
group
|
116
|
-
params
|
117
|
-
id
|
118
|
-
createdStamp
|
119
|
-
updatedStamp
|
120
|
-
updatedBy
|
121
|
-
createdBy
|
122
|
-
}
|
123
|
-
partyGroupIds
|
124
|
-
tagIds
|
125
|
-
processResult
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
50
|
+
exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
|
51
|
+
query GetListTodo($partyId: String!, $workEffortId: [String]!) {
|
52
|
+
getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
|
53
|
+
workEffortId
|
54
|
+
toDoList {
|
55
|
+
listAttachment {
|
56
|
+
id
|
57
|
+
createdStamp
|
58
|
+
createdBy
|
59
|
+
updatedBy
|
60
|
+
updatedStamp
|
61
|
+
partyId
|
62
|
+
path
|
63
|
+
srcId
|
64
|
+
srcName
|
65
|
+
srcPath
|
66
|
+
srcConfigPathId
|
67
|
+
name
|
68
|
+
fileType
|
69
|
+
type
|
70
|
+
status
|
71
|
+
referId
|
72
|
+
}
|
73
|
+
isDone
|
74
|
+
id
|
75
|
+
workEffortTypeId
|
76
|
+
workEffortType {
|
77
|
+
id
|
78
|
+
name
|
79
|
+
group
|
80
|
+
createdStamp
|
81
|
+
updatedStamp
|
82
|
+
updatedBy
|
83
|
+
createdBy
|
84
|
+
partyId
|
85
|
+
actionLinkId
|
86
|
+
partyGroupIds
|
87
|
+
description
|
88
|
+
workFlow {
|
89
|
+
stages {
|
90
|
+
id
|
91
|
+
name
|
92
|
+
mode
|
93
|
+
workEffortTypeId
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
partyId
|
98
|
+
name
|
99
|
+
description
|
100
|
+
parentId
|
101
|
+
parentType
|
102
|
+
status
|
103
|
+
createdStamp
|
104
|
+
updatedStamp
|
105
|
+
source
|
106
|
+
mode
|
107
|
+
connectorId
|
108
|
+
actionLink {
|
109
|
+
name
|
110
|
+
uri
|
111
|
+
type
|
112
|
+
partyId
|
113
|
+
fromCollection
|
114
|
+
toCollection
|
115
|
+
group
|
116
|
+
params
|
117
|
+
id
|
118
|
+
createdStamp
|
119
|
+
updatedStamp
|
120
|
+
updatedBy
|
121
|
+
createdBy
|
122
|
+
}
|
123
|
+
partyGroupIds
|
124
|
+
tagIds
|
125
|
+
processResult
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
129
|
`;
|
130
|
-
exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
|
131
|
-
query GetListWorkEffortType($partyId: String!, $id: String!) {
|
132
|
-
getListWorkEffortType(
|
133
|
-
partyId: $partyId
|
134
|
-
getWorkEffortTypeRequest: { id: $id, isPagination: true }
|
135
|
-
) {
|
136
|
-
id
|
137
|
-
name
|
138
|
-
group
|
139
|
-
createdStamp
|
140
|
-
updatedStamp
|
141
|
-
updatedBy
|
142
|
-
createdBy
|
143
|
-
partyId
|
144
|
-
actionLinkId
|
145
|
-
partyGroupIds
|
146
|
-
description
|
147
|
-
workFlow {
|
148
|
-
stages {
|
149
|
-
id
|
150
|
-
name
|
151
|
-
mode
|
152
|
-
workEffortTypeId
|
153
|
-
}
|
154
|
-
}
|
155
|
-
}
|
156
|
-
}
|
130
|
+
exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
|
131
|
+
query GetListWorkEffortType($partyId: String!, $id: String!) {
|
132
|
+
getListWorkEffortType(
|
133
|
+
partyId: $partyId
|
134
|
+
getWorkEffortTypeRequest: { id: $id, isPagination: true }
|
135
|
+
) {
|
136
|
+
id
|
137
|
+
name
|
138
|
+
group
|
139
|
+
createdStamp
|
140
|
+
updatedStamp
|
141
|
+
updatedBy
|
142
|
+
createdBy
|
143
|
+
partyId
|
144
|
+
actionLinkId
|
145
|
+
partyGroupIds
|
146
|
+
description
|
147
|
+
workFlow {
|
148
|
+
stages {
|
149
|
+
id
|
150
|
+
name
|
151
|
+
mode
|
152
|
+
workEffortTypeId
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
157
|
`;
|
158
|
-
exports.GET_LIST_TICKET = (0, graphql_tag_1.gql) `
|
159
|
-
query GetListTicket(
|
160
|
-
$partyId: String!
|
161
|
-
$performerId: String!
|
162
|
-
$getTicketRequest: GetTicketRequest!
|
163
|
-
) {
|
164
|
-
getListTicket(
|
165
|
-
partyId: $partyId
|
166
|
-
performerId: $performerId
|
167
|
-
getTicketRequest: $getTicketRequest
|
168
|
-
) {
|
169
|
-
total
|
170
|
-
data {
|
171
|
-
id
|
172
|
-
ownerId
|
173
|
-
workEffortTypeId
|
174
|
-
partyId
|
175
|
-
name
|
176
|
-
description
|
177
|
-
status
|
178
|
-
parentId
|
179
|
-
stmId
|
180
|
-
createdStamp
|
181
|
-
updatedStamp
|
182
|
-
endDateExpect
|
183
|
-
endDateActual
|
184
|
-
priorityName
|
185
|
-
targetId
|
186
|
-
targetType
|
187
|
-
extSource
|
188
|
-
connectorId
|
189
|
-
accountable {
|
190
|
-
id
|
191
|
-
fullName
|
192
|
-
name
|
193
|
-
type
|
194
|
-
phone
|
195
|
-
email
|
196
|
-
}
|
197
|
-
}
|
198
|
-
}
|
199
|
-
}
|
158
|
+
exports.GET_LIST_TICKET = (0, graphql_tag_1.gql) `
|
159
|
+
query GetListTicket(
|
160
|
+
$partyId: String!
|
161
|
+
$performerId: String!
|
162
|
+
$getTicketRequest: GetTicketRequest!
|
163
|
+
) {
|
164
|
+
getListTicket(
|
165
|
+
partyId: $partyId
|
166
|
+
performerId: $performerId
|
167
|
+
getTicketRequest: $getTicketRequest
|
168
|
+
) {
|
169
|
+
total
|
170
|
+
data {
|
171
|
+
id
|
172
|
+
ownerId
|
173
|
+
workEffortTypeId
|
174
|
+
partyId
|
175
|
+
name
|
176
|
+
description
|
177
|
+
status
|
178
|
+
parentId
|
179
|
+
stmId
|
180
|
+
createdStamp
|
181
|
+
updatedStamp
|
182
|
+
endDateExpect
|
183
|
+
endDateActual
|
184
|
+
priorityName
|
185
|
+
targetId
|
186
|
+
targetType
|
187
|
+
extSource
|
188
|
+
connectorId
|
189
|
+
accountable {
|
190
|
+
id
|
191
|
+
fullName
|
192
|
+
name
|
193
|
+
type
|
194
|
+
phone
|
195
|
+
email
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
200
|
`;
|
201
|
-
exports.GET_TICKET_BY_ID = (0, graphql_tag_1.gql) `
|
202
|
-
query GetTicketById($ticketId: String!) {
|
203
|
-
getTicketById(ticketId: $ticketId) {
|
204
|
-
id
|
205
|
-
workEffortTypeId
|
206
|
-
workEffortType {
|
207
|
-
id
|
208
|
-
name
|
209
|
-
group
|
210
|
-
createdStamp
|
211
|
-
updatedStamp
|
212
|
-
}
|
213
|
-
partyId
|
214
|
-
name
|
215
|
-
description
|
216
|
-
status
|
217
|
-
parentId
|
218
|
-
createdStamp
|
219
|
-
updatedStamp
|
220
|
-
endDateExpect
|
221
|
-
endDateActual
|
222
|
-
priorityName
|
223
|
-
targetId
|
224
|
-
targetType
|
225
|
-
extSource
|
226
|
-
}
|
227
|
-
}
|
201
|
+
exports.GET_TICKET_BY_ID = (0, graphql_tag_1.gql) `
|
202
|
+
query GetTicketById($ticketId: String!) {
|
203
|
+
getTicketById(ticketId: $ticketId) {
|
204
|
+
id
|
205
|
+
workEffortTypeId
|
206
|
+
workEffortType {
|
207
|
+
id
|
208
|
+
name
|
209
|
+
group
|
210
|
+
createdStamp
|
211
|
+
updatedStamp
|
212
|
+
}
|
213
|
+
partyId
|
214
|
+
name
|
215
|
+
description
|
216
|
+
status
|
217
|
+
parentId
|
218
|
+
createdStamp
|
219
|
+
updatedStamp
|
220
|
+
endDateExpect
|
221
|
+
endDateActual
|
222
|
+
priorityName
|
223
|
+
targetId
|
224
|
+
targetType
|
225
|
+
extSource
|
226
|
+
}
|
227
|
+
}
|
228
228
|
`;
|
229
|
-
exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = (0, graphql_tag_1.gql) `
|
230
|
-
query GetAttachmentByWorkEffortId(
|
231
|
-
$partyId: String!
|
232
|
-
$workEffortIds: [String]!
|
233
|
-
) {
|
234
|
-
getAttachmentByWorkEffortId(
|
235
|
-
partyId: $partyId
|
236
|
-
workEffortIds: $workEffortIds
|
237
|
-
) {
|
238
|
-
id
|
239
|
-
createdStamp
|
240
|
-
updatedStamp
|
241
|
-
updatedBy
|
242
|
-
createdBy
|
243
|
-
partyId
|
244
|
-
path
|
245
|
-
srcId
|
246
|
-
srcName
|
247
|
-
srcPath
|
248
|
-
srcConfigPathId
|
249
|
-
name
|
250
|
-
fileType
|
251
|
-
type
|
252
|
-
status
|
253
|
-
referId
|
254
|
-
}
|
255
|
-
}
|
229
|
+
exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = (0, graphql_tag_1.gql) `
|
230
|
+
query GetAttachmentByWorkEffortId(
|
231
|
+
$partyId: String!
|
232
|
+
$workEffortIds: [String]!
|
233
|
+
) {
|
234
|
+
getAttachmentByWorkEffortId(
|
235
|
+
partyId: $partyId
|
236
|
+
workEffortIds: $workEffortIds
|
237
|
+
) {
|
238
|
+
id
|
239
|
+
createdStamp
|
240
|
+
updatedStamp
|
241
|
+
updatedBy
|
242
|
+
createdBy
|
243
|
+
partyId
|
244
|
+
path
|
245
|
+
srcId
|
246
|
+
srcName
|
247
|
+
srcPath
|
248
|
+
srcConfigPathId
|
249
|
+
name
|
250
|
+
fileType
|
251
|
+
type
|
252
|
+
status
|
253
|
+
referId
|
254
|
+
}
|
255
|
+
}
|
256
256
|
`;
|
257
|
-
exports.GET_LIST_COMMENT = (0, graphql_tag_1.gql) `
|
258
|
-
query GetListComment(
|
259
|
-
$partyId: String!
|
260
|
-
$getCommentRequest: GetCommentRequest!
|
261
|
-
) {
|
262
|
-
getListComment(partyId: $partyId, getCommentRequest: $getCommentRequest) {
|
263
|
-
total
|
264
|
-
data {
|
265
|
-
id
|
266
|
-
createdStamp
|
267
|
-
updatedStamp
|
268
|
-
updatedBy
|
269
|
-
createdBy {
|
270
|
-
id
|
271
|
-
fullName
|
272
|
-
}
|
273
|
-
type
|
274
|
-
format
|
275
|
-
content
|
276
|
-
referId
|
277
|
-
referSource
|
278
|
-
attachId
|
279
|
-
}
|
280
|
-
}
|
281
|
-
}
|
257
|
+
exports.GET_LIST_COMMENT = (0, graphql_tag_1.gql) `
|
258
|
+
query GetListComment(
|
259
|
+
$partyId: String!
|
260
|
+
$getCommentRequest: GetCommentRequest!
|
261
|
+
) {
|
262
|
+
getListComment(partyId: $partyId, getCommentRequest: $getCommentRequest) {
|
263
|
+
total
|
264
|
+
data {
|
265
|
+
id
|
266
|
+
createdStamp
|
267
|
+
updatedStamp
|
268
|
+
updatedBy
|
269
|
+
createdBy {
|
270
|
+
id
|
271
|
+
fullName
|
272
|
+
}
|
273
|
+
type
|
274
|
+
format
|
275
|
+
content
|
276
|
+
referId
|
277
|
+
referSource
|
278
|
+
attachId
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
282
|
`;
|
283
|
-
exports.GET_RESUME_ID_BY_RESOURCE = (0, graphql_tag_1.gql) `
|
284
|
-
query GetResumeIdByResource($resourceId: String, $resourceType: String) {
|
285
|
-
getResumeIdByResource(resourceId: $resourceId, resourceType: $resourceType)
|
286
|
-
}
|
283
|
+
exports.GET_RESUME_ID_BY_RESOURCE = (0, graphql_tag_1.gql) `
|
284
|
+
query GetResumeIdByResource($resourceId: String, $resourceType: String) {
|
285
|
+
getResumeIdByResource(resourceId: $resourceId, resourceType: $resourceType)
|
286
|
+
}
|
287
287
|
`;
|
288
|
-
exports.GET_RESUME_CONTACT = (0, graphql_tag_1.gql) `
|
289
|
-
query GetResumeContact($resumeId: String, $contactType: String) {
|
290
|
-
getResumeContact(resumeId: $resumeId, contactType: $contactType) {
|
291
|
-
resumeId
|
292
|
-
partyId
|
293
|
-
name
|
294
|
-
otherName
|
295
|
-
customerType
|
296
|
-
email
|
297
|
-
country
|
298
|
-
province
|
299
|
-
district
|
300
|
-
ward
|
301
|
-
countryId
|
302
|
-
provinceId
|
303
|
-
districtId
|
304
|
-
wardId
|
305
|
-
address
|
306
|
-
phone
|
307
|
-
contactType
|
308
|
-
taxCode
|
309
|
-
businessCode
|
310
|
-
identityNumber
|
311
|
-
gender
|
312
|
-
birthday
|
313
|
-
cpFrom
|
314
|
-
level
|
315
|
-
statusCode
|
316
|
-
}
|
317
|
-
}
|
288
|
+
exports.GET_RESUME_CONTACT = (0, graphql_tag_1.gql) `
|
289
|
+
query GetResumeContact($resumeId: String, $contactType: String) {
|
290
|
+
getResumeContact(resumeId: $resumeId, contactType: $contactType) {
|
291
|
+
resumeId
|
292
|
+
partyId
|
293
|
+
name
|
294
|
+
otherName
|
295
|
+
customerType
|
296
|
+
email
|
297
|
+
country
|
298
|
+
province
|
299
|
+
district
|
300
|
+
ward
|
301
|
+
countryId
|
302
|
+
provinceId
|
303
|
+
districtId
|
304
|
+
wardId
|
305
|
+
address
|
306
|
+
phone
|
307
|
+
contactType
|
308
|
+
taxCode
|
309
|
+
businessCode
|
310
|
+
identityNumber
|
311
|
+
gender
|
312
|
+
birthday
|
313
|
+
cpFrom
|
314
|
+
level
|
315
|
+
statusCode
|
316
|
+
}
|
317
|
+
}
|
318
318
|
`;
|
319
|
-
exports.GET_REUSME_BY_CUSTOMER_ID = (0, graphql_tag_1.gql) `
|
320
|
-
query GetResumesByCustomerId($customerId: String, $partyId: String) {
|
321
|
-
getResumesByCustomerId(customerId: $customerId, partyId: $partyId) {
|
322
|
-
resumeId
|
323
|
-
resumeName
|
324
|
-
status
|
325
|
-
}
|
326
|
-
}
|
319
|
+
exports.GET_REUSME_BY_CUSTOMER_ID = (0, graphql_tag_1.gql) `
|
320
|
+
query GetResumesByCustomerId($customerId: String, $partyId: String) {
|
321
|
+
getResumesByCustomerId(customerId: $customerId, partyId: $partyId) {
|
322
|
+
resumeId
|
323
|
+
resumeName
|
324
|
+
status
|
325
|
+
}
|
326
|
+
}
|
327
327
|
`;
|
328
|
-
exports.GET_RESUME_DOMAIN_BY_SERVICE_ID = (0, graphql_tag_1.gql) `
|
329
|
-
query GetResumeDomainByServiceId($serviceId: String!) {
|
330
|
-
getResumeDomainByServiceId(serviceId: $serviceId) {
|
331
|
-
resumeId
|
332
|
-
resumeName
|
333
|
-
status
|
334
|
-
statusCode
|
335
|
-
level
|
336
|
-
}
|
337
|
-
}
|
328
|
+
exports.GET_RESUME_DOMAIN_BY_SERVICE_ID = (0, graphql_tag_1.gql) `
|
329
|
+
query GetResumeDomainByServiceId($serviceId: String!) {
|
330
|
+
getResumeDomainByServiceId(serviceId: $serviceId) {
|
331
|
+
resumeId
|
332
|
+
resumeName
|
333
|
+
status
|
334
|
+
statusCode
|
335
|
+
level
|
336
|
+
}
|
337
|
+
}
|
338
338
|
`;
|
339
|
-
exports.GET_COLLEGES_BY_PROVINCE_ID = (0, graphql_tag_1.gql) `
|
340
|
-
query GetCollegesByProvinceId($provinceId: String) {
|
341
|
-
getCollegesByProvinceId(provinceId: $provinceId) {
|
342
|
-
id
|
343
|
-
name
|
344
|
-
provinceId
|
345
|
-
}
|
346
|
-
}
|
339
|
+
exports.GET_COLLEGES_BY_PROVINCE_ID = (0, graphql_tag_1.gql) `
|
340
|
+
query GetCollegesByProvinceId($provinceId: String) {
|
341
|
+
getCollegesByProvinceId(provinceId: $provinceId) {
|
342
|
+
id
|
343
|
+
name
|
344
|
+
provinceId
|
345
|
+
}
|
346
|
+
}
|
347
|
+
`;
|
348
|
+
exports.GET_RELATED_RESOURCE_BY_RESOURCE_TYPE = (0, graphql_tag_1.gql) `
|
349
|
+
query GetRelatedResourceByResourceType(
|
350
|
+
$fromId: String!
|
351
|
+
$fromResourceType: String!
|
352
|
+
$toResourceType: String!
|
353
|
+
$partnerId: String
|
354
|
+
$accessToken: String
|
355
|
+
) {
|
356
|
+
getRelatedResourceByResourceType(
|
357
|
+
fromId: $fromId
|
358
|
+
fromResourceType: $fromResourceType
|
359
|
+
toResourceType: $toResourceType
|
360
|
+
partnerId: $partnerId
|
361
|
+
accessToken: $accessToken
|
362
|
+
) {
|
363
|
+
id
|
364
|
+
name
|
365
|
+
description
|
366
|
+
type
|
367
|
+
status
|
368
|
+
createdBy
|
369
|
+
createdStamp
|
370
|
+
updatedStamp
|
371
|
+
accountableId
|
372
|
+
}
|
373
|
+
}
|
347
374
|
`;
|