-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
4166 lines (3665 loc) · 156 KB
/
types.ts
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
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string; }
String: { input: string; output: string; }
Boolean: { input: boolean; output: boolean; }
Int: { input: number; output: number; }
Float: { input: number; output: number; }
BigFloat: { input: any; output: any; }
Date: { input: any; output: any; }
Datetime: { input: any; output: any; }
Year: { input: any; output: any; }
};
export type Actor = Node & {
__typename?: 'Actor';
actorId: Scalars['Int']['output'];
/** Reads and enables pagination through a set of `FilmActor`. */
filmActorsByActorIdList: Array<FilmActor>;
firstName: Scalars['String']['output'];
/** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
id: Scalars['ID']['output'];
lastName: Scalars['String']['output'];
lastUpdate: Scalars['Datetime']['output'];
};
export type ActorFilmActorsByActorIdListArgs = {
condition?: InputMaybe<FilmActorCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<FilmActorsOrderBy>>;
};
/** A condition to be used against `Actor` object types. All fields are tested for equality and combined with a logical ‘and.’ */
export type ActorCondition = {
/** Checks for equality with the object’s `actorId` field. */
actorId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `firstName` field. */
firstName?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `lastName` field. */
lastName?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `lastUpdate` field. */
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
export type ActorInfo = {
__typename?: 'ActorInfo';
actorId?: Maybe<Scalars['Int']['output']>;
filmInfo?: Maybe<Scalars['String']['output']>;
firstName?: Maybe<Scalars['String']['output']>;
lastName?: Maybe<Scalars['String']['output']>;
};
/**
* A condition to be used against `ActorInfo` object types. All fields are tested
* for equality and combined with a logical ‘and.’
*/
export type ActorInfoCondition = {
/** Checks for equality with the object’s `actorId` field. */
actorId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `filmInfo` field. */
filmInfo?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `firstName` field. */
firstName?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `lastName` field. */
lastName?: InputMaybe<Scalars['String']['input']>;
};
/** Methods to use when ordering `ActorInfo`. */
export enum ActorInfosOrderBy {
ActorIdAsc = 'ACTOR_ID_ASC',
ActorIdDesc = 'ACTOR_ID_DESC',
FilmInfoAsc = 'FILM_INFO_ASC',
FilmInfoDesc = 'FILM_INFO_DESC',
FirstNameAsc = 'FIRST_NAME_ASC',
FirstNameDesc = 'FIRST_NAME_DESC',
LastNameAsc = 'LAST_NAME_ASC',
LastNameDesc = 'LAST_NAME_DESC',
Natural = 'NATURAL'
}
/** An input for mutations affecting `Actor` */
export type ActorInput = {
actorId?: InputMaybe<Scalars['Int']['input']>;
firstName: Scalars['String']['input'];
lastName: Scalars['String']['input'];
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** Represents an update to a `Actor`. Fields that are set will be updated. */
export type ActorPatch = {
actorId?: InputMaybe<Scalars['Int']['input']>;
firstName?: InputMaybe<Scalars['String']['input']>;
lastName?: InputMaybe<Scalars['String']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** Methods to use when ordering `Actor`. */
export enum ActorsOrderBy {
ActorIdAsc = 'ACTOR_ID_ASC',
ActorIdDesc = 'ACTOR_ID_DESC',
FirstNameAsc = 'FIRST_NAME_ASC',
FirstNameDesc = 'FIRST_NAME_DESC',
LastNameAsc = 'LAST_NAME_ASC',
LastNameDesc = 'LAST_NAME_DESC',
LastUpdateAsc = 'LAST_UPDATE_ASC',
LastUpdateDesc = 'LAST_UPDATE_DESC',
Natural = 'NATURAL',
PrimaryKeyAsc = 'PRIMARY_KEY_ASC',
PrimaryKeyDesc = 'PRIMARY_KEY_DESC'
}
export type Address = Node & {
__typename?: 'Address';
address: Scalars['String']['output'];
address2?: Maybe<Scalars['String']['output']>;
addressId: Scalars['Int']['output'];
/** Reads a single `City` that is related to this `Address`. */
cityByCityId?: Maybe<City>;
cityId: Scalars['Int']['output'];
/** Reads and enables pagination through a set of `Customer`. */
customersByAddressIdList: Array<Customer>;
district: Scalars['String']['output'];
/** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
id: Scalars['ID']['output'];
lastUpdate: Scalars['Datetime']['output'];
phone: Scalars['String']['output'];
postalCode?: Maybe<Scalars['String']['output']>;
/** Reads and enables pagination through a set of `Staff`. */
staffByAddressIdList: Array<Staff>;
/** Reads and enables pagination through a set of `Store`. */
storesByAddressIdList: Array<Store>;
};
export type AddressCustomersByAddressIdListArgs = {
condition?: InputMaybe<CustomerCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<CustomersOrderBy>>;
};
export type AddressStaffByAddressIdListArgs = {
condition?: InputMaybe<StaffCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<StaffOrderBy>>;
};
export type AddressStoresByAddressIdListArgs = {
condition?: InputMaybe<StoreCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<StoresOrderBy>>;
};
/** A condition to be used against `Address` object types. All fields are tested for equality and combined with a logical ‘and.’ */
export type AddressCondition = {
/** Checks for equality with the object’s `address` field. */
address?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `address2` field. */
address2?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `addressId` field. */
addressId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `cityId` field. */
cityId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `district` field. */
district?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `lastUpdate` field. */
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
/** Checks for equality with the object’s `phone` field. */
phone?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `postalCode` field. */
postalCode?: InputMaybe<Scalars['String']['input']>;
};
/** An input for mutations affecting `Address` */
export type AddressInput = {
address: Scalars['String']['input'];
address2?: InputMaybe<Scalars['String']['input']>;
addressId?: InputMaybe<Scalars['Int']['input']>;
cityId: Scalars['Int']['input'];
district: Scalars['String']['input'];
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
phone: Scalars['String']['input'];
postalCode?: InputMaybe<Scalars['String']['input']>;
};
/** Represents an update to a `Address`. Fields that are set will be updated. */
export type AddressPatch = {
address?: InputMaybe<Scalars['String']['input']>;
address2?: InputMaybe<Scalars['String']['input']>;
addressId?: InputMaybe<Scalars['Int']['input']>;
cityId?: InputMaybe<Scalars['Int']['input']>;
district?: InputMaybe<Scalars['String']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
phone?: InputMaybe<Scalars['String']['input']>;
postalCode?: InputMaybe<Scalars['String']['input']>;
};
/** Methods to use when ordering `Address`. */
export enum AddressesOrderBy {
Address2Asc = 'ADDRESS2_ASC',
Address2Desc = 'ADDRESS2_DESC',
AddressAsc = 'ADDRESS_ASC',
AddressDesc = 'ADDRESS_DESC',
AddressIdAsc = 'ADDRESS_ID_ASC',
AddressIdDesc = 'ADDRESS_ID_DESC',
CityIdAsc = 'CITY_ID_ASC',
CityIdDesc = 'CITY_ID_DESC',
DistrictAsc = 'DISTRICT_ASC',
DistrictDesc = 'DISTRICT_DESC',
LastUpdateAsc = 'LAST_UPDATE_ASC',
LastUpdateDesc = 'LAST_UPDATE_DESC',
Natural = 'NATURAL',
PhoneAsc = 'PHONE_ASC',
PhoneDesc = 'PHONE_DESC',
PostalCodeAsc = 'POSTAL_CODE_ASC',
PostalCodeDesc = 'POSTAL_CODE_DESC',
PrimaryKeyAsc = 'PRIMARY_KEY_ASC',
PrimaryKeyDesc = 'PRIMARY_KEY_DESC'
}
/** Methods to use when ordering `Category`. */
export enum CategoriesOrderBy {
CategoryIdAsc = 'CATEGORY_ID_ASC',
CategoryIdDesc = 'CATEGORY_ID_DESC',
LastUpdateAsc = 'LAST_UPDATE_ASC',
LastUpdateDesc = 'LAST_UPDATE_DESC',
NameAsc = 'NAME_ASC',
NameDesc = 'NAME_DESC',
Natural = 'NATURAL',
PrimaryKeyAsc = 'PRIMARY_KEY_ASC',
PrimaryKeyDesc = 'PRIMARY_KEY_DESC'
}
export type Category = Node & {
__typename?: 'Category';
categoryId: Scalars['Int']['output'];
/** Reads and enables pagination through a set of `FilmCategory`. */
filmCategoriesByCategoryIdList: Array<FilmCategory>;
/** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
id: Scalars['ID']['output'];
lastUpdate: Scalars['Datetime']['output'];
name: Scalars['String']['output'];
};
export type CategoryFilmCategoriesByCategoryIdListArgs = {
condition?: InputMaybe<FilmCategoryCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<FilmCategoriesOrderBy>>;
};
/**
* A condition to be used against `Category` object types. All fields are tested
* for equality and combined with a logical ‘and.’
*/
export type CategoryCondition = {
/** Checks for equality with the object’s `categoryId` field. */
categoryId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `lastUpdate` field. */
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
/** Checks for equality with the object’s `name` field. */
name?: InputMaybe<Scalars['String']['input']>;
};
/** An input for mutations affecting `Category` */
export type CategoryInput = {
categoryId?: InputMaybe<Scalars['Int']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
name: Scalars['String']['input'];
};
/** Represents an update to a `Category`. Fields that are set will be updated. */
export type CategoryPatch = {
categoryId?: InputMaybe<Scalars['Int']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
name?: InputMaybe<Scalars['String']['input']>;
};
/** Methods to use when ordering `City`. */
export enum CitiesOrderBy {
CityAsc = 'CITY_ASC',
CityDesc = 'CITY_DESC',
CityIdAsc = 'CITY_ID_ASC',
CityIdDesc = 'CITY_ID_DESC',
CountryIdAsc = 'COUNTRY_ID_ASC',
CountryIdDesc = 'COUNTRY_ID_DESC',
LastUpdateAsc = 'LAST_UPDATE_ASC',
LastUpdateDesc = 'LAST_UPDATE_DESC',
Natural = 'NATURAL',
PrimaryKeyAsc = 'PRIMARY_KEY_ASC',
PrimaryKeyDesc = 'PRIMARY_KEY_DESC'
}
export type City = Node & {
__typename?: 'City';
/** Reads and enables pagination through a set of `Address`. */
addressesByCityIdList: Array<Address>;
city: Scalars['String']['output'];
cityId: Scalars['Int']['output'];
/** Reads a single `Country` that is related to this `City`. */
countryByCountryId?: Maybe<Country>;
countryId: Scalars['Int']['output'];
/** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
id: Scalars['ID']['output'];
lastUpdate: Scalars['Datetime']['output'];
};
export type CityAddressesByCityIdListArgs = {
condition?: InputMaybe<AddressCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<AddressesOrderBy>>;
};
/** A condition to be used against `City` object types. All fields are tested for equality and combined with a logical ‘and.’ */
export type CityCondition = {
/** Checks for equality with the object’s `city` field. */
city?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `cityId` field. */
cityId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `countryId` field. */
countryId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `lastUpdate` field. */
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** An input for mutations affecting `City` */
export type CityInput = {
city: Scalars['String']['input'];
cityId?: InputMaybe<Scalars['Int']['input']>;
countryId: Scalars['Int']['input'];
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** Represents an update to a `City`. Fields that are set will be updated. */
export type CityPatch = {
city?: InputMaybe<Scalars['String']['input']>;
cityId?: InputMaybe<Scalars['Int']['input']>;
countryId?: InputMaybe<Scalars['Int']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** Methods to use when ordering `Country`. */
export enum CountriesOrderBy {
CountryAsc = 'COUNTRY_ASC',
CountryDesc = 'COUNTRY_DESC',
CountryIdAsc = 'COUNTRY_ID_ASC',
CountryIdDesc = 'COUNTRY_ID_DESC',
LastUpdateAsc = 'LAST_UPDATE_ASC',
LastUpdateDesc = 'LAST_UPDATE_DESC',
Natural = 'NATURAL',
PrimaryKeyAsc = 'PRIMARY_KEY_ASC',
PrimaryKeyDesc = 'PRIMARY_KEY_DESC'
}
export type Country = Node & {
__typename?: 'Country';
/** Reads and enables pagination through a set of `City`. */
citiesByCountryIdList: Array<City>;
country: Scalars['String']['output'];
countryId: Scalars['Int']['output'];
/** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
id: Scalars['ID']['output'];
lastUpdate: Scalars['Datetime']['output'];
};
export type CountryCitiesByCountryIdListArgs = {
condition?: InputMaybe<CityCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<CitiesOrderBy>>;
};
/** A condition to be used against `Country` object types. All fields are tested for equality and combined with a logical ‘and.’ */
export type CountryCondition = {
/** Checks for equality with the object’s `country` field. */
country?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `countryId` field. */
countryId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `lastUpdate` field. */
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** An input for mutations affecting `Country` */
export type CountryInput = {
country: Scalars['String']['input'];
countryId?: InputMaybe<Scalars['Int']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** Represents an update to a `Country`. Fields that are set will be updated. */
export type CountryPatch = {
country?: InputMaybe<Scalars['String']['input']>;
countryId?: InputMaybe<Scalars['Int']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
};
/** All input for the create `Actor` mutation. */
export type CreateActorInput = {
/** The `Actor` to be created by this mutation. */
actor: ActorInput;
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
};
/** The output of our create `Actor` mutation. */
export type CreateActorPayload = {
__typename?: 'CreateActorPayload';
/** The `Actor` that was created by this mutation. */
actor?: Maybe<Actor>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `Address` mutation. */
export type CreateAddressInput = {
/** The `Address` to be created by this mutation. */
address: AddressInput;
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
};
/** The output of our create `Address` mutation. */
export type CreateAddressPayload = {
__typename?: 'CreateAddressPayload';
/** The `Address` that was created by this mutation. */
address?: Maybe<Address>;
/** Reads a single `City` that is related to this `Address`. */
cityByCityId?: Maybe<City>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `Category` mutation. */
export type CreateCategoryInput = {
/** The `Category` to be created by this mutation. */
category: CategoryInput;
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
};
/** The output of our create `Category` mutation. */
export type CreateCategoryPayload = {
__typename?: 'CreateCategoryPayload';
/** The `Category` that was created by this mutation. */
category?: Maybe<Category>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `City` mutation. */
export type CreateCityInput = {
/** The `City` to be created by this mutation. */
city: CityInput;
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
};
/** The output of our create `City` mutation. */
export type CreateCityPayload = {
__typename?: 'CreateCityPayload';
/** The `City` that was created by this mutation. */
city?: Maybe<City>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Reads a single `Country` that is related to this `City`. */
countryByCountryId?: Maybe<Country>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `Country` mutation. */
export type CreateCountryInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Country` to be created by this mutation. */
country: CountryInput;
};
/** The output of our create `Country` mutation. */
export type CreateCountryPayload = {
__typename?: 'CreateCountryPayload';
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** The `Country` that was created by this mutation. */
country?: Maybe<Country>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `Customer` mutation. */
export type CreateCustomerInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Customer` to be created by this mutation. */
customer: CustomerInput;
};
/** The output of our create `Customer` mutation. */
export type CreateCustomerPayload = {
__typename?: 'CreateCustomerPayload';
/** Reads a single `Address` that is related to this `Customer`. */
addressByAddressId?: Maybe<Address>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** The `Customer` that was created by this mutation. */
customer?: Maybe<Customer>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
/** Reads a single `Store` that is related to this `Customer`. */
storeByStoreId?: Maybe<Store>;
};
/** All input for the create `FilmActor` mutation. */
export type CreateFilmActorInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `FilmActor` to be created by this mutation. */
filmActor: FilmActorInput;
};
/** The output of our create `FilmActor` mutation. */
export type CreateFilmActorPayload = {
__typename?: 'CreateFilmActorPayload';
/** Reads a single `Actor` that is related to this `FilmActor`. */
actorByActorId?: Maybe<Actor>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** The `FilmActor` that was created by this mutation. */
filmActor?: Maybe<FilmActor>;
/** Reads a single `Film` that is related to this `FilmActor`. */
filmByFilmId?: Maybe<Film>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `FilmCategory` mutation. */
export type CreateFilmCategoryInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `FilmCategory` to be created by this mutation. */
filmCategory: FilmCategoryInput;
};
/** The output of our create `FilmCategory` mutation. */
export type CreateFilmCategoryPayload = {
__typename?: 'CreateFilmCategoryPayload';
/** Reads a single `Category` that is related to this `FilmCategory`. */
categoryByCategoryId?: Maybe<Category>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Reads a single `Film` that is related to this `FilmCategory`. */
filmByFilmId?: Maybe<Film>;
/** The `FilmCategory` that was created by this mutation. */
filmCategory?: Maybe<FilmCategory>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `Film` mutation. */
export type CreateFilmInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Film` to be created by this mutation. */
film: FilmInput;
};
/** The output of our create `Film` mutation. */
export type CreateFilmPayload = {
__typename?: 'CreateFilmPayload';
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** The `Film` that was created by this mutation. */
film?: Maybe<Film>;
/** Reads a single `Language` that is related to this `Film`. */
languageByLanguageId?: Maybe<Language>;
/** Reads a single `Language` that is related to this `Film`. */
languageByOriginalLanguageId?: Maybe<Language>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `Inventory` mutation. */
export type CreateInventoryInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Inventory` to be created by this mutation. */
inventory: InventoryInput;
};
/** The output of our create `Inventory` mutation. */
export type CreateInventoryPayload = {
__typename?: 'CreateInventoryPayload';
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Reads a single `Film` that is related to this `Inventory`. */
filmByFilmId?: Maybe<Film>;
/** The `Inventory` that was created by this mutation. */
inventory?: Maybe<Inventory>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
/** Reads a single `Store` that is related to this `Inventory`. */
storeByStoreId?: Maybe<Store>;
};
/** All input for the create `Language` mutation. */
export type CreateLanguageInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Language` to be created by this mutation. */
language: LanguageInput;
};
/** The output of our create `Language` mutation. */
export type CreateLanguagePayload = {
__typename?: 'CreateLanguagePayload';
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** The `Language` that was created by this mutation. */
language?: Maybe<Language>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
};
/** All input for the create `Rental` mutation. */
export type CreateRentalInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Rental` to be created by this mutation. */
rental: RentalInput;
};
/** The output of our create `Rental` mutation. */
export type CreateRentalPayload = {
__typename?: 'CreateRentalPayload';
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Reads a single `Customer` that is related to this `Rental`. */
customerByCustomerId?: Maybe<Customer>;
/** Reads a single `Inventory` that is related to this `Rental`. */
inventoryByInventoryId?: Maybe<Inventory>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
/** The `Rental` that was created by this mutation. */
rental?: Maybe<Rental>;
/** Reads a single `Staff` that is related to this `Rental`. */
staffByStaffId?: Maybe<Staff>;
};
/** All input for the create `Staff` mutation. */
export type CreateStaffInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Staff` to be created by this mutation. */
staff: StaffInput;
};
/** The output of our create `Staff` mutation. */
export type CreateStaffPayload = {
__typename?: 'CreateStaffPayload';
/** Reads a single `Address` that is related to this `Staff`. */
addressByAddressId?: Maybe<Address>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
/** The `Staff` that was created by this mutation. */
staff?: Maybe<Staff>;
/** Reads a single `Store` that is related to this `Staff`. */
storeByStoreId?: Maybe<Store>;
};
/** All input for the create `Store` mutation. */
export type CreateStoreInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The `Store` to be created by this mutation. */
store: StoreInput;
};
/** The output of our create `Store` mutation. */
export type CreateStorePayload = {
__typename?: 'CreateStorePayload';
/** Reads a single `Address` that is related to this `Store`. */
addressByAddressId?: Maybe<Address>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.
*/
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Our root query field type. Allows us to run any query from our mutation payload. */
query?: Maybe<Query>;
/** The `Store` that was created by this mutation. */
store?: Maybe<Store>;
};
export type Customer = Node & {
__typename?: 'Customer';
active?: Maybe<Scalars['Int']['output']>;
activebool: Scalars['Boolean']['output'];
/** Reads a single `Address` that is related to this `Customer`. */
addressByAddressId?: Maybe<Address>;
addressId: Scalars['Int']['output'];
createDate: Scalars['Date']['output'];
customerId: Scalars['Int']['output'];
email?: Maybe<Scalars['String']['output']>;
firstName: Scalars['String']['output'];
/** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
id: Scalars['ID']['output'];
lastName: Scalars['String']['output'];
lastUpdate?: Maybe<Scalars['Datetime']['output']>;
/** Reads and enables pagination through a set of `Rental`. */
rentalsByCustomerIdList: Array<Rental>;
/** Reads a single `Store` that is related to this `Customer`. */
storeByStoreId?: Maybe<Store>;
storeId: Scalars['Int']['output'];
};
export type CustomerRentalsByCustomerIdListArgs = {
condition?: InputMaybe<RentalCondition>;
first?: InputMaybe<Scalars['Int']['input']>;
offset?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Array<RentalsOrderBy>>;
};
/**
* A condition to be used against `Customer` object types. All fields are tested
* for equality and combined with a logical ‘and.’
*/
export type CustomerCondition = {
/** Checks for equality with the object’s `active` field. */
active?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `activebool` field. */
activebool?: InputMaybe<Scalars['Boolean']['input']>;
/** Checks for equality with the object’s `addressId` field. */
addressId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `createDate` field. */
createDate?: InputMaybe<Scalars['Date']['input']>;
/** Checks for equality with the object’s `customerId` field. */
customerId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `email` field. */
email?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `firstName` field. */
firstName?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `lastName` field. */
lastName?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `lastUpdate` field. */
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
/** Checks for equality with the object’s `storeId` field. */
storeId?: InputMaybe<Scalars['Int']['input']>;
};
/** An input for mutations affecting `Customer` */
export type CustomerInput = {
active?: InputMaybe<Scalars['Int']['input']>;
activebool?: InputMaybe<Scalars['Boolean']['input']>;
addressId: Scalars['Int']['input'];
createDate?: InputMaybe<Scalars['Date']['input']>;
customerId?: InputMaybe<Scalars['Int']['input']>;
email?: InputMaybe<Scalars['String']['input']>;
firstName: Scalars['String']['input'];
lastName: Scalars['String']['input'];
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
storeId: Scalars['Int']['input'];
};
export type CustomerList = {
__typename?: 'CustomerList';
address?: Maybe<Scalars['String']['output']>;
city?: Maybe<Scalars['String']['output']>;
country?: Maybe<Scalars['String']['output']>;
name?: Maybe<Scalars['String']['output']>;
notes?: Maybe<Scalars['String']['output']>;
phone?: Maybe<Scalars['String']['output']>;
rowId?: Maybe<Scalars['Int']['output']>;
sid?: Maybe<Scalars['Int']['output']>;
zipCode?: Maybe<Scalars['String']['output']>;
};
/**
* A condition to be used against `CustomerList` object types. All fields are
* tested for equality and combined with a logical ‘and.’
*/
export type CustomerListCondition = {
/** Checks for equality with the object’s `address` field. */
address?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `city` field. */
city?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `country` field. */
country?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `name` field. */
name?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `notes` field. */
notes?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `phone` field. */
phone?: InputMaybe<Scalars['String']['input']>;
/** Checks for equality with the object’s `rowId` field. */
rowId?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `sid` field. */
sid?: InputMaybe<Scalars['Int']['input']>;
/** Checks for equality with the object’s `zipCode` field. */
zipCode?: InputMaybe<Scalars['String']['input']>;
};
/** Methods to use when ordering `CustomerList`. */
export enum CustomerListsOrderBy {
AddressAsc = 'ADDRESS_ASC',
AddressDesc = 'ADDRESS_DESC',
CityAsc = 'CITY_ASC',
CityDesc = 'CITY_DESC',
CountryAsc = 'COUNTRY_ASC',
CountryDesc = 'COUNTRY_DESC',
IdAsc = 'ID_ASC',
IdDesc = 'ID_DESC',
NameAsc = 'NAME_ASC',
NameDesc = 'NAME_DESC',
Natural = 'NATURAL',
NotesAsc = 'NOTES_ASC',
NotesDesc = 'NOTES_DESC',
PhoneAsc = 'PHONE_ASC',
PhoneDesc = 'PHONE_DESC',
SidAsc = 'SID_ASC',
SidDesc = 'SID_DESC',
ZipCodeAsc = 'ZIP_CODE_ASC',
ZipCodeDesc = 'ZIP_CODE_DESC'
}
/** Represents an update to a `Customer`. Fields that are set will be updated. */
export type CustomerPatch = {
active?: InputMaybe<Scalars['Int']['input']>;
activebool?: InputMaybe<Scalars['Boolean']['input']>;
addressId?: InputMaybe<Scalars['Int']['input']>;
createDate?: InputMaybe<Scalars['Date']['input']>;
customerId?: InputMaybe<Scalars['Int']['input']>;
email?: InputMaybe<Scalars['String']['input']>;
firstName?: InputMaybe<Scalars['String']['input']>;
lastName?: InputMaybe<Scalars['String']['input']>;
lastUpdate?: InputMaybe<Scalars['Datetime']['input']>;
storeId?: InputMaybe<Scalars['Int']['input']>;
};
/** Methods to use when ordering `Customer`. */
export enum CustomersOrderBy {
ActiveboolAsc = 'ACTIVEBOOL_ASC',
ActiveboolDesc = 'ACTIVEBOOL_DESC',
ActiveAsc = 'ACTIVE_ASC',
ActiveDesc = 'ACTIVE_DESC',
AddressIdAsc = 'ADDRESS_ID_ASC',
AddressIdDesc = 'ADDRESS_ID_DESC',
CreateDateAsc = 'CREATE_DATE_ASC',
CreateDateDesc = 'CREATE_DATE_DESC',
CustomerIdAsc = 'CUSTOMER_ID_ASC',
CustomerIdDesc = 'CUSTOMER_ID_DESC',
EmailAsc = 'EMAIL_ASC',
EmailDesc = 'EMAIL_DESC',
FirstNameAsc = 'FIRST_NAME_ASC',
FirstNameDesc = 'FIRST_NAME_DESC',
LastNameAsc = 'LAST_NAME_ASC',
LastNameDesc = 'LAST_NAME_DESC',
LastUpdateAsc = 'LAST_UPDATE_ASC',
LastUpdateDesc = 'LAST_UPDATE_DESC',
Natural = 'NATURAL',
PrimaryKeyAsc = 'PRIMARY_KEY_ASC',
PrimaryKeyDesc = 'PRIMARY_KEY_DESC',
StoreIdAsc = 'STORE_ID_ASC',
StoreIdDesc = 'STORE_ID_DESC'
}
/** All input for the `deleteActorByActorId` mutation. */
export type DeleteActorByActorIdInput = {
actorId: Scalars['Int']['input'];
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
};
/** All input for the `deleteActor` mutation. */
export type DeleteActorInput = {
/**
* An arbitrary string value with no semantic meaning. Will be included in the
* payload verbatim. May be used to track mutations by the client.
*/
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The globally unique `ID` which will identify a single `Actor` to be deleted. */
id: Scalars['ID']['input'];
};
/** The output of our delete `Actor` mutation. */
export type DeleteActorPayload = {
__typename?: 'DeleteActorPayload';
/** The `Actor` that was deleted by this mutation. */
actor?: Maybe<Actor>;
/**
* The exact same `clientMutationId` that was provided in the mutation input,
* unchanged and unused. May be used by a client to track mutations.