@longvansoftware/service-js-client 1.15.7 → 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.d.ts +4 -0
- package/dist/src/graphql/cloud/mutations.js +287 -241
- 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/cloud/index.d.ts +4 -0
- package/dist/src/lib/cloud/index.js +69 -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
- package/dist/src/lib/service.d.ts +0 -14
- package/dist/src/lib/service.js +0 -101
- package/dist/src/utils/build-field-string.d.ts +0 -1
- package/dist/src/utils/build-field-string.js +0 -16
@@ -1,391 +1,408 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.LINKING_RESUME_DOMAIN_AND_CONTACT = exports.CLONE_RESUME = exports.LINKING_RESUME_SERVICE = exports.UPDATE_RESUME_CONTACT = exports.CREATE_RESUME = exports.ADD_COMMENT = exports.ADD_TICKED = exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = exports.UPDATE_WORK_EFFORT_STATUS = exports.UPDATE_WORK_EFFORT_NAME = exports.UPDATE_WORK_EFFORT_DESCRIPTION = exports.UPDATE_STATUS_ATTACHMENT_BY_ID = exports.ADD_OPPORTUNITY_MUTATION = void 0;
|
3
|
+
exports.ADD_RESOURCE_RELATED = exports.LINKING_RESUME_DOMAIN_AND_CONTACT = exports.CLONE_RESUME = exports.LINKING_RESUME_SERVICE = exports.UPDATE_RESUME_CONTACT = exports.CREATE_RESUME = exports.ADD_COMMENT = exports.ADD_TICKED = exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = exports.UPDATE_WORK_EFFORT_STATUS = exports.UPDATE_WORK_EFFORT_NAME = exports.UPDATE_WORK_EFFORT_DESCRIPTION = exports.UPDATE_STATUS_ATTACHMENT_BY_ID = exports.ADD_OPPORTUNITY_MUTATION = void 0;
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
5
|
-
exports.ADD_OPPORTUNITY_MUTATION = (0, graphql_tag_1.gql) `
|
6
|
-
mutation AddOpportunity(
|
7
|
-
$partyId: String!
|
8
|
-
$addOpportunityRequest: AddOpportunityRequest!
|
9
|
-
$performerId: String!
|
10
|
-
) {
|
11
|
-
addOpportunity(
|
12
|
-
partyId: $partyId
|
13
|
-
addOpportunityRequest: $addOpportunityRequest
|
14
|
-
performerId: $performerId
|
15
|
-
) {
|
16
|
-
goal
|
17
|
-
campaignId
|
18
|
-
valueReal
|
19
|
-
valueExpect
|
20
|
-
successRate
|
21
|
-
referName
|
22
|
-
referPhone
|
23
|
-
referEmail
|
24
|
-
id
|
25
|
-
createdBy
|
26
|
-
ownerId
|
27
|
-
workEffortTypeId
|
28
|
-
partyId
|
29
|
-
name
|
30
|
-
description
|
31
|
-
parentId
|
32
|
-
status
|
33
|
-
stmId
|
34
|
-
createdStamp
|
35
|
-
updatedStamp
|
36
|
-
endDateExpect
|
37
|
-
priorityName
|
38
|
-
targetId
|
39
|
-
targetType
|
40
|
-
targetUrl
|
41
|
-
extSource
|
42
|
-
connectorId
|
43
|
-
processResult
|
44
|
-
}
|
45
|
-
}
|
5
|
+
exports.ADD_OPPORTUNITY_MUTATION = (0, graphql_tag_1.gql) `
|
6
|
+
mutation AddOpportunity(
|
7
|
+
$partyId: String!
|
8
|
+
$addOpportunityRequest: AddOpportunityRequest!
|
9
|
+
$performerId: String!
|
10
|
+
) {
|
11
|
+
addOpportunity(
|
12
|
+
partyId: $partyId
|
13
|
+
addOpportunityRequest: $addOpportunityRequest
|
14
|
+
performerId: $performerId
|
15
|
+
) {
|
16
|
+
goal
|
17
|
+
campaignId
|
18
|
+
valueReal
|
19
|
+
valueExpect
|
20
|
+
successRate
|
21
|
+
referName
|
22
|
+
referPhone
|
23
|
+
referEmail
|
24
|
+
id
|
25
|
+
createdBy
|
26
|
+
ownerId
|
27
|
+
workEffortTypeId
|
28
|
+
partyId
|
29
|
+
name
|
30
|
+
description
|
31
|
+
parentId
|
32
|
+
status
|
33
|
+
stmId
|
34
|
+
createdStamp
|
35
|
+
updatedStamp
|
36
|
+
endDateExpect
|
37
|
+
priorityName
|
38
|
+
targetId
|
39
|
+
targetType
|
40
|
+
targetUrl
|
41
|
+
extSource
|
42
|
+
connectorId
|
43
|
+
processResult
|
44
|
+
}
|
45
|
+
}
|
46
46
|
`;
|
47
|
-
exports.UPDATE_STATUS_ATTACHMENT_BY_ID = (0, graphql_tag_1.gql) `
|
48
|
-
mutation UpdateStatusAttachmentById(
|
49
|
-
$performerId: String!
|
50
|
-
$attachmentId: String!
|
51
|
-
$status: String!
|
52
|
-
) {
|
53
|
-
updateStatusAttachmentById(
|
54
|
-
performerId: $performerId
|
55
|
-
attachmentId: $attachmentId
|
56
|
-
status: $status
|
57
|
-
) {
|
58
|
-
id
|
59
|
-
createdStamp
|
60
|
-
updatedStamp
|
61
|
-
updatedBy
|
62
|
-
createdBy
|
63
|
-
partyId
|
64
|
-
path
|
65
|
-
srcId
|
66
|
-
srcName
|
67
|
-
srcPath
|
68
|
-
srcConfigPathId
|
69
|
-
name
|
70
|
-
fileType
|
71
|
-
type
|
72
|
-
status
|
73
|
-
referId
|
74
|
-
}
|
75
|
-
}
|
47
|
+
exports.UPDATE_STATUS_ATTACHMENT_BY_ID = (0, graphql_tag_1.gql) `
|
48
|
+
mutation UpdateStatusAttachmentById(
|
49
|
+
$performerId: String!
|
50
|
+
$attachmentId: String!
|
51
|
+
$status: String!
|
52
|
+
) {
|
53
|
+
updateStatusAttachmentById(
|
54
|
+
performerId: $performerId
|
55
|
+
attachmentId: $attachmentId
|
56
|
+
status: $status
|
57
|
+
) {
|
58
|
+
id
|
59
|
+
createdStamp
|
60
|
+
updatedStamp
|
61
|
+
updatedBy
|
62
|
+
createdBy
|
63
|
+
partyId
|
64
|
+
path
|
65
|
+
srcId
|
66
|
+
srcName
|
67
|
+
srcPath
|
68
|
+
srcConfigPathId
|
69
|
+
name
|
70
|
+
fileType
|
71
|
+
type
|
72
|
+
status
|
73
|
+
referId
|
74
|
+
}
|
75
|
+
}
|
76
76
|
`;
|
77
|
-
exports.UPDATE_WORK_EFFORT_DESCRIPTION = (0, graphql_tag_1.gql) `
|
78
|
-
mutation UpdateWorkEffortDescription(
|
79
|
-
$performerId: String!
|
80
|
-
$workEffortId: String!
|
81
|
-
$description: String!
|
82
|
-
) {
|
83
|
-
updateWorkEffortDescription(
|
84
|
-
performerId: $performerId
|
85
|
-
workEffortId: $workEffortId
|
86
|
-
description: $description
|
87
|
-
) {
|
88
|
-
id
|
89
|
-
createdStamp
|
90
|
-
updatedStamp
|
91
|
-
createdBy
|
92
|
-
updatedBy
|
93
|
-
name
|
94
|
-
partyId
|
95
|
-
targetId
|
96
|
-
targetType
|
97
|
-
targetUrl
|
98
|
-
description
|
99
|
-
status
|
100
|
-
parentId
|
101
|
-
workEffortTypeId
|
102
|
-
stmId
|
103
|
-
workflowId
|
104
|
-
endDateExpect
|
105
|
-
endDateActual
|
106
|
-
startDateActual
|
107
|
-
startDateExpect
|
108
|
-
source
|
109
|
-
ownerId
|
110
|
-
priorityName
|
111
|
-
priorityValue
|
112
|
-
extSource
|
113
|
-
extSourceTopicId
|
114
|
-
extSourceSocialAppId
|
115
|
-
extSourceSupportChannelType
|
116
|
-
extSourceSocialChannelType
|
117
|
-
extSourceSocialAppName
|
118
|
-
extSourceTopicUrl
|
119
|
-
connectorId
|
120
|
-
mode
|
121
|
-
partyGroupIds
|
122
|
-
tagIds
|
123
|
-
processResult
|
124
|
-
}
|
125
|
-
}
|
77
|
+
exports.UPDATE_WORK_EFFORT_DESCRIPTION = (0, graphql_tag_1.gql) `
|
78
|
+
mutation UpdateWorkEffortDescription(
|
79
|
+
$performerId: String!
|
80
|
+
$workEffortId: String!
|
81
|
+
$description: String!
|
82
|
+
) {
|
83
|
+
updateWorkEffortDescription(
|
84
|
+
performerId: $performerId
|
85
|
+
workEffortId: $workEffortId
|
86
|
+
description: $description
|
87
|
+
) {
|
88
|
+
id
|
89
|
+
createdStamp
|
90
|
+
updatedStamp
|
91
|
+
createdBy
|
92
|
+
updatedBy
|
93
|
+
name
|
94
|
+
partyId
|
95
|
+
targetId
|
96
|
+
targetType
|
97
|
+
targetUrl
|
98
|
+
description
|
99
|
+
status
|
100
|
+
parentId
|
101
|
+
workEffortTypeId
|
102
|
+
stmId
|
103
|
+
workflowId
|
104
|
+
endDateExpect
|
105
|
+
endDateActual
|
106
|
+
startDateActual
|
107
|
+
startDateExpect
|
108
|
+
source
|
109
|
+
ownerId
|
110
|
+
priorityName
|
111
|
+
priorityValue
|
112
|
+
extSource
|
113
|
+
extSourceTopicId
|
114
|
+
extSourceSocialAppId
|
115
|
+
extSourceSupportChannelType
|
116
|
+
extSourceSocialChannelType
|
117
|
+
extSourceSocialAppName
|
118
|
+
extSourceTopicUrl
|
119
|
+
connectorId
|
120
|
+
mode
|
121
|
+
partyGroupIds
|
122
|
+
tagIds
|
123
|
+
processResult
|
124
|
+
}
|
125
|
+
}
|
126
126
|
`;
|
127
|
-
exports.UPDATE_WORK_EFFORT_NAME = (0, graphql_tag_1.gql) `
|
128
|
-
mutation UpdateWorkEffortName(
|
129
|
-
$partyId: String!
|
130
|
-
$performerId: String!
|
131
|
-
$workEffortId: String!
|
132
|
-
$newName: String!
|
133
|
-
) {
|
134
|
-
updateWorkEffortName(
|
135
|
-
partyId: $partyId
|
136
|
-
performerId: $performerId
|
137
|
-
workEffortId: $workEffortId
|
138
|
-
newName: $newName
|
139
|
-
) {
|
140
|
-
id
|
141
|
-
createdStamp
|
142
|
-
updatedStamp
|
143
|
-
createdBy
|
144
|
-
updatedBy
|
145
|
-
name
|
146
|
-
partyId
|
147
|
-
targetId
|
148
|
-
targetType
|
149
|
-
targetUrl
|
150
|
-
description
|
151
|
-
status
|
152
|
-
parentId
|
153
|
-
workEffortTypeId
|
154
|
-
stmId
|
155
|
-
workflowId
|
156
|
-
endDateExpect
|
157
|
-
endDateActual
|
158
|
-
startDateActual
|
159
|
-
startDateExpect
|
160
|
-
source
|
161
|
-
ownerId
|
162
|
-
priorityName
|
163
|
-
priorityValue
|
164
|
-
extSource
|
165
|
-
extSourceTopicId
|
166
|
-
extSourceSocialAppId
|
167
|
-
extSourceSupportChannelType
|
168
|
-
extSourceSocialChannelType
|
169
|
-
extSourceSocialAppName
|
170
|
-
extSourceTopicUrl
|
171
|
-
connectorId
|
172
|
-
mode
|
173
|
-
partyGroupIds
|
174
|
-
tagIds
|
175
|
-
processResult
|
176
|
-
}
|
177
|
-
}
|
127
|
+
exports.UPDATE_WORK_EFFORT_NAME = (0, graphql_tag_1.gql) `
|
128
|
+
mutation UpdateWorkEffortName(
|
129
|
+
$partyId: String!
|
130
|
+
$performerId: String!
|
131
|
+
$workEffortId: String!
|
132
|
+
$newName: String!
|
133
|
+
) {
|
134
|
+
updateWorkEffortName(
|
135
|
+
partyId: $partyId
|
136
|
+
performerId: $performerId
|
137
|
+
workEffortId: $workEffortId
|
138
|
+
newName: $newName
|
139
|
+
) {
|
140
|
+
id
|
141
|
+
createdStamp
|
142
|
+
updatedStamp
|
143
|
+
createdBy
|
144
|
+
updatedBy
|
145
|
+
name
|
146
|
+
partyId
|
147
|
+
targetId
|
148
|
+
targetType
|
149
|
+
targetUrl
|
150
|
+
description
|
151
|
+
status
|
152
|
+
parentId
|
153
|
+
workEffortTypeId
|
154
|
+
stmId
|
155
|
+
workflowId
|
156
|
+
endDateExpect
|
157
|
+
endDateActual
|
158
|
+
startDateActual
|
159
|
+
startDateExpect
|
160
|
+
source
|
161
|
+
ownerId
|
162
|
+
priorityName
|
163
|
+
priorityValue
|
164
|
+
extSource
|
165
|
+
extSourceTopicId
|
166
|
+
extSourceSocialAppId
|
167
|
+
extSourceSupportChannelType
|
168
|
+
extSourceSocialChannelType
|
169
|
+
extSourceSocialAppName
|
170
|
+
extSourceTopicUrl
|
171
|
+
connectorId
|
172
|
+
mode
|
173
|
+
partyGroupIds
|
174
|
+
tagIds
|
175
|
+
processResult
|
176
|
+
}
|
177
|
+
}
|
178
178
|
`;
|
179
|
-
exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
|
180
|
-
mutation UpdateWorkEffortStatus(
|
181
|
-
$partyId: String!
|
182
|
-
$performerId: String!
|
183
|
-
$workEffortId: String!
|
184
|
-
$source: String!
|
185
|
-
$status: String!
|
186
|
-
) {
|
187
|
-
updateWorkEffortStatus(
|
188
|
-
partyId: $partyId
|
189
|
-
performerId: $performerId
|
190
|
-
workEffortId: $workEffortId
|
191
|
-
source: $source
|
192
|
-
status: $status
|
193
|
-
) {
|
194
|
-
id
|
195
|
-
createdStamp
|
196
|
-
updatedStamp
|
197
|
-
createdBy
|
198
|
-
updatedBy
|
199
|
-
name
|
200
|
-
partyId
|
201
|
-
targetId
|
202
|
-
targetType
|
203
|
-
targetUrl
|
204
|
-
description
|
205
|
-
status
|
206
|
-
parentId
|
207
|
-
workEffortTypeId
|
208
|
-
stmId
|
209
|
-
workflowId
|
210
|
-
endDateExpect
|
211
|
-
endDateActual
|
212
|
-
startDateActual
|
213
|
-
startDateExpect
|
214
|
-
source
|
215
|
-
ownerId
|
216
|
-
priorityName
|
217
|
-
priorityValue
|
218
|
-
extSource
|
219
|
-
extSourceTopicId
|
220
|
-
extSourceSocialAppId
|
221
|
-
extSourceSupportChannelType
|
222
|
-
extSourceSocialChannelType
|
223
|
-
extSourceSocialAppName
|
224
|
-
extSourceTopicUrl
|
225
|
-
connectorId
|
226
|
-
mode
|
227
|
-
partyGroupIds
|
228
|
-
tagIds
|
229
|
-
processResult
|
230
|
-
}
|
231
|
-
}
|
179
|
+
exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
|
180
|
+
mutation UpdateWorkEffortStatus(
|
181
|
+
$partyId: String!
|
182
|
+
$performerId: String!
|
183
|
+
$workEffortId: String!
|
184
|
+
$source: String!
|
185
|
+
$status: String!
|
186
|
+
) {
|
187
|
+
updateWorkEffortStatus(
|
188
|
+
partyId: $partyId
|
189
|
+
performerId: $performerId
|
190
|
+
workEffortId: $workEffortId
|
191
|
+
source: $source
|
192
|
+
status: $status
|
193
|
+
) {
|
194
|
+
id
|
195
|
+
createdStamp
|
196
|
+
updatedStamp
|
197
|
+
createdBy
|
198
|
+
updatedBy
|
199
|
+
name
|
200
|
+
partyId
|
201
|
+
targetId
|
202
|
+
targetType
|
203
|
+
targetUrl
|
204
|
+
description
|
205
|
+
status
|
206
|
+
parentId
|
207
|
+
workEffortTypeId
|
208
|
+
stmId
|
209
|
+
workflowId
|
210
|
+
endDateExpect
|
211
|
+
endDateActual
|
212
|
+
startDateActual
|
213
|
+
startDateExpect
|
214
|
+
source
|
215
|
+
ownerId
|
216
|
+
priorityName
|
217
|
+
priorityValue
|
218
|
+
extSource
|
219
|
+
extSourceTopicId
|
220
|
+
extSourceSocialAppId
|
221
|
+
extSourceSupportChannelType
|
222
|
+
extSourceSocialChannelType
|
223
|
+
extSourceSocialAppName
|
224
|
+
extSourceTopicUrl
|
225
|
+
connectorId
|
226
|
+
mode
|
227
|
+
partyGroupIds
|
228
|
+
tagIds
|
229
|
+
processResult
|
230
|
+
}
|
231
|
+
}
|
232
232
|
`;
|
233
|
-
exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
|
234
|
-
mutation (
|
235
|
-
$partyId: String!
|
236
|
-
$performerId: String!
|
237
|
-
$workEffortId: String!
|
238
|
-
$attachments: [AddAttachmentRequest]
|
239
|
-
) {
|
240
|
-
addAttachmentForWorkEffort(
|
241
|
-
partyId: $partyId
|
242
|
-
performerId: $performerId
|
243
|
-
workEffortId: $workEffortId
|
244
|
-
addAttachmentRequest: $attachments
|
245
|
-
) {
|
246
|
-
id
|
247
|
-
createdStamp
|
248
|
-
updatedStamp
|
249
|
-
updatedBy
|
250
|
-
createdBy
|
251
|
-
partyId
|
252
|
-
path
|
253
|
-
srcId
|
254
|
-
srcName
|
255
|
-
srcPath
|
256
|
-
srcConfigPathId
|
257
|
-
name
|
258
|
-
fileType
|
259
|
-
type
|
260
|
-
referId
|
261
|
-
}
|
262
|
-
}
|
233
|
+
exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
|
234
|
+
mutation (
|
235
|
+
$partyId: String!
|
236
|
+
$performerId: String!
|
237
|
+
$workEffortId: String!
|
238
|
+
$attachments: [AddAttachmentRequest]
|
239
|
+
) {
|
240
|
+
addAttachmentForWorkEffort(
|
241
|
+
partyId: $partyId
|
242
|
+
performerId: $performerId
|
243
|
+
workEffortId: $workEffortId
|
244
|
+
addAttachmentRequest: $attachments
|
245
|
+
) {
|
246
|
+
id
|
247
|
+
createdStamp
|
248
|
+
updatedStamp
|
249
|
+
updatedBy
|
250
|
+
createdBy
|
251
|
+
partyId
|
252
|
+
path
|
253
|
+
srcId
|
254
|
+
srcName
|
255
|
+
srcPath
|
256
|
+
srcConfigPathId
|
257
|
+
name
|
258
|
+
fileType
|
259
|
+
type
|
260
|
+
referId
|
261
|
+
}
|
262
|
+
}
|
263
263
|
`;
|
264
|
-
exports.ADD_TICKED = (0, graphql_tag_1.gql) `
|
265
|
-
mutation AddTicket(
|
266
|
-
$partyId: String!
|
267
|
-
$performerId: String!
|
268
|
-
$addTicketRequest: AddTicketRequest!
|
269
|
-
$addAttachmentRequest: [AddAttachmentRequest]
|
270
|
-
) {
|
271
|
-
addTicket(
|
272
|
-
partyId: $partyId
|
273
|
-
performerId: $performerId
|
274
|
-
addTicketRequest: $addTicketRequest
|
275
|
-
addAttachmentRequest: $addAttachmentRequest
|
276
|
-
) {
|
277
|
-
id
|
278
|
-
partyId
|
279
|
-
name
|
280
|
-
description
|
281
|
-
status
|
282
|
-
parentId
|
283
|
-
stmId
|
284
|
-
createdStamp
|
285
|
-
updatedStamp
|
286
|
-
endDateExpect
|
287
|
-
priorityName
|
288
|
-
targetId
|
289
|
-
targetType
|
290
|
-
extSource
|
291
|
-
connectorId
|
292
|
-
}
|
293
|
-
}
|
264
|
+
exports.ADD_TICKED = (0, graphql_tag_1.gql) `
|
265
|
+
mutation AddTicket(
|
266
|
+
$partyId: String!
|
267
|
+
$performerId: String!
|
268
|
+
$addTicketRequest: AddTicketRequest!
|
269
|
+
$addAttachmentRequest: [AddAttachmentRequest]
|
270
|
+
) {
|
271
|
+
addTicket(
|
272
|
+
partyId: $partyId
|
273
|
+
performerId: $performerId
|
274
|
+
addTicketRequest: $addTicketRequest
|
275
|
+
addAttachmentRequest: $addAttachmentRequest
|
276
|
+
) {
|
277
|
+
id
|
278
|
+
partyId
|
279
|
+
name
|
280
|
+
description
|
281
|
+
status
|
282
|
+
parentId
|
283
|
+
stmId
|
284
|
+
createdStamp
|
285
|
+
updatedStamp
|
286
|
+
endDateExpect
|
287
|
+
priorityName
|
288
|
+
targetId
|
289
|
+
targetType
|
290
|
+
extSource
|
291
|
+
connectorId
|
292
|
+
}
|
293
|
+
}
|
294
294
|
`;
|
295
|
-
exports.ADD_COMMENT = (0, graphql_tag_1.gql) `
|
296
|
-
mutation AddComment(
|
297
|
-
$partyId: String!
|
298
|
-
$performerId: String!
|
299
|
-
$format: CommentFormat!
|
300
|
-
$content: String
|
301
|
-
$referId: String!
|
302
|
-
$addAttachmentRequest: [AddAttachmentRequest]
|
303
|
-
) {
|
304
|
-
addComment(
|
305
|
-
partyId: $partyId
|
306
|
-
performerId: $performerId
|
307
|
-
format: $format
|
308
|
-
content: $content
|
309
|
-
referId: $referId
|
310
|
-
addAttachmentRequest: $addAttachmentRequest
|
311
|
-
) {
|
312
|
-
id
|
313
|
-
content
|
314
|
-
}
|
315
|
-
}
|
295
|
+
exports.ADD_COMMENT = (0, graphql_tag_1.gql) `
|
296
|
+
mutation AddComment(
|
297
|
+
$partyId: String!
|
298
|
+
$performerId: String!
|
299
|
+
$format: CommentFormat!
|
300
|
+
$content: String
|
301
|
+
$referId: String!
|
302
|
+
$addAttachmentRequest: [AddAttachmentRequest]
|
303
|
+
) {
|
304
|
+
addComment(
|
305
|
+
partyId: $partyId
|
306
|
+
performerId: $performerId
|
307
|
+
format: $format
|
308
|
+
content: $content
|
309
|
+
referId: $referId
|
310
|
+
addAttachmentRequest: $addAttachmentRequest
|
311
|
+
) {
|
312
|
+
id
|
313
|
+
content
|
314
|
+
}
|
315
|
+
}
|
316
316
|
`;
|
317
|
-
exports.CREATE_RESUME = (0, graphql_tag_1.gql) `
|
318
|
-
mutation CreateResume(
|
319
|
-
$name: String
|
320
|
-
$customerId: String!
|
321
|
-
$domain: String
|
322
|
-
$resumeTemplateId: String!
|
323
|
-
$partyId: String!
|
324
|
-
$createdBy: String!
|
325
|
-
) {
|
326
|
-
createResume(
|
327
|
-
name: $name
|
328
|
-
customerId: $customerId
|
329
|
-
domain: $domain
|
330
|
-
resumeTemplateId: $resumeTemplateId
|
331
|
-
partyId: $partyId
|
332
|
-
createdBy: $createdBy
|
333
|
-
)
|
334
|
-
}
|
317
|
+
exports.CREATE_RESUME = (0, graphql_tag_1.gql) `
|
318
|
+
mutation CreateResume(
|
319
|
+
$name: String
|
320
|
+
$customerId: String!
|
321
|
+
$domain: String
|
322
|
+
$resumeTemplateId: String!
|
323
|
+
$partyId: String!
|
324
|
+
$createdBy: String!
|
325
|
+
) {
|
326
|
+
createResume(
|
327
|
+
name: $name
|
328
|
+
customerId: $customerId
|
329
|
+
domain: $domain
|
330
|
+
resumeTemplateId: $resumeTemplateId
|
331
|
+
partyId: $partyId
|
332
|
+
createdBy: $createdBy
|
333
|
+
)
|
334
|
+
}
|
335
335
|
`;
|
336
|
-
exports.UPDATE_RESUME_CONTACT = (0, graphql_tag_1.gql) `
|
337
|
-
mutation UpdateResumeContact(
|
338
|
-
$resumeId: String
|
339
|
-
$contactType: String
|
340
|
-
$updateResumeContact: UpdateResumeContact
|
341
|
-
$updatedBy: String
|
342
|
-
) {
|
343
|
-
updateResumeContact(
|
344
|
-
resumeId: $resumeId
|
345
|
-
contactType: $contactType
|
346
|
-
updateResumeContact: $updateResumeContact
|
347
|
-
updatedBy: $updatedBy
|
348
|
-
)
|
349
|
-
}
|
336
|
+
exports.UPDATE_RESUME_CONTACT = (0, graphql_tag_1.gql) `
|
337
|
+
mutation UpdateResumeContact(
|
338
|
+
$resumeId: String
|
339
|
+
$contactType: String
|
340
|
+
$updateResumeContact: UpdateResumeContact
|
341
|
+
$updatedBy: String
|
342
|
+
) {
|
343
|
+
updateResumeContact(
|
344
|
+
resumeId: $resumeId
|
345
|
+
contactType: $contactType
|
346
|
+
updateResumeContact: $updateResumeContact
|
347
|
+
updatedBy: $updatedBy
|
348
|
+
)
|
349
|
+
}
|
350
350
|
`;
|
351
|
-
exports.LINKING_RESUME_SERVICE = (0, graphql_tag_1.gql) `
|
352
|
-
mutation LinkingResumeService(
|
353
|
-
$resumeId: String
|
354
|
-
$serviceId: String
|
355
|
-
$linkedBy: String
|
356
|
-
) {
|
357
|
-
linkingResumeService(
|
358
|
-
resumeId: $resumeId
|
359
|
-
serviceId: $serviceId
|
360
|
-
linkedBy: $linkedBy
|
361
|
-
)
|
362
|
-
}
|
351
|
+
exports.LINKING_RESUME_SERVICE = (0, graphql_tag_1.gql) `
|
352
|
+
mutation LinkingResumeService(
|
353
|
+
$resumeId: String
|
354
|
+
$serviceId: String
|
355
|
+
$linkedBy: String
|
356
|
+
) {
|
357
|
+
linkingResumeService(
|
358
|
+
resumeId: $resumeId
|
359
|
+
serviceId: $serviceId
|
360
|
+
linkedBy: $linkedBy
|
361
|
+
)
|
362
|
+
}
|
363
363
|
`;
|
364
|
-
exports.CLONE_RESUME = (0, graphql_tag_1.gql) `
|
365
|
-
mutation CloneResume(
|
366
|
-
$resumeOriginalId: String
|
367
|
-
$domain: String
|
368
|
-
$createdBy: String
|
369
|
-
) {
|
370
|
-
cloneResume(
|
371
|
-
resumeOriginalId: $resumeOriginalId
|
372
|
-
domain: $domain
|
373
|
-
createdBy: $createdBy
|
374
|
-
)
|
375
|
-
}
|
364
|
+
exports.CLONE_RESUME = (0, graphql_tag_1.gql) `
|
365
|
+
mutation CloneResume(
|
366
|
+
$resumeOriginalId: String
|
367
|
+
$domain: String
|
368
|
+
$createdBy: String
|
369
|
+
) {
|
370
|
+
cloneResume(
|
371
|
+
resumeOriginalId: $resumeOriginalId
|
372
|
+
domain: $domain
|
373
|
+
createdBy: $createdBy
|
374
|
+
)
|
375
|
+
}
|
376
376
|
`;
|
377
|
-
exports.LINKING_RESUME_DOMAIN_AND_CONTACT = (0, graphql_tag_1.gql) `
|
378
|
-
mutation CloneResume(
|
379
|
-
$resumeDomainId: String
|
380
|
-
$resumeContactId: String
|
381
|
-
$contactType: String
|
382
|
-
$linkedBy: String
|
383
|
-
) {
|
384
|
-
linkingResumeDomainAndContact(
|
385
|
-
resumeDomainId: $resumeDomainId
|
386
|
-
resumeContactId: $resumeContactId
|
387
|
-
contactType: $contactType
|
388
|
-
linkedBy: $linkedBy
|
389
|
-
)
|
390
|
-
}
|
377
|
+
exports.LINKING_RESUME_DOMAIN_AND_CONTACT = (0, graphql_tag_1.gql) `
|
378
|
+
mutation CloneResume(
|
379
|
+
$resumeDomainId: String
|
380
|
+
$resumeContactId: String
|
381
|
+
$contactType: String
|
382
|
+
$linkedBy: String
|
383
|
+
) {
|
384
|
+
linkingResumeDomainAndContact(
|
385
|
+
resumeDomainId: $resumeDomainId
|
386
|
+
resumeContactId: $resumeContactId
|
387
|
+
contactType: $contactType
|
388
|
+
linkedBy: $linkedBy
|
389
|
+
)
|
390
|
+
}
|
391
|
+
`;
|
392
|
+
exports.ADD_RESOURCE_RELATED = (0, graphql_tag_1.gql) `
|
393
|
+
mutation AddResourceRelated(
|
394
|
+
$fromId: String!
|
395
|
+
$fromResourceType: String!
|
396
|
+
$toIds: [String]!
|
397
|
+
$toResourceType: String!
|
398
|
+
$createdBy: String!
|
399
|
+
) {
|
400
|
+
addResourceRelated(
|
401
|
+
fromId: $fromId
|
402
|
+
fromResourceType: $fromResourceType
|
403
|
+
toIds: $toIds
|
404
|
+
toResourceType: $toResourceType
|
405
|
+
createdBy: $createdBy
|
406
|
+
)
|
407
|
+
}
|
391
408
|
`;
|