@longvansoftware/storefront-js-client 3.0.7 → 3.0.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.
Files changed (36) hide show
  1. package/README.md +221 -221
  2. package/dist/src/graphql/auth/mutations.js +191 -191
  3. package/dist/src/graphql/auth/queries.js +59 -59
  4. package/dist/src/graphql/campaign/mutations.js +26 -26
  5. package/dist/src/graphql/campaign/queries.js +375 -375
  6. package/dist/src/graphql/cashbook/queries.js +93 -93
  7. package/dist/src/graphql/cloud/mutations.js +103 -103
  8. package/dist/src/graphql/cloud/queries.js +112 -112
  9. package/dist/src/graphql/computing/mutations.js +96 -96
  10. package/dist/src/graphql/computing/queries.js +41 -41
  11. package/dist/src/graphql/crm/mutations.js +813 -813
  12. package/dist/src/graphql/crm/queries.js +661 -661
  13. package/dist/src/graphql/payment/mutations.js +146 -146
  14. package/dist/src/graphql/payment/queries.js +116 -116
  15. package/dist/src/graphql/paymentV2/mutations.js +47 -47
  16. package/dist/src/graphql/paymentV2/queries.js +176 -176
  17. package/dist/src/graphql/product/mutations.js +94 -94
  18. package/dist/src/graphql/product/queries.js +472 -472
  19. package/dist/src/graphql/service/mutations.js +304 -304
  20. package/dist/src/graphql/service/queries.js +131 -131
  21. package/dist/src/graphql/store/mutations.js +24 -24
  22. package/dist/src/graphql/store/queries.js +24 -24
  23. package/dist/src/graphql/user/mutations.js +142 -142
  24. package/dist/src/graphql/user/queries.js +298 -298
  25. package/dist/src/lib/auth/index.d.ts +1 -1
  26. package/dist/src/lib/auth/index.js +1 -1
  27. package/dist/src/lib/serviceSDK.js +12 -12
  28. package/package.json +44 -43
  29. package/dist/src/graphql/fragments/product.d.ts +0 -38
  30. package/dist/src/graphql/fragments/product.js +0 -196
  31. package/dist/src/lib/shareZalo/index.d.ts +0 -5
  32. package/dist/src/lib/shareZalo/index.js +0 -32
  33. package/dist/src/types/common.d.ts +0 -264
  34. package/dist/src/types/common.js +0 -35
  35. package/dist/src/utils/errorHandler.d.ts +0 -64
  36. package/dist/src/utils/errorHandler.js +0 -197
@@ -2,833 +2,833 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ADD_TOPIC_RELATED_RESOURCE = exports.CREATE_TOPIC = exports.CLOSE_TOPIC = exports.REMOVE_TAG = exports.UPDATE_CONNECTOR_DESCRIPTION = exports.ADD_TAG = exports.CREATE_CONNECTOR = exports.UPDATE_WORK_EFFORT_PROCESS_STATUS = 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
- owner {
110
- id
111
- fullName
112
- name
113
- type
114
- phone
115
- email
116
- }
117
- priorityName
118
- priorityValue
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
+ owner {
110
+ id
111
+ fullName
112
+ name
113
+ type
114
+ phone
115
+ email
116
+ }
117
+ priorityName
118
+ priorityValue
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
- owner {
162
- id
163
- fullName
164
- name
165
- type
166
- phone
167
- email
168
- }
169
- priorityName
170
- priorityValue
171
- connectorId
172
- mode
173
- partyGroupIds
174
- tagIds
175
- processResult
176
- processPipeline {
177
- id
178
- name
179
- }
180
- attachments {
181
- id
182
- createdStamp
183
- updatedStamp
184
- updatedBy
185
- createdBy
186
- partyId
187
- path
188
- srcId
189
- srcName
190
- srcPath
191
- srcConfigPathId
192
- name
193
- fileType
194
- type
195
- status
196
- referId
197
- }
198
- subTasks {
199
- id
200
- createdStamp
201
- updatedStamp
202
- createdBy
203
- updatedBy
204
- name
205
- partyId
206
- targetId
207
- targetType
208
- targetUrl
209
- description
210
- status
211
- parentId
212
- workEffortTypeId
213
- stmId
214
- workflowId
215
- endDateExpect
216
- endDateActual
217
- startDateActual
218
- startDateExpect
219
- source
220
- owner {
221
- id
222
- fullName
223
- name
224
- type
225
- phone
226
- email
227
- }
228
- priorityName
229
- priorityValue
230
- connectorId
231
- mode
232
- partyGroupIds
233
- tagIds
234
- processResult
235
- }
236
- actionLink {
237
- name
238
- uri
239
- type
240
- partyId
241
- fromCollection
242
- toCollection
243
- group
244
- params
245
- id
246
- createdStamp
247
- updatedStamp
248
- updatedBy
249
- createdBy
250
- }
251
- }
252
- }
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
+ owner {
162
+ id
163
+ fullName
164
+ name
165
+ type
166
+ phone
167
+ email
168
+ }
169
+ priorityName
170
+ priorityValue
171
+ connectorId
172
+ mode
173
+ partyGroupIds
174
+ tagIds
175
+ processResult
176
+ processPipeline {
177
+ id
178
+ name
179
+ }
180
+ attachments {
181
+ id
182
+ createdStamp
183
+ updatedStamp
184
+ updatedBy
185
+ createdBy
186
+ partyId
187
+ path
188
+ srcId
189
+ srcName
190
+ srcPath
191
+ srcConfigPathId
192
+ name
193
+ fileType
194
+ type
195
+ status
196
+ referId
197
+ }
198
+ subTasks {
199
+ id
200
+ createdStamp
201
+ updatedStamp
202
+ createdBy
203
+ updatedBy
204
+ name
205
+ partyId
206
+ targetId
207
+ targetType
208
+ targetUrl
209
+ description
210
+ status
211
+ parentId
212
+ workEffortTypeId
213
+ stmId
214
+ workflowId
215
+ endDateExpect
216
+ endDateActual
217
+ startDateActual
218
+ startDateExpect
219
+ source
220
+ owner {
221
+ id
222
+ fullName
223
+ name
224
+ type
225
+ phone
226
+ email
227
+ }
228
+ priorityName
229
+ priorityValue
230
+ connectorId
231
+ mode
232
+ partyGroupIds
233
+ tagIds
234
+ processResult
235
+ }
236
+ actionLink {
237
+ name
238
+ uri
239
+ type
240
+ partyId
241
+ fromCollection
242
+ toCollection
243
+ group
244
+ params
245
+ id
246
+ createdStamp
247
+ updatedStamp
248
+ updatedBy
249
+ createdBy
250
+ }
251
+ }
252
+ }
253
253
  `;
254
- exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
255
- mutation UpdateWorkEffortStatus(
256
- $partyId: String!
257
- $performerId: String!
258
- $workEffortId: String!
259
- $source: String!
260
- $status: String!
261
- ) {
262
- updateWorkEffortStatus(
263
- partyId: $partyId
264
- performerId: $performerId
265
- workEffortId: $workEffortId
266
- source: $source
267
- status: $status
268
- ) {
269
- id
270
- createdStamp
271
- updatedStamp
272
- createdBy
273
- updatedBy
274
- name
275
- partyId
276
- targetId
277
- targetType
278
- targetUrl
279
- description
280
- status
281
- parentId
282
- workEffortTypeId
283
- stmId
284
- workflowId
285
- endDateExpect
286
- endDateActual
287
- startDateActual
288
- startDateExpect
289
- source
290
- owner {
291
- id
292
- fullName
293
- name
294
- type
295
- phone
296
- email
297
- }
298
- priorityName
299
- priorityValue
300
- extSource
301
- extSourceTopicId
302
- extSourceSocialAppId
303
- extSourceSupportChannelType
304
- extSourceSocialChannelType
305
- extSourceSocialAppName
306
- extSourceTopicUrl
307
- connectorId
308
- mode
309
- partyGroupIds
310
- tagIds
311
- processResult
312
- }
313
- }
254
+ exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
255
+ mutation UpdateWorkEffortStatus(
256
+ $partyId: String!
257
+ $performerId: String!
258
+ $workEffortId: String!
259
+ $source: String!
260
+ $status: String!
261
+ ) {
262
+ updateWorkEffortStatus(
263
+ partyId: $partyId
264
+ performerId: $performerId
265
+ workEffortId: $workEffortId
266
+ source: $source
267
+ status: $status
268
+ ) {
269
+ id
270
+ createdStamp
271
+ updatedStamp
272
+ createdBy
273
+ updatedBy
274
+ name
275
+ partyId
276
+ targetId
277
+ targetType
278
+ targetUrl
279
+ description
280
+ status
281
+ parentId
282
+ workEffortTypeId
283
+ stmId
284
+ workflowId
285
+ endDateExpect
286
+ endDateActual
287
+ startDateActual
288
+ startDateExpect
289
+ source
290
+ owner {
291
+ id
292
+ fullName
293
+ name
294
+ type
295
+ phone
296
+ email
297
+ }
298
+ priorityName
299
+ priorityValue
300
+ extSource
301
+ extSourceTopicId
302
+ extSourceSocialAppId
303
+ extSourceSupportChannelType
304
+ extSourceSocialChannelType
305
+ extSourceSocialAppName
306
+ extSourceTopicUrl
307
+ connectorId
308
+ mode
309
+ partyGroupIds
310
+ tagIds
311
+ processResult
312
+ }
313
+ }
314
314
  `;
315
- exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
316
- mutation (
317
- $partyId: String!
318
- $performerId: String!
319
- $workEffortId: String!
320
- $addAttachmentRequest: [AddAttachmentRequest]
321
- ) {
322
- addAttachmentForWorkEffort(
323
- partyId: $partyId
324
- performerId: $performerId
325
- workEffortId: $workEffortId
326
- addAttachmentRequest: $addAttachmentRequest
327
- ) {
328
- id
329
- createdStamp
330
- updatedStamp
331
- updatedBy
332
- createdBy
333
- partyId
334
- path
335
- srcId
336
- srcName
337
- srcPath
338
- srcConfigPathId
339
- name
340
- fileType
341
- type
342
- referId
343
- }
344
- }
315
+ exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
316
+ mutation (
317
+ $partyId: String!
318
+ $performerId: String!
319
+ $workEffortId: String!
320
+ $addAttachmentRequest: [AddAttachmentRequest]
321
+ ) {
322
+ addAttachmentForWorkEffort(
323
+ partyId: $partyId
324
+ performerId: $performerId
325
+ workEffortId: $workEffortId
326
+ addAttachmentRequest: $addAttachmentRequest
327
+ ) {
328
+ id
329
+ createdStamp
330
+ updatedStamp
331
+ updatedBy
332
+ createdBy
333
+ partyId
334
+ path
335
+ srcId
336
+ srcName
337
+ srcPath
338
+ srcConfigPathId
339
+ name
340
+ fileType
341
+ type
342
+ referId
343
+ }
344
+ }
345
345
  `;
346
- exports.ADD_TICKED = (0, graphql_tag_1.gql) `
347
- mutation AddTicket(
348
- $partyId: String!
349
- $performerId: String!
350
- $addTicketRequest: AddTicketRequest!
351
- $addAttachmentRequest: [AddAttachmentRequest]
352
- ) {
353
- addTicket(
354
- partyId: $partyId
355
- performerId: $performerId
356
- addTicketRequest: $addTicketRequest
357
- addAttachmentRequest: $addAttachmentRequest
358
- ) {
359
- id
360
- partyId
361
- name
362
- description
363
- status
364
- parentId
365
- stmId
366
- createdStamp
367
- updatedStamp
368
- endDateExpect
369
- priorityName
370
- targetId
371
- targetType
372
- extSource
373
- connectorId
374
- }
375
- }
346
+ exports.ADD_TICKED = (0, graphql_tag_1.gql) `
347
+ mutation AddTicket(
348
+ $partyId: String!
349
+ $performerId: String!
350
+ $addTicketRequest: AddTicketRequest!
351
+ $addAttachmentRequest: [AddAttachmentRequest]
352
+ ) {
353
+ addTicket(
354
+ partyId: $partyId
355
+ performerId: $performerId
356
+ addTicketRequest: $addTicketRequest
357
+ addAttachmentRequest: $addAttachmentRequest
358
+ ) {
359
+ id
360
+ partyId
361
+ name
362
+ description
363
+ status
364
+ parentId
365
+ stmId
366
+ createdStamp
367
+ updatedStamp
368
+ endDateExpect
369
+ priorityName
370
+ targetId
371
+ targetType
372
+ extSource
373
+ connectorId
374
+ }
375
+ }
376
376
  `;
377
- exports.ADD_COMMENT = (0, graphql_tag_1.gql) `
378
- mutation AddComment(
379
- $partyId: String!
380
- $performerId: String!
381
- $format: CommentFormat!
382
- $content: String
383
- $referId: String!
384
- $addAttachmentRequest: [AddAttachmentRequest]
385
- ) {
386
- addComment(
387
- partyId: $partyId
388
- performerId: $performerId
389
- format: $format
390
- content: $content
391
- referId: $referId
392
- addAttachmentRequest: $addAttachmentRequest
393
- ) {
394
- id
395
- content
396
- }
397
- }
377
+ exports.ADD_COMMENT = (0, graphql_tag_1.gql) `
378
+ mutation AddComment(
379
+ $partyId: String!
380
+ $performerId: String!
381
+ $format: CommentFormat!
382
+ $content: String
383
+ $referId: String!
384
+ $addAttachmentRequest: [AddAttachmentRequest]
385
+ ) {
386
+ addComment(
387
+ partyId: $partyId
388
+ performerId: $performerId
389
+ format: $format
390
+ content: $content
391
+ referId: $referId
392
+ addAttachmentRequest: $addAttachmentRequest
393
+ ) {
394
+ id
395
+ content
396
+ }
397
+ }
398
398
  `;
399
- exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
400
- mutation CreateWorkEffort(
401
- $partnerId: String!
402
- $createdBy: String!
403
- $name: String
404
- $description: String
405
- $workEffortTypeId: String!
406
- $source: String!
407
- $attributes: JSON
408
- $addAttachmentRequest: [AddAttachmentRequest]
409
- $parentId: String
410
- ) {
411
- createWorkEffort(
412
- partnerId: $partnerId
413
- createdBy: $createdBy
414
- name: $name
415
- description: $description
416
- workEffortTypeId: $workEffortTypeId
417
- source: $source
418
- attributes: $attributes
419
- addAttachmentRequest: $addAttachmentRequest
420
- parentId: $parentId
421
- ) {
422
- id
423
- createdStamp
424
- updatedStamp
425
- createdBy
426
- updatedBy
427
- name
428
- partyId
429
- targetId
430
- targetType
431
- targetUrl
432
- description
433
- status
434
- parentId
435
- workEffortTypeId
436
- stmId
437
- workflowId
438
- endDateExpect
439
- endDateActual
440
- startDateActual
441
- startDateExpect
442
- source
443
- owner {
444
- id
445
- fullName
446
- name
447
- type
448
- phone
449
- email
450
- }
451
- priorityName
452
- priorityValue
453
- connectorId
454
- mode
455
- partyGroupIds
456
- tagIds
457
- processResult
458
- processStatus
459
- subTasks {
460
- id
461
- createdStamp
462
- updatedStamp
463
- createdBy
464
- updatedBy
465
- name
466
- partyId
467
- targetId
468
- targetType
469
- targetUrl
470
- description
471
- status
472
- parentId
473
- workEffortTypeId
474
- stmId
475
- workflowId
476
- endDateExpect
477
- endDateActual
478
- startDateActual
479
- startDateExpect
480
- source
481
- owner {
482
- id
483
- fullName
484
- name
485
- type
486
- phone
487
- email
488
- }
489
- priorityName
490
- priorityValue
491
- connectorId
492
- mode
493
- partyGroupIds
494
- tagIds
495
- processResult
496
- processStatus
497
- processPipeline {
498
- id
499
- name
500
- }
501
- attachments {
502
- id
503
- createdStamp
504
- updatedStamp
505
- updatedBy
506
- createdBy
507
- partyId
508
- path
509
- srcId
510
- srcName
511
- srcPath
512
- srcConfigPathId
513
- name
514
- fileType
515
- type
516
- status
517
- referId
518
- }
519
- subTasks {
520
- id
521
- createdStamp
522
- updatedStamp
523
- createdBy
524
- updatedBy
525
- name
526
- partyId
527
- targetId
528
- targetType
529
- targetUrl
530
- description
531
- status
532
- parentId
533
- workEffortTypeId
534
- stmId
535
- workflowId
536
- endDateExpect
537
- endDateActual
538
- startDateActual
539
- startDateExpect
540
- source
541
- owner {
542
- id
543
- fullName
544
- name
545
- type
546
- phone
547
- email
548
- }
549
- priorityName
550
- priorityValue
551
- connectorId
552
- mode
553
- partyGroupIds
554
- tagIds
555
- processResult
556
- processStatus
557
- }
558
- actionLink {
559
- name
560
- uri
561
- type
562
- partyId
563
- fromCollection
564
- toCollection
565
- group
566
- params
567
- id
568
- createdStamp
569
- updatedStamp
570
- updatedBy
571
- createdBy
572
- }
573
- }
574
- attachments {
575
- id
576
- createdStamp
577
- updatedStamp
578
- updatedBy
579
- createdBy
580
- partyId
581
- path
582
- srcId
583
- srcName
584
- srcPath
585
- srcConfigPathId
586
- name
587
- fileType
588
- type
589
- status
590
- referId
591
- }
592
- processPipeline {
593
- id
594
- name
595
- }
596
- }
597
- }
399
+ exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
400
+ mutation CreateWorkEffort(
401
+ $partnerId: String!
402
+ $createdBy: String!
403
+ $name: String
404
+ $description: String
405
+ $workEffortTypeId: String!
406
+ $source: String!
407
+ $attributes: JSON
408
+ $addAttachmentRequest: [AddAttachmentRequest]
409
+ $parentId: String
410
+ ) {
411
+ createWorkEffort(
412
+ partnerId: $partnerId
413
+ createdBy: $createdBy
414
+ name: $name
415
+ description: $description
416
+ workEffortTypeId: $workEffortTypeId
417
+ source: $source
418
+ attributes: $attributes
419
+ addAttachmentRequest: $addAttachmentRequest
420
+ parentId: $parentId
421
+ ) {
422
+ id
423
+ createdStamp
424
+ updatedStamp
425
+ createdBy
426
+ updatedBy
427
+ name
428
+ partyId
429
+ targetId
430
+ targetType
431
+ targetUrl
432
+ description
433
+ status
434
+ parentId
435
+ workEffortTypeId
436
+ stmId
437
+ workflowId
438
+ endDateExpect
439
+ endDateActual
440
+ startDateActual
441
+ startDateExpect
442
+ source
443
+ owner {
444
+ id
445
+ fullName
446
+ name
447
+ type
448
+ phone
449
+ email
450
+ }
451
+ priorityName
452
+ priorityValue
453
+ connectorId
454
+ mode
455
+ partyGroupIds
456
+ tagIds
457
+ processResult
458
+ processStatus
459
+ subTasks {
460
+ id
461
+ createdStamp
462
+ updatedStamp
463
+ createdBy
464
+ updatedBy
465
+ name
466
+ partyId
467
+ targetId
468
+ targetType
469
+ targetUrl
470
+ description
471
+ status
472
+ parentId
473
+ workEffortTypeId
474
+ stmId
475
+ workflowId
476
+ endDateExpect
477
+ endDateActual
478
+ startDateActual
479
+ startDateExpect
480
+ source
481
+ owner {
482
+ id
483
+ fullName
484
+ name
485
+ type
486
+ phone
487
+ email
488
+ }
489
+ priorityName
490
+ priorityValue
491
+ connectorId
492
+ mode
493
+ partyGroupIds
494
+ tagIds
495
+ processResult
496
+ processStatus
497
+ processPipeline {
498
+ id
499
+ name
500
+ }
501
+ attachments {
502
+ id
503
+ createdStamp
504
+ updatedStamp
505
+ updatedBy
506
+ createdBy
507
+ partyId
508
+ path
509
+ srcId
510
+ srcName
511
+ srcPath
512
+ srcConfigPathId
513
+ name
514
+ fileType
515
+ type
516
+ status
517
+ referId
518
+ }
519
+ subTasks {
520
+ id
521
+ createdStamp
522
+ updatedStamp
523
+ createdBy
524
+ updatedBy
525
+ name
526
+ partyId
527
+ targetId
528
+ targetType
529
+ targetUrl
530
+ description
531
+ status
532
+ parentId
533
+ workEffortTypeId
534
+ stmId
535
+ workflowId
536
+ endDateExpect
537
+ endDateActual
538
+ startDateActual
539
+ startDateExpect
540
+ source
541
+ owner {
542
+ id
543
+ fullName
544
+ name
545
+ type
546
+ phone
547
+ email
548
+ }
549
+ priorityName
550
+ priorityValue
551
+ connectorId
552
+ mode
553
+ partyGroupIds
554
+ tagIds
555
+ processResult
556
+ processStatus
557
+ }
558
+ actionLink {
559
+ name
560
+ uri
561
+ type
562
+ partyId
563
+ fromCollection
564
+ toCollection
565
+ group
566
+ params
567
+ id
568
+ createdStamp
569
+ updatedStamp
570
+ updatedBy
571
+ createdBy
572
+ }
573
+ }
574
+ attachments {
575
+ id
576
+ createdStamp
577
+ updatedStamp
578
+ updatedBy
579
+ createdBy
580
+ partyId
581
+ path
582
+ srcId
583
+ srcName
584
+ srcPath
585
+ srcConfigPathId
586
+ name
587
+ fileType
588
+ type
589
+ status
590
+ referId
591
+ }
592
+ processPipeline {
593
+ id
594
+ name
595
+ }
596
+ }
597
+ }
598
598
  `;
599
- exports.UPDATE_WORK_EFFORT_PROCESS_STATUS = (0, graphql_tag_1.gql) `
600
- mutation UpdateWorkEffortProcessStatus(
601
- $workEffortId: String!
602
- $processStatus: String!
603
- $performerId: String!
604
- ) {
605
- updateWorkEffortProcessStatus(
606
- workEffortId: $workEffortId
607
- processStatus: $processStatus
608
- performerId: $performerId
609
- ) {
610
- id
611
- createdStamp
612
- updatedStamp
613
- createdBy
614
- updatedBy
615
- name
616
- partyId
617
- targetId
618
- targetType
619
- targetUrl
620
- description
621
- status
622
- parentId
623
- workEffortTypeId
624
- stmId
625
- workflowId
626
- endDateExpect
627
- endDateActual
628
- startDateActual
629
- startDateExpect
630
- source
631
- owner {
632
- id
633
- fullName
634
- name
635
- type
636
- phone
637
- email
638
- }
639
- priorityName
640
- priorityValue
641
- connectorId
642
- mode
643
- partyGroupIds
644
- tagIds
645
- processResult
646
- actionLink {
647
- name
648
- uri
649
- type
650
- partyId
651
- fromCollection
652
- toCollection
653
- group
654
- params
655
- id
656
- createdStamp
657
- updatedStamp
658
- updatedBy
659
- createdBy
660
- }
661
- subTasks {
662
- id
663
- createdStamp
664
- updatedStamp
665
- createdBy
666
- updatedBy
667
- name
668
- partyId
669
- targetId
670
- targetType
671
- targetUrl
672
- description
673
- status
674
- parentId
675
- workEffortTypeId
676
- stmId
677
- workflowId
678
- endDateExpect
679
- endDateActual
680
- startDateActual
681
- startDateExpect
682
- source
683
- owner {
684
- id
685
- fullName
686
- name
687
- type
688
- phone
689
- email
690
- }
691
- priorityName
692
- priorityValue
693
- connectorId
694
- mode
695
- partyGroupIds
696
- tagIds
697
- processResult
698
- }
699
- attachments {
700
- id
701
- createdStamp
702
- updatedStamp
703
- updatedBy
704
- createdBy
705
- partyId
706
- path
707
- srcId
708
- srcName
709
- srcPath
710
- srcConfigPathId
711
- name
712
- fileType
713
- type
714
- status
715
- referId
716
- }
717
- processPipeline {
718
- id
719
- name
720
- }
721
- }
722
- }
599
+ exports.UPDATE_WORK_EFFORT_PROCESS_STATUS = (0, graphql_tag_1.gql) `
600
+ mutation UpdateWorkEffortProcessStatus(
601
+ $workEffortId: String!
602
+ $processStatus: String!
603
+ $performerId: String!
604
+ ) {
605
+ updateWorkEffortProcessStatus(
606
+ workEffortId: $workEffortId
607
+ processStatus: $processStatus
608
+ performerId: $performerId
609
+ ) {
610
+ id
611
+ createdStamp
612
+ updatedStamp
613
+ createdBy
614
+ updatedBy
615
+ name
616
+ partyId
617
+ targetId
618
+ targetType
619
+ targetUrl
620
+ description
621
+ status
622
+ parentId
623
+ workEffortTypeId
624
+ stmId
625
+ workflowId
626
+ endDateExpect
627
+ endDateActual
628
+ startDateActual
629
+ startDateExpect
630
+ source
631
+ owner {
632
+ id
633
+ fullName
634
+ name
635
+ type
636
+ phone
637
+ email
638
+ }
639
+ priorityName
640
+ priorityValue
641
+ connectorId
642
+ mode
643
+ partyGroupIds
644
+ tagIds
645
+ processResult
646
+ actionLink {
647
+ name
648
+ uri
649
+ type
650
+ partyId
651
+ fromCollection
652
+ toCollection
653
+ group
654
+ params
655
+ id
656
+ createdStamp
657
+ updatedStamp
658
+ updatedBy
659
+ createdBy
660
+ }
661
+ subTasks {
662
+ id
663
+ createdStamp
664
+ updatedStamp
665
+ createdBy
666
+ updatedBy
667
+ name
668
+ partyId
669
+ targetId
670
+ targetType
671
+ targetUrl
672
+ description
673
+ status
674
+ parentId
675
+ workEffortTypeId
676
+ stmId
677
+ workflowId
678
+ endDateExpect
679
+ endDateActual
680
+ startDateActual
681
+ startDateExpect
682
+ source
683
+ owner {
684
+ id
685
+ fullName
686
+ name
687
+ type
688
+ phone
689
+ email
690
+ }
691
+ priorityName
692
+ priorityValue
693
+ connectorId
694
+ mode
695
+ partyGroupIds
696
+ tagIds
697
+ processResult
698
+ }
699
+ attachments {
700
+ id
701
+ createdStamp
702
+ updatedStamp
703
+ updatedBy
704
+ createdBy
705
+ partyId
706
+ path
707
+ srcId
708
+ srcName
709
+ srcPath
710
+ srcConfigPathId
711
+ name
712
+ fileType
713
+ type
714
+ status
715
+ referId
716
+ }
717
+ processPipeline {
718
+ id
719
+ name
720
+ }
721
+ }
722
+ }
723
723
  `;
724
- exports.CREATE_CONNECTOR = (0, graphql_tag_1.gql) `
725
- mutation CreateConnector(
726
- $resourceId: String!
727
- $resourceType: String!
728
- $description: String
729
- $type: String!
730
- $createdBy: String!
731
- ) {
732
- createConnector(
733
- resourceId: $resourceId
734
- resourceType: $resourceType
735
- description: $description
736
- type: $type
737
- createdBy: $createdBy
738
- )
739
- }
724
+ exports.CREATE_CONNECTOR = (0, graphql_tag_1.gql) `
725
+ mutation CreateConnector(
726
+ $resourceId: String!
727
+ $resourceType: String!
728
+ $description: String
729
+ $type: String!
730
+ $createdBy: String!
731
+ ) {
732
+ createConnector(
733
+ resourceId: $resourceId
734
+ resourceType: $resourceType
735
+ description: $description
736
+ type: $type
737
+ createdBy: $createdBy
738
+ )
739
+ }
740
740
  `;
741
- exports.ADD_TAG = (0, graphql_tag_1.gql) `
742
- mutation AddTag(
743
- $connectorId: String!
744
- $tagTitle: String!
745
- $tagId: String
746
- $addedBy: String!
747
- ) {
748
- addTag(
749
- connectorId: $connectorId
750
- tagTitle: $tagTitle
751
- tagId: $tagId
752
- addedBy: $addedBy
753
- )
754
- }
741
+ exports.ADD_TAG = (0, graphql_tag_1.gql) `
742
+ mutation AddTag(
743
+ $connectorId: String!
744
+ $tagTitle: String!
745
+ $tagId: String
746
+ $addedBy: String!
747
+ ) {
748
+ addTag(
749
+ connectorId: $connectorId
750
+ tagTitle: $tagTitle
751
+ tagId: $tagId
752
+ addedBy: $addedBy
753
+ )
754
+ }
755
755
  `;
756
- exports.UPDATE_CONNECTOR_DESCRIPTION = (0, graphql_tag_1.gql) `
757
- mutation UpdateConnectorDescription(
758
- $connectorId: String!
759
- $description: String!
760
- $updatedBy: String!
761
- ) {
762
- updateConnectorDescription(
763
- connectorId: $connectorId
764
- description: $description
765
- updatedBy: $updatedBy
766
- )
767
- }
756
+ exports.UPDATE_CONNECTOR_DESCRIPTION = (0, graphql_tag_1.gql) `
757
+ mutation UpdateConnectorDescription(
758
+ $connectorId: String!
759
+ $description: String!
760
+ $updatedBy: String!
761
+ ) {
762
+ updateConnectorDescription(
763
+ connectorId: $connectorId
764
+ description: $description
765
+ updatedBy: $updatedBy
766
+ )
767
+ }
768
768
  `;
769
- exports.REMOVE_TAG = (0, graphql_tag_1.gql) `
770
- mutation RemoveTag(
771
- $connectorId: String!
772
- $tagId: String!
773
- $removedBy: String!
774
- ) {
775
- removeTag(connectorId: $connectorId, tagId: $tagId, removedBy: $removedBy)
776
- }
769
+ exports.REMOVE_TAG = (0, graphql_tag_1.gql) `
770
+ mutation RemoveTag(
771
+ $connectorId: String!
772
+ $tagId: String!
773
+ $removedBy: String!
774
+ ) {
775
+ removeTag(connectorId: $connectorId, tagId: $tagId, removedBy: $removedBy)
776
+ }
777
777
  `;
778
- exports.CLOSE_TOPIC = (0, graphql_tag_1.gql) `
779
- mutation CloseTopic($id: String!, $updatedBy: String) {
780
- closeTopic(id: $id, updatedBy: $updatedBy) {
781
- id
782
- status
783
- name
784
- communicationChannel
785
- accountableId
786
- accountableName
787
- createdStamp
788
- threadId
789
- roomId
790
- channelId
791
- channelType
792
- }
793
- }
778
+ exports.CLOSE_TOPIC = (0, graphql_tag_1.gql) `
779
+ mutation CloseTopic($id: String!, $updatedBy: String) {
780
+ closeTopic(id: $id, updatedBy: $updatedBy) {
781
+ id
782
+ status
783
+ name
784
+ communicationChannel
785
+ accountableId
786
+ accountableName
787
+ createdStamp
788
+ threadId
789
+ roomId
790
+ channelId
791
+ channelType
792
+ }
793
+ }
794
794
  `;
795
- exports.CREATE_TOPIC = (0, graphql_tag_1.gql) `
796
- mutation CreateTopic(
797
- $socialAppId: String!
798
- $customerId: String!
799
- $message: String!
800
- ) {
801
- createTopic(
802
- socialAppId: $socialAppId
803
- customerId: $customerId
804
- message: $message
805
- ) {
806
- id
807
- status
808
- name
809
- communicationChannel
810
- customerId
811
- accountableId
812
- accountableName
813
- customerName
814
- createdStamp
815
- threadId
816
- roomId
817
- }
818
- }
795
+ exports.CREATE_TOPIC = (0, graphql_tag_1.gql) `
796
+ mutation CreateTopic(
797
+ $socialAppId: String!
798
+ $customerId: String!
799
+ $message: String!
800
+ ) {
801
+ createTopic(
802
+ socialAppId: $socialAppId
803
+ customerId: $customerId
804
+ message: $message
805
+ ) {
806
+ id
807
+ status
808
+ name
809
+ communicationChannel
810
+ customerId
811
+ accountableId
812
+ accountableName
813
+ customerName
814
+ createdStamp
815
+ threadId
816
+ roomId
817
+ }
818
+ }
819
819
  `;
820
- exports.ADD_TOPIC_RELATED_RESOURCE = (0, graphql_tag_1.gql) `
821
- mutation AddTopicRelatedResource(
822
- $topicId: String!
823
- $resourceId: String!
824
- $resourceType: String!
825
- $createdBy: String!
826
- ) {
827
- addTopicRelatedResource(
828
- topicId: $topicId
829
- resourceId: $resourceId
830
- resourceType: $resourceType
831
- createdBy: $createdBy
832
- )
833
- }
820
+ exports.ADD_TOPIC_RELATED_RESOURCE = (0, graphql_tag_1.gql) `
821
+ mutation AddTopicRelatedResource(
822
+ $topicId: String!
823
+ $resourceId: String!
824
+ $resourceType: String!
825
+ $createdBy: String!
826
+ ) {
827
+ addTopicRelatedResource(
828
+ topicId: $topicId
829
+ resourceId: $resourceId
830
+ resourceType: $resourceType
831
+ createdBy: $createdBy
832
+ )
833
+ }
834
834
  `;