@projectcaluma/ember-testing 10.2.0-beta.2 → 11.0.0-beta.11

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 (32) hide show
  1. package/CHANGELOG.md +115 -0
  2. package/addon/mirage-graphql/deserialize.js +13 -0
  3. package/addon/mirage-graphql/filters/answer.js +5 -7
  4. package/addon/mirage-graphql/filters/base.js +42 -24
  5. package/addon/mirage-graphql/filters/form.js +5 -1
  6. package/addon/mirage-graphql/filters/index.js +17 -0
  7. package/addon/mirage-graphql/filters/question.js +1 -1
  8. package/addon/mirage-graphql/filters/work-item.js +11 -11
  9. package/addon/mirage-graphql/index.js +59 -63
  10. package/addon/mirage-graphql/mocks/answer.js +8 -14
  11. package/addon/mirage-graphql/mocks/base.js +9 -11
  12. package/addon/mirage-graphql/mocks/form.js +2 -2
  13. package/addon/mirage-graphql/mocks/index.js +17 -0
  14. package/addon/mirage-graphql/mocks/question.js +5 -5
  15. package/addon/mirage-graphql/mocks/work-item.js +24 -7
  16. package/addon/mirage-graphql/register.js +20 -0
  17. package/addon/mirage-graphql/schema.graphql +764 -1879
  18. package/addon/mirage-graphql/serialize.js +14 -0
  19. package/addon/scenarios/distribution.js +112 -35
  20. package/addon-mirage-support/factories/answer.js +16 -17
  21. package/addon-mirage-support/factories/case.js +2 -2
  22. package/addon-mirage-support/factories/document.js +3 -1
  23. package/addon-mirage-support/factories/file.js +2 -2
  24. package/addon-mirage-support/factories/form.js +6 -1
  25. package/addon-mirage-support/factories/format-validator.js +1 -1
  26. package/addon-mirage-support/factories/question.js +1 -1
  27. package/addon-mirage-support/factories/task.js +1 -1
  28. package/addon-mirage-support/factories/work-item.js +2 -2
  29. package/addon-mirage-support/models/question.js +1 -0
  30. package/blueprints/@projectcaluma/ember-testing/index.js +1 -4
  31. package/package.json +15 -15
  32. package/addon/mirage-graphql/handler.js +0 -60
@@ -1,3 +1,13 @@
1
+ """
2
+ Exposes a URL that specifies the behaviour of this scalar.
3
+ """
4
+ directive @specifiedBy(
5
+ """
6
+ The URL that specifies the behaviour of this scalar.
7
+ """
8
+ url: String!
9
+ ) on SCALAR
10
+
1
11
  type ActionButtonQuestion implements Question & Node {
2
12
  createdAt: DateTime!
3
13
  modifiedAt: DateTime!
@@ -18,43 +28,17 @@ type ActionButtonQuestion implements Question & Node {
18
28
  meta: GenericScalar!
19
29
  source: Question
20
30
  forms(
31
+ offset: Int
21
32
  before: String
22
33
  after: String
23
34
  first: Int
24
35
  last: Int
25
- metaValue: [JSONValueFilterType]
26
-
27
- """
28
- FormOrdering
29
- """
30
- orderBy: [FormOrdering]
31
- slug: String
32
- name: String
33
- description: String
34
- isPublished: Boolean
35
- isArchived: Boolean
36
- questions: [String]
37
- createdByUser: String
38
- createdByGroup: String
39
- modifiedByUser: String
40
- modifiedByGroup: String
41
-
42
- """
43
- Only return entries created after the given DateTime (Exclusive)
44
- """
45
- createdBefore: DateTime
46
-
47
- """
48
- Only return entries created at or before the given DateTime (Inclusive)
49
- """
50
- createdAfter: DateTime
51
- metaHasKey: String
52
- search: String
53
- slugs: [String]
36
+ filter: [FormFilterSetType]
37
+ order: [FormOrderSetType]
54
38
  ): FormConnection
55
39
 
56
40
  """
57
- The ID of the object.
41
+ The ID of the object
58
42
  """
59
43
  id: ID!
60
44
  action: ButtonAction!
@@ -80,6 +64,7 @@ input AddWorkflowFlowInput {
80
64
  workflow: ID!
81
65
  tasks: [ID]!
82
66
  next: FlowJexl!
67
+ redoable: FlowJexl
83
68
  clientMutationId: String
84
69
  }
85
70
 
@@ -88,19 +73,48 @@ type AddWorkflowFlowPayload {
88
73
  clientMutationId: String
89
74
  }
90
75
 
91
- interface Answer {
92
- id: ID
76
+ """
77
+ Aggregate function for pivot table
78
+ """
79
+ enum AggregateFunction {
80
+ VALUE
81
+ SUM
82
+ COUNT
83
+ AVG
84
+ MAX
85
+ MIN
86
+ }
87
+
88
+ """
89
+ A cell represents one value in the analytics output.
90
+ """
91
+ type AnalyticsCell {
92
+ alias: String
93
+ value: String
94
+ }
95
+
96
+ type AnalyticsField implements Node {
93
97
  createdAt: DateTime!
94
98
  modifiedAt: DateTime!
95
99
  createdByUser: String
96
100
  createdByGroup: String
97
101
  modifiedByUser: String
98
102
  modifiedByGroup: String
99
- question: Question!
100
- meta: GenericScalar!
103
+
104
+ """
105
+ The ID of the object
106
+ """
107
+ id: ID!
108
+ alias: String!
109
+ meta: GenericScalar
110
+ dataSource: String!
111
+ table: AnalyticsTable!
112
+ filters: [String]
113
+ function: AggregateFunction
114
+ showOutput: Boolean!
101
115
  }
102
116
 
103
- type AnswerConnection {
117
+ type AnalyticsFieldConnection {
104
118
  """
105
119
  Pagination data for this connection.
106
120
  """
@@ -109,18 +123,18 @@ type AnswerConnection {
109
123
  """
110
124
  Contains the nodes in this connection.
111
125
  """
112
- edges: [AnswerEdge]!
126
+ edges: [AnalyticsFieldEdge]!
113
127
  totalCount: Int
114
128
  }
115
129
 
116
130
  """
117
- A Relay edge containing a `Answer` and its cursor.
131
+ A Relay edge containing a `AnalyticsField` and its cursor.
118
132
  """
119
- type AnswerEdge {
133
+ type AnalyticsFieldEdge {
120
134
  """
121
135
  The item at the end of the edge
122
136
  """
123
- node: Answer
137
+ node: AnalyticsField
124
138
 
125
139
  """
126
140
  A cursor for use in pagination
@@ -128,9 +142,9 @@ type AnswerEdge {
128
142
  cursor: String!
129
143
  }
130
144
 
131
- input AnswerFilterSetType {
132
- question: ID
133
- search: String
145
+ input AnalyticsFieldFilterSetType {
146
+ alias: String
147
+ table: ID
134
148
  createdByUser: String
135
149
  createdByGroup: String
136
150
  modifiedByUser: String
@@ -139,93 +153,239 @@ input AnswerFilterSetType {
139
153
  createdAfter: DateTime
140
154
  metaHasKey: String
141
155
  metaValue: [JSONValueFilterType]
142
- orderBy: [AnswerOrdering]
143
- questions: [ID]
144
- visibleInContext: Boolean
156
+ search: String
157
+ slugs: [String]
145
158
  invert: Boolean
146
159
  }
147
160
 
148
- enum AnswerHierarchyMode {
149
- DIRECT
150
- FAMILY
161
+ input AnalyticsFieldOrderSetType {
162
+ meta: String
163
+ attribute: SortableAnalyticsFieldAttributes
164
+ direction: AscDesc
151
165
  }
152
166
 
153
- enum AnswerLookupMode {
154
- EXACT
155
- STARTSWITH
156
- CONTAINS
157
- ICONTAINS
158
- INTERSECTS
159
- ISNULL
160
- GTE
161
- GT
162
- LTE
163
- LT
167
+ type AnalyticsOutput {
168
+ records(
169
+ before: String
170
+ after: String
171
+ first: Int
172
+ last: Int
173
+ ): AnalyticsTableContentConnection
174
+ summary: AnalyticsRowConnection
175
+ }
176
+
177
+ type AnalyticsRowConnection {
178
+ """
179
+ Pagination data for this connection.
180
+ """
181
+ pageInfo: PageInfo!
182
+
183
+ """
184
+ Contains the nodes in this connection.
185
+ """
186
+ edges: [AnalyticsRowEdge]!
164
187
  }
165
188
 
166
189
  """
167
- An enumeration.
190
+ A Relay edge containing a `AnalyticsRow` and its cursor.
168
191
  """
169
- enum AnswerOrdering {
192
+ type AnalyticsRowEdge {
170
193
  """
171
- Created at
194
+ The item at the end of the edge
172
195
  """
173
- CREATED_AT_ASC
196
+ node: AnalyticsCell
174
197
 
175
198
  """
176
- Created at (descending)
199
+ A cursor for use in pagination
177
200
  """
178
- CREATED_AT_DESC
201
+ cursor: String!
202
+ }
203
+
204
+ type AnalyticsTable implements Node {
205
+ createdAt: DateTime!
206
+ modifiedAt: DateTime!
207
+ createdByUser: String
208
+ createdByGroup: String
209
+ modifiedByUser: String
210
+ modifiedByGroup: String
211
+ slug: String!
212
+ meta: JSONString!
213
+ disableVisibilities: Boolean!
214
+ name: String!
215
+ startingObject: StartingObject
216
+ fields(
217
+ offset: Int
218
+ before: String
219
+ after: String
220
+ first: Int
221
+ last: Int
222
+ ): AnalyticsFieldConnection!
179
223
 
180
224
  """
181
- Modified at
225
+ The ID of the object
182
226
  """
183
- MODIFIED_AT_ASC
227
+ id: ID!
228
+ availableFields(
229
+ prefix: String
230
+ depth: Int
231
+ before: String
232
+ after: String
233
+ first: Int
234
+ last: Int
235
+ ): AvailableFieldConnection
236
+ resultData: AnalyticsOutput
237
+ }
184
238
 
239
+ type AnalyticsTableConnection {
185
240
  """
186
- Modified at (descending)
241
+ Pagination data for this connection.
187
242
  """
188
- MODIFIED_AT_DESC
243
+ pageInfo: PageInfo!
189
244
 
190
245
  """
191
- Created by user
246
+ Contains the nodes in this connection.
192
247
  """
193
- CREATED_BY_USER_ASC
248
+ edges: [AnalyticsTableEdge]!
249
+ totalCount: Int
250
+ }
194
251
 
252
+ type AnalyticsTableContentConnection {
195
253
  """
196
- Created by user (descending)
254
+ Pagination data for this connection.
197
255
  """
198
- CREATED_BY_USER_DESC
256
+ pageInfo: PageInfo!
199
257
 
200
258
  """
201
- Created by group
259
+ Contains the nodes in this connection.
260
+ """
261
+ edges: [AnalyticsTableContentEdge]!
262
+ }
263
+
264
+ """
265
+ A Relay edge containing a `AnalyticsTableContent` and its cursor.
266
+ """
267
+ type AnalyticsTableContentEdge {
268
+ """
269
+ The item at the end of the edge
270
+ """
271
+ node: AnalyticsRowConnection
272
+
273
+ """
274
+ A cursor for use in pagination
275
+ """
276
+ cursor: String!
277
+ }
278
+
279
+ """
280
+ A Relay edge containing a `AnalyticsTable` and its cursor.
281
+ """
282
+ type AnalyticsTableEdge {
283
+ """
284
+ The item at the end of the edge
202
285
  """
203
- CREATED_BY_GROUP_ASC
286
+ node: AnalyticsTable
204
287
 
205
288
  """
206
- Created by group (descending)
289
+ A cursor for use in pagination
207
290
  """
208
- CREATED_BY_GROUP_DESC
291
+ cursor: String!
292
+ }
293
+
294
+ input AnalyticsTableFilterSetType {
295
+ slug: String
296
+ name: String
297
+ createdByUser: String
298
+ createdByGroup: String
299
+ modifiedByUser: String
300
+ modifiedByGroup: String
301
+ createdBefore: DateTime
302
+ createdAfter: DateTime
303
+ metaHasKey: String
304
+ metaValue: [JSONValueFilterType]
305
+ search: String
306
+ slugs: [String]
307
+ invert: Boolean
308
+ }
309
+
310
+ input AnalyticsTableOrderSetType {
311
+ meta: String
312
+ attribute: SortableAnalyticsTableAttributes
313
+ direction: AscDesc
314
+ }
209
315
 
316
+ interface Answer {
317
+ id: ID
318
+ createdAt: DateTime!
319
+ modifiedAt: DateTime!
320
+ createdByUser: String
321
+ createdByGroup: String
322
+ modifiedByUser: String
323
+ modifiedByGroup: String
324
+ question: Question!
325
+ meta: GenericScalar!
326
+ }
327
+
328
+ type AnswerConnection {
210
329
  """
211
- Modified by user
330
+ Pagination data for this connection.
212
331
  """
213
- MODIFIED_BY_USER_ASC
332
+ pageInfo: PageInfo!
214
333
 
215
334
  """
216
- Modified by user (descending)
335
+ Contains the nodes in this connection.
217
336
  """
218
- MODIFIED_BY_USER_DESC
337
+ edges: [AnswerEdge]!
338
+ totalCount: Int
339
+ }
219
340
 
341
+ """
342
+ A Relay edge containing a `Answer` and its cursor.
343
+ """
344
+ type AnswerEdge {
220
345
  """
221
- Modified by group
346
+ The item at the end of the edge
222
347
  """
223
- MODIFIED_BY_GROUP_ASC
348
+ node: Answer
224
349
 
225
350
  """
226
- Modified by group (descending)
351
+ A cursor for use in pagination
227
352
  """
228
- MODIFIED_BY_GROUP_DESC
353
+ cursor: String!
354
+ }
355
+
356
+ input AnswerFilterSetType {
357
+ question: ID
358
+ search: String
359
+ createdByUser: String
360
+ createdByGroup: String
361
+ modifiedByUser: String
362
+ modifiedByGroup: String
363
+ createdBefore: DateTime
364
+ createdAfter: DateTime
365
+ metaHasKey: String
366
+ metaValue: [JSONValueFilterType]
367
+ questions: [ID]
368
+ visibleInContext: Boolean
369
+ invert: Boolean
370
+ }
371
+
372
+ enum AnswerHierarchyMode {
373
+ DIRECT
374
+ FAMILY
375
+ }
376
+
377
+ enum AnswerLookupMode {
378
+ EXACT
379
+ STARTSWITH
380
+ CONTAINS
381
+ ICONTAINS
382
+ INTERSECTS
383
+ ISNULL
384
+ IN
385
+ GTE
386
+ GT
387
+ LTE
388
+ LT
229
389
  }
230
390
 
231
391
  input AnswerOrderSetType {
@@ -239,6 +399,59 @@ enum AscDesc {
239
399
  DESC
240
400
  }
241
401
 
402
+ """
403
+ Available fields show users what can be selected in an analysis.
404
+
405
+ The main identifier is the source path, but for display purposes,
406
+ a label (field at current position) and a full_label (including
407
+ parent fields' labels) is available.
408
+
409
+ Frontends should query sub-fields (via prefix/depth) if is_leaf is
410
+ False. Some fields can be non-leafs as well as values, such as
411
+ dates: Dates can be extracted "as is", or we can extract a
412
+ date part (such as year, quarter, ...) from it.
413
+ """
414
+ type AvailableField implements Node {
415
+ """
416
+ The ID of the object
417
+ """
418
+ id: ID!
419
+ label: String
420
+ fullLabel: String
421
+ sourcePath: String
422
+ isLeaf: Boolean
423
+ isValue: Boolean
424
+ supportedFunctions: [AggregateFunction]
425
+ }
426
+
427
+ type AvailableFieldConnection {
428
+ """
429
+ Pagination data for this connection.
430
+ """
431
+ pageInfo: PageInfo!
432
+
433
+ """
434
+ Contains the nodes in this connection.
435
+ """
436
+ edges: [AvailableFieldEdge]!
437
+ totalCount: Int
438
+ }
439
+
440
+ """
441
+ A Relay edge containing a `AvailableField` and its cursor.
442
+ """
443
+ type AvailableFieldEdge {
444
+ """
445
+ The item at the end of the edge
446
+ """
447
+ node: AvailableField
448
+
449
+ """
450
+ A cursor for use in pagination
451
+ """
452
+ cursor: String!
453
+ }
454
+
242
455
  """
243
456
  An enumeration.
244
457
  """
@@ -273,47 +486,22 @@ type CalculatedFloatQuestion implements Question & Node {
273
486
  isHidden: QuestionJexl!
274
487
  isArchived: Boolean!
275
488
  infoText: String
489
+ hintText: String
276
490
  meta: GenericScalar!
277
491
  source: Question
278
492
  forms(
493
+ offset: Int
279
494
  before: String
280
495
  after: String
281
496
  first: Int
282
497
  last: Int
283
- metaValue: [JSONValueFilterType]
284
-
285
- """
286
- FormOrdering
287
- """
288
- orderBy: [FormOrdering]
289
- slug: String
290
- name: String
291
- description: String
292
- isPublished: Boolean
293
- isArchived: Boolean
294
- questions: [String]
295
- createdByUser: String
296
- createdByGroup: String
297
- modifiedByUser: String
298
- modifiedByGroup: String
299
-
300
- """
301
- Only return entries created after the given DateTime (Exclusive)
302
- """
303
- createdBefore: DateTime
304
-
305
- """
306
- Only return entries created at or before the given DateTime (Inclusive)
307
- """
308
- createdAfter: DateTime
309
- metaHasKey: String
310
- search: String
311
- slugs: [String]
498
+ filter: [FormFilterSetType]
499
+ order: [FormOrderSetType]
312
500
  ): FormConnection
313
501
  calcExpression: String
314
502
 
315
503
  """
316
- The ID of the object.
504
+ The ID of the object
317
505
  """
318
506
  id: ID!
319
507
  }
@@ -357,7 +545,7 @@ type Case implements Node {
357
545
  modifiedByGroup: String
358
546
 
359
547
  """
360
- The ID of the object.
548
+ The ID of the object
361
549
  """
362
550
  id: ID!
363
551
 
@@ -372,101 +560,23 @@ type Case implements Node {
372
560
  meta: GenericScalar
373
561
  document: Document
374
562
  workItems(
563
+ offset: Int
375
564
  before: String
376
565
  after: String
377
566
  first: Int
378
567
  last: Int
379
- metaValue: [JSONValueFilterType]
380
- status: WorkItemStatusArgument
381
- name: String
382
- task: ID
383
- tasks: [String]
384
- case: ID
385
- createdAt: DateTime
386
- closedAt: DateTime
387
- modifiedAt: DateTime
388
- deadline: DateTime
389
- hasDeadline: Boolean
390
- caseFamily: ID
391
-
392
- """
393
- WorkItemOrdering
394
- """
395
- orderBy: [WorkItemOrdering]
396
568
  filter: [WorkItemFilterSetType]
397
569
  order: [WorkItemOrderSetType]
398
- createdByUser: String
399
- createdByGroup: String
400
- modifiedByUser: String
401
- modifiedByGroup: String
402
-
403
- """
404
- Only return entries created after the given DateTime (Exclusive)
405
- """
406
- createdBefore: DateTime
407
-
408
- """
409
- Only return entries created at or before the given DateTime (Inclusive)
410
- """
411
- createdAfter: DateTime
412
- metaHasKey: String
413
- id: ID
414
- addressedGroups: [String]
415
- controllingGroups: [String]
416
- assignedUsers: [String]
417
- documentHasAnswer: [HasAnswerFilterType]
418
- caseDocumentHasAnswer: [HasAnswerFilterType]
419
- caseMetaValue: [JSONValueFilterType]
420
- rootCaseMetaValue: [JSONValueFilterType]
421
570
  ): WorkItemConnection
422
571
  parentWorkItem: WorkItem
423
572
  familyWorkItems(
573
+ offset: Int
424
574
  before: String
425
575
  after: String
426
576
  first: Int
427
577
  last: Int
428
- metaValue: [JSONValueFilterType]
429
- status: WorkItemStatusArgument
430
-
431
- """
432
- WorkItemOrdering
433
- """
434
- orderBy: [WorkItemOrdering]
435
578
  filter: [WorkItemFilterSetType]
436
579
  order: [WorkItemOrderSetType]
437
- documentHasAnswer: [HasAnswerFilterType]
438
- caseDocumentHasAnswer: [HasAnswerFilterType]
439
- caseMetaValue: [JSONValueFilterType]
440
- rootCaseMetaValue: [JSONValueFilterType]
441
- name: String
442
- task: ID
443
- tasks: [String]
444
- case: ID
445
- createdAt: DateTime
446
- closedAt: DateTime
447
- modifiedAt: DateTime
448
- deadline: DateTime
449
- hasDeadline: Boolean
450
- caseFamily: ID
451
- createdByUser: String
452
- createdByGroup: String
453
- modifiedByUser: String
454
- modifiedByGroup: String
455
-
456
- """
457
- Only return entries created after the given DateTime (Exclusive)
458
- """
459
- createdBefore: DateTime
460
-
461
- """
462
- Only return entries created at or before the given DateTime (Inclusive)
463
- """
464
- createdAfter: DateTime
465
- metaHasKey: String
466
- id: ID
467
- addressedGroups: [String]
468
- controllingGroups: [String]
469
- assignedUsers: [String]
470
580
  ): WorkItemConnection
471
581
  }
472
582
 
@@ -485,115 +595,39 @@ type CaseConnection {
485
595
 
486
596
  """
487
597
  A Relay edge containing a `Case` and its cursor.
488
- """
489
- type CaseEdge {
490
- """
491
- The item at the end of the edge
492
- """
493
- node: Case
494
-
495
- """
496
- A cursor for use in pagination
497
- """
498
- cursor: String!
499
- }
500
-
501
- input CaseFilterSetType {
502
- workflow: ID
503
- createdByUser: String
504
- createdByGroup: String
505
- modifiedByUser: String
506
- modifiedByGroup: String
507
- createdBefore: DateTime
508
- createdAfter: DateTime
509
- metaHasKey: String
510
- metaValue: [JSONValueFilterType]
511
- id: ID
512
- orderBy: [CaseOrdering]
513
- documentForm: String
514
- documentForms: [String]
515
- hasAnswer: [HasAnswerFilterType]
516
- workItemDocumentHasAnswer: [HasAnswerFilterType]
517
- rootCase: ID
518
- searchAnswers: [SearchAnswersFilterType]
519
- status: [CaseStatusArgument]
520
- orderByQuestionAnswerValue: String
521
- invert: Boolean
522
- }
523
-
524
- """
525
- An enumeration.
526
- """
527
- enum CaseOrdering {
528
- """
529
- Status
530
- """
531
- STATUS_ASC
532
-
533
- """
534
- Status (descending)
535
- """
536
- STATUS_DESC
537
-
538
- """
539
- Created at
540
- """
541
- CREATED_AT_ASC
542
-
543
- """
544
- Created at (descending)
545
- """
546
- CREATED_AT_DESC
547
-
548
- """
549
- Modified at
550
- """
551
- MODIFIED_AT_ASC
552
-
553
- """
554
- Modified at (descending)
555
- """
556
- MODIFIED_AT_DESC
557
-
558
- """
559
- Created by user
560
- """
561
- CREATED_BY_USER_ASC
562
-
563
- """
564
- Created by user (descending)
565
- """
566
- CREATED_BY_USER_DESC
567
-
568
- """
569
- Created by group
570
- """
571
- CREATED_BY_GROUP_ASC
572
-
573
- """
574
- Created by group (descending)
575
- """
576
- CREATED_BY_GROUP_DESC
577
-
578
- """
579
- Modified by user
580
- """
581
- MODIFIED_BY_USER_ASC
582
-
598
+ """
599
+ type CaseEdge {
583
600
  """
584
- Modified by user (descending)
601
+ The item at the end of the edge
585
602
  """
586
- MODIFIED_BY_USER_DESC
603
+ node: Case
587
604
 
588
605
  """
589
- Modified by group
606
+ A cursor for use in pagination
590
607
  """
591
- MODIFIED_BY_GROUP_ASC
608
+ cursor: String!
609
+ }
592
610
 
593
- """
594
- Modified by group (descending)
595
- """
596
- MODIFIED_BY_GROUP_DESC
611
+ input CaseFilterSetType {
612
+ workflow: ID
613
+ createdByUser: String
614
+ createdByGroup: String
615
+ modifiedByUser: String
616
+ modifiedByGroup: String
617
+ createdBefore: DateTime
618
+ createdAfter: DateTime
619
+ metaHasKey: String
620
+ metaValue: [JSONValueFilterType]
621
+ id: ID
622
+ ids: [ID]
623
+ documentForm: String
624
+ documentForms: [String]
625
+ hasAnswer: [HasAnswerFilterType]
626
+ workItemDocumentHasAnswer: [HasAnswerFilterType]
627
+ rootCase: ID
628
+ searchAnswers: [SearchAnswersFilterType]
629
+ status: [CaseStatusArgument]
630
+ invert: Boolean
597
631
  }
598
632
 
599
633
  input CaseOrderSetType {
@@ -607,24 +641,9 @@ input CaseOrderSetType {
607
641
  An enumeration.
608
642
  """
609
643
  enum CaseStatus {
610
- """
611
- Case is running and work items need to be completed.
612
- """
613
644
  RUNNING
614
-
615
- """
616
- Case is done.
617
- """
618
645
  COMPLETED
619
-
620
- """
621
- Case is canceled.
622
- """
623
646
  CANCELED
624
-
625
- """
626
- Case is suspended.
627
- """
628
647
  SUSPENDED
629
648
  }
630
649
 
@@ -670,78 +689,31 @@ type ChoiceQuestion implements Question & Node {
670
689
  isHidden: QuestionJexl!
671
690
  isArchived: Boolean!
672
691
  infoText: String
692
+ hintText: String
673
693
  meta: GenericScalar!
674
694
  source: Question
675
695
  defaultAnswer: StringAnswer
676
696
  forms(
697
+ offset: Int
677
698
  before: String
678
699
  after: String
679
700
  first: Int
680
701
  last: Int
681
- metaValue: [JSONValueFilterType]
682
-
683
- """
684
- FormOrdering
685
- """
686
- orderBy: [FormOrdering]
687
- slug: String
688
- name: String
689
- description: String
690
- isPublished: Boolean
691
- isArchived: Boolean
692
- questions: [String]
693
- createdByUser: String
694
- createdByGroup: String
695
- modifiedByUser: String
696
- modifiedByGroup: String
697
-
698
- """
699
- Only return entries created after the given DateTime (Exclusive)
700
- """
701
- createdBefore: DateTime
702
-
703
- """
704
- Only return entries created at or before the given DateTime (Inclusive)
705
- """
706
- createdAfter: DateTime
707
- metaHasKey: String
708
- search: String
709
- slugs: [String]
702
+ filter: [FormFilterSetType]
703
+ order: [FormOrderSetType]
710
704
  ): FormConnection
711
705
  options(
706
+ offset: Int
712
707
  before: String
713
708
  after: String
714
709
  first: Int
715
710
  last: Int
716
- metaValue: [JSONValueFilterType]
717
- slug: String
718
- label: String
719
- isArchived: Boolean
720
- createdByUser: String
721
- createdByGroup: String
722
- modifiedByUser: String
723
- modifiedByGroup: String
724
-
725
- """
726
- Only return entries created after the given DateTime (Exclusive)
727
- """
728
- createdBefore: DateTime
729
-
730
- """
731
- Only return entries created at or before the given DateTime (Inclusive)
732
- """
733
- createdAfter: DateTime
734
- metaHasKey: String
735
- search: String
736
-
737
- """
738
- OptionOrdering
739
- """
740
- orderBy: [OptionOrdering]
711
+ filter: [OptionFilterSetType]
712
+ order: [OptionOrderSetType]
741
713
  ): OptionConnection
742
714
 
743
715
  """
744
- The ID of the object.
716
+ The ID of the object
745
717
  """
746
718
  id: ID!
747
719
  }
@@ -756,7 +728,6 @@ type CompleteTaskFormTask implements Task & Node {
756
728
  slug: String!
757
729
  name: String!
758
730
  description: String
759
- type: TaskType!
760
731
  meta: GenericScalar!
761
732
  addressGroups: GroupJexl
762
733
  controlGroups: GroupJexl
@@ -767,10 +738,11 @@ type CompleteTaskFormTask implements Task & Node {
767
738
  """
768
739
  leadTime: Int
769
740
  isMultipleInstance: Boolean!
741
+ continueAsync: Boolean
770
742
  form: Form!
771
743
 
772
744
  """
773
- The ID of the object.
745
+ The ID of the object
774
746
  """
775
747
  id: ID!
776
748
  }
@@ -785,7 +757,6 @@ type CompleteWorkflowFormTask implements Task & Node {
785
757
  slug: String!
786
758
  name: String!
787
759
  description: String
788
- type: TaskType!
789
760
  meta: GenericScalar!
790
761
  addressGroups: GroupJexl
791
762
  controlGroups: GroupJexl
@@ -796,9 +767,10 @@ type CompleteWorkflowFormTask implements Task & Node {
796
767
  """
797
768
  leadTime: Int
798
769
  isMultipleInstance: Boolean!
770
+ continueAsync: Boolean
799
771
 
800
772
  """
801
- The ID of the object.
773
+ The ID of the object
802
774
  """
803
775
  id: ID!
804
776
  }
@@ -983,7 +955,7 @@ type DateAnswer implements Answer & Node {
983
955
  modifiedByGroup: String
984
956
 
985
957
  """
986
- The ID of the object.
958
+ The ID of the object
987
959
  """
988
960
  id: ID!
989
961
  question: Question!
@@ -1009,47 +981,22 @@ type DateQuestion implements Question & Node {
1009
981
  isHidden: QuestionJexl!
1010
982
  isArchived: Boolean!
1011
983
  infoText: String
984
+ hintText: String
1012
985
  meta: GenericScalar!
1013
986
  source: Question
1014
987
  defaultAnswer: DateAnswer
1015
988
  forms(
989
+ offset: Int
1016
990
  before: String
1017
991
  after: String
1018
992
  first: Int
1019
993
  last: Int
1020
- metaValue: [JSONValueFilterType]
1021
-
1022
- """
1023
- FormOrdering
1024
- """
1025
- orderBy: [FormOrdering]
1026
- slug: String
1027
- name: String
1028
- description: String
1029
- isPublished: Boolean
1030
- isArchived: Boolean
1031
- questions: [String]
1032
- createdByUser: String
1033
- createdByGroup: String
1034
- modifiedByUser: String
1035
- modifiedByGroup: String
1036
-
1037
- """
1038
- Only return entries created after the given DateTime (Exclusive)
1039
- """
1040
- createdBefore: DateTime
1041
-
1042
- """
1043
- Only return entries created at or before the given DateTime (Inclusive)
1044
- """
1045
- createdAfter: DateTime
1046
- metaHasKey: String
1047
- search: String
1048
- slugs: [String]
994
+ filter: [FormFilterSetType]
995
+ order: [FormOrderSetType]
1049
996
  ): FormConnection
1050
997
 
1051
998
  """
1052
- The ID of the object.
999
+ The ID of the object
1053
1000
  """
1054
1001
  id: ID!
1055
1002
  }
@@ -1155,7 +1102,7 @@ type Document implements Node {
1155
1102
  modifiedByGroup: String
1156
1103
 
1157
1104
  """
1158
- The ID of the object.
1105
+ The ID of the object
1159
1106
  """
1160
1107
  id: ID!
1161
1108
  form: Form!
@@ -1170,43 +1117,20 @@ type Document implements Node {
1170
1117
  Reference this document has been copied from
1171
1118
  """
1172
1119
  copies(
1120
+ offset: Int
1173
1121
  before: String
1174
1122
  after: String
1175
1123
  first: Int
1176
1124
  last: Int
1177
1125
  ): DocumentConnection!
1178
1126
  answers(
1127
+ offset: Int
1179
1128
  before: String
1180
1129
  after: String
1181
1130
  first: Int
1182
1131
  last: Int
1183
- metaValue: [JSONValueFilterType]
1184
- question: ID
1185
- search: String
1186
-
1187
- """
1188
- AnswerOrdering
1189
- """
1190
- orderBy: [AnswerOrdering]
1191
1132
  filter: [AnswerFilterSetType]
1192
1133
  order: [AnswerOrderSetType]
1193
- createdByUser: String
1194
- createdByGroup: String
1195
- modifiedByUser: String
1196
- modifiedByGroup: String
1197
-
1198
- """
1199
- Only return entries created after the given DateTime (Exclusive)
1200
- """
1201
- createdBefore: DateTime
1202
-
1203
- """
1204
- Only return entries created at or before the given DateTime (Inclusive)
1205
- """
1206
- createdAfter: DateTime
1207
- metaHasKey: String
1208
- questions: [ID]
1209
- visibleInContext: Boolean
1210
1134
  ): AnswerConnection
1211
1135
  case: Case
1212
1136
  workItem: WorkItem
@@ -1256,78 +1180,12 @@ input DocumentFilterSetType {
1256
1180
  createdAfter: DateTime
1257
1181
  metaHasKey: String
1258
1182
  metaValue: [JSONValueFilterType]
1259
- orderBy: [DocumentOrdering]
1260
1183
  rootDocument: ID
1261
1184
  hasAnswer: [HasAnswerFilterType]
1262
1185
  searchAnswers: [SearchAnswersFilterType]
1263
1186
  invert: Boolean
1264
1187
  }
1265
1188
 
1266
- """
1267
- An enumeration.
1268
- """
1269
- enum DocumentOrdering {
1270
- """
1271
- Created at
1272
- """
1273
- CREATED_AT_ASC
1274
-
1275
- """
1276
- Created at (descending)
1277
- """
1278
- CREATED_AT_DESC
1279
-
1280
- """
1281
- Modified at
1282
- """
1283
- MODIFIED_AT_ASC
1284
-
1285
- """
1286
- Modified at (descending)
1287
- """
1288
- MODIFIED_AT_DESC
1289
-
1290
- """
1291
- Created by user
1292
- """
1293
- CREATED_BY_USER_ASC
1294
-
1295
- """
1296
- Created by user (descending)
1297
- """
1298
- CREATED_BY_USER_DESC
1299
-
1300
- """
1301
- Created by group
1302
- """
1303
- CREATED_BY_GROUP_ASC
1304
-
1305
- """
1306
- Created by group (descending)
1307
- """
1308
- CREATED_BY_GROUP_DESC
1309
-
1310
- """
1311
- Modified by user
1312
- """
1313
- MODIFIED_BY_USER_ASC
1314
-
1315
- """
1316
- Modified by user (descending)
1317
- """
1318
- MODIFIED_BY_USER_DESC
1319
-
1320
- """
1321
- Modified by group
1322
- """
1323
- MODIFIED_BY_GROUP_ASC
1324
-
1325
- """
1326
- Modified by group (descending)
1327
- """
1328
- MODIFIED_BY_GROUP_DESC
1329
- }
1330
-
1331
1189
  input DocumentOrderSetType {
1332
1190
  meta: String
1333
1191
  answerValue: String
@@ -1380,42 +1238,17 @@ type DynamicChoiceQuestion implements Question & DynamicQuestion & Node {
1380
1238
  isHidden: QuestionJexl!
1381
1239
  isArchived: Boolean!
1382
1240
  infoText: String
1241
+ hintText: String
1383
1242
  meta: GenericScalar!
1384
1243
  source: Question
1385
1244
  forms(
1245
+ offset: Int
1386
1246
  before: String
1387
1247
  after: String
1388
1248
  first: Int
1389
1249
  last: Int
1390
- metaValue: [JSONValueFilterType]
1391
-
1392
- """
1393
- FormOrdering
1394
- """
1395
- orderBy: [FormOrdering]
1396
- slug: String
1397
- name: String
1398
- description: String
1399
- isPublished: Boolean
1400
- isArchived: Boolean
1401
- questions: [String]
1402
- createdByUser: String
1403
- createdByGroup: String
1404
- modifiedByUser: String
1405
- modifiedByGroup: String
1406
-
1407
- """
1408
- Only return entries created after the given DateTime (Exclusive)
1409
- """
1410
- createdBefore: DateTime
1411
-
1412
- """
1413
- Only return entries created at or before the given DateTime (Inclusive)
1414
- """
1415
- createdAfter: DateTime
1416
- metaHasKey: String
1417
- search: String
1418
- slugs: [String]
1250
+ filter: [FormFilterSetType]
1251
+ order: [FormOrderSetType]
1419
1252
  ): FormConnection
1420
1253
  options(
1421
1254
  before: String
@@ -1426,7 +1259,7 @@ type DynamicChoiceQuestion implements Question & DynamicQuestion & Node {
1426
1259
  dataSource: String!
1427
1260
 
1428
1261
  """
1429
- The ID of the object.
1262
+ The ID of the object
1430
1263
  """
1431
1264
  id: ID!
1432
1265
  }
@@ -1448,42 +1281,17 @@ type DynamicMultipleChoiceQuestion implements Question & DynamicQuestion & Node
1448
1281
  isHidden: QuestionJexl!
1449
1282
  isArchived: Boolean!
1450
1283
  infoText: String
1284
+ hintText: String
1451
1285
  meta: GenericScalar!
1452
1286
  source: Question
1453
1287
  forms(
1288
+ offset: Int
1454
1289
  before: String
1455
1290
  after: String
1456
1291
  first: Int
1457
1292
  last: Int
1458
- metaValue: [JSONValueFilterType]
1459
-
1460
- """
1461
- FormOrdering
1462
- """
1463
- orderBy: [FormOrdering]
1464
- slug: String
1465
- name: String
1466
- description: String
1467
- isPublished: Boolean
1468
- isArchived: Boolean
1469
- questions: [String]
1470
- createdByUser: String
1471
- createdByGroup: String
1472
- modifiedByUser: String
1473
- modifiedByGroup: String
1474
-
1475
- """
1476
- Only return entries created after the given DateTime (Exclusive)
1477
- """
1478
- createdBefore: DateTime
1479
-
1480
- """
1481
- Only return entries created at or before the given DateTime (Inclusive)
1482
- """
1483
- createdAfter: DateTime
1484
- metaHasKey: String
1485
- search: String
1486
- slugs: [String]
1293
+ filter: [FormFilterSetType]
1294
+ order: [FormOrderSetType]
1487
1295
  ): FormConnection
1488
1296
  options(
1489
1297
  before: String
@@ -1494,7 +1302,7 @@ type DynamicMultipleChoiceQuestion implements Question & DynamicQuestion & Node
1494
1302
  dataSource: String!
1495
1303
 
1496
1304
  """
1497
- The ID of the object.
1305
+ The ID of the object
1498
1306
  """
1499
1307
  id: ID!
1500
1308
  }
@@ -1508,7 +1316,7 @@ type DynamicOption implements Node {
1508
1316
  modifiedByGroup: String
1509
1317
 
1510
1318
  """
1511
- The ID of the object.
1319
+ The ID of the object
1512
1320
  """
1513
1321
  id: ID!
1514
1322
  slug: String!
@@ -1551,6 +1359,12 @@ input DynamicOptionFilterSetType {
1551
1359
  invert: Boolean
1552
1360
  }
1553
1361
 
1362
+ input DynamicOptionOrderSetType {
1363
+ meta: String
1364
+ attribute: SortableDynamicOptionAttributes
1365
+ direction: AscDesc
1366
+ }
1367
+
1554
1368
  interface DynamicQuestion {
1555
1369
  options(
1556
1370
  before: String
@@ -1559,6 +1373,7 @@ interface DynamicQuestion {
1559
1373
  last: Int
1560
1374
  ): DataSourceDataConnection
1561
1375
  dataSource: String!
1376
+ hintText: String
1562
1377
  }
1563
1378
 
1564
1379
  type File implements Node {
@@ -1570,17 +1385,17 @@ type File implements Node {
1570
1385
  modifiedByGroup: String
1571
1386
 
1572
1387
  """
1573
- The ID of the object.
1388
+ The ID of the object
1574
1389
  """
1575
1390
  id: ID!
1576
1391
  name: String!
1577
- answer: FileAnswer
1392
+ answer: FilesAnswer
1578
1393
  uploadUrl: String
1579
1394
  downloadUrl: String
1580
1395
  metadata: GenericScalar
1581
1396
  }
1582
1397
 
1583
- type FileAnswer implements Answer & Node {
1398
+ type FilesAnswer implements Answer & Node {
1584
1399
  createdAt: DateTime!
1585
1400
  modifiedAt: DateTime!
1586
1401
  createdByUser: String
@@ -1589,16 +1404,15 @@ type FileAnswer implements Answer & Node {
1589
1404
  modifiedByGroup: String
1590
1405
 
1591
1406
  """
1592
- The ID of the object.
1407
+ The ID of the object
1593
1408
  """
1594
1409
  id: ID!
1595
1410
  question: Question!
1596
- value: File!
1411
+ value: [File]!
1597
1412
  meta: GenericScalar!
1598
- file: File
1599
1413
  }
1600
1414
 
1601
- type FileQuestion implements Question & Node {
1415
+ type FilesQuestion implements Question & Node {
1602
1416
  createdAt: DateTime!
1603
1417
  modifiedAt: DateTime!
1604
1418
  createdByUser: String
@@ -1615,46 +1429,21 @@ type FileQuestion implements Question & Node {
1615
1429
  isHidden: QuestionJexl!
1616
1430
  isArchived: Boolean!
1617
1431
  infoText: String
1432
+ hintText: String
1618
1433
  meta: GenericScalar!
1619
1434
  source: Question
1620
1435
  forms(
1436
+ offset: Int
1621
1437
  before: String
1622
1438
  after: String
1623
1439
  first: Int
1624
1440
  last: Int
1625
- metaValue: [JSONValueFilterType]
1626
-
1627
- """
1628
- FormOrdering
1629
- """
1630
- orderBy: [FormOrdering]
1631
- slug: String
1632
- name: String
1633
- description: String
1634
- isPublished: Boolean
1635
- isArchived: Boolean
1636
- questions: [String]
1637
- createdByUser: String
1638
- createdByGroup: String
1639
- modifiedByUser: String
1640
- modifiedByGroup: String
1641
-
1642
- """
1643
- Only return entries created after the given DateTime (Exclusive)
1644
- """
1645
- createdBefore: DateTime
1646
-
1647
- """
1648
- Only return entries created at or before the given DateTime (Inclusive)
1649
- """
1650
- createdAfter: DateTime
1651
- metaHasKey: String
1652
- search: String
1653
- slugs: [String]
1441
+ filter: [FormFilterSetType]
1442
+ order: [FormOrderSetType]
1654
1443
  ): FormConnection
1655
1444
 
1656
1445
  """
1657
- The ID of the object.
1446
+ The ID of the object
1658
1447
  """
1659
1448
  id: ID!
1660
1449
  }
@@ -1668,7 +1457,7 @@ type FloatAnswer implements Answer & Node {
1668
1457
  modifiedByGroup: String
1669
1458
 
1670
1459
  """
1671
- The ID of the object.
1460
+ The ID of the object
1672
1461
  """
1673
1462
  id: ID!
1674
1463
  question: Question!
@@ -1694,47 +1483,22 @@ type FloatQuestion implements Question & Node {
1694
1483
  isArchived: Boolean!
1695
1484
  placeholder: String
1696
1485
  infoText: String
1486
+ hintText: String
1697
1487
  meta: GenericScalar!
1698
1488
  source: Question
1699
1489
  defaultAnswer: FloatAnswer
1700
1490
  forms(
1491
+ offset: Int
1701
1492
  before: String
1702
1493
  after: String
1703
1494
  first: Int
1704
1495
  last: Int
1705
- metaValue: [JSONValueFilterType]
1706
-
1707
- """
1708
- FormOrdering
1709
- """
1710
- orderBy: [FormOrdering]
1711
- slug: String
1712
- name: String
1713
- description: String
1714
- isPublished: Boolean
1715
- isArchived: Boolean
1716
- questions: [String]
1717
- createdByUser: String
1718
- createdByGroup: String
1719
- modifiedByUser: String
1720
- modifiedByGroup: String
1721
-
1722
- """
1723
- Only return entries created after the given DateTime (Exclusive)
1724
- """
1725
- createdBefore: DateTime
1726
-
1727
- """
1728
- Only return entries created at or before the given DateTime (Inclusive)
1729
- """
1730
- createdAfter: DateTime
1731
- metaHasKey: String
1732
- search: String
1733
- slugs: [String]
1496
+ filter: [FormFilterSetType]
1497
+ order: [FormOrderSetType]
1734
1498
  ): FormConnection
1735
1499
 
1736
1500
  """
1737
- The ID of the object.
1501
+ The ID of the object
1738
1502
  """
1739
1503
  id: ID!
1740
1504
  minValue: Float
@@ -1750,7 +1514,7 @@ type Flow implements Node {
1750
1514
  modifiedByGroup: String
1751
1515
 
1752
1516
  """
1753
- The ID of the object.
1517
+ The ID of the object
1754
1518
  """
1755
1519
  id: ID!
1756
1520
  next: FlowJexl!
@@ -1809,6 +1573,12 @@ Examples:
1809
1573
  """
1810
1574
  scalar FlowJexl
1811
1575
 
1576
+ input FlowOrderSetType {
1577
+ meta: String
1578
+ attribute: SortableFlowAttributes
1579
+ direction: AscDesc
1580
+ }
1581
+
1812
1582
  type Form implements Node {
1813
1583
  createdAt: DateTime!
1814
1584
  modifiedAt: DateTime!
@@ -1823,41 +1593,13 @@ type Form implements Node {
1823
1593
  isPublished: Boolean!
1824
1594
  isArchived: Boolean!
1825
1595
  questions(
1596
+ offset: Int
1826
1597
  before: String
1827
1598
  after: String
1828
1599
  first: Int
1829
1600
  last: Int
1830
- metaValue: [JSONValueFilterType]
1831
- slug: String
1832
- label: String
1833
- isRequired: String
1834
- isHidden: String
1835
- isArchived: Boolean
1836
- subForm: ID
1837
- rowForm: ID
1838
- createdByUser: String
1839
- createdByGroup: String
1840
- modifiedByUser: String
1841
- modifiedByGroup: String
1842
-
1843
- """
1844
- Only return entries created after the given DateTime (Exclusive)
1845
- """
1846
- createdBefore: DateTime
1847
-
1848
- """
1849
- Only return entries created at or before the given DateTime (Inclusive)
1850
- """
1851
- createdAfter: DateTime
1852
- metaHasKey: String
1853
- excludeForms: [ID]
1854
- search: String
1855
-
1856
- """
1857
- QuestionOrdering
1858
- """
1859
- orderBy: [QuestionOrdering]
1860
- slugs: [String]
1601
+ filter: [QuestionFilterSetType]
1602
+ order: [QuestionOrderSetType]
1861
1603
  ): QuestionConnection
1862
1604
 
1863
1605
  """
@@ -1865,6 +1607,7 @@ type Form implements Node {
1865
1607
  """
1866
1608
  source: Form
1867
1609
  documents(
1610
+ offset: Int
1868
1611
  before: String
1869
1612
  after: String
1870
1613
  first: Int
@@ -1872,7 +1615,7 @@ type Form implements Node {
1872
1615
  ): DocumentConnection!
1873
1616
 
1874
1617
  """
1875
- The ID of the object.
1618
+ The ID of the object
1876
1619
  """
1877
1620
  id: ID!
1878
1621
  }
@@ -1930,110 +1673,33 @@ A Relay edge containing a `Form` and its cursor.
1930
1673
  """
1931
1674
  type FormEdge {
1932
1675
  """
1933
- The item at the end of the edge
1934
- """
1935
- node: Form
1936
-
1937
- """
1938
- A cursor for use in pagination
1939
- """
1940
- cursor: String!
1941
- }
1942
-
1943
- input FormFilterSetType {
1944
- orderBy: [FormOrdering]
1945
- slug: String
1946
- name: String
1947
- description: String
1948
- isPublished: Boolean
1949
- isArchived: Boolean
1950
- questions: [String]
1951
- createdByUser: String
1952
- createdByGroup: String
1953
- modifiedByUser: String
1954
- modifiedByGroup: String
1955
- createdBefore: DateTime
1956
- createdAfter: DateTime
1957
- metaHasKey: String
1958
- metaValue: [JSONValueFilterType]
1959
- search: String
1960
- slugs: [String]
1961
- invert: Boolean
1962
- }
1963
-
1964
- """
1965
- An enumeration.
1966
- """
1967
- enum FormOrdering {
1968
- """
1969
- Name
1970
- """
1971
- NAME_ASC
1972
-
1973
- """
1974
- Name (descending)
1975
- """
1976
- NAME_DESC
1977
-
1978
- """
1979
- Created at
1980
- """
1981
- CREATED_AT_ASC
1982
-
1983
- """
1984
- Created at (descending)
1985
- """
1986
- CREATED_AT_DESC
1987
-
1988
- """
1989
- Modified at
1990
- """
1991
- MODIFIED_AT_ASC
1992
-
1993
- """
1994
- Modified at (descending)
1995
- """
1996
- MODIFIED_AT_DESC
1997
-
1998
- """
1999
- Created by user
2000
- """
2001
- CREATED_BY_USER_ASC
2002
-
2003
- """
2004
- Created by user (descending)
2005
- """
2006
- CREATED_BY_USER_DESC
2007
-
2008
- """
2009
- Created by group
2010
- """
2011
- CREATED_BY_GROUP_ASC
2012
-
2013
- """
2014
- Created by group (descending)
2015
- """
2016
- CREATED_BY_GROUP_DESC
2017
-
2018
- """
2019
- Modified by user
2020
- """
2021
- MODIFIED_BY_USER_ASC
2022
-
2023
- """
2024
- Modified by user (descending)
2025
- """
2026
- MODIFIED_BY_USER_DESC
2027
-
2028
- """
2029
- Modified by group
1676
+ The item at the end of the edge
2030
1677
  """
2031
- MODIFIED_BY_GROUP_ASC
1678
+ node: Form
2032
1679
 
2033
1680
  """
2034
- Modified by group (descending)
1681
+ A cursor for use in pagination
2035
1682
  """
2036
- MODIFIED_BY_GROUP_DESC
1683
+ cursor: String!
1684
+ }
1685
+
1686
+ input FormFilterSetType {
1687
+ name: String
1688
+ description: String
1689
+ isPublished: Boolean
1690
+ isArchived: Boolean
1691
+ questions: [String]
1692
+ createdByUser: String
1693
+ createdByGroup: String
1694
+ modifiedByUser: String
1695
+ modifiedByGroup: String
1696
+ createdBefore: DateTime
1697
+ createdAfter: DateTime
1698
+ metaHasKey: String
1699
+ metaValue: [JSONValueFilterType]
1700
+ search: String
1701
+ slugs: [String]
1702
+ invert: Boolean
2037
1703
  }
2038
1704
 
2039
1705
  input FormOrderSetType {
@@ -2062,39 +1728,13 @@ type FormQuestion implements Question & Node {
2062
1728
  meta: GenericScalar!
2063
1729
  source: Question
2064
1730
  forms(
1731
+ offset: Int
2065
1732
  before: String
2066
1733
  after: String
2067
1734
  first: Int
2068
1735
  last: Int
2069
- metaValue: [JSONValueFilterType]
2070
-
2071
- """
2072
- FormOrdering
2073
- """
2074
- orderBy: [FormOrdering]
2075
- slug: String
2076
- name: String
2077
- description: String
2078
- isPublished: Boolean
2079
- isArchived: Boolean
2080
- questions: [String]
2081
- createdByUser: String
2082
- createdByGroup: String
2083
- modifiedByUser: String
2084
- modifiedByGroup: String
2085
-
2086
- """
2087
- Only return entries created after the given DateTime (Exclusive)
2088
- """
2089
- createdBefore: DateTime
2090
-
2091
- """
2092
- Only return entries created at or before the given DateTime (Inclusive)
2093
- """
2094
- createdAfter: DateTime
2095
- metaHasKey: String
2096
- search: String
2097
- slugs: [String]
1736
+ filter: [FormFilterSetType]
1737
+ order: [FormOrderSetType]
2098
1738
  ): FormConnection
2099
1739
 
2100
1740
  """
@@ -2103,7 +1743,7 @@ type FormQuestion implements Question & Node {
2103
1743
  subForm: Form
2104
1744
 
2105
1745
  """
2106
- The ID of the object.
1746
+ The ID of the object
2107
1747
  """
2108
1748
  id: ID!
2109
1749
  }
@@ -2147,7 +1787,7 @@ type IntegerAnswer implements Answer & Node {
2147
1787
  modifiedByGroup: String
2148
1788
 
2149
1789
  """
2150
- The ID of the object.
1790
+ The ID of the object
2151
1791
  """
2152
1792
  id: ID!
2153
1793
  question: Question!
@@ -2173,47 +1813,22 @@ type IntegerQuestion implements Question & Node {
2173
1813
  isArchived: Boolean!
2174
1814
  placeholder: String
2175
1815
  infoText: String
1816
+ hintText: String
2176
1817
  meta: GenericScalar!
2177
1818
  source: Question
2178
1819
  defaultAnswer: IntegerAnswer
2179
1820
  forms(
1821
+ offset: Int
2180
1822
  before: String
2181
1823
  after: String
2182
1824
  first: Int
2183
1825
  last: Int
2184
- metaValue: [JSONValueFilterType]
2185
-
2186
- """
2187
- FormOrdering
2188
- """
2189
- orderBy: [FormOrdering]
2190
- slug: String
2191
- name: String
2192
- description: String
2193
- isPublished: Boolean
2194
- isArchived: Boolean
2195
- questions: [String]
2196
- createdByUser: String
2197
- createdByGroup: String
2198
- modifiedByUser: String
2199
- modifiedByGroup: String
2200
-
2201
- """
2202
- Only return entries created after the given DateTime (Exclusive)
2203
- """
2204
- createdBefore: DateTime
2205
-
2206
- """
2207
- Only return entries created at or before the given DateTime (Inclusive)
2208
- """
2209
- createdAfter: DateTime
2210
- metaHasKey: String
2211
- search: String
2212
- slugs: [String]
1826
+ filter: [FormFilterSetType]
1827
+ order: [FormOrderSetType]
2213
1828
  ): FormConnection
2214
1829
 
2215
1830
  """
2216
- The ID of the object.
1831
+ The ID of the object
2217
1832
  """
2218
1833
  id: ID!
2219
1834
  maxValue: Int
@@ -2255,7 +1870,7 @@ type ListAnswer implements Answer & Node {
2255
1870
  modifiedByGroup: String
2256
1871
 
2257
1872
  """
2258
- The ID of the object.
1873
+ The ID of the object
2259
1874
  """
2260
1875
  id: ID!
2261
1876
  question: Question!
@@ -2286,84 +1901,45 @@ type MultipleChoiceQuestion implements Question & Node {
2286
1901
  isHidden: QuestionJexl!
2287
1902
  isArchived: Boolean!
2288
1903
  infoText: String
1904
+ hintText: String
2289
1905
  meta: GenericScalar!
2290
1906
  source: Question
2291
1907
  defaultAnswer: ListAnswer
2292
1908
  forms(
1909
+ offset: Int
2293
1910
  before: String
2294
1911
  after: String
2295
1912
  first: Int
2296
1913
  last: Int
2297
- metaValue: [JSONValueFilterType]
2298
-
2299
- """
2300
- FormOrdering
2301
- """
2302
- orderBy: [FormOrdering]
2303
- slug: String
2304
- name: String
2305
- description: String
2306
- isPublished: Boolean
2307
- isArchived: Boolean
2308
- questions: [String]
2309
- createdByUser: String
2310
- createdByGroup: String
2311
- modifiedByUser: String
2312
- modifiedByGroup: String
2313
-
2314
- """
2315
- Only return entries created after the given DateTime (Exclusive)
2316
- """
2317
- createdBefore: DateTime
2318
-
2319
- """
2320
- Only return entries created at or before the given DateTime (Inclusive)
2321
- """
2322
- createdAfter: DateTime
2323
- metaHasKey: String
2324
- search: String
2325
- slugs: [String]
1914
+ filter: [FormFilterSetType]
1915
+ order: [FormOrderSetType]
2326
1916
  ): FormConnection
2327
1917
  options(
1918
+ offset: Int
2328
1919
  before: String
2329
1920
  after: String
2330
1921
  first: Int
2331
1922
  last: Int
2332
- metaValue: [JSONValueFilterType]
2333
-
2334
- """
2335
- OptionOrdering
2336
- """
2337
- orderBy: [OptionOrdering]
2338
- slug: String
2339
- label: String
2340
- isArchived: Boolean
2341
- createdByUser: String
2342
- createdByGroup: String
2343
- modifiedByUser: String
2344
- modifiedByGroup: String
2345
-
2346
- """
2347
- Only return entries created after the given DateTime (Exclusive)
2348
- """
2349
- createdBefore: DateTime
2350
-
2351
- """
2352
- Only return entries created at or before the given DateTime (Inclusive)
2353
- """
2354
- createdAfter: DateTime
2355
- metaHasKey: String
2356
- search: String
1923
+ filter: [OptionFilterSetType]
1924
+ order: [OptionOrderSetType]
2357
1925
  ): OptionConnection
2358
1926
  staticContent: String
2359
1927
 
2360
1928
  """
2361
- The ID of the object.
1929
+ The ID of the object
2362
1930
  """
2363
1931
  id: ID!
2364
1932
  }
2365
1933
 
2366
1934
  type Mutation {
1935
+ saveAnalyticsTable(input: SaveAnalyticsTableInput!): SaveAnalyticsTablePayload
1936
+ removeAnalyticsTable(
1937
+ input: RemoveAnalyticsTableInput!
1938
+ ): RemoveAnalyticsTablePayload
1939
+ saveAnalyticsField(input: SaveAnalyticsFieldInput!): SaveAnalyticsFieldPayload
1940
+ removeAnalyticsField(
1941
+ input: RemoveAnalyticsFieldInput!
1942
+ ): RemoveAnalyticsFieldPayload
2367
1943
  saveWorkflow(input: SaveWorkflowInput!): SaveWorkflowPayload
2368
1944
  addWorkflowFlow(input: AddWorkflowFlowInput!): AddWorkflowFlowPayload
2369
1945
  removeFlow(input: RemoveFlowInput!): RemoveFlowPayload
@@ -2380,11 +1956,13 @@ type Mutation {
2380
1956
  cancelCase(input: CancelCaseInput!): CancelCasePayload
2381
1957
  suspendCase(input: SuspendCaseInput!): SuspendCasePayload
2382
1958
  resumeCase(input: ResumeCaseInput!): ResumeCasePayload
1959
+ reopenCase(input: ReopenCaseInput!): ReopenCasePayload
2383
1960
  completeWorkItem(input: CompleteWorkItemInput!): CompleteWorkItemPayload
2384
1961
  skipWorkItem(input: SkipWorkItemInput!): SkipWorkItemPayload
2385
1962
  cancelWorkItem(input: CancelWorkItemInput!): CancelWorkItemPayload
2386
1963
  suspendWorkItem(input: SuspendWorkItemInput!): SuspendWorkItemPayload
2387
1964
  resumeWorkItem(input: ResumeWorkItemInput!): ResumeWorkItemPayload
1965
+ redoWorkItem(input: RedoWorkItemInput!): RedoWorkItemPayload
2388
1966
  saveWorkItem(input: SaveWorkItemInput!): SaveWorkItemPayload
2389
1967
  createWorkItem(input: CreateWorkItemInput!): CreateWorkItemPayload
2390
1968
  saveForm(input: SaveFormInput!): SaveFormPayload
@@ -2422,7 +2000,7 @@ type Mutation {
2422
2000
  ): SaveIntegerQuestionPayload
2423
2001
  saveTableQuestion(input: SaveTableQuestionInput!): SaveTableQuestionPayload
2424
2002
  saveFormQuestion(input: SaveFormQuestionInput!): SaveFormQuestionPayload
2425
- saveFileQuestion(input: SaveFileQuestionInput!): SaveFileQuestionPayload
2003
+ saveFilesQuestion(input: SaveFilesQuestionInput!): SaveFilesQuestionPayload
2426
2004
  saveStaticQuestion(input: SaveStaticQuestionInput!): SaveStaticQuestionPayload
2427
2005
  saveCalculatedFloatQuestion(
2428
2006
  input: SaveCalculatedFloatQuestionInput!
@@ -2450,9 +2028,9 @@ type Mutation {
2450
2028
  saveDocumentTableAnswer(
2451
2029
  input: SaveDocumentTableAnswerInput!
2452
2030
  ): SaveDocumentTableAnswerPayload
2453
- saveDocumentFileAnswer(
2454
- input: SaveDocumentFileAnswerInput!
2455
- ): SaveDocumentFileAnswerPayload
2031
+ saveDocumentFilesAnswer(
2032
+ input: SaveDocumentFilesAnswerInput!
2033
+ ): SaveDocumentFilesAnswerPayload
2456
2034
  saveDefaultStringAnswer(
2457
2035
  input: SaveDefaultStringAnswerInput!
2458
2036
  ): SaveDefaultStringAnswerPayload
@@ -2483,7 +2061,7 @@ An object with an ID
2483
2061
  """
2484
2062
  interface Node {
2485
2063
  """
2486
- The ID of the object.
2064
+ The ID of the object
2487
2065
  """
2488
2066
  id: ID!
2489
2067
  }
@@ -2506,7 +2084,7 @@ type Option implements Node {
2506
2084
  source: Option
2507
2085
 
2508
2086
  """
2509
- The ID of the object.
2087
+ The ID of the object
2510
2088
  """
2511
2089
  id: ID!
2512
2090
  }
@@ -2539,79 +2117,26 @@ type OptionEdge {
2539
2117
  cursor: String!
2540
2118
  }
2541
2119
 
2542
- """
2543
- An enumeration.
2544
- """
2545
- enum OptionOrdering {
2546
- """
2547
- Label
2548
- """
2549
- LABEL_ASC
2550
-
2551
- """
2552
- Label (descending)
2553
- """
2554
- LABEL_DESC
2555
-
2556
- """
2557
- Created at
2558
- """
2559
- CREATED_AT_ASC
2560
-
2561
- """
2562
- Created at (descending)
2563
- """
2564
- CREATED_AT_DESC
2565
-
2566
- """
2567
- Modified at
2568
- """
2569
- MODIFIED_AT_ASC
2570
-
2571
- """
2572
- Modified at (descending)
2573
- """
2574
- MODIFIED_AT_DESC
2575
-
2576
- """
2577
- Created by user
2578
- """
2579
- CREATED_BY_USER_ASC
2580
-
2581
- """
2582
- Created by user (descending)
2583
- """
2584
- CREATED_BY_USER_DESC
2585
-
2586
- """
2587
- Created by group
2588
- """
2589
- CREATED_BY_GROUP_ASC
2590
-
2591
- """
2592
- Created by group (descending)
2593
- """
2594
- CREATED_BY_GROUP_DESC
2595
-
2596
- """
2597
- Modified by user
2598
- """
2599
- MODIFIED_BY_USER_ASC
2600
-
2601
- """
2602
- Modified by user (descending)
2603
- """
2604
- MODIFIED_BY_USER_DESC
2605
-
2606
- """
2607
- Modified by group
2608
- """
2609
- MODIFIED_BY_GROUP_ASC
2120
+ input OptionFilterSetType {
2121
+ slug: String
2122
+ label: String
2123
+ isArchived: Boolean
2124
+ createdByUser: String
2125
+ createdByGroup: String
2126
+ modifiedByUser: String
2127
+ modifiedByGroup: String
2128
+ createdBefore: DateTime
2129
+ createdAfter: DateTime
2130
+ metaHasKey: String
2131
+ metaValue: [JSONValueFilterType]
2132
+ search: String
2133
+ invert: Boolean
2134
+ }
2610
2135
 
2611
- """
2612
- Modified by group (descending)
2613
- """
2614
- MODIFIED_BY_GROUP_DESC
2136
+ input OptionOrderSetType {
2137
+ meta: String
2138
+ attribute: SortableOptionAttributes
2139
+ direction: AscDesc
2615
2140
  }
2616
2141
 
2617
2142
  """
@@ -2640,6 +2165,25 @@ type PageInfo {
2640
2165
  }
2641
2166
 
2642
2167
  type Query {
2168
+ allAnalyticsTables(
2169
+ offset: Int
2170
+ before: String
2171
+ after: String
2172
+ first: Int
2173
+ last: Int
2174
+ filter: [AnalyticsTableFilterSetType]
2175
+ order: [AnalyticsTableOrderSetType]
2176
+ ): AnalyticsTableConnection
2177
+ analyticsTable(slug: String!): AnalyticsTable
2178
+ allAnalyticsFields(
2179
+ offset: Int
2180
+ before: String
2181
+ after: String
2182
+ first: Int
2183
+ last: Int
2184
+ filter: [AnalyticsFieldFilterSetType]
2185
+ order: [AnalyticsFieldOrderSetType]
2186
+ ): AnalyticsFieldConnection
2643
2187
  allDataSources(
2644
2188
  before: String
2645
2189
  after: String
@@ -2654,281 +2198,67 @@ type Query {
2654
2198
  last: Int
2655
2199
  ): DataSourceDataConnection
2656
2200
  allWorkflows(
2201
+ offset: Int
2657
2202
  before: String
2658
2203
  after: String
2659
2204
  first: Int
2660
2205
  last: Int
2661
- metaValue: [JSONValueFilterType]
2662
- slug: String
2663
- name: String
2664
- description: String
2665
- isPublished: Boolean
2666
- isArchived: Boolean
2667
-
2668
- """
2669
- WorkflowOrdering
2670
- """
2671
- orderBy: [WorkflowOrdering]
2672
2206
  filter: [WorkflowFilterSetType]
2673
2207
  order: [WorkflowOrderSetType]
2674
- createdByUser: String
2675
- createdByGroup: String
2676
- modifiedByUser: String
2677
- modifiedByGroup: String
2678
-
2679
- """
2680
- Only return entries created after the given DateTime (Exclusive)
2681
- """
2682
- createdBefore: DateTime
2683
-
2684
- """
2685
- Only return entries created at or before the given DateTime (Inclusive)
2686
- """
2687
- createdAfter: DateTime
2688
- metaHasKey: String
2689
- search: String
2690
2208
  ): WorkflowConnection
2691
2209
  allTasks(
2210
+ offset: Int
2692
2211
  before: String
2693
2212
  after: String
2694
2213
  first: Int
2695
2214
  last: Int
2696
- metaValue: [JSONValueFilterType]
2697
- slug: String
2698
- name: String
2699
- description: String
2700
- type: TaskTypeArgument
2701
- isArchived: Boolean
2702
-
2703
- """
2704
- TaskOrdering
2705
- """
2706
- orderBy: [TaskOrdering]
2707
2215
  filter: [TaskFilterSetType]
2708
2216
  order: [TaskOrderSetType]
2709
- createdByUser: String
2710
- createdByGroup: String
2711
- modifiedByUser: String
2712
- modifiedByGroup: String
2713
-
2714
- """
2715
- Only return entries created after the given DateTime (Exclusive)
2716
- """
2717
- createdBefore: DateTime
2718
-
2719
- """
2720
- Only return entries created at or before the given DateTime (Inclusive)
2721
- """
2722
- createdAfter: DateTime
2723
- metaHasKey: String
2724
- search: String
2725
2217
  ): TaskConnection
2726
2218
  allCases(
2219
+ offset: Int
2727
2220
  before: String
2728
2221
  after: String
2729
2222
  first: Int
2730
2223
  last: Int
2731
- metaValue: [JSONValueFilterType]
2732
- workflow: ID
2733
-
2734
- """
2735
- CaseOrdering
2736
- """
2737
- orderBy: [CaseOrdering]
2738
2224
  filter: [CaseFilterSetType]
2739
2225
  order: [CaseOrderSetType]
2740
- createdByUser: String
2741
- createdByGroup: String
2742
- modifiedByUser: String
2743
- modifiedByGroup: String
2744
-
2745
- """
2746
- Only return entries created after the given DateTime (Exclusive)
2747
- """
2748
- createdBefore: DateTime
2749
-
2750
- """
2751
- Only return entries created at or before the given DateTime (Inclusive)
2752
- """
2753
- createdAfter: DateTime
2754
- metaHasKey: String
2755
- id: ID
2756
- documentForm: String
2757
- documentForms: [String]
2758
- hasAnswer: [HasAnswerFilterType]
2759
- workItemDocumentHasAnswer: [HasAnswerFilterType]
2760
- rootCase: ID
2761
- searchAnswers: [SearchAnswersFilterType]
2762
- status: [CaseStatusArgument]
2763
-
2764
- """
2765
- Expects a question slug. If the slug is prefixed with a hyphen, the order will be reversed
2766
-
2767
- For file questions, the filename is used for sorting.
2768
-
2769
- Table questions are not supported at this time.
2770
- """
2771
- orderByQuestionAnswerValue: String
2772
2226
  ): CaseConnection
2773
2227
  allWorkItems(
2228
+ offset: Int
2774
2229
  before: String
2775
2230
  after: String
2776
2231
  first: Int
2777
2232
  last: Int
2778
- metaValue: [JSONValueFilterType]
2779
- status: WorkItemStatusArgument
2780
-
2781
- """
2782
- WorkItemOrdering
2783
- """
2784
- orderBy: [WorkItemOrdering]
2785
2233
  filter: [WorkItemFilterSetType]
2786
2234
  order: [WorkItemOrderSetType]
2787
- documentHasAnswer: [HasAnswerFilterType]
2788
- caseDocumentHasAnswer: [HasAnswerFilterType]
2789
- caseMetaValue: [JSONValueFilterType]
2790
- rootCaseMetaValue: [JSONValueFilterType]
2791
- name: String
2792
- task: ID
2793
- tasks: [String]
2794
- case: ID
2795
- createdAt: DateTime
2796
- closedAt: DateTime
2797
- modifiedAt: DateTime
2798
- deadline: DateTime
2799
- hasDeadline: Boolean
2800
- caseFamily: ID
2801
- createdByUser: String
2802
- createdByGroup: String
2803
- modifiedByUser: String
2804
- modifiedByGroup: String
2805
-
2806
- """
2807
- Only return entries created after the given DateTime (Exclusive)
2808
- """
2809
- createdBefore: DateTime
2810
-
2811
- """
2812
- Only return entries created at or before the given DateTime (Inclusive)
2813
- """
2814
- createdAfter: DateTime
2815
- metaHasKey: String
2816
- id: ID
2817
- addressedGroups: [String]
2818
- controllingGroups: [String]
2819
- assignedUsers: [String]
2820
2235
  ): WorkItemConnection
2821
2236
  allForms(
2237
+ offset: Int
2822
2238
  before: String
2823
2239
  after: String
2824
2240
  first: Int
2825
2241
  last: Int
2826
- metaValue: [JSONValueFilterType]
2827
-
2828
- """
2829
- FormOrdering
2830
- """
2831
- orderBy: [FormOrdering]
2832
- slug: String
2833
- name: String
2834
- description: String
2835
- isPublished: Boolean
2836
- isArchived: Boolean
2837
- questions: [String]
2838
2242
  filter: [FormFilterSetType]
2839
2243
  order: [FormOrderSetType]
2840
- createdByUser: String
2841
- createdByGroup: String
2842
- modifiedByUser: String
2843
- modifiedByGroup: String
2844
-
2845
- """
2846
- Only return entries created after the given DateTime (Exclusive)
2847
- """
2848
- createdBefore: DateTime
2849
-
2850
- """
2851
- Only return entries created at or before the given DateTime (Inclusive)
2852
- """
2853
- createdAfter: DateTime
2854
- metaHasKey: String
2855
- search: String
2856
- slugs: [String]
2857
2244
  ): FormConnection
2858
2245
  allQuestions(
2246
+ offset: Int
2859
2247
  before: String
2860
2248
  after: String
2861
2249
  first: Int
2862
2250
  last: Int
2863
- metaValue: [JSONValueFilterType]
2864
-
2865
- """
2866
- QuestionOrdering
2867
- """
2868
- orderBy: [QuestionOrdering]
2869
- slug: String
2870
- label: String
2871
- isRequired: String
2872
- isHidden: String
2873
- isArchived: Boolean
2874
- subForm: ID
2875
- rowForm: ID
2876
2251
  filter: [QuestionFilterSetType]
2877
2252
  order: [QuestionOrderSetType]
2878
- createdByUser: String
2879
- createdByGroup: String
2880
- modifiedByUser: String
2881
- modifiedByGroup: String
2882
-
2883
- """
2884
- Only return entries created after the given DateTime (Exclusive)
2885
- """
2886
- createdBefore: DateTime
2887
-
2888
- """
2889
- Only return entries created at or before the given DateTime (Inclusive)
2890
- """
2891
- createdAfter: DateTime
2892
- metaHasKey: String
2893
- excludeForms: [ID]
2894
- search: String
2895
- slugs: [String]
2896
2253
  ): QuestionConnection
2897
2254
  allDocuments(
2255
+ offset: Int
2898
2256
  before: String
2899
2257
  after: String
2900
2258
  first: Int
2901
2259
  last: Int
2902
- metaValue: [JSONValueFilterType]
2903
- form: ID
2904
- forms: [ID]
2905
- search: String
2906
- id: ID
2907
-
2908
- """
2909
- DocumentOrdering
2910
- """
2911
- orderBy: [DocumentOrdering]
2912
2260
  filter: [DocumentFilterSetType]
2913
2261
  order: [DocumentOrderSetType]
2914
- createdByUser: String
2915
- createdByGroup: String
2916
- modifiedByUser: String
2917
- modifiedByGroup: String
2918
-
2919
- """
2920
- Only return entries created after the given DateTime (Exclusive)
2921
- """
2922
- createdBefore: DateTime
2923
-
2924
- """
2925
- Only return entries created at or before the given DateTime (Inclusive)
2926
- """
2927
- createdAfter: DateTime
2928
- metaHasKey: String
2929
- rootDocument: ID
2930
- hasAnswer: [HasAnswerFilterType]
2931
- searchAnswers: [SearchAnswersFilterType]
2932
2262
  ): DocumentConnection
2933
2263
  allFormatValidators(
2934
2264
  before: String
@@ -2937,27 +2267,13 @@ type Query {
2937
2267
  last: Int
2938
2268
  ): FormatValidatorConnection
2939
2269
  allUsedDynamicOptions(
2270
+ offset: Int
2940
2271
  before: String
2941
2272
  after: String
2942
2273
  first: Int
2943
2274
  last: Int
2944
- question: ID
2945
- document: ID
2946
2275
  filter: [DynamicOptionFilterSetType]
2947
- createdByUser: String
2948
- createdByGroup: String
2949
- modifiedByUser: String
2950
- modifiedByGroup: String
2951
-
2952
- """
2953
- Only return entries created after the given DateTime (Exclusive)
2954
- """
2955
- createdBefore: DateTime
2956
-
2957
- """
2958
- Only return entries created at or before the given DateTime (Inclusive)
2959
- """
2960
- createdAfter: DateTime
2276
+ order: [DynamicOptionOrderSetType]
2961
2277
  ): DynamicOptionConnection
2962
2278
  documentValidity(
2963
2279
  id: ID!
@@ -2995,39 +2311,13 @@ interface Question {
2995
2311
  isArchived: Boolean!
2996
2312
  meta: GenericScalar!
2997
2313
  forms(
2314
+ offset: Int
2998
2315
  before: String
2999
2316
  after: String
3000
2317
  first: Int
3001
2318
  last: Int
3002
- slug: String
3003
- name: String
3004
- description: String
3005
- isPublished: Boolean
3006
- isArchived: Boolean
3007
- questions: [String]
3008
- createdByUser: String
3009
- createdByGroup: String
3010
- modifiedByUser: String
3011
- modifiedByGroup: String
3012
-
3013
- """
3014
- Only return entries created after the given DateTime (Exclusive)
3015
- """
3016
- createdBefore: DateTime
3017
-
3018
- """
3019
- Only return entries created at or before the given DateTime (Inclusive)
3020
- """
3021
- createdAfter: DateTime
3022
- metaHasKey: String
3023
- metaValue: [JSONValueFilterType]
3024
- search: String
3025
-
3026
- """
3027
- FormOrdering
3028
- """
3029
- orderBy: [FormOrdering]
3030
- slugs: [String]
2319
+ filter: [FormFilterSetType]
2320
+ order: [FormOrderSetType]
3031
2321
  ): FormConnection
3032
2322
  source: Question
3033
2323
  }
@@ -3061,8 +2351,6 @@ type QuestionEdge {
3061
2351
  }
3062
2352
 
3063
2353
  input QuestionFilterSetType {
3064
- orderBy: [QuestionOrdering]
3065
- slug: String
3066
2354
  label: String
3067
2355
  isRequired: String
3068
2356
  isHidden: String
@@ -3102,85 +2390,45 @@ Examples:
3102
2390
  """
3103
2391
  scalar QuestionJexl
3104
2392
 
3105
- """
3106
- An enumeration.
3107
- """
3108
- enum QuestionOrdering {
3109
- """
3110
- Label
3111
- """
3112
- LABEL_ASC
3113
-
3114
- """
3115
- Label (descending)
3116
- """
3117
- LABEL_DESC
3118
-
3119
- """
3120
- Created at
3121
- """
3122
- CREATED_AT_ASC
3123
-
3124
- """
3125
- Created at (descending)
3126
- """
3127
- CREATED_AT_DESC
3128
-
3129
- """
3130
- Modified at
3131
- """
3132
- MODIFIED_AT_ASC
3133
-
3134
- """
3135
- Modified at (descending)
3136
- """
3137
- MODIFIED_AT_DESC
3138
-
3139
- """
3140
- Created by user
3141
- """
3142
- CREATED_BY_USER_ASC
3143
-
3144
- """
3145
- Created by user (descending)
3146
- """
3147
- CREATED_BY_USER_DESC
2393
+ input QuestionOrderSetType {
2394
+ meta: String
2395
+ attribute: SortableQuestionAttributes
2396
+ direction: AscDesc
2397
+ }
3148
2398
 
3149
- """
3150
- Created by group
3151
- """
3152
- CREATED_BY_GROUP_ASC
2399
+ input RedoWorkItemInput {
2400
+ id: ID!
3153
2401
 
3154
2402
  """
3155
- Created by group (descending)
2403
+ Provide extra context for dynamic jexl transforms and events
3156
2404
  """
3157
- CREATED_BY_GROUP_DESC
2405
+ context: JSONString
2406
+ clientMutationId: String
2407
+ }
3158
2408
 
3159
- """
3160
- Modified by user
3161
- """
3162
- MODIFIED_BY_USER_ASC
2409
+ type RedoWorkItemPayload {
2410
+ workItem: WorkItem
2411
+ clientMutationId: String
2412
+ }
3163
2413
 
3164
- """
3165
- Modified by user (descending)
3166
- """
3167
- MODIFIED_BY_USER_DESC
2414
+ input RemoveAnalyticsFieldInput {
2415
+ id: ID!
2416
+ clientMutationId: String
2417
+ }
3168
2418
 
3169
- """
3170
- Modified by group
3171
- """
3172
- MODIFIED_BY_GROUP_ASC
2419
+ type RemoveAnalyticsFieldPayload {
2420
+ analyticsField: AnalyticsField
2421
+ clientMutationId: String
2422
+ }
3173
2423
 
3174
- """
3175
- Modified by group (descending)
3176
- """
3177
- MODIFIED_BY_GROUP_DESC
2424
+ input RemoveAnalyticsTableInput {
2425
+ slug: ID!
2426
+ clientMutationId: String
3178
2427
  }
3179
2428
 
3180
- input QuestionOrderSetType {
3181
- meta: String
3182
- attribute: SortableQuestionAttributes
3183
- direction: AscDesc
2429
+ type RemoveAnalyticsTablePayload {
2430
+ analyticsTable: AnalyticsTable
2431
+ clientMutationId: String
3184
2432
  }
3185
2433
 
3186
2434
  input RemoveAnswerInput {
@@ -3234,6 +2482,26 @@ type RemoveFormQuestionPayload {
3234
2482
  clientMutationId: String
3235
2483
  }
3236
2484
 
2485
+ input ReopenCaseInput {
2486
+ id: ID!
2487
+
2488
+ """
2489
+ List of work item ids to be readied when the case is reopened
2490
+ """
2491
+ workItems: [ID]!
2492
+
2493
+ """
2494
+ Provide extra context for dynamic jexl transforms and events
2495
+ """
2496
+ context: JSONString
2497
+ clientMutationId: String
2498
+ }
2499
+
2500
+ type ReopenCasePayload {
2501
+ case: Case
2502
+ clientMutationId: String
2503
+ }
2504
+
3237
2505
  input ReorderFormQuestionsInput {
3238
2506
  form: ID!
3239
2507
  questions: [ID]!
@@ -3293,6 +2561,45 @@ type SaveActionButtonQuestionPayload {
3293
2561
  clientMutationId: String
3294
2562
  }
3295
2563
 
2564
+ input SaveAnalyticsFieldInput {
2565
+ id: ID
2566
+ alias: String!
2567
+ table: ID!
2568
+ dataSource: String!
2569
+ filters: [String]
2570
+ showOutput: Boolean
2571
+ meta: JSONString
2572
+ function: AggregateFunction!
2573
+ createdByUser: String
2574
+ createdByGroup: String
2575
+ modifiedByUser: String
2576
+ modifiedByGroup: String
2577
+ clientMutationId: String
2578
+ }
2579
+
2580
+ type SaveAnalyticsFieldPayload {
2581
+ analyticsField: AnalyticsField
2582
+ clientMutationId: String
2583
+ }
2584
+
2585
+ input SaveAnalyticsTableInput {
2586
+ slug: String!
2587
+ name: String!
2588
+ startingObject: StartingObject!
2589
+ disableVisibilities: Boolean
2590
+ meta: JSONString
2591
+ createdByUser: String
2592
+ createdByGroup: String
2593
+ modifiedByUser: String
2594
+ modifiedByGroup: String
2595
+ clientMutationId: String
2596
+ }
2597
+
2598
+ type SaveAnalyticsTablePayload {
2599
+ analyticsTable: AnalyticsTable
2600
+ clientMutationId: String
2601
+ }
2602
+
3296
2603
  input SaveCalculatedFloatQuestionInput {
3297
2604
  slug: String!
3298
2605
  label: String!
@@ -3302,6 +2609,7 @@ input SaveCalculatedFloatQuestionInput {
3302
2609
  meta: JSONString
3303
2610
  isArchived: Boolean
3304
2611
  calcExpression: QuestionJexl
2612
+ hintText: String
3305
2613
  clientMutationId: String
3306
2614
  }
3307
2615
 
@@ -3338,6 +2646,7 @@ input SaveChoiceQuestionInput {
3338
2646
  meta: JSONString
3339
2647
  isArchived: Boolean
3340
2648
  options: [ID]!
2649
+ hintText: String
3341
2650
  clientMutationId: String
3342
2651
  }
3343
2652
 
@@ -3374,6 +2683,11 @@ input SaveCompleteTaskFormTaskInput {
3374
2683
  `address_groups`.
3375
2684
  """
3376
2685
  isMultipleInstance: Boolean
2686
+
2687
+ """
2688
+ Whether to continue the flow if the multiple instance work item has ready siblings
2689
+ """
2690
+ continueAsync: Boolean
3377
2691
  form: ID!
3378
2692
  clientMutationId: String
3379
2693
  }
@@ -3411,6 +2725,11 @@ input SaveCompleteWorkflowFormTaskInput {
3411
2725
  `address_groups`.
3412
2726
  """
3413
2727
  isMultipleInstance: Boolean
2728
+
2729
+ """
2730
+ Whether to continue the flow if the multiple instance work item has ready siblings
2731
+ """
2732
+ continueAsync: Boolean
3414
2733
  clientMutationId: String
3415
2734
  }
3416
2735
 
@@ -3427,6 +2746,7 @@ input SaveDateQuestionInput {
3427
2746
  isHidden: QuestionJexl
3428
2747
  meta: JSONString
3429
2748
  isArchived: Boolean
2749
+ hintText: String
3430
2750
  clientMutationId: String
3431
2751
  }
3432
2752
 
@@ -3524,16 +2844,15 @@ type SaveDocumentDateAnswerPayload {
3524
2844
  clientMutationId: String
3525
2845
  }
3526
2846
 
3527
- input SaveDocumentFileAnswerInput {
2847
+ input SaveDocumentFilesAnswerInput {
2848
+ value: [SaveFile]
3528
2849
  question: ID!
3529
2850
  document: ID!
3530
2851
  meta: JSONString
3531
- value: String
3532
- valueId: ID
3533
2852
  clientMutationId: String
3534
2853
  }
3535
2854
 
3536
- type SaveDocumentFileAnswerPayload {
2855
+ type SaveDocumentFilesAnswerPayload {
3537
2856
  answer: Answer
3538
2857
  clientMutationId: String
3539
2858
  }
@@ -3628,6 +2947,7 @@ input SaveDynamicChoiceQuestionInput {
3628
2947
  meta: JSONString
3629
2948
  isArchived: Boolean
3630
2949
  dataSource: String!
2950
+ hintText: String
3631
2951
  clientMutationId: String
3632
2952
  }
3633
2953
 
@@ -3645,6 +2965,7 @@ input SaveDynamicMultipleChoiceQuestionInput {
3645
2965
  meta: JSONString
3646
2966
  isArchived: Boolean
3647
2967
  dataSource: String!
2968
+ hintText: String
3648
2969
  clientMutationId: String
3649
2970
  }
3650
2971
 
@@ -3653,7 +2974,12 @@ type SaveDynamicMultipleChoiceQuestionPayload {
3653
2974
  clientMutationId: String
3654
2975
  }
3655
2976
 
3656
- input SaveFileQuestionInput {
2977
+ input SaveFile {
2978
+ id: String
2979
+ name: String
2980
+ }
2981
+
2982
+ input SaveFilesQuestionInput {
3657
2983
  slug: String!
3658
2984
  label: String!
3659
2985
  infoText: String
@@ -3661,10 +2987,11 @@ input SaveFileQuestionInput {
3661
2987
  isHidden: QuestionJexl
3662
2988
  meta: JSONString
3663
2989
  isArchived: Boolean
2990
+ hintText: String
3664
2991
  clientMutationId: String
3665
2992
  }
3666
2993
 
3667
- type SaveFileQuestionPayload {
2994
+ type SaveFilesQuestionPayload {
3668
2995
  question: Question
3669
2996
  clientMutationId: String
3670
2997
  }
@@ -3680,6 +3007,7 @@ input SaveFloatQuestionInput {
3680
3007
  minValue: Float
3681
3008
  maxValue: Float
3682
3009
  placeholder: String
3010
+ hintText: String
3683
3011
  clientMutationId: String
3684
3012
  }
3685
3013
 
@@ -3731,6 +3059,7 @@ input SaveIntegerQuestionInput {
3731
3059
  minValue: Int
3732
3060
  maxValue: Int
3733
3061
  placeholder: String
3062
+ hintText: String
3734
3063
  clientMutationId: String
3735
3064
  }
3736
3065
 
@@ -3748,6 +3077,7 @@ input SaveMultipleChoiceQuestionInput {
3748
3077
  meta: JSONString
3749
3078
  isArchived: Boolean
3750
3079
  options: [ID]!
3080
+ hintText: String
3751
3081
  clientMutationId: String
3752
3082
  }
3753
3083
 
@@ -3797,6 +3127,11 @@ input SaveSimpleTaskInput {
3797
3127
  `address_groups`.
3798
3128
  """
3799
3129
  isMultipleInstance: Boolean
3130
+
3131
+ """
3132
+ Whether to continue the flow if the multiple instance work item has ready siblings
3133
+ """
3134
+ continueAsync: Boolean
3800
3135
  clientMutationId: String
3801
3136
  }
3802
3137
 
@@ -3834,6 +3169,7 @@ input SaveTableQuestionInput {
3834
3169
  Form that represents rows of a TableQuestion
3835
3170
  """
3836
3171
  rowForm: ID!
3172
+ hintText: String
3837
3173
  clientMutationId: String
3838
3174
  }
3839
3175
 
@@ -3853,6 +3189,7 @@ input SaveTextareaQuestionInput {
3853
3189
  minLength: Int
3854
3190
  maxLength: Int
3855
3191
  placeholder: String
3192
+ hintText: String
3856
3193
  formatValidators: [String]
3857
3194
  clientMutationId: String
3858
3195
  }
@@ -3873,6 +3210,7 @@ input SaveTextQuestionInput {
3873
3210
  minLength: Int
3874
3211
  maxLength: Int
3875
3212
  placeholder: String
3213
+ hintText: String
3876
3214
  formatValidators: [String]
3877
3215
  clientMutationId: String
3878
3216
  }
@@ -3946,9 +3284,16 @@ type SaveWorkItemPayload {
3946
3284
 
3947
3285
  """
3948
3286
  Lookup type to search in answers.
3287
+
3288
+ You may pass in a list of question slugs and/or a list of form slugs to define
3289
+ which answers to search. If you pass in one or more forms, answers to the
3290
+ questions in that form will be searched. If you pass in one or more question
3291
+ slug, the corresponding answers are searched. If you pass both, a superset
3292
+ of both is searched (ie. they do not limit each other).
3949
3293
  """
3950
3294
  input SearchAnswersFilterType {
3951
3295
  questions: [ID]
3296
+ forms: [ID]
3952
3297
  value: GenericScalar!
3953
3298
  lookup: SearchLookupMode
3954
3299
  }
@@ -4002,7 +3347,6 @@ type SimpleTask implements Task & Node {
4002
3347
  slug: String!
4003
3348
  name: String!
4004
3349
  description: String
4005
- type: TaskType!
4006
3350
  meta: GenericScalar!
4007
3351
  addressGroups: GroupJexl
4008
3352
  controlGroups: GroupJexl
@@ -4013,9 +3357,10 @@ type SimpleTask implements Task & Node {
4013
3357
  """
4014
3358
  leadTime: Int
4015
3359
  isMultipleInstance: Boolean!
3360
+ continueAsync: Boolean
4016
3361
 
4017
3362
  """
4018
- The ID of the object.
3363
+ The ID of the object
4019
3364
  """
4020
3365
  id: ID!
4021
3366
  }
@@ -4035,50 +3380,57 @@ type SkipWorkItemPayload {
4035
3380
  clientMutationId: String
4036
3381
  }
4037
3382
 
3383
+ enum SortableAnalyticsFieldAttributes {
3384
+ CREATED_AT
3385
+ MODIFIED_AT
3386
+ ALIAS
3387
+ }
3388
+
3389
+ enum SortableAnalyticsTableAttributes {
3390
+ CREATED_AT
3391
+ MODIFIED_AT
3392
+ SLUG
3393
+ NAME
3394
+ }
3395
+
4038
3396
  enum SortableAnswerAttributes {
4039
3397
  CREATED_AT
4040
3398
  MODIFIED_AT
4041
- CREATED_BY_USER
4042
- CREATED_BY_GROUP
4043
- MODIFIED_BY_USER
4044
- MODIFIED_BY_GROUP
4045
3399
  QUESTION
4046
3400
  VALUE
4047
- DOCUMENT
4048
3401
  DATE
4049
- FILE
4050
3402
  }
4051
3403
 
4052
3404
  enum SortableCaseAttributes {
4053
- ALLOW_ALL_FORMS
4054
- CREATED_BY_GROUP
4055
- CREATED_BY_USER
4056
- DESCRIPTION
4057
- IS_ARCHIVED
4058
- IS_PUBLISHED
4059
- NAME
3405
+ CREATED_AT
3406
+ MODIFIED_AT
4060
3407
  STATUS
4061
- SLUG
3408
+ DOCUMENT__FORM__NAME
4062
3409
  }
4063
3410
 
4064
3411
  enum SortableDocumentAttributes {
4065
3412
  CREATED_AT
4066
3413
  MODIFIED_AT
4067
- CREATED_BY_USER
4068
- CREATED_BY_GROUP
4069
- MODIFIED_BY_USER
4070
- MODIFIED_BY_GROUP
4071
3414
  FORM
4072
- SOURCE
3415
+ }
3416
+
3417
+ enum SortableDynamicOptionAttributes {
3418
+ CREATED_AT
3419
+ MODIFIED_AT
3420
+ SLUG
3421
+ LABEL
3422
+ QUESTION
3423
+ }
3424
+
3425
+ enum SortableFlowAttributes {
3426
+ CREATED_AT
3427
+ MODIFIED_AT
3428
+ TASK
4073
3429
  }
4074
3430
 
4075
3431
  enum SortableFormAttributes {
4076
3432
  CREATED_AT
4077
3433
  MODIFIED_AT
4078
- CREATED_BY_USER
4079
- CREATED_BY_GROUP
4080
- MODIFIED_BY_USER
4081
- MODIFIED_BY_GROUP
4082
3434
  SLUG
4083
3435
  NAME
4084
3436
  DESCRIPTION
@@ -4086,13 +3438,17 @@ enum SortableFormAttributes {
4086
3438
  IS_ARCHIVED
4087
3439
  }
4088
3440
 
3441
+ enum SortableOptionAttributes {
3442
+ CREATED_AT
3443
+ MODIFIED_AT
3444
+ SLUG
3445
+ LABEL
3446
+ IS_ARCHIVED
3447
+ }
3448
+
4089
3449
  enum SortableQuestionAttributes {
4090
3450
  CREATED_AT
4091
3451
  MODIFIED_AT
4092
- CREATED_BY_USER
4093
- CREATED_BY_GROUP
4094
- MODIFIED_BY_USER
4095
- MODIFIED_BY_GROUP
4096
3452
  SLUG
4097
3453
  LABEL
4098
3454
  TYPE
@@ -4101,26 +3457,25 @@ enum SortableQuestionAttributes {
4101
3457
  IS_ARCHIVED
4102
3458
  PLACEHOLDER
4103
3459
  INFO_TEXT
3460
+ HINT_TEXT
4104
3461
  CALC_EXPRESSION
4105
3462
  }
4106
3463
 
4107
3464
  enum SortableTaskAttributes {
4108
- ALLOW_ALL_FORMS
3465
+ CREATED_AT
3466
+ MODIFIED_AT
4109
3467
  LEAD_TIME
4110
3468
  TYPE
4111
- CREATED_BY_GROUP
4112
- CREATED_BY_USER
4113
3469
  DESCRIPTION
4114
3470
  IS_ARCHIVED
4115
- IS_PUBLISHED
4116
3471
  NAME
4117
3472
  SLUG
4118
3473
  }
4119
3474
 
4120
3475
  enum SortableWorkflowAttributes {
3476
+ CREATED_AT
3477
+ MODIFIED_AT
4121
3478
  ALLOW_ALL_FORMS
4122
- CREATED_BY_GROUP
4123
- CREATED_BY_USER
4124
3479
  DESCRIPTION
4125
3480
  IS_ARCHIVED
4126
3481
  IS_PUBLISHED
@@ -4129,15 +3484,10 @@ enum SortableWorkflowAttributes {
4129
3484
  }
4130
3485
 
4131
3486
  enum SortableWorkItemAttributes {
4132
- ALLOW_ALL_FORMS
4133
- CREATED_BY_GROUP
4134
- CREATED_BY_USER
4135
- DESCRIPTION
4136
3487
  CREATED_AT
4137
3488
  MODIFIED_AT
4138
3489
  CLOSED_AT
4139
- IS_ARCHIVED
4140
- IS_PUBLISHED
3490
+ DESCRIPTION
4141
3491
  NAME
4142
3492
  DEADLINE
4143
3493
  STATUS
@@ -4162,6 +3512,15 @@ type StartCasePayload {
4162
3512
  clientMutationId: String
4163
3513
  }
4164
3514
 
3515
+ """
3516
+ An enumeration.
3517
+ """
3518
+ enum StartingObject {
3519
+ CASES
3520
+ WORK_ITEMS
3521
+ DOCUMENTS
3522
+ }
3523
+
4165
3524
  type StaticQuestion implements Question & Node {
4166
3525
  createdAt: DateTime!
4167
3526
  modifiedAt: DateTime!
@@ -4183,45 +3542,19 @@ type StaticQuestion implements Question & Node {
4183
3542
  meta: GenericScalar!
4184
3543
  source: Question
4185
3544
  forms(
3545
+ offset: Int
4186
3546
  before: String
4187
3547
  after: String
4188
3548
  first: Int
4189
3549
  last: Int
4190
- metaValue: [JSONValueFilterType]
4191
-
4192
- """
4193
- FormOrdering
4194
- """
4195
- orderBy: [FormOrdering]
4196
- slug: String
4197
- name: String
4198
- description: String
4199
- isPublished: Boolean
4200
- isArchived: Boolean
4201
- questions: [String]
4202
- createdByUser: String
4203
- createdByGroup: String
4204
- modifiedByUser: String
4205
- modifiedByGroup: String
4206
-
4207
- """
4208
- Only return entries created after the given DateTime (Exclusive)
4209
- """
4210
- createdBefore: DateTime
4211
-
4212
- """
4213
- Only return entries created at or before the given DateTime (Inclusive)
4214
- """
4215
- createdAfter: DateTime
4216
- metaHasKey: String
4217
- search: String
4218
- slugs: [String]
3550
+ filter: [FormFilterSetType]
3551
+ order: [FormOrderSetType]
4219
3552
  ): FormConnection
4220
3553
  staticContent: String
4221
3554
  dataSource: String
4222
3555
 
4223
3556
  """
4224
- The ID of the object.
3557
+ The ID of the object
4225
3558
  """
4226
3559
  id: ID!
4227
3560
  }
@@ -4254,6 +3587,11 @@ enum Status {
4254
3587
  Work item is suspended.
4255
3588
  """
4256
3589
  SUSPENDED
3590
+
3591
+ """
3592
+ Work item has been marked for redo.
3593
+ """
3594
+ REDO
4257
3595
  }
4258
3596
 
4259
3597
  type StringAnswer implements Answer & Node {
@@ -4265,7 +3603,7 @@ type StringAnswer implements Answer & Node {
4265
3603
  modifiedByGroup: String
4266
3604
 
4267
3605
  """
4268
- The ID of the object.
3606
+ The ID of the object
4269
3607
  """
4270
3608
  id: ID!
4271
3609
  question: Question!
@@ -4313,7 +3651,7 @@ type TableAnswer implements Answer & Node {
4313
3651
  modifiedByGroup: String
4314
3652
 
4315
3653
  """
4316
- The ID of the object.
3654
+ The ID of the object
4317
3655
  """
4318
3656
  id: ID!
4319
3657
  question: Question!
@@ -4339,43 +3677,18 @@ type TableQuestion implements Question & Node {
4339
3677
  isHidden: QuestionJexl!
4340
3678
  isArchived: Boolean!
4341
3679
  infoText: String
3680
+ hintText: String
4342
3681
  meta: GenericScalar!
4343
3682
  source: Question
4344
3683
  defaultAnswer: TableAnswer
4345
3684
  forms(
3685
+ offset: Int
4346
3686
  before: String
4347
3687
  after: String
4348
3688
  first: Int
4349
3689
  last: Int
4350
- metaValue: [JSONValueFilterType]
4351
-
4352
- """
4353
- FormOrdering
4354
- """
4355
- orderBy: [FormOrdering]
4356
- slug: String
4357
- name: String
4358
- description: String
4359
- isPublished: Boolean
4360
- isArchived: Boolean
4361
- questions: [String]
4362
- createdByUser: String
4363
- createdByGroup: String
4364
- modifiedByUser: String
4365
- modifiedByGroup: String
4366
-
4367
- """
4368
- Only return entries created after the given DateTime (Exclusive)
4369
- """
4370
- createdBefore: DateTime
4371
-
4372
- """
4373
- Only return entries created at or before the given DateTime (Inclusive)
4374
- """
4375
- createdAfter: DateTime
4376
- metaHasKey: String
4377
- search: String
4378
- slugs: [String]
3690
+ filter: [FormFilterSetType]
3691
+ order: [FormOrderSetType]
4379
3692
  ): FormConnection
4380
3693
 
4381
3694
  """
@@ -4384,7 +3697,7 @@ type TableQuestion implements Question & Node {
4384
3697
  rowForm: Form
4385
3698
 
4386
3699
  """
4387
- The ID of the object.
3700
+ The ID of the object
4388
3701
  """
4389
3702
  id: ID!
4390
3703
  }
@@ -4403,194 +3716,59 @@ interface Task {
4403
3716
  controlGroups: GroupJexl
4404
3717
  meta: GenericScalar!
4405
3718
  isMultipleInstance: Boolean!
4406
- }
4407
-
4408
- type TaskConnection {
4409
- """
4410
- Pagination data for this connection.
4411
- """
4412
- pageInfo: PageInfo!
4413
-
4414
- """
4415
- Contains the nodes in this connection.
4416
- """
4417
- edges: [TaskEdge]!
4418
- totalCount: Int
4419
- }
4420
-
4421
- """
4422
- A Relay edge containing a `Task` and its cursor.
4423
- """
4424
- type TaskEdge {
4425
- """
4426
- The item at the end of the edge
4427
- """
4428
- node: Task
4429
-
4430
- """
4431
- A cursor for use in pagination
4432
- """
4433
- cursor: String!
4434
- }
4435
-
4436
- input TaskFilterSetType {
4437
- slug: String
4438
- name: String
4439
- description: String
4440
- type: Type
4441
- isArchived: Boolean
4442
- createdByUser: String
4443
- createdByGroup: String
4444
- modifiedByUser: String
4445
- modifiedByGroup: String
4446
- createdBefore: DateTime
4447
- createdAfter: DateTime
4448
- metaHasKey: String
4449
- metaValue: [JSONValueFilterType]
4450
- search: String
4451
- orderBy: [TaskOrdering]
4452
- invert: Boolean
4453
- }
4454
-
4455
- """
4456
- An enumeration.
4457
- """
4458
- enum TaskOrdering {
4459
- """
4460
- Name
4461
- """
4462
- NAME_ASC
4463
-
4464
- """
4465
- Name (descending)
4466
- """
4467
- NAME_DESC
4468
-
4469
- """
4470
- Description
4471
- """
4472
- DESCRIPTION_ASC
4473
-
4474
- """
4475
- Description (descending)
4476
- """
4477
- DESCRIPTION_DESC
4478
-
4479
- """
4480
- Type
4481
- """
4482
- TYPE_ASC
4483
-
4484
- """
4485
- Type (descending)
4486
- """
4487
- TYPE_DESC
4488
-
4489
- """
4490
- Created at
4491
- """
4492
- CREATED_AT_ASC
4493
-
4494
- """
4495
- Created at (descending)
4496
- """
4497
- CREATED_AT_DESC
4498
-
4499
- """
4500
- Modified at
4501
- """
4502
- MODIFIED_AT_ASC
4503
-
4504
- """
4505
- Modified at (descending)
4506
- """
4507
- MODIFIED_AT_DESC
4508
-
4509
- """
4510
- Created by user
4511
- """
4512
- CREATED_BY_USER_ASC
4513
-
4514
- """
4515
- Created by user (descending)
4516
- """
4517
- CREATED_BY_USER_DESC
4518
-
4519
- """
4520
- Created by group
4521
- """
4522
- CREATED_BY_GROUP_ASC
4523
-
4524
- """
4525
- Created by group (descending)
4526
- """
4527
- CREATED_BY_GROUP_DESC
4528
-
4529
- """
4530
- Modified by user
4531
- """
4532
- MODIFIED_BY_USER_ASC
4533
-
4534
- """
4535
- Modified by user (descending)
4536
- """
4537
- MODIFIED_BY_USER_DESC
3719
+ continueAsync: Boolean
3720
+ }
4538
3721
 
3722
+ type TaskConnection {
4539
3723
  """
4540
- Modified by group
3724
+ Pagination data for this connection.
4541
3725
  """
4542
- MODIFIED_BY_GROUP_ASC
3726
+ pageInfo: PageInfo!
4543
3727
 
4544
3728
  """
4545
- Modified by group (descending)
3729
+ Contains the nodes in this connection.
4546
3730
  """
4547
- MODIFIED_BY_GROUP_DESC
4548
- }
4549
-
4550
- input TaskOrderSetType {
4551
- meta: String
4552
- attribute: SortableTaskAttributes
4553
- direction: AscDesc
3731
+ edges: [TaskEdge]!
3732
+ totalCount: Int
4554
3733
  }
4555
3734
 
4556
3735
  """
4557
- An enumeration.
3736
+ A Relay edge containing a `Task` and its cursor.
4558
3737
  """
4559
- enum TaskType {
4560
- """
4561
- Task which can simply be marked as completed.
4562
- """
4563
- SIMPLE
4564
-
3738
+ type TaskEdge {
4565
3739
  """
4566
- Task to complete a defined workflow form.
3740
+ The item at the end of the edge
4567
3741
  """
4568
- COMPLETE_WORKFLOW_FORM
3742
+ node: Task
4569
3743
 
4570
3744
  """
4571
- Task to complete a defined task form.
3745
+ A cursor for use in pagination
4572
3746
  """
4573
- COMPLETE_TASK_FORM
3747
+ cursor: String!
4574
3748
  }
4575
3749
 
4576
- """
4577
- An enumeration.
4578
- """
4579
- enum TaskTypeArgument {
4580
- """
4581
- Task which can simply be marked as completed.
4582
- """
4583
- SIMPLE
4584
-
4585
- """
4586
- Task to complete a defined workflow form.
4587
- """
4588
- COMPLETE_WORKFLOW_FORM
3750
+ input TaskFilterSetType {
3751
+ slug: String
3752
+ name: String
3753
+ description: String
3754
+ type: Type
3755
+ isArchived: Boolean
3756
+ createdByUser: String
3757
+ createdByGroup: String
3758
+ modifiedByUser: String
3759
+ modifiedByGroup: String
3760
+ createdBefore: DateTime
3761
+ createdAfter: DateTime
3762
+ metaHasKey: String
3763
+ metaValue: [JSONValueFilterType]
3764
+ search: String
3765
+ invert: Boolean
3766
+ }
4589
3767
 
4590
- """
4591
- Task to complete a defined task form.
4592
- """
4593
- COMPLETE_TASK_FORM
3768
+ input TaskOrderSetType {
3769
+ meta: String
3770
+ attribute: SortableTaskAttributes
3771
+ direction: AscDesc
4594
3772
  }
4595
3773
 
4596
3774
  type TextareaQuestion implements Question & Node {
@@ -4611,6 +3789,7 @@ type TextareaQuestion implements Question & Node {
4611
3789
  isArchived: Boolean!
4612
3790
  placeholder: String
4613
3791
  infoText: String
3792
+ hintText: String
4614
3793
  meta: GenericScalar!
4615
3794
  source: Question
4616
3795
  formatValidators(
@@ -4621,43 +3800,17 @@ type TextareaQuestion implements Question & Node {
4621
3800
  ): FormatValidatorConnection
4622
3801
  defaultAnswer: StringAnswer
4623
3802
  forms(
3803
+ offset: Int
4624
3804
  before: String
4625
3805
  after: String
4626
3806
  first: Int
4627
3807
  last: Int
4628
- metaValue: [JSONValueFilterType]
4629
-
4630
- """
4631
- FormOrdering
4632
- """
4633
- orderBy: [FormOrdering]
4634
- slug: String
4635
- name: String
4636
- description: String
4637
- isPublished: Boolean
4638
- isArchived: Boolean
4639
- questions: [String]
4640
- createdByUser: String
4641
- createdByGroup: String
4642
- modifiedByUser: String
4643
- modifiedByGroup: String
4644
-
4645
- """
4646
- Only return entries created after the given DateTime (Exclusive)
4647
- """
4648
- createdBefore: DateTime
4649
-
4650
- """
4651
- Only return entries created at or before the given DateTime (Inclusive)
4652
- """
4653
- createdAfter: DateTime
4654
- metaHasKey: String
4655
- search: String
4656
- slugs: [String]
3808
+ filter: [FormFilterSetType]
3809
+ order: [FormOrderSetType]
4657
3810
  ): FormConnection
4658
3811
 
4659
3812
  """
4660
- The ID of the object.
3813
+ The ID of the object
4661
3814
  """
4662
3815
  id: ID!
4663
3816
  minLength: Int
@@ -4682,6 +3835,7 @@ type TextQuestion implements Question & Node {
4682
3835
  isArchived: Boolean!
4683
3836
  placeholder: String
4684
3837
  infoText: String
3838
+ hintText: String
4685
3839
  meta: GenericScalar!
4686
3840
  source: Question
4687
3841
  formatValidators(
@@ -4692,43 +3846,17 @@ type TextQuestion implements Question & Node {
4692
3846
  ): FormatValidatorConnection
4693
3847
  defaultAnswer: StringAnswer
4694
3848
  forms(
3849
+ offset: Int
4695
3850
  before: String
4696
3851
  after: String
4697
3852
  first: Int
4698
3853
  last: Int
4699
- metaValue: [JSONValueFilterType]
4700
-
4701
- """
4702
- FormOrdering
4703
- """
4704
- orderBy: [FormOrdering]
4705
- slug: String
4706
- name: String
4707
- description: String
4708
- isPublished: Boolean
4709
- isArchived: Boolean
4710
- questions: [String]
4711
- createdByUser: String
4712
- createdByGroup: String
4713
- modifiedByUser: String
4714
- modifiedByGroup: String
4715
-
4716
- """
4717
- Only return entries created after the given DateTime (Exclusive)
4718
- """
4719
- createdBefore: DateTime
4720
-
4721
- """
4722
- Only return entries created at or before the given DateTime (Inclusive)
4723
- """
4724
- createdAfter: DateTime
4725
- metaHasKey: String
4726
- search: String
4727
- slugs: [String]
3854
+ filter: [FormFilterSetType]
3855
+ order: [FormOrderSetType]
4728
3856
  ): FormConnection
4729
3857
 
4730
3858
  """
4731
- The ID of the object.
3859
+ The ID of the object
4732
3860
  """
4733
3861
  id: ID!
4734
3862
  minLength: Int
@@ -4790,6 +3918,7 @@ type Workflow implements Node {
4790
3918
  List of forms which are allowed to start workflow with
4791
3919
  """
4792
3920
  allowForms(
3921
+ offset: Int
4793
3922
  before: String
4794
3923
  after: String
4795
3924
  first: Int
@@ -4797,7 +3926,7 @@ type Workflow implements Node {
4797
3926
  ): FormConnection!
4798
3927
 
4799
3928
  """
4800
- The ID of the object.
3929
+ The ID of the object
4801
3930
  """
4802
3931
  id: ID!
4803
3932
 
@@ -4806,26 +3935,13 @@ type Workflow implements Node {
4806
3935
  """
4807
3936
  tasks: [Task]!
4808
3937
  flows(
3938
+ offset: Int
4809
3939
  before: String
4810
3940
  after: String
4811
3941
  first: Int
4812
3942
  last: Int
4813
- task: ID
4814
3943
  filter: [FlowFilterSetType]
4815
- createdByUser: String
4816
- createdByGroup: String
4817
- modifiedByUser: String
4818
- modifiedByGroup: String
4819
-
4820
- """
4821
- Only return entries created after the given DateTime (Exclusive)
4822
- """
4823
- createdBefore: DateTime
4824
-
4825
- """
4826
- Only return entries created at or before the given DateTime (Inclusive)
4827
- """
4828
- createdAfter: DateTime
3944
+ order: [FlowOrderSetType]
4829
3945
  ): FlowConnection
4830
3946
  }
4831
3947
 
@@ -4872,95 +3988,9 @@ input WorkflowFilterSetType {
4872
3988
  metaHasKey: String
4873
3989
  metaValue: [JSONValueFilterType]
4874
3990
  search: String
4875
- orderBy: [WorkflowOrdering]
4876
3991
  invert: Boolean
4877
3992
  }
4878
3993
 
4879
- """
4880
- An enumeration.
4881
- """
4882
- enum WorkflowOrdering {
4883
- """
4884
- Name
4885
- """
4886
- NAME_ASC
4887
-
4888
- """
4889
- Name (descending)
4890
- """
4891
- NAME_DESC
4892
-
4893
- """
4894
- Description
4895
- """
4896
- DESCRIPTION_ASC
4897
-
4898
- """
4899
- Description (descending)
4900
- """
4901
- DESCRIPTION_DESC
4902
-
4903
- """
4904
- Created at
4905
- """
4906
- CREATED_AT_ASC
4907
-
4908
- """
4909
- Created at (descending)
4910
- """
4911
- CREATED_AT_DESC
4912
-
4913
- """
4914
- Modified at
4915
- """
4916
- MODIFIED_AT_ASC
4917
-
4918
- """
4919
- Modified at (descending)
4920
- """
4921
- MODIFIED_AT_DESC
4922
-
4923
- """
4924
- Created by user
4925
- """
4926
- CREATED_BY_USER_ASC
4927
-
4928
- """
4929
- Created by user (descending)
4930
- """
4931
- CREATED_BY_USER_DESC
4932
-
4933
- """
4934
- Created by group
4935
- """
4936
- CREATED_BY_GROUP_ASC
4937
-
4938
- """
4939
- Created by group (descending)
4940
- """
4941
- CREATED_BY_GROUP_DESC
4942
-
4943
- """
4944
- Modified by user
4945
- """
4946
- MODIFIED_BY_USER_ASC
4947
-
4948
- """
4949
- Modified by user (descending)
4950
- """
4951
- MODIFIED_BY_USER_DESC
4952
-
4953
- """
4954
- Modified by group
4955
- """
4956
- MODIFIED_BY_GROUP_ASC
4957
-
4958
- """
4959
- Modified by group (descending)
4960
- """
4961
- MODIFIED_BY_GROUP_DESC
4962
- }
4963
-
4964
3994
  input WorkflowOrderSetType {
4965
3995
  meta: String
4966
3996
  attribute: SortableWorkflowAttributes
@@ -4976,7 +4006,7 @@ type WorkItem implements Node {
4976
4006
  modifiedByGroup: String
4977
4007
 
4978
4008
  """
4979
- The ID of the object.
4009
+ The ID of the object
4980
4010
  """
4981
4011
  id: ID!
4982
4012
 
@@ -5000,20 +4030,8 @@ type WorkItem implements Node {
5000
4030
  task: Task!
5001
4031
  status: WorkItemStatus!
5002
4032
  meta: GenericScalar
5003
-
5004
- """
5005
- Offer work item to be processed by a group of users, such are not committed to process it though.
5006
- """
5007
4033
  addressedGroups: [String]!
5008
-
5009
- """
5010
- List of groups this work item is assigned to for controlling.
5011
- """
5012
4034
  controllingGroups: [String]!
5013
-
5014
- """
5015
- Users responsible to undertake given work item.
5016
- """
5017
4035
  assignedUsers: [String]!
5018
4036
  case: Case!
5019
4037
 
@@ -5024,6 +4042,7 @@ type WorkItem implements Node {
5024
4042
  document: Document
5025
4043
  previousWorkItem: WorkItem
5026
4044
  succeedingWorkItems(
4045
+ offset: Int
5027
4046
  before: String
5028
4047
  after: String
5029
4048
  first: Int
@@ -5080,7 +4099,6 @@ input WorkItemFilterSetType {
5080
4099
  metaHasKey: String
5081
4100
  metaValue: [JSONValueFilterType]
5082
4101
  id: ID
5083
- orderBy: [WorkItemOrdering]
5084
4102
  addressedGroups: [String]
5085
4103
  controllingGroups: [String]
5086
4104
  assignedUsers: [String]
@@ -5091,91 +4109,6 @@ input WorkItemFilterSetType {
5091
4109
  invert: Boolean
5092
4110
  }
5093
4111
 
5094
- """
5095
- An enumeration.
5096
- """
5097
- enum WorkItemOrdering {
5098
- """
5099
- Status
5100
- """
5101
- STATUS_ASC
5102
-
5103
- """
5104
- Status (descending)
5105
- """
5106
- STATUS_DESC
5107
-
5108
- """
5109
- Deadline
5110
- """
5111
- DEADLINE_ASC
5112
-
5113
- """
5114
- Deadline (descending)
5115
- """
5116
- DEADLINE_DESC
5117
-
5118
- """
5119
- Created at
5120
- """
5121
- CREATED_AT_ASC
5122
-
5123
- """
5124
- Created at (descending)
5125
- """
5126
- CREATED_AT_DESC
5127
-
5128
- """
5129
- Modified at
5130
- """
5131
- MODIFIED_AT_ASC
5132
-
5133
- """
5134
- Modified at (descending)
5135
- """
5136
- MODIFIED_AT_DESC
5137
-
5138
- """
5139
- Created by user
5140
- """
5141
- CREATED_BY_USER_ASC
5142
-
5143
- """
5144
- Created by user (descending)
5145
- """
5146
- CREATED_BY_USER_DESC
5147
-
5148
- """
5149
- Created by group
5150
- """
5151
- CREATED_BY_GROUP_ASC
5152
-
5153
- """
5154
- Created by group (descending)
5155
- """
5156
- CREATED_BY_GROUP_DESC
5157
-
5158
- """
5159
- Modified by user
5160
- """
5161
- MODIFIED_BY_USER_ASC
5162
-
5163
- """
5164
- Modified by user (descending)
5165
- """
5166
- MODIFIED_BY_USER_DESC
5167
-
5168
- """
5169
- Modified by group
5170
- """
5171
- MODIFIED_BY_GROUP_ASC
5172
-
5173
- """
5174
- Modified by group (descending)
5175
- """
5176
- MODIFIED_BY_GROUP_DESC
5177
- }
5178
-
5179
4112
  input WorkItemOrderSetType {
5180
4113
  meta: String
5181
4114
  caseMeta: String
@@ -5189,58 +4122,10 @@ input WorkItemOrderSetType {
5189
4122
  An enumeration.
5190
4123
  """
5191
4124
  enum WorkItemStatus {
5192
- """
5193
- Work item is ready to be processed.
5194
- """
5195
- READY
5196
-
5197
- """
5198
- Work item is done.
5199
- """
5200
- COMPLETED
5201
-
5202
- """
5203
- Work item is canceled.
5204
- """
5205
- CANCELED
5206
-
5207
- """
5208
- Work item is skipped.
5209
- """
5210
- SKIPPED
5211
-
5212
- """
5213
- Work item is suspended.
5214
- """
5215
- SUSPENDED
5216
- }
5217
-
5218
- """
5219
- An enumeration.
5220
- """
5221
- enum WorkItemStatusArgument {
5222
- """
5223
- Work item is ready to be processed.
5224
- """
5225
4125
  READY
5226
-
5227
- """
5228
- Work item is done.
5229
- """
5230
4126
  COMPLETED
5231
-
5232
- """
5233
- Work item is canceled.
5234
- """
5235
4127
  CANCELED
5236
-
5237
- """
5238
- Work item is skipped.
5239
- """
5240
4128
  SKIPPED
5241
-
5242
- """
5243
- Work item is suspended.
5244
- """
5245
4129
  SUSPENDED
4130
+ REDO
5246
4131
  }