forked from cap-collectif/cap-collectif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.dev.graphql
20193 lines (15428 loc) · 476 KB
/
schema.dev.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""An abstract debate argument."""
interface AbstractDebateArgument {
"""The ID of an object."""
id: ID!
"""Whether or not the contribution is trashed."""
trashed: Boolean!
"""Identifies the trashed visibility."""
trashedStatus: TrashableStatus
"""Identifies the moment the moderator trashed the contribution."""
trashedAt: DateTime
"""Identifies the reason why the moderator trashed the contribution."""
trashedReason: String
"""Whether or not the entity is published."""
published: Boolean!
"""Identifies when the entity can no more be published."""
publishableUntil: DateTime
"""Identifies when the entity was published at."""
publishedAt: DateTime
"""Reason that the entity is not published."""
notPublishedReason: NotPublishedReason
"""True if the viewer has reported the argument."""
viewerHasReport: Boolean!
"""The reportings related to the reportable."""
reportings(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""Returns the first `n` elements from the list."""
first: Int = 100
orderBy: ReportingOrder = {field: CREATED_AT, direction: DESC}
): ReportingConnection!
"""Check if a user can report"""
viewerCanReport: Boolean!
"""Identifies the date and time when the object was last updated."""
updatedAt: DateTime
"""Identifies the date and time when the object was created."""
createdAt: DateTime!
"""
Return the related contribution if the contribution is related to another.
"""
related: Contribution
"""The url of the debate"""
url: URI!
"""The content of the argument."""
body: String!
"""The debate related to the argument."""
debate: Debate!
"""Whether the argument is for or against."""
type: ForOrAgainstValue!
"""IP of the author"""
ipAddress: IP
"""The origin of a debate's argument"""
origin: ContributionOrigin!
"""The URL of widget from which the debate's argument was added, if any."""
widgetOriginUrl: URI
"""The formatted geolocalization informations."""
geoip: FormattedGeolocalization
"""True if the viewer has upvoted the argument."""
viewerHasVote: Boolean!
"""The upvotes on the argument."""
votes(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""Returns the first `n` elements from the list."""
first: Int = 100
"""Order by."""
orderBy: DebateArgumentVoteOrder = {field: PUBLISHED_AT, direction: DESC}
): DebateArgumentVoteConnection!
}
"""An abstract debate vote."""
interface AbstractDebateVote {
"""The ID of an object"""
id: ID!
"""The date of the vote."""
createdAt: DateTime!
"""Whether or not the vote is published."""
published: Boolean!
"""The date when the vote was published at."""
publishedAt: DateTime
"""The value of the vote."""
type: ForOrAgainstValue!
"""The debate of the vote."""
debate: Debate!
"""IP of the voter"""
ipAddress: IP
"""The origin of a debate's vote"""
origin: ContributionOrigin!
"""The URL of widget from which the debate's vote was added, if any."""
widgetOriginUrl: URI
}
"""Available errors on `AddAnonymousReply` mutation."""
enum AddAnonymousReplyErrorCode {
"""The submited reply is not valid."""
INVALID_FORM
}
input AddAnonymousReplyInput {
"""The id of the questionnaire"""
questionnaireId: ID!
"""The responses to the questionnaire questions"""
responses: [ResponseInput!]!
"""The participant email"""
participantEmail: Email
clientMutationId: String
}
type AddAnonymousReplyPayload {
"""The created reply"""
reply: AnonymousReply
"""The associated questionnaire"""
questionnaire: Questionnaire
"""The reply token"""
token: String
"""An error"""
errorCode: AddAnonymousReplyErrorCode
clientMutationId: String
}
input AddArgumentInput {
"""The Argumentable ID to argue."""
argumentableId: ID!
"""The contents of the argument body."""
body: String!
"""The type of the argument."""
type: ArgumentValue!
clientMutationId: String
}
type AddArgumentPayload {
"""The newly created argument."""
argument: Argument
"""The edge from the argumentable's arguments connection."""
argumentEdge: ArgumentEdge
"""An unsuccessful mutation will return one or more `UserError` objects."""
userErrors: [UserError!]!
clientMutationId: String
}
input AddArgumentVoteInput {
"""The Node ID of the argument to vote."""
argumentId: ID!
clientMutationId: String
}
type AddArgumentVotePayload {
voteEdge: ArgumentVoteEdge
viewer: User!
clientMutationId: String
}
input AddCommentInput {
"""The Commentable ID of the subject to comment."""
commentableId: ID!
"""The contents of the comment."""
body: String!
authorName: String
authorEmail: String
clientMutationId: String
}
type AddCommentPayload {
"""The edge from the commentable's comment connection."""
commentEdge: CommentEdge
"""The commentable."""
commentable: Commentable
"""An unsuccessful mutation will return one or more `UserError` objects."""
userErrors: [UserError!]!
clientMutationId: String
}
input AddCommentVoteInput {
"""The Node ID of the comment to vote."""
commentId: ID!
clientMutationId: String
}
type AddCommentVotePayload {
voteEdge: CommentVoteEdge
viewer: User!
clientMutationId: String
}
input AddContactFormInput {
"""Email of the interlocutor of the contact form."""
email: String!
translations: [ContactFormTranslationInput!]!
"""Is the body using Jodit Wysiwyg."""
bodyUsingJoditWysiwyg: Boolean
"""Is the confidentiality using Jodit Wysiwyg."""
confidentialityUsingJoditWysiwyg: Boolean
clientMutationId: String
}
type AddContactFormPayload {
"""The contact form created."""
contactForm: ContactForm!
clientMutationId: String
}
"""Available errors for an `addDebateAnonymousVote` mutation."""
enum AddDebateAnonymousVoteErrorCode {
"""No `Debate` match your `debateId`."""
UNKNOWN_DEBATE
"""The debate is closed and be voted."""
CLOSED_DEBATE
"""The given captcha is invalid."""
INVALID_CAPTCHA
}
input AddDebateAnonymousVoteInput {
"""The Node ID of the `Debate` to vote on."""
debateId: ID!
"""Whether the vote will be `FOR` or `AGAINST`."""
type: ForOrAgainstValue!
"""The captcha verification."""
captcha: String!
"""The URL of widget from which the debate's argument was added, if any."""
widgetOriginURI: URI = null
clientMutationId: String
}
type AddDebateAnonymousVotePayload {
"""The token of the newly created anonymous vote."""
token: String
"""The newly created anonymous vote."""
debateAnonymousVote: DebateAnonymousVote
"""An unsuccessful mutation will return an error."""
errorCode: AddDebateAnonymousVoteErrorCode
clientMutationId: String
}
"""Available errors for an `addDebateArgumentVote` mutation."""
enum AddDebateArgumentVoteErrorCode {
"""No `DebateArgument` match your id."""
UNKNOWN_DEBATE_ARGUMENT
"""The debate is closed and arguments cannot be voted for."""
CLOSED_DEBATE
"""Viewer has already voted for this argument."""
ALREADY_VOTED
}
input AddDebateArgumentVoteInput {
"""The id of the `DebateArgument` to vote for."""
debateArgumentId: ID!
"""The URL of widget from which the debate's argument was added, if any."""
widgetOriginURI: URI = null
clientMutationId: String
}
type AddDebateArgumentVotePayload {
"""The argument that had just been upvoted."""
debateArgument: AbstractDebateArgument
"""The vote just added."""
debateArgumentVote: DebateArgumentVote
"""An unsuccessful mutation will return an error."""
errorCode: AddDebateArgumentVoteErrorCode
clientMutationId: String
}
"""Available errors for an `addDebateOpinion` mutation."""
enum AddDebateOpinionErrorCode {
"""No `Debate` match your `debateId`."""
UNKNOWN_DEBATE
"""The provided values are not valid."""
INVALID_FORM
}
input AddDebateOpinionInput {
"""The Node ID of the `Debate` where the opinion belongs."""
debateId: ID!
"""The title value of the opinion."""
title: String!
"""The body value of the opinion."""
body: HTML!
"""Is the body using Jodit Wysiwyg."""
bodyUsingJoditWysiwyg: Boolean
"""The Node ID of a `User`. The author of the opinion."""
author: ID!
"""Whether the opinion will be `FOR` or `AGAINST`."""
type: ForOrAgainstValue!
clientMutationId: String
}
type AddDebateOpinionPayload {
"""The newly created opinion."""
debateOpinion: DebateOpinion
"""An unsuccessful mutation will return an error."""
errorCode: AddDebateOpinionErrorCode
clientMutationId: String
}
"""Available errors for an `addDebateVote` mutation."""
enum AddDebateVoteErrorCode {
"""No `Debate` match your `debateId`."""
UNKNOWN_DEBATE
"""The debate is closed and be voted."""
CLOSED_DEBATE
}
input AddDebateVoteInput {
"""The Node ID of the `Debate` to vote on."""
debateId: ID!
"""Whether the vote will be `FOR` or `AGAINST`."""
type: ForOrAgainstValue!
"""The URL of widget from which the debate's vote was added, if any."""
widgetOriginURI: URI = null
clientMutationId: String
}
type AddDebateVotePayload {
"""The newly created Vote."""
debateVote: DebateVote
"""If there was an existing vote, the id of the remove vote."""
previousVoteId: ID
"""An unsuccessful mutation will return an error."""
errorCode: AddDebateVoteErrorCode
clientMutationId: String
}
input AddEventInput {
"""When the event start."""
startAt: DateTime!
"""When the event end."""
endAt: DateTime
translations: [EventTranslationInput!]!
clientMutationId: String
"""Whether or not this event is published."""
enabled: Boolean = true
"""The media to illustrate the event."""
media: ID
"""Whether or not this event is commentable."""
commentable: Boolean = true
"""The contents of the event addressJson."""
addressJson: String
"""The contents of the event customCode."""
customCode: String
"""An array of Node IDs of projects associated to this event."""
projects: [ID]
"""An array of Node IDs of themes associated to this event."""
themes: [ID]
"""Whether or not this event is allow registrations."""
guestListEnabled: Boolean! = false
"""The Node ID of the author for this event."""
author: ID
"""Is the body using Jodit Wysiwyg."""
bodyUsingJoditWysiwyg: Boolean
"""Author of event agree to use personal data for event only"""
authorAgreeToUsePersonalDataForEventOnly: Boolean
"""Admin authorize data transfer"""
adminAuthorizeDataTransfer: Boolean
"""An array of Node IDs of steps associated to this event."""
steps: [ID!]
"""Whether or not this event is registrations measurable."""
measurable: Boolean! = false
"""If measurable what is the max allowed registrations"""
maxRegistrations: Int
"""
ID of the owner of the event, user or organization. If null, fallback on the viewer.
"""
owner: ID
}
type AddEventPayload {
"""The edge from the events connection."""
eventEdge: EventEdge
"""An unsuccessful mutation will return one or more `UserError` objects."""
userErrors: [UserError!]!
clientMutationId: String
}
input AddEventsInput {
"""A list of events input to import."""
events: [EventInput!]!
"""
This option is useful if you want to test your import. Set it to true if you want to import definitively.
"""
dryRun: Boolean!
clientMutationId: String
}
type AddEventsPayload {
"""List of imported events."""
importedEvents: [Event!]!
"""List of emails that didn't match an existing user."""
notFoundEmails: [Email]!
"""List of themes ID that didn't match an existing themes."""
notFoundThemes: [ID]!
"""List of projects ID that didn't match an existing projects."""
notFoundProjects: [ID]!
"""List of dates that didn't got the good format"""
brokenDates: [String]!
clientMutationId: String
}
input AddOpinionVoteInput {
"""The Node ID of the opinion/version to vote."""
opinionId: ID!
"""The vote value."""
value: YesNoPairedVoteValue!
clientMutationId: String
}
type AddOpinionVotePayload {
vote: YesNoPairedVote
voteEdge: YesNoPairedVoteEdge
viewer: User!
previousVoteId: ID
clientMutationId: String
}
input AddOrganizationInput {
translations: [UpdateOrganizationTranslationInput!]
clientMutationId: String
}
type AddOrganizationPayload {
"""The newly created organization."""
organization: Organization
clientMutationId: String
}
input AddProposalNewsInput {
"""The Node ID of the proposal to add news."""
proposalId: ID!
translations: [NewsTranslationInput!]!
"""Current media id"""
media: ID
"""Is the body using Jodit Wysiwyg."""
bodyUsingJoditWysiwyg: Boolean
clientMutationId: String
}
type AddProposalNewsPayload {
"""The new post."""
proposalPost: Post
"""An unsuccessful mutation will return an error message"""
errorCode: ProposalNewsErrorCode
"""the proposal attached to the news"""
proposal: Proposal
"""the URL of proposalNews posted"""
postURL: URI
clientMutationId: String
}
"""Available errors for an `addProposalSmsVote` mutation."""
enum AddProposalSmsVoteErrorCode {
"""The proposal is already voted by this phone number."""
PROPOSAL_ALREADY_VOTED
"""Max votes limit reached."""
VOTE_LIMIT_REACHED
"""Phone not found for the given token."""
PHONE_NOT_FOUND
}
input AddProposalSmsVoteInput {
"""The Node ID of the proposal to vote."""
proposalId: ID!
"""The Node ID of the step."""
stepId: ID!
"""The token associated to this number."""
token: String!
"""Whether or not the user consents to receive communications by sms."""
consentSmsCommunication: Boolean!
clientMutationId: String
}
type AddProposalSmsVotePayload {
vote: ProposalSmsVote
voteEdge: ProposalVoteEdge
errorCode: AddProposalSmsVoteErrorCode
votes: ProposalSmsVoteConnection
clientMutationId: String
}
input AddProposalVoteInput {
"""The Node ID of the proposal to vote."""
proposalId: ID!
"""The Node ID of the step."""
stepId: ID!
"""The vote will be anonymous."""
anonymously: Boolean = false
clientMutationId: String
}
type AddProposalVotePayload {
vote: ProposalUserVote!
viewer: User!
voteEdge: ProposalVoteEdge!
clientMutationId: String
}
input AddProposalsFromCsvInput {
"""The id of the form form proposal"""
proposalFormId: ID!
"""The ID of csv file uploaded to import"""
csvToImport: ID!
"""
This option is useful if you want to test your import. Set it to false if you want to import definitively.
"""
dryRun: Boolean! = true
"""the char mark to delimit column in csv"""
delimiter: String = ";"
clientMutationId: String
}
type AddProposalsFromCsvPayload {
"""List of imported proposals."""
importedProposals: ProposalConnection
"""List of imported proposals."""
importedProposalsArray: [Proposal]
"""List of bad lines."""
badLines: [Int]!
"""Number of doubloon"""
duplicates: [Int]!
"""Lines with missing data mandatory"""
mandatoryMissing: [Int]!
"""code of error"""
errorCode: ProposalImportsErrorCode
"""Number of importable proposals."""
importableProposals: Int!
"""the project proposals"""
project: Project
clientMutationId: String
}
"""Available errors on step assignment of proposals"""
enum AddProposalsToStepsErrorCode {
"""No proposal match your id"""
NO_VALID_PROPOSAL
"""No step match your id or it does not fit the selected proposals"""
NO_VALID_STEP
}
input AddProposalsToStepsInput {
"""The ids of the proposals to add to steps"""
proposalIds: [ID!]!
"""The ids of the steps to which proposals should be moved"""
stepIds: [ID!]!
clientMutationId: String
}
type AddProposalsToStepsPayload {
"""Connection of assigned proposals"""
proposals: ProposalConnection
"""An unsuccessful mutation will return an error message"""
error: AddProposalsToStepsErrorCode
"""The steps to which proposals have been moved."""
steps: [Step!]!
clientMutationId: String
}
"""Available errors on addSmsCredit mutation."""
enum AddSmsCreditErrorCode {
"""The given order is already processed."""
ORDER_ALREADY_PROCESSED
"""The given order is not found."""
SMS_ORDER_NOT_FOUND
"""Error occured while calling twilio API."""
TWILIO_API_ERROR
}
input AddSmsCreditInput {
"""The amount to credit."""
amount: Int!
"""The order id to process."""
smsOrder: ID!
clientMutationId: String
}
type AddSmsCreditPayload {
"""The created sms credit."""
smsCredit: SmsCredit
"""Available errors for the mutation."""
errorCode: AddSmsCreditErrorCode
clientMutationId: String
}
input AddSourceInput {
"""The Sourceable ID to source."""
sourceableId: ID!
"""The contents of the source body."""
body: String!
"""The category of the source."""
category: ID!
link: URI!
title: String!
clientMutationId: String
}
type AddSourcePayload {
"""The newly created source."""
source: Source
"""The edge from the sourceable's sources connection."""
sourceEdge: SourceEdge
"""An unsuccessful mutation will return one or more `UserError` objects."""
userErrors: [UserError!]!
clientMutationId: String
}
input AddSourceVoteInput {
"""The Node ID of the source to vote."""
sourceId: ID!
clientMutationId: String
}
type AddSourceVotePayload {
voteEdge: SourceVoteEdge
viewer: User!
clientMutationId: String
}
input AddStepInput {
"""The project linked to the step."""
projectId: ID!
"""The step title."""
title: String
clientMutationId: String
}
type AddStepPayload {
step: Step!
clientMutationId: String
}
"""Available errors for an `addUserReply` mutation."""
enum AddUserReplyErrorCode {
"""the viewer does not meet requirements"""
REQUIREMENTS_NOT_MET
}
input AddUserReplyInput {
"""The id of the questionnaire"""
questionnaireId: ID!
"""The responses to the questionnaire questions"""
responses: [ResponseInput]
"""Anonymous or not."""
private: Boolean
"""If true will create a draft reply."""
draft: Boolean! = false
clientMutationId: String
}
type AddUserReplyPayload {
reply: UserReply
questionnaire: Questionnaire
errorCode: AddUserReplyErrorCode
clientMutationId: String
}
input AddUsersInGroupInput {
"""Users that will be added to the group."""
users: [ID!]!
"""The concerned group id."""
groupId: ID!
clientMutationId: String
}
type AddUsersInGroupPayload {
group: Group!
clientMutationId: String
}
input AddUsersToGroupFromEmailInput {
"""A list of email(s)."""
emails: [Email!]!
"""
This option is useful if you want to test your emails list. Set it to true if you want to import definitively.
"""
dryRun: Boolean!
"""The Node ID of the group."""
groupId: ID!
clientMutationId: String
}
type AddUsersToGroupFromEmailPayload {
"""List of imported users."""
importedUsers: [User]!
"""List of emails that didn't match an existing user."""
notFoundEmails: [Email]!
"""
If an email from your list is already associated to a user who is in the chosen group, it will be in this field.
"""
alreadyImportedUsers: [User]!
clientMutationId: String
}
input AddVersionInput {
"""The concerned opinion id."""
opinionId: ID!
title: String!
body: HTML!
"""Is the body using Jodit Wysiwyg."""
bodyUsingJoditWysiwyg: Boolean
comment: HTML
"""Is the comment using Jodit Wysiwyg."""
commentUsingJoditWysiwyg: Boolean
clientMutationId: String
}
type AddVersionPayload {
version: Version
versionEdge: VersionEdge
"""An unsuccessful mutation will return one or more `UserError` objects."""
userErrors: [UserError]
clientMutationId: String
}
"""Represent an aggregrated result that should be displayed in a chart"""
type AggregatedResult {
"""A unique key that distinguish one result from another"""
key: String!
"""How many objects are associated to the key"""
totalCount: Int!
}
input AnalyseProposalAnalysisInput {
"""The id of the proposal to analyse."""
proposalId: ID!
"""The responses from the evaluation form."""
responses: [ResponseInput!]!
clientMutationId: String
"""The analysis decision taken about the proposal"""
decision: ProposalAnalysisDecision!
}
type AnalyseProposalAnalysisPayload {
"""The changed proposal analysis."""
analysis: ProposalAnalysis
"""Contains the error code if one occurred."""
errorCode: ProposalStatementErrorCode
clientMutationId: String
}
"""An analysis configuration."""
type AnalysisConfiguration {
"""The ID of an object."""
id: ID!
"""The related ProposalForm."""
proposalForm: ProposalForm!
"""Activate cost estimation on evaluation form."""
costEstimationEnabled: Boolean!
"""The evaluation form of the analysis"""
evaluationForm: Questionnaire
"""The step on which the analysis is based on."""
analysisStep: Step
"""The date on which the related decision will become effective"""
effectiveDate: DateTime
"""Indicates whether or not a proposal decision is immediately effective"""
isImmediatelyEffective: Boolean!
"""The available favourable statuses to apply on contributions."""
favourableStatus: ProposalStepStatus
"""The unfavourable status to apply on contributions."""
unfavourableStatuses: [ProposalStepStatus!]
"""The step to which proposals will be moved."""
moveToSelectionStep: SelectionStep
"""The status to apply on next step."""
selectionStepStatus: ProposalStepStatus
"""The creation date."""
createdAt: DateTime!
"""The last update date."""
updatedAt: DateTime
"""A text to explain the analysis process."""
body: HTML
"""Is the body using Jodit Wysiwyg."""
bodyUsingJoditWysiwyg: Boolean!
"""
Indicates whether or not a proposal has been processed on effectiveDate
"""
effectiveDateProcessed: Boolean
}
"""Represents an answer from a non-registered to a questionnaire."""
type AnonymousReply implements Reply & Node {
"""The ID of an object"""
id: ID!
"""
Return the related contribution if the contribution is related to another.
"""
related: Contribution
"""The url of the reply."""
url: URI!
"""Identifies the date and time when the object was last updated."""
updatedAt: DateTime
"""Identifies the date and time when the object was created."""
createdAt: DateTime!
"""Whether or not the entity is published."""
published: Boolean!
"""Identifies when the entity can no more be published."""
publishableUntil: DateTime
"""Identifies when the entity was published at."""
publishedAt: DateTime
"""Reason that the entity is not published."""
notPublishedReason: NotPublishedReason
"""The responses of the reply."""
responses: [Response]!
"""Identifies the form where the contribution was submitted."""
questionnaire: Questionnaire!
"""The admin url of the reply."""
adminUrl: URI
"""The status of the reply."""
status: ReplyStatus
participantEmail: Email
}
"""A contribution"""
type Answer {
"""Identifies the date and time when the object was created."""
createdAt: DateTime!
"""Identifies the contribution title."""
title: String
"""Identifies the body of the contribution."""
body: HTML
author: User
}
union AnswerOrPost = Answer | Post
"""A contribution"""
type Appendix {