-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.graphql
2689 lines (2223 loc) · 57.9 KB
/
schema.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
type WagtailStructBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
child_blocks: [WagtailStructBlockChildStructure!]!
}
interface WagtailBlockStructure {
label: String!
group: String
required: Boolean!
}
type WagtailStructBlockChildStructure {
name: String!
definition: WagtailBlockStructure!
}
type WagtailListBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
child_block: WagtailBlockStructure!
}
type WagtailCharBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
}
type WagtailRichTextBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
}
type WagtailBooleanBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
}
type WagtailStaticBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
}
type WagtailImageBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
}
type WagtailURLBlockStructure implements WagtailBlockStructure {
label: String!
group: String
required: Boolean!
}
type WagtailStructBlockValidationError implements WagtailBlockValidationError {
error_message: String!
errors: [WagtailStructBlockFieldValidationError!]!
}
interface WagtailBlockValidationError {
error_message: String!
}
type WagtailStructBlockFieldValidationError {
name: String!
error: WagtailBlockValidationError
}
type WagtailListBlockValidationError implements WagtailBlockValidationError {
error_message: String!
errors: [WagtailBlockValidationError]!
}
type WagtailAnyBlockValidationError implements WagtailBlockValidationError {
error_message: String!
}
type RatioPresentationIndexPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
presentations: [PresentationPage!]!
}
interface WagtailPage {
id: ID!
title: String!
meta: WagtailPageMeta!
}
type WagtailPageMeta {
slug: String!
description: String!
html_url: String! @deprecated(reason: "renamed to `url`")
url: String!
permissions: WagtailPagePermissions!
revisions: [WagtailPageRevision!]!
revision(id: ID!): WagtailPageRevision!
}
type WagtailPagePermissions {
can_edit: Boolean!
}
type WagtailPageRevision {
id: ID!
created_at: String!
as_page: WagtailPage!
}
type RatioSectionPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
body: [WagtailBlock!]!
}
interface WagtailBlock {
id: ID!
}
type RatioSectionIndexPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
}
type RatioNotebookPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
sections: [RatioNotebookSectionBlock!]!
}
type RatioNotebookIndexPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
}
type RatioNotebookSectionBlock implements WagtailBlock {
id: ID!
value: RatioSectionPage!
}
type RatioHeaderBlock implements WagtailBlock {
id: ID!
value: String!
}
type RatioParagraphBlock implements WagtailBlock {
id: ID!
value: String!
}
type RatioInsetBlock implements WagtailBlock {
id: ID!
value: String!
}
type RatioExerciseBlock implements WagtailBlock {
id: ID!
value: RatioExerciseBlockValue!
}
type RatioExerciseBlockValue {
header: String!
lines_count: Int!
enumerate: Boolean!
}
type RatioExerciseOnelineBlock implements WagtailBlock {
id: ID!
value: RatioExerciseOnelineBlockValue!
}
type RatioExerciseOnelineBlockValue {
text: String!
}
type RatioBriefingBlock implements WagtailBlock {
id: ID!
value: String!
}
type RatioMathBlock implements WagtailBlock {
id: ID!
value: String!
}
type ProjectPage implements WagtailPage {
id: ID!
"""заголовок"""
title: String!
meta: WagtailPageMeta!
"""Короткое описание"""
summary: String!
"""Периодичность"""
activity_summary: String
"""Активный"""
is_active: Boolean!
body: String!
image(spec: String!): WagtailImageRendition!
upcoming_events: [Event!]!
telegram_chats: [TelegramChat!]!
}
type WagtailImageRendition {
id: ID!
url: String!
width: Int!
height: Int!
original_image: WagtailImage!
}
type WagtailImage {
id: ID!
url: String!
width: Int!
height: Int!
rendition(spec: String!): WagtailImageRendition!
}
type Event {
start: String!
end: String!
title: String!
summary: String!
registration_type: String!
pricing_type: String!
realm: String!
published: Boolean!
event_type: String!
id: ID!
event_id: ID!
description(format: EventsMarkupFormat): String!
stream_body: [WagtailBlock!]!
image(spec: String!): WagtailImageRendition
project: ProjectPage
public_tags: [String!]!
announcements: EventsAnnouncements!
my_ticket: MyEventsTicket
tags: [String!]!
public_google_event: EventsGoogleEvent
zoom_meeting: ZoomMeeting
prototype: EventsPrototype
visitors: String
creator: String
created: String!
updated: String!
location: String!
room: String!
zoom_link: String!
timing_description_override: String!
tickets: [EventsTicket!]!
feedbacks: [EventsFeedback!]!
youtube_videos: [EventsYoutubeVideo!]!
}
enum EventsMarkupFormat {
SOURCE
PLAIN
}
type EventsAnnouncements {
timepad: EventsAnnouncementTimepad!
vk: EventsAnnouncementVk!
fb: EventsAnnouncementFb!
}
type EventsAnnouncementTimepad {
link: String!
category_code: String!
prepaid_tickets: Boolean!
}
type EventsAnnouncementVk {
link: String!
group: String!
image(spec: String!): WagtailImageRendition
}
type EventsAnnouncementFb {
link: String!
group: String!
}
type MyEventsTicket {
id: ID!
event: Event!
status: String!
created: String
zoom_link: String
}
type EventsGoogleEvent {
google_id: String!
html_link: String!
id: ID!
}
type ZoomMeeting {
id: ID!
zoom_id: String!
join_url: String!
instances: [ZoomMeetingInstance!]!
participants_count: Int
}
type ZoomMeetingInstance {
id: ID!
zoom_uuid: String!
start_time: String!
end_time: String!
participants: [ZoomParticipant!]!
}
type ZoomParticipant {
id: ID!
name: String!
join_time: String!
leave_time: String!
}
type EventsPrototype {
id: ID!
title: String!
summary: String!
description: String!
location: String!
timing_description_override: String!
active: Boolean!
weekday: Int!
hour: Int!
minute: Int!
length: Int!
project: ProjectPage
tags: [String!]!
image(spec: String!): WagtailImageRendition
suggested_dates(limit: Int!, from_date: String, to_date: String, until_ts: Int): [String!]!
instances(limit: Int): [Event!]!
vk_group: VkGroup
timepad_category: TimepadCategory
}
type VkGroup {
name: String!
}
type TimepadCategory {
id: ID!
code: String!
name: String!
}
type EventsTicket {
id: ID!
status: String!
user: AuthUser!
}
type AuthUser {
id: ID!
first_name: String!
last_name: String!
email: String
staff_member: StaffMember
external_accounts: [ExternalServiceAccount!]!
}
type StaffMember {
id: ID!
short_name: String!
full_name: String!
role: String!
is_current: Boolean!
vk: String!
color: String!
user: AuthUser!
slack_user: SlackUser
}
type SlackUser {
slack_id: String!
image_url: String!
}
interface ExternalServiceAccount {
service: ExternalService!
}
interface ExternalService {
slug: String!
accounts: [ExternalServiceAccount!]!
}
type EventsFeedback {
id: ID!
overall_score: Int
recommend_score: Int
content_score: Int
conductor_score: Int
source_friend: Boolean!
source_vk: Boolean!
source_fb: Boolean!
source_timepad: Boolean!
source_email: Boolean!
source_website: Boolean!
custom_source: String
comment: String
}
type EventsYoutubeVideo {
id: ID!
embed_id: String!
}
type TelegramChat {
id: ID!
username: String!
title: String!
force_public: Boolean!
delisted: Boolean!
photo(spec: String!): WagtailImageRendition
project: ProjectPage
link: String!
}
type ProjectIndexPage implements WagtailPage {
id: ID!
"""заголовок"""
title: String!
meta: WagtailPageMeta!
"""Описание активных проектов"""
active_description: String!
projects(is_active: Boolean): [ProjectPage!]!
}
type FreeFormPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
body: [WagtailBlock!]!
}
type FolderPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
}
type BasicTextBlock implements WagtailBlock {
id: ID!
value: BasicTextBlockValue!
}
type BasicTextBlockValue {
text: String!
centered: Boolean!
}
type BasicCardBlock implements WagtailBlock {
id: ID!
value: String!
}
type SectionHeaderBlock implements WagtailBlock {
id: ID!
value: SectionHeaderBlockValue!
}
type SectionHeaderBlockValue {
header: String!
text: String!
}
type AnchorBlock implements WagtailBlock {
id: ID!
value: String!
}
type ColumnsBasicBlock implements WagtailBlock {
id: ID!
value: [ColumnsBasicBlockValue!]!
}
type ColumnsBasicBlockValue {
header: String!
text: String!
}
type ColumnsButtonsBlock implements WagtailBlock {
id: ID!
value: [ColumnsButtonsBlockValue!]!
}
type ColumnsButtonsBlockValue {
title: String!
text: String!
image(spec: String!): WagtailImageRendition!
caption: String!
link: String!
}
type ImageWithTextBlock implements WagtailBlock {
id: ID!
value: ImageWithTextBlockValue!
}
type ImageWithTextBlockValue {
text: String!
image(spec: String!): WagtailImageRendition!
}
type BigContactsBlock implements WagtailBlock {
id: ID!
value: BigContactsBlockValue!
}
type BigContactsBlockValue {
map: WagtailGeo!
address: String!
phone: String!
email: String!
text: String!
}
type WagtailGeo {
lat: String!
lng: String!
}
type MailchimpSubscribeBlock implements WagtailBlock {
id: ID!
value: MailchimpSubscribeBlockValue!
}
type MailchimpSubscribeBlockValue {
news: Boolean!
events: Boolean!
trainings: Boolean!
}
type HeroFrontBlock implements WagtailBlock {
id: ID!
value: HeroFrontBlockValue!
}
type HeroFrontBlockValue {
title: String!
buttons: [HeroFrontBlock_buttonsValue!]!
}
type HeroFrontBlock_buttonsValue {
title: String!
link: String!
highlight: Boolean!
}
type LandingHeroBlock implements WagtailBlock {
id: ID!
value: LandingHeroBlockValue!
}
type LandingHeroBlockValue {
image(spec: String!): WagtailImageRendition!
title: String!
text: String!
}
type LandingTextBlock implements WagtailBlock {
id: ID!
value: LandingTextBlockValue!
}
type LandingTextBlockValue {
text: String!
centered: Boolean!
large: Boolean!
gray: Boolean!
}
type FrontPartnersBlock implements WagtailBlock {
id: ID!
value: [FrontPartnersBlockValue!]!
}
type FrontPartnersBlockValue {
link: String!
image(spec: String!): WagtailImageRendition!
}
type EventsListBlock implements WagtailBlock {
id: ID!
events: [Event!]!
}
type PhotoRibbonBlock implements WagtailBlock {
id: ID!
value(spec: String!): [WagtailImageRendition!]!
}
type HrBlock implements WagtailBlock {
id: ID!
}
type FrontSocialLinksBlock implements WagtailBlock {
id: ID!
}
type BlogPostAuthor {
"""Имя"""
name: String!
"""Описание"""
description: String!
image(spec: String!): WagtailImageRendition!
}
type BlogPostPage implements WagtailPage {
id: ID!
"""заголовок"""
title: String!
meta: WagtailPageMeta!
"""Дата поста"""
date: String!
"""Короткое описание"""
summary: String!
body: String!
authors: [BlogPostAuthor!]!
}
type BlogIndexPage implements WagtailPage {
id: ID!
"""заголовок"""
title: String!
meta: WagtailPageMeta!
"""Подзаголовок"""
subtitle: String!
posts: [BlogPostPage!]!
}
type FaqPage implements WagtailPage {
id: ID!
"""заголовок"""
title: String!
meta: WagtailPageMeta!
"""Короткое описание"""
summary: String!
prev_page: FaqPage
next_page: FaqPage
entries: [FaqEntry!]!
subpages: [FaqPage!]!
}
type FaqEntry {
id: ID!
"""Вопрос"""
question: String!
answer: String!
}
type WikiAccount implements ExternalServiceAccount {
service: WikiExternalService!
name: String!
}
type WikiExternalService implements ExternalService {
slug: String!
accounts: [WikiAccount!]!
}
type SlackAccount implements ExternalServiceAccount {
service: SlackExternalService!
email: String!
}
type SlackExternalService implements ExternalService {
slug: String!
accounts: [SlackAccount!]!
}
type PresentationPage implements WagtailPage {
title: String!
id: ID!
meta: WagtailPageMeta!
slides: [WagtailBlock!]!
}
type SlideTitleBlock implements WagtailBlock {
id: ID!
value: String!
}
type SlideRichTextBlock implements WagtailBlock {
id: ID!
value: String!
}
type SlideRawHtmlBlock implements WagtailBlock {
id: ID!
value: String!
}
type SlideFragmentsBlock implements WagtailBlock {
id: ID!
value: [SlideFragmentsBlockValues!]!
}
union SlideFragmentsBlockValues = SlideFragmentsBlock_RichTextBlock | SlideFragmentsBlock_RawHtmlBlock
type SlideFragmentsBlock_RichTextBlock implements WagtailBlock {
id: ID!
value: String!
}
type SlideFragmentsBlock_RawHtmlBlock implements WagtailBlock {
id: ID!
value: String!
}
type Query {
settings: Settings!
wagtailPage(page_id: ID, path: String, preview_token: String): WagtailPage @deprecated(reason: "Use wagtailPageOrPrivate instead")
wagtailPageOrPrivate(page_id: ID, path: String, preview_token: String): WagtailPageOrPrivateResult!
wagtailPages: [WagtailPage!]!
wagtailImage(input: WagtailImageInput!): WagtailImage
wagtailImageSearch(input: WagtailImageSearchInput!): WagtailImageSearchResult!
wagtailBlockStructure(input: WagtailBlockStructureInput!): WagtailBlockStructure!
wagtailAllBlockStructures: [WagtailBlockStructureWithName!]!
wagtailRenderBlock(input: WagtailRenderBlockInput!): WagtailRenderBlockResult!
search(input: SearchInput!): SearchResult!
wagtailCollectionsForImageUpload: [WagtailCollection!]!
authGroupsAll: [AuthGroup!]!
authPermissionsAll: [AuthPermission!]!
searchUsers(input: SearchUsersInput!): SearchUsersResult!
zadarmaPbxCalls(before: String, after: String, first: Int, last: Int): ZadarmaPbxCallConnection!
zadarmaPbxCall(pbx_call_id: ID!): ZadarmaPbxCall!
importers: [Importer!]!
importer(module_name: String!): Importer!
now: NowInfo!
cm2Customers(search: String, before: String, after: String, first: Int, last: Int): Cm2CustomerConnection!
cm2Orders(status: String, before: String, after: String, first: Int, last: Int): Cm2OrderConnection!
cm2Customer(id: ID!): Cm2Customer!
cm2Order(id: ID!): Cm2Order!
watchmenWatchmenAll(currentStaff: Boolean, currentRole: Boolean): [WatchmenWatchman!]!
watchmenGradesAll: [WatchmenGrade!]!
watchmenShifts(from_date: String!, to_date: String!): [WatchmenShift!]!
kkmStatus: KkmStatusResult!
ofdFiscalDrives: [OfdFiscalDrive!]!
ofdDocuments(before: String, after: String, first: Int, last: Int): OfdDocumentConnection!
ofdShifts(before: String, after: String, first: Int, last: Int, filter: OfdShiftsFilterInput): OfdShiftConnection!
cashierPayments(before: String, after: String, first: Int, last: Int): CashierPaymentConnection!
analyticsBovStats: [AnalyticsBovStat!]!
events(before: String, after: String, first: Int, last: Int, search: String, filter: EventsFilterInput): EventConnection!
event(event_id: ID!): Event
eventsPrototype(id: ID!): EventsPrototype!
eventsPrototypes: [EventsPrototype!]!
publicEvents(before: String, after: String, first: Int, last: Int, from_date: String, project_id: ID): EventConnection!
publicEvent(event_id: ID!): Event
vkGroups: [VkGroup!]!
timepadCategories: [TimepadCategory!]!
eventsWeeklyDigestCurrent: EventsWeeklyDigest!
eventsPublicGoogleCalendar: EventsGoogleCalendar
staffMembersAll: [StaffMember!]!
staffMember(id: ID!): StaffMember!
ratioTrainings(before: String, after: String, first: Int, last: Int, filter: RatioTrainingsFilterInput): RatioTrainingConnection!
ratioTrainingBySlug(slug: String!): RatioTraining!
ratioTrainersAll: [RatioTrainer!]!
ratioTrainingEmailPrototype(training_id: ID!, type: String!): String!
ratioTicketTypes(input: RatioTicketTypesInput!): [RatioTicketType!]!
ratioTicketType(input: RatioTicketTypeInput!): RatioTicketType!
ratioOrders(before: String, after: String, first: Int, last: Int): RatioOrderConnection!
ratioTickets(before: String, after: String, first: Int, last: Int, filter: RatioTicketsFilterInput): RatioTicketConnection!
ratioTicket(id: ID!): RatioTicket!
ratioTestimonials(before: String, after: String, first: Int, last: Int): RatioTestimonialConnection!
mastermindDatingCohorts: [MastermindDatingCohort!]!
mastermindDatingCohortById(id: ID!): MastermindDatingCohort!
projects: [ProjectPage!]!
specialOffer: SpecialOffer
emailMailchimpCategoriesAll: [EmailMailchimpCategory!]!
emailSubscribeChannelsAll: [EmailSubscribeChannel!]!
imageTemplatesAll: [ImageTemplate!]!
imageTemplateBySlug(slug: String!): ImageTemplate!
publicTelegramChats: [TelegramChat!]!
allTelegramChats: [TelegramChat!]!
tildaPage(path: String!): TildaPage
tildaPages: [TildaPage!]!
externalServices: [ExternalService!]!
communityLeads(before: String, after: String, first: Int, last: Int, filter: CommunityLeadsFilterInput): CommunityLeadConnection!
communityLead(input: CommunityLeadInput!): CommunityLead!
communityInitiatives(before: String, after: String, first: Int, last: Int, filter: CommunityInitiativesFilterInput): CommunityInitiativeConnection!
communityInitiative(input: CommunityInitiativeInput!): CommunityInitiative!
my: My!
}
type Settings {
default_events_images_collection: WagtailCollection!
default_events_vk_images_collection: WagtailCollection!
weekly_digest_images_collection: WagtailCollection!
telegram_images_collection: WagtailCollection!
community_org_team_telegram_chat: TelegramChat
}
type WagtailCollection {
id: ID!
name: String!
}
union WagtailPageOrPrivateResult = WagtailPageContainer | WagtailPagePrivate
type WagtailPageContainer {
page: WagtailPage
}
type WagtailPagePrivate {
message: String!
}
input WagtailImageInput {
id: ID!
}
type WagtailImageSearchResult {
results: [WagtailImage!]!
}
input WagtailImageSearchInput {
query: String!
}
input WagtailBlockStructureInput {
name: String!
}
type WagtailBlockStructureWithName {
typename: String!
structure: WagtailBlockStructure!
}
type WagtailRenderBlockResult {
validation_error: WagtailStreamFieldValidationError
block: WagtailBlock
}
type WagtailStreamFieldValidationError {
block_errors: [WagtailStreamBlockValidationError!]!
non_block_error: String
}
type WagtailStreamBlockValidationError {
block_id: Int!
error: WagtailBlockValidationError
}
input WagtailRenderBlockInput {
type: String!
paramsJson: String!
}
type SearchResult {
results: [SearchItem!]!
more: Boolean!
}
union SearchItem = PageSearchItem | EventSearchItem
type PageSearchItem {
page: WagtailPage!
}
type EventSearchItem {
event: Event!
}
input SearchInput {
query: String!
limit: Int
}
type AuthGroup {
id: ID!
"""имя"""
name: String!
permissions: [AuthPermission!]!
users: [AuthUser!]!
wagtailCollectionPermissions: [WagtailCollectionPermission!]!
wagtailPagePermissions: [WagtailPagePermission!]!
}
type AuthPermission {
id: ID!
name: String!
perm: String!
users: [AuthUser!]!
}
type WagtailCollectionPermission {
id: ID!
permission: AuthPermission!
collection: WagtailCollection!
}
union WagtailPagePermission = WagtailRootPagePermission | WagtailSpecificPagePermission
type WagtailRootPagePermission {
id: ID!
permission_type: String!
}
type WagtailSpecificPagePermission {
id: ID!
permission_type: String!
page: WagtailPage!
}
type SearchUsersResult {
results: [AuthUser!]!
more: Boolean!
}
input SearchUsersInput {
query: String!
limit: Int
}
type ZadarmaPbxCallConnection {
pageInfo: PageInfo!
nodes: [ZadarmaPbxCall!]!
edges: [ZadarmaPbxCallEdge!]!
}
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
}
type ZadarmaPbxCall {
pbx_call_id: String!
ts: String!
calls: [ZadarmaCall!]!
data: ZadarmaData
id: ID!
}
type ZadarmaCall {
call_id: String!
ts: String!
call_type: String!
disposition: String!
clid: String!
destination: String!
sip: String!
is_recorded: Int!
watchman: String!
record: String
id: ID!
}
type ZadarmaData {
staff_member: StaffMember
}
type ZadarmaPbxCallEdge {
node: ZadarmaPbxCall!
}
type Importer {
name: ID!
last_dt: String
}
type NowInfo {
total: Int!
customers: [NowCustomer!]!
}