@debugged-development/ticketapp-sdk 1.0.8 → 1.0.10-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +620 -339
- package/dist/index.js +1949 -1995
- package/dist/sdk.d.ts +9 -14
- package/dist/sdk.d.ts.map +1 -1
- package/dist/services/basket/basket.service.d.ts +39 -0
- package/dist/services/basket/basket.service.d.ts.map +1 -0
- package/dist/services/basket/basket.service.generated.d.ts +202 -0
- package/dist/services/basket/basket.service.generated.d.ts.map +1 -0
- package/dist/services/category/category.service.d.ts +15 -0
- package/dist/services/category/category.service.d.ts.map +1 -0
- package/dist/services/category/category.service.generated.d.ts +41 -0
- package/dist/services/category/category.service.generated.d.ts.map +1 -0
- package/dist/services/event/event.service.d.ts +31 -0
- package/dist/services/event/event.service.d.ts.map +1 -0
- package/dist/services/event/event.service.generated.d.ts +122 -0
- package/dist/services/event/event.service.generated.d.ts.map +1 -0
- package/dist/services/package/package.service.d.ts +29 -0
- package/dist/services/package/package.service.d.ts.map +1 -0
- package/dist/services/package/package.service.generated.d.ts +122 -0
- package/dist/services/package/package.service.generated.d.ts.map +1 -0
- package/dist/services/payment/payment.service.d.ts +14 -0
- package/dist/services/payment/payment.service.d.ts.map +1 -0
- package/dist/services/payment/payment.service.generated.d.ts +53 -0
- package/dist/services/payment/payment.service.generated.d.ts.map +1 -0
- package/dist/store/store.d.ts +3132 -11
- package/dist/store/store.d.ts.map +1 -1
- package/dist/types/index.d.ts +105 -27
- package/dist/types/index.d.ts.map +1 -1
- package/dist/{graphql/generated.d.ts → types/types.generated.d.ts} +263 -903
- package/dist/types/types.generated.d.ts.map +1 -0
- package/package.json +14 -12
- package/dist/graphql/generated.d.ts.map +0 -1
- package/dist/services/basketService.d.ts +0 -39
- package/dist/services/basketService.d.ts.map +0 -1
- package/dist/services/eventService.d.ts +0 -37
- package/dist/services/eventService.d.ts.map +0 -1
- package/dist/services/packageService.d.ts +0 -65
- package/dist/services/packageService.d.ts.map +0 -1
- package/dist/services/paymentService.d.ts +0 -18
- package/dist/services/paymentService.d.ts.map +0 -1
- package/dist/store/basketSlice.d.ts +0 -55
- package/dist/store/basketSlice.d.ts.map +0 -1
- package/dist/store/eventSlice.d.ts +0 -75
- package/dist/store/eventSlice.d.ts.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GraphQLClient, RequestOptions } from 'graphql-request';
|
|
2
1
|
export type Maybe<T> = T | null;
|
|
3
2
|
export type InputMaybe<T> = Maybe<T>;
|
|
4
3
|
export type Exact<T extends {
|
|
@@ -20,7 +19,6 @@ export type MakeEmpty<T extends {
|
|
|
20
19
|
export type Incremental<T> = T | {
|
|
21
20
|
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
22
21
|
};
|
|
23
|
-
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
24
22
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
23
|
export type Scalars = {
|
|
26
24
|
ID: {
|
|
@@ -44,12 +42,12 @@ export type Scalars = {
|
|
|
44
42
|
output: number;
|
|
45
43
|
};
|
|
46
44
|
Upload: {
|
|
47
|
-
input:
|
|
48
|
-
output:
|
|
45
|
+
input: File;
|
|
46
|
+
output: File;
|
|
49
47
|
};
|
|
50
48
|
luxon: {
|
|
51
|
-
input:
|
|
52
|
-
output:
|
|
49
|
+
input: string;
|
|
50
|
+
output: string;
|
|
53
51
|
};
|
|
54
52
|
};
|
|
55
53
|
export type AcceptInviteInput = {
|
|
@@ -63,12 +61,18 @@ export type AddCustomerToOrderInput = {
|
|
|
63
61
|
customer: CreateCustomerInput;
|
|
64
62
|
departureDate?: InputMaybe<Scalars['luxon']['input']>;
|
|
65
63
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
64
|
+
sessionId?: InputMaybe<Scalars['ID']['input']>;
|
|
65
|
+
};
|
|
66
|
+
export type AddDiscountToOrderInput = {
|
|
67
|
+
discountCode?: InputMaybe<Scalars['String']['input']>;
|
|
68
|
+
id: Scalars['ID']['input'];
|
|
66
69
|
};
|
|
67
70
|
export type AddToOrderInput = {
|
|
68
71
|
additionalData?: InputMaybe<AdditionalDataInput>;
|
|
69
72
|
amount?: InputMaybe<Scalars['Int']['input']>;
|
|
70
73
|
orderId?: InputMaybe<Scalars['ID']['input']>;
|
|
71
74
|
productId: Scalars['ID']['input'];
|
|
75
|
+
sessionId?: InputMaybe<Scalars['ID']['input']>;
|
|
72
76
|
trackerId?: InputMaybe<Scalars['String']['input']>;
|
|
73
77
|
};
|
|
74
78
|
export type AdditionalDataInput = {
|
|
@@ -222,16 +226,6 @@ export declare enum CommissionType {
|
|
|
222
226
|
Sale = "SALE",
|
|
223
227
|
Scan = "SCAN"
|
|
224
228
|
}
|
|
225
|
-
export type ConfigurationSnapshot = {
|
|
226
|
-
__typename?: 'ConfigurationSnapshot';
|
|
227
|
-
cronExpression: Scalars['String']['output'];
|
|
228
|
-
deliverySettings: DeliverySettingsType;
|
|
229
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
230
|
-
filters?: Maybe<ReportFiltersType>;
|
|
231
|
-
format: ReportFormat;
|
|
232
|
-
name: Scalars['String']['output'];
|
|
233
|
-
reportWindowMinutes: Scalars['Int']['output'];
|
|
234
|
-
};
|
|
235
229
|
export type ConfigureDeliveryOptionInput = {
|
|
236
230
|
orderId: Scalars['ID']['input'];
|
|
237
231
|
productId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -260,6 +254,11 @@ export type CopyEventInput = {
|
|
|
260
254
|
startSalesAt?: InputMaybe<Scalars['luxon']['input']>;
|
|
261
255
|
status?: InputMaybe<EventStatus>;
|
|
262
256
|
};
|
|
257
|
+
export type CountedDiscount = {
|
|
258
|
+
__typename?: 'CountedDiscount';
|
|
259
|
+
active: Scalars['Int']['output'];
|
|
260
|
+
inactive: Scalars['Int']['output'];
|
|
261
|
+
};
|
|
263
262
|
export type CountryStatistics = {
|
|
264
263
|
__typename?: 'CountryStatistics';
|
|
265
264
|
country: Scalars['String']['output'];
|
|
@@ -320,18 +319,23 @@ export type CreateCustomerInput = {
|
|
|
320
319
|
};
|
|
321
320
|
export type CreateDigitalOrderPaymentInput = {
|
|
322
321
|
amountOfTickets?: InputMaybe<Scalars['Float']['input']>;
|
|
323
|
-
customer?: InputMaybe<PaymentCustomerInput>;
|
|
324
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
325
322
|
initiatedByTeamId?: InputMaybe<Scalars['ID']['input']>;
|
|
326
323
|
initiatedByUserId?: InputMaybe<Scalars['ID']['input']>;
|
|
327
|
-
ipAddress?: InputMaybe<Scalars['String']['input']>;
|
|
328
324
|
issuerId?: InputMaybe<Scalars['String']['input']>;
|
|
329
325
|
orderId: Scalars['ID']['input'];
|
|
330
326
|
orderItemId?: InputMaybe<Scalars['String']['input']>;
|
|
331
327
|
paymentMethodId: Scalars['String']['input'];
|
|
332
|
-
products?: InputMaybe<Array<PaymentProductInput>>;
|
|
333
328
|
redirectUrl?: InputMaybe<Scalars['String']['input']>;
|
|
334
|
-
|
|
329
|
+
};
|
|
330
|
+
export type CreateDiscountInput = {
|
|
331
|
+
amount: Scalars['Float']['input'];
|
|
332
|
+
calculateOnItemsOnly: Scalars['Boolean']['input'];
|
|
333
|
+
code: Scalars['String']['input'];
|
|
334
|
+
maxAmount?: InputMaybe<Scalars['Float']['input']>;
|
|
335
|
+
type: DiscountType;
|
|
336
|
+
usageLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
337
|
+
validFrom?: InputMaybe<Scalars['luxon']['input']>;
|
|
338
|
+
validUntil?: InputMaybe<Scalars['luxon']['input']>;
|
|
335
339
|
};
|
|
336
340
|
export type CreateEventInput = {
|
|
337
341
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -378,7 +382,7 @@ export type CreateNoteInput = {
|
|
|
378
382
|
orderId: Scalars['String']['input'];
|
|
379
383
|
};
|
|
380
384
|
export type CreateOrderInput = {
|
|
381
|
-
customer
|
|
385
|
+
customer?: InputMaybe<CreateCustomerInput>;
|
|
382
386
|
destinationArrivalDate?: InputMaybe<Scalars['luxon']['input']>;
|
|
383
387
|
emailDescriptionConfirmation?: InputMaybe<Scalars['String']['input']>;
|
|
384
388
|
emailDescriptionInvitation?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -389,7 +393,9 @@ export type CreateOrderInput = {
|
|
|
389
393
|
};
|
|
390
394
|
export type CreateOrderItemInput = {
|
|
391
395
|
amount: Scalars['Int']['input'];
|
|
396
|
+
price?: InputMaybe<Scalars['Float']['input']>;
|
|
392
397
|
productId: Scalars['ID']['input'];
|
|
398
|
+
seats?: InputMaybe<Array<SeatDataInput>>;
|
|
393
399
|
};
|
|
394
400
|
export type CreateOrdersInput = {
|
|
395
401
|
orders: Array<CreateOrderInput>;
|
|
@@ -431,6 +437,7 @@ export type CreateProductInput = {
|
|
|
431
437
|
discountPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
432
438
|
emailDescriptionConfirmation?: InputMaybe<Scalars['String']['input']>;
|
|
433
439
|
emailDescriptionInvitation?: InputMaybe<Scalars['String']['input']>;
|
|
440
|
+
enableQrCode?: Scalars['Boolean']['input'];
|
|
434
441
|
endSalesAt?: InputMaybe<Scalars['luxon']['input']>;
|
|
435
442
|
endValidityAt?: InputMaybe<Scalars['luxon']['input']>;
|
|
436
443
|
eventId: Scalars['String']['input'];
|
|
@@ -459,15 +466,6 @@ export type CreatePromoterExportInput = {
|
|
|
459
466
|
status?: InputMaybe<UserStatus>;
|
|
460
467
|
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
461
468
|
};
|
|
462
|
-
export type CreateReportConfigurationInput = {
|
|
463
|
-
cronExpression: Scalars['String']['input'];
|
|
464
|
-
deliverySettings: DeliverySettingsInput;
|
|
465
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
466
|
-
filters?: InputMaybe<ReportFiltersInput>;
|
|
467
|
-
format: ReportFormat;
|
|
468
|
-
name: Scalars['String']['input'];
|
|
469
|
-
reportWindowMinutes: Scalars['Int']['input'];
|
|
470
|
-
};
|
|
471
469
|
export type CreateShopInput = {
|
|
472
470
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
473
471
|
enableDoorTickets?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -496,10 +494,6 @@ export type CreateShopTemplateInput = {
|
|
|
496
494
|
useDarkTheme?: InputMaybe<Scalars['Boolean']['input']>;
|
|
497
495
|
variation?: ShopVariationType;
|
|
498
496
|
};
|
|
499
|
-
export type CreateTapToPayPaymentInput = {
|
|
500
|
-
orderId: Scalars['ID']['input'];
|
|
501
|
-
terminalId: Scalars['String']['input'];
|
|
502
|
-
};
|
|
503
497
|
export type CreateTeamInput = {
|
|
504
498
|
commissionTemplateId?: InputMaybe<Scalars['String']['input']>;
|
|
505
499
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -508,9 +502,6 @@ export type CreateTeamInput = {
|
|
|
508
502
|
name: Scalars['String']['input'];
|
|
509
503
|
type: TeamType;
|
|
510
504
|
};
|
|
511
|
-
export type CreateTerminalOrderPaymentInput = {
|
|
512
|
-
orderId?: InputMaybe<Scalars['ID']['input']>;
|
|
513
|
-
};
|
|
514
505
|
export type CreateTicketLimitInput = {
|
|
515
506
|
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
516
507
|
appliedForId: Scalars['ID']['input'];
|
|
@@ -733,17 +724,6 @@ export type DateRangeInput = {
|
|
|
733
724
|
from: Scalars['luxon']['input'];
|
|
734
725
|
till: Scalars['luxon']['input'];
|
|
735
726
|
};
|
|
736
|
-
export type DeliverySettingsInput = {
|
|
737
|
-
emailAddresses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
738
|
-
method: ReportDeliveryMethod;
|
|
739
|
-
phoneNumbers?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
740
|
-
};
|
|
741
|
-
export type DeliverySettingsType = {
|
|
742
|
-
__typename?: 'DeliverySettingsType';
|
|
743
|
-
emailAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
744
|
-
method: ReportDeliveryMethod;
|
|
745
|
-
phoneNumbers?: Maybe<Array<Scalars['String']['output']>>;
|
|
746
|
-
};
|
|
747
727
|
export type DeprecatedBookerStatistics = {
|
|
748
728
|
__typename?: 'DeprecatedBookerStatistics';
|
|
749
729
|
gender: Array<DeprecatedGenderStatistics>;
|
|
@@ -798,6 +778,7 @@ export type DetailedStatistic = {
|
|
|
798
778
|
commission: Scalars['Float']['output'];
|
|
799
779
|
commissionLeftToPay: Scalars['Float']['output'];
|
|
800
780
|
countries?: Maybe<Array<CountryStatistics>>;
|
|
781
|
+
discount: Scalars['Float']['output'];
|
|
801
782
|
genderSales?: Maybe<GenderStatistic>;
|
|
802
783
|
lastOrderTimestamp?: Maybe<Scalars['luxon']['output']>;
|
|
803
784
|
packages: Scalars['Int']['output'];
|
|
@@ -816,6 +797,31 @@ export type DetailedStatistic = {
|
|
|
816
797
|
topCountry?: Maybe<CountryStatistics>;
|
|
817
798
|
views?: Maybe<ViewStatistic>;
|
|
818
799
|
};
|
|
800
|
+
export type Discount = {
|
|
801
|
+
__typename?: 'Discount';
|
|
802
|
+
amount: Scalars['Float']['output'];
|
|
803
|
+
calculateOnItemsOnly: Scalars['Boolean']['output'];
|
|
804
|
+
code: Scalars['String']['output'];
|
|
805
|
+
id: Scalars['ID']['output'];
|
|
806
|
+
maxAmount?: Maybe<Scalars['Float']['output']>;
|
|
807
|
+
statistic?: Maybe<EntityStatistic>;
|
|
808
|
+
status: DiscountStatus;
|
|
809
|
+
type: DiscountType;
|
|
810
|
+
usageCount: Scalars['Int']['output'];
|
|
811
|
+
usageLimit?: Maybe<Scalars['Int']['output']>;
|
|
812
|
+
validFrom?: Maybe<Scalars['luxon']['output']>;
|
|
813
|
+
validUntil?: Maybe<Scalars['luxon']['output']>;
|
|
814
|
+
};
|
|
815
|
+
/** Status of discount */
|
|
816
|
+
export declare enum DiscountStatus {
|
|
817
|
+
Active = "ACTIVE",
|
|
818
|
+
Inactive = "INACTIVE"
|
|
819
|
+
}
|
|
820
|
+
/** Type of discount */
|
|
821
|
+
export declare enum DiscountType {
|
|
822
|
+
Fixed = "FIXED",
|
|
823
|
+
Percentage = "PERCENTAGE"
|
|
824
|
+
}
|
|
819
825
|
export type EmailRule = {
|
|
820
826
|
__typename?: 'EmailRule';
|
|
821
827
|
description?: Maybe<Scalars['String']['output']>;
|
|
@@ -858,6 +864,7 @@ export type EntityStatistic = {
|
|
|
858
864
|
collected?: Maybe<Scalars['Int']['output']>;
|
|
859
865
|
commission: Scalars['Float']['output'];
|
|
860
866
|
commissionLeftToPay: Scalars['Float']['output'];
|
|
867
|
+
discount: Scalars['Float']['output'];
|
|
861
868
|
guests: GuestStatistic;
|
|
862
869
|
lastOrderTimestamp?: Maybe<Scalars['luxon']['output']>;
|
|
863
870
|
packages: Scalars['Int']['output'];
|
|
@@ -901,11 +908,11 @@ export type Event = {
|
|
|
901
908
|
seatsIoChartId?: Maybe<Scalars['String']['output']>;
|
|
902
909
|
seatsIoEventId?: Maybe<Scalars['String']['output']>;
|
|
903
910
|
showEndSalesAtTag: Scalars['Boolean']['output'];
|
|
911
|
+
showEventDuration: Scalars['Boolean']['output'];
|
|
904
912
|
slug?: Maybe<Scalars['String']['output']>;
|
|
905
913
|
spotifyId?: Maybe<Scalars['String']['output']>;
|
|
906
914
|
startAt: Scalars['luxon']['output'];
|
|
907
915
|
startSalesAt?: Maybe<Scalars['luxon']['output']>;
|
|
908
|
-
startingPrice?: Maybe<Scalars['Float']['output']>;
|
|
909
916
|
statistic?: Maybe<EntityStatistic>;
|
|
910
917
|
status: EventStatus;
|
|
911
918
|
storyBanner?: Maybe<Scalars['String']['output']>;
|
|
@@ -931,10 +938,6 @@ export declare enum EventStatus {
|
|
|
931
938
|
Paused = "PAUSED",
|
|
932
939
|
SoldOut = "SOLD_OUT"
|
|
933
940
|
}
|
|
934
|
-
export type ExecuteReportInput = {
|
|
935
|
-
configurationId: Scalars['ID']['input'];
|
|
936
|
-
dateRange: DateRangeInput;
|
|
937
|
-
};
|
|
938
941
|
export type Export = {
|
|
939
942
|
__typename?: 'Export';
|
|
940
943
|
createdAt: Scalars['luxon']['output'];
|
|
@@ -972,8 +975,14 @@ export type FinalizeCashOrderInput = {
|
|
|
972
975
|
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
973
976
|
paidInAdvance?: Scalars['Boolean']['input'];
|
|
974
977
|
saleLocation?: InputMaybe<OrderSaleLocation>;
|
|
978
|
+
salesType?: InputMaybe<SalesType>;
|
|
975
979
|
sessionId: Scalars['ID']['input'];
|
|
976
980
|
};
|
|
981
|
+
export type Floor = {
|
|
982
|
+
__typename?: 'Floor';
|
|
983
|
+
displayName?: Maybe<Scalars['String']['output']>;
|
|
984
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
985
|
+
};
|
|
977
986
|
export type GenderStatistic = {
|
|
978
987
|
__typename?: 'GenderStatistic';
|
|
979
988
|
female: Scalars['Int']['output'];
|
|
@@ -996,7 +1005,9 @@ export declare enum GlobalRoleType {
|
|
|
996
1005
|
export type GroupTicket = {
|
|
997
1006
|
__typename?: 'GroupTicket';
|
|
998
1007
|
id: Scalars['ID']['output'];
|
|
1008
|
+
isMainGroupTicket: Scalars['Boolean']['output'];
|
|
999
1009
|
scanCode: Scalars['String']['output'];
|
|
1010
|
+
tickets: Array<Ticket>;
|
|
1000
1011
|
};
|
|
1001
1012
|
export type Guest = {
|
|
1002
1013
|
__typename?: 'Guest';
|
|
@@ -1046,6 +1057,12 @@ export type HostingAmountOfActiveEventsArgs = {
|
|
|
1046
1057
|
export type HostingAmountOfPastEventsArgs = {
|
|
1047
1058
|
input?: InputMaybe<DateRangeInput>;
|
|
1048
1059
|
};
|
|
1060
|
+
export type IDs = {
|
|
1061
|
+
__typename?: 'IDs';
|
|
1062
|
+
own?: Maybe<Scalars['String']['output']>;
|
|
1063
|
+
parent?: Maybe<Scalars['String']['output']>;
|
|
1064
|
+
section?: Maybe<Scalars['String']['output']>;
|
|
1065
|
+
};
|
|
1049
1066
|
export type IntervalOptions = {
|
|
1050
1067
|
duration?: InputMaybe<Scalars['Float']['input']>;
|
|
1051
1068
|
interval: IntervalType;
|
|
@@ -1073,6 +1090,17 @@ export type KeyValuePairInput = {
|
|
|
1073
1090
|
key: Scalars['String']['input'];
|
|
1074
1091
|
value: Scalars['String']['input'];
|
|
1075
1092
|
};
|
|
1093
|
+
export type LabelAndType = {
|
|
1094
|
+
__typename?: 'LabelAndType';
|
|
1095
|
+
label?: Maybe<Scalars['String']['output']>;
|
|
1096
|
+
type?: Maybe<Scalars['String']['output']>;
|
|
1097
|
+
};
|
|
1098
|
+
export type Labels = {
|
|
1099
|
+
__typename?: 'Labels';
|
|
1100
|
+
own: LabelAndType;
|
|
1101
|
+
parent?: Maybe<LabelAndType>;
|
|
1102
|
+
section?: Maybe<Scalars['String']['output']>;
|
|
1103
|
+
};
|
|
1076
1104
|
export type Location = {
|
|
1077
1105
|
__typename?: 'Location';
|
|
1078
1106
|
address: Scalars['String']['output'];
|
|
@@ -1106,9 +1134,11 @@ export declare enum ModuleScope {
|
|
|
1106
1134
|
Collector = "COLLECTOR",
|
|
1107
1135
|
Commission = "COMMISSION",
|
|
1108
1136
|
CountryStatistics = "COUNTRY_STATISTICS",
|
|
1137
|
+
CreateOrder = "CREATE_ORDER",
|
|
1109
1138
|
CustomField = "CUSTOM_FIELD",
|
|
1110
1139
|
DepositPrice = "DEPOSIT_PRICE",
|
|
1111
1140
|
DetailStatistics = "DETAIL_STATISTICS",
|
|
1141
|
+
Discount = "DISCOUNT",
|
|
1112
1142
|
DiscountPrice = "DISCOUNT_PRICE",
|
|
1113
1143
|
DoorSale = "DOOR_SALE",
|
|
1114
1144
|
DynamicEvents = "DYNAMIC_EVENTS",
|
|
@@ -1132,11 +1162,9 @@ export declare enum ModuleScope {
|
|
|
1132
1162
|
ProductAdditionalInfo = "PRODUCT_ADDITIONAL_INFO",
|
|
1133
1163
|
ProductPurchasePrice = "PRODUCT_PURCHASE_PRICE",
|
|
1134
1164
|
Promoter = "PROMOTER",
|
|
1135
|
-
Reporting = "REPORTING",
|
|
1136
1165
|
Role = "ROLE",
|
|
1137
1166
|
Shop = "SHOP",
|
|
1138
1167
|
SingleTickets = "SINGLE_TICKETS",
|
|
1139
|
-
TapToPay = "TAP_TO_PAY",
|
|
1140
1168
|
Team = "TEAM",
|
|
1141
1169
|
TicketLimit = "TICKET_LIMIT",
|
|
1142
1170
|
TicketSeller = "TICKET_SELLER",
|
|
@@ -1148,7 +1176,6 @@ export type Mutation = {
|
|
|
1148
1176
|
acceptInvite: Scalars['String']['output'];
|
|
1149
1177
|
activateEvent: Event;
|
|
1150
1178
|
activatePackage: Package;
|
|
1151
|
-
activateReportConfiguration: Scalars['Boolean']['output'];
|
|
1152
1179
|
/** @deprecated Removed in future version */
|
|
1153
1180
|
addCustomerToOrder: Scalars['Boolean']['output'];
|
|
1154
1181
|
/** @deprecated Removed in future version */
|
|
@@ -1171,6 +1198,7 @@ export type Mutation = {
|
|
|
1171
1198
|
createCommissionTemplate: CommissionTemplate;
|
|
1172
1199
|
createCustomField: CustomField;
|
|
1173
1200
|
createDigitalOrderPayment: Scalars['String']['output'];
|
|
1201
|
+
createDiscount: Discount;
|
|
1174
1202
|
createEvent: Event;
|
|
1175
1203
|
createEventView: Scalars['Boolean']['output'];
|
|
1176
1204
|
createExport: Export;
|
|
@@ -1178,6 +1206,7 @@ export type Mutation = {
|
|
|
1178
1206
|
createLocation: Location;
|
|
1179
1207
|
createNote: OrderNote;
|
|
1180
1208
|
createOrderCustomer: Scalars['Boolean']['output'];
|
|
1209
|
+
createOrderDiscount?: Maybe<OrderDiscount>;
|
|
1181
1210
|
createOrders: Scalars['Boolean']['output'];
|
|
1182
1211
|
createOrganization: Organization;
|
|
1183
1212
|
createPackage: Package;
|
|
@@ -1186,33 +1215,25 @@ export type Mutation = {
|
|
|
1186
1215
|
createPaymentEmail: Scalars['Boolean']['output'];
|
|
1187
1216
|
createProduct: Product;
|
|
1188
1217
|
createPromoterExport: Scalars['String']['output'];
|
|
1189
|
-
createReportConfiguration: ReportConfiguration;
|
|
1190
1218
|
createRole: Role;
|
|
1191
1219
|
createShop: Shop;
|
|
1192
1220
|
createShopTemplate: ShopTemplate;
|
|
1193
1221
|
createShopView: Scalars['Boolean']['output'];
|
|
1194
|
-
createTapToPayPayment: Scalars['String']['output'];
|
|
1195
1222
|
createTeam: Team;
|
|
1196
|
-
createTerminal: TerminalActivation;
|
|
1197
|
-
createTerminalPayment: Scalars['String']['output'];
|
|
1198
1223
|
createTicketEmail: Scalars['Boolean']['output'];
|
|
1199
1224
|
createTicketLimit: TicketLimit;
|
|
1200
1225
|
createToken: Token;
|
|
1201
1226
|
createTracker: Tracker;
|
|
1202
1227
|
createUser: Scalars['Boolean']['output'];
|
|
1203
1228
|
createUserBulk: Scalars['Boolean']['output'];
|
|
1204
|
-
deactivateReportConfiguration: Scalars['Boolean']['output'];
|
|
1205
1229
|
deleteCommissionTemplate: Scalars['Boolean']['output'];
|
|
1206
1230
|
/** @deprecated Remove in future version */
|
|
1207
1231
|
deleteOrder: Scalars['Boolean']['output'];
|
|
1208
|
-
deleteReportConfiguration: Scalars['Boolean']['output'];
|
|
1209
1232
|
deleteRole: Scalars['Boolean']['output'];
|
|
1210
|
-
deleteTerminal: Scalars['Boolean']['output'];
|
|
1211
1233
|
deleteTicketLimit: Scalars['Boolean']['output'];
|
|
1212
1234
|
deleteToken: Scalars['Boolean']['output'];
|
|
1213
1235
|
disableUser: Scalars['Boolean']['output'];
|
|
1214
1236
|
enableUser: Scalars['Boolean']['output'];
|
|
1215
|
-
executeReport: ReportExecution;
|
|
1216
1237
|
/** @deprecated Removed in future version */
|
|
1217
1238
|
finalizeCashOrder: Scalars['Boolean']['output'];
|
|
1218
1239
|
publishChart: Event;
|
|
@@ -1220,6 +1241,7 @@ export type Mutation = {
|
|
|
1220
1241
|
releaseProduct?: Maybe<OrderItemReleaseOutput>;
|
|
1221
1242
|
removeCategory: Scalars['Boolean']['output'];
|
|
1222
1243
|
removeCustomField: Scalars['Boolean']['output'];
|
|
1244
|
+
removeDiscount: Scalars['Boolean']['output'];
|
|
1223
1245
|
removeEvent: Scalars['Boolean']['output'];
|
|
1224
1246
|
/** @deprecated Removed in future version */
|
|
1225
1247
|
removeFromOrder?: Maybe<Order>;
|
|
@@ -1253,6 +1275,7 @@ export type Mutation = {
|
|
|
1253
1275
|
updateCustomField: CustomField;
|
|
1254
1276
|
updateCustomFieldOrder: Scalars['Boolean']['output'];
|
|
1255
1277
|
updateCustomer: Scalars['Boolean']['output'];
|
|
1278
|
+
updateDiscount: Discount;
|
|
1256
1279
|
updateEvent: Event;
|
|
1257
1280
|
updateEventContent: Event;
|
|
1258
1281
|
updateHosting: Hosting;
|
|
@@ -1268,12 +1291,10 @@ export type Mutation = {
|
|
|
1268
1291
|
updatePackageItemOrder: Scalars['Boolean']['output'];
|
|
1269
1292
|
updateProduct: Product;
|
|
1270
1293
|
updateProductOrder: Scalars['Boolean']['output'];
|
|
1271
|
-
updateReportConfiguration: ReportConfiguration;
|
|
1272
1294
|
updateRole: Role;
|
|
1273
1295
|
updateShop: Shop;
|
|
1274
1296
|
updateShopTemplate: ShopTemplate;
|
|
1275
1297
|
updateTeam: Team;
|
|
1276
|
-
updateTerminalStatus: Scalars['Boolean']['output'];
|
|
1277
1298
|
updateTicketLimit: TicketLimit;
|
|
1278
1299
|
updateTracker: Tracker;
|
|
1279
1300
|
updateUser: User;
|
|
@@ -1288,9 +1309,6 @@ export type MutationActivateEventArgs = {
|
|
|
1288
1309
|
export type MutationActivatePackageArgs = {
|
|
1289
1310
|
id: Scalars['ID']['input'];
|
|
1290
1311
|
};
|
|
1291
|
-
export type MutationActivateReportConfigurationArgs = {
|
|
1292
|
-
id: Scalars['ID']['input'];
|
|
1293
|
-
};
|
|
1294
1312
|
export type MutationAddCustomerToOrderArgs = {
|
|
1295
1313
|
input: AddCustomerToOrderInput;
|
|
1296
1314
|
};
|
|
@@ -1351,6 +1369,9 @@ export type MutationCreateCustomFieldArgs = {
|
|
|
1351
1369
|
export type MutationCreateDigitalOrderPaymentArgs = {
|
|
1352
1370
|
input: CreateDigitalOrderPaymentInput;
|
|
1353
1371
|
};
|
|
1372
|
+
export type MutationCreateDiscountArgs = {
|
|
1373
|
+
input: CreateDiscountInput;
|
|
1374
|
+
};
|
|
1354
1375
|
export type MutationCreateEventArgs = {
|
|
1355
1376
|
input: CreateEventInput;
|
|
1356
1377
|
};
|
|
@@ -1374,6 +1395,9 @@ export type MutationCreateNoteArgs = {
|
|
|
1374
1395
|
export type MutationCreateOrderCustomerArgs = {
|
|
1375
1396
|
input: AddCustomerToOrderInput;
|
|
1376
1397
|
};
|
|
1398
|
+
export type MutationCreateOrderDiscountArgs = {
|
|
1399
|
+
input: AddDiscountToOrderInput;
|
|
1400
|
+
};
|
|
1377
1401
|
export type MutationCreateOrdersArgs = {
|
|
1378
1402
|
input: CreateOrdersInput;
|
|
1379
1403
|
};
|
|
@@ -1401,9 +1425,6 @@ export type MutationCreateProductArgs = {
|
|
|
1401
1425
|
export type MutationCreatePromoterExportArgs = {
|
|
1402
1426
|
input: CreatePromoterExportInput;
|
|
1403
1427
|
};
|
|
1404
|
-
export type MutationCreateReportConfigurationArgs = {
|
|
1405
|
-
input: CreateReportConfigurationInput;
|
|
1406
|
-
};
|
|
1407
1428
|
export type MutationCreateShopArgs = {
|
|
1408
1429
|
input: CreateShopInput;
|
|
1409
1430
|
};
|
|
@@ -1414,18 +1435,9 @@ export type MutationCreateShopViewArgs = {
|
|
|
1414
1435
|
id: Scalars['ID']['input'];
|
|
1415
1436
|
trackerId?: InputMaybe<Scalars['ID']['input']>;
|
|
1416
1437
|
};
|
|
1417
|
-
export type MutationCreateTapToPayPaymentArgs = {
|
|
1418
|
-
input: CreateTapToPayPaymentInput;
|
|
1419
|
-
};
|
|
1420
1438
|
export type MutationCreateTeamArgs = {
|
|
1421
1439
|
input: CreateTeamInput;
|
|
1422
1440
|
};
|
|
1423
|
-
export type MutationCreateTerminalArgs = {
|
|
1424
|
-
activationCode: Scalars['String']['input'];
|
|
1425
|
-
};
|
|
1426
|
-
export type MutationCreateTerminalPaymentArgs = {
|
|
1427
|
-
input: CreateTerminalOrderPaymentInput;
|
|
1428
|
-
};
|
|
1429
1441
|
export type MutationCreateTicketEmailArgs = {
|
|
1430
1442
|
orderId: Scalars['ID']['input'];
|
|
1431
1443
|
};
|
|
@@ -1444,24 +1456,15 @@ export type MutationCreateUserArgs = {
|
|
|
1444
1456
|
export type MutationCreateUserBulkArgs = {
|
|
1445
1457
|
input: CreateUserBulkInput;
|
|
1446
1458
|
};
|
|
1447
|
-
export type MutationDeactivateReportConfigurationArgs = {
|
|
1448
|
-
id: Scalars['ID']['input'];
|
|
1449
|
-
};
|
|
1450
1459
|
export type MutationDeleteCommissionTemplateArgs = {
|
|
1451
1460
|
id: Scalars['ID']['input'];
|
|
1452
1461
|
};
|
|
1453
1462
|
export type MutationDeleteOrderArgs = {
|
|
1454
1463
|
sessionId: Scalars['ID']['input'];
|
|
1455
1464
|
};
|
|
1456
|
-
export type MutationDeleteReportConfigurationArgs = {
|
|
1457
|
-
id: Scalars['ID']['input'];
|
|
1458
|
-
};
|
|
1459
1465
|
export type MutationDeleteRoleArgs = {
|
|
1460
1466
|
id: Scalars['ID']['input'];
|
|
1461
1467
|
};
|
|
1462
|
-
export type MutationDeleteTerminalArgs = {
|
|
1463
|
-
terminalCode: Scalars['ID']['input'];
|
|
1464
|
-
};
|
|
1465
1468
|
export type MutationDeleteTicketLimitArgs = {
|
|
1466
1469
|
id: Scalars['ID']['input'];
|
|
1467
1470
|
};
|
|
@@ -1474,9 +1477,6 @@ export type MutationDisableUserArgs = {
|
|
|
1474
1477
|
export type MutationEnableUserArgs = {
|
|
1475
1478
|
userId: Scalars['String']['input'];
|
|
1476
1479
|
};
|
|
1477
|
-
export type MutationExecuteReportArgs = {
|
|
1478
|
-
input: ExecuteReportInput;
|
|
1479
|
-
};
|
|
1480
1480
|
export type MutationFinalizeCashOrderArgs = {
|
|
1481
1481
|
input: FinalizeCashOrderInput;
|
|
1482
1482
|
};
|
|
@@ -1495,6 +1495,9 @@ export type MutationRemoveCategoryArgs = {
|
|
|
1495
1495
|
export type MutationRemoveCustomFieldArgs = {
|
|
1496
1496
|
id: Scalars['ID']['input'];
|
|
1497
1497
|
};
|
|
1498
|
+
export type MutationRemoveDiscountArgs = {
|
|
1499
|
+
id: Scalars['ID']['input'];
|
|
1500
|
+
};
|
|
1498
1501
|
export type MutationRemoveEventArgs = {
|
|
1499
1502
|
id: Scalars['ID']['input'];
|
|
1500
1503
|
};
|
|
@@ -1580,6 +1583,9 @@ export type MutationUpdateCustomFieldOrderArgs = {
|
|
|
1580
1583
|
export type MutationUpdateCustomerArgs = {
|
|
1581
1584
|
input: UpdateCustomerInput;
|
|
1582
1585
|
};
|
|
1586
|
+
export type MutationUpdateDiscountArgs = {
|
|
1587
|
+
input: UpdateDiscountInput;
|
|
1588
|
+
};
|
|
1583
1589
|
export type MutationUpdateEventArgs = {
|
|
1584
1590
|
input: UpdateEventInput;
|
|
1585
1591
|
};
|
|
@@ -1626,9 +1632,6 @@ export type MutationUpdateProductArgs = {
|
|
|
1626
1632
|
export type MutationUpdateProductOrderArgs = {
|
|
1627
1633
|
input: UpdateProductOrderInput;
|
|
1628
1634
|
};
|
|
1629
|
-
export type MutationUpdateReportConfigurationArgs = {
|
|
1630
|
-
input: UpdateReportConfigurationInput;
|
|
1631
|
-
};
|
|
1632
1635
|
export type MutationUpdateRoleArgs = {
|
|
1633
1636
|
input: UpdateRoleInput;
|
|
1634
1637
|
};
|
|
@@ -1641,11 +1644,6 @@ export type MutationUpdateShopTemplateArgs = {
|
|
|
1641
1644
|
export type MutationUpdateTeamArgs = {
|
|
1642
1645
|
input: UpdateTeamInput;
|
|
1643
1646
|
};
|
|
1644
|
-
export type MutationUpdateTerminalStatusArgs = {
|
|
1645
|
-
status: TerminalStatus;
|
|
1646
|
-
terminalCode: Scalars['ID']['input'];
|
|
1647
|
-
terminalInfo?: InputMaybe<TerminalInfoInput>;
|
|
1648
|
-
};
|
|
1649
1647
|
export type MutationUpdateTicketLimitArgs = {
|
|
1650
1648
|
input: UpdateTicketLimitInput;
|
|
1651
1649
|
};
|
|
@@ -1673,7 +1671,9 @@ export type Order = {
|
|
|
1673
1671
|
checkoutUrl: Scalars['String']['output'];
|
|
1674
1672
|
currency: Currency;
|
|
1675
1673
|
destinationArrivalDate?: Maybe<Scalars['luxon']['output']>;
|
|
1674
|
+
discount?: Maybe<OrderDiscount>;
|
|
1676
1675
|
downloadCode?: Maybe<Scalars['String']['output']>;
|
|
1676
|
+
groupTickets: Array<GroupTicket>;
|
|
1677
1677
|
id: Scalars['ID']['output'];
|
|
1678
1678
|
isContacted: Scalars['Boolean']['output'];
|
|
1679
1679
|
items: Array<OrderItem>;
|
|
@@ -1691,6 +1691,7 @@ export type Order = {
|
|
|
1691
1691
|
soldByUser?: Maybe<User>;
|
|
1692
1692
|
soldOnShop?: Maybe<Shop>;
|
|
1693
1693
|
status?: Maybe<Scalars['String']['output']>;
|
|
1694
|
+
tickets: Array<Ticket>;
|
|
1694
1695
|
/** @deprecated Removed in future version */
|
|
1695
1696
|
totalPrice: Scalars['Float']['output'];
|
|
1696
1697
|
/** @deprecated Removed in future version */
|
|
@@ -1700,18 +1701,37 @@ export type Order = {
|
|
|
1700
1701
|
export type OrderCheckoutUrlArgs = {
|
|
1701
1702
|
redirectUrl?: InputMaybe<Scalars['String']['input']>;
|
|
1702
1703
|
};
|
|
1704
|
+
export type OrderGroupTicketsArgs = {
|
|
1705
|
+
filterGroupTickets?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1706
|
+
};
|
|
1703
1707
|
export type OrderItemsArgs = {
|
|
1704
1708
|
eventIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1705
1709
|
};
|
|
1706
1710
|
export type OrderMainGroupTicketArgs = {
|
|
1707
1711
|
filterGroupTicket?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1708
1712
|
};
|
|
1713
|
+
export type OrderTicketsArgs = {
|
|
1714
|
+
filterTickets?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1715
|
+
};
|
|
1709
1716
|
export type OrderCount = {
|
|
1710
1717
|
__typename?: 'OrderCount';
|
|
1711
1718
|
finalized: Scalars['Float']['output'];
|
|
1712
1719
|
id: Scalars['ID']['output'];
|
|
1713
1720
|
pending: Scalars['Float']['output'];
|
|
1714
1721
|
};
|
|
1722
|
+
export type OrderDiscount = {
|
|
1723
|
+
__typename?: 'OrderDiscount';
|
|
1724
|
+
amount: Scalars['Float']['output'];
|
|
1725
|
+
calculateOnItemsOnly: Scalars['Boolean']['output'];
|
|
1726
|
+
code: Scalars['String']['output'];
|
|
1727
|
+
id: Scalars['ID']['output'];
|
|
1728
|
+
maxAmount?: Maybe<Scalars['Float']['output']>;
|
|
1729
|
+
type: DiscountType;
|
|
1730
|
+
usageCount: Scalars['Int']['output'];
|
|
1731
|
+
usageLimit?: Maybe<Scalars['Int']['output']>;
|
|
1732
|
+
validFrom: Scalars['luxon']['output'];
|
|
1733
|
+
validUntil?: Maybe<Scalars['luxon']['output']>;
|
|
1734
|
+
};
|
|
1715
1735
|
export type OrderItem = {
|
|
1716
1736
|
__typename?: 'OrderItem';
|
|
1717
1737
|
amount: Scalars['Int']['output'];
|
|
@@ -1720,6 +1740,7 @@ export type OrderItem = {
|
|
|
1720
1740
|
amountScanned: Scalars['Int']['output'];
|
|
1721
1741
|
amountSwapped: Scalars['Int']['output'];
|
|
1722
1742
|
depositPrice?: Maybe<Scalars['Float']['output']>;
|
|
1743
|
+
depositPriceDiscount?: Maybe<Scalars['Float']['output']>;
|
|
1723
1744
|
discountedPrice?: Maybe<Scalars['Float']['output']>;
|
|
1724
1745
|
event: Event;
|
|
1725
1746
|
expiredAt?: Maybe<Scalars['luxon']['output']>;
|
|
@@ -1733,10 +1754,12 @@ export type OrderItem = {
|
|
|
1733
1754
|
packageItem?: Maybe<PackageItem>;
|
|
1734
1755
|
paymentBalance: Scalars['Float']['output'];
|
|
1735
1756
|
price?: Maybe<Scalars['Float']['output']>;
|
|
1757
|
+
priceDiscount?: Maybe<Scalars['Float']['output']>;
|
|
1736
1758
|
product?: Maybe<Product>;
|
|
1737
1759
|
revenue: Scalars['Float']['output'];
|
|
1738
1760
|
seats?: Maybe<Array<Seat>>;
|
|
1739
1761
|
serviceFee?: Maybe<Scalars['Float']['output']>;
|
|
1762
|
+
serviceFeeDiscount?: Maybe<Scalars['Float']['output']>;
|
|
1740
1763
|
tickets: Array<Ticket>;
|
|
1741
1764
|
type: OrderItemType;
|
|
1742
1765
|
};
|
|
@@ -1751,6 +1774,7 @@ export type OrderItemAdjustment = {
|
|
|
1751
1774
|
fromAmount: Scalars['Int']['output'];
|
|
1752
1775
|
fromEvent: Event;
|
|
1753
1776
|
fromProduct?: Maybe<Product>;
|
|
1777
|
+
fromSeats?: Maybe<Scalars['String']['output']>;
|
|
1754
1778
|
id: Scalars['ID']['output'];
|
|
1755
1779
|
orderItem: OrderItem;
|
|
1756
1780
|
refundCurrency?: Maybe<Currency>;
|
|
@@ -1761,6 +1785,7 @@ export type OrderItemAdjustment = {
|
|
|
1761
1785
|
toAmount: Scalars['Int']['output'];
|
|
1762
1786
|
toEvent: Event;
|
|
1763
1787
|
toProduct?: Maybe<Product>;
|
|
1788
|
+
toSeats?: Maybe<Scalars['String']['output']>;
|
|
1764
1789
|
};
|
|
1765
1790
|
export type OrderItemAdjustmentRevenueDetail = {
|
|
1766
1791
|
__typename?: 'OrderItemAdjustmentRevenueDetail';
|
|
@@ -2001,6 +2026,11 @@ export type PaginatedCommissionTemplate = {
|
|
|
2001
2026
|
count: Scalars['Int']['output'];
|
|
2002
2027
|
data: Array<CommissionTemplate>;
|
|
2003
2028
|
};
|
|
2029
|
+
export type PaginatedDiscount = {
|
|
2030
|
+
__typename?: 'PaginatedDiscount';
|
|
2031
|
+
count: Scalars['Int']['output'];
|
|
2032
|
+
data: Array<Discount>;
|
|
2033
|
+
};
|
|
2004
2034
|
export type PaginatedEmailRule = {
|
|
2005
2035
|
__typename?: 'PaginatedEmailRule';
|
|
2006
2036
|
count: Scalars['Int']['output'];
|
|
@@ -2056,16 +2086,6 @@ export type PaginatedProducts = {
|
|
|
2056
2086
|
count: Scalars['Int']['output'];
|
|
2057
2087
|
data: Array<Product>;
|
|
2058
2088
|
};
|
|
2059
|
-
export type PaginatedReportConfiguration = {
|
|
2060
|
-
__typename?: 'PaginatedReportConfiguration';
|
|
2061
|
-
count: Scalars['Int']['output'];
|
|
2062
|
-
data: Array<ReportConfiguration>;
|
|
2063
|
-
};
|
|
2064
|
-
export type PaginatedReportExecution = {
|
|
2065
|
-
__typename?: 'PaginatedReportExecution';
|
|
2066
|
-
count: Scalars['Int']['output'];
|
|
2067
|
-
data: Array<ReportExecution>;
|
|
2068
|
-
};
|
|
2069
2089
|
export type PaginatedShop = {
|
|
2070
2090
|
__typename?: 'PaginatedShop';
|
|
2071
2091
|
count: Scalars['Int']['output'];
|
|
@@ -2098,36 +2118,32 @@ export type PaginatedUser = {
|
|
|
2098
2118
|
};
|
|
2099
2119
|
export type Payment = {
|
|
2100
2120
|
__typename?: 'Payment';
|
|
2121
|
+
additionalTransactionFee: Scalars['Float']['output'];
|
|
2101
2122
|
amount: Scalars['Float']['output'];
|
|
2123
|
+
amountDiscount: Scalars['Float']['output'];
|
|
2102
2124
|
createdAt: Scalars['luxon']['output'];
|
|
2103
2125
|
id: Scalars['ID']['output'];
|
|
2104
2126
|
paidAt?: Maybe<Scalars['luxon']['output']>;
|
|
2105
2127
|
requestedByUser?: Maybe<User>;
|
|
2106
2128
|
salesType: PaymentSalesType;
|
|
2129
|
+
transactionFee: Scalars['Float']['output'];
|
|
2130
|
+
transactionFeeDiscount: Scalars['Float']['output'];
|
|
2107
2131
|
type: PaymentType;
|
|
2108
2132
|
};
|
|
2109
|
-
export type PaymentCompanyInput = {
|
|
2110
|
-
cocNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2111
|
-
name?: InputMaybe<Scalars['String']['input']>;
|
|
2112
|
-
vatNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2113
|
-
};
|
|
2114
|
-
export type PaymentCustomerInput = {
|
|
2115
|
-
company?: InputMaybe<PaymentCompanyInput>;
|
|
2116
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
2117
|
-
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
2118
|
-
gender?: InputMaybe<Scalars['String']['input']>;
|
|
2119
|
-
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
2120
|
-
phone?: InputMaybe<Scalars['String']['input']>;
|
|
2121
|
-
};
|
|
2122
2133
|
export type PaymentDetails = {
|
|
2123
2134
|
__typename?: 'PaymentDetails';
|
|
2124
|
-
/** @deprecated removed in next version use
|
|
2135
|
+
/** @deprecated removed in next version use paymentSpesificFee */
|
|
2125
2136
|
additionalTransactionFee?: Maybe<Scalars['Float']['output']>;
|
|
2137
|
+
/** @deprecated removed in next version use transactionFee */
|
|
2126
2138
|
baseAdditionalTransactionFee?: Maybe<Scalars['Float']['output']>;
|
|
2139
|
+
/** @deprecated removed in next version use transactionFee */
|
|
2127
2140
|
baseAdditionalTransactionPercentage?: Maybe<Scalars['Float']['output']>;
|
|
2141
|
+
/** @deprecated removed in next version use transactionFee */
|
|
2128
2142
|
baseTransactionFee?: Maybe<Scalars['Float']['output']>;
|
|
2129
2143
|
methods?: Maybe<Array<PaymentMethod>>;
|
|
2130
2144
|
paymentSpesificTransactionFee?: Maybe<Scalars['Float']['output']>;
|
|
2145
|
+
transactionDiscount?: Maybe<Scalars['Float']['output']>;
|
|
2146
|
+
transactionFee?: Maybe<Scalars['Float']['output']>;
|
|
2131
2147
|
transactionPrice: Scalars['Float']['output'];
|
|
2132
2148
|
};
|
|
2133
2149
|
export type PaymentMethod = {
|
|
@@ -2154,14 +2170,6 @@ export type PaymentMethodInfo = {
|
|
|
2154
2170
|
image: Scalars['String']['output'];
|
|
2155
2171
|
name: Scalars['String']['output'];
|
|
2156
2172
|
};
|
|
2157
|
-
export type PaymentProductInput = {
|
|
2158
|
-
id: Scalars['String']['input'];
|
|
2159
|
-
name: Scalars['String']['input'];
|
|
2160
|
-
price: Scalars['Float']['input'];
|
|
2161
|
-
quantity: Scalars['Float']['input'];
|
|
2162
|
-
type?: InputMaybe<Scalars['String']['input']>;
|
|
2163
|
-
vatPercentage?: InputMaybe<Scalars['Float']['input']>;
|
|
2164
|
-
};
|
|
2165
2173
|
/** Payment sales type of an order */
|
|
2166
2174
|
export declare enum PaymentSalesType {
|
|
2167
2175
|
Collect = "COLLECT",
|
|
@@ -2182,8 +2190,7 @@ export declare enum PaymentStatus {
|
|
|
2182
2190
|
export declare enum PaymentType {
|
|
2183
2191
|
Cash = "CASH",
|
|
2184
2192
|
Digital = "DIGITAL",
|
|
2185
|
-
Other = "OTHER"
|
|
2186
|
-
TapToPay = "TAP_TO_PAY"
|
|
2193
|
+
Other = "OTHER"
|
|
2187
2194
|
}
|
|
2188
2195
|
export type Permission = {
|
|
2189
2196
|
__typename?: 'Permission';
|
|
@@ -2222,6 +2229,9 @@ export declare enum PermissionScope {
|
|
|
2222
2229
|
CommissionView = "COMMISSION_VIEW",
|
|
2223
2230
|
CustomFieldManage = "CUSTOM_FIELD_MANAGE",
|
|
2224
2231
|
CustomFieldView = "CUSTOM_FIELD_VIEW",
|
|
2232
|
+
DiscountManage = "DISCOUNT_MANAGE",
|
|
2233
|
+
DiscountStatistics = "DISCOUNT_STATISTICS",
|
|
2234
|
+
DiscountView = "DISCOUNT_VIEW",
|
|
2225
2235
|
EmailRuleManage = "EMAIL_RULE_MANAGE",
|
|
2226
2236
|
EmailRuleStatistics = "EMAIL_RULE_STATISTICS",
|
|
2227
2237
|
EmailRuleView = "EMAIL_RULE_VIEW",
|
|
@@ -2260,8 +2270,6 @@ export declare enum PermissionScope {
|
|
|
2260
2270
|
PromoterManage = "PROMOTER_MANAGE",
|
|
2261
2271
|
PromoterStatistics = "PROMOTER_STATISTICS",
|
|
2262
2272
|
PromoterView = "PROMOTER_VIEW",
|
|
2263
|
-
ReportingManage = "REPORTING_MANAGE",
|
|
2264
|
-
ReportingView = "REPORTING_VIEW",
|
|
2265
2273
|
RoleAssign = "ROLE_ASSIGN",
|
|
2266
2274
|
RoleManage = "ROLE_MANAGE",
|
|
2267
2275
|
RoleView = "ROLE_VIEW",
|
|
@@ -2298,6 +2306,7 @@ export type Product = {
|
|
|
2298
2306
|
__typename?: 'Product';
|
|
2299
2307
|
amount?: Maybe<Scalars['Int']['output']>;
|
|
2300
2308
|
amountUnavailable?: Maybe<Scalars['Int']['output']>;
|
|
2309
|
+
availableSeats?: Maybe<Array<ProductSeat>>;
|
|
2301
2310
|
category?: Maybe<Category>;
|
|
2302
2311
|
color?: Maybe<Scalars['String']['output']>;
|
|
2303
2312
|
currency: Currency;
|
|
@@ -2306,6 +2315,7 @@ export type Product = {
|
|
|
2306
2315
|
discountPrice?: Maybe<Scalars['Float']['output']>;
|
|
2307
2316
|
emailDescriptionConfirmation?: Maybe<Scalars['String']['output']>;
|
|
2308
2317
|
emailDescriptionInvitation?: Maybe<Scalars['String']['output']>;
|
|
2318
|
+
enableQrCode: Scalars['Boolean']['output'];
|
|
2309
2319
|
endSalesAt?: Maybe<Scalars['luxon']['output']>;
|
|
2310
2320
|
endValidityAt?: Maybe<Scalars['luxon']['output']>;
|
|
2311
2321
|
extraInfo?: Maybe<Array<KeyValuePair>>;
|
|
@@ -2339,6 +2349,47 @@ export type ProductOrderInput = {
|
|
|
2339
2349
|
id: Scalars['ID']['input'];
|
|
2340
2350
|
order: Scalars['Float']['input'];
|
|
2341
2351
|
};
|
|
2352
|
+
export type ProductSeat = {
|
|
2353
|
+
__typename?: 'ProductSeat';
|
|
2354
|
+
availabilityReason?: Maybe<Scalars['String']['output']>;
|
|
2355
|
+
bookAsAWhole?: Maybe<Scalars['Boolean']['output']>;
|
|
2356
|
+
capacity?: Maybe<Scalars['Int']['output']>;
|
|
2357
|
+
categoryKey?: Maybe<Scalars['String']['output']>;
|
|
2358
|
+
categoryLabel?: Maybe<Scalars['String']['output']>;
|
|
2359
|
+
channel?: Maybe<Scalars['String']['output']>;
|
|
2360
|
+
displayedObjectType?: Maybe<Scalars['String']['output']>;
|
|
2361
|
+
distanceToFocalPoint?: Maybe<Scalars['Float']['output']>;
|
|
2362
|
+
entrance?: Maybe<Scalars['String']['output']>;
|
|
2363
|
+
extraData?: Maybe<Scalars['String']['output']>;
|
|
2364
|
+
floor?: Maybe<Floor>;
|
|
2365
|
+
forSale?: Maybe<Scalars['Boolean']['output']>;
|
|
2366
|
+
hasRestrictedView?: Maybe<Scalars['Boolean']['output']>;
|
|
2367
|
+
holdToken?: Maybe<Scalars['String']['output']>;
|
|
2368
|
+
holds?: Maybe<Scalars['String']['output']>;
|
|
2369
|
+
ids?: Maybe<IDs>;
|
|
2370
|
+
isAccessible?: Maybe<Scalars['Boolean']['output']>;
|
|
2371
|
+
isAvailable?: Maybe<Scalars['Boolean']['output']>;
|
|
2372
|
+
isCompanionSeat?: Maybe<Scalars['Boolean']['output']>;
|
|
2373
|
+
label?: Maybe<Scalars['String']['output']>;
|
|
2374
|
+
labels?: Maybe<Labels>;
|
|
2375
|
+
leftNeighbour?: Maybe<Scalars['String']['output']>;
|
|
2376
|
+
maxOccupancy?: Maybe<Scalars['Int']['output']>;
|
|
2377
|
+
minOccupancy?: Maybe<Scalars['Int']['output']>;
|
|
2378
|
+
numBooked?: Maybe<Scalars['Int']['output']>;
|
|
2379
|
+
numFree?: Maybe<Scalars['Int']['output']>;
|
|
2380
|
+
numHeld?: Maybe<Scalars['Int']['output']>;
|
|
2381
|
+
numNotForSale?: Maybe<Scalars['Int']['output']>;
|
|
2382
|
+
numSeats?: Maybe<Scalars['Int']['output']>;
|
|
2383
|
+
objectType?: Maybe<Scalars['String']['output']>;
|
|
2384
|
+
orderId?: Maybe<Scalars['String']['output']>;
|
|
2385
|
+
rightNeighbour?: Maybe<Scalars['String']['output']>;
|
|
2386
|
+
seasonStatusOverriddenQuantity?: Maybe<Scalars['Int']['output']>;
|
|
2387
|
+
section?: Maybe<Scalars['String']['output']>;
|
|
2388
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
2389
|
+
ticketType?: Maybe<Scalars['String']['output']>;
|
|
2390
|
+
variableOccupancy?: Maybe<Scalars['Boolean']['output']>;
|
|
2391
|
+
zone?: Maybe<Scalars['String']['output']>;
|
|
2392
|
+
};
|
|
2342
2393
|
/** The status of the product */
|
|
2343
2394
|
export declare enum ProductStatus {
|
|
2344
2395
|
AllReserved = "ALL_RESERVED",
|
|
@@ -2361,6 +2412,9 @@ export type Query = {
|
|
|
2361
2412
|
arrivalCountByOrganization: ArrivalCount;
|
|
2362
2413
|
checkPayment?: Maybe<PaymentStatus>;
|
|
2363
2414
|
currentScopes: Scopes;
|
|
2415
|
+
discount: Discount;
|
|
2416
|
+
discountCounts: CountedDiscount;
|
|
2417
|
+
discounts: PaginatedDiscount;
|
|
2364
2418
|
findAdminDetailedStatistics: DetailedStatistic;
|
|
2365
2419
|
findAggregatedStatistics: Array<AggregatedStatistics>;
|
|
2366
2420
|
findAllCashTransactionDeposits: PaginatedCashDeposit;
|
|
@@ -2389,10 +2443,8 @@ export type Query = {
|
|
|
2389
2443
|
findAllPackages: PaginatedPackage;
|
|
2390
2444
|
findAllProducts: PaginatedProducts;
|
|
2391
2445
|
findAllPublicEventByOrganizationId: PaginatedEvent;
|
|
2446
|
+
findAllPublicHostingsByOrganizationId: PaginatedHosting;
|
|
2392
2447
|
findAllPublicPackagesByOrganizationId: PaginatedPackage;
|
|
2393
|
-
findAllReportConfigurationCounts: ReportConfigurationCount;
|
|
2394
|
-
findAllReportConfigurations: PaginatedReportConfiguration;
|
|
2395
|
-
findAllReportExecutions: PaginatedReportExecution;
|
|
2396
2448
|
findAllShopTemplates: PaginatedShopTemplate;
|
|
2397
2449
|
findAllShops: PaginatedShop;
|
|
2398
2450
|
findAllTeamCounts: TeamCount;
|
|
@@ -2455,13 +2507,12 @@ export type Query = {
|
|
|
2455
2507
|
findPublicCustomFieldsByPackageId: Array<CustomField>;
|
|
2456
2508
|
findPublicEventById?: Maybe<Event>;
|
|
2457
2509
|
findPublicEventBySlug?: Maybe<Event>;
|
|
2510
|
+
findPublicHostingById?: Maybe<Hosting>;
|
|
2458
2511
|
findPublicItemsByPackageId: PaginatedPackageItem;
|
|
2459
2512
|
findPublicPackageById?: Maybe<Package>;
|
|
2460
2513
|
findPublicPackageBySlug?: Maybe<Package>;
|
|
2461
2514
|
findPublicProductsByEventId: Array<Product>;
|
|
2462
2515
|
findRefundableAmount: Array<OrderItemRefundableAmount>;
|
|
2463
|
-
findReportConfigurationById: ReportConfiguration;
|
|
2464
|
-
findReportExecutionsByConfigurationId: PaginatedReportExecution;
|
|
2465
2516
|
findRoleById: Role;
|
|
2466
2517
|
findScanHistoryByOrderId: Array<ScanHistoryGroup>;
|
|
2467
2518
|
findShopById: Shop;
|
|
@@ -2480,13 +2531,10 @@ export type Query = {
|
|
|
2480
2531
|
getTokens: Array<Token>;
|
|
2481
2532
|
isUnpublishedChart: Scalars['Boolean']['output'];
|
|
2482
2533
|
me: User;
|
|
2483
|
-
myTerminal?: Maybe<Terminal>;
|
|
2484
2534
|
orderCountByOrganization: OrderCount;
|
|
2485
2535
|
publicGetOrganization: Organization;
|
|
2486
2536
|
scanCheck: Scan;
|
|
2487
2537
|
startPayment: Scalars['String']['output'];
|
|
2488
|
-
terminal?: Maybe<Terminal>;
|
|
2489
|
-
terminalByActivationCode?: Maybe<Terminal>;
|
|
2490
2538
|
};
|
|
2491
2539
|
export type QueryArrivalCountByOrganizationArgs = {
|
|
2492
2540
|
arrival?: InputMaybe<ArrivalInput>;
|
|
@@ -2495,6 +2543,18 @@ export type QueryArrivalCountByOrganizationArgs = {
|
|
|
2495
2543
|
export type QueryCheckPaymentArgs = {
|
|
2496
2544
|
sessionId: Scalars['ID']['input'];
|
|
2497
2545
|
};
|
|
2546
|
+
export type QueryDiscountArgs = {
|
|
2547
|
+
id: Scalars['ID']['input'];
|
|
2548
|
+
};
|
|
2549
|
+
export type QueryDiscountsArgs = {
|
|
2550
|
+
date?: InputMaybe<DateRangeInput>;
|
|
2551
|
+
page?: InputMaybe<PageInput>;
|
|
2552
|
+
removeEmptySales?: Scalars['Boolean']['input'];
|
|
2553
|
+
searchTerm?: InputMaybe<Scalars['String']['input']>;
|
|
2554
|
+
sorts?: InputMaybe<Array<SortInput>>;
|
|
2555
|
+
statisticType?: InputMaybe<StatisticType>;
|
|
2556
|
+
status?: InputMaybe<DiscountStatus>;
|
|
2557
|
+
};
|
|
2498
2558
|
export type QueryFindAdminDetailedStatisticsArgs = {
|
|
2499
2559
|
date?: InputMaybe<DateRangeInput>;
|
|
2500
2560
|
eventId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2724,24 +2784,13 @@ export type QueryFindAllPublicEventByOrganizationIdArgs = {
|
|
|
2724
2784
|
sorts?: InputMaybe<Array<SortInput>>;
|
|
2725
2785
|
trackerLinkId?: InputMaybe<Scalars['String']['input']>;
|
|
2726
2786
|
};
|
|
2727
|
-
export type
|
|
2728
|
-
|
|
2729
|
-
page?: InputMaybe<PageInput>;
|
|
2730
|
-
statuses?: InputMaybe<Array<PackageStatus>>;
|
|
2731
|
-
tab?: InputMaybe<PackageTabType>;
|
|
2732
|
-
};
|
|
2733
|
-
export type QueryFindAllReportConfigurationsArgs = {
|
|
2734
|
-
date?: InputMaybe<DateRangeInput>;
|
|
2787
|
+
export type QueryFindAllPublicHostingsByOrganizationIdArgs = {
|
|
2788
|
+
id: Scalars['ID']['input'];
|
|
2735
2789
|
page?: InputMaybe<PageInput>;
|
|
2736
2790
|
sorts?: InputMaybe<Array<SortInput>>;
|
|
2737
|
-
statisticType?: InputMaybe<StatisticType>;
|
|
2738
|
-
status?: InputMaybe<ReportStatus>;
|
|
2739
2791
|
};
|
|
2740
|
-
export type
|
|
2741
|
-
|
|
2742
|
-
page?: InputMaybe<PageInput>;
|
|
2743
|
-
sorts?: InputMaybe<Array<SortInput>>;
|
|
2744
|
-
statisticType?: InputMaybe<StatisticType>;
|
|
2792
|
+
export type QueryFindAllPublicPackagesByOrganizationIdArgs = {
|
|
2793
|
+
organizationId: Scalars['ID']['input'];
|
|
2745
2794
|
};
|
|
2746
2795
|
export type QueryFindAllShopTemplatesArgs = {
|
|
2747
2796
|
date?: InputMaybe<DateRangeInput>;
|
|
@@ -3024,6 +3073,9 @@ export type QueryFindPublicEventBySlugArgs = {
|
|
|
3024
3073
|
organizationId: Scalars['ID']['input'];
|
|
3025
3074
|
slug: Scalars['String']['input'];
|
|
3026
3075
|
};
|
|
3076
|
+
export type QueryFindPublicHostingByIdArgs = {
|
|
3077
|
+
id: Scalars['ID']['input'];
|
|
3078
|
+
};
|
|
3027
3079
|
export type QueryFindPublicItemsByPackageIdArgs = {
|
|
3028
3080
|
packageId: Scalars['ID']['input'];
|
|
3029
3081
|
page?: InputMaybe<PageInput>;
|
|
@@ -3045,16 +3097,6 @@ export type QueryFindPublicProductsByEventIdArgs = {
|
|
|
3045
3097
|
export type QueryFindRefundableAmountArgs = {
|
|
3046
3098
|
id: Scalars['ID']['input'];
|
|
3047
3099
|
};
|
|
3048
|
-
export type QueryFindReportConfigurationByIdArgs = {
|
|
3049
|
-
id: Scalars['ID']['input'];
|
|
3050
|
-
};
|
|
3051
|
-
export type QueryFindReportExecutionsByConfigurationIdArgs = {
|
|
3052
|
-
configurationId: Scalars['ID']['input'];
|
|
3053
|
-
date?: InputMaybe<DateRangeInput>;
|
|
3054
|
-
page?: InputMaybe<PageInput>;
|
|
3055
|
-
sorts?: InputMaybe<Array<SortInput>>;
|
|
3056
|
-
statisticType?: InputMaybe<StatisticType>;
|
|
3057
|
-
};
|
|
3058
3100
|
export type QueryFindRoleByIdArgs = {
|
|
3059
3101
|
id: Scalars['ID']['input'];
|
|
3060
3102
|
};
|
|
@@ -3157,12 +3199,6 @@ export type QueryScanCheckArgs = {
|
|
|
3157
3199
|
export type QueryStartPaymentArgs = {
|
|
3158
3200
|
input: StartPaymentInput;
|
|
3159
3201
|
};
|
|
3160
|
-
export type QueryTerminalArgs = {
|
|
3161
|
-
terminalCode: Scalars['ID']['input'];
|
|
3162
|
-
};
|
|
3163
|
-
export type QueryTerminalByActivationCodeArgs = {
|
|
3164
|
-
activationCode: Scalars['ID']['input'];
|
|
3165
|
-
};
|
|
3166
3202
|
export type RefundOrderItem = {
|
|
3167
3203
|
amount: Scalars['Int']['input'];
|
|
3168
3204
|
id: Scalars['ID']['input'];
|
|
@@ -3186,98 +3222,7 @@ export type RemoveFromOrderInput = {
|
|
|
3186
3222
|
amount?: InputMaybe<Scalars['Int']['input']>;
|
|
3187
3223
|
orderId?: InputMaybe<Scalars['ID']['input']>;
|
|
3188
3224
|
productId: Scalars['ID']['input'];
|
|
3189
|
-
|
|
3190
|
-
export type ReportConfiguration = {
|
|
3191
|
-
__typename?: 'ReportConfiguration';
|
|
3192
|
-
cronExpression: Scalars['String']['output'];
|
|
3193
|
-
deliverySettings: DeliverySettingsType;
|
|
3194
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
3195
|
-
failedExecutions: Scalars['Int']['output'];
|
|
3196
|
-
filters?: Maybe<ReportFiltersType>;
|
|
3197
|
-
format: ReportFormat;
|
|
3198
|
-
id: Scalars['ID']['output'];
|
|
3199
|
-
name: Scalars['String']['output'];
|
|
3200
|
-
reportWindowMinutes: Scalars['Int']['output'];
|
|
3201
|
-
status: ReportStatus;
|
|
3202
|
-
successfulExecutions: Scalars['Int']['output'];
|
|
3203
|
-
totalExecutions: Scalars['Int']['output'];
|
|
3204
|
-
};
|
|
3205
|
-
export type ReportConfigurationCount = {
|
|
3206
|
-
__typename?: 'ReportConfigurationCount';
|
|
3207
|
-
active: Scalars['Int']['output'];
|
|
3208
|
-
inactive: Scalars['Int']['output'];
|
|
3209
|
-
};
|
|
3210
|
-
/** Report delivery method options */
|
|
3211
|
-
export declare enum ReportDeliveryMethod {
|
|
3212
|
-
Email = "EMAIL",
|
|
3213
|
-
Phone = "PHONE"
|
|
3214
|
-
}
|
|
3215
|
-
export type ReportExecution = {
|
|
3216
|
-
__typename?: 'ReportExecution';
|
|
3217
|
-
completedAt?: Maybe<Scalars['luxon']['output']>;
|
|
3218
|
-
configuration: ReportConfiguration;
|
|
3219
|
-
configurationSnapshot: ConfigurationSnapshot;
|
|
3220
|
-
duration?: Maybe<Scalars['String']['output']>;
|
|
3221
|
-
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
3222
|
-
executionType?: Maybe<Scalars['String']['output']>;
|
|
3223
|
-
filePath?: Maybe<Scalars['String']['output']>;
|
|
3224
|
-
fileSize?: Maybe<Scalars['Int']['output']>;
|
|
3225
|
-
id: Scalars['ID']['output'];
|
|
3226
|
-
reportEndDate: Scalars['luxon']['output'];
|
|
3227
|
-
reportStartDate: Scalars['luxon']['output'];
|
|
3228
|
-
reportSummary?: Maybe<ReportSummary>;
|
|
3229
|
-
startedAt: Scalars['luxon']['output'];
|
|
3230
|
-
status: ReportExecutionStatus;
|
|
3231
|
-
triggeredBy?: Maybe<User>;
|
|
3232
|
-
};
|
|
3233
|
-
/** Report execution status */
|
|
3234
|
-
export declare enum ReportExecutionStatus {
|
|
3235
|
-
Cancelled = "CANCELLED",
|
|
3236
|
-
Completed = "COMPLETED",
|
|
3237
|
-
Failed = "FAILED",
|
|
3238
|
-
Pending = "PENDING",
|
|
3239
|
-
Processing = "PROCESSING"
|
|
3240
|
-
}
|
|
3241
|
-
export type ReportFiltersInput = {
|
|
3242
|
-
eventIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3243
|
-
eventStatuses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3244
|
-
hostingIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3245
|
-
locationIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3246
|
-
teamIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3247
|
-
ticketStatuses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3248
|
-
userIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3249
|
-
};
|
|
3250
|
-
export type ReportFiltersType = {
|
|
3251
|
-
__typename?: 'ReportFiltersType';
|
|
3252
|
-
eventIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
3253
|
-
locationIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
3254
|
-
teamIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
3255
|
-
userIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
3256
|
-
};
|
|
3257
|
-
/** Report format options */
|
|
3258
|
-
export declare enum ReportFormat {
|
|
3259
|
-
Csv = "CSV",
|
|
3260
|
-
Txt = "TXT"
|
|
3261
|
-
}
|
|
3262
|
-
export type ReportMetricsInput = {
|
|
3263
|
-
includeAttendance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3264
|
-
includeCommissions?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3265
|
-
includeRefunds?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3266
|
-
includeRevenue?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3267
|
-
includeTicketSales?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3268
|
-
};
|
|
3269
|
-
/** Report configuration status */
|
|
3270
|
-
export declare enum ReportStatus {
|
|
3271
|
-
Active = "ACTIVE",
|
|
3272
|
-
Inactive = "INACTIVE"
|
|
3273
|
-
}
|
|
3274
|
-
export type ReportSummary = {
|
|
3275
|
-
__typename?: 'ReportSummary';
|
|
3276
|
-
totalAttendees: Scalars['Int']['output'];
|
|
3277
|
-
totalCommissions: Scalars['Float']['output'];
|
|
3278
|
-
totalEvents: Scalars['Int']['output'];
|
|
3279
|
-
totalRevenue: Scalars['Float']['output'];
|
|
3280
|
-
totalTicketsSold: Scalars['Int']['output'];
|
|
3225
|
+
sessionId?: InputMaybe<Scalars['ID']['input']>;
|
|
3281
3226
|
};
|
|
3282
3227
|
export type ReserveProductInput = {
|
|
3283
3228
|
additionalData?: InputMaybe<AdditionalDataInput>;
|
|
@@ -3383,6 +3328,7 @@ export type ScanFinalizeInput = {
|
|
|
3383
3328
|
};
|
|
3384
3329
|
export type ScanFinalizeItemInput = {
|
|
3385
3330
|
amount: Scalars['Int']['input'];
|
|
3331
|
+
identifier?: InputMaybe<Scalars['ID']['input']>;
|
|
3386
3332
|
orderItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
3387
3333
|
};
|
|
3388
3334
|
export type ScanHistoryGroup = {
|
|
@@ -3444,10 +3390,16 @@ export type Scopes = {
|
|
|
3444
3390
|
};
|
|
3445
3391
|
export type Seat = {
|
|
3446
3392
|
__typename?: 'Seat';
|
|
3393
|
+
amount: Scalars['Int']['output'];
|
|
3447
3394
|
id: Scalars['ID']['output'];
|
|
3448
3395
|
label: Scalars['String']['output'];
|
|
3396
|
+
seatsIoBookedAt?: Maybe<Scalars['luxon']['output']>;
|
|
3397
|
+
seatsIoEventId?: Maybe<Scalars['String']['output']>;
|
|
3398
|
+
seatsIoId?: Maybe<Scalars['String']['output']>;
|
|
3399
|
+
seatsIoWorkspaceId?: Maybe<Scalars['String']['output']>;
|
|
3449
3400
|
};
|
|
3450
3401
|
export type SeatDataInput = {
|
|
3402
|
+
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
3451
3403
|
holdToken?: InputMaybe<Scalars['String']['input']>;
|
|
3452
3404
|
seatId: Scalars['ID']['input'];
|
|
3453
3405
|
seatLabel: Scalars['String']['input'];
|
|
@@ -3534,6 +3486,7 @@ export type StartPaymentInput = {
|
|
|
3534
3486
|
customer?: InputMaybe<CreateCustomerInput>;
|
|
3535
3487
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
3536
3488
|
redirectUrl?: InputMaybe<Scalars['String']['input']>;
|
|
3489
|
+
sessionId?: InputMaybe<Scalars['ID']['input']>;
|
|
3537
3490
|
};
|
|
3538
3491
|
export declare enum StatisticType {
|
|
3539
3492
|
Canceled = "CANCELED",
|
|
@@ -3586,32 +3539,6 @@ export declare enum TeamType {
|
|
|
3586
3539
|
Offline = "OFFLINE",
|
|
3587
3540
|
Online = "ONLINE"
|
|
3588
3541
|
}
|
|
3589
|
-
export type Terminal = {
|
|
3590
|
-
__typename?: 'Terminal';
|
|
3591
|
-
activationCode: Scalars['String']['output'];
|
|
3592
|
-
code: Scalars['String']['output'];
|
|
3593
|
-
createdAt: Scalars['luxon']['output'];
|
|
3594
|
-
id: Scalars['ID']['output'];
|
|
3595
|
-
organizationId: Scalars['ID']['output'];
|
|
3596
|
-
status: TerminalStatus;
|
|
3597
|
-
terminalName?: Maybe<Scalars['String']['output']>;
|
|
3598
|
-
updatedAt: Scalars['luxon']['output'];
|
|
3599
|
-
userId: Scalars['ID']['output'];
|
|
3600
|
-
};
|
|
3601
|
-
export type TerminalActivation = {
|
|
3602
|
-
__typename?: 'TerminalActivation';
|
|
3603
|
-
status: TerminalStatus;
|
|
3604
|
-
terminalCode: Scalars['String']['output'];
|
|
3605
|
-
};
|
|
3606
|
-
export type TerminalInfoInput = {
|
|
3607
|
-
terminalName?: InputMaybe<Scalars['String']['input']>;
|
|
3608
|
-
};
|
|
3609
|
-
/** The status of a terminal */
|
|
3610
|
-
export declare enum TerminalStatus {
|
|
3611
|
-
Active = "ACTIVE",
|
|
3612
|
-
Expired = "EXPIRED",
|
|
3613
|
-
Inactive = "INACTIVE"
|
|
3614
|
-
}
|
|
3615
3542
|
export type Ticket = {
|
|
3616
3543
|
__typename?: 'Ticket';
|
|
3617
3544
|
collectedAt?: Maybe<Scalars['luxon']['output']>;
|
|
@@ -3621,6 +3548,7 @@ export type Ticket = {
|
|
|
3621
3548
|
paymentTypes: Array<PaymentType>;
|
|
3622
3549
|
scanCode: Scalars['String']['output'];
|
|
3623
3550
|
scannedAt?: Maybe<Scalars['luxon']['output']>;
|
|
3551
|
+
seat?: Maybe<Seat>;
|
|
3624
3552
|
status: OrderTicketStatus;
|
|
3625
3553
|
};
|
|
3626
3554
|
export type TicketLimit = {
|
|
@@ -3738,6 +3666,17 @@ export type UpdateCustomerInput = {
|
|
|
3738
3666
|
resendEmail: Scalars['Boolean']['input'];
|
|
3739
3667
|
residence?: InputMaybe<Scalars['String']['input']>;
|
|
3740
3668
|
};
|
|
3669
|
+
export type UpdateDiscountInput = {
|
|
3670
|
+
amount: Scalars['Float']['input'];
|
|
3671
|
+
calculateOnItemsOnly: Scalars['Boolean']['input'];
|
|
3672
|
+
code: Scalars['String']['input'];
|
|
3673
|
+
id: Scalars['ID']['input'];
|
|
3674
|
+
maxAmount?: InputMaybe<Scalars['Float']['input']>;
|
|
3675
|
+
type: DiscountType;
|
|
3676
|
+
usageLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
3677
|
+
validFrom?: InputMaybe<Scalars['luxon']['input']>;
|
|
3678
|
+
validUntil?: InputMaybe<Scalars['luxon']['input']>;
|
|
3679
|
+
};
|
|
3741
3680
|
export type UpdateEventContentInput = {
|
|
3742
3681
|
id: Scalars['ID']['input'];
|
|
3743
3682
|
image?: InputMaybe<Scalars['Upload']['input']>;
|
|
@@ -3789,8 +3728,14 @@ export type UpdateOrderItemInput = {
|
|
|
3789
3728
|
id: Scalars['ID']['input'];
|
|
3790
3729
|
productId?: InputMaybe<Scalars['ID']['input']>;
|
|
3791
3730
|
refundType?: InputMaybe<RefundType>;
|
|
3731
|
+
seats?: InputMaybe<Array<UpdateOrderItemSeatInput>>;
|
|
3792
3732
|
sendEmail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3793
3733
|
};
|
|
3734
|
+
export type UpdateOrderItemSeatInput = {
|
|
3735
|
+
seatAmount: Scalars['Int']['input'];
|
|
3736
|
+
seatId: Scalars['ID']['input'];
|
|
3737
|
+
seatLabel: Scalars['String']['input'];
|
|
3738
|
+
};
|
|
3794
3739
|
export type UpdateOrganizationContentInput = {
|
|
3795
3740
|
image?: InputMaybe<Scalars['Upload']['input']>;
|
|
3796
3741
|
};
|
|
@@ -3872,6 +3817,7 @@ export type UpdateProductInput = {
|
|
|
3872
3817
|
discountPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
3873
3818
|
emailDescriptionConfirmation?: InputMaybe<Scalars['String']['input']>;
|
|
3874
3819
|
emailDescriptionInvitation?: InputMaybe<Scalars['String']['input']>;
|
|
3820
|
+
enableQrCode?: Scalars['Boolean']['input'];
|
|
3875
3821
|
endSalesAt?: InputMaybe<Scalars['luxon']['input']>;
|
|
3876
3822
|
endValidityAt?: InputMaybe<Scalars['luxon']['input']>;
|
|
3877
3823
|
extraInfo?: InputMaybe<Array<KeyValuePairInput>>;
|
|
@@ -3904,19 +3850,6 @@ export type UpdateProfileInput = {
|
|
|
3904
3850
|
lastName: Scalars['String']['input'];
|
|
3905
3851
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
3906
3852
|
};
|
|
3907
|
-
export type UpdateReportConfigurationInput = {
|
|
3908
|
-
cronExpression?: InputMaybe<Scalars['String']['input']>;
|
|
3909
|
-
deliveryMethod?: InputMaybe<ReportDeliveryMethod>;
|
|
3910
|
-
deliverySettings?: InputMaybe<DeliverySettingsInput>;
|
|
3911
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
3912
|
-
filters?: InputMaybe<ReportFiltersInput>;
|
|
3913
|
-
format?: InputMaybe<ReportFormat>;
|
|
3914
|
-
id: Scalars['ID']['input'];
|
|
3915
|
-
metrics?: InputMaybe<ReportMetricsInput>;
|
|
3916
|
-
name?: InputMaybe<Scalars['String']['input']>;
|
|
3917
|
-
reportWindowMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
3918
|
-
status?: InputMaybe<ReportStatus>;
|
|
3919
|
-
};
|
|
3920
3853
|
export type UpdateRoleInput = {
|
|
3921
3854
|
id: Scalars['ID']['input'];
|
|
3922
3855
|
name: Scalars['String']['input'];
|
|
@@ -4058,601 +3991,28 @@ export type ViewStatistic = {
|
|
|
4058
3991
|
total: Scalars['Int']['output'];
|
|
4059
3992
|
unique: Scalars['Int']['output'];
|
|
4060
3993
|
};
|
|
4061
|
-
export
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
firstName?: string | null;
|
|
4074
|
-
lastName?: string | null;
|
|
4075
|
-
email?: string | null;
|
|
4076
|
-
age?: number | null;
|
|
4077
|
-
gender?: string | null;
|
|
4078
|
-
residence?: string | null;
|
|
4079
|
-
extraInfo?: Array<{
|
|
4080
|
-
__typename?: 'KeyValuePair';
|
|
4081
|
-
key: string;
|
|
4082
|
-
value: string;
|
|
4083
|
-
}> | null;
|
|
4084
|
-
} | null;
|
|
4085
|
-
soldByUser?: {
|
|
4086
|
-
__typename?: 'User';
|
|
4087
|
-
id: string;
|
|
4088
|
-
firstName?: string | null;
|
|
4089
|
-
lastName?: string | null;
|
|
4090
|
-
avatar?: string | null;
|
|
4091
|
-
} | null;
|
|
4092
|
-
organization: {
|
|
4093
|
-
__typename?: 'Organization';
|
|
4094
|
-
id: string;
|
|
4095
|
-
name: string;
|
|
4096
|
-
paymentBanner?: string | null;
|
|
4097
|
-
};
|
|
4098
|
-
items: Array<{
|
|
4099
|
-
__typename?: 'OrderItem';
|
|
4100
|
-
id: string;
|
|
4101
|
-
price?: number | null;
|
|
4102
|
-
depositPrice?: number | null;
|
|
4103
|
-
originalPrice?: number | null;
|
|
4104
|
-
serviceFee?: number | null;
|
|
4105
|
-
amount: number;
|
|
4106
|
-
amountPending: number;
|
|
4107
|
-
expiredAt?: any | null;
|
|
4108
|
-
event: {
|
|
4109
|
-
__typename?: 'Event';
|
|
4110
|
-
id: string;
|
|
4111
|
-
name: string;
|
|
4112
|
-
startAt: any;
|
|
4113
|
-
endAt: any;
|
|
4114
|
-
timezone: string;
|
|
4115
|
-
icon?: string | null;
|
|
4116
|
-
banner?: string | null;
|
|
4117
|
-
location?: {
|
|
4118
|
-
__typename?: 'Location';
|
|
4119
|
-
id: string;
|
|
4120
|
-
name: string;
|
|
4121
|
-
address: string;
|
|
4122
|
-
} | null;
|
|
4123
|
-
};
|
|
4124
|
-
product?: {
|
|
4125
|
-
__typename?: 'Product';
|
|
4126
|
-
id: string;
|
|
4127
|
-
name: string;
|
|
4128
|
-
icon?: string | null;
|
|
4129
|
-
description?: string | null;
|
|
4130
|
-
type: ProductType;
|
|
4131
|
-
discountPrice?: number | null;
|
|
4132
|
-
} | null;
|
|
4133
|
-
packageItem?: {
|
|
4134
|
-
__typename?: 'PackageItem';
|
|
4135
|
-
id: string;
|
|
4136
|
-
package: {
|
|
4137
|
-
__typename?: 'Package';
|
|
4138
|
-
id: string;
|
|
4139
|
-
name: string;
|
|
4140
|
-
};
|
|
4141
|
-
} | null;
|
|
4142
|
-
seats?: Array<{
|
|
4143
|
-
__typename?: 'Seat';
|
|
4144
|
-
id: string;
|
|
4145
|
-
label: string;
|
|
4146
|
-
}> | null;
|
|
4147
|
-
}>;
|
|
4148
|
-
} | null;
|
|
4149
|
-
};
|
|
4150
|
-
export type AddToOrderMutationVariables = Exact<{
|
|
4151
|
-
orderId: Scalars['ID']['input'];
|
|
4152
|
-
productId: Scalars['ID']['input'];
|
|
4153
|
-
shopId: Scalars['ID']['input'];
|
|
4154
|
-
additionalData?: InputMaybe<AdditionalDataInput>;
|
|
4155
|
-
trackerId?: InputMaybe<Scalars['ID']['input']>;
|
|
4156
|
-
amount?: InputMaybe<Scalars['Int']['input']>;
|
|
4157
|
-
}>;
|
|
4158
|
-
export type AddToOrderMutation = {
|
|
4159
|
-
__typename?: 'Mutation';
|
|
4160
|
-
reserveProduct: {
|
|
4161
|
-
__typename?: 'OrderItemReserveOutput';
|
|
4162
|
-
orderId: string;
|
|
4163
|
-
expiredAt?: any | null;
|
|
4164
|
-
amountReserved: number;
|
|
3994
|
+
export declare const namedOperations: {
|
|
3995
|
+
Query: {
|
|
3996
|
+
findActiveOrderById: string;
|
|
3997
|
+
findAllPublicCategoriesByOrganizationId: string;
|
|
3998
|
+
findPublicCategoryById: string;
|
|
3999
|
+
EventOverviewPage: string;
|
|
4000
|
+
EventDetailPage: string;
|
|
4001
|
+
findProductsByEventId: string;
|
|
4002
|
+
findAllPublicPackagesByOrganizationId: string;
|
|
4003
|
+
findPublicPackageById: string;
|
|
4004
|
+
findPublicItemsByPackageId: string;
|
|
4005
|
+
findPaymentMethods: string;
|
|
4165
4006
|
};
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
releaseProduct?: {
|
|
4176
|
-
__typename?: 'OrderItemReleaseOutput';
|
|
4177
|
-
orderId: string;
|
|
4178
|
-
amountReleased: number;
|
|
4179
|
-
} | null;
|
|
4180
|
-
};
|
|
4181
|
-
export type ConfigurePackageMutationVariables = Exact<{
|
|
4182
|
-
orderId: Scalars['ID']['input'];
|
|
4183
|
-
packageId: Scalars['ID']['input'];
|
|
4184
|
-
amount: Scalars['Int']['input'];
|
|
4185
|
-
items: Array<ReservedItem> | ReservedItem;
|
|
4186
|
-
shopId: Scalars['ID']['input'];
|
|
4187
|
-
trackerId?: InputMaybe<Scalars['ID']['input']>;
|
|
4188
|
-
}>;
|
|
4189
|
-
export type ConfigurePackageMutation = {
|
|
4190
|
-
__typename?: 'Mutation';
|
|
4191
|
-
configurePackage?: {
|
|
4192
|
-
__typename?: 'OrderItemReserveOutput';
|
|
4193
|
-
orderId: string;
|
|
4194
|
-
expiredAt?: any | null;
|
|
4195
|
-
amountReserved: number;
|
|
4196
|
-
} | null;
|
|
4197
|
-
};
|
|
4198
|
-
export type ConfigureOrderDeliveryOptionMutationVariables = Exact<{
|
|
4199
|
-
orderId: Scalars['ID']['input'];
|
|
4200
|
-
productId?: InputMaybe<Scalars['ID']['input']>;
|
|
4201
|
-
}>;
|
|
4202
|
-
export type ConfigureOrderDeliveryOptionMutation = {
|
|
4203
|
-
__typename?: 'Mutation';
|
|
4204
|
-
configureDeliveryOption: boolean;
|
|
4205
|
-
};
|
|
4206
|
-
export type CreateOrderCustomerMutationVariables = Exact<{
|
|
4207
|
-
orderId: Scalars['ID']['input'];
|
|
4208
|
-
countryCode?: InputMaybe<Scalars['String']['input']>;
|
|
4209
|
-
customer: CreateCustomerInput;
|
|
4210
|
-
}>;
|
|
4211
|
-
export type CreateOrderCustomerMutation = {
|
|
4212
|
-
__typename?: 'Mutation';
|
|
4213
|
-
createOrderCustomer: boolean;
|
|
4214
|
-
};
|
|
4215
|
-
export type DeleteOrderMutationVariables = Exact<{
|
|
4216
|
-
orderId: Scalars['ID']['input'];
|
|
4217
|
-
}>;
|
|
4218
|
-
export type DeleteOrderMutation = {
|
|
4219
|
-
__typename?: 'Mutation';
|
|
4220
|
-
cancelOrder: boolean;
|
|
4221
|
-
};
|
|
4222
|
-
export type EventOverviewPageQueryVariables = Exact<{
|
|
4223
|
-
organizationId: Scalars['ID']['input'];
|
|
4224
|
-
locationIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
4225
|
-
hostingIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
4226
|
-
trackerId?: InputMaybe<Scalars['String']['input']>;
|
|
4227
|
-
showDoorTickets?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4228
|
-
eventIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
4229
|
-
filterEventStatuses?: InputMaybe<Array<EventStatus> | EventStatus>;
|
|
4230
|
-
dateRange?: InputMaybe<DateRangeInput>;
|
|
4231
|
-
page?: InputMaybe<PageInput>;
|
|
4232
|
-
sorts?: InputMaybe<Array<SortInput> | SortInput>;
|
|
4233
|
-
}>;
|
|
4234
|
-
export type EventOverviewPageQuery = {
|
|
4235
|
-
__typename?: 'Query';
|
|
4236
|
-
findAllPublicEventByOrganizationId: {
|
|
4237
|
-
__typename?: 'PaginatedEvent';
|
|
4238
|
-
count: number;
|
|
4239
|
-
data: Array<{
|
|
4240
|
-
__typename?: 'Event';
|
|
4241
|
-
id: string;
|
|
4242
|
-
name: string;
|
|
4243
|
-
icon?: string | null;
|
|
4244
|
-
banner?: string | null;
|
|
4245
|
-
description?: string | null;
|
|
4246
|
-
addonDescription?: string | null;
|
|
4247
|
-
startingPrice?: number | null;
|
|
4248
|
-
startAt: any;
|
|
4249
|
-
endAt: any;
|
|
4250
|
-
timezone: string;
|
|
4251
|
-
startSalesAt?: any | null;
|
|
4252
|
-
endSalesAt?: any | null;
|
|
4253
|
-
slug?: string | null;
|
|
4254
|
-
facebookPixelId?: string | null;
|
|
4255
|
-
status: EventStatus;
|
|
4256
|
-
infoDescription?: string | null;
|
|
4257
|
-
location?: {
|
|
4258
|
-
__typename?: 'Location';
|
|
4259
|
-
id: string;
|
|
4260
|
-
name: string;
|
|
4261
|
-
address: string;
|
|
4262
|
-
} | null;
|
|
4263
|
-
}>;
|
|
4264
|
-
};
|
|
4265
|
-
};
|
|
4266
|
-
export type FindProductsByEventIdQueryVariables = Exact<{
|
|
4267
|
-
eventId: Scalars['ID']['input'];
|
|
4268
|
-
promoCode?: InputMaybe<Scalars['String']['input']>;
|
|
4269
|
-
trackerId?: InputMaybe<Scalars['String']['input']>;
|
|
4270
|
-
productTypes?: InputMaybe<Array<ProductType> | ProductType>;
|
|
4271
|
-
}>;
|
|
4272
|
-
export type FindProductsByEventIdQuery = {
|
|
4273
|
-
__typename?: 'Query';
|
|
4274
|
-
findPublicProductsByEventId: Array<{
|
|
4275
|
-
__typename?: 'Product';
|
|
4276
|
-
id: string;
|
|
4277
|
-
icon?: string | null;
|
|
4278
|
-
name: string;
|
|
4279
|
-
description?: string | null;
|
|
4280
|
-
currency: Currency;
|
|
4281
|
-
price?: number | null;
|
|
4282
|
-
depositPrice?: number | null;
|
|
4283
|
-
discountPrice?: number | null;
|
|
4284
|
-
serviceFee?: number | null;
|
|
4285
|
-
type: ProductType;
|
|
4286
|
-
startSalesAt?: any | null;
|
|
4287
|
-
endSalesAt?: any | null;
|
|
4288
|
-
status: ProductStatus;
|
|
4289
|
-
maxAmountOfAddons?: number | null;
|
|
4290
|
-
minAmountOfAddons?: number | null;
|
|
4291
|
-
seatsCategory?: string | null;
|
|
4292
|
-
maxAmountPerOrder?: number | null;
|
|
4293
|
-
showEndSalesAtTag: boolean;
|
|
4294
|
-
category?: {
|
|
4295
|
-
__typename?: 'Category';
|
|
4296
|
-
id: string;
|
|
4297
|
-
name: string;
|
|
4298
|
-
description?: string | null;
|
|
4299
|
-
order?: number | null;
|
|
4300
|
-
} | null;
|
|
4301
|
-
}>;
|
|
4302
|
-
};
|
|
4303
|
-
export type FindAllPackagesQueryVariables = Exact<{
|
|
4304
|
-
page?: InputMaybe<PageInput>;
|
|
4305
|
-
tab?: InputMaybe<PackageTabType>;
|
|
4306
|
-
statuses?: InputMaybe<Array<PackageStatus> | PackageStatus>;
|
|
4307
|
-
}>;
|
|
4308
|
-
export type FindAllPackagesQuery = {
|
|
4309
|
-
__typename?: 'Query';
|
|
4310
|
-
findAllPackages: {
|
|
4311
|
-
__typename?: 'PaginatedPackage';
|
|
4312
|
-
count: number;
|
|
4313
|
-
data: Array<{
|
|
4314
|
-
__typename?: 'Package';
|
|
4315
|
-
id: string;
|
|
4316
|
-
slug: string;
|
|
4317
|
-
status: PackageStatus;
|
|
4318
|
-
name: string;
|
|
4319
|
-
description?: string | null;
|
|
4320
|
-
shortTitle?: string | null;
|
|
4321
|
-
shortDescription?: string | null;
|
|
4322
|
-
startAvailabilityAt?: any | null;
|
|
4323
|
-
endAvailabilityAt?: any | null;
|
|
4324
|
-
maxAmountOfPersonsPerOrder?: number | null;
|
|
4325
|
-
icon?: string | null;
|
|
4326
|
-
banner?: string | null;
|
|
4327
|
-
currency: Currency;
|
|
4328
|
-
amountOfEvents: number;
|
|
4329
|
-
amountOfAddons: number;
|
|
4330
|
-
allowedPaymentTypes: Array<PaymentType>;
|
|
4331
|
-
prices: {
|
|
4332
|
-
__typename?: 'PackagePrices';
|
|
4333
|
-
price: number;
|
|
4334
|
-
deposit?: number | null;
|
|
4335
|
-
discount?: number | null;
|
|
4336
|
-
serviceFee: number;
|
|
4337
|
-
};
|
|
4338
|
-
}>;
|
|
4007
|
+
Mutation: {
|
|
4008
|
+
addToOrder: string;
|
|
4009
|
+
removeFromOrder: string;
|
|
4010
|
+
configurePackage: string;
|
|
4011
|
+
reserveAdditionalPackageItem: string;
|
|
4012
|
+
configureOrderDeliveryOption: string;
|
|
4013
|
+
createOrderCustomer: string;
|
|
4014
|
+
deleteOrder: string;
|
|
4015
|
+
createDigitalPayment: string;
|
|
4339
4016
|
};
|
|
4340
4017
|
};
|
|
4341
|
-
|
|
4342
|
-
packageId: Scalars['ID']['input'];
|
|
4343
|
-
types?: InputMaybe<Array<PackageItemType> | PackageItemType>;
|
|
4344
|
-
}>;
|
|
4345
|
-
export type FindAllPackageItemsQuery = {
|
|
4346
|
-
__typename?: 'Query';
|
|
4347
|
-
findAllPackageItems: {
|
|
4348
|
-
__typename?: 'PaginatedPackageItem';
|
|
4349
|
-
count: number;
|
|
4350
|
-
data: Array<{
|
|
4351
|
-
__typename?: 'PackageItem';
|
|
4352
|
-
id: string;
|
|
4353
|
-
name: string;
|
|
4354
|
-
description?: string | null;
|
|
4355
|
-
type: PackageItemType;
|
|
4356
|
-
price?: number | null;
|
|
4357
|
-
depositPrice?: number | null;
|
|
4358
|
-
discountPrice?: number | null;
|
|
4359
|
-
serviceFee?: number | null;
|
|
4360
|
-
banner?: string | null;
|
|
4361
|
-
package: {
|
|
4362
|
-
__typename?: 'Package';
|
|
4363
|
-
id: string;
|
|
4364
|
-
name: string;
|
|
4365
|
-
};
|
|
4366
|
-
activeEvents: Array<{
|
|
4367
|
-
__typename?: 'Event';
|
|
4368
|
-
id: string;
|
|
4369
|
-
name: string;
|
|
4370
|
-
startAt: any;
|
|
4371
|
-
endAt: any;
|
|
4372
|
-
timezone: string;
|
|
4373
|
-
icon?: string | null;
|
|
4374
|
-
banner?: string | null;
|
|
4375
|
-
location?: {
|
|
4376
|
-
__typename?: 'Location';
|
|
4377
|
-
id: string;
|
|
4378
|
-
name: string;
|
|
4379
|
-
address: string;
|
|
4380
|
-
} | null;
|
|
4381
|
-
}>;
|
|
4382
|
-
}>;
|
|
4383
|
-
};
|
|
4384
|
-
};
|
|
4385
|
-
export type SetPackageItemToOrderMutationVariables = Exact<{
|
|
4386
|
-
sessionId: Scalars['ID']['input'];
|
|
4387
|
-
amount: Scalars['Int']['input'];
|
|
4388
|
-
items: Array<SetPackageItem> | SetPackageItem;
|
|
4389
|
-
}>;
|
|
4390
|
-
export type SetPackageItemToOrderMutation = {
|
|
4391
|
-
__typename?: 'Mutation';
|
|
4392
|
-
setPackageItemToOrder?: {
|
|
4393
|
-
__typename?: 'Order';
|
|
4394
|
-
id: string;
|
|
4395
|
-
currency: Currency;
|
|
4396
|
-
items: Array<{
|
|
4397
|
-
__typename?: 'OrderItem';
|
|
4398
|
-
id: string;
|
|
4399
|
-
price?: number | null;
|
|
4400
|
-
depositPrice?: number | null;
|
|
4401
|
-
originalPrice?: number | null;
|
|
4402
|
-
serviceFee?: number | null;
|
|
4403
|
-
amount: number;
|
|
4404
|
-
expiredAt?: any | null;
|
|
4405
|
-
event: {
|
|
4406
|
-
__typename?: 'Event';
|
|
4407
|
-
id: string;
|
|
4408
|
-
name: string;
|
|
4409
|
-
startAt: any;
|
|
4410
|
-
endAt: any;
|
|
4411
|
-
timezone: string;
|
|
4412
|
-
icon?: string | null;
|
|
4413
|
-
banner?: string | null;
|
|
4414
|
-
location?: {
|
|
4415
|
-
__typename?: 'Location';
|
|
4416
|
-
id: string;
|
|
4417
|
-
name: string;
|
|
4418
|
-
address: string;
|
|
4419
|
-
} | null;
|
|
4420
|
-
};
|
|
4421
|
-
product?: {
|
|
4422
|
-
__typename?: 'Product';
|
|
4423
|
-
id: string;
|
|
4424
|
-
name: string;
|
|
4425
|
-
icon?: string | null;
|
|
4426
|
-
description?: string | null;
|
|
4427
|
-
type: ProductType;
|
|
4428
|
-
} | null;
|
|
4429
|
-
packageItem?: {
|
|
4430
|
-
__typename?: 'PackageItem';
|
|
4431
|
-
id: string;
|
|
4432
|
-
name: string;
|
|
4433
|
-
type: PackageItemType;
|
|
4434
|
-
package: {
|
|
4435
|
-
__typename?: 'Package';
|
|
4436
|
-
id: string;
|
|
4437
|
-
name: string;
|
|
4438
|
-
};
|
|
4439
|
-
} | null;
|
|
4440
|
-
seats?: Array<{
|
|
4441
|
-
__typename?: 'Seat';
|
|
4442
|
-
id: string;
|
|
4443
|
-
label: string;
|
|
4444
|
-
}> | null;
|
|
4445
|
-
}>;
|
|
4446
|
-
} | null;
|
|
4447
|
-
};
|
|
4448
|
-
export type SetAdditionalPackageItemToOrderMutationVariables = Exact<{
|
|
4449
|
-
sessionId: Scalars['ID']['input'];
|
|
4450
|
-
packageItemId: Scalars['ID']['input'];
|
|
4451
|
-
eventId: Scalars['ID']['input'];
|
|
4452
|
-
amount: Scalars['Int']['input'];
|
|
4453
|
-
}>;
|
|
4454
|
-
export type SetAdditionalPackageItemToOrderMutation = {
|
|
4455
|
-
__typename?: 'Mutation';
|
|
4456
|
-
setAdditionalPackageItemToOrder?: {
|
|
4457
|
-
__typename?: 'Order';
|
|
4458
|
-
id: string;
|
|
4459
|
-
currency: Currency;
|
|
4460
|
-
items: Array<{
|
|
4461
|
-
__typename?: 'OrderItem';
|
|
4462
|
-
id: string;
|
|
4463
|
-
price?: number | null;
|
|
4464
|
-
depositPrice?: number | null;
|
|
4465
|
-
originalPrice?: number | null;
|
|
4466
|
-
serviceFee?: number | null;
|
|
4467
|
-
amount: number;
|
|
4468
|
-
expiredAt?: any | null;
|
|
4469
|
-
event: {
|
|
4470
|
-
__typename?: 'Event';
|
|
4471
|
-
id: string;
|
|
4472
|
-
name: string;
|
|
4473
|
-
startAt: any;
|
|
4474
|
-
endAt: any;
|
|
4475
|
-
timezone: string;
|
|
4476
|
-
};
|
|
4477
|
-
product?: {
|
|
4478
|
-
__typename?: 'Product';
|
|
4479
|
-
id: string;
|
|
4480
|
-
name: string;
|
|
4481
|
-
type: ProductType;
|
|
4482
|
-
} | null;
|
|
4483
|
-
packageItem?: {
|
|
4484
|
-
__typename?: 'PackageItem';
|
|
4485
|
-
id: string;
|
|
4486
|
-
name: string;
|
|
4487
|
-
type: PackageItemType;
|
|
4488
|
-
package: {
|
|
4489
|
-
__typename?: 'Package';
|
|
4490
|
-
id: string;
|
|
4491
|
-
name: string;
|
|
4492
|
-
};
|
|
4493
|
-
} | null;
|
|
4494
|
-
}>;
|
|
4495
|
-
} | null;
|
|
4496
|
-
};
|
|
4497
|
-
export type FindAllPublicPackagesByOrganizationIdQueryVariables = Exact<{
|
|
4498
|
-
organizationId: Scalars['ID']['input'];
|
|
4499
|
-
page?: InputMaybe<PageInput>;
|
|
4500
|
-
tab?: InputMaybe<PackageTabType>;
|
|
4501
|
-
statuses?: InputMaybe<Array<PackageStatus> | PackageStatus>;
|
|
4502
|
-
}>;
|
|
4503
|
-
export type FindAllPublicPackagesByOrganizationIdQuery = {
|
|
4504
|
-
__typename?: 'Query';
|
|
4505
|
-
findAllPublicPackagesByOrganizationId: {
|
|
4506
|
-
__typename?: 'PaginatedPackage';
|
|
4507
|
-
count: number;
|
|
4508
|
-
data: Array<{
|
|
4509
|
-
__typename?: 'Package';
|
|
4510
|
-
id: string;
|
|
4511
|
-
slug: string;
|
|
4512
|
-
status: PackageStatus;
|
|
4513
|
-
name: string;
|
|
4514
|
-
description?: string | null;
|
|
4515
|
-
shortTitle?: string | null;
|
|
4516
|
-
shortDescription?: string | null;
|
|
4517
|
-
startAvailabilityAt?: any | null;
|
|
4518
|
-
endAvailabilityAt?: any | null;
|
|
4519
|
-
maxAmountOfPersonsPerOrder?: number | null;
|
|
4520
|
-
icon?: string | null;
|
|
4521
|
-
banner?: string | null;
|
|
4522
|
-
currency: Currency;
|
|
4523
|
-
amountOfEvents: number;
|
|
4524
|
-
amountOfAddons: number;
|
|
4525
|
-
prices: {
|
|
4526
|
-
__typename?: 'PackagePrices';
|
|
4527
|
-
price: number;
|
|
4528
|
-
deposit?: number | null;
|
|
4529
|
-
discount?: number | null;
|
|
4530
|
-
serviceFee: number;
|
|
4531
|
-
};
|
|
4532
|
-
}>;
|
|
4533
|
-
};
|
|
4534
|
-
};
|
|
4535
|
-
export type FindPublicItemsByPackageIdQueryVariables = Exact<{
|
|
4536
|
-
packageId: Scalars['ID']['input'];
|
|
4537
|
-
types?: InputMaybe<Array<PackageItemType> | PackageItemType>;
|
|
4538
|
-
page?: InputMaybe<PageInput>;
|
|
4539
|
-
}>;
|
|
4540
|
-
export type FindPublicItemsByPackageIdQuery = {
|
|
4541
|
-
__typename?: 'Query';
|
|
4542
|
-
findPublicItemsByPackageId: {
|
|
4543
|
-
__typename?: 'PaginatedPackageItem';
|
|
4544
|
-
count: number;
|
|
4545
|
-
data: Array<{
|
|
4546
|
-
__typename?: 'PackageItem';
|
|
4547
|
-
id: string;
|
|
4548
|
-
name: string;
|
|
4549
|
-
description?: string | null;
|
|
4550
|
-
type: PackageItemType;
|
|
4551
|
-
price?: number | null;
|
|
4552
|
-
depositPrice?: number | null;
|
|
4553
|
-
discountPrice?: number | null;
|
|
4554
|
-
serviceFee?: number | null;
|
|
4555
|
-
banner?: string | null;
|
|
4556
|
-
package: {
|
|
4557
|
-
__typename?: 'Package';
|
|
4558
|
-
id: string;
|
|
4559
|
-
name: string;
|
|
4560
|
-
};
|
|
4561
|
-
activeEvents: Array<{
|
|
4562
|
-
__typename?: 'Event';
|
|
4563
|
-
id: string;
|
|
4564
|
-
name: string;
|
|
4565
|
-
startAt: any;
|
|
4566
|
-
endAt: any;
|
|
4567
|
-
timezone: string;
|
|
4568
|
-
icon?: string | null;
|
|
4569
|
-
banner?: string | null;
|
|
4570
|
-
location?: {
|
|
4571
|
-
__typename?: 'Location';
|
|
4572
|
-
id: string;
|
|
4573
|
-
name: string;
|
|
4574
|
-
address: string;
|
|
4575
|
-
} | null;
|
|
4576
|
-
}>;
|
|
4577
|
-
}>;
|
|
4578
|
-
};
|
|
4579
|
-
};
|
|
4580
|
-
export type FindPaymentMethodsQueryVariables = Exact<{
|
|
4581
|
-
orderId: Scalars['ID']['input'];
|
|
4582
|
-
orderItemId?: InputMaybe<Scalars['String']['input']>;
|
|
4583
|
-
amountOfTickets?: InputMaybe<Scalars['Int']['input']>;
|
|
4584
|
-
paymentMethodId?: InputMaybe<Scalars['String']['input']>;
|
|
4585
|
-
}>;
|
|
4586
|
-
export type FindPaymentMethodsQuery = {
|
|
4587
|
-
__typename?: 'Query';
|
|
4588
|
-
findPaymentDetails: {
|
|
4589
|
-
__typename?: 'PaymentDetails';
|
|
4590
|
-
transactionPrice: number;
|
|
4591
|
-
baseTransactionFee?: number | null;
|
|
4592
|
-
additionalTransactionFee?: number | null;
|
|
4593
|
-
methods?: Array<{
|
|
4594
|
-
__typename?: 'PaymentMethod';
|
|
4595
|
-
id: number;
|
|
4596
|
-
name: string;
|
|
4597
|
-
image: string;
|
|
4598
|
-
fee?: {
|
|
4599
|
-
__typename?: 'PaymentMethodFee';
|
|
4600
|
-
type: PaymentMethodFeeType;
|
|
4601
|
-
value: number;
|
|
4602
|
-
} | null;
|
|
4603
|
-
issuers?: Array<{
|
|
4604
|
-
__typename?: 'PaymentMethodInfo';
|
|
4605
|
-
id: number;
|
|
4606
|
-
name: string;
|
|
4607
|
-
image: string;
|
|
4608
|
-
}> | null;
|
|
4609
|
-
}> | null;
|
|
4610
|
-
};
|
|
4611
|
-
};
|
|
4612
|
-
export type CreateDigitalPaymentMutationVariables = Exact<{
|
|
4613
|
-
input: CreateDigitalOrderPaymentInput;
|
|
4614
|
-
}>;
|
|
4615
|
-
export type CreateDigitalPaymentMutation = {
|
|
4616
|
-
__typename?: 'Mutation';
|
|
4617
|
-
createDigitalOrderPayment: string;
|
|
4618
|
-
};
|
|
4619
|
-
export declare const FindActiveOrderByIdDocument: import("graphql").DocumentNode;
|
|
4620
|
-
export declare const AddToOrderDocument: import("graphql").DocumentNode;
|
|
4621
|
-
export declare const RemoveFromOrderDocument: import("graphql").DocumentNode;
|
|
4622
|
-
export declare const ConfigurePackageDocument: import("graphql").DocumentNode;
|
|
4623
|
-
export declare const ConfigureOrderDeliveryOptionDocument: import("graphql").DocumentNode;
|
|
4624
|
-
export declare const CreateOrderCustomerDocument: import("graphql").DocumentNode;
|
|
4625
|
-
export declare const DeleteOrderDocument: import("graphql").DocumentNode;
|
|
4626
|
-
export declare const EventOverviewPageDocument: import("graphql").DocumentNode;
|
|
4627
|
-
export declare const FindProductsByEventIdDocument: import("graphql").DocumentNode;
|
|
4628
|
-
export declare const FindAllPackagesDocument: import("graphql").DocumentNode;
|
|
4629
|
-
export declare const FindAllPackageItemsDocument: import("graphql").DocumentNode;
|
|
4630
|
-
export declare const SetPackageItemToOrderDocument: import("graphql").DocumentNode;
|
|
4631
|
-
export declare const SetAdditionalPackageItemToOrderDocument: import("graphql").DocumentNode;
|
|
4632
|
-
export declare const FindAllPublicPackagesByOrganizationIdDocument: import("graphql").DocumentNode;
|
|
4633
|
-
export declare const FindPublicItemsByPackageIdDocument: import("graphql").DocumentNode;
|
|
4634
|
-
export declare const FindPaymentMethodsDocument: import("graphql").DocumentNode;
|
|
4635
|
-
export declare const CreateDigitalPaymentDocument: import("graphql").DocumentNode;
|
|
4636
|
-
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
4637
|
-
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
4638
|
-
findActiveOrderById(variables?: FindActiveOrderByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindActiveOrderByIdQuery>;
|
|
4639
|
-
addToOrder(variables: AddToOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AddToOrderMutation>;
|
|
4640
|
-
removeFromOrder(variables: RemoveFromOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RemoveFromOrderMutation>;
|
|
4641
|
-
configurePackage(variables: ConfigurePackageMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ConfigurePackageMutation>;
|
|
4642
|
-
configureOrderDeliveryOption(variables: ConfigureOrderDeliveryOptionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ConfigureOrderDeliveryOptionMutation>;
|
|
4643
|
-
createOrderCustomer(variables: CreateOrderCustomerMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateOrderCustomerMutation>;
|
|
4644
|
-
deleteOrder(variables: DeleteOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteOrderMutation>;
|
|
4645
|
-
EventOverviewPage(variables: EventOverviewPageQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EventOverviewPageQuery>;
|
|
4646
|
-
findProductsByEventId(variables: FindProductsByEventIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindProductsByEventIdQuery>;
|
|
4647
|
-
findAllPackages(variables?: FindAllPackagesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAllPackagesQuery>;
|
|
4648
|
-
findAllPackageItems(variables: FindAllPackageItemsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAllPackageItemsQuery>;
|
|
4649
|
-
setPackageItemToOrder(variables: SetPackageItemToOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetPackageItemToOrderMutation>;
|
|
4650
|
-
setAdditionalPackageItemToOrder(variables: SetAdditionalPackageItemToOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetAdditionalPackageItemToOrderMutation>;
|
|
4651
|
-
findAllPublicPackagesByOrganizationId(variables: FindAllPublicPackagesByOrganizationIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAllPublicPackagesByOrganizationIdQuery>;
|
|
4652
|
-
findPublicItemsByPackageId(variables: FindPublicItemsByPackageIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindPublicItemsByPackageIdQuery>;
|
|
4653
|
-
findPaymentMethods(variables: FindPaymentMethodsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindPaymentMethodsQuery>;
|
|
4654
|
-
createDigitalPayment(variables: CreateDigitalPaymentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateDigitalPaymentMutation>;
|
|
4655
|
-
};
|
|
4656
|
-
export type Sdk = ReturnType<typeof getSdk>;
|
|
4657
|
-
export {};
|
|
4658
|
-
//# sourceMappingURL=generated.d.ts.map
|
|
4018
|
+
//# sourceMappingURL=types.generated.d.ts.map
|