@projectcaluma/ember-testing 11.0.0-beta.9 → 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,13 +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
- filter: [FormFilterSetType] = null
37
- order: [FormOrderSetType] = null
31
+ offset: Int
32
+ before: String
33
+ after: String
34
+ first: Int
35
+ last: Int
36
+ filter: [FormFilterSetType]
37
+ order: [FormOrderSetType]
38
38
  ): FormConnection
39
39
 
40
40
  """
@@ -112,6 +112,7 @@ type AnalyticsField implements Node {
112
112
  filters: [String]
113
113
  function: AggregateFunction
114
114
  showOutput: Boolean!
115
+ sort: Int!
115
116
  }
116
117
 
117
118
  type AnalyticsFieldConnection {
@@ -166,10 +167,10 @@ input AnalyticsFieldOrderSetType {
166
167
 
167
168
  type AnalyticsOutput {
168
169
  records(
169
- before: String = null
170
- after: String = null
171
- first: Int = null
172
- last: Int = null
170
+ before: String
171
+ after: String
172
+ first: Int
173
+ last: Int
173
174
  ): AnalyticsTableContentConnection
174
175
  summary: AnalyticsRowConnection
175
176
  }
@@ -214,11 +215,11 @@ type AnalyticsTable implements Node {
214
215
  name: String!
215
216
  startingObject: StartingObject
216
217
  fields(
217
- offset: Int = null
218
- before: String = null
219
- after: String = null
220
- first: Int = null
221
- last: Int = null
218
+ offset: Int
219
+ before: String
220
+ after: String
221
+ first: Int
222
+ last: Int
222
223
  ): AnalyticsFieldConnection!
223
224
 
224
225
  """
@@ -226,12 +227,12 @@ type AnalyticsTable implements Node {
226
227
  """
227
228
  id: ID!
228
229
  availableFields(
229
- prefix: String = null
230
- depth: Int = null
231
- before: String = null
232
- after: String = null
233
- first: Int = null
234
- last: Int = null
230
+ prefix: String
231
+ depth: Int
232
+ before: String
233
+ after: String
234
+ first: Int
235
+ last: Int
235
236
  ): AvailableFieldConnection
236
237
  resultData: AnalyticsOutput
237
238
  }
@@ -490,13 +491,13 @@ type CalculatedFloatQuestion implements Question & Node {
490
491
  meta: GenericScalar!
491
492
  source: Question
492
493
  forms(
493
- offset: Int = null
494
- before: String = null
495
- after: String = null
496
- first: Int = null
497
- last: Int = null
498
- filter: [FormFilterSetType] = null
499
- order: [FormOrderSetType] = null
494
+ offset: Int
495
+ before: String
496
+ after: String
497
+ first: Int
498
+ last: Int
499
+ filter: [FormFilterSetType]
500
+ order: [FormOrderSetType]
500
501
  ): FormConnection
501
502
  calcExpression: String
502
503
 
@@ -549,6 +550,11 @@ type Case implements Node {
549
550
  """
550
551
  id: ID!
551
552
 
553
+ """
554
+ Family id which case belongs to.
555
+ """
556
+ family: Case
557
+
552
558
  """
553
559
  Time when case has either been canceled or completed
554
560
  """
@@ -560,23 +566,23 @@ type Case implements Node {
560
566
  meta: GenericScalar
561
567
  document: Document
562
568
  workItems(
563
- offset: Int = null
564
- before: String = null
565
- after: String = null
566
- first: Int = null
567
- last: Int = null
568
- filter: [WorkItemFilterSetType] = null
569
- order: [WorkItemOrderSetType] = null
569
+ offset: Int
570
+ before: String
571
+ after: String
572
+ first: Int
573
+ last: Int
574
+ filter: [WorkItemFilterSetType]
575
+ order: [WorkItemOrderSetType]
570
576
  ): WorkItemConnection
571
577
  parentWorkItem: WorkItem
572
578
  familyWorkItems(
573
- offset: Int = null
574
- before: String = null
575
- after: String = null
576
- first: Int = null
577
- last: Int = null
578
- filter: [WorkItemFilterSetType] = null
579
- order: [WorkItemOrderSetType] = null
579
+ offset: Int
580
+ before: String
581
+ after: String
582
+ first: Int
583
+ last: Int
584
+ filter: [WorkItemFilterSetType]
585
+ order: [WorkItemOrderSetType]
580
586
  ): WorkItemConnection
581
587
  }
582
588
 
@@ -619,6 +625,7 @@ input CaseFilterSetType {
619
625
  metaHasKey: String
620
626
  metaValue: [JSONValueFilterType]
621
627
  id: ID
628
+ ids: [ID]
622
629
  documentForm: String
623
630
  documentForms: [String]
624
631
  hasAnswer: [HasAnswerFilterType]
@@ -626,6 +633,7 @@ input CaseFilterSetType {
626
633
  rootCase: ID
627
634
  searchAnswers: [SearchAnswersFilterType]
628
635
  status: [CaseStatusArgument]
636
+ excludeChildCases: Boolean
629
637
  invert: Boolean
630
638
  }
631
639
 
@@ -693,22 +701,22 @@ type ChoiceQuestion implements Question & Node {
693
701
  source: Question
694
702
  defaultAnswer: StringAnswer
695
703
  forms(
696
- offset: Int = null
697
- before: String = null
698
- after: String = null
699
- first: Int = null
700
- last: Int = null
701
- filter: [FormFilterSetType] = null
702
- order: [FormOrderSetType] = null
704
+ offset: Int
705
+ before: String
706
+ after: String
707
+ first: Int
708
+ last: Int
709
+ filter: [FormFilterSetType]
710
+ order: [FormOrderSetType]
703
711
  ): FormConnection
704
712
  options(
705
- offset: Int = null
706
- before: String = null
707
- after: String = null
708
- first: Int = null
709
- last: Int = null
710
- filter: [OptionFilterSetType] = null
711
- order: [OptionOrderSetType] = null
713
+ offset: Int
714
+ before: String
715
+ after: String
716
+ first: Int
717
+ last: Int
718
+ filter: [OptionFilterSetType]
719
+ order: [OptionOrderSetType]
712
720
  ): OptionConnection
713
721
 
714
722
  """
@@ -985,13 +993,13 @@ type DateQuestion implements Question & Node {
985
993
  source: Question
986
994
  defaultAnswer: DateAnswer
987
995
  forms(
988
- offset: Int = null
989
- before: String = null
990
- after: String = null
991
- first: Int = null
992
- last: Int = null
993
- filter: [FormFilterSetType] = null
994
- order: [FormOrderSetType] = null
996
+ offset: Int
997
+ before: String
998
+ after: String
999
+ first: Int
1000
+ last: Int
1001
+ filter: [FormFilterSetType]
1002
+ order: [FormOrderSetType]
995
1003
  ): FormConnection
996
1004
 
997
1005
  """
@@ -1116,20 +1124,20 @@ type Document implements Node {
1116
1124
  Reference this document has been copied from
1117
1125
  """
1118
1126
  copies(
1119
- offset: Int = null
1120
- before: String = null
1121
- after: String = null
1122
- first: Int = null
1123
- last: Int = null
1127
+ offset: Int
1128
+ before: String
1129
+ after: String
1130
+ first: Int
1131
+ last: Int
1124
1132
  ): DocumentConnection!
1125
1133
  answers(
1126
- offset: Int = null
1127
- before: String = null
1128
- after: String = null
1129
- first: Int = null
1130
- last: Int = null
1131
- filter: [AnswerFilterSetType] = null
1132
- order: [AnswerOrderSetType] = null
1134
+ offset: Int
1135
+ before: String
1136
+ after: String
1137
+ first: Int
1138
+ last: Int
1139
+ filter: [AnswerFilterSetType]
1140
+ order: [AnswerOrderSetType]
1133
1141
  ): AnswerConnection
1134
1142
  case: Case
1135
1143
  workItem: WorkItem
@@ -1241,19 +1249,23 @@ type DynamicChoiceQuestion implements Question & DynamicQuestion & Node {
1241
1249
  meta: GenericScalar!
1242
1250
  source: Question
1243
1251
  forms(
1244
- offset: Int = null
1245
- before: String = null
1246
- after: String = null
1247
- first: Int = null
1248
- last: Int = null
1249
- filter: [FormFilterSetType] = null
1250
- order: [FormOrderSetType] = null
1252
+ offset: Int
1253
+ before: String
1254
+ after: String
1255
+ first: Int
1256
+ last: Int
1257
+ filter: [FormFilterSetType]
1258
+ order: [FormOrderSetType]
1251
1259
  ): FormConnection
1252
1260
  options(
1253
- before: String = null
1254
- after: String = null
1255
- first: Int = null
1256
- 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
1257
1269
  ): DataSourceDataConnection
1258
1270
  dataSource: String!
1259
1271
 
@@ -1284,19 +1296,23 @@ type DynamicMultipleChoiceQuestion implements Question & DynamicQuestion & Node
1284
1296
  meta: GenericScalar!
1285
1297
  source: Question
1286
1298
  forms(
1287
- offset: Int = null
1288
- before: String = null
1289
- after: String = null
1290
- first: Int = null
1291
- last: Int = null
1292
- filter: [FormFilterSetType] = null
1293
- order: [FormOrderSetType] = null
1299
+ offset: Int
1300
+ before: String
1301
+ after: String
1302
+ first: Int
1303
+ last: Int
1304
+ filter: [FormFilterSetType]
1305
+ order: [FormOrderSetType]
1294
1306
  ): FormConnection
1295
1307
  options(
1296
- before: String = null
1297
- after: String = null
1298
- first: Int = null
1299
- 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
1300
1316
  ): DataSourceDataConnection
1301
1317
  dataSource: String!
1302
1318
 
@@ -1366,10 +1382,14 @@ input DynamicOptionOrderSetType {
1366
1382
 
1367
1383
  interface DynamicQuestion {
1368
1384
  options(
1369
- before: String = null
1370
- after: String = null
1371
- first: Int = null
1372
- 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
1373
1393
  ): DataSourceDataConnection
1374
1394
  dataSource: String!
1375
1395
  hintText: String
@@ -1388,13 +1408,13 @@ type File implements Node {
1388
1408
  """
1389
1409
  id: ID!
1390
1410
  name: String!
1391
- answer: FileAnswer
1411
+ answer: FilesAnswer
1392
1412
  uploadUrl: String
1393
1413
  downloadUrl: String
1394
1414
  metadata: GenericScalar
1395
1415
  }
1396
1416
 
1397
- type FileAnswer implements Answer & Node {
1417
+ type FilesAnswer implements Answer & Node {
1398
1418
  createdAt: DateTime!
1399
1419
  modifiedAt: DateTime!
1400
1420
  createdByUser: String
@@ -1407,12 +1427,11 @@ type FileAnswer implements Answer & Node {
1407
1427
  """
1408
1428
  id: ID!
1409
1429
  question: Question!
1410
- value: File!
1430
+ value: [File]!
1411
1431
  meta: GenericScalar!
1412
- file: File
1413
1432
  }
1414
1433
 
1415
- type FileQuestion implements Question & Node {
1434
+ type FilesQuestion implements Question & Node {
1416
1435
  createdAt: DateTime!
1417
1436
  modifiedAt: DateTime!
1418
1437
  createdByUser: String
@@ -1433,13 +1452,13 @@ type FileQuestion implements Question & Node {
1433
1452
  meta: GenericScalar!
1434
1453
  source: Question
1435
1454
  forms(
1436
- offset: Int = null
1437
- before: String = null
1438
- after: String = null
1439
- first: Int = null
1440
- last: Int = null
1441
- filter: [FormFilterSetType] = null
1442
- order: [FormOrderSetType] = null
1455
+ offset: Int
1456
+ before: String
1457
+ after: String
1458
+ first: Int
1459
+ last: Int
1460
+ filter: [FormFilterSetType]
1461
+ order: [FormOrderSetType]
1443
1462
  ): FormConnection
1444
1463
 
1445
1464
  """
@@ -1488,13 +1507,13 @@ type FloatQuestion implements Question & Node {
1488
1507
  source: Question
1489
1508
  defaultAnswer: FloatAnswer
1490
1509
  forms(
1491
- offset: Int = null
1492
- before: String = null
1493
- after: String = null
1494
- first: Int = null
1495
- last: Int = null
1496
- filter: [FormFilterSetType] = null
1497
- order: [FormOrderSetType] = null
1510
+ offset: Int
1511
+ before: String
1512
+ after: String
1513
+ first: Int
1514
+ last: Int
1515
+ filter: [FormFilterSetType]
1516
+ order: [FormOrderSetType]
1498
1517
  ): FormConnection
1499
1518
 
1500
1519
  """
@@ -1593,13 +1612,13 @@ type Form implements Node {
1593
1612
  isPublished: Boolean!
1594
1613
  isArchived: Boolean!
1595
1614
  questions(
1596
- offset: Int = null
1597
- before: String = null
1598
- after: String = null
1599
- first: Int = null
1600
- last: Int = null
1601
- filter: [QuestionFilterSetType] = null
1602
- order: [QuestionOrderSetType] = null
1615
+ offset: Int
1616
+ before: String
1617
+ after: String
1618
+ first: Int
1619
+ last: Int
1620
+ filter: [QuestionFilterSetType]
1621
+ order: [QuestionOrderSetType]
1603
1622
  ): QuestionConnection
1604
1623
 
1605
1624
  """
@@ -1607,11 +1626,11 @@ type Form implements Node {
1607
1626
  """
1608
1627
  source: Form
1609
1628
  documents(
1610
- offset: Int = null
1611
- before: String = null
1612
- after: String = null
1613
- first: Int = null
1614
- last: Int = null
1629
+ offset: Int
1630
+ before: String
1631
+ after: String
1632
+ first: Int
1633
+ last: Int
1615
1634
  ): DocumentConnection!
1616
1635
 
1617
1636
  """
@@ -1728,13 +1747,13 @@ type FormQuestion implements Question & Node {
1728
1747
  meta: GenericScalar!
1729
1748
  source: Question
1730
1749
  forms(
1731
- offset: Int = null
1732
- before: String = null
1733
- after: String = null
1734
- first: Int = null
1735
- last: Int = null
1736
- filter: [FormFilterSetType] = null
1737
- order: [FormOrderSetType] = null
1750
+ offset: Int
1751
+ before: String
1752
+ after: String
1753
+ first: Int
1754
+ last: Int
1755
+ filter: [FormFilterSetType]
1756
+ order: [FormOrderSetType]
1738
1757
  ): FormConnection
1739
1758
 
1740
1759
  """
@@ -1818,13 +1837,13 @@ type IntegerQuestion implements Question & Node {
1818
1837
  source: Question
1819
1838
  defaultAnswer: IntegerAnswer
1820
1839
  forms(
1821
- offset: Int = null
1822
- before: String = null
1823
- after: String = null
1824
- first: Int = null
1825
- last: Int = null
1826
- filter: [FormFilterSetType] = null
1827
- order: [FormOrderSetType] = null
1840
+ offset: Int
1841
+ before: String
1842
+ after: String
1843
+ first: Int
1844
+ last: Int
1845
+ filter: [FormFilterSetType]
1846
+ order: [FormOrderSetType]
1828
1847
  ): FormConnection
1829
1848
 
1830
1849
  """
@@ -1877,10 +1896,10 @@ type ListAnswer implements Answer & Node {
1877
1896
  value: [String]
1878
1897
  meta: GenericScalar!
1879
1898
  selectedOptions(
1880
- before: String = null
1881
- after: String = null
1882
- first: Int = null
1883
- last: Int = null
1899
+ before: String
1900
+ after: String
1901
+ first: Int
1902
+ last: Int
1884
1903
  ): SelectedOptionConnection
1885
1904
  }
1886
1905
 
@@ -1906,22 +1925,22 @@ type MultipleChoiceQuestion implements Question & Node {
1906
1925
  source: Question
1907
1926
  defaultAnswer: ListAnswer
1908
1927
  forms(
1909
- offset: Int = null
1910
- before: String = null
1911
- after: String = null
1912
- first: Int = null
1913
- last: Int = null
1914
- filter: [FormFilterSetType] = null
1915
- order: [FormOrderSetType] = null
1928
+ offset: Int
1929
+ before: String
1930
+ after: String
1931
+ first: Int
1932
+ last: Int
1933
+ filter: [FormFilterSetType]
1934
+ order: [FormOrderSetType]
1916
1935
  ): FormConnection
1917
1936
  options(
1918
- offset: Int = null
1919
- before: String = null
1920
- after: String = null
1921
- first: Int = null
1922
- last: Int = null
1923
- filter: [OptionFilterSetType] = null
1924
- order: [OptionOrderSetType] = null
1937
+ offset: Int
1938
+ before: String
1939
+ after: String
1940
+ first: Int
1941
+ last: Int
1942
+ filter: [OptionFilterSetType]
1943
+ order: [OptionOrderSetType]
1925
1944
  ): OptionConnection
1926
1945
  staticContent: String
1927
1946
 
@@ -1940,6 +1959,9 @@ type Mutation {
1940
1959
  removeAnalyticsField(
1941
1960
  input: RemoveAnalyticsFieldInput!
1942
1961
  ): RemoveAnalyticsFieldPayload
1962
+ reorderAnalyticsFields(
1963
+ input: ReorderAnalyticsFieldsInput!
1964
+ ): ReorderAnalyticsFieldsPayload
1943
1965
  saveWorkflow(input: SaveWorkflowInput!): SaveWorkflowPayload
1944
1966
  addWorkflowFlow(input: AddWorkflowFlowInput!): AddWorkflowFlowPayload
1945
1967
  removeFlow(input: RemoveFlowInput!): RemoveFlowPayload
@@ -1950,8 +1972,6 @@ type Mutation {
1950
1972
  saveCompleteTaskFormTask(
1951
1973
  input: SaveCompleteTaskFormTaskInput!
1952
1974
  ): SaveCompleteTaskFormTaskPayload
1953
- startCase(input: StartCaseInput!): StartCasePayload
1954
- @deprecated(reason: "Use SaveCase mutation instead")
1955
1975
  saveCase(input: SaveCaseInput!): SaveCasePayload
1956
1976
  cancelCase(input: CancelCaseInput!): CancelCasePayload
1957
1977
  suspendCase(input: SuspendCaseInput!): SuspendCasePayload
@@ -2000,7 +2020,7 @@ type Mutation {
2000
2020
  ): SaveIntegerQuestionPayload
2001
2021
  saveTableQuestion(input: SaveTableQuestionInput!): SaveTableQuestionPayload
2002
2022
  saveFormQuestion(input: SaveFormQuestionInput!): SaveFormQuestionPayload
2003
- saveFileQuestion(input: SaveFileQuestionInput!): SaveFileQuestionPayload
2023
+ saveFilesQuestion(input: SaveFilesQuestionInput!): SaveFilesQuestionPayload
2004
2024
  saveStaticQuestion(input: SaveStaticQuestionInput!): SaveStaticQuestionPayload
2005
2025
  saveCalculatedFloatQuestion(
2006
2026
  input: SaveCalculatedFloatQuestionInput!
@@ -2028,9 +2048,9 @@ type Mutation {
2028
2048
  saveDocumentTableAnswer(
2029
2049
  input: SaveDocumentTableAnswerInput!
2030
2050
  ): SaveDocumentTableAnswerPayload
2031
- saveDocumentFileAnswer(
2032
- input: SaveDocumentFileAnswerInput!
2033
- ): SaveDocumentFileAnswerPayload
2051
+ saveDocumentFilesAnswer(
2052
+ input: SaveDocumentFilesAnswerInput!
2053
+ ): SaveDocumentFilesAnswerPayload
2034
2054
  saveDefaultStringAnswer(
2035
2055
  input: SaveDefaultStringAnswerInput!
2036
2056
  ): SaveDefaultStringAnswerPayload
@@ -2166,121 +2186,131 @@ type PageInfo {
2166
2186
 
2167
2187
  type Query {
2168
2188
  allAnalyticsTables(
2169
- offset: Int = null
2170
- before: String = null
2171
- after: String = null
2172
- first: Int = null
2173
- last: Int = null
2174
- filter: [AnalyticsTableFilterSetType] = null
2175
- order: [AnalyticsTableOrderSetType] = null
2189
+ offset: Int
2190
+ before: String
2191
+ after: String
2192
+ first: Int
2193
+ last: Int
2194
+ filter: [AnalyticsTableFilterSetType]
2195
+ order: [AnalyticsTableOrderSetType]
2176
2196
  ): AnalyticsTableConnection
2177
2197
  analyticsTable(slug: String!): AnalyticsTable
2178
2198
  allAnalyticsFields(
2179
- offset: Int = null
2180
- before: String = null
2181
- after: String = null
2182
- first: Int = null
2183
- last: Int = null
2184
- filter: [AnalyticsFieldFilterSetType] = null
2185
- order: [AnalyticsFieldOrderSetType] = null
2199
+ offset: Int
2200
+ before: String
2201
+ after: String
2202
+ first: Int
2203
+ last: Int
2204
+ filter: [AnalyticsFieldFilterSetType]
2205
+ order: [AnalyticsFieldOrderSetType]
2186
2206
  ): AnalyticsFieldConnection
2187
2207
  allDataSources(
2188
- before: String = null
2189
- after: String = null
2190
- first: Int = null
2191
- last: Int = null
2208
+ before: String
2209
+ after: String
2210
+ first: Int
2211
+ last: Int
2192
2212
  ): DataSourceConnection
2193
2213
  dataSource(
2194
2214
  name: String!
2195
- before: String = null
2196
- after: String = null
2197
- first: Int = null
2198
- last: Int = null
2215
+
2216
+ """
2217
+ Slug of the question passed as context to the data source
2218
+ """
2219
+ question: String
2220
+
2221
+ """
2222
+ JSON object passed as context to the data source
2223
+ """
2224
+ context: JSONString
2225
+ before: String
2226
+ after: String
2227
+ first: Int
2228
+ last: Int
2199
2229
  ): DataSourceDataConnection
2200
2230
  allWorkflows(
2201
- offset: Int = null
2202
- before: String = null
2203
- after: String = null
2204
- first: Int = null
2205
- last: Int = null
2206
- filter: [WorkflowFilterSetType] = null
2207
- order: [WorkflowOrderSetType] = null
2231
+ offset: Int
2232
+ before: String
2233
+ after: String
2234
+ first: Int
2235
+ last: Int
2236
+ filter: [WorkflowFilterSetType]
2237
+ order: [WorkflowOrderSetType]
2208
2238
  ): WorkflowConnection
2209
2239
  allTasks(
2210
- offset: Int = null
2211
- before: String = null
2212
- after: String = null
2213
- first: Int = null
2214
- last: Int = null
2215
- filter: [TaskFilterSetType] = null
2216
- order: [TaskOrderSetType] = null
2240
+ offset: Int
2241
+ before: String
2242
+ after: String
2243
+ first: Int
2244
+ last: Int
2245
+ filter: [TaskFilterSetType]
2246
+ order: [TaskOrderSetType]
2217
2247
  ): TaskConnection
2218
2248
  allCases(
2219
- offset: Int = null
2220
- before: String = null
2221
- after: String = null
2222
- first: Int = null
2223
- last: Int = null
2224
- filter: [CaseFilterSetType] = null
2225
- order: [CaseOrderSetType] = null
2249
+ offset: Int
2250
+ before: String
2251
+ after: String
2252
+ first: Int
2253
+ last: Int
2254
+ filter: [CaseFilterSetType]
2255
+ order: [CaseOrderSetType]
2226
2256
  ): CaseConnection
2227
2257
  allWorkItems(
2228
- offset: Int = null
2229
- before: String = null
2230
- after: String = null
2231
- first: Int = null
2232
- last: Int = null
2233
- filter: [WorkItemFilterSetType] = null
2234
- order: [WorkItemOrderSetType] = null
2258
+ offset: Int
2259
+ before: String
2260
+ after: String
2261
+ first: Int
2262
+ last: Int
2263
+ filter: [WorkItemFilterSetType]
2264
+ order: [WorkItemOrderSetType]
2235
2265
  ): WorkItemConnection
2236
2266
  allForms(
2237
- offset: Int = null
2238
- before: String = null
2239
- after: String = null
2240
- first: Int = null
2241
- last: Int = null
2242
- filter: [FormFilterSetType] = null
2243
- order: [FormOrderSetType] = null
2267
+ offset: Int
2268
+ before: String
2269
+ after: String
2270
+ first: Int
2271
+ last: Int
2272
+ filter: [FormFilterSetType]
2273
+ order: [FormOrderSetType]
2244
2274
  ): FormConnection
2245
2275
  allQuestions(
2246
- offset: Int = null
2247
- before: String = null
2248
- after: String = null
2249
- first: Int = null
2250
- last: Int = null
2251
- filter: [QuestionFilterSetType] = null
2252
- order: [QuestionOrderSetType] = null
2276
+ offset: Int
2277
+ before: String
2278
+ after: String
2279
+ first: Int
2280
+ last: Int
2281
+ filter: [QuestionFilterSetType]
2282
+ order: [QuestionOrderSetType]
2253
2283
  ): QuestionConnection
2254
2284
  allDocuments(
2255
- offset: Int = null
2256
- before: String = null
2257
- after: String = null
2258
- first: Int = null
2259
- last: Int = null
2260
- filter: [DocumentFilterSetType] = null
2261
- order: [DocumentOrderSetType] = null
2285
+ offset: Int
2286
+ before: String
2287
+ after: String
2288
+ first: Int
2289
+ last: Int
2290
+ filter: [DocumentFilterSetType]
2291
+ order: [DocumentOrderSetType]
2262
2292
  ): DocumentConnection
2263
2293
  allFormatValidators(
2264
- before: String = null
2265
- after: String = null
2266
- first: Int = null
2267
- last: Int = null
2294
+ before: String
2295
+ after: String
2296
+ first: Int
2297
+ last: Int
2268
2298
  ): FormatValidatorConnection
2269
2299
  allUsedDynamicOptions(
2270
- offset: Int = null
2271
- before: String = null
2272
- after: String = null
2273
- first: Int = null
2274
- last: Int = null
2275
- filter: [DynamicOptionFilterSetType] = null
2276
- order: [DynamicOptionOrderSetType] = null
2300
+ offset: Int
2301
+ before: String
2302
+ after: String
2303
+ first: Int
2304
+ last: Int
2305
+ filter: [DynamicOptionFilterSetType]
2306
+ order: [DynamicOptionOrderSetType]
2277
2307
  ): DynamicOptionConnection
2278
2308
  documentValidity(
2279
2309
  id: ID!
2280
- before: String = null
2281
- after: String = null
2282
- first: Int = null
2283
- last: Int = null
2310
+ before: String
2311
+ after: String
2312
+ first: Int
2313
+ last: Int
2284
2314
  ): DocumentValidityConnection
2285
2315
  node(
2286
2316
  """
@@ -2311,13 +2341,13 @@ interface Question {
2311
2341
  isArchived: Boolean!
2312
2342
  meta: GenericScalar!
2313
2343
  forms(
2314
- offset: Int = null
2315
- before: String = null
2316
- after: String = null
2317
- first: Int = null
2318
- last: Int = null
2319
- filter: [FormFilterSetType] = null
2320
- order: [FormOrderSetType] = null
2344
+ offset: Int
2345
+ before: String
2346
+ after: String
2347
+ first: Int
2348
+ last: Int
2349
+ filter: [FormFilterSetType]
2350
+ order: [FormOrderSetType]
2321
2351
  ): FormConnection
2322
2352
  source: Question
2323
2353
  }
@@ -2368,6 +2398,7 @@ input QuestionFilterSetType {
2368
2398
  excludeForms: [ID]
2369
2399
  search: String
2370
2400
  slugs: [String]
2401
+ visibleInDocument: ID
2371
2402
  invert: Boolean
2372
2403
  }
2373
2404
 
@@ -2484,6 +2515,10 @@ type RemoveFormQuestionPayload {
2484
2515
 
2485
2516
  input ReopenCaseInput {
2486
2517
  id: ID!
2518
+
2519
+ """
2520
+ List of work item ids to be readied when the case is reopened
2521
+ """
2487
2522
  workItems: [ID]!
2488
2523
 
2489
2524
  """
@@ -2498,6 +2533,17 @@ type ReopenCasePayload {
2498
2533
  clientMutationId: String
2499
2534
  }
2500
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
+
2501
2547
  input ReorderFormQuestionsInput {
2502
2548
  form: ID!
2503
2549
  questions: [ID]!
@@ -2832,6 +2878,11 @@ input SaveDocumentDateAnswerInput {
2832
2878
  document: ID!
2833
2879
  meta: JSONString
2834
2880
  value: Date
2881
+
2882
+ """
2883
+ JSON object passed as context to the data source of dynamic questions
2884
+ """
2885
+ dataSourceContext: JSONString
2835
2886
  clientMutationId: String
2836
2887
  }
2837
2888
 
@@ -2840,15 +2891,20 @@ type SaveDocumentDateAnswerPayload {
2840
2891
  clientMutationId: String
2841
2892
  }
2842
2893
 
2843
- input SaveDocumentFileAnswerInput {
2894
+ input SaveDocumentFilesAnswerInput {
2895
+ value: [SaveFile]
2844
2896
  question: ID!
2845
2897
  document: ID!
2846
2898
  meta: JSONString
2847
- value: String
2899
+
2900
+ """
2901
+ JSON object passed as context to the data source of dynamic questions
2902
+ """
2903
+ dataSourceContext: JSONString
2848
2904
  clientMutationId: String
2849
2905
  }
2850
2906
 
2851
- type SaveDocumentFileAnswerPayload {
2907
+ type SaveDocumentFilesAnswerPayload {
2852
2908
  answer: Answer
2853
2909
  clientMutationId: String
2854
2910
  }
@@ -2858,6 +2914,11 @@ input SaveDocumentFloatAnswerInput {
2858
2914
  document: ID!
2859
2915
  meta: JSONString
2860
2916
  value: Float
2917
+
2918
+ """
2919
+ JSON object passed as context to the data source of dynamic questions
2920
+ """
2921
+ dataSourceContext: JSONString
2861
2922
  clientMutationId: String
2862
2923
  }
2863
2924
 
@@ -2878,6 +2939,11 @@ input SaveDocumentIntegerAnswerInput {
2878
2939
  document: ID!
2879
2940
  meta: JSONString
2880
2941
  value: Int
2942
+
2943
+ """
2944
+ JSON object passed as context to the data source of dynamic questions
2945
+ """
2946
+ dataSourceContext: JSONString
2881
2947
  clientMutationId: String
2882
2948
  }
2883
2949
 
@@ -2891,6 +2957,11 @@ input SaveDocumentListAnswerInput {
2891
2957
  document: ID!
2892
2958
  meta: JSONString
2893
2959
  value: [String]
2960
+
2961
+ """
2962
+ JSON object passed as context to the data source of dynamic questions
2963
+ """
2964
+ dataSourceContext: JSONString
2894
2965
  clientMutationId: String
2895
2966
  }
2896
2967
 
@@ -2909,6 +2980,11 @@ input SaveDocumentStringAnswerInput {
2909
2980
  document: ID!
2910
2981
  meta: JSONString
2911
2982
  value: String
2983
+
2984
+ """
2985
+ JSON object passed as context to the data source of dynamic questions
2986
+ """
2987
+ dataSourceContext: JSONString
2912
2988
  clientMutationId: String
2913
2989
  }
2914
2990
 
@@ -2926,6 +3002,11 @@ input SaveDocumentTableAnswerInput {
2926
3002
  List of document IDs representing the rows in the table.
2927
3003
  """
2928
3004
  value: [ID]
3005
+
3006
+ """
3007
+ JSON object passed as context to the data source of dynamic questions
3008
+ """
3009
+ dataSourceContext: JSONString
2929
3010
  clientMutationId: String
2930
3011
  }
2931
3012
 
@@ -2970,7 +3051,12 @@ type SaveDynamicMultipleChoiceQuestionPayload {
2970
3051
  clientMutationId: String
2971
3052
  }
2972
3053
 
2973
- input SaveFileQuestionInput {
3054
+ input SaveFile {
3055
+ id: String
3056
+ name: String
3057
+ }
3058
+
3059
+ input SaveFilesQuestionInput {
2974
3060
  slug: String!
2975
3061
  label: String!
2976
3062
  infoText: String
@@ -2982,7 +3068,7 @@ input SaveFileQuestionInput {
2982
3068
  clientMutationId: String
2983
3069
  }
2984
3070
 
2985
- type SaveFileQuestionPayload {
3071
+ type SaveFilesQuestionPayload {
2986
3072
  question: Question
2987
3073
  clientMutationId: String
2988
3074
  }
@@ -3275,9 +3361,16 @@ type SaveWorkItemPayload {
3275
3361
 
3276
3362
  """
3277
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).
3278
3370
  """
3279
3371
  input SearchAnswersFilterType {
3280
3372
  questions: [ID]
3373
+ forms: [ID]
3281
3374
  value: GenericScalar!
3282
3375
  lookup: SearchLookupMode
3283
3376
  }
@@ -3388,13 +3481,8 @@ enum SortableAnswerAttributes {
3388
3481
  enum SortableCaseAttributes {
3389
3482
  CREATED_AT
3390
3483
  MODIFIED_AT
3391
- ALLOW_ALL_FORMS
3392
- DESCRIPTION
3393
- IS_ARCHIVED
3394
- IS_PUBLISHED
3395
- NAME
3396
3484
  STATUS
3397
- SLUG
3485
+ DOCUMENT__FORM__NAME
3398
3486
  }
3399
3487
 
3400
3488
  enum SortableDocumentAttributes {
@@ -3453,12 +3541,10 @@ enum SortableQuestionAttributes {
3453
3541
  enum SortableTaskAttributes {
3454
3542
  CREATED_AT
3455
3543
  MODIFIED_AT
3456
- ALLOW_ALL_FORMS
3457
3544
  LEAD_TIME
3458
3545
  TYPE
3459
3546
  DESCRIPTION
3460
3547
  IS_ARCHIVED
3461
- IS_PUBLISHED
3462
3548
  NAME
3463
3549
  SLUG
3464
3550
  }
@@ -3478,32 +3564,12 @@ enum SortableWorkItemAttributes {
3478
3564
  CREATED_AT
3479
3565
  MODIFIED_AT
3480
3566
  CLOSED_AT
3481
- ALLOW_ALL_FORMS
3482
3567
  DESCRIPTION
3483
- IS_ARCHIVED
3484
- IS_PUBLISHED
3485
3568
  NAME
3486
3569
  DEADLINE
3487
3570
  STATUS
3488
3571
  SLUG
3489
- }
3490
-
3491
- input StartCaseInput {
3492
- workflow: ID!
3493
- meta: JSONString
3494
- parentWorkItem: ID
3495
- form: ID
3496
-
3497
- """
3498
- Provide extra context for dynamic jexl transforms and events
3499
- """
3500
- context: JSONString
3501
- clientMutationId: String
3502
- }
3503
-
3504
- type StartCasePayload {
3505
- case: Case
3506
- clientMutationId: String
3572
+ CASE__DOCUMENT__FORM__NAME
3507
3573
  }
3508
3574
 
3509
3575
  """
@@ -3536,13 +3602,13 @@ type StaticQuestion implements Question & Node {
3536
3602
  meta: GenericScalar!
3537
3603
  source: Question
3538
3604
  forms(
3539
- offset: Int = null
3540
- before: String = null
3541
- after: String = null
3542
- first: Int = null
3543
- last: Int = null
3544
- filter: [FormFilterSetType] = null
3545
- order: [FormOrderSetType] = null
3605
+ offset: Int
3606
+ before: String
3607
+ after: String
3608
+ first: Int
3609
+ last: Int
3610
+ filter: [FormFilterSetType]
3611
+ order: [FormOrderSetType]
3546
3612
  ): FormConnection
3547
3613
  staticContent: String
3548
3614
  dataSource: String
@@ -3676,13 +3742,13 @@ type TableQuestion implements Question & Node {
3676
3742
  source: Question
3677
3743
  defaultAnswer: TableAnswer
3678
3744
  forms(
3679
- offset: Int = null
3680
- before: String = null
3681
- after: String = null
3682
- first: Int = null
3683
- last: Int = null
3684
- filter: [FormFilterSetType] = null
3685
- order: [FormOrderSetType] = null
3745
+ offset: Int
3746
+ before: String
3747
+ after: String
3748
+ first: Int
3749
+ last: Int
3750
+ filter: [FormFilterSetType]
3751
+ order: [FormOrderSetType]
3686
3752
  ): FormConnection
3687
3753
 
3688
3754
  """
@@ -3787,20 +3853,20 @@ type TextareaQuestion implements Question & Node {
3787
3853
  meta: GenericScalar!
3788
3854
  source: Question
3789
3855
  formatValidators(
3790
- before: String = null
3791
- after: String = null
3792
- first: Int = null
3793
- last: Int = null
3856
+ before: String
3857
+ after: String
3858
+ first: Int
3859
+ last: Int
3794
3860
  ): FormatValidatorConnection
3795
3861
  defaultAnswer: StringAnswer
3796
3862
  forms(
3797
- offset: Int = null
3798
- before: String = null
3799
- after: String = null
3800
- first: Int = null
3801
- last: Int = null
3802
- filter: [FormFilterSetType] = null
3803
- order: [FormOrderSetType] = null
3863
+ offset: Int
3864
+ before: String
3865
+ after: String
3866
+ first: Int
3867
+ last: Int
3868
+ filter: [FormFilterSetType]
3869
+ order: [FormOrderSetType]
3804
3870
  ): FormConnection
3805
3871
 
3806
3872
  """
@@ -3833,20 +3899,20 @@ type TextQuestion implements Question & Node {
3833
3899
  meta: GenericScalar!
3834
3900
  source: Question
3835
3901
  formatValidators(
3836
- before: String = null
3837
- after: String = null
3838
- first: Int = null
3839
- last: Int = null
3902
+ before: String
3903
+ after: String
3904
+ first: Int
3905
+ last: Int
3840
3906
  ): FormatValidatorConnection
3841
3907
  defaultAnswer: StringAnswer
3842
3908
  forms(
3843
- offset: Int = null
3844
- before: String = null
3845
- after: String = null
3846
- first: Int = null
3847
- last: Int = null
3848
- filter: [FormFilterSetType] = null
3849
- order: [FormOrderSetType] = null
3909
+ offset: Int
3910
+ before: String
3911
+ after: String
3912
+ first: Int
3913
+ last: Int
3914
+ filter: [FormFilterSetType]
3915
+ order: [FormOrderSetType]
3850
3916
  ): FormConnection
3851
3917
 
3852
3918
  """
@@ -3912,11 +3978,11 @@ type Workflow implements Node {
3912
3978
  List of forms which are allowed to start workflow with
3913
3979
  """
3914
3980
  allowForms(
3915
- offset: Int = null
3916
- before: String = null
3917
- after: String = null
3918
- first: Int = null
3919
- last: Int = null
3981
+ offset: Int
3982
+ before: String
3983
+ after: String
3984
+ first: Int
3985
+ last: Int
3920
3986
  ): FormConnection!
3921
3987
 
3922
3988
  """
@@ -3929,13 +3995,13 @@ type Workflow implements Node {
3929
3995
  """
3930
3996
  tasks: [Task]!
3931
3997
  flows(
3932
- offset: Int = null
3933
- before: String = null
3934
- after: String = null
3935
- first: Int = null
3936
- last: Int = null
3937
- filter: [FlowFilterSetType] = null
3938
- order: [FlowOrderSetType] = null
3998
+ offset: Int
3999
+ before: String
4000
+ after: String
4001
+ first: Int
4002
+ last: Int
4003
+ filter: [FlowFilterSetType]
4004
+ order: [FlowOrderSetType]
3939
4005
  ): FlowConnection
3940
4006
  }
3941
4007
 
@@ -4036,12 +4102,19 @@ type WorkItem implements Node {
4036
4102
  document: Document
4037
4103
  previousWorkItem: WorkItem
4038
4104
  succeedingWorkItems(
4039
- offset: Int = null
4040
- before: String = null
4041
- after: String = null
4042
- first: Int = null
4043
- last: Int = null
4105
+ offset: Int
4106
+ before: String
4107
+ after: String
4108
+ first: Int
4109
+ last: Int
4044
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
4045
4118
  }
4046
4119
 
4047
4120
  type WorkItemConnection {
@@ -4100,6 +4173,7 @@ input WorkItemFilterSetType {
4100
4173
  caseDocumentHasAnswer: [HasAnswerFilterType]
4101
4174
  caseMetaValue: [JSONValueFilterType]
4102
4175
  rootCaseMetaValue: [JSONValueFilterType]
4176
+ caseSearchAnswers: [SearchAnswersFilterType]
4103
4177
  invert: Boolean
4104
4178
  }
4105
4179