@projectcaluma/ember-testing 11.0.0-beta.8 → 11.0.0

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.
@@ -28,40 +28,13 @@ type ActionButtonQuestion implements Question & Node {
28
28
  meta: GenericScalar!
29
29
  source: Question
30
30
  forms(
31
- offset: Int = null
32
- before: String = null
33
- after: String = null
34
- first: Int = null
35
- last: Int = null
36
- slug: String = null
37
- name: String = null
38
- description: String = null
39
- isPublished: Boolean = null
40
- isArchived: Boolean = null
41
- questions: [String] = null
42
- createdByUser: String = null
43
- createdByGroup: String = null
44
- modifiedByUser: String = null
45
- modifiedByGroup: String = null
46
-
47
- """
48
- Only return entries created after the given DateTime (Exclusive)
49
- """
50
- createdBefore: DateTime = null
51
-
52
- """
53
- Only return entries created at or before the given DateTime (Inclusive)
54
- """
55
- createdAfter: DateTime = null
56
- metaHasKey: String = null
57
- metaValue: [JSONValueFilterType] = null
58
- search: String = null
59
-
60
- """
61
- FormOrdering
62
- """
63
- orderBy: [FormOrdering] = null
64
- slugs: [String] = null
31
+ offset: Int
32
+ before: String
33
+ after: String
34
+ first: Int
35
+ last: Int
36
+ filter: [FormFilterSetType]
37
+ order: [FormOrderSetType]
65
38
  ): FormConnection
66
39
 
67
40
  """
@@ -139,6 +112,7 @@ type AnalyticsField implements Node {
139
112
  filters: [String]
140
113
  function: AggregateFunction
141
114
  showOutput: Boolean!
115
+ sort: Int!
142
116
  }
143
117
 
144
118
  type AnalyticsFieldConnection {
@@ -185,12 +159,18 @@ input AnalyticsFieldFilterSetType {
185
159
  invert: Boolean
186
160
  }
187
161
 
162
+ input AnalyticsFieldOrderSetType {
163
+ meta: String
164
+ attribute: SortableAnalyticsFieldAttributes
165
+ direction: AscDesc
166
+ }
167
+
188
168
  type AnalyticsOutput {
189
169
  records(
190
- before: String = null
191
- after: String = null
192
- first: Int = null
193
- last: Int = null
170
+ before: String
171
+ after: String
172
+ first: Int
173
+ last: Int
194
174
  ): AnalyticsTableContentConnection
195
175
  summary: AnalyticsRowConnection
196
176
  }
@@ -235,11 +215,11 @@ type AnalyticsTable implements Node {
235
215
  name: String!
236
216
  startingObject: StartingObject
237
217
  fields(
238
- offset: Int = null
239
- before: String = null
240
- after: String = null
241
- first: Int = null
242
- last: Int = null
218
+ offset: Int
219
+ before: String
220
+ after: String
221
+ first: Int
222
+ last: Int
243
223
  ): AnalyticsFieldConnection!
244
224
 
245
225
  """
@@ -247,12 +227,12 @@ type AnalyticsTable implements Node {
247
227
  """
248
228
  id: ID!
249
229
  availableFields(
250
- prefix: String = null
251
- depth: Int = null
252
- before: String = null
253
- after: String = null
254
- first: Int = null
255
- last: Int = null
230
+ prefix: String
231
+ depth: Int
232
+ before: String
233
+ after: String
234
+ first: Int
235
+ last: Int
256
236
  ): AvailableFieldConnection
257
237
  resultData: AnalyticsOutput
258
238
  }
@@ -385,7 +365,6 @@ input AnswerFilterSetType {
385
365
  createdAfter: DateTime
386
366
  metaHasKey: String
387
367
  metaValue: [JSONValueFilterType]
388
- orderBy: [AnswerOrdering]
389
368
  questions: [ID]
390
369
  visibleInContext: Boolean
391
370
  invert: Boolean
@@ -410,71 +389,6 @@ enum AnswerLookupMode {
410
389
  LT
411
390
  }
412
391
 
413
- """
414
- An enumeration.
415
- """
416
- enum AnswerOrdering {
417
- """
418
- Created at
419
- """
420
- CREATED_AT_ASC
421
-
422
- """
423
- Created at (descending)
424
- """
425
- CREATED_AT_DESC
426
-
427
- """
428
- Modified at
429
- """
430
- MODIFIED_AT_ASC
431
-
432
- """
433
- Modified at (descending)
434
- """
435
- MODIFIED_AT_DESC
436
-
437
- """
438
- Created by user
439
- """
440
- CREATED_BY_USER_ASC
441
-
442
- """
443
- Created by user (descending)
444
- """
445
- CREATED_BY_USER_DESC
446
-
447
- """
448
- Created by group
449
- """
450
- CREATED_BY_GROUP_ASC
451
-
452
- """
453
- Created by group (descending)
454
- """
455
- CREATED_BY_GROUP_DESC
456
-
457
- """
458
- Modified by user
459
- """
460
- MODIFIED_BY_USER_ASC
461
-
462
- """
463
- Modified by user (descending)
464
- """
465
- MODIFIED_BY_USER_DESC
466
-
467
- """
468
- Modified by group
469
- """
470
- MODIFIED_BY_GROUP_ASC
471
-
472
- """
473
- Modified by group (descending)
474
- """
475
- MODIFIED_BY_GROUP_DESC
476
- }
477
-
478
392
  input AnswerOrderSetType {
479
393
  meta: String
480
394
  attribute: SortableAnswerAttributes
@@ -577,40 +491,13 @@ type CalculatedFloatQuestion implements Question & Node {
577
491
  meta: GenericScalar!
578
492
  source: Question
579
493
  forms(
580
- offset: Int = null
581
- before: String = null
582
- after: String = null
583
- first: Int = null
584
- last: Int = null
585
- slug: String = null
586
- name: String = null
587
- description: String = null
588
- isPublished: Boolean = null
589
- isArchived: Boolean = null
590
- questions: [String] = null
591
- createdByUser: String = null
592
- createdByGroup: String = null
593
- modifiedByUser: String = null
594
- modifiedByGroup: String = null
595
-
596
- """
597
- Only return entries created after the given DateTime (Exclusive)
598
- """
599
- createdBefore: DateTime = null
600
-
601
- """
602
- Only return entries created at or before the given DateTime (Inclusive)
603
- """
604
- createdAfter: DateTime = null
605
- metaHasKey: String = null
606
- metaValue: [JSONValueFilterType] = null
607
- search: String = null
608
-
609
- """
610
- FormOrdering
611
- """
612
- orderBy: [FormOrdering] = null
613
- slugs: [String] = null
494
+ offset: Int
495
+ before: String
496
+ after: String
497
+ first: Int
498
+ last: Int
499
+ filter: [FormFilterSetType]
500
+ order: [FormOrderSetType]
614
501
  ): FormConnection
615
502
  calcExpression: String
616
503
 
@@ -663,6 +550,11 @@ type Case implements Node {
663
550
  """
664
551
  id: ID!
665
552
 
553
+ """
554
+ Family id which case belongs to.
555
+ """
556
+ family: Case
557
+
666
558
  """
667
559
  Time when case has either been canceled or completed
668
560
  """
@@ -674,103 +566,23 @@ type Case implements Node {
674
566
  meta: GenericScalar
675
567
  document: Document
676
568
  workItems(
677
- offset: Int = null
678
- before: String = null
679
- after: String = null
680
- first: Int = null
681
- last: Int = null
682
- metaValue: [JSONValueFilterType] = null
683
- status: WorkItemStatusArgument = null
684
- name: String = null
685
- task: ID = null
686
- tasks: [String] = null
687
- case: ID = null
688
- createdAt: DateTime = null
689
- closedAt: DateTime = null
690
- modifiedAt: DateTime = null
691
- deadline: DateTime = null
692
- hasDeadline: Boolean = null
693
- caseFamily: ID = null
694
-
695
- """
696
- WorkItemOrdering
697
- """
698
- orderBy: [WorkItemOrdering] = null
699
- filter: [WorkItemFilterSetType] = null
700
- order: [WorkItemOrderSetType] = null
701
- createdByUser: String = null
702
- createdByGroup: String = null
703
- modifiedByUser: String = null
704
- modifiedByGroup: String = null
705
-
706
- """
707
- Only return entries created after the given DateTime (Exclusive)
708
- """
709
- createdBefore: DateTime = null
710
-
711
- """
712
- Only return entries created at or before the given DateTime (Inclusive)
713
- """
714
- createdAfter: DateTime = null
715
- metaHasKey: String = null
716
- id: ID = null
717
- addressedGroups: [String] = null
718
- controllingGroups: [String] = null
719
- assignedUsers: [String] = null
720
- documentHasAnswer: [HasAnswerFilterType] = null
721
- caseDocumentHasAnswer: [HasAnswerFilterType] = null
722
- caseMetaValue: [JSONValueFilterType] = null
723
- rootCaseMetaValue: [JSONValueFilterType] = null
569
+ offset: Int
570
+ before: String
571
+ after: String
572
+ first: Int
573
+ last: Int
574
+ filter: [WorkItemFilterSetType]
575
+ order: [WorkItemOrderSetType]
724
576
  ): WorkItemConnection
725
577
  parentWorkItem: WorkItem
726
578
  familyWorkItems(
727
- offset: Int = null
728
- before: String = null
729
- after: String = null
730
- first: Int = null
731
- last: Int = null
732
- metaValue: [JSONValueFilterType] = null
733
- status: WorkItemStatusArgument = null
734
-
735
- """
736
- WorkItemOrdering
737
- """
738
- orderBy: [WorkItemOrdering] = null
739
- filter: [WorkItemFilterSetType] = null
740
- order: [WorkItemOrderSetType] = null
741
- documentHasAnswer: [HasAnswerFilterType] = null
742
- caseDocumentHasAnswer: [HasAnswerFilterType] = null
743
- caseMetaValue: [JSONValueFilterType] = null
744
- rootCaseMetaValue: [JSONValueFilterType] = null
745
- name: String = null
746
- task: ID = null
747
- tasks: [String] = null
748
- case: ID = null
749
- createdAt: DateTime = null
750
- closedAt: DateTime = null
751
- modifiedAt: DateTime = null
752
- deadline: DateTime = null
753
- hasDeadline: Boolean = null
754
- caseFamily: ID = null
755
- createdByUser: String = null
756
- createdByGroup: String = null
757
- modifiedByUser: String = null
758
- modifiedByGroup: String = null
759
-
760
- """
761
- Only return entries created after the given DateTime (Exclusive)
762
- """
763
- createdBefore: DateTime = null
764
-
765
- """
766
- Only return entries created at or before the given DateTime (Inclusive)
767
- """
768
- createdAfter: DateTime = null
769
- metaHasKey: String = null
770
- id: ID = null
771
- addressedGroups: [String] = null
772
- controllingGroups: [String] = null
773
- assignedUsers: [String] = null
579
+ offset: Int
580
+ before: String
581
+ after: String
582
+ first: Int
583
+ last: Int
584
+ filter: [WorkItemFilterSetType]
585
+ order: [WorkItemOrderSetType]
774
586
  ): WorkItemConnection
775
587
  }
776
588
 
@@ -813,7 +625,7 @@ input CaseFilterSetType {
813
625
  metaHasKey: String
814
626
  metaValue: [JSONValueFilterType]
815
627
  id: ID
816
- orderBy: [CaseOrdering]
628
+ ids: [ID]
817
629
  documentForm: String
818
630
  documentForms: [String]
819
631
  hasAnswer: [HasAnswerFilterType]
@@ -821,85 +633,10 @@ input CaseFilterSetType {
821
633
  rootCase: ID
822
634
  searchAnswers: [SearchAnswersFilterType]
823
635
  status: [CaseStatusArgument]
824
- orderByQuestionAnswerValue: String
636
+ excludeChildCases: Boolean
825
637
  invert: Boolean
826
638
  }
827
639
 
828
- """
829
- An enumeration.
830
- """
831
- enum CaseOrdering {
832
- """
833
- Status
834
- """
835
- STATUS_ASC
836
-
837
- """
838
- Status (descending)
839
- """
840
- STATUS_DESC
841
-
842
- """
843
- Created at
844
- """
845
- CREATED_AT_ASC
846
-
847
- """
848
- Created at (descending)
849
- """
850
- CREATED_AT_DESC
851
-
852
- """
853
- Modified at
854
- """
855
- MODIFIED_AT_ASC
856
-
857
- """
858
- Modified at (descending)
859
- """
860
- MODIFIED_AT_DESC
861
-
862
- """
863
- Created by user
864
- """
865
- CREATED_BY_USER_ASC
866
-
867
- """
868
- Created by user (descending)
869
- """
870
- CREATED_BY_USER_DESC
871
-
872
- """
873
- Created by group
874
- """
875
- CREATED_BY_GROUP_ASC
876
-
877
- """
878
- Created by group (descending)
879
- """
880
- CREATED_BY_GROUP_DESC
881
-
882
- """
883
- Modified by user
884
- """
885
- MODIFIED_BY_USER_ASC
886
-
887
- """
888
- Modified by user (descending)
889
- """
890
- MODIFIED_BY_USER_DESC
891
-
892
- """
893
- Modified by group
894
- """
895
- MODIFIED_BY_GROUP_ASC
896
-
897
- """
898
- Modified by group (descending)
899
- """
900
- MODIFIED_BY_GROUP_DESC
901
- }
902
-
903
640
  input CaseOrderSetType {
904
641
  meta: String
905
642
  attribute: SortableCaseAttributes
@@ -964,72 +701,22 @@ type ChoiceQuestion implements Question & Node {
964
701
  source: Question
965
702
  defaultAnswer: StringAnswer
966
703
  forms(
967
- offset: Int = null
968
- before: String = null
969
- after: String = null
970
- first: Int = null
971
- last: Int = null
972
- slug: String = null
973
- name: String = null
974
- description: String = null
975
- isPublished: Boolean = null
976
- isArchived: Boolean = null
977
- questions: [String] = null
978
- createdByUser: String = null
979
- createdByGroup: String = null
980
- modifiedByUser: String = null
981
- modifiedByGroup: String = null
982
-
983
- """
984
- Only return entries created after the given DateTime (Exclusive)
985
- """
986
- createdBefore: DateTime = null
987
-
988
- """
989
- Only return entries created at or before the given DateTime (Inclusive)
990
- """
991
- createdAfter: DateTime = null
992
- metaHasKey: String = null
993
- metaValue: [JSONValueFilterType] = null
994
- search: String = null
995
-
996
- """
997
- FormOrdering
998
- """
999
- orderBy: [FormOrdering] = null
1000
- slugs: [String] = null
704
+ offset: Int
705
+ before: String
706
+ after: String
707
+ first: Int
708
+ last: Int
709
+ filter: [FormFilterSetType]
710
+ order: [FormOrderSetType]
1001
711
  ): FormConnection
1002
712
  options(
1003
- offset: Int = null
1004
- before: String = null
1005
- after: String = null
1006
- first: Int = null
1007
- last: Int = null
1008
- metaValue: [JSONValueFilterType] = null
1009
- slug: String = null
1010
- label: String = null
1011
- isArchived: Boolean = null
1012
- createdByUser: String = null
1013
- createdByGroup: String = null
1014
- modifiedByUser: String = null
1015
- modifiedByGroup: String = null
1016
-
1017
- """
1018
- Only return entries created after the given DateTime (Exclusive)
1019
- """
1020
- createdBefore: DateTime = null
1021
-
1022
- """
1023
- Only return entries created at or before the given DateTime (Inclusive)
1024
- """
1025
- createdAfter: DateTime = null
1026
- metaHasKey: String = null
1027
- search: String = null
1028
-
1029
- """
1030
- OptionOrdering
1031
- """
1032
- orderBy: [OptionOrdering] = null
713
+ offset: Int
714
+ before: String
715
+ after: String
716
+ first: Int
717
+ last: Int
718
+ filter: [OptionFilterSetType]
719
+ order: [OptionOrderSetType]
1033
720
  ): OptionConnection
1034
721
 
1035
722
  """
@@ -1306,40 +993,13 @@ type DateQuestion implements Question & Node {
1306
993
  source: Question
1307
994
  defaultAnswer: DateAnswer
1308
995
  forms(
1309
- offset: Int = null
1310
- before: String = null
1311
- after: String = null
1312
- first: Int = null
1313
- last: Int = null
1314
- slug: String = null
1315
- name: String = null
1316
- description: String = null
1317
- isPublished: Boolean = null
1318
- isArchived: Boolean = null
1319
- questions: [String] = null
1320
- createdByUser: String = null
1321
- createdByGroup: String = null
1322
- modifiedByUser: String = null
1323
- modifiedByGroup: String = null
1324
-
1325
- """
1326
- Only return entries created after the given DateTime (Exclusive)
1327
- """
1328
- createdBefore: DateTime = null
1329
-
1330
- """
1331
- Only return entries created at or before the given DateTime (Inclusive)
1332
- """
1333
- createdAfter: DateTime = null
1334
- metaHasKey: String = null
1335
- metaValue: [JSONValueFilterType] = null
1336
- search: String = null
1337
-
1338
- """
1339
- FormOrdering
1340
- """
1341
- orderBy: [FormOrdering] = null
1342
- slugs: [String] = null
996
+ offset: Int
997
+ before: String
998
+ after: String
999
+ first: Int
1000
+ last: Int
1001
+ filter: [FormFilterSetType]
1002
+ order: [FormOrderSetType]
1343
1003
  ): FormConnection
1344
1004
 
1345
1005
  """
@@ -1464,45 +1124,20 @@ type Document implements Node {
1464
1124
  Reference this document has been copied from
1465
1125
  """
1466
1126
  copies(
1467
- offset: Int = null
1468
- before: String = null
1469
- after: String = null
1470
- first: Int = null
1471
- last: Int = null
1127
+ offset: Int
1128
+ before: String
1129
+ after: String
1130
+ first: Int
1131
+ last: Int
1472
1132
  ): DocumentConnection!
1473
1133
  answers(
1474
- offset: Int = null
1475
- before: String = null
1476
- after: String = null
1477
- first: Int = null
1478
- last: Int = null
1479
- metaValue: [JSONValueFilterType] = null
1480
- question: ID = null
1481
- search: String = null
1482
-
1483
- """
1484
- AnswerOrdering
1485
- """
1486
- orderBy: [AnswerOrdering] = null
1487
- filter: [AnswerFilterSetType] = null
1488
- order: [AnswerOrderSetType] = null
1489
- createdByUser: String = null
1490
- createdByGroup: String = null
1491
- modifiedByUser: String = null
1492
- modifiedByGroup: String = null
1493
-
1494
- """
1495
- Only return entries created after the given DateTime (Exclusive)
1496
- """
1497
- createdBefore: DateTime = null
1498
-
1499
- """
1500
- Only return entries created at or before the given DateTime (Inclusive)
1501
- """
1502
- createdAfter: DateTime = null
1503
- metaHasKey: String = null
1504
- questions: [ID] = null
1505
- visibleInContext: Boolean = null
1134
+ offset: Int
1135
+ before: String
1136
+ after: String
1137
+ first: Int
1138
+ last: Int
1139
+ filter: [AnswerFilterSetType]
1140
+ order: [AnswerOrderSetType]
1506
1141
  ): AnswerConnection
1507
1142
  case: Case
1508
1143
  workItem: WorkItem
@@ -1552,78 +1187,12 @@ input DocumentFilterSetType {
1552
1187
  createdAfter: DateTime
1553
1188
  metaHasKey: String
1554
1189
  metaValue: [JSONValueFilterType]
1555
- orderBy: [DocumentOrdering]
1556
1190
  rootDocument: ID
1557
1191
  hasAnswer: [HasAnswerFilterType]
1558
1192
  searchAnswers: [SearchAnswersFilterType]
1559
1193
  invert: Boolean
1560
1194
  }
1561
1195
 
1562
- """
1563
- An enumeration.
1564
- """
1565
- enum DocumentOrdering {
1566
- """
1567
- Created at
1568
- """
1569
- CREATED_AT_ASC
1570
-
1571
- """
1572
- Created at (descending)
1573
- """
1574
- CREATED_AT_DESC
1575
-
1576
- """
1577
- Modified at
1578
- """
1579
- MODIFIED_AT_ASC
1580
-
1581
- """
1582
- Modified at (descending)
1583
- """
1584
- MODIFIED_AT_DESC
1585
-
1586
- """
1587
- Created by user
1588
- """
1589
- CREATED_BY_USER_ASC
1590
-
1591
- """
1592
- Created by user (descending)
1593
- """
1594
- CREATED_BY_USER_DESC
1595
-
1596
- """
1597
- Created by group
1598
- """
1599
- CREATED_BY_GROUP_ASC
1600
-
1601
- """
1602
- Created by group (descending)
1603
- """
1604
- CREATED_BY_GROUP_DESC
1605
-
1606
- """
1607
- Modified by user
1608
- """
1609
- MODIFIED_BY_USER_ASC
1610
-
1611
- """
1612
- Modified by user (descending)
1613
- """
1614
- MODIFIED_BY_USER_DESC
1615
-
1616
- """
1617
- Modified by group
1618
- """
1619
- MODIFIED_BY_GROUP_ASC
1620
-
1621
- """
1622
- Modified by group (descending)
1623
- """
1624
- MODIFIED_BY_GROUP_DESC
1625
- }
1626
-
1627
1196
  input DocumentOrderSetType {
1628
1197
  meta: String
1629
1198
  answerValue: String
@@ -1680,46 +1249,23 @@ type DynamicChoiceQuestion implements Question & DynamicQuestion & Node {
1680
1249
  meta: GenericScalar!
1681
1250
  source: Question
1682
1251
  forms(
1683
- offset: Int = null
1684
- before: String = null
1685
- after: String = null
1686
- first: Int = null
1687
- last: Int = null
1688
- slug: String = null
1689
- name: String = null
1690
- description: String = null
1691
- isPublished: Boolean = null
1692
- isArchived: Boolean = null
1693
- questions: [String] = null
1694
- createdByUser: String = null
1695
- createdByGroup: String = null
1696
- modifiedByUser: String = null
1697
- modifiedByGroup: String = null
1698
-
1699
- """
1700
- Only return entries created after the given DateTime (Exclusive)
1701
- """
1702
- createdBefore: DateTime = null
1703
-
1704
- """
1705
- Only return entries created at or before the given DateTime (Inclusive)
1706
- """
1707
- createdAfter: DateTime = null
1708
- metaHasKey: String = null
1709
- metaValue: [JSONValueFilterType] = null
1710
- search: String = null
1711
-
1712
- """
1713
- FormOrdering
1714
- """
1715
- orderBy: [FormOrdering] = null
1716
- slugs: [String] = null
1252
+ offset: Int
1253
+ before: String
1254
+ after: String
1255
+ first: Int
1256
+ last: Int
1257
+ filter: [FormFilterSetType]
1258
+ order: [FormOrderSetType]
1717
1259
  ): FormConnection
1718
1260
  options(
1719
- before: String = null
1720
- after: String = null
1721
- first: Int = null
1722
- last: Int = null
1261
+ """
1262
+ JSON object passed as context to the data source
1263
+ """
1264
+ context: JSONString
1265
+ before: String
1266
+ after: String
1267
+ first: Int
1268
+ last: Int
1723
1269
  ): DataSourceDataConnection
1724
1270
  dataSource: String!
1725
1271
 
@@ -1750,46 +1296,23 @@ type DynamicMultipleChoiceQuestion implements Question & DynamicQuestion & Node
1750
1296
  meta: GenericScalar!
1751
1297
  source: Question
1752
1298
  forms(
1753
- offset: Int = null
1754
- before: String = null
1755
- after: String = null
1756
- first: Int = null
1757
- last: Int = null
1758
- slug: String = null
1759
- name: String = null
1760
- description: String = null
1761
- isPublished: Boolean = null
1762
- isArchived: Boolean = null
1763
- questions: [String] = null
1764
- createdByUser: String = null
1765
- createdByGroup: String = null
1766
- modifiedByUser: String = null
1767
- modifiedByGroup: String = null
1768
-
1769
- """
1770
- Only return entries created after the given DateTime (Exclusive)
1771
- """
1772
- createdBefore: DateTime = null
1773
-
1774
- """
1775
- Only return entries created at or before the given DateTime (Inclusive)
1776
- """
1777
- createdAfter: DateTime = null
1778
- metaHasKey: String = null
1779
- metaValue: [JSONValueFilterType] = null
1780
- search: String = null
1781
-
1782
- """
1783
- FormOrdering
1784
- """
1785
- orderBy: [FormOrdering] = null
1786
- slugs: [String] = null
1299
+ offset: Int
1300
+ before: String
1301
+ after: String
1302
+ first: Int
1303
+ last: Int
1304
+ filter: [FormFilterSetType]
1305
+ order: [FormOrderSetType]
1787
1306
  ): FormConnection
1788
1307
  options(
1789
- before: String = null
1790
- after: String = null
1791
- first: Int = null
1792
- last: Int = null
1308
+ """
1309
+ JSON object passed as context to the data source
1310
+ """
1311
+ context: JSONString
1312
+ before: String
1313
+ after: String
1314
+ first: Int
1315
+ last: Int
1793
1316
  ): DataSourceDataConnection
1794
1317
  dataSource: String!
1795
1318
 
@@ -1851,12 +1374,22 @@ input DynamicOptionFilterSetType {
1851
1374
  invert: Boolean
1852
1375
  }
1853
1376
 
1377
+ input DynamicOptionOrderSetType {
1378
+ meta: String
1379
+ attribute: SortableDynamicOptionAttributes
1380
+ direction: AscDesc
1381
+ }
1382
+
1854
1383
  interface DynamicQuestion {
1855
1384
  options(
1856
- before: String = null
1857
- after: String = null
1858
- first: Int = null
1859
- last: Int = null
1385
+ """
1386
+ JSON object passed as context to the data source
1387
+ """
1388
+ context: JSONString
1389
+ before: String
1390
+ after: String
1391
+ first: Int
1392
+ last: Int
1860
1393
  ): DataSourceDataConnection
1861
1394
  dataSource: String!
1862
1395
  hintText: String
@@ -1875,13 +1408,13 @@ type File implements Node {
1875
1408
  """
1876
1409
  id: ID!
1877
1410
  name: String!
1878
- answer: FileAnswer
1411
+ answer: FilesAnswer
1879
1412
  uploadUrl: String
1880
1413
  downloadUrl: String
1881
1414
  metadata: GenericScalar
1882
1415
  }
1883
1416
 
1884
- type FileAnswer implements Answer & Node {
1417
+ type FilesAnswer implements Answer & Node {
1885
1418
  createdAt: DateTime!
1886
1419
  modifiedAt: DateTime!
1887
1420
  createdByUser: String
@@ -1894,12 +1427,11 @@ type FileAnswer implements Answer & Node {
1894
1427
  """
1895
1428
  id: ID!
1896
1429
  question: Question!
1897
- value: File!
1430
+ value: [File]!
1898
1431
  meta: GenericScalar!
1899
- file: File
1900
1432
  }
1901
1433
 
1902
- type FileQuestion implements Question & Node {
1434
+ type FilesQuestion implements Question & Node {
1903
1435
  createdAt: DateTime!
1904
1436
  modifiedAt: DateTime!
1905
1437
  createdByUser: String
@@ -1920,40 +1452,13 @@ type FileQuestion implements Question & Node {
1920
1452
  meta: GenericScalar!
1921
1453
  source: Question
1922
1454
  forms(
1923
- offset: Int = null
1924
- before: String = null
1925
- after: String = null
1926
- first: Int = null
1927
- last: Int = null
1928
- slug: String = null
1929
- name: String = null
1930
- description: String = null
1931
- isPublished: Boolean = null
1932
- isArchived: Boolean = null
1933
- questions: [String] = null
1934
- createdByUser: String = null
1935
- createdByGroup: String = null
1936
- modifiedByUser: String = null
1937
- modifiedByGroup: String = null
1938
-
1939
- """
1940
- Only return entries created after the given DateTime (Exclusive)
1941
- """
1942
- createdBefore: DateTime = null
1943
-
1944
- """
1945
- Only return entries created at or before the given DateTime (Inclusive)
1946
- """
1947
- createdAfter: DateTime = null
1948
- metaHasKey: String = null
1949
- metaValue: [JSONValueFilterType] = null
1950
- search: String = null
1951
-
1952
- """
1953
- FormOrdering
1954
- """
1955
- orderBy: [FormOrdering] = null
1956
- slugs: [String] = null
1455
+ offset: Int
1456
+ before: String
1457
+ after: String
1458
+ first: Int
1459
+ last: Int
1460
+ filter: [FormFilterSetType]
1461
+ order: [FormOrderSetType]
1957
1462
  ): FormConnection
1958
1463
 
1959
1464
  """
@@ -2002,40 +1507,13 @@ type FloatQuestion implements Question & Node {
2002
1507
  source: Question
2003
1508
  defaultAnswer: FloatAnswer
2004
1509
  forms(
2005
- offset: Int = null
2006
- before: String = null
2007
- after: String = null
2008
- first: Int = null
2009
- last: Int = null
2010
- slug: String = null
2011
- name: String = null
2012
- description: String = null
2013
- isPublished: Boolean = null
2014
- isArchived: Boolean = null
2015
- questions: [String] = null
2016
- createdByUser: String = null
2017
- createdByGroup: String = null
2018
- modifiedByUser: String = null
2019
- modifiedByGroup: String = null
2020
-
2021
- """
2022
- Only return entries created after the given DateTime (Exclusive)
2023
- """
2024
- createdBefore: DateTime = null
2025
-
2026
- """
2027
- Only return entries created at or before the given DateTime (Inclusive)
2028
- """
2029
- createdAfter: DateTime = null
2030
- metaHasKey: String = null
2031
- metaValue: [JSONValueFilterType] = null
2032
- search: String = null
2033
-
2034
- """
2035
- FormOrdering
2036
- """
2037
- orderBy: [FormOrdering] = null
2038
- slugs: [String] = null
1510
+ offset: Int
1511
+ before: String
1512
+ after: String
1513
+ first: Int
1514
+ last: Int
1515
+ filter: [FormFilterSetType]
1516
+ order: [FormOrderSetType]
2039
1517
  ): FormConnection
2040
1518
 
2041
1519
  """
@@ -2114,6 +1592,12 @@ Examples:
2114
1592
  """
2115
1593
  scalar FlowJexl
2116
1594
 
1595
+ input FlowOrderSetType {
1596
+ meta: String
1597
+ attribute: SortableFlowAttributes
1598
+ direction: AscDesc
1599
+ }
1600
+
2117
1601
  type Form implements Node {
2118
1602
  createdAt: DateTime!
2119
1603
  modifiedAt: DateTime!
@@ -2128,54 +1612,25 @@ type Form implements Node {
2128
1612
  isPublished: Boolean!
2129
1613
  isArchived: Boolean!
2130
1614
  questions(
2131
- offset: Int = null
2132
- before: String = null
2133
- after: String = null
2134
- first: Int = null
2135
- last: Int = null
2136
- metaValue: [JSONValueFilterType] = null
2137
- slug: String = null
2138
- label: String = null
2139
- isRequired: String = null
2140
- isHidden: String = null
2141
- isArchived: Boolean = null
2142
- subForm: ID = null
2143
- rowForm: ID = null
2144
- createdByUser: String = null
2145
- createdByGroup: String = null
2146
- modifiedByUser: String = null
2147
- modifiedByGroup: String = null
2148
-
2149
- """
2150
- Only return entries created after the given DateTime (Exclusive)
2151
- """
2152
- createdBefore: DateTime = null
2153
-
2154
- """
2155
- Only return entries created at or before the given DateTime (Inclusive)
2156
- """
2157
- createdAfter: DateTime = null
2158
- metaHasKey: String = null
2159
- excludeForms: [ID] = null
2160
- search: String = null
2161
-
2162
- """
2163
- QuestionOrdering
2164
- """
2165
- orderBy: [QuestionOrdering] = null
2166
- slugs: [String] = null
2167
- ): QuestionConnection
1615
+ offset: Int
1616
+ before: String
1617
+ after: String
1618
+ first: Int
1619
+ last: Int
1620
+ filter: [QuestionFilterSetType]
1621
+ order: [QuestionOrderSetType]
1622
+ ): QuestionConnection
2168
1623
 
2169
1624
  """
2170
1625
  Reference this form has been copied from
2171
1626
  """
2172
1627
  source: Form
2173
1628
  documents(
2174
- offset: Int = null
2175
- before: String = null
2176
- after: String = null
2177
- first: Int = null
2178
- last: Int = null
1629
+ offset: Int
1630
+ before: String
1631
+ after: String
1632
+ first: Int
1633
+ last: Int
2179
1634
  ): DocumentConnection!
2180
1635
 
2181
1636
  """
@@ -2248,8 +1703,6 @@ type FormEdge {
2248
1703
  }
2249
1704
 
2250
1705
  input FormFilterSetType {
2251
- orderBy: [FormOrdering]
2252
- slug: String
2253
1706
  name: String
2254
1707
  description: String
2255
1708
  isPublished: Boolean
@@ -2268,81 +1721,6 @@ input FormFilterSetType {
2268
1721
  invert: Boolean
2269
1722
  }
2270
1723
 
2271
- """
2272
- An enumeration.
2273
- """
2274
- enum FormOrdering {
2275
- """
2276
- Name
2277
- """
2278
- NAME_ASC
2279
-
2280
- """
2281
- Name (descending)
2282
- """
2283
- NAME_DESC
2284
-
2285
- """
2286
- Created at
2287
- """
2288
- CREATED_AT_ASC
2289
-
2290
- """
2291
- Created at (descending)
2292
- """
2293
- CREATED_AT_DESC
2294
-
2295
- """
2296
- Modified at
2297
- """
2298
- MODIFIED_AT_ASC
2299
-
2300
- """
2301
- Modified at (descending)
2302
- """
2303
- MODIFIED_AT_DESC
2304
-
2305
- """
2306
- Created by user
2307
- """
2308
- CREATED_BY_USER_ASC
2309
-
2310
- """
2311
- Created by user (descending)
2312
- """
2313
- CREATED_BY_USER_DESC
2314
-
2315
- """
2316
- Created by group
2317
- """
2318
- CREATED_BY_GROUP_ASC
2319
-
2320
- """
2321
- Created by group (descending)
2322
- """
2323
- CREATED_BY_GROUP_DESC
2324
-
2325
- """
2326
- Modified by user
2327
- """
2328
- MODIFIED_BY_USER_ASC
2329
-
2330
- """
2331
- Modified by user (descending)
2332
- """
2333
- MODIFIED_BY_USER_DESC
2334
-
2335
- """
2336
- Modified by group
2337
- """
2338
- MODIFIED_BY_GROUP_ASC
2339
-
2340
- """
2341
- Modified by group (descending)
2342
- """
2343
- MODIFIED_BY_GROUP_DESC
2344
- }
2345
-
2346
1724
  input FormOrderSetType {
2347
1725
  meta: String
2348
1726
  attribute: SortableFormAttributes
@@ -2369,40 +1747,13 @@ type FormQuestion implements Question & Node {
2369
1747
  meta: GenericScalar!
2370
1748
  source: Question
2371
1749
  forms(
2372
- offset: Int = null
2373
- before: String = null
2374
- after: String = null
2375
- first: Int = null
2376
- last: Int = null
2377
- slug: String = null
2378
- name: String = null
2379
- description: String = null
2380
- isPublished: Boolean = null
2381
- isArchived: Boolean = null
2382
- questions: [String] = null
2383
- createdByUser: String = null
2384
- createdByGroup: String = null
2385
- modifiedByUser: String = null
2386
- modifiedByGroup: String = null
2387
-
2388
- """
2389
- Only return entries created after the given DateTime (Exclusive)
2390
- """
2391
- createdBefore: DateTime = null
2392
-
2393
- """
2394
- Only return entries created at or before the given DateTime (Inclusive)
2395
- """
2396
- createdAfter: DateTime = null
2397
- metaHasKey: String = null
2398
- metaValue: [JSONValueFilterType] = null
2399
- search: String = null
2400
-
2401
- """
2402
- FormOrdering
2403
- """
2404
- orderBy: [FormOrdering] = null
2405
- slugs: [String] = null
1750
+ offset: Int
1751
+ before: String
1752
+ after: String
1753
+ first: Int
1754
+ last: Int
1755
+ filter: [FormFilterSetType]
1756
+ order: [FormOrderSetType]
2406
1757
  ): FormConnection
2407
1758
 
2408
1759
  """
@@ -2486,40 +1837,13 @@ type IntegerQuestion implements Question & Node {
2486
1837
  source: Question
2487
1838
  defaultAnswer: IntegerAnswer
2488
1839
  forms(
2489
- offset: Int = null
2490
- before: String = null
2491
- after: String = null
2492
- first: Int = null
2493
- last: Int = null
2494
- slug: String = null
2495
- name: String = null
2496
- description: String = null
2497
- isPublished: Boolean = null
2498
- isArchived: Boolean = null
2499
- questions: [String] = null
2500
- createdByUser: String = null
2501
- createdByGroup: String = null
2502
- modifiedByUser: String = null
2503
- modifiedByGroup: String = null
2504
-
2505
- """
2506
- Only return entries created after the given DateTime (Exclusive)
2507
- """
2508
- createdBefore: DateTime = null
2509
-
2510
- """
2511
- Only return entries created at or before the given DateTime (Inclusive)
2512
- """
2513
- createdAfter: DateTime = null
2514
- metaHasKey: String = null
2515
- metaValue: [JSONValueFilterType] = null
2516
- search: String = null
2517
-
2518
- """
2519
- FormOrdering
2520
- """
2521
- orderBy: [FormOrdering] = null
2522
- slugs: [String] = null
1840
+ offset: Int
1841
+ before: String
1842
+ after: String
1843
+ first: Int
1844
+ last: Int
1845
+ filter: [FormFilterSetType]
1846
+ order: [FormOrderSetType]
2523
1847
  ): FormConnection
2524
1848
 
2525
1849
  """
@@ -2572,10 +1896,10 @@ type ListAnswer implements Answer & Node {
2572
1896
  value: [String]
2573
1897
  meta: GenericScalar!
2574
1898
  selectedOptions(
2575
- before: String = null
2576
- after: String = null
2577
- first: Int = null
2578
- last: Int = null
1899
+ before: String
1900
+ after: String
1901
+ first: Int
1902
+ last: Int
2579
1903
  ): SelectedOptionConnection
2580
1904
  }
2581
1905
 
@@ -2601,72 +1925,22 @@ type MultipleChoiceQuestion implements Question & Node {
2601
1925
  source: Question
2602
1926
  defaultAnswer: ListAnswer
2603
1927
  forms(
2604
- offset: Int = null
2605
- before: String = null
2606
- after: String = null
2607
- first: Int = null
2608
- last: Int = null
2609
- slug: String = null
2610
- name: String = null
2611
- description: String = null
2612
- isPublished: Boolean = null
2613
- isArchived: Boolean = null
2614
- questions: [String] = null
2615
- createdByUser: String = null
2616
- createdByGroup: String = null
2617
- modifiedByUser: String = null
2618
- modifiedByGroup: String = null
2619
-
2620
- """
2621
- Only return entries created after the given DateTime (Exclusive)
2622
- """
2623
- createdBefore: DateTime = null
2624
-
2625
- """
2626
- Only return entries created at or before the given DateTime (Inclusive)
2627
- """
2628
- createdAfter: DateTime = null
2629
- metaHasKey: String = null
2630
- metaValue: [JSONValueFilterType] = null
2631
- search: String = null
2632
-
2633
- """
2634
- FormOrdering
2635
- """
2636
- orderBy: [FormOrdering] = null
2637
- slugs: [String] = null
1928
+ offset: Int
1929
+ before: String
1930
+ after: String
1931
+ first: Int
1932
+ last: Int
1933
+ filter: [FormFilterSetType]
1934
+ order: [FormOrderSetType]
2638
1935
  ): FormConnection
2639
1936
  options(
2640
- offset: Int = null
2641
- before: String = null
2642
- after: String = null
2643
- first: Int = null
2644
- last: Int = null
2645
- metaValue: [JSONValueFilterType] = null
2646
-
2647
- """
2648
- OptionOrdering
2649
- """
2650
- orderBy: [OptionOrdering] = null
2651
- slug: String = null
2652
- label: String = null
2653
- isArchived: Boolean = null
2654
- createdByUser: String = null
2655
- createdByGroup: String = null
2656
- modifiedByUser: String = null
2657
- modifiedByGroup: String = null
2658
-
2659
- """
2660
- Only return entries created after the given DateTime (Exclusive)
2661
- """
2662
- createdBefore: DateTime = null
2663
-
2664
- """
2665
- Only return entries created at or before the given DateTime (Inclusive)
2666
- """
2667
- createdAfter: DateTime = null
2668
- metaHasKey: String = null
2669
- search: String = null
1937
+ offset: Int
1938
+ before: String
1939
+ after: String
1940
+ first: Int
1941
+ last: Int
1942
+ filter: [OptionFilterSetType]
1943
+ order: [OptionOrderSetType]
2670
1944
  ): OptionConnection
2671
1945
  staticContent: String
2672
1946
 
@@ -2685,6 +1959,9 @@ type Mutation {
2685
1959
  removeAnalyticsField(
2686
1960
  input: RemoveAnalyticsFieldInput!
2687
1961
  ): RemoveAnalyticsFieldPayload
1962
+ reorderAnalyticsFields(
1963
+ input: ReorderAnalyticsFieldsInput!
1964
+ ): ReorderAnalyticsFieldsPayload
2688
1965
  saveWorkflow(input: SaveWorkflowInput!): SaveWorkflowPayload
2689
1966
  addWorkflowFlow(input: AddWorkflowFlowInput!): AddWorkflowFlowPayload
2690
1967
  removeFlow(input: RemoveFlowInput!): RemoveFlowPayload
@@ -2695,8 +1972,6 @@ type Mutation {
2695
1972
  saveCompleteTaskFormTask(
2696
1973
  input: SaveCompleteTaskFormTaskInput!
2697
1974
  ): SaveCompleteTaskFormTaskPayload
2698
- startCase(input: StartCaseInput!): StartCasePayload
2699
- @deprecated(reason: "Use SaveCase mutation instead")
2700
1975
  saveCase(input: SaveCaseInput!): SaveCasePayload
2701
1976
  cancelCase(input: CancelCaseInput!): CancelCasePayload
2702
1977
  suspendCase(input: SuspendCaseInput!): SuspendCasePayload
@@ -2745,7 +2020,7 @@ type Mutation {
2745
2020
  ): SaveIntegerQuestionPayload
2746
2021
  saveTableQuestion(input: SaveTableQuestionInput!): SaveTableQuestionPayload
2747
2022
  saveFormQuestion(input: SaveFormQuestionInput!): SaveFormQuestionPayload
2748
- saveFileQuestion(input: SaveFileQuestionInput!): SaveFileQuestionPayload
2023
+ saveFilesQuestion(input: SaveFilesQuestionInput!): SaveFilesQuestionPayload
2749
2024
  saveStaticQuestion(input: SaveStaticQuestionInput!): SaveStaticQuestionPayload
2750
2025
  saveCalculatedFloatQuestion(
2751
2026
  input: SaveCalculatedFloatQuestionInput!
@@ -2773,9 +2048,9 @@ type Mutation {
2773
2048
  saveDocumentTableAnswer(
2774
2049
  input: SaveDocumentTableAnswerInput!
2775
2050
  ): SaveDocumentTableAnswerPayload
2776
- saveDocumentFileAnswer(
2777
- input: SaveDocumentFileAnswerInput!
2778
- ): SaveDocumentFileAnswerPayload
2051
+ saveDocumentFilesAnswer(
2052
+ input: SaveDocumentFilesAnswerInput!
2053
+ ): SaveDocumentFilesAnswerPayload
2779
2054
  saveDefaultStringAnswer(
2780
2055
  input: SaveDefaultStringAnswerInput!
2781
2056
  ): SaveDefaultStringAnswerPayload
@@ -2862,79 +2137,26 @@ type OptionEdge {
2862
2137
  cursor: String!
2863
2138
  }
2864
2139
 
2865
- """
2866
- An enumeration.
2867
- """
2868
- enum OptionOrdering {
2869
- """
2870
- Label
2871
- """
2872
- LABEL_ASC
2873
-
2874
- """
2875
- Label (descending)
2876
- """
2877
- LABEL_DESC
2878
-
2879
- """
2880
- Created at
2881
- """
2882
- CREATED_AT_ASC
2883
-
2884
- """
2885
- Created at (descending)
2886
- """
2887
- CREATED_AT_DESC
2888
-
2889
- """
2890
- Modified at
2891
- """
2892
- MODIFIED_AT_ASC
2893
-
2894
- """
2895
- Modified at (descending)
2896
- """
2897
- MODIFIED_AT_DESC
2898
-
2899
- """
2900
- Created by user
2901
- """
2902
- CREATED_BY_USER_ASC
2903
-
2904
- """
2905
- Created by user (descending)
2906
- """
2907
- CREATED_BY_USER_DESC
2908
-
2909
- """
2910
- Created by group
2911
- """
2912
- CREATED_BY_GROUP_ASC
2913
-
2914
- """
2915
- Created by group (descending)
2916
- """
2917
- CREATED_BY_GROUP_DESC
2918
-
2919
- """
2920
- Modified by user
2921
- """
2922
- MODIFIED_BY_USER_ASC
2923
-
2924
- """
2925
- Modified by user (descending)
2926
- """
2927
- MODIFIED_BY_USER_DESC
2928
-
2929
- """
2930
- Modified by group
2931
- """
2932
- MODIFIED_BY_GROUP_ASC
2140
+ input OptionFilterSetType {
2141
+ slug: String
2142
+ label: String
2143
+ isArchived: Boolean
2144
+ createdByUser: String
2145
+ createdByGroup: String
2146
+ modifiedByUser: String
2147
+ modifiedByGroup: String
2148
+ createdBefore: DateTime
2149
+ createdAfter: DateTime
2150
+ metaHasKey: String
2151
+ metaValue: [JSONValueFilterType]
2152
+ search: String
2153
+ invert: Boolean
2154
+ }
2933
2155
 
2934
- """
2935
- Modified by group (descending)
2936
- """
2937
- MODIFIED_BY_GROUP_DESC
2156
+ input OptionOrderSetType {
2157
+ meta: String
2158
+ attribute: SortableOptionAttributes
2159
+ direction: AscDesc
2938
2160
  }
2939
2161
 
2940
2162
  """
@@ -2964,396 +2186,131 @@ type PageInfo {
2964
2186
 
2965
2187
  type Query {
2966
2188
  allAnalyticsTables(
2967
- offset: Int = null
2968
- before: String = null
2969
- after: String = null
2970
- first: Int = null
2971
- last: Int = null
2972
- metaValue: [JSONValueFilterType] = null
2973
- slug: String = null
2974
- name: String = null
2975
- filter: [AnalyticsTableFilterSetType] = null
2976
- order: [AnalyticsTableOrderSetType] = null
2977
- createdByUser: String = null
2978
- createdByGroup: String = null
2979
- modifiedByUser: String = null
2980
- modifiedByGroup: String = null
2981
-
2982
- """
2983
- Only return entries created after the given DateTime (Exclusive)
2984
- """
2985
- createdBefore: DateTime = null
2986
-
2987
- """
2988
- Only return entries created at or before the given DateTime (Inclusive)
2989
- """
2990
- createdAfter: DateTime = null
2991
- metaHasKey: String = null
2992
- search: String = null
2993
- slugs: [String] = null
2189
+ offset: Int
2190
+ before: String
2191
+ after: String
2192
+ first: Int
2193
+ last: Int
2194
+ filter: [AnalyticsTableFilterSetType]
2195
+ order: [AnalyticsTableOrderSetType]
2994
2196
  ): AnalyticsTableConnection
2995
2197
  analyticsTable(slug: String!): AnalyticsTable
2996
2198
  allAnalyticsFields(
2997
- offset: Int = null
2998
- before: String = null
2999
- after: String = null
3000
- first: Int = null
3001
- last: Int = null
3002
- metaValue: [JSONValueFilterType] = null
3003
- alias: String = null
3004
- table: ID = null
3005
- filter: [AnalyticsFieldFilterSetType] = null
3006
- createdByUser: String = null
3007
- createdByGroup: String = null
3008
- modifiedByUser: String = null
3009
- modifiedByGroup: String = null
3010
-
3011
- """
3012
- Only return entries created after the given DateTime (Exclusive)
3013
- """
3014
- createdBefore: DateTime = null
3015
-
3016
- """
3017
- Only return entries created at or before the given DateTime (Inclusive)
3018
- """
3019
- createdAfter: DateTime = null
3020
- metaHasKey: String = null
3021
- search: String = null
3022
- slugs: [String] = null
2199
+ offset: Int
2200
+ before: String
2201
+ after: String
2202
+ first: Int
2203
+ last: Int
2204
+ filter: [AnalyticsFieldFilterSetType]
2205
+ order: [AnalyticsFieldOrderSetType]
3023
2206
  ): AnalyticsFieldConnection
3024
2207
  allDataSources(
3025
- before: String = null
3026
- after: String = null
3027
- first: Int = null
3028
- last: Int = null
2208
+ before: String
2209
+ after: String
2210
+ first: Int
2211
+ last: Int
3029
2212
  ): DataSourceConnection
3030
2213
  dataSource(
3031
2214
  name: String!
3032
- before: String = null
3033
- after: String = null
3034
- first: Int = null
3035
- last: Int = null
3036
- ): DataSourceDataConnection
3037
- allWorkflows(
3038
- offset: Int = null
3039
- before: String = null
3040
- after: String = null
3041
- first: Int = null
3042
- last: Int = null
3043
- metaValue: [JSONValueFilterType] = null
3044
- slug: String = null
3045
- name: String = null
3046
- description: String = null
3047
- isPublished: Boolean = null
3048
- isArchived: Boolean = null
3049
-
3050
- """
3051
- WorkflowOrdering
3052
- """
3053
- orderBy: [WorkflowOrdering] = null
3054
- filter: [WorkflowFilterSetType] = null
3055
- order: [WorkflowOrderSetType] = null
3056
- createdByUser: String = null
3057
- createdByGroup: String = null
3058
- modifiedByUser: String = null
3059
- modifiedByGroup: String = null
3060
2215
 
3061
2216
  """
3062
- Only return entries created after the given DateTime (Exclusive)
2217
+ Slug of the question passed as context to the data source
3063
2218
  """
3064
- createdBefore: DateTime = null
2219
+ question: String
3065
2220
 
3066
2221
  """
3067
- Only return entries created at or before the given DateTime (Inclusive)
2222
+ JSON object passed as context to the data source
3068
2223
  """
3069
- createdAfter: DateTime = null
3070
- metaHasKey: String = null
3071
- search: String = null
2224
+ context: JSONString
2225
+ before: String
2226
+ after: String
2227
+ first: Int
2228
+ last: Int
2229
+ ): DataSourceDataConnection
2230
+ allWorkflows(
2231
+ offset: Int
2232
+ before: String
2233
+ after: String
2234
+ first: Int
2235
+ last: Int
2236
+ filter: [WorkflowFilterSetType]
2237
+ order: [WorkflowOrderSetType]
3072
2238
  ): WorkflowConnection
3073
2239
  allTasks(
3074
- offset: Int = null
3075
- before: String = null
3076
- after: String = null
3077
- first: Int = null
3078
- last: Int = null
3079
- metaValue: [JSONValueFilterType] = null
3080
- slug: String = null
3081
- name: String = null
3082
- description: String = null
3083
- type: TaskTypeArgument = null
3084
- isArchived: Boolean = null
3085
-
3086
- """
3087
- TaskOrdering
3088
- """
3089
- orderBy: [TaskOrdering] = null
3090
- filter: [TaskFilterSetType] = null
3091
- order: [TaskOrderSetType] = null
3092
- createdByUser: String = null
3093
- createdByGroup: String = null
3094
- modifiedByUser: String = null
3095
- modifiedByGroup: String = null
3096
-
3097
- """
3098
- Only return entries created after the given DateTime (Exclusive)
3099
- """
3100
- createdBefore: DateTime = null
3101
-
3102
- """
3103
- Only return entries created at or before the given DateTime (Inclusive)
3104
- """
3105
- createdAfter: DateTime = null
3106
- metaHasKey: String = null
3107
- search: String = null
2240
+ offset: Int
2241
+ before: String
2242
+ after: String
2243
+ first: Int
2244
+ last: Int
2245
+ filter: [TaskFilterSetType]
2246
+ order: [TaskOrderSetType]
3108
2247
  ): TaskConnection
3109
2248
  allCases(
3110
- offset: Int = null
3111
- before: String = null
3112
- after: String = null
3113
- first: Int = null
3114
- last: Int = null
3115
- metaValue: [JSONValueFilterType] = null
3116
- workflow: ID = null
3117
-
3118
- """
3119
- CaseOrdering
3120
- """
3121
- orderBy: [CaseOrdering] = null
3122
- filter: [CaseFilterSetType] = null
3123
- order: [CaseOrderSetType] = null
3124
- createdByUser: String = null
3125
- createdByGroup: String = null
3126
- modifiedByUser: String = null
3127
- modifiedByGroup: String = null
3128
-
3129
- """
3130
- Only return entries created after the given DateTime (Exclusive)
3131
- """
3132
- createdBefore: DateTime = null
3133
-
3134
- """
3135
- Only return entries created at or before the given DateTime (Inclusive)
3136
- """
3137
- createdAfter: DateTime = null
3138
- metaHasKey: String = null
3139
- id: ID = null
3140
- documentForm: String = null
3141
- documentForms: [String] = null
3142
- hasAnswer: [HasAnswerFilterType] = null
3143
- workItemDocumentHasAnswer: [HasAnswerFilterType] = null
3144
- rootCase: ID = null
3145
- searchAnswers: [SearchAnswersFilterType] = null
3146
- status: [[CaseStatusArgument]] = null
3147
-
3148
- """
3149
- Expects a question slug. If the slug is prefixed with a hyphen, the order will be reversed
3150
-
3151
- For file questions, the filename is used for sorting.
3152
-
3153
- Table questions are not supported at this time.
3154
- """
3155
- orderByQuestionAnswerValue: String = null
2249
+ offset: Int
2250
+ before: String
2251
+ after: String
2252
+ first: Int
2253
+ last: Int
2254
+ filter: [CaseFilterSetType]
2255
+ order: [CaseOrderSetType]
3156
2256
  ): CaseConnection
3157
2257
  allWorkItems(
3158
- offset: Int = null
3159
- before: String = null
3160
- after: String = null
3161
- first: Int = null
3162
- last: Int = null
3163
- metaValue: [JSONValueFilterType] = null
3164
- status: WorkItemStatusArgument = null
3165
-
3166
- """
3167
- WorkItemOrdering
3168
- """
3169
- orderBy: [WorkItemOrdering] = null
3170
- filter: [WorkItemFilterSetType] = null
3171
- order: [WorkItemOrderSetType] = null
3172
- documentHasAnswer: [HasAnswerFilterType] = null
3173
- caseDocumentHasAnswer: [HasAnswerFilterType] = null
3174
- caseMetaValue: [JSONValueFilterType] = null
3175
- rootCaseMetaValue: [JSONValueFilterType] = null
3176
- name: String = null
3177
- task: ID = null
3178
- tasks: [String] = null
3179
- case: ID = null
3180
- createdAt: DateTime = null
3181
- closedAt: DateTime = null
3182
- modifiedAt: DateTime = null
3183
- deadline: DateTime = null
3184
- hasDeadline: Boolean = null
3185
- caseFamily: ID = null
3186
- createdByUser: String = null
3187
- createdByGroup: String = null
3188
- modifiedByUser: String = null
3189
- modifiedByGroup: String = null
3190
-
3191
- """
3192
- Only return entries created after the given DateTime (Exclusive)
3193
- """
3194
- createdBefore: DateTime = null
3195
-
3196
- """
3197
- Only return entries created at or before the given DateTime (Inclusive)
3198
- """
3199
- createdAfter: DateTime = null
3200
- metaHasKey: String = null
3201
- id: ID = null
3202
- addressedGroups: [String] = null
3203
- controllingGroups: [String] = null
3204
- assignedUsers: [String] = null
2258
+ offset: Int
2259
+ before: String
2260
+ after: String
2261
+ first: Int
2262
+ last: Int
2263
+ filter: [WorkItemFilterSetType]
2264
+ order: [WorkItemOrderSetType]
3205
2265
  ): WorkItemConnection
3206
2266
  allForms(
3207
- offset: Int = null
3208
- before: String = null
3209
- after: String = null
3210
- first: Int = null
3211
- last: Int = null
3212
- metaValue: [JSONValueFilterType] = null
3213
-
3214
- """
3215
- FormOrdering
3216
- """
3217
- orderBy: [FormOrdering] = null
3218
- slug: String = null
3219
- name: String = null
3220
- description: String = null
3221
- isPublished: Boolean = null
3222
- isArchived: Boolean = null
3223
- questions: [String] = null
3224
- filter: [FormFilterSetType] = null
3225
- order: [FormOrderSetType] = null
3226
- createdByUser: String = null
3227
- createdByGroup: String = null
3228
- modifiedByUser: String = null
3229
- modifiedByGroup: String = null
3230
-
3231
- """
3232
- Only return entries created after the given DateTime (Exclusive)
3233
- """
3234
- createdBefore: DateTime = null
3235
-
3236
- """
3237
- Only return entries created at or before the given DateTime (Inclusive)
3238
- """
3239
- createdAfter: DateTime = null
3240
- metaHasKey: String = null
3241
- search: String = null
3242
- slugs: [String] = null
2267
+ offset: Int
2268
+ before: String
2269
+ after: String
2270
+ first: Int
2271
+ last: Int
2272
+ filter: [FormFilterSetType]
2273
+ order: [FormOrderSetType]
3243
2274
  ): FormConnection
3244
2275
  allQuestions(
3245
- offset: Int = null
3246
- before: String = null
3247
- after: String = null
3248
- first: Int = null
3249
- last: Int = null
3250
- metaValue: [JSONValueFilterType] = null
3251
-
3252
- """
3253
- QuestionOrdering
3254
- """
3255
- orderBy: [QuestionOrdering] = null
3256
- slug: String = null
3257
- label: String = null
3258
- isRequired: String = null
3259
- isHidden: String = null
3260
- isArchived: Boolean = null
3261
- subForm: ID = null
3262
- rowForm: ID = null
3263
- filter: [QuestionFilterSetType] = null
3264
- order: [QuestionOrderSetType] = null
3265
- createdByUser: String = null
3266
- createdByGroup: String = null
3267
- modifiedByUser: String = null
3268
- modifiedByGroup: String = null
3269
-
3270
- """
3271
- Only return entries created after the given DateTime (Exclusive)
3272
- """
3273
- createdBefore: DateTime = null
3274
-
3275
- """
3276
- Only return entries created at or before the given DateTime (Inclusive)
3277
- """
3278
- createdAfter: DateTime = null
3279
- metaHasKey: String = null
3280
- excludeForms: [ID] = null
3281
- search: String = null
3282
- slugs: [String] = null
2276
+ offset: Int
2277
+ before: String
2278
+ after: String
2279
+ first: Int
2280
+ last: Int
2281
+ filter: [QuestionFilterSetType]
2282
+ order: [QuestionOrderSetType]
3283
2283
  ): QuestionConnection
3284
2284
  allDocuments(
3285
- offset: Int = null
3286
- before: String = null
3287
- after: String = null
3288
- first: Int = null
3289
- last: Int = null
3290
- metaValue: [JSONValueFilterType] = null
3291
- form: ID = null
3292
- forms: [ID] = null
3293
- search: String = null
3294
- id: ID = null
3295
-
3296
- """
3297
- DocumentOrdering
3298
- """
3299
- orderBy: [DocumentOrdering] = null
3300
- filter: [DocumentFilterSetType] = null
3301
- order: [DocumentOrderSetType] = null
3302
- createdByUser: String = null
3303
- createdByGroup: String = null
3304
- modifiedByUser: String = null
3305
- modifiedByGroup: String = null
3306
-
3307
- """
3308
- Only return entries created after the given DateTime (Exclusive)
3309
- """
3310
- createdBefore: DateTime = null
3311
-
3312
- """
3313
- Only return entries created at or before the given DateTime (Inclusive)
3314
- """
3315
- createdAfter: DateTime = null
3316
- metaHasKey: String = null
3317
- rootDocument: ID = null
3318
- hasAnswer: [HasAnswerFilterType] = null
3319
- searchAnswers: [SearchAnswersFilterType] = null
2285
+ offset: Int
2286
+ before: String
2287
+ after: String
2288
+ first: Int
2289
+ last: Int
2290
+ filter: [DocumentFilterSetType]
2291
+ order: [DocumentOrderSetType]
3320
2292
  ): DocumentConnection
3321
2293
  allFormatValidators(
3322
- before: String = null
3323
- after: String = null
3324
- first: Int = null
3325
- last: Int = null
2294
+ before: String
2295
+ after: String
2296
+ first: Int
2297
+ last: Int
3326
2298
  ): FormatValidatorConnection
3327
2299
  allUsedDynamicOptions(
3328
- offset: Int = null
3329
- before: String = null
3330
- after: String = null
3331
- first: Int = null
3332
- last: Int = null
3333
- question: ID = null
3334
- document: ID = null
3335
- filter: [DynamicOptionFilterSetType] = null
3336
- createdByUser: String = null
3337
- createdByGroup: String = null
3338
- modifiedByUser: String = null
3339
- modifiedByGroup: String = null
3340
-
3341
- """
3342
- Only return entries created after the given DateTime (Exclusive)
3343
- """
3344
- createdBefore: DateTime = null
3345
-
3346
- """
3347
- Only return entries created at or before the given DateTime (Inclusive)
3348
- """
3349
- createdAfter: DateTime = null
2300
+ offset: Int
2301
+ before: String
2302
+ after: String
2303
+ first: Int
2304
+ last: Int
2305
+ filter: [DynamicOptionFilterSetType]
2306
+ order: [DynamicOptionOrderSetType]
3350
2307
  ): DynamicOptionConnection
3351
2308
  documentValidity(
3352
2309
  id: ID!
3353
- before: String = null
3354
- after: String = null
3355
- first: Int = null
3356
- last: Int = null
2310
+ before: String
2311
+ after: String
2312
+ first: Int
2313
+ last: Int
3357
2314
  ): DocumentValidityConnection
3358
2315
  node(
3359
2316
  """
@@ -3384,40 +2341,13 @@ interface Question {
3384
2341
  isArchived: Boolean!
3385
2342
  meta: GenericScalar!
3386
2343
  forms(
3387
- offset: Int = null
3388
- before: String = null
3389
- after: String = null
3390
- first: Int = null
3391
- last: Int = null
3392
- slug: String = null
3393
- name: String = null
3394
- description: String = null
3395
- isPublished: Boolean = null
3396
- isArchived: Boolean = null
3397
- questions: [String] = null
3398
- createdByUser: String = null
3399
- createdByGroup: String = null
3400
- modifiedByUser: String = null
3401
- modifiedByGroup: String = null
3402
-
3403
- """
3404
- Only return entries created after the given DateTime (Exclusive)
3405
- """
3406
- createdBefore: DateTime = null
3407
-
3408
- """
3409
- Only return entries created at or before the given DateTime (Inclusive)
3410
- """
3411
- createdAfter: DateTime = null
3412
- metaHasKey: String = null
3413
- metaValue: [JSONValueFilterType] = null
3414
- search: String = null
3415
-
3416
- """
3417
- FormOrdering
3418
- """
3419
- orderBy: [FormOrdering] = null
3420
- slugs: [String] = null
2344
+ offset: Int
2345
+ before: String
2346
+ after: String
2347
+ first: Int
2348
+ last: Int
2349
+ filter: [FormFilterSetType]
2350
+ order: [FormOrderSetType]
3421
2351
  ): FormConnection
3422
2352
  source: Question
3423
2353
  }
@@ -3451,8 +2381,6 @@ type QuestionEdge {
3451
2381
  }
3452
2382
 
3453
2383
  input QuestionFilterSetType {
3454
- orderBy: [QuestionOrdering]
3455
- slug: String
3456
2384
  label: String
3457
2385
  isRequired: String
3458
2386
  isHidden: String
@@ -3470,6 +2398,7 @@ input QuestionFilterSetType {
3470
2398
  excludeForms: [ID]
3471
2399
  search: String
3472
2400
  slugs: [String]
2401
+ visibleInDocument: ID
3473
2402
  invert: Boolean
3474
2403
  }
3475
2404
 
@@ -3492,86 +2421,11 @@ Examples:
3492
2421
  """
3493
2422
  scalar QuestionJexl
3494
2423
 
3495
- """
3496
- An enumeration.
3497
- """
3498
- enum QuestionOrdering {
3499
- """
3500
- Label
3501
- """
3502
- LABEL_ASC
3503
-
3504
- """
3505
- Label (descending)
3506
- """
3507
- LABEL_DESC
3508
-
3509
- """
3510
- Created at
3511
- """
3512
- CREATED_AT_ASC
3513
-
3514
- """
3515
- Created at (descending)
3516
- """
3517
- CREATED_AT_DESC
3518
-
3519
- """
3520
- Modified at
3521
- """
3522
- MODIFIED_AT_ASC
3523
-
3524
- """
3525
- Modified at (descending)
3526
- """
3527
- MODIFIED_AT_DESC
3528
-
3529
- """
3530
- Created by user
3531
- """
3532
- CREATED_BY_USER_ASC
3533
-
3534
- """
3535
- Created by user (descending)
3536
- """
3537
- CREATED_BY_USER_DESC
3538
-
3539
- """
3540
- Created by group
3541
- """
3542
- CREATED_BY_GROUP_ASC
3543
-
3544
- """
3545
- Created by group (descending)
3546
- """
3547
- CREATED_BY_GROUP_DESC
3548
-
3549
- """
3550
- Modified by user
3551
- """
3552
- MODIFIED_BY_USER_ASC
3553
-
3554
- """
3555
- Modified by user (descending)
3556
- """
3557
- MODIFIED_BY_USER_DESC
3558
-
3559
- """
3560
- Modified by group
3561
- """
3562
- MODIFIED_BY_GROUP_ASC
3563
-
3564
- """
3565
- Modified by group (descending)
3566
- """
3567
- MODIFIED_BY_GROUP_DESC
3568
- }
3569
-
3570
- input QuestionOrderSetType {
3571
- meta: String
3572
- attribute: SortableQuestionAttributes
3573
- direction: AscDesc
3574
- }
2424
+ input QuestionOrderSetType {
2425
+ meta: String
2426
+ attribute: SortableQuestionAttributes
2427
+ direction: AscDesc
2428
+ }
3575
2429
 
3576
2430
  input RedoWorkItemInput {
3577
2431
  id: ID!
@@ -3661,6 +2515,10 @@ type RemoveFormQuestionPayload {
3661
2515
 
3662
2516
  input ReopenCaseInput {
3663
2517
  id: ID!
2518
+
2519
+ """
2520
+ List of work item ids to be readied when the case is reopened
2521
+ """
3664
2522
  workItems: [ID]!
3665
2523
 
3666
2524
  """
@@ -3675,6 +2533,17 @@ type ReopenCasePayload {
3675
2533
  clientMutationId: String
3676
2534
  }
3677
2535
 
2536
+ input ReorderAnalyticsFieldsInput {
2537
+ table: ID!
2538
+ fields: [ID]!
2539
+ clientMutationId: String
2540
+ }
2541
+
2542
+ type ReorderAnalyticsFieldsPayload {
2543
+ analyticsTable: AnalyticsTable
2544
+ clientMutationId: String
2545
+ }
2546
+
3678
2547
  input ReorderFormQuestionsInput {
3679
2548
  form: ID!
3680
2549
  questions: [ID]!
@@ -4009,6 +2878,11 @@ input SaveDocumentDateAnswerInput {
4009
2878
  document: ID!
4010
2879
  meta: JSONString
4011
2880
  value: Date
2881
+
2882
+ """
2883
+ JSON object passed as context to the data source of dynamic questions
2884
+ """
2885
+ dataSourceContext: JSONString
4012
2886
  clientMutationId: String
4013
2887
  }
4014
2888
 
@@ -4017,15 +2891,20 @@ type SaveDocumentDateAnswerPayload {
4017
2891
  clientMutationId: String
4018
2892
  }
4019
2893
 
4020
- input SaveDocumentFileAnswerInput {
2894
+ input SaveDocumentFilesAnswerInput {
2895
+ value: [SaveFile]
4021
2896
  question: ID!
4022
2897
  document: ID!
4023
2898
  meta: JSONString
4024
- value: String
2899
+
2900
+ """
2901
+ JSON object passed as context to the data source of dynamic questions
2902
+ """
2903
+ dataSourceContext: JSONString
4025
2904
  clientMutationId: String
4026
2905
  }
4027
2906
 
4028
- type SaveDocumentFileAnswerPayload {
2907
+ type SaveDocumentFilesAnswerPayload {
4029
2908
  answer: Answer
4030
2909
  clientMutationId: String
4031
2910
  }
@@ -4035,6 +2914,11 @@ input SaveDocumentFloatAnswerInput {
4035
2914
  document: ID!
4036
2915
  meta: JSONString
4037
2916
  value: Float
2917
+
2918
+ """
2919
+ JSON object passed as context to the data source of dynamic questions
2920
+ """
2921
+ dataSourceContext: JSONString
4038
2922
  clientMutationId: String
4039
2923
  }
4040
2924
 
@@ -4055,6 +2939,11 @@ input SaveDocumentIntegerAnswerInput {
4055
2939
  document: ID!
4056
2940
  meta: JSONString
4057
2941
  value: Int
2942
+
2943
+ """
2944
+ JSON object passed as context to the data source of dynamic questions
2945
+ """
2946
+ dataSourceContext: JSONString
4058
2947
  clientMutationId: String
4059
2948
  }
4060
2949
 
@@ -4068,6 +2957,11 @@ input SaveDocumentListAnswerInput {
4068
2957
  document: ID!
4069
2958
  meta: JSONString
4070
2959
  value: [String]
2960
+
2961
+ """
2962
+ JSON object passed as context to the data source of dynamic questions
2963
+ """
2964
+ dataSourceContext: JSONString
4071
2965
  clientMutationId: String
4072
2966
  }
4073
2967
 
@@ -4086,6 +2980,11 @@ input SaveDocumentStringAnswerInput {
4086
2980
  document: ID!
4087
2981
  meta: JSONString
4088
2982
  value: String
2983
+
2984
+ """
2985
+ JSON object passed as context to the data source of dynamic questions
2986
+ """
2987
+ dataSourceContext: JSONString
4089
2988
  clientMutationId: String
4090
2989
  }
4091
2990
 
@@ -4103,6 +3002,11 @@ input SaveDocumentTableAnswerInput {
4103
3002
  List of document IDs representing the rows in the table.
4104
3003
  """
4105
3004
  value: [ID]
3005
+
3006
+ """
3007
+ JSON object passed as context to the data source of dynamic questions
3008
+ """
3009
+ dataSourceContext: JSONString
4106
3010
  clientMutationId: String
4107
3011
  }
4108
3012
 
@@ -4147,7 +3051,12 @@ type SaveDynamicMultipleChoiceQuestionPayload {
4147
3051
  clientMutationId: String
4148
3052
  }
4149
3053
 
4150
- input SaveFileQuestionInput {
3054
+ input SaveFile {
3055
+ id: String
3056
+ name: String
3057
+ }
3058
+
3059
+ input SaveFilesQuestionInput {
4151
3060
  slug: String!
4152
3061
  label: String!
4153
3062
  infoText: String
@@ -4159,7 +3068,7 @@ input SaveFileQuestionInput {
4159
3068
  clientMutationId: String
4160
3069
  }
4161
3070
 
4162
- type SaveFileQuestionPayload {
3071
+ type SaveFilesQuestionPayload {
4163
3072
  question: Question
4164
3073
  clientMutationId: String
4165
3074
  }
@@ -4452,9 +3361,16 @@ type SaveWorkItemPayload {
4452
3361
 
4453
3362
  """
4454
3363
  Lookup type to search in answers.
3364
+
3365
+ You may pass in a list of question slugs and/or a list of form slugs to define
3366
+ which answers to search. If you pass in one or more forms, answers to the
3367
+ questions in that form will be searched. If you pass in one or more question
3368
+ slug, the corresponding answers are searched. If you pass both, a superset
3369
+ of both is searched (ie. they do not limit each other).
4455
3370
  """
4456
3371
  input SearchAnswersFilterType {
4457
3372
  questions: [ID]
3373
+ forms: [ID]
4458
3374
  value: GenericScalar!
4459
3375
  lookup: SearchLookupMode
4460
3376
  }
@@ -4541,13 +3457,15 @@ type SkipWorkItemPayload {
4541
3457
  clientMutationId: String
4542
3458
  }
4543
3459
 
3460
+ enum SortableAnalyticsFieldAttributes {
3461
+ CREATED_AT
3462
+ MODIFIED_AT
3463
+ ALIAS
3464
+ }
3465
+
4544
3466
  enum SortableAnalyticsTableAttributes {
4545
3467
  CREATED_AT
4546
3468
  MODIFIED_AT
4547
- CREATED_BY_USER
4548
- CREATED_BY_GROUP
4549
- MODIFIED_BY_USER
4550
- MODIFIED_BY_GROUP
4551
3469
  SLUG
4552
3470
  NAME
4553
3471
  }
@@ -4555,47 +3473,41 @@ enum SortableAnalyticsTableAttributes {
4555
3473
  enum SortableAnswerAttributes {
4556
3474
  CREATED_AT
4557
3475
  MODIFIED_AT
4558
- CREATED_BY_USER
4559
- CREATED_BY_GROUP
4560
- MODIFIED_BY_USER
4561
- MODIFIED_BY_GROUP
4562
3476
  QUESTION
4563
3477
  VALUE
4564
- DOCUMENT
4565
3478
  DATE
4566
- FILE
4567
3479
  }
4568
3480
 
4569
3481
  enum SortableCaseAttributes {
4570
- ALLOW_ALL_FORMS
4571
- CREATED_BY_GROUP
4572
- CREATED_BY_USER
4573
- DESCRIPTION
4574
- IS_ARCHIVED
4575
- IS_PUBLISHED
4576
- NAME
3482
+ CREATED_AT
3483
+ MODIFIED_AT
4577
3484
  STATUS
4578
- SLUG
3485
+ DOCUMENT__FORM__NAME
4579
3486
  }
4580
3487
 
4581
3488
  enum SortableDocumentAttributes {
4582
3489
  CREATED_AT
4583
3490
  MODIFIED_AT
4584
- CREATED_BY_USER
4585
- CREATED_BY_GROUP
4586
- MODIFIED_BY_USER
4587
- MODIFIED_BY_GROUP
4588
3491
  FORM
4589
- SOURCE
3492
+ }
3493
+
3494
+ enum SortableDynamicOptionAttributes {
3495
+ CREATED_AT
3496
+ MODIFIED_AT
3497
+ SLUG
3498
+ LABEL
3499
+ QUESTION
3500
+ }
3501
+
3502
+ enum SortableFlowAttributes {
3503
+ CREATED_AT
3504
+ MODIFIED_AT
3505
+ TASK
4590
3506
  }
4591
3507
 
4592
3508
  enum SortableFormAttributes {
4593
3509
  CREATED_AT
4594
3510
  MODIFIED_AT
4595
- CREATED_BY_USER
4596
- CREATED_BY_GROUP
4597
- MODIFIED_BY_USER
4598
- MODIFIED_BY_GROUP
4599
3511
  SLUG
4600
3512
  NAME
4601
3513
  DESCRIPTION
@@ -4603,13 +3515,17 @@ enum SortableFormAttributes {
4603
3515
  IS_ARCHIVED
4604
3516
  }
4605
3517
 
3518
+ enum SortableOptionAttributes {
3519
+ CREATED_AT
3520
+ MODIFIED_AT
3521
+ SLUG
3522
+ LABEL
3523
+ IS_ARCHIVED
3524
+ }
3525
+
4606
3526
  enum SortableQuestionAttributes {
4607
3527
  CREATED_AT
4608
3528
  MODIFIED_AT
4609
- CREATED_BY_USER
4610
- CREATED_BY_GROUP
4611
- MODIFIED_BY_USER
4612
- MODIFIED_BY_GROUP
4613
3529
  SLUG
4614
3530
  LABEL
4615
3531
  TYPE
@@ -4623,22 +3539,20 @@ enum SortableQuestionAttributes {
4623
3539
  }
4624
3540
 
4625
3541
  enum SortableTaskAttributes {
4626
- ALLOW_ALL_FORMS
3542
+ CREATED_AT
3543
+ MODIFIED_AT
4627
3544
  LEAD_TIME
4628
3545
  TYPE
4629
- CREATED_BY_GROUP
4630
- CREATED_BY_USER
4631
3546
  DESCRIPTION
4632
3547
  IS_ARCHIVED
4633
- IS_PUBLISHED
4634
3548
  NAME
4635
3549
  SLUG
4636
3550
  }
4637
3551
 
4638
3552
  enum SortableWorkflowAttributes {
3553
+ CREATED_AT
3554
+ MODIFIED_AT
4639
3555
  ALLOW_ALL_FORMS
4640
- CREATED_BY_GROUP
4641
- CREATED_BY_USER
4642
3556
  DESCRIPTION
4643
3557
  IS_ARCHIVED
4644
3558
  IS_PUBLISHED
@@ -4647,37 +3561,15 @@ enum SortableWorkflowAttributes {
4647
3561
  }
4648
3562
 
4649
3563
  enum SortableWorkItemAttributes {
4650
- ALLOW_ALL_FORMS
4651
- CREATED_BY_GROUP
4652
- CREATED_BY_USER
4653
- DESCRIPTION
4654
3564
  CREATED_AT
4655
3565
  MODIFIED_AT
4656
3566
  CLOSED_AT
4657
- IS_ARCHIVED
4658
- IS_PUBLISHED
3567
+ DESCRIPTION
4659
3568
  NAME
4660
3569
  DEADLINE
4661
3570
  STATUS
4662
3571
  SLUG
4663
- }
4664
-
4665
- input StartCaseInput {
4666
- workflow: ID!
4667
- meta: JSONString
4668
- parentWorkItem: ID
4669
- form: ID
4670
-
4671
- """
4672
- Provide extra context for dynamic jexl transforms and events
4673
- """
4674
- context: JSONString
4675
- clientMutationId: String
4676
- }
4677
-
4678
- type StartCasePayload {
4679
- case: Case
4680
- clientMutationId: String
3572
+ CASE__DOCUMENT__FORM__NAME
4681
3573
  }
4682
3574
 
4683
3575
  """
@@ -4710,40 +3602,13 @@ type StaticQuestion implements Question & Node {
4710
3602
  meta: GenericScalar!
4711
3603
  source: Question
4712
3604
  forms(
4713
- offset: Int = null
4714
- before: String = null
4715
- after: String = null
4716
- first: Int = null
4717
- last: Int = null
4718
- slug: String = null
4719
- name: String = null
4720
- description: String = null
4721
- isPublished: Boolean = null
4722
- isArchived: Boolean = null
4723
- questions: [String] = null
4724
- createdByUser: String = null
4725
- createdByGroup: String = null
4726
- modifiedByUser: String = null
4727
- modifiedByGroup: String = null
4728
-
4729
- """
4730
- Only return entries created after the given DateTime (Exclusive)
4731
- """
4732
- createdBefore: DateTime = null
4733
-
4734
- """
4735
- Only return entries created at or before the given DateTime (Inclusive)
4736
- """
4737
- createdAfter: DateTime = null
4738
- metaHasKey: String = null
4739
- metaValue: [JSONValueFilterType] = null
4740
- search: String = null
4741
-
4742
- """
4743
- FormOrdering
4744
- """
4745
- orderBy: [FormOrdering] = null
4746
- slugs: [String] = null
3605
+ offset: Int
3606
+ before: String
3607
+ after: String
3608
+ first: Int
3609
+ last: Int
3610
+ filter: [FormFilterSetType]
3611
+ order: [FormOrderSetType]
4747
3612
  ): FormConnection
4748
3613
  staticContent: String
4749
3614
  dataSource: String
@@ -4877,40 +3742,13 @@ type TableQuestion implements Question & Node {
4877
3742
  source: Question
4878
3743
  defaultAnswer: TableAnswer
4879
3744
  forms(
4880
- offset: Int = null
4881
- before: String = null
4882
- after: String = null
4883
- first: Int = null
4884
- last: Int = null
4885
- slug: String = null
4886
- name: String = null
4887
- description: String = null
4888
- isPublished: Boolean = null
4889
- isArchived: Boolean = null
4890
- questions: [String] = null
4891
- createdByUser: String = null
4892
- createdByGroup: String = null
4893
- modifiedByUser: String = null
4894
- modifiedByGroup: String = null
4895
-
4896
- """
4897
- Only return entries created after the given DateTime (Exclusive)
4898
- """
4899
- createdBefore: DateTime = null
4900
-
4901
- """
4902
- Only return entries created at or before the given DateTime (Inclusive)
4903
- """
4904
- createdAfter: DateTime = null
4905
- metaHasKey: String = null
4906
- metaValue: [JSONValueFilterType] = null
4907
- search: String = null
4908
-
4909
- """
4910
- FormOrdering
4911
- """
4912
- orderBy: [FormOrdering] = null
4913
- slugs: [String] = null
3745
+ offset: Int
3746
+ before: String
3747
+ after: String
3748
+ first: Int
3749
+ last: Int
3750
+ filter: [FormFilterSetType]
3751
+ order: [FormOrderSetType]
4914
3752
  ): FormConnection
4915
3753
 
4916
3754
  """
@@ -4984,131 +3822,15 @@ input TaskFilterSetType {
4984
3822
  metaHasKey: String
4985
3823
  metaValue: [JSONValueFilterType]
4986
3824
  search: String
4987
- orderBy: [TaskOrdering]
4988
3825
  invert: Boolean
4989
3826
  }
4990
3827
 
4991
- """
4992
- An enumeration.
4993
- """
4994
- enum TaskOrdering {
4995
- """
4996
- Name
4997
- """
4998
- NAME_ASC
4999
-
5000
- """
5001
- Name (descending)
5002
- """
5003
- NAME_DESC
5004
-
5005
- """
5006
- Description
5007
- """
5008
- DESCRIPTION_ASC
5009
-
5010
- """
5011
- Description (descending)
5012
- """
5013
- DESCRIPTION_DESC
5014
-
5015
- """
5016
- Type
5017
- """
5018
- TYPE_ASC
5019
-
5020
- """
5021
- Type (descending)
5022
- """
5023
- TYPE_DESC
5024
-
5025
- """
5026
- Created at
5027
- """
5028
- CREATED_AT_ASC
5029
-
5030
- """
5031
- Created at (descending)
5032
- """
5033
- CREATED_AT_DESC
5034
-
5035
- """
5036
- Modified at
5037
- """
5038
- MODIFIED_AT_ASC
5039
-
5040
- """
5041
- Modified at (descending)
5042
- """
5043
- MODIFIED_AT_DESC
5044
-
5045
- """
5046
- Created by user
5047
- """
5048
- CREATED_BY_USER_ASC
5049
-
5050
- """
5051
- Created by user (descending)
5052
- """
5053
- CREATED_BY_USER_DESC
5054
-
5055
- """
5056
- Created by group
5057
- """
5058
- CREATED_BY_GROUP_ASC
5059
-
5060
- """
5061
- Created by group (descending)
5062
- """
5063
- CREATED_BY_GROUP_DESC
5064
-
5065
- """
5066
- Modified by user
5067
- """
5068
- MODIFIED_BY_USER_ASC
5069
-
5070
- """
5071
- Modified by user (descending)
5072
- """
5073
- MODIFIED_BY_USER_DESC
5074
-
5075
- """
5076
- Modified by group
5077
- """
5078
- MODIFIED_BY_GROUP_ASC
5079
-
5080
- """
5081
- Modified by group (descending)
5082
- """
5083
- MODIFIED_BY_GROUP_DESC
5084
- }
5085
-
5086
3828
  input TaskOrderSetType {
5087
3829
  meta: String
5088
3830
  attribute: SortableTaskAttributes
5089
3831
  direction: AscDesc
5090
3832
  }
5091
3833
 
5092
- """
5093
- An enumeration.
5094
- """
5095
- enum TaskTypeArgument {
5096
- """
5097
- Task which can simply be marked as completed.
5098
- """
5099
- SIMPLE
5100
-
5101
- """
5102
- Task to complete a defined workflow form.
5103
- """
5104
- COMPLETE_WORKFLOW_FORM
5105
-
5106
- """
5107
- Task to complete a defined task form.
5108
- """
5109
- COMPLETE_TASK_FORM
5110
- }
5111
-
5112
3834
  type TextareaQuestion implements Question & Node {
5113
3835
  createdAt: DateTime!
5114
3836
  modifiedAt: DateTime!
@@ -5131,47 +3853,20 @@ type TextareaQuestion implements Question & Node {
5131
3853
  meta: GenericScalar!
5132
3854
  source: Question
5133
3855
  formatValidators(
5134
- before: String = null
5135
- after: String = null
5136
- first: Int = null
5137
- last: Int = null
3856
+ before: String
3857
+ after: String
3858
+ first: Int
3859
+ last: Int
5138
3860
  ): FormatValidatorConnection
5139
3861
  defaultAnswer: StringAnswer
5140
3862
  forms(
5141
- offset: Int = null
5142
- before: String = null
5143
- after: String = null
5144
- first: Int = null
5145
- last: Int = null
5146
- slug: String = null
5147
- name: String = null
5148
- description: String = null
5149
- isPublished: Boolean = null
5150
- isArchived: Boolean = null
5151
- questions: [String] = null
5152
- createdByUser: String = null
5153
- createdByGroup: String = null
5154
- modifiedByUser: String = null
5155
- modifiedByGroup: String = null
5156
-
5157
- """
5158
- Only return entries created after the given DateTime (Exclusive)
5159
- """
5160
- createdBefore: DateTime = null
5161
-
5162
- """
5163
- Only return entries created at or before the given DateTime (Inclusive)
5164
- """
5165
- createdAfter: DateTime = null
5166
- metaHasKey: String = null
5167
- metaValue: [JSONValueFilterType] = null
5168
- search: String = null
5169
-
5170
- """
5171
- FormOrdering
5172
- """
5173
- orderBy: [FormOrdering] = null
5174
- slugs: [String] = null
3863
+ offset: Int
3864
+ before: String
3865
+ after: String
3866
+ first: Int
3867
+ last: Int
3868
+ filter: [FormFilterSetType]
3869
+ order: [FormOrderSetType]
5175
3870
  ): FormConnection
5176
3871
 
5177
3872
  """
@@ -5204,47 +3899,20 @@ type TextQuestion implements Question & Node {
5204
3899
  meta: GenericScalar!
5205
3900
  source: Question
5206
3901
  formatValidators(
5207
- before: String = null
5208
- after: String = null
5209
- first: Int = null
5210
- last: Int = null
3902
+ before: String
3903
+ after: String
3904
+ first: Int
3905
+ last: Int
5211
3906
  ): FormatValidatorConnection
5212
3907
  defaultAnswer: StringAnswer
5213
3908
  forms(
5214
- offset: Int = null
5215
- before: String = null
5216
- after: String = null
5217
- first: Int = null
5218
- last: Int = null
5219
- slug: String = null
5220
- name: String = null
5221
- description: String = null
5222
- isPublished: Boolean = null
5223
- isArchived: Boolean = null
5224
- questions: [String] = null
5225
- createdByUser: String = null
5226
- createdByGroup: String = null
5227
- modifiedByUser: String = null
5228
- modifiedByGroup: String = null
5229
-
5230
- """
5231
- Only return entries created after the given DateTime (Exclusive)
5232
- """
5233
- createdBefore: DateTime = null
5234
-
5235
- """
5236
- Only return entries created at or before the given DateTime (Inclusive)
5237
- """
5238
- createdAfter: DateTime = null
5239
- metaHasKey: String = null
5240
- metaValue: [JSONValueFilterType] = null
5241
- search: String = null
5242
-
5243
- """
5244
- FormOrdering
5245
- """
5246
- orderBy: [FormOrdering] = null
5247
- slugs: [String] = null
3909
+ offset: Int
3910
+ before: String
3911
+ after: String
3912
+ first: Int
3913
+ last: Int
3914
+ filter: [FormFilterSetType]
3915
+ order: [FormOrderSetType]
5248
3916
  ): FormConnection
5249
3917
 
5250
3918
  """
@@ -5310,11 +3978,11 @@ type Workflow implements Node {
5310
3978
  List of forms which are allowed to start workflow with
5311
3979
  """
5312
3980
  allowForms(
5313
- offset: Int = null
5314
- before: String = null
5315
- after: String = null
5316
- first: Int = null
5317
- last: Int = null
3981
+ offset: Int
3982
+ before: String
3983
+ after: String
3984
+ first: Int
3985
+ last: Int
5318
3986
  ): FormConnection!
5319
3987
 
5320
3988
  """
@@ -5327,27 +3995,13 @@ type Workflow implements Node {
5327
3995
  """
5328
3996
  tasks: [Task]!
5329
3997
  flows(
5330
- offset: Int = null
5331
- before: String = null
5332
- after: String = null
5333
- first: Int = null
5334
- last: Int = null
5335
- task: ID = null
5336
- filter: [FlowFilterSetType] = null
5337
- createdByUser: String = null
5338
- createdByGroup: String = null
5339
- modifiedByUser: String = null
5340
- modifiedByGroup: String = null
5341
-
5342
- """
5343
- Only return entries created after the given DateTime (Exclusive)
5344
- """
5345
- createdBefore: DateTime = null
5346
-
5347
- """
5348
- Only return entries created at or before the given DateTime (Inclusive)
5349
- """
5350
- createdAfter: DateTime = null
3998
+ offset: Int
3999
+ before: String
4000
+ after: String
4001
+ first: Int
4002
+ last: Int
4003
+ filter: [FlowFilterSetType]
4004
+ order: [FlowOrderSetType]
5351
4005
  ): FlowConnection
5352
4006
  }
5353
4007
 
@@ -5394,95 +4048,9 @@ input WorkflowFilterSetType {
5394
4048
  metaHasKey: String
5395
4049
  metaValue: [JSONValueFilterType]
5396
4050
  search: String
5397
- orderBy: [WorkflowOrdering]
5398
4051
  invert: Boolean
5399
4052
  }
5400
4053
 
5401
- """
5402
- An enumeration.
5403
- """
5404
- enum WorkflowOrdering {
5405
- """
5406
- Name
5407
- """
5408
- NAME_ASC
5409
-
5410
- """
5411
- Name (descending)
5412
- """
5413
- NAME_DESC
5414
-
5415
- """
5416
- Description
5417
- """
5418
- DESCRIPTION_ASC
5419
-
5420
- """
5421
- Description (descending)
5422
- """
5423
- DESCRIPTION_DESC
5424
-
5425
- """
5426
- Created at
5427
- """
5428
- CREATED_AT_ASC
5429
-
5430
- """
5431
- Created at (descending)
5432
- """
5433
- CREATED_AT_DESC
5434
-
5435
- """
5436
- Modified at
5437
- """
5438
- MODIFIED_AT_ASC
5439
-
5440
- """
5441
- Modified at (descending)
5442
- """
5443
- MODIFIED_AT_DESC
5444
-
5445
- """
5446
- Created by user
5447
- """
5448
- CREATED_BY_USER_ASC
5449
-
5450
- """
5451
- Created by user (descending)
5452
- """
5453
- CREATED_BY_USER_DESC
5454
-
5455
- """
5456
- Created by group
5457
- """
5458
- CREATED_BY_GROUP_ASC
5459
-
5460
- """
5461
- Created by group (descending)
5462
- """
5463
- CREATED_BY_GROUP_DESC
5464
-
5465
- """
5466
- Modified by user
5467
- """
5468
- MODIFIED_BY_USER_ASC
5469
-
5470
- """
5471
- Modified by user (descending)
5472
- """
5473
- MODIFIED_BY_USER_DESC
5474
-
5475
- """
5476
- Modified by group
5477
- """
5478
- MODIFIED_BY_GROUP_ASC
5479
-
5480
- """
5481
- Modified by group (descending)
5482
- """
5483
- MODIFIED_BY_GROUP_DESC
5484
- }
5485
-
5486
4054
  input WorkflowOrderSetType {
5487
4055
  meta: String
5488
4056
  attribute: SortableWorkflowAttributes
@@ -5534,12 +4102,19 @@ type WorkItem implements Node {
5534
4102
  document: Document
5535
4103
  previousWorkItem: WorkItem
5536
4104
  succeedingWorkItems(
5537
- offset: Int = null
5538
- before: String = null
5539
- after: String = null
5540
- first: Int = null
5541
- last: Int = null
4105
+ offset: Int
4106
+ before: String
4107
+ after: String
4108
+ first: Int
4109
+ last: Int
5542
4110
  ): WorkItemConnection!
4111
+
4112
+ """
4113
+ This property potentially performs poorly if used in a large setof entries, as
4114
+ the evaluation of the redoable jexl configurationcannot be performed on the
4115
+ database level. Please use carefully.
4116
+ """
4117
+ isRedoable: Boolean
5543
4118
  }
5544
4119
 
5545
4120
  type WorkItemConnection {
@@ -5591,7 +4166,6 @@ input WorkItemFilterSetType {
5591
4166
  metaHasKey: String
5592
4167
  metaValue: [JSONValueFilterType]
5593
4168
  id: ID
5594
- orderBy: [WorkItemOrdering]
5595
4169
  addressedGroups: [String]
5596
4170
  controllingGroups: [String]
5597
4171
  assignedUsers: [String]
@@ -5599,94 +4173,10 @@ input WorkItemFilterSetType {
5599
4173
  caseDocumentHasAnswer: [HasAnswerFilterType]
5600
4174
  caseMetaValue: [JSONValueFilterType]
5601
4175
  rootCaseMetaValue: [JSONValueFilterType]
4176
+ caseSearchAnswers: [SearchAnswersFilterType]
5602
4177
  invert: Boolean
5603
4178
  }
5604
4179
 
5605
- """
5606
- An enumeration.
5607
- """
5608
- enum WorkItemOrdering {
5609
- """
5610
- Status
5611
- """
5612
- STATUS_ASC
5613
-
5614
- """
5615
- Status (descending)
5616
- """
5617
- STATUS_DESC
5618
-
5619
- """
5620
- Deadline
5621
- """
5622
- DEADLINE_ASC
5623
-
5624
- """
5625
- Deadline (descending)
5626
- """
5627
- DEADLINE_DESC
5628
-
5629
- """
5630
- Created at
5631
- """
5632
- CREATED_AT_ASC
5633
-
5634
- """
5635
- Created at (descending)
5636
- """
5637
- CREATED_AT_DESC
5638
-
5639
- """
5640
- Modified at
5641
- """
5642
- MODIFIED_AT_ASC
5643
-
5644
- """
5645
- Modified at (descending)
5646
- """
5647
- MODIFIED_AT_DESC
5648
-
5649
- """
5650
- Created by user
5651
- """
5652
- CREATED_BY_USER_ASC
5653
-
5654
- """
5655
- Created by user (descending)
5656
- """
5657
- CREATED_BY_USER_DESC
5658
-
5659
- """
5660
- Created by group
5661
- """
5662
- CREATED_BY_GROUP_ASC
5663
-
5664
- """
5665
- Created by group (descending)
5666
- """
5667
- CREATED_BY_GROUP_DESC
5668
-
5669
- """
5670
- Modified by user
5671
- """
5672
- MODIFIED_BY_USER_ASC
5673
-
5674
- """
5675
- Modified by user (descending)
5676
- """
5677
- MODIFIED_BY_USER_DESC
5678
-
5679
- """
5680
- Modified by group
5681
- """
5682
- MODIFIED_BY_GROUP_ASC
5683
-
5684
- """
5685
- Modified by group (descending)
5686
- """
5687
- MODIFIED_BY_GROUP_DESC
5688
- }
5689
-
5690
4180
  input WorkItemOrderSetType {
5691
4181
  meta: String
5692
4182
  caseMeta: String
@@ -5707,38 +4197,3 @@ enum WorkItemStatus {
5707
4197
  SUSPENDED
5708
4198
  REDO
5709
4199
  }
5710
-
5711
- """
5712
- An enumeration.
5713
- """
5714
- enum WorkItemStatusArgument {
5715
- """
5716
- Work item is ready to be processed.
5717
- """
5718
- READY
5719
-
5720
- """
5721
- Work item is done.
5722
- """
5723
- COMPLETED
5724
-
5725
- """
5726
- Work item is canceled.
5727
- """
5728
- CANCELED
5729
-
5730
- """
5731
- Work item is skipped.
5732
- """
5733
- SKIPPED
5734
-
5735
- """
5736
- Work item is suspended.
5737
- """
5738
- SUSPENDED
5739
-
5740
- """
5741
- Work item has been marked for redo.
5742
- """
5743
- REDO
5744
- }