@projectcaluma/ember-testing 10.2.0-beta.1 → 11.0.0-beta.10

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