@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,679 +2,679 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GET_RESOURCE_RELATED_TOPIC = exports.GET_MESSAGES = exports.GET_MY_WORK_EFFORT_TODAY = exports.SEARCH_TOPIC = exports.GET_TAG = exports.GET_CONNECTOR_BY_RESOURCE = exports.GET_WORK_EFFORT_BY_ID = exports.GET_WORK_EFFORTS = 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
- workEffortTypeId
29
- partyId
30
- name
31
- description
32
- parentId
33
- status
34
- stmId
35
- createdStamp
36
- updatedStamp
37
- endDateExpect
38
- priorityName
39
- targetId
40
- targetType
41
- targetUrl
42
- extSource
43
- connectorId
44
- processResult
45
- processPipeline {
46
- id
47
- name
48
- }
49
- }
50
- }
51
- }
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
+ workEffortTypeId
29
+ partyId
30
+ name
31
+ description
32
+ parentId
33
+ status
34
+ stmId
35
+ createdStamp
36
+ updatedStamp
37
+ endDateExpect
38
+ priorityName
39
+ targetId
40
+ targetType
41
+ targetUrl
42
+ extSource
43
+ connectorId
44
+ processResult
45
+ processPipeline {
46
+ id
47
+ name
48
+ }
49
+ }
50
+ }
51
+ }
52
52
  `;
53
- exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
54
- query GetListTodo($partyId: String!, $workEffortId: [String]!) {
55
- getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
56
- workEffortId
57
- toDoList {
58
- listAttachment {
59
- id
60
- createdStamp
61
- createdBy
62
- updatedBy
63
- updatedStamp
64
- partyId
65
- path
66
- srcId
67
- srcName
68
- srcPath
69
- srcConfigPathId
70
- name
71
- fileType
72
- type
73
- status
74
- referId
75
- }
76
- isDone
77
- id
78
- workEffortTypeId
79
- workEffortType {
80
- id
81
- name
82
- group
83
- createdStamp
84
- updatedStamp
85
- updatedBy
86
- createdBy
87
- partyId
88
- actionLinkId
89
- partyGroupIds
90
- description
91
- workFlow {
92
- stages {
93
- id
94
- name
95
- mode
96
- workEffortTypeId
97
- }
98
- }
99
- }
100
- partyId
101
- name
102
- description
103
- parentId
104
- parentType
105
- status
106
- createdStamp
107
- updatedStamp
108
- source
109
- mode
110
- connectorId
111
- actionLink {
112
- name
113
- uri
114
- type
115
- partyId
116
- fromCollection
117
- toCollection
118
- group
119
- params
120
- id
121
- createdStamp
122
- updatedStamp
123
- updatedBy
124
- createdBy
125
- }
126
- partyGroupIds
127
- tagIds
128
- processResult
129
- }
130
- }
131
- }
53
+ exports.GET_LIST_TODO = (0, graphql_tag_1.gql) `
54
+ query GetListTodo($partyId: String!, $workEffortId: [String]!) {
55
+ getListTodo(partyId: $partyId, workEffortId: $workEffortId) {
56
+ workEffortId
57
+ toDoList {
58
+ listAttachment {
59
+ id
60
+ createdStamp
61
+ createdBy
62
+ updatedBy
63
+ updatedStamp
64
+ partyId
65
+ path
66
+ srcId
67
+ srcName
68
+ srcPath
69
+ srcConfigPathId
70
+ name
71
+ fileType
72
+ type
73
+ status
74
+ referId
75
+ }
76
+ isDone
77
+ id
78
+ workEffortTypeId
79
+ workEffortType {
80
+ id
81
+ name
82
+ group
83
+ createdStamp
84
+ updatedStamp
85
+ updatedBy
86
+ createdBy
87
+ partyId
88
+ actionLinkId
89
+ partyGroupIds
90
+ description
91
+ workFlow {
92
+ stages {
93
+ id
94
+ name
95
+ mode
96
+ workEffortTypeId
97
+ }
98
+ }
99
+ }
100
+ partyId
101
+ name
102
+ description
103
+ parentId
104
+ parentType
105
+ status
106
+ createdStamp
107
+ updatedStamp
108
+ source
109
+ mode
110
+ connectorId
111
+ actionLink {
112
+ name
113
+ uri
114
+ type
115
+ partyId
116
+ fromCollection
117
+ toCollection
118
+ group
119
+ params
120
+ id
121
+ createdStamp
122
+ updatedStamp
123
+ updatedBy
124
+ createdBy
125
+ }
126
+ partyGroupIds
127
+ tagIds
128
+ processResult
129
+ }
130
+ }
131
+ }
132
132
  `;
133
- exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
134
- query GetListWorkEffortType($partyId: String!, $id: String!) {
135
- getListWorkEffortType(
136
- partyId: $partyId
137
- getWorkEffortTypeRequest: { id: $id, isPagination: true }
138
- ) {
139
- id
140
- name
141
- group
142
- createdStamp
143
- updatedStamp
144
- updatedBy
145
- createdBy
146
- partyId
147
- actionLinkId
148
- partyGroupIds
149
- description
150
- workFlow {
151
- stages {
152
- id
153
- name
154
- mode
155
- workEffortTypeId
156
- }
157
- }
158
- }
159
- }
133
+ exports.GET_LIST_WORK_EFFORT_TYPE = (0, graphql_tag_1.gql) `
134
+ query GetListWorkEffortType($partyId: String!, $id: String!) {
135
+ getListWorkEffortType(
136
+ partyId: $partyId
137
+ getWorkEffortTypeRequest: { id: $id, isPagination: true }
138
+ ) {
139
+ id
140
+ name
141
+ group
142
+ createdStamp
143
+ updatedStamp
144
+ updatedBy
145
+ createdBy
146
+ partyId
147
+ actionLinkId
148
+ partyGroupIds
149
+ description
150
+ workFlow {
151
+ stages {
152
+ id
153
+ name
154
+ mode
155
+ workEffortTypeId
156
+ }
157
+ }
158
+ }
159
+ }
160
160
  `;
161
- exports.GET_LIST_TICKET = (0, graphql_tag_1.gql) `
162
- query GetListTicket(
163
- $partyId: String!
164
- $performerId: String!
165
- $getTicketRequest: GetTicketRequest!
166
- ) {
167
- getListTicket(
168
- partyId: $partyId
169
- performerId: $performerId
170
- getTicketRequest: $getTicketRequest
171
- ) {
172
- total
173
- data {
174
- id
175
- workEffortTypeId
176
- partyId
177
- name
178
- description
179
- status
180
- parentId
181
- stmId
182
- createdStamp
183
- updatedStamp
184
- endDateExpect
185
- endDateActual
186
- priorityName
187
- targetId
188
- targetType
189
- extSource
190
- connectorId
191
- }
192
- }
193
- }
161
+ exports.GET_LIST_TICKET = (0, graphql_tag_1.gql) `
162
+ query GetListTicket(
163
+ $partyId: String!
164
+ $performerId: String!
165
+ $getTicketRequest: GetTicketRequest!
166
+ ) {
167
+ getListTicket(
168
+ partyId: $partyId
169
+ performerId: $performerId
170
+ getTicketRequest: $getTicketRequest
171
+ ) {
172
+ total
173
+ data {
174
+ id
175
+ workEffortTypeId
176
+ partyId
177
+ name
178
+ description
179
+ status
180
+ parentId
181
+ stmId
182
+ createdStamp
183
+ updatedStamp
184
+ endDateExpect
185
+ endDateActual
186
+ priorityName
187
+ targetId
188
+ targetType
189
+ extSource
190
+ connectorId
191
+ }
192
+ }
193
+ }
194
194
  `;
195
- exports.GET_TICKET_BY_ID = (0, graphql_tag_1.gql) `
196
- query GetTicketById($ticketId: String!) {
197
- getTicketById(ticketId: $ticketId) {
198
- id
199
- accountable {
200
- id
201
- status
202
- partyId
203
- salutation
204
- firstName
205
- middleName
206
- lastName
207
- fullName
208
- }
209
- workEffortTypeId
210
- workEffortType {
211
- id
212
- name
213
- group
214
- createdStamp
215
- updatedStamp
216
- }
217
- partyId
218
- name
219
- description
220
- status
221
- parentId
222
- createdStamp
223
- updatedStamp
224
- endDateExpect
225
- endDateActual
226
- priorityName
227
- targetId
228
- targetType
229
- extSource
230
- }
231
- }
195
+ exports.GET_TICKET_BY_ID = (0, graphql_tag_1.gql) `
196
+ query GetTicketById($ticketId: String!) {
197
+ getTicketById(ticketId: $ticketId) {
198
+ id
199
+ accountable {
200
+ id
201
+ status
202
+ partyId
203
+ salutation
204
+ firstName
205
+ middleName
206
+ lastName
207
+ fullName
208
+ }
209
+ workEffortTypeId
210
+ workEffortType {
211
+ id
212
+ name
213
+ group
214
+ createdStamp
215
+ updatedStamp
216
+ }
217
+ partyId
218
+ name
219
+ description
220
+ status
221
+ parentId
222
+ createdStamp
223
+ updatedStamp
224
+ endDateExpect
225
+ endDateActual
226
+ priorityName
227
+ targetId
228
+ targetType
229
+ extSource
230
+ }
231
+ }
232
232
  `;
233
- exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = (0, graphql_tag_1.gql) `
234
- query GetAttachmentByWorkEffortId(
235
- $partyId: String!
236
- $workEffortIds: [String]!
237
- ) {
238
- getAttachmentByWorkEffortId(
239
- partyId: $partyId
240
- workEffortIds: $workEffortIds
241
- ) {
242
- id
243
- createdStamp
244
- updatedStamp
245
- updatedBy
246
- createdBy
247
- partyId
248
- path
249
- srcId
250
- srcName
251
- srcPath
252
- srcConfigPathId
253
- name
254
- fileType
255
- type
256
- status
257
- referId
258
- }
259
- }
233
+ exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = (0, graphql_tag_1.gql) `
234
+ query GetAttachmentByWorkEffortId(
235
+ $partyId: String!
236
+ $workEffortIds: [String]!
237
+ ) {
238
+ getAttachmentByWorkEffortId(
239
+ partyId: $partyId
240
+ workEffortIds: $workEffortIds
241
+ ) {
242
+ id
243
+ createdStamp
244
+ updatedStamp
245
+ updatedBy
246
+ createdBy
247
+ partyId
248
+ path
249
+ srcId
250
+ srcName
251
+ srcPath
252
+ srcConfigPathId
253
+ name
254
+ fileType
255
+ type
256
+ status
257
+ referId
258
+ }
259
+ }
260
260
  `;
261
- exports.GET_LIST_COMMENT = (0, graphql_tag_1.gql) `
262
- query GetListComment(
263
- $partyId: String!
264
- $getCommentRequest: GetCommentRequest!
265
- ) {
266
- getListComment(partyId: $partyId, getCommentRequest: $getCommentRequest) {
267
- total
268
- data {
269
- id
270
- createdStamp
271
- updatedStamp
272
- updatedBy
273
- createdBy {
274
- id
275
- fullName
276
- }
277
- type
278
- format
279
- content
280
- referId
281
- referSource
282
- attachId
283
- }
284
- }
285
- }
261
+ exports.GET_LIST_COMMENT = (0, graphql_tag_1.gql) `
262
+ query GetListComment(
263
+ $partyId: String!
264
+ $getCommentRequest: GetCommentRequest!
265
+ ) {
266
+ getListComment(partyId: $partyId, getCommentRequest: $getCommentRequest) {
267
+ total
268
+ data {
269
+ id
270
+ createdStamp
271
+ updatedStamp
272
+ updatedBy
273
+ createdBy {
274
+ id
275
+ fullName
276
+ }
277
+ type
278
+ format
279
+ content
280
+ referId
281
+ referSource
282
+ attachId
283
+ }
284
+ }
285
+ }
286
286
  `;
287
- exports.GET_WORK_EFFORTS = (0, graphql_tag_1.gql) `
288
- query GetWorkEfforts(
289
- $partnerId: String!
290
- $performerId: String!
291
- $workEffortTypeId: String
292
- $source: String!
293
- $pageNumber: Int!
294
- $pageSize: Int!
295
- $sorts: [BaseSort]
296
- $attributes: JSON
297
- ) {
298
- getWorkEfforts(
299
- partnerId: $partnerId
300
- performerId: $performerId
301
- workEffortTypeId: $workEffortTypeId
302
- source: $source
303
- pageNumber: $pageNumber
304
- pageSize: $pageSize
305
- sorts: $sorts
306
- attributes: $attributes
307
- ) {
308
- total
309
- data {
310
- id
311
- createdStamp
312
- updatedStamp
313
- createdBy
314
- updatedBy
315
- name
316
- partyId
317
- targetId
318
- targetType
319
- targetUrl
320
- description
321
- status
322
- parentId
323
- workEffortTypeId
324
- stmId
325
- workflowId
326
- endDateExpect
327
- endDateActual
328
- startDateActual
329
- startDateExpect
330
- source
331
- priorityName
332
- priorityValue
333
- connectorId
334
- owner {
335
- id
336
- fullName
337
- name
338
- type
339
- phone
340
- email
341
- }
342
- mode
343
- partyGroupIds
344
- tagIds
345
- processResult
346
- processStatus
347
- processPipeline {
348
- id
349
- name
350
- }
351
- attachments {
352
- id
353
- createdStamp
354
- updatedStamp
355
- updatedBy
356
- createdBy
357
- partyId
358
- path
359
- srcId
360
- srcName
361
- srcPath
362
- srcConfigPathId
363
- name
364
- fileType
365
- type
366
- status
367
- referId
368
- }
369
- subTasks {
370
- id
371
- createdStamp
372
- updatedStamp
373
- createdBy
374
- updatedBy
375
- name
376
- partyId
377
- targetId
378
- targetType
379
- targetUrl
380
- description
381
- status
382
- parentId
383
- workEffortTypeId
384
- stmId
385
- workflowId
386
- endDateExpect
387
- endDateActual
388
- startDateActual
389
- startDateExpect
390
- source
391
- priorityName
392
- priorityValue
393
- connectorId
394
- mode
395
- partyGroupIds
396
- tagIds
397
- processResult
398
- processStatus
399
- }
400
- }
401
- }
402
- }
287
+ exports.GET_WORK_EFFORTS = (0, graphql_tag_1.gql) `
288
+ query GetWorkEfforts(
289
+ $partnerId: String!
290
+ $performerId: String!
291
+ $workEffortTypeId: String
292
+ $source: String!
293
+ $pageNumber: Int!
294
+ $pageSize: Int!
295
+ $sorts: [BaseSort]
296
+ $attributes: JSON
297
+ ) {
298
+ getWorkEfforts(
299
+ partnerId: $partnerId
300
+ performerId: $performerId
301
+ workEffortTypeId: $workEffortTypeId
302
+ source: $source
303
+ pageNumber: $pageNumber
304
+ pageSize: $pageSize
305
+ sorts: $sorts
306
+ attributes: $attributes
307
+ ) {
308
+ total
309
+ data {
310
+ id
311
+ createdStamp
312
+ updatedStamp
313
+ createdBy
314
+ updatedBy
315
+ name
316
+ partyId
317
+ targetId
318
+ targetType
319
+ targetUrl
320
+ description
321
+ status
322
+ parentId
323
+ workEffortTypeId
324
+ stmId
325
+ workflowId
326
+ endDateExpect
327
+ endDateActual
328
+ startDateActual
329
+ startDateExpect
330
+ source
331
+ priorityName
332
+ priorityValue
333
+ connectorId
334
+ owner {
335
+ id
336
+ fullName
337
+ name
338
+ type
339
+ phone
340
+ email
341
+ }
342
+ mode
343
+ partyGroupIds
344
+ tagIds
345
+ processResult
346
+ processStatus
347
+ processPipeline {
348
+ id
349
+ name
350
+ }
351
+ attachments {
352
+ id
353
+ createdStamp
354
+ updatedStamp
355
+ updatedBy
356
+ createdBy
357
+ partyId
358
+ path
359
+ srcId
360
+ srcName
361
+ srcPath
362
+ srcConfigPathId
363
+ name
364
+ fileType
365
+ type
366
+ status
367
+ referId
368
+ }
369
+ subTasks {
370
+ id
371
+ createdStamp
372
+ updatedStamp
373
+ createdBy
374
+ updatedBy
375
+ name
376
+ partyId
377
+ targetId
378
+ targetType
379
+ targetUrl
380
+ description
381
+ status
382
+ parentId
383
+ workEffortTypeId
384
+ stmId
385
+ workflowId
386
+ endDateExpect
387
+ endDateActual
388
+ startDateActual
389
+ startDateExpect
390
+ source
391
+ priorityName
392
+ priorityValue
393
+ connectorId
394
+ mode
395
+ partyGroupIds
396
+ tagIds
397
+ processResult
398
+ processStatus
399
+ }
400
+ }
401
+ }
402
+ }
403
403
  `;
404
- exports.GET_WORK_EFFORT_BY_ID = (0, graphql_tag_1.gql) `
405
- query GetWorkEffortById($id: String!) {
406
- getWorkEffortById(id: $id) {
407
- id
408
- createdStamp
409
- updatedStamp
410
- createdBy
411
- updatedBy
412
- name
413
- partyId
414
- targetId
415
- targetType
416
- targetUrl
417
- description
418
- status
419
- parentId
420
- workEffortTypeId
421
- stmId
422
- workflowId
423
- endDateExpect
424
- endDateActual
425
- startDateActual
426
- startDateExpect
427
- source
428
- priorityName
429
- priorityValue
430
- connectorId
431
- mode
432
- partyGroupIds
433
- tagIds
434
- owner {
435
- id
436
- fullName
437
- name
438
- type
439
- phone
440
- email
441
- }
442
- processResult
443
- processStatus
444
- processPipeline {
445
- id
446
- name
447
- }
448
- attachments {
449
- id
450
- createdStamp
451
- updatedStamp
452
- updatedBy
453
- createdBy
454
- partyId
455
- path
456
- srcId
457
- srcName
458
- srcPath
459
- srcConfigPathId
460
- name
461
- fileType
462
- type
463
- status
464
- referId
465
- }
466
- subTasks {
467
- id
468
- createdStamp
469
- updatedStamp
470
- createdBy
471
- updatedBy
472
- name
473
- partyId
474
- targetId
475
- targetType
476
- targetUrl
477
- description
478
- status
479
- parentId
480
- workEffortTypeId
481
- stmId
482
- workflowId
483
- endDateExpect
484
- endDateActual
485
- startDateActual
486
- startDateExpect
487
- source
488
- priorityName
489
- priorityValue
490
- connectorId
491
- mode
492
- partyGroupIds
493
- tagIds
494
- processResult
495
- attachments {
496
- id
497
- createdStamp
498
- updatedStamp
499
- updatedBy
500
- createdBy
501
- partyId
502
- path
503
- srcId
504
- srcName
505
- srcPath
506
- srcConfigPathId
507
- name
508
- fileType
509
- type
510
- status
511
- referId
512
- }
513
- }
514
- actionLink {
515
- name
516
- uri
517
- type
518
- partyId
519
- fromCollection
520
- toCollection
521
- group
522
- params
523
- id
524
- createdStamp
525
- updatedStamp
526
- updatedBy
527
- createdBy
528
- }
529
- }
530
- }
404
+ exports.GET_WORK_EFFORT_BY_ID = (0, graphql_tag_1.gql) `
405
+ query GetWorkEffortById($id: String!) {
406
+ getWorkEffortById(id: $id) {
407
+ id
408
+ createdStamp
409
+ updatedStamp
410
+ createdBy
411
+ updatedBy
412
+ name
413
+ partyId
414
+ targetId
415
+ targetType
416
+ targetUrl
417
+ description
418
+ status
419
+ parentId
420
+ workEffortTypeId
421
+ stmId
422
+ workflowId
423
+ endDateExpect
424
+ endDateActual
425
+ startDateActual
426
+ startDateExpect
427
+ source
428
+ priorityName
429
+ priorityValue
430
+ connectorId
431
+ mode
432
+ partyGroupIds
433
+ tagIds
434
+ owner {
435
+ id
436
+ fullName
437
+ name
438
+ type
439
+ phone
440
+ email
441
+ }
442
+ processResult
443
+ processStatus
444
+ processPipeline {
445
+ id
446
+ name
447
+ }
448
+ attachments {
449
+ id
450
+ createdStamp
451
+ updatedStamp
452
+ updatedBy
453
+ createdBy
454
+ partyId
455
+ path
456
+ srcId
457
+ srcName
458
+ srcPath
459
+ srcConfigPathId
460
+ name
461
+ fileType
462
+ type
463
+ status
464
+ referId
465
+ }
466
+ subTasks {
467
+ id
468
+ createdStamp
469
+ updatedStamp
470
+ createdBy
471
+ updatedBy
472
+ name
473
+ partyId
474
+ targetId
475
+ targetType
476
+ targetUrl
477
+ description
478
+ status
479
+ parentId
480
+ workEffortTypeId
481
+ stmId
482
+ workflowId
483
+ endDateExpect
484
+ endDateActual
485
+ startDateActual
486
+ startDateExpect
487
+ source
488
+ priorityName
489
+ priorityValue
490
+ connectorId
491
+ mode
492
+ partyGroupIds
493
+ tagIds
494
+ processResult
495
+ attachments {
496
+ id
497
+ createdStamp
498
+ updatedStamp
499
+ updatedBy
500
+ createdBy
501
+ partyId
502
+ path
503
+ srcId
504
+ srcName
505
+ srcPath
506
+ srcConfigPathId
507
+ name
508
+ fileType
509
+ type
510
+ status
511
+ referId
512
+ }
513
+ }
514
+ actionLink {
515
+ name
516
+ uri
517
+ type
518
+ partyId
519
+ fromCollection
520
+ toCollection
521
+ group
522
+ params
523
+ id
524
+ createdStamp
525
+ updatedStamp
526
+ updatedBy
527
+ createdBy
528
+ }
529
+ }
530
+ }
531
531
  `;
532
- exports.GET_CONNECTOR_BY_RESOURCE = (0, graphql_tag_1.gql) `
533
- query GetConnectorByResource(
534
- $resourceId: String
535
- $resourceType: String
536
- $type: String
537
- ) {
538
- getConnectorByResource(
539
- resourceId: $resourceId
540
- resourceType: $resourceType
541
- type: $type
542
- )
543
- }
532
+ exports.GET_CONNECTOR_BY_RESOURCE = (0, graphql_tag_1.gql) `
533
+ query GetConnectorByResource(
534
+ $resourceId: String
535
+ $resourceType: String
536
+ $type: String
537
+ ) {
538
+ getConnectorByResource(
539
+ resourceId: $resourceId
540
+ resourceType: $resourceType
541
+ type: $type
542
+ )
543
+ }
544
544
  `;
545
- exports.GET_TAG = (0, graphql_tag_1.gql) `
546
- query GetTags($connectorId: String) {
547
- getTags(connectorId: $connectorId)
548
- }
545
+ exports.GET_TAG = (0, graphql_tag_1.gql) `
546
+ query GetTags($connectorId: String) {
547
+ getTags(connectorId: $connectorId)
548
+ }
549
549
  `;
550
- exports.SEARCH_TOPIC = (0, graphql_tag_1.gql) `
551
- query SearchTopic(
552
- $filterTopicRequest: FilterTopicRequest!
553
- $partnerId: String!
554
- $pageSize: Int!
555
- $currentPage: Int!
556
- ) {
557
- searchTopic(
558
- filterTopicRequest: $filterTopicRequest
559
- partnerId: $partnerId
560
- pageSize: $pageSize
561
- currentPage: $currentPage
562
- ) {
563
- totalPages
564
- totalElements
565
- currentPage
566
- content {
567
- id
568
- status
569
- name
570
- communicationChannel
571
- accountableId
572
- accountableName
573
- createdStamp
574
- threadId
575
- roomId
576
- channelId
577
- channelType
578
- customer {
579
- id
580
- fullName
581
- name
582
- type
583
- phone
584
- email
585
- }
586
- }
587
- }
588
- }
550
+ exports.SEARCH_TOPIC = (0, graphql_tag_1.gql) `
551
+ query SearchTopic(
552
+ $filterTopicRequest: FilterTopicRequest!
553
+ $partnerId: String!
554
+ $pageSize: Int!
555
+ $currentPage: Int!
556
+ ) {
557
+ searchTopic(
558
+ filterTopicRequest: $filterTopicRequest
559
+ partnerId: $partnerId
560
+ pageSize: $pageSize
561
+ currentPage: $currentPage
562
+ ) {
563
+ totalPages
564
+ totalElements
565
+ currentPage
566
+ content {
567
+ id
568
+ status
569
+ name
570
+ communicationChannel
571
+ accountableId
572
+ accountableName
573
+ createdStamp
574
+ threadId
575
+ roomId
576
+ channelId
577
+ channelType
578
+ customer {
579
+ id
580
+ fullName
581
+ name
582
+ type
583
+ phone
584
+ email
585
+ }
586
+ }
587
+ }
588
+ }
589
589
  `;
590
- exports.GET_MY_WORK_EFFORT_TODAY = (0, graphql_tag_1.gql) `
591
- query GetMyWorkEffortToday(
592
- $partnerId: String!
593
- $performerId: String!
594
- $source: String!
595
- ) {
596
- getMyWorkEffortToDay(
597
- partnerId: $partnerId
598
- performerId: $performerId
599
- source: $source
600
- ) {
601
- id
602
- createdStamp
603
- updatedStamp
604
- createdBy
605
- updatedBy
606
- name
607
- partyId
608
- targetId
609
- targetType
610
- targetUrl
611
- description
612
- status
613
- parentId
614
- workEffortTypeId
615
- stmId
616
- workflowId
617
- endDateExpect
618
- endDateActual
619
- startDateActual
620
- startDateExpect
621
- source
622
- priorityName
623
- priorityValue
624
- connectorId
625
- mode
626
- partyGroupIds
627
- tagIds
628
- processResult
629
- processStatus
630
- owner {
631
- id
632
- fullName
633
- name
634
- type
635
- phone
636
- email
637
- }
638
- }
639
- }
590
+ exports.GET_MY_WORK_EFFORT_TODAY = (0, graphql_tag_1.gql) `
591
+ query GetMyWorkEffortToday(
592
+ $partnerId: String!
593
+ $performerId: String!
594
+ $source: String!
595
+ ) {
596
+ getMyWorkEffortToDay(
597
+ partnerId: $partnerId
598
+ performerId: $performerId
599
+ source: $source
600
+ ) {
601
+ id
602
+ createdStamp
603
+ updatedStamp
604
+ createdBy
605
+ updatedBy
606
+ name
607
+ partyId
608
+ targetId
609
+ targetType
610
+ targetUrl
611
+ description
612
+ status
613
+ parentId
614
+ workEffortTypeId
615
+ stmId
616
+ workflowId
617
+ endDateExpect
618
+ endDateActual
619
+ startDateActual
620
+ startDateExpect
621
+ source
622
+ priorityName
623
+ priorityValue
624
+ connectorId
625
+ mode
626
+ partyGroupIds
627
+ tagIds
628
+ processResult
629
+ processStatus
630
+ owner {
631
+ id
632
+ fullName
633
+ name
634
+ type
635
+ phone
636
+ email
637
+ }
638
+ }
639
+ }
640
640
  `;
641
- exports.GET_MESSAGES = (0, graphql_tag_1.gql) `
642
- query GetMessages($topicId: String!, $pageSize: Int, $pageNumber: Int) {
643
- getMessages(
644
- topicId: $topicId
645
- pageSize: $pageSize
646
- pageNumber: $pageNumber
647
- ) {
648
- total
649
- data {
650
- id
651
- createdStamp
652
- updatedStamp
653
- updatedBy
654
- type
655
- format
656
- content
657
- referId
658
- referSource
659
- attachId
660
- createdBy {
661
- id
662
- fullName
663
- name
664
- type
665
- phone
666
- email
667
- }
668
- attachmentUrl
669
- }
670
- }
671
- }
641
+ exports.GET_MESSAGES = (0, graphql_tag_1.gql) `
642
+ query GetMessages($topicId: String!, $pageSize: Int, $pageNumber: Int) {
643
+ getMessages(
644
+ topicId: $topicId
645
+ pageSize: $pageSize
646
+ pageNumber: $pageNumber
647
+ ) {
648
+ total
649
+ data {
650
+ id
651
+ createdStamp
652
+ updatedStamp
653
+ updatedBy
654
+ type
655
+ format
656
+ content
657
+ referId
658
+ referSource
659
+ attachId
660
+ createdBy {
661
+ id
662
+ fullName
663
+ name
664
+ type
665
+ phone
666
+ email
667
+ }
668
+ attachmentUrl
669
+ }
670
+ }
671
+ }
672
672
  `;
673
- exports.GET_RESOURCE_RELATED_TOPIC = (0, graphql_tag_1.gql) `
674
- query GetResourceRelatedTopic(
675
- $topicId: String!
676
- $resourceType: String!
677
- ){
678
- getResourceRelatedTopic(topicId: $topicId, resourceType: $resourceType)
679
- }
673
+ exports.GET_RESOURCE_RELATED_TOPIC = (0, graphql_tag_1.gql) `
674
+ query GetResourceRelatedTopic(
675
+ $topicId: String!
676
+ $resourceType: String!
677
+ ){
678
+ getResourceRelatedTopic(topicId: $topicId, resourceType: $resourceType)
679
+ }
680
680
  `;