-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.graphql
1069 lines (930 loc) · 29.6 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
schema {
query: Query
mutation: Mutation
}
type AddressNode implements Node {
buildingName: String
buildingNumber: String
street: String!
city: String!
postcode: String!
latitude: Float
longitude: Float
id: ID!
}
type ArchiveAccount {
success: Boolean!
errors: [GQLErrorUnion!]
}
input BookingMutationInput {
performance: ID
adminDiscountPercentage: Float
accessibilityInfo: String
tickets: [TicketInputType]
userEmail: String
id: ID
clientMutationId: String
}
type BookingMutationPayload {
booking: BookingNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type BookingNode implements Node {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
status: BookingStatus!
user: ExtendedUserNode!
creator: ExtendedUserNode!
reference: String!
performance: PerformanceNode!
adminDiscountPercentage: Float!
accessibilityInfo: String
expiresAt: DateTime!
tickets: [TicketNode!]!
priceBreakdown: PriceBreakdownNode
transactions(offset: Int, before: String, after: String, first: Int, last: Int, type: String, provider: String, createdAt: DateTime, id: ID): TransactionNodeConnection
expired: Boolean!
salesBreakdown: SalesBreakdownNode
}
type BookingNodeConnection {
pageInfo: PageInfo!
edges: [BookingNodeEdge]!
}
type BookingNodeEdge {
node: BookingNode
cursor: String!
}
enum BookingStatus {
IN_PROGRESS
CANCELLED
PAID
}
type CancelPayment {
success: Boolean!
errors: [GQLErrorUnion!]
}
type CastMemberNode implements Node {
id: ID!
name: String!
profilePicture: ImageNode
role: String
production: ProductionNode!
}
type CheckInBooking {
success: Boolean!
errors: [GQLErrorUnion!]
performance: PerformanceNode
booking: BookingNode
}
type ConcessionTypeBookingType {
concessionType: ConcessionTypeNode
price: Int
pricePounds: String
}
input ConcessionTypeMutationInput {
name: String
description: String
id: ID
clientMutationId: String
}
type ConcessionTypeMutationPayload {
concessionType: ConcessionTypeNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type ConcessionTypeNode implements Node {
name: String!
description: String
id: ID!
}
type ContentWarningNode implements Node {
shortDescription: String!
longDescription: String
id: ID!
}
type ContentWarningNodeConnection {
pageInfo: PageInfo!
edges: [ContentWarningNodeEdge]!
}
type ContentWarningNodeEdge {
node: ContentWarningNode
cursor: String!
}
type CrewMemberNode implements Node {
id: ID!
name: String!
role: CrewRoleNode
production: ProductionNode!
}
type CrewMemberNodeConnection {
pageInfo: PageInfo!
edges: [CrewMemberNodeEdge]!
}
type CrewMemberNodeEdge {
node: CrewMemberNode
cursor: String!
}
enum CrewRoleDepartment {
LIGHTING
SOUND
AV
STAGE_MANAGEMENT
PRYO
SET
MISC
}
type CrewRoleNode implements Node {
id: ID!
name: String!
department: CrewRoleDepartment!
crewMembers(offset: Int, before: String, after: String, first: Int, last: Int): CrewMemberNodeConnection!
}
type DataSetNode {
name: String!
headings: [String]!
data: [[String]]!
}
scalar Date
scalar DateTime
type DeleteAccount {
success: Boolean!
errors: [GQLErrorUnion!]
}
type DeleteBooking {
success: Boolean!
errors: [GQLErrorUnion!]
}
type DeleteConcessionTypeMutation {
success: Boolean!
errors: [GQLErrorUnion!]
}
type DeleteDiscountMutation {
success: Boolean!
errors: [GQLErrorUnion!]
}
type DeleteDiscountRequirementMutation {
success: Boolean!
errors: [GQLErrorUnion!]
}
type DeletePerformanceMutation {
success: Boolean!
errors: [GQLErrorUnion!]
}
type DeletePerformanceSeatGroupMutation {
success: Boolean!
errors: [GQLErrorUnion!]
}
input DiscountMutationInput {
percentage: Float
performances: [ID]
seatGroup: ID
id: ID
clientMutationId: String
}
type DiscountMutationPayload {
discount: DiscountNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type DiscountNode implements Node {
id: ID!
name: String
percentage: Float!
performances(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, production: ID, venue: ID, doorsOpen: DateTime, start: DateTime, end: DateTime, intervalDurationMins: Int, description: String, extraInformation: String, disabled: Boolean, seatGroups: [ID], capacity: Int, id: ID, hasBoxofficePermissions: Boolean, runOn: Date, orderBy: String): PerformanceNodeConnection!
seatGroup: SeatGroupNode
requirements: [DiscountRequirementNode!]
}
type DiscountNodeConnection {
pageInfo: PageInfo!
edges: [DiscountNodeEdge]!
}
type DiscountNodeEdge {
node: DiscountNode
cursor: String!
}
input DiscountRequirementMutationInput {
number: Int
discount: ID
concessionType: ID
id: ID
clientMutationId: String
}
type DiscountRequirementMutationPayload {
discountRequirement: DiscountRequirementNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type DiscountRequirementNode implements Node {
id: ID!
number: Int!
discount: DiscountNode!
concessionType: ConcessionTypeNode!
}
type ExtendedUserNode {
firstName: String!
lastName: String!
dateJoined: DateTime!
id: String
email: String!
bookings(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, status: String, user: ID, creator: ID, reference: String, performance: ID, adminDiscountPercentage: Float, accessibilityInfo: String, expiresAt: DateTime, id: ID, statusIn: [String], search: String, productionSearch: String, productionSlug: String, performanceId: String, checkedIn: Boolean, active: Boolean, expired: Boolean, orderBy: String): BookingNodeConnection!
createdBookings(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, status: String, user: ID, creator: ID, reference: String, performance: ID, adminDiscountPercentage: Float, accessibilityInfo: String, expiresAt: DateTime, id: ID, statusIn: [String], search: String, productionSearch: String, productionSlug: String, performanceId: String, checkedIn: Boolean, active: Boolean, expired: Boolean, orderBy: String): BookingNodeConnection!
createdSiteMessages(offset: Int, before: String, after: String, first: Int, last: Int, message: String, active: Boolean, indefiniteOverride: Boolean, displayStart: DateTime, eventStart: DateTime, eventEnd: DateTime, creator: ID, type: String, dismissalPolicy: String, id: ID, displayStart_Gte: DateTime, displayStart_Lte: DateTime, start: DateTime, start_Gte: DateTime, start_Lte: DateTime, end: DateTime, end_Gte: DateTime, end_Lte: DateTime, orderBy: String): SiteMessageNodeConnection!
pk: Int
archived: Boolean
verified: Boolean
secondaryEmail: String
permissions: [String]
}
type FieldError {
message: String
field: String
code: String
}
enum FinancialTransferMethod {
INTERNAL
BACS
}
type FinancialTransferNode {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
society: SocietyNode
value: Int!
user: ExtendedUserNode
method: FinancialTransferMethod!
reason: String
}
union GQLErrorUnion = FieldError | NonFieldError
type GenerateReport {
success: Boolean!
errors: [GQLErrorUnion!]
downloadUri: String
report: ReportNode
}
scalar GenericScalar
scalar IdInputField
type ImageNode implements Node {
id: ID!
altText: String
url: String
}
enum MessageDismissalPolicy {
DEFAULT
SINGLE
BANNED
}
enum MessageType {
MAINTENANCE
INFORMATION
ALERT
}
type MetaItemNode {
name: String!
value: String!
}
type MiscCostNode implements Node {
id: ID!
name: String!
description: String
percentage: Float
value: Float
}
type MiscCostNodeConnection {
pageInfo: PageInfo!
edges: [MiscCostNodeEdge]!
}
type MiscCostNodeEdge {
node: MiscCostNode
cursor: String!
}
type Mutation {
siteMessage(input: SiteMessageMutationInput!): SiteMessageMutationPayload
recordFinancialTransfer(method: TransferMethodEnum!, reason: String, societyId: IdInputField!, value: Int!): RecordFinancialTransfer
concessionType(input: ConcessionTypeMutationInput!): ConcessionTypeMutationPayload
deleteConcessionType(id: IdInputField!): DeleteConcessionTypeMutation
discount(input: DiscountMutationInput!): DiscountMutationPayload
deleteDiscount(id: IdInputField!): DeleteDiscountMutation
discountRequirement(input: DiscountRequirementMutationInput!): DiscountRequirementMutationPayload
deleteDiscountRequirement(id: IdInputField!): DeleteDiscountRequirementMutation
register(turnstileToken: String!, email: String!, firstName: String!, lastName: String!, password1: String!, password2: String!): RegisterTurnstile
verifyAccount(token: String!): VerifyAccount
resendActivationEmail(email: String!): ResendActivationEmail
sendPasswordResetEmail(email: String!): SendPasswordResetEmail
passwordReset(token: String!, newPassword1: String!, newPassword2: String!): PasswordReset
passwordSet(token: String!, newPassword1: String!, newPassword2: String!): PasswordSet
passwordChange(oldPassword: String!, newPassword1: String!, newPassword2: String!): PasswordChange
updateAccount(firstName: String, lastName: String): UpdateAccount
archiveAccount(password: String!): ArchiveAccount
deleteAccount(password: String!): DeleteAccount
sendSecondaryEmailActivation(email: String!, password: String!): SendSecondaryEmailActivation
verifySecondaryEmail(token: String!): VerifySecondaryEmail
swapEmails(password: String!): SwapEmails
removeSecondaryEmail(password: String!): RemoveSecondaryEmail
login(password: String!, email: String): ObtainJSONWebToken
verifyToken(token: String!): VerifyToken
refreshToken(refreshToken: String!): RefreshToken
revokeToken(refreshToken: String!): RevokeToken
production(input: ProductionMutationInput!): ProductionMutationPayload
productionPermissions(id: IdInputField!, permissions: [String]!, userEmail: String!): ProductionPermissionsMutation
performance(input: PerformanceMutationInput!): PerformanceMutationPayload
deletePerformance(id: IdInputField!): DeletePerformanceMutation
performanceSeatGroup(input: PerformanceSeatGroupMutationInput!): PerformanceSeatGroupMutationPayload
deletePerformanceSeatGroup(id: IdInputField!): DeletePerformanceSeatGroupMutation
setProductionStatus(message: String, productionId: IdInputField!, status: Status): SetProductionStatus
cancelPayment(paymentId: IdInputField!): CancelPayment
generateReport(endTime: DateTime, name: String!, options: [ReportOption], startTime: DateTime): GenerateReport
booking(input: BookingMutationInput!): BookingMutationPayload
deleteBooking(id: IdInputField!): DeleteBooking
payBooking(deviceId: String, id: IdInputField!, idempotencyKey: String, nonce: String, paymentProvider: PaymentProvider, price: Int!, verifyToken: String): PayBooking
checkInBooking(bookingReference: String!, performance: IdInputField!, tickets: [TicketIDInput]!): CheckInBooking
uncheckInBooking(bookingReference: String!, performance: IdInputField!, tickets: [TicketIDInput]!): UnCheckInBooking
}
interface Node {
id: ID!
}
type NonFieldError {
message: String
code: String
}
type ObtainJSONWebToken {
token: String
success: Boolean!
errors: [GQLErrorUnion!]
user: UserNode
unarchiving: Boolean
refreshToken: String
}
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
}
type PasswordChange {
success: Boolean!
errors: [GQLErrorUnion!]
refreshToken: String
token: String
}
type PasswordReset {
success: Boolean!
errors: [GQLErrorUnion!]
}
type PasswordSet {
success: Boolean!
errors: [GQLErrorUnion!]
}
type PayBooking {
success: Boolean!
errors: [GQLErrorUnion!]
booking: BookingNode
payment: TransactionNode
}
union PayObjectUnion = BookingNode
enum PaymentProvider {
CASH
CARD
SQUARE_POS
SQUARE_ONLINE
}
input PerformanceMutationInput {
venue: ID
doorsOpen: DateTime
start: DateTime
end: DateTime
intervalDurationMins: Int
description: String
disabled: Boolean
capacity: Int
production: ID
id: ID
clientMutationId: String
}
type PerformanceMutationPayload {
performance: PerformanceNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type PerformanceNode implements Node {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
production: ProductionNode!
venue: VenueNode
doorsOpen: DateTime
start: DateTime
end: DateTime
intervalDurationMins: Int
description: String
extraInformation: String
disabled: Boolean!
seatGroups(offset: Int, before: String, after: String, first: Int, last: Int): SeatGroupNodeConnection!
capacity: Int
discounts(offset: Int, before: String, after: String, first: Int, last: Int, group: Boolean, id: ID): DiscountNodeConnection!
bookings(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, status: String, user: ID, creator: ID, reference: String, performance: ID, adminDiscountPercentage: Float, accessibilityInfo: String, expiresAt: DateTime, id: ID, statusIn: [String], search: String, productionSearch: String, productionSlug: String, performanceId: String, checkedIn: Boolean, active: Boolean, expired: Boolean, orderBy: String): BookingNodeConnection!
capacityRemaining: Int
ticketOptions: [PerformanceSeatGroupNode]
minSeatPrice: Int
durationMins: Int
isInperson: Boolean!
isOnline: Boolean!
soldOut: Boolean!
isBookable: Boolean!
ticketsBreakdown: PerformanceTicketsBreakdown!
salesBreakdown: SalesBreakdownNode
}
type PerformanceNodeConnection {
pageInfo: PageInfo!
edges: [PerformanceNodeEdge]!
}
type PerformanceNodeEdge {
node: PerformanceNode
cursor: String!
}
input PerformanceSeatGroupMutationInput {
seatGroup: ID
performance: ID
price: Int
capacity: Int
id: ID
clientMutationId: String
}
type PerformanceSeatGroupMutationPayload {
performanceSeatGroup: PerformanceSeatGroupNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type PerformanceSeatGroupNode implements Node {
seatGroup: SeatGroupNode!
performance: PerformanceNode!
price: Int!
capacity: Int!
id: ID!
capacityRemaining: Int
numberTicketsSold: Int
concessionTypes: [ConcessionTypeBookingType]
}
type PerformanceTicketsBreakdown {
totalCapacity: Int!
totalTicketsSold: Int!
totalTicketsCheckedIn: Int!
totalTicketsToCheckIn: Int!
totalTicketsAvailable: Int!
}
type PermissionNode {
name: String
description: String
userCanAssign: Boolean
}
type PriceBreakdownNode implements Node {
id: ID!
tickets: [PriceBreakdownTicketNode]
ticketsPrice: Int!
discountsValue: Int!
miscCosts: [MiscCostNode]
subtotalPrice: Int!
miscCostsValue: Int!
totalPrice: Int!
ticketsDiscountedPrice: Int!
}
type PriceBreakdownTicketNode {
ticketPrice: Int!
number: Int!
seatGroup: SeatGroupNode
concessionType: ConcessionTypeNode
totalPrice: Int!
}
type ProductionContentWarningNode implements Node {
id: ID!
production: ProductionNode!
warning: ContentWarningNode!
information: String
}
input ProductionMutationInput {
name: String
slug: String
subtitle: String
society: ID
description: String
shortDescription: String
coverImage: ID
posterImage: ID
featuredImage: ID
ageRating: Int
facebookEvent: String
contactEmail: String
productionAlert: String
contentWarnings: [ProductionWarning]
id: ID
clientMutationId: String
}
type ProductionMutationPayload {
production: ProductionNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type ProductionNode implements Node {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
name: String!
subtitle: String
description: String
shortDescription: String
venues: [VenueNode!]
society: SocietyNode
coverImage: ImageNode
posterImage: ImageNode
featuredImage: ImageNode
status: ProductionStatus!
ageRating: Int
facebookEvent: String
contactEmail: String
contentWarnings: [ProductionContentWarningNode!]
productionAlert: String
slug: String!
cast: [CastMemberNode!]
productionTeam: [ProductionTeamMemberNode!]
crew: [CrewMemberNode!]
performances(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, production: ID, venue: ID, doorsOpen: DateTime, start: DateTime, end: DateTime, intervalDurationMins: Int, description: String, extraInformation: String, disabled: Boolean, seatGroups: [ID], capacity: Int, id: ID, hasBoxofficePermissions: Boolean, runOn: Date, orderBy: String): PerformanceNodeConnection!
assignedUsers: [UserPermissionsNode]
assignablePermissions: [PermissionNode]
permissions: [String]
start: DateTime
end: DateTime
isBookable: Boolean!
minSeatPrice: Int
salesBreakdown: SalesBreakdownNode
totalCapacity: Int!
totalTicketsSold: Int!
}
type ProductionNodeConnection {
pageInfo: PageInfo!
edges: [ProductionNodeEdge]!
}
type ProductionNodeEdge {
node: ProductionNode
cursor: String!
}
type ProductionPermissionsMutation {
success: Boolean!
errors: [GQLErrorUnion!]
}
enum ProductionStatus {
DRAFT
PENDING
APPROVED
PUBLISHED
CLOSED
COMPLETE
}
type ProductionTeamMemberNode implements Node {
id: ID!
name: String!
role: String
production: ProductionNode!
}
input ProductionWarning {
information: String
id: IdInputField!
}
type Query {
siteMessages(offset: Int, before: String, after: String, first: Int, last: Int, message: String, active: Boolean, indefiniteOverride: Boolean, displayStart: DateTime, eventStart: DateTime, eventEnd: DateTime, creator: ID, type: String, dismissalPolicy: String, id: ID, displayStart_Gte: DateTime, displayStart_Lte: DateTime, start: DateTime, start_Gte: DateTime, start_Lte: DateTime, end: DateTime, end_Gte: DateTime, end_Lte: DateTime, orderBy: String): SiteMessageNodeConnection
siteMessage(messageId: IdInputField!): SiteMessageNode
images: [ImageNode]
paymentDevices(paymentProvider: PaymentProvider, paired: Boolean): [SquarePaymentDevice]
miscCosts(offset: Int, before: String, after: String, first: Int, last: Int, id: ID, name: String): MiscCostNodeConnection
bookings(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, status: String, user: ID, creator: ID, reference: String, performance: ID, adminDiscountPercentage: Float, accessibilityInfo: String, expiresAt: DateTime, id: ID, statusIn: [String], search: String, productionSearch: String, productionSlug: String, performanceId: String, checkedIn: Boolean, active: Boolean, expired: Boolean, orderBy: String): BookingNodeConnection
me: ExtendedUserNode
societies(offset: Int, before: String, after: String, first: Int, last: Int, id: ID, name: String, slug: String, userHasPermission: String): SocietyNodeConnection
society(slug: String!): SocietyNode
productions(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, name: String, subtitle: String, description: String, shortDescription: String, venues: [ID], society: ID, status: String, ageRating: Int, facebookEvent: String, contactEmail: String, contentWarnings: [ID], productionAlert: String, slug: String, id: ID, userHasPermission: String, start: DateTime, start_Gte: DateTime, start_Lte: DateTime, end: DateTime, end_Gte: DateTime, end_Lte: DateTime, search: String, orderBy: String): ProductionNodeConnection
performances(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, production: ID, venue: ID, doorsOpen: DateTime, start: DateTime, end: DateTime, intervalDurationMins: Int, description: String, extraInformation: String, disabled: Boolean, seatGroups: [ID], capacity: Int, id: ID, hasBoxofficePermissions: Boolean, runOn: Date, orderBy: String): PerformanceNodeConnection
warnings(offset: Int, before: String, after: String, first: Int, last: Int, id: ID): ContentWarningNodeConnection
production(id: IdInputField, slug: String): ProductionNode
performance(id: ID!): PerformanceNode
venues(offset: Int, before: String, after: String, first: Int, last: Int, id: ID, name: String, slug: String): VenueNodeConnection
venue(slug: String!): VenueNode
}
type RecordFinancialTransfer {
success: Boolean!
errors: [GQLErrorUnion!]
transfer: FinancialTransferNode
}
type RefreshToken {
token: String
payload: GenericScalar
success: Boolean!
errors: [GQLErrorUnion!]
refreshToken: String
}
type RegisterTurnstile {
success: Boolean!
errors: [GQLErrorUnion!]
}
type RemoveSecondaryEmail {
success: Boolean!
errors: [GQLErrorUnion!]
}
type ReportNode {
datasets: [DataSetNode]
meta: [MetaItemNode]
}
input ReportOption {
name: String!
value: String!
}
type ResendActivationEmail {
success: Boolean!
errors: [GQLErrorUnion!]
}
type RevokeToken {
revoked: Int
success: Boolean!
errors: [GQLErrorUnion!]
}
type SalesBreakdownNode {
totalPayments: Int!
totalCardPayments: Int!
totalRefunds: Int!
totalCardRefunds: Int!
netTransactions: Int!
netCardTransactions: Int!
providerPaymentValue: Int!
appFee: Int!
appPaymentValue: Int!
societyTransferValue: Int!
societyRevenue: Int!
}
type SeatGroupNode implements Node {
name: String!
description: String
venue: VenueNode!
capacity: Int
isInternal: Boolean!
id: ID!
}
type SeatGroupNodeConnection {
pageInfo: PageInfo!
edges: [SeatGroupNodeEdge]!
}
type SeatGroupNodeEdge {
node: SeatGroupNode
cursor: String!
}
type SeatNode implements Node {
row: String
number: String
id: ID!
}
type SendPasswordResetEmail {
success: Boolean!
errors: [GQLErrorUnion!]
}
type SendSecondaryEmailActivation {
success: Boolean!
errors: [GQLErrorUnion!]
}
type SetProductionStatus {
success: Boolean!
errors: [GQLErrorUnion!]
}
input SiteMessageMutationInput {
message: String
active: Boolean
indefiniteOverride: Boolean
displayStart: DateTime
eventStart: DateTime
eventEnd: DateTime
type: String
dismissalPolicy: String
id: ID
clientMutationId: String
}
type SiteMessageMutationPayload {
message: SiteMessageNode
errors: [GQLErrorUnion!]
success: Boolean!
clientMutationId: String
}
type SiteMessageNode implements Node {
id: ID!
message: String!
active: Boolean!
indefiniteOverride: Boolean!
displayStart: DateTime
eventStart: DateTime!
eventEnd: DateTime!
creator: ExtendedUserNode
type: MessageType!
dismissalPolicy: MessageDismissalPolicy!
eventDuration: Int
toDisplay: Boolean
}
type SiteMessageNodeConnection {
pageInfo: PageInfo!
edges: [SiteMessageNodeEdge]!
}
type SiteMessageNodeEdge {
node: SiteMessageNode
cursor: String!
}
type SocietyNode implements Node {
createdAt: DateTime!
updatedAt: DateTime!
name: String!
slug: String!
description: String!
logo: ImageNode!
banner: ImageNode!
website: String
contact: String
members: [ExtendedUserNode!]!
suStatus: Boolean!
productions(offset: Int, before: String, after: String, first: Int, last: Int, createdAt: DateTime, updatedAt: DateTime, name: String, subtitle: String, description: String, shortDescription: String, venues: [ID], society: ID, status: String, ageRating: Int, facebookEvent: String, contactEmail: String, contentWarnings: [ID], productionAlert: String, slug: String, id: ID, userHasPermission: String, start: DateTime, start_Gte: DateTime, start_Lte: DateTime, end: DateTime, end_Gte: DateTime, end_Lte: DateTime, search: String, orderBy: String): ProductionNodeConnection!
id: ID!
permissions: [String]
}
type SocietyNodeConnection {
pageInfo: PageInfo!
edges: [SocietyNodeEdge]!
}
type SocietyNodeEdge {
node: SocietyNode
cursor: String!
}
type SquarePaymentDevice {
id: String
name: String
code: String
deviceId: String
locationId: String
productType: String
status: String
}
enum Status {
DRAFT
PENDING
APPROVED
PUBLISHED
CLOSED
COMPLETE
}
type SwapEmails {
success: Boolean!
errors: [GQLErrorUnion!]
}
input TicketIDInput {
ticketId: IdInputField!
}
input TicketInputType {
seatGroupId: IdInputField!
concessionTypeId: IdInputField!
seatId: IdInputField
id: IdInputField
}
type TicketNode implements Node {
id: ID!
seatGroup: SeatGroupNode!
booking: BookingNode!
concessionType: ConcessionTypeNode!
seat: SeatNode
checkedInAt: DateTime
checkedInBy: ExtendedUserNode
checkedIn: Boolean
}
type TicketNodeConnection {
pageInfo: PageInfo!
edges: [TicketNodeEdge]!
}
type TicketNodeEdge {
node: TicketNode
cursor: String!
}
type TransactionNode implements Node {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
type: TransactionType!
status: TransactionStatus!
providerTransactionId: String
providerName: TransactionProviderName!
value: Int!
currency: String!
cardBrand: String
last4: String
providerFee: Int
appFee: Int
url: String
payObject: PayObjectUnion
}
type TransactionNodeConnection {
pageInfo: PageInfo!
edges: [TransactionNodeEdge]!
}
type TransactionNodeEdge {
node: TransactionNode
cursor: String!
}
enum TransactionProviderName {
CASH
CARD
SQUARE_POS
SQUARE_ONLINE
MANUAL_CARD_REFUND
SQUARE_REFUND
}
enum TransactionStatus {
PENDING
COMPLETED
FAILED
}
enum TransactionType {
PAYMENT
REFUND
}
enum TransferMethodEnum {
INTERNAL
BACS
}
type UnCheckInBooking {
success: Boolean!
errors: [GQLErrorUnion!]
performance: PerformanceNode
booking: BookingNode
}
type UpdateAccount {
success: Boolean!
errors: [GQLErrorUnion!]
}