@longvansoftware/storefront-js-client 1.9.8 → 2.0.1

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.
@@ -2,595 +2,595 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  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
- actionLink {
401
- name
402
- uri
403
- type
404
- partyId
405
- fromCollection
406
- toCollection
407
- group
408
- params
409
- id
410
- createdStamp
411
- updatedStamp
412
- updatedBy
413
- createdBy
414
- }
415
- }
416
- }
417
- }
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
+ actionLink {
401
+ name
402
+ uri
403
+ type
404
+ partyId
405
+ fromCollection
406
+ toCollection
407
+ group
408
+ params
409
+ id
410
+ createdStamp
411
+ updatedStamp
412
+ updatedBy
413
+ createdBy
414
+ }
415
+ }
416
+ }
417
+ }
418
418
  `;
419
- exports.GET_WORK_EFFORT_BY_ID = (0, graphql_tag_1.gql) `
420
- query GetWorkEffortById($id: String!) {
421
- getWorkEffortById(id: $id) {
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
- priorityName
444
- priorityValue
445
- connectorId
446
- mode
447
- partyGroupIds
448
- tagIds
449
- owner {
450
- id
451
- fullName
452
- name
453
- type
454
- phone
455
- email
456
- }
457
- processResult
458
- processStatus
459
- processPipeline {
460
- id
461
- name
462
- }
463
- attachments {
464
- id
465
- createdStamp
466
- updatedStamp
467
- updatedBy
468
- createdBy
469
- partyId
470
- path
471
- srcId
472
- srcName
473
- srcPath
474
- srcConfigPathId
475
- name
476
- fileType
477
- type
478
- status
479
- referId
480
- }
481
- subTasks {
482
- id
483
- createdStamp
484
- updatedStamp
485
- createdBy
486
- updatedBy
487
- name
488
- partyId
489
- targetId
490
- targetType
491
- targetUrl
492
- description
493
- status
494
- parentId
495
- workEffortTypeId
496
- stmId
497
- workflowId
498
- endDateExpect
499
- endDateActual
500
- startDateActual
501
- startDateExpect
502
- source
503
- priorityName
504
- priorityValue
505
- connectorId
506
- mode
507
- partyGroupIds
508
- tagIds
509
- processResult
510
- attachments {
511
- id
512
- createdStamp
513
- updatedStamp
514
- updatedBy
515
- createdBy
516
- partyId
517
- path
518
- srcId
519
- srcName
520
- srcPath
521
- srcConfigPathId
522
- name
523
- fileType
524
- type
525
- status
526
- referId
527
- }
528
- }
529
- actionLink {
530
- name
531
- uri
532
- type
533
- partyId
534
- fromCollection
535
- toCollection
536
- group
537
- params
538
- id
539
- createdStamp
540
- updatedStamp
541
- updatedBy
542
- createdBy
543
- }
544
- }
545
- }
419
+ exports.GET_WORK_EFFORT_BY_ID = (0, graphql_tag_1.gql) `
420
+ query GetWorkEffortById($id: String!) {
421
+ getWorkEffortById(id: $id) {
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
+ priorityName
444
+ priorityValue
445
+ connectorId
446
+ mode
447
+ partyGroupIds
448
+ tagIds
449
+ owner {
450
+ id
451
+ fullName
452
+ name
453
+ type
454
+ phone
455
+ email
456
+ }
457
+ processResult
458
+ processStatus
459
+ processPipeline {
460
+ id
461
+ name
462
+ }
463
+ attachments {
464
+ id
465
+ createdStamp
466
+ updatedStamp
467
+ updatedBy
468
+ createdBy
469
+ partyId
470
+ path
471
+ srcId
472
+ srcName
473
+ srcPath
474
+ srcConfigPathId
475
+ name
476
+ fileType
477
+ type
478
+ status
479
+ referId
480
+ }
481
+ subTasks {
482
+ id
483
+ createdStamp
484
+ updatedStamp
485
+ createdBy
486
+ updatedBy
487
+ name
488
+ partyId
489
+ targetId
490
+ targetType
491
+ targetUrl
492
+ description
493
+ status
494
+ parentId
495
+ workEffortTypeId
496
+ stmId
497
+ workflowId
498
+ endDateExpect
499
+ endDateActual
500
+ startDateActual
501
+ startDateExpect
502
+ source
503
+ priorityName
504
+ priorityValue
505
+ connectorId
506
+ mode
507
+ partyGroupIds
508
+ tagIds
509
+ processResult
510
+ attachments {
511
+ id
512
+ createdStamp
513
+ updatedStamp
514
+ updatedBy
515
+ createdBy
516
+ partyId
517
+ path
518
+ srcId
519
+ srcName
520
+ srcPath
521
+ srcConfigPathId
522
+ name
523
+ fileType
524
+ type
525
+ status
526
+ referId
527
+ }
528
+ }
529
+ actionLink {
530
+ name
531
+ uri
532
+ type
533
+ partyId
534
+ fromCollection
535
+ toCollection
536
+ group
537
+ params
538
+ id
539
+ createdStamp
540
+ updatedStamp
541
+ updatedBy
542
+ createdBy
543
+ }
544
+ }
545
+ }
546
546
  `;
547
- exports.GET_CONNECTOR_BY_RESOURCE = (0, graphql_tag_1.gql) `
548
- query GetConnectorByResource(
549
- $resourceId: String
550
- $resourceType: String
551
- $type: String
552
- ) {
553
- getConnectorByResource(
554
- resourceId: $resourceId
555
- resourceType: $resourceType
556
- type: $type
557
- )
558
- }
547
+ exports.GET_CONNECTOR_BY_RESOURCE = (0, graphql_tag_1.gql) `
548
+ query GetConnectorByResource(
549
+ $resourceId: String
550
+ $resourceType: String
551
+ $type: String
552
+ ) {
553
+ getConnectorByResource(
554
+ resourceId: $resourceId
555
+ resourceType: $resourceType
556
+ type: $type
557
+ )
558
+ }
559
559
  `;
560
- exports.GET_TAG = (0, graphql_tag_1.gql) `
561
- query GetTags($connectorId: String) {
562
- getTags(connectorId: $connectorId)
563
- }
560
+ exports.GET_TAG = (0, graphql_tag_1.gql) `
561
+ query GetTags($connectorId: String) {
562
+ getTags(connectorId: $connectorId)
563
+ }
564
564
  `;
565
- exports.SEARCH_TOPIC = (0, graphql_tag_1.gql) `
566
- query SearchTopic(
567
- $filterTopicRequest: FilterTopicRequest!
568
- $partnerId: String!
569
- $pageSize: Int!
570
- $currentPage: Int!
571
- ) {
572
- searchTopic(
573
- filterTopicRequest: $filterTopicRequest
574
- partnerId: $partnerId
575
- pageSize: $pageSize
576
- currentPage: $currentPage
577
- ) {
578
- totalPages
579
- totalElements
580
- currentPage
581
- content {
582
- id
583
- status
584
- name
585
- communicationChannel
586
- customerId
587
- accountableId
588
- accountableName
589
- customerName
590
- createdStamp
591
- threadId
592
- roomId
593
- }
594
- }
595
- }
565
+ exports.SEARCH_TOPIC = (0, graphql_tag_1.gql) `
566
+ query SearchTopic(
567
+ $filterTopicRequest: FilterTopicRequest!
568
+ $partnerId: String!
569
+ $pageSize: Int!
570
+ $currentPage: Int!
571
+ ) {
572
+ searchTopic(
573
+ filterTopicRequest: $filterTopicRequest
574
+ partnerId: $partnerId
575
+ pageSize: $pageSize
576
+ currentPage: $currentPage
577
+ ) {
578
+ totalPages
579
+ totalElements
580
+ currentPage
581
+ content {
582
+ id
583
+ status
584
+ name
585
+ communicationChannel
586
+ customerId
587
+ accountableId
588
+ accountableName
589
+ customerName
590
+ createdStamp
591
+ threadId
592
+ roomId
593
+ }
594
+ }
595
+ }
596
596
  `;