@longvansoftware/storefront-js-client 4.3.7-beta.1 → 4.3.7

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 (38) hide show
  1. package/README.md +221 -221
  2. package/dist/src/graphql/auth/mutations.js +309 -309
  3. package/dist/src/graphql/auth/queries.js +209 -209
  4. package/dist/src/graphql/campaign/mutations.js +26 -26
  5. package/dist/src/graphql/campaign/queries.js +457 -457
  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/cloudCloud/mutations.js +12 -12
  10. package/dist/src/graphql/cloudCloud/queries.js +117 -117
  11. package/dist/src/graphql/cloudService/queries.d.ts +1 -0
  12. package/dist/src/graphql/cloudService/queries.js +71 -0
  13. package/dist/src/graphql/computing/mutations.js +96 -96
  14. package/dist/src/graphql/computing/queries.js +41 -41
  15. package/dist/src/graphql/crm/mutations.js +1064 -1064
  16. package/dist/src/graphql/crm/queries.js +920 -920
  17. package/dist/src/graphql/orderCloud/mutations.js +7 -7
  18. package/dist/src/graphql/orderCloud/queries.js +7 -7
  19. package/dist/src/graphql/payment/mutations.js +194 -194
  20. package/dist/src/graphql/payment/queries.js +117 -117
  21. package/dist/src/graphql/paymentV2/mutations.js +115 -115
  22. package/dist/src/graphql/paymentV2/queries.js +263 -263
  23. package/dist/src/graphql/product/mutations.js +652 -652
  24. package/dist/src/graphql/product/queries.js +990 -989
  25. package/dist/src/graphql/service/mutations.js +304 -304
  26. package/dist/src/graphql/service/queries.js +131 -131
  27. package/dist/src/graphql/store/mutations.js +24 -24
  28. package/dist/src/graphql/store/queries.js +24 -24
  29. package/dist/src/graphql/user/mutations.js +201 -201
  30. package/dist/src/graphql/user/queries.js +339 -339
  31. package/dist/src/lib/cloudService/index.d.ts +5 -0
  32. package/dist/src/lib/cloudService/index.js +35 -0
  33. package/dist/src/lib/order/index.d.ts +0 -9
  34. package/dist/src/lib/order/index.js +0 -21
  35. package/dist/src/lib/serviceSDK.js +14 -14
  36. package/package.json +43 -43
  37. package/dist/index.d.ts +0 -1698
  38. package/dist/index.js +0 -13673
@@ -2,942 +2,942 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GET_WORK_FLOWS = 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_V2 = exports.GET_WORK_EFFORT_BY_ID = exports.GET_WORK_EFFORTS_V2 = exports.GET_WORK_EFFORTS_V3 = 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
- $workflowId: String
292
- $group: String!
293
- $pageNumber: Int!
294
- $pageSize: Int!
295
- $sorts: [BaseSort]
296
- $attributes: JSON
297
- $fromDate: DateCustom
298
- $toDate: DateCustom
299
- ) {
300
- getWorkEfforts(
301
- partnerId: $partnerId
302
- performerId: $performerId
303
- workflowId: $workflowId
304
- group: $group
305
- pageNumber: $pageNumber
306
- pageSize: $pageSize
307
- sorts: $sorts
308
- attributes: $attributes
309
- fromDate: $fromDate
310
- toDate: $toDate
311
- ) {
312
- total
313
- data {
314
- id
315
- createdStamp
316
- updatedStamp
317
- createdBy
318
- updatedBy
319
- name
320
- partyId
321
- targetId
322
- targetType
323
- targetUrl
324
- description
325
- status
326
- parentId
327
- stmId
328
- workflowId
329
- endDateExpect
330
- endDateActual
331
- startDateActual
332
- startDateExpect
333
- source
334
- priorityName
335
- priorityValue
336
- connectorId
337
- owner {
338
- id
339
- fullName
340
- name
341
- type
342
- phone
343
- email
344
- }
345
- mode
346
- partyGroupIds
347
- tagIds
348
- processResult
349
- processStatus
350
- processPipeline {
351
- id
352
- name
353
- }
354
- attachments {
355
- id
356
- createdStamp
357
- updatedStamp
358
- updatedBy
359
- createdBy
360
- partyId
361
- path
362
- srcId
363
- srcName
364
- srcPath
365
- srcConfigPathId
366
- name
367
- fileType
368
- type
369
- status
370
- referId
371
- }
372
- subTasks {
373
- id
374
- createdStamp
375
- updatedStamp
376
- createdBy
377
- updatedBy
378
- name
379
- partyId
380
- targetId
381
- targetType
382
- targetUrl
383
- description
384
- status
385
- parentId
386
- workEffortTypeId
387
- stmId
388
- workflowId
389
- endDateExpect
390
- endDateActual
391
- startDateActual
392
- startDateExpect
393
- source
394
- priorityName
395
- priorityValue
396
- connectorId
397
- mode
398
- partyGroupIds
399
- tagIds
400
- processResult
401
- processStatus
402
- }
403
- }
404
- }
405
- }
287
+ exports.GET_WORK_EFFORTS = (0, graphql_tag_1.gql) `
288
+ query GetWorkEfforts(
289
+ $partnerId: String!
290
+ $performerId: String!
291
+ $workflowId: String
292
+ $group: String!
293
+ $pageNumber: Int!
294
+ $pageSize: Int!
295
+ $sorts: [BaseSort]
296
+ $attributes: JSON
297
+ $fromDate: DateCustom
298
+ $toDate: DateCustom
299
+ ) {
300
+ getWorkEfforts(
301
+ partnerId: $partnerId
302
+ performerId: $performerId
303
+ workflowId: $workflowId
304
+ group: $group
305
+ pageNumber: $pageNumber
306
+ pageSize: $pageSize
307
+ sorts: $sorts
308
+ attributes: $attributes
309
+ fromDate: $fromDate
310
+ toDate: $toDate
311
+ ) {
312
+ total
313
+ data {
314
+ id
315
+ createdStamp
316
+ updatedStamp
317
+ createdBy
318
+ updatedBy
319
+ name
320
+ partyId
321
+ targetId
322
+ targetType
323
+ targetUrl
324
+ description
325
+ status
326
+ parentId
327
+ stmId
328
+ workflowId
329
+ endDateExpect
330
+ endDateActual
331
+ startDateActual
332
+ startDateExpect
333
+ source
334
+ priorityName
335
+ priorityValue
336
+ connectorId
337
+ owner {
338
+ id
339
+ fullName
340
+ name
341
+ type
342
+ phone
343
+ email
344
+ }
345
+ mode
346
+ partyGroupIds
347
+ tagIds
348
+ processResult
349
+ processStatus
350
+ processPipeline {
351
+ id
352
+ name
353
+ }
354
+ attachments {
355
+ id
356
+ createdStamp
357
+ updatedStamp
358
+ updatedBy
359
+ createdBy
360
+ partyId
361
+ path
362
+ srcId
363
+ srcName
364
+ srcPath
365
+ srcConfigPathId
366
+ name
367
+ fileType
368
+ type
369
+ status
370
+ referId
371
+ }
372
+ subTasks {
373
+ id
374
+ createdStamp
375
+ updatedStamp
376
+ createdBy
377
+ updatedBy
378
+ name
379
+ partyId
380
+ targetId
381
+ targetType
382
+ targetUrl
383
+ description
384
+ status
385
+ parentId
386
+ workEffortTypeId
387
+ stmId
388
+ workflowId
389
+ endDateExpect
390
+ endDateActual
391
+ startDateActual
392
+ startDateExpect
393
+ source
394
+ priorityName
395
+ priorityValue
396
+ connectorId
397
+ mode
398
+ partyGroupIds
399
+ tagIds
400
+ processResult
401
+ processStatus
402
+ }
403
+ }
404
+ }
405
+ }
406
406
  `;
407
- exports.GET_WORK_EFFORTS_V3 = (0, graphql_tag_1.gql) `
408
- query GetWorkEfforts(
409
- $partnerId: String!
410
- $performerId: String!
411
- $workflowId: String
412
- $group: String
413
- $pageNumber: Int!
414
- $pageSize: Int!
415
- $sorts: [BaseSort]
416
- $fromDate: DateCustom
417
- $toDate: DateCustom
418
- ) {
419
- getWorkEfforts(
420
- partnerId: $partnerId
421
- performerId: $performerId
422
- workflowId: $workflowId
423
- group: $group
424
- pageNumber: $pageNumber
425
- pageSize: $pageSize
426
- sorts: $sorts
427
- fromDate: $fromDate
428
- toDate: $toDate
429
- ) {
430
- total
431
- data {
432
- id
433
- createdStamp
434
- updatedStamp
435
- createdBy
436
- updatedBy
437
- name
438
- partyId
439
- targetId
440
- targetType
441
- targetUrl
442
- description
443
- status
444
- parentId
445
- workEffortTypeId
446
- stmId
447
- workflowId
448
- endDateExpect
449
- endDateActual
450
- startDateActual
451
- startDateExpect
452
- source
453
- group
454
- priorityName
455
- priorityValue
456
- connectorId
457
- mode
458
- partyGroupIds
459
- tagIds
460
- processResult
461
- processStatus
462
- contactName
463
- contactPhone
464
- contactEmail
465
- extSource
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
- group
489
- priorityName
490
- priorityValue
491
- connectorId
492
- mode
493
- partyGroupIds
494
- tagIds
495
- processResult
496
- processStatus
497
- }
498
- owner {
499
- id
500
- fullName
501
- name
502
- type
503
- phone
504
- email
505
- }
506
- }
507
- }
508
- }
407
+ exports.GET_WORK_EFFORTS_V3 = (0, graphql_tag_1.gql) `
408
+ query GetWorkEfforts(
409
+ $partnerId: String!
410
+ $performerId: String!
411
+ $workflowId: String
412
+ $group: String
413
+ $pageNumber: Int!
414
+ $pageSize: Int!
415
+ $sorts: [BaseSort]
416
+ $fromDate: DateCustom
417
+ $toDate: DateCustom
418
+ ) {
419
+ getWorkEfforts(
420
+ partnerId: $partnerId
421
+ performerId: $performerId
422
+ workflowId: $workflowId
423
+ group: $group
424
+ pageNumber: $pageNumber
425
+ pageSize: $pageSize
426
+ sorts: $sorts
427
+ fromDate: $fromDate
428
+ toDate: $toDate
429
+ ) {
430
+ total
431
+ data {
432
+ id
433
+ createdStamp
434
+ updatedStamp
435
+ createdBy
436
+ updatedBy
437
+ name
438
+ partyId
439
+ targetId
440
+ targetType
441
+ targetUrl
442
+ description
443
+ status
444
+ parentId
445
+ workEffortTypeId
446
+ stmId
447
+ workflowId
448
+ endDateExpect
449
+ endDateActual
450
+ startDateActual
451
+ startDateExpect
452
+ source
453
+ group
454
+ priorityName
455
+ priorityValue
456
+ connectorId
457
+ mode
458
+ partyGroupIds
459
+ tagIds
460
+ processResult
461
+ processStatus
462
+ contactName
463
+ contactPhone
464
+ contactEmail
465
+ extSource
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
+ group
489
+ priorityName
490
+ priorityValue
491
+ connectorId
492
+ mode
493
+ partyGroupIds
494
+ tagIds
495
+ processResult
496
+ processStatus
497
+ }
498
+ owner {
499
+ id
500
+ fullName
501
+ name
502
+ type
503
+ phone
504
+ email
505
+ }
506
+ }
507
+ }
508
+ }
509
509
  `;
510
- exports.GET_WORK_EFFORTS_V2 = (0, graphql_tag_1.gql) `
511
- query GetWorkEfforts(
512
- $partnerId: String!
513
- $performerId: String!
514
- $source: String!
515
- $workEffortTypeId: String
516
- ) {
517
- getWorkEfforts(
518
- partnerId: $partnerId
519
- performerId: $performerId
520
- source: $source
521
- workEffortTypeId: $workEffortTypeId
522
- ) {
523
- total
524
- data {
525
- id
526
- createdStamp
527
- updatedStamp
528
- createdBy
529
- updatedBy
530
- name
531
- partyId
532
- targetId
533
- targetType
534
- targetUrl
535
- description
536
- status
537
- parentId
538
- workEffortTypeId
539
- stmId
540
- workflowId
541
- endDateExpect
542
- endDateActual
543
- startDateActual
544
- startDateExpect
545
- source
546
- priorityName
547
- priorityValue
548
- connectorId
549
- mode
550
- partyGroupIds
551
- tagIds
552
- processResult
553
- processStatus
554
- }
555
- }
556
- }
510
+ exports.GET_WORK_EFFORTS_V2 = (0, graphql_tag_1.gql) `
511
+ query GetWorkEfforts(
512
+ $partnerId: String!
513
+ $performerId: String!
514
+ $source: String!
515
+ $workEffortTypeId: String
516
+ ) {
517
+ getWorkEfforts(
518
+ partnerId: $partnerId
519
+ performerId: $performerId
520
+ source: $source
521
+ workEffortTypeId: $workEffortTypeId
522
+ ) {
523
+ total
524
+ data {
525
+ id
526
+ createdStamp
527
+ updatedStamp
528
+ createdBy
529
+ updatedBy
530
+ name
531
+ partyId
532
+ targetId
533
+ targetType
534
+ targetUrl
535
+ description
536
+ status
537
+ parentId
538
+ workEffortTypeId
539
+ stmId
540
+ workflowId
541
+ endDateExpect
542
+ endDateActual
543
+ startDateActual
544
+ startDateExpect
545
+ source
546
+ priorityName
547
+ priorityValue
548
+ connectorId
549
+ mode
550
+ partyGroupIds
551
+ tagIds
552
+ processResult
553
+ processStatus
554
+ }
555
+ }
556
+ }
557
557
  `;
558
- exports.GET_WORK_EFFORT_BY_ID = (0, graphql_tag_1.gql) `
559
- query GetWorkEffortById($id: String!) {
560
- getWorkEffortById(id: $id) {
561
- id
562
- createdStamp
563
- updatedStamp
564
- createdBy
565
- updatedBy
566
- name
567
- partyId
568
- targetId
569
- targetType
570
- targetUrl
571
- description
572
- status
573
- parentId
574
- workEffortTypeId
575
- stmId
576
- workflowId
577
- endDateExpect
578
- endDateActual
579
- startDateActual
580
- startDateExpect
581
- source
582
- priorityName
583
- priorityValue
584
- connectorId
585
- mode
586
- partyGroupIds
587
- tagIds
588
- owner {
589
- id
590
- fullName
591
- name
592
- type
593
- phone
594
- email
595
- }
596
- processResult
597
- processStatus
598
- processPipeline {
599
- id
600
- name
601
- }
602
- attachments {
603
- id
604
- createdStamp
605
- updatedStamp
606
- updatedBy
607
- createdBy
608
- partyId
609
- path
610
- srcId
611
- srcName
612
- srcPath
613
- srcConfigPathId
614
- name
615
- fileType
616
- type
617
- status
618
- referId
619
- }
620
- subTasks {
621
- id
622
- createdStamp
623
- updatedStamp
624
- createdBy
625
- updatedBy
626
- name
627
- partyId
628
- targetId
629
- targetType
630
- targetUrl
631
- description
632
- status
633
- parentId
634
- workEffortTypeId
635
- stmId
636
- workflowId
637
- endDateExpect
638
- endDateActual
639
- startDateActual
640
- startDateExpect
641
- source
642
- priorityName
643
- priorityValue
644
- connectorId
645
- mode
646
- partyGroupIds
647
- tagIds
648
- processResult
649
- attachments {
650
- id
651
- createdStamp
652
- updatedStamp
653
- updatedBy
654
- createdBy
655
- partyId
656
- path
657
- srcId
658
- srcName
659
- srcPath
660
- srcConfigPathId
661
- name
662
- fileType
663
- type
664
- status
665
- referId
666
- }
667
- }
668
- actionLink {
669
- name
670
- uri
671
- type
672
- partyId
673
- fromCollection
674
- toCollection
675
- group
676
- params
677
- id
678
- createdStamp
679
- updatedStamp
680
- updatedBy
681
- createdBy
682
- }
683
- }
684
- }
558
+ exports.GET_WORK_EFFORT_BY_ID = (0, graphql_tag_1.gql) `
559
+ query GetWorkEffortById($id: String!) {
560
+ getWorkEffortById(id: $id) {
561
+ id
562
+ createdStamp
563
+ updatedStamp
564
+ createdBy
565
+ updatedBy
566
+ name
567
+ partyId
568
+ targetId
569
+ targetType
570
+ targetUrl
571
+ description
572
+ status
573
+ parentId
574
+ workEffortTypeId
575
+ stmId
576
+ workflowId
577
+ endDateExpect
578
+ endDateActual
579
+ startDateActual
580
+ startDateExpect
581
+ source
582
+ priorityName
583
+ priorityValue
584
+ connectorId
585
+ mode
586
+ partyGroupIds
587
+ tagIds
588
+ owner {
589
+ id
590
+ fullName
591
+ name
592
+ type
593
+ phone
594
+ email
595
+ }
596
+ processResult
597
+ processStatus
598
+ processPipeline {
599
+ id
600
+ name
601
+ }
602
+ attachments {
603
+ id
604
+ createdStamp
605
+ updatedStamp
606
+ updatedBy
607
+ createdBy
608
+ partyId
609
+ path
610
+ srcId
611
+ srcName
612
+ srcPath
613
+ srcConfigPathId
614
+ name
615
+ fileType
616
+ type
617
+ status
618
+ referId
619
+ }
620
+ subTasks {
621
+ id
622
+ createdStamp
623
+ updatedStamp
624
+ createdBy
625
+ updatedBy
626
+ name
627
+ partyId
628
+ targetId
629
+ targetType
630
+ targetUrl
631
+ description
632
+ status
633
+ parentId
634
+ workEffortTypeId
635
+ stmId
636
+ workflowId
637
+ endDateExpect
638
+ endDateActual
639
+ startDateActual
640
+ startDateExpect
641
+ source
642
+ priorityName
643
+ priorityValue
644
+ connectorId
645
+ mode
646
+ partyGroupIds
647
+ tagIds
648
+ processResult
649
+ attachments {
650
+ id
651
+ createdStamp
652
+ updatedStamp
653
+ updatedBy
654
+ createdBy
655
+ partyId
656
+ path
657
+ srcId
658
+ srcName
659
+ srcPath
660
+ srcConfigPathId
661
+ name
662
+ fileType
663
+ type
664
+ status
665
+ referId
666
+ }
667
+ }
668
+ actionLink {
669
+ name
670
+ uri
671
+ type
672
+ partyId
673
+ fromCollection
674
+ toCollection
675
+ group
676
+ params
677
+ id
678
+ createdStamp
679
+ updatedStamp
680
+ updatedBy
681
+ createdBy
682
+ }
683
+ }
684
+ }
685
685
  `;
686
- exports.GET_WORK_EFFORT_BY_ID_V2 = (0, graphql_tag_1.gql) `
687
- query GetWorkEffortById($id: String!) {
688
- getWorkEffortById(id: $id) {
689
- id
690
- createdStamp
691
- updatedStamp
692
- createdBy
693
- updatedBy
694
- name
695
- partyId
696
- targetId
697
- targetType
698
- targetUrl
699
- description
700
- status
701
- parentId
702
- workEffortTypeId
703
- stmId
704
- workflowId
705
- endDateExpect
706
- endDateActual
707
- startDateActual
708
- startDateExpect
709
- source
710
- priorityName
711
- priorityValue
712
- connectorId
713
- mode
714
- partyGroupIds
715
- tagIds
716
- contactName
717
- contactPhone
718
- contactEmail
719
- extSource
720
- owner {
721
- id
722
- fullName
723
- name
724
- type
725
- phone
726
- email
727
- }
728
- processResult
729
- processStatus
730
- subTasks {
731
- id
732
- createdStamp
733
- updatedStamp
734
- createdBy
735
- updatedBy
736
- name
737
- partyId
738
- targetId
739
- targetType
740
- targetUrl
741
- description
742
- status
743
- parentId
744
- workEffortTypeId
745
- stmId
746
- workflowId
747
- endDateExpect
748
- endDateActual
749
- startDateActual
750
- startDateExpect
751
- source
752
- priorityName
753
- priorityValue
754
- connectorId
755
- mode
756
- partyGroupIds
757
- tagIds
758
- processResult
759
- attachments {
760
- id
761
- createdStamp
762
- updatedStamp
763
- updatedBy
764
- createdBy
765
- partyId
766
- path
767
- srcId
768
- srcName
769
- srcPath
770
- srcConfigPathId
771
- name
772
- fileType
773
- type
774
- status
775
- referId
776
- }
777
- }
778
- }
779
- }
686
+ exports.GET_WORK_EFFORT_BY_ID_V2 = (0, graphql_tag_1.gql) `
687
+ query GetWorkEffortById($id: String!) {
688
+ getWorkEffortById(id: $id) {
689
+ id
690
+ createdStamp
691
+ updatedStamp
692
+ createdBy
693
+ updatedBy
694
+ name
695
+ partyId
696
+ targetId
697
+ targetType
698
+ targetUrl
699
+ description
700
+ status
701
+ parentId
702
+ workEffortTypeId
703
+ stmId
704
+ workflowId
705
+ endDateExpect
706
+ endDateActual
707
+ startDateActual
708
+ startDateExpect
709
+ source
710
+ priorityName
711
+ priorityValue
712
+ connectorId
713
+ mode
714
+ partyGroupIds
715
+ tagIds
716
+ contactName
717
+ contactPhone
718
+ contactEmail
719
+ extSource
720
+ owner {
721
+ id
722
+ fullName
723
+ name
724
+ type
725
+ phone
726
+ email
727
+ }
728
+ processResult
729
+ processStatus
730
+ subTasks {
731
+ id
732
+ createdStamp
733
+ updatedStamp
734
+ createdBy
735
+ updatedBy
736
+ name
737
+ partyId
738
+ targetId
739
+ targetType
740
+ targetUrl
741
+ description
742
+ status
743
+ parentId
744
+ workEffortTypeId
745
+ stmId
746
+ workflowId
747
+ endDateExpect
748
+ endDateActual
749
+ startDateActual
750
+ startDateExpect
751
+ source
752
+ priorityName
753
+ priorityValue
754
+ connectorId
755
+ mode
756
+ partyGroupIds
757
+ tagIds
758
+ processResult
759
+ attachments {
760
+ id
761
+ createdStamp
762
+ updatedStamp
763
+ updatedBy
764
+ createdBy
765
+ partyId
766
+ path
767
+ srcId
768
+ srcName
769
+ srcPath
770
+ srcConfigPathId
771
+ name
772
+ fileType
773
+ type
774
+ status
775
+ referId
776
+ }
777
+ }
778
+ }
779
+ }
780
780
  `;
781
- exports.GET_CONNECTOR_BY_RESOURCE = (0, graphql_tag_1.gql) `
782
- query GetConnectorByResource(
783
- $resourceId: String
784
- $resourceType: String
785
- $type: String
786
- ) {
787
- getConnectorByResource(
788
- resourceId: $resourceId
789
- resourceType: $resourceType
790
- type: $type
791
- )
792
- }
781
+ exports.GET_CONNECTOR_BY_RESOURCE = (0, graphql_tag_1.gql) `
782
+ query GetConnectorByResource(
783
+ $resourceId: String
784
+ $resourceType: String
785
+ $type: String
786
+ ) {
787
+ getConnectorByResource(
788
+ resourceId: $resourceId
789
+ resourceType: $resourceType
790
+ type: $type
791
+ )
792
+ }
793
793
  `;
794
- exports.GET_TAG = (0, graphql_tag_1.gql) `
795
- query GetTags($connectorId: String) {
796
- getTags(connectorId: $connectorId)
797
- }
794
+ exports.GET_TAG = (0, graphql_tag_1.gql) `
795
+ query GetTags($connectorId: String) {
796
+ getTags(connectorId: $connectorId)
797
+ }
798
798
  `;
799
- exports.SEARCH_TOPIC = (0, graphql_tag_1.gql) `
800
- query SearchTopic(
801
- $filterTopicRequest: FilterTopicRequest!
802
- $partnerId: String!
803
- $pageSize: Int!
804
- $currentPage: Int!
805
- ) {
806
- searchTopic(
807
- filterTopicRequest: $filterTopicRequest
808
- partnerId: $partnerId
809
- pageSize: $pageSize
810
- currentPage: $currentPage
811
- ) {
812
- totalPages
813
- totalElements
814
- currentPage
815
- content {
816
- id
817
- status
818
- name
819
- communicationChannel
820
- accountableId
821
- accountableName
822
- createdStamp
823
- threadId
824
- roomId
825
- channelId
826
- channelType
827
- customer {
828
- id
829
- fullName
830
- name
831
- type
832
- phone
833
- email
834
- }
835
- }
836
- }
837
- }
799
+ exports.SEARCH_TOPIC = (0, graphql_tag_1.gql) `
800
+ query SearchTopic(
801
+ $filterTopicRequest: FilterTopicRequest!
802
+ $partnerId: String!
803
+ $pageSize: Int!
804
+ $currentPage: Int!
805
+ ) {
806
+ searchTopic(
807
+ filterTopicRequest: $filterTopicRequest
808
+ partnerId: $partnerId
809
+ pageSize: $pageSize
810
+ currentPage: $currentPage
811
+ ) {
812
+ totalPages
813
+ totalElements
814
+ currentPage
815
+ content {
816
+ id
817
+ status
818
+ name
819
+ communicationChannel
820
+ accountableId
821
+ accountableName
822
+ createdStamp
823
+ threadId
824
+ roomId
825
+ channelId
826
+ channelType
827
+ customer {
828
+ id
829
+ fullName
830
+ name
831
+ type
832
+ phone
833
+ email
834
+ }
835
+ }
836
+ }
837
+ }
838
838
  `;
839
- exports.GET_MY_WORK_EFFORT_TODAY = (0, graphql_tag_1.gql) `
840
- query GetMyWorkEffortToday(
841
- $partnerId: String!
842
- $performerId: String!
843
- $source: String!
844
- ) {
845
- getMyWorkEffortToDay(
846
- partnerId: $partnerId
847
- performerId: $performerId
848
- source: $source
849
- ) {
850
- id
851
- createdStamp
852
- updatedStamp
853
- createdBy
854
- updatedBy
855
- name
856
- partyId
857
- targetId
858
- targetType
859
- targetUrl
860
- description
861
- status
862
- parentId
863
- workEffortTypeId
864
- stmId
865
- workflowId
866
- endDateExpect
867
- endDateActual
868
- startDateActual
869
- startDateExpect
870
- source
871
- priorityName
872
- priorityValue
873
- connectorId
874
- mode
875
- partyGroupIds
876
- tagIds
877
- processResult
878
- processStatus
879
- owner {
880
- id
881
- fullName
882
- name
883
- type
884
- phone
885
- email
886
- }
887
- }
888
- }
839
+ exports.GET_MY_WORK_EFFORT_TODAY = (0, graphql_tag_1.gql) `
840
+ query GetMyWorkEffortToday(
841
+ $partnerId: String!
842
+ $performerId: String!
843
+ $source: String!
844
+ ) {
845
+ getMyWorkEffortToDay(
846
+ partnerId: $partnerId
847
+ performerId: $performerId
848
+ source: $source
849
+ ) {
850
+ id
851
+ createdStamp
852
+ updatedStamp
853
+ createdBy
854
+ updatedBy
855
+ name
856
+ partyId
857
+ targetId
858
+ targetType
859
+ targetUrl
860
+ description
861
+ status
862
+ parentId
863
+ workEffortTypeId
864
+ stmId
865
+ workflowId
866
+ endDateExpect
867
+ endDateActual
868
+ startDateActual
869
+ startDateExpect
870
+ source
871
+ priorityName
872
+ priorityValue
873
+ connectorId
874
+ mode
875
+ partyGroupIds
876
+ tagIds
877
+ processResult
878
+ processStatus
879
+ owner {
880
+ id
881
+ fullName
882
+ name
883
+ type
884
+ phone
885
+ email
886
+ }
887
+ }
888
+ }
889
889
  `;
890
- exports.GET_MESSAGES = (0, graphql_tag_1.gql) `
891
- query GetMessages($topicId: String!, $pageSize: Int, $pageNumber: Int) {
892
- getMessages(
893
- topicId: $topicId
894
- pageSize: $pageSize
895
- pageNumber: $pageNumber
896
- ) {
897
- total
898
- data {
899
- id
900
- createdStamp
901
- updatedStamp
902
- updatedBy
903
- type
904
- format
905
- content
906
- referId
907
- referSource
908
- attachId
909
- createdBy {
910
- id
911
- fullName
912
- name
913
- type
914
- phone
915
- email
916
- }
917
- attachmentUrl
918
- }
919
- }
920
- }
890
+ exports.GET_MESSAGES = (0, graphql_tag_1.gql) `
891
+ query GetMessages($topicId: String!, $pageSize: Int, $pageNumber: Int) {
892
+ getMessages(
893
+ topicId: $topicId
894
+ pageSize: $pageSize
895
+ pageNumber: $pageNumber
896
+ ) {
897
+ total
898
+ data {
899
+ id
900
+ createdStamp
901
+ updatedStamp
902
+ updatedBy
903
+ type
904
+ format
905
+ content
906
+ referId
907
+ referSource
908
+ attachId
909
+ createdBy {
910
+ id
911
+ fullName
912
+ name
913
+ type
914
+ phone
915
+ email
916
+ }
917
+ attachmentUrl
918
+ }
919
+ }
920
+ }
921
921
  `;
922
- exports.GET_RESOURCE_RELATED_TOPIC = (0, graphql_tag_1.gql) `
923
- query GetResourceRelatedTopic($topicId: String!, $resourceType: String!) {
924
- getResourceRelatedTopic(topicId: $topicId, resourceType: $resourceType)
925
- }
922
+ exports.GET_RESOURCE_RELATED_TOPIC = (0, graphql_tag_1.gql) `
923
+ query GetResourceRelatedTopic($topicId: String!, $resourceType: String!) {
924
+ getResourceRelatedTopic(topicId: $topicId, resourceType: $resourceType)
925
+ }
926
926
  `;
927
- exports.GET_WORK_FLOWS = (0, graphql_tag_1.gql) `
928
- query GetWorkflows($partnerId: String!, $group: String, $keyword: String) {
929
- getWorkflows(partnerId: $partnerId, group: $group, keyword: $keyword) {
930
- id
931
- name
932
- group
933
- createdStamp
934
- updatedStamp
935
- updatedBy
936
- createdBy
937
- partyId
938
- actionLinkId
939
- partyGroupIds
940
- description
941
- }
942
- }
927
+ exports.GET_WORK_FLOWS = (0, graphql_tag_1.gql) `
928
+ query GetWorkflows($partnerId: String!, $group: String, $keyword: String) {
929
+ getWorkflows(partnerId: $partnerId, group: $group, keyword: $keyword) {
930
+ id
931
+ name
932
+ group
933
+ createdStamp
934
+ updatedStamp
935
+ updatedBy
936
+ createdBy
937
+ partyId
938
+ actionLinkId
939
+ partyGroupIds
940
+ description
941
+ }
942
+ }
943
943
  `;