@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.
- package/README.md +93 -93
- package/dist/src/graphql/auth/mutations.js +88 -88
- package/dist/src/graphql/auth/queries.js +20 -20
- package/dist/src/graphql/campaign/queries.js +84 -84
- package/dist/src/graphql/cloud/mutations.js +103 -103
- package/dist/src/graphql/cloud/queries.js +112 -112
- package/dist/src/graphql/computing/mutations.js +96 -96
- package/dist/src/graphql/computing/queries.js +41 -41
- package/dist/src/graphql/crm/mutations.js +327 -327
- package/dist/src/graphql/crm/queries.js +390 -390
- package/dist/src/graphql/payment/mutations.js +37 -32
- package/dist/src/graphql/payment/queries.js +38 -38
- package/dist/src/graphql/product/queries.d.ts +1 -0
- package/dist/src/graphql/product/queries.js +344 -339
- package/dist/src/graphql/service/mutations.js +304 -304
- package/dist/src/graphql/service/queries.js +131 -131
- package/dist/src/graphql/user/mutations.js +110 -110
- package/dist/src/graphql/user/queries.js +235 -235
- package/dist/src/lib/product/index.d.ts +1 -0
- package/dist/src/lib/product/index.js +14 -0
- package/dist/src/lib/serviceSDK.js +8 -8
- package/package.json +43 -43
|
@@ -2,339 +2,339 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CREATE_WORK_EFFORT = 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: AttachmentStatus!
|
|
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: AttachmentStatus!
|
|
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_WORK_EFFORT = (0, graphql_tag_1.gql) `
|
|
318
|
-
mutation CreateWorkEffort(
|
|
319
|
-
$partnerId: String!
|
|
320
|
-
$createdBy: String!
|
|
321
|
-
$name: String
|
|
322
|
-
$workEffortTypeId: String!
|
|
323
|
-
$source: String!
|
|
324
|
-
$attributes: JSON
|
|
325
|
-
$addAttachmentRequest: [AddAttachmentRequest]
|
|
326
|
-
) {
|
|
327
|
-
createWorkEffort(
|
|
328
|
-
partnerId: $partnerId
|
|
329
|
-
createdBy: $createdBy
|
|
330
|
-
name:$name
|
|
331
|
-
workEffortTypeId: $workEffortTypeId
|
|
332
|
-
source: $source
|
|
333
|
-
attributes: $attributes
|
|
334
|
-
addAttachmentRequest: $addAttachmentRequest
|
|
335
|
-
) {
|
|
336
|
-
workEffortTypeId
|
|
337
|
-
id
|
|
338
|
-
}
|
|
339
|
-
}
|
|
317
|
+
exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
|
|
318
|
+
mutation CreateWorkEffort(
|
|
319
|
+
$partnerId: String!
|
|
320
|
+
$createdBy: String!
|
|
321
|
+
$name: String
|
|
322
|
+
$workEffortTypeId: String!
|
|
323
|
+
$source: String!
|
|
324
|
+
$attributes: JSON
|
|
325
|
+
$addAttachmentRequest: [AddAttachmentRequest]
|
|
326
|
+
) {
|
|
327
|
+
createWorkEffort(
|
|
328
|
+
partnerId: $partnerId
|
|
329
|
+
createdBy: $createdBy
|
|
330
|
+
name:$name
|
|
331
|
+
workEffortTypeId: $workEffortTypeId
|
|
332
|
+
source: $source
|
|
333
|
+
attributes: $attributes
|
|
334
|
+
addAttachmentRequest: $addAttachmentRequest
|
|
335
|
+
) {
|
|
336
|
+
workEffortTypeId
|
|
337
|
+
id
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
340
|
`;
|