@vertikalx/vtx-backend-client 1.0.0-dev.20 → 1.0.0-dev.22

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.
@@ -4,25 +4,22 @@ exports.default = {
4
4
  "scalars": [
5
5
  1,
6
6
  2,
7
- 13,
8
- 16
7
+ 12,
8
+ 15
9
9
  ],
10
10
  "types": {
11
- "ApiKey": {
11
+ "User": {
12
12
  "_id": [
13
13
  1
14
14
  ],
15
- "keyName": [
16
- 1
17
- ],
18
- "keyType": [
15
+ "loginEmail": [
19
16
  1
20
17
  ],
21
- "readAccess": [
18
+ "suspended": [
22
19
  2
23
20
  ],
24
- "writeAccess": [
25
- 2
21
+ "domains": [
22
+ 7
26
23
  ],
27
24
  "__typename": [
28
25
  1
@@ -30,114 +27,103 @@ exports.default = {
30
27
  },
31
28
  "String": {},
32
29
  "Boolean": {},
33
- "ApiKeyWithValue": {
30
+ "UserWithToken": {
34
31
  "_id": [
35
32
  1
36
33
  ],
37
- "keyName": [
38
- 1
39
- ],
40
- "keyType": [
34
+ "loginEmail": [
41
35
  1
42
36
  ],
43
- "readAccess": [
37
+ "suspended": [
44
38
  2
45
39
  ],
46
- "writeAccess": [
47
- 2
40
+ "domains": [
41
+ 7
48
42
  ],
49
- "actualKey": [
50
- 1
43
+ "token": [
44
+ 8
51
45
  ],
52
46
  "__typename": [
53
47
  1
54
48
  ]
55
49
  },
56
- "UserToken": {
57
- "actualToken": [
50
+ "BaseTenant": {
51
+ "_id": [
58
52
  1
59
53
  ],
60
- "refreshToken": [
54
+ "name": [
61
55
  1
62
56
  ],
57
+ "tenant_uri": [
58
+ 1
59
+ ],
60
+ "domain": [
61
+ 6
62
+ ],
63
63
  "__typename": [
64
64
  1
65
65
  ]
66
66
  },
67
- "Domain": {
67
+ "Tenant": {
68
68
  "_id": [
69
69
  1
70
70
  ],
71
71
  "name": [
72
72
  1
73
73
  ],
74
- "description": [
74
+ "tenant_uri": [
75
75
  1
76
76
  ],
77
- "__typename": [
78
- 1
79
- ]
80
- },
81
- "User": {
82
- "_id": [
83
- 1
77
+ "domain": [
78
+ 6
84
79
  ],
85
- "loginEmail": [
80
+ "email": [
86
81
  1
87
82
  ],
88
- "suspended": [
89
- 2
90
- ],
91
- "domains": [
92
- 5
83
+ "owner": [
84
+ 0
93
85
  ],
94
86
  "__typename": [
95
87
  1
96
88
  ]
97
89
  },
98
- "UserWithToken": {
90
+ "Domain": {
99
91
  "_id": [
100
92
  1
101
93
  ],
102
- "loginEmail": [
94
+ "name": [
103
95
  1
104
96
  ],
105
- "suspended": [
106
- 2
107
- ],
108
- "domains": [
109
- 5
110
- ],
111
- "token": [
112
- 4
97
+ "description": [
98
+ 1
113
99
  ],
114
100
  "__typename": [
115
101
  1
116
102
  ]
117
103
  },
118
- "Tenant": {
104
+ "DomainCredential": {
119
105
  "_id": [
120
106
  1
121
107
  ],
122
108
  "name": [
123
109
  1
124
110
  ],
125
- "email": [
111
+ "description": [
126
112
  1
127
113
  ],
128
- "tenant_uri": [
129
- 1
114
+ "tenant": [
115
+ 4
130
116
  ],
131
117
  "__typename": [
132
118
  1
133
119
  ]
134
120
  },
135
- "UriAvailableType": {
136
- "available": [
137
- 2
121
+ "UserToken": {
122
+ "actualToken": [
123
+ 1
138
124
  ],
139
- "valid": [
140
- 2
125
+ "refreshToken": [
126
+ 1
141
127
  ],
142
128
  "__typename": [
143
129
  1
@@ -150,34 +136,31 @@ exports.default = {
150
136
  "name": [
151
137
  1
152
138
  ],
153
- "email": [
139
+ "tenant_uri": [
154
140
  1
155
141
  ],
156
- "tenant_uri": [
142
+ "domain": [
143
+ 6
144
+ ],
145
+ "email": [
157
146
  1
158
147
  ],
148
+ "owner": [
149
+ 0
150
+ ],
159
151
  "user": [
160
- 7
152
+ 3
161
153
  ],
162
154
  "__typename": [
163
155
  1
164
156
  ]
165
157
  },
166
- "TenantUserTokenWithInfo": {
167
- "actualToken": [
168
- 1
169
- ],
170
- "refreshToken": [
171
- 1
172
- ],
173
- "tenantId": [
174
- 1
175
- ],
176
- "tenantUri": [
177
- 1
158
+ "UriAvailableType": {
159
+ "available": [
160
+ 2
178
161
  ],
179
- "loginEmail": [
180
- 1
162
+ "valid": [
163
+ 2
181
164
  ],
182
165
  "__typename": [
183
166
  1
@@ -200,10 +183,10 @@ exports.default = {
200
183
  1
201
184
  ],
202
185
  "publishedDate": [
203
- 13
186
+ 12
204
187
  ],
205
188
  "unPublishedDate": [
206
- 13
189
+ 12
207
190
  ],
208
191
  "locked": [
209
192
  2
@@ -218,10 +201,10 @@ exports.default = {
218
201
  1
219
202
  ],
220
203
  "createdDate": [
221
- 13
204
+ 12
222
205
  ],
223
206
  "updatedDate": [
224
- 13
207
+ 12
225
208
  ],
226
209
  "__typename": [
227
210
  1
@@ -265,22 +248,22 @@ exports.default = {
265
248
  1
266
249
  ],
267
250
  "unitPrice": [
268
- 16
251
+ 15
269
252
  ],
270
253
  "unitTax": [
271
- 16
254
+ 15
272
255
  ],
273
256
  "quantity": [
274
- 16
257
+ 15
275
258
  ],
276
259
  "unit": [
277
260
  1
278
261
  ],
279
262
  "itemPrice": [
280
- 16
263
+ 15
281
264
  ],
282
265
  "itemTotal": [
283
- 16
266
+ 15
284
267
  ],
285
268
  "__typename": [
286
269
  1
@@ -292,13 +275,13 @@ exports.default = {
292
275
  1
293
276
  ],
294
277
  "amount": [
295
- 16
278
+ 15
296
279
  ],
297
280
  "currency": [
298
281
  1
299
282
  ],
300
283
  "datePaid": [
301
- 13
284
+ 12
302
285
  ],
303
286
  "paymentComment": [
304
287
  1
@@ -342,7 +325,7 @@ exports.default = {
342
325
  1
343
326
  ],
344
327
  "quantity": [
345
- 16
328
+ 15
346
329
  ],
347
330
  "quantityUnit": [
348
331
  1
@@ -362,10 +345,10 @@ exports.default = {
362
345
  1
363
346
  ],
364
347
  "prices": [
365
- 20
348
+ 19
366
349
  ],
367
350
  "features": [
368
- 18
351
+ 17
369
352
  ],
370
353
  "isPublic": [
371
354
  2
@@ -374,10 +357,10 @@ exports.default = {
374
357
  2
375
358
  ],
376
359
  "startOfferingDate": [
377
- 13
360
+ 12
378
361
  ],
379
362
  "endOfferingDate": [
380
- 13
363
+ 12
381
364
  ],
382
365
  "termsAndConditions": [
383
366
  1
@@ -394,7 +377,7 @@ exports.default = {
394
377
  1
395
378
  ],
396
379
  "price": [
397
- 16
380
+ 15
398
381
  ],
399
382
  "taxMode": [
400
383
  1
@@ -403,10 +386,10 @@ exports.default = {
403
386
  1
404
387
  ],
405
388
  "customDays": [
406
- 16
389
+ 15
407
390
  ],
408
391
  "plan": [
409
- 19
392
+ 18
410
393
  ],
411
394
  "__typename": [
412
395
  1
@@ -417,31 +400,31 @@ exports.default = {
417
400
  1
418
401
  ],
419
402
  "invoiceDate": [
420
- 13
403
+ 12
421
404
  ],
422
405
  "billedEntity": [
423
- 14
406
+ 13
424
407
  ],
425
408
  "dueDate": [
426
- 13
409
+ 12
427
410
  ],
428
411
  "billAmount": [
429
- 16
412
+ 15
430
413
  ],
431
414
  "tax": [
432
- 16
415
+ 15
433
416
  ],
434
417
  "total": [
435
- 16
418
+ 15
436
419
  ],
437
420
  "currency": [
438
421
  1
439
422
  ],
440
423
  "items": [
441
- 15
424
+ 14
442
425
  ],
443
426
  "payment": [
444
- 17
427
+ 16
445
428
  ],
446
429
  "__typename": [
447
430
  1
@@ -452,13 +435,13 @@ exports.default = {
452
435
  1
453
436
  ],
454
437
  "invoice": [
455
- 21
438
+ 20
456
439
  ],
457
440
  "billedPlan": [
458
- 20
441
+ 19
459
442
  ],
460
443
  "subscriber": [
461
- 23
444
+ 22
462
445
  ],
463
446
  "__typename": [
464
447
  1
@@ -469,10 +452,10 @@ exports.default = {
469
452
  1
470
453
  ],
471
454
  "currentPlan": [
472
- 20
455
+ 19
473
456
  ],
474
457
  "billPrice": [
475
- 16
458
+ 15
476
459
  ],
477
460
  "billCurrency": [
478
461
  1
@@ -481,25 +464,25 @@ exports.default = {
481
464
  1
482
465
  ],
483
466
  "lastBillDate": [
484
- 13
467
+ 12
485
468
  ],
486
469
  "endAccessDate": [
487
- 13
470
+ 12
488
471
  ],
489
472
  "autoRenew": [
490
473
  2
491
474
  ],
492
475
  "autoRenewPlan": [
493
- 20
476
+ 19
494
477
  ],
495
478
  "autoRenewDate": [
496
- 13
479
+ 12
497
480
  ],
498
481
  "payments": [
499
- 24
482
+ 23
500
483
  ],
501
484
  "invoices": [
502
- 22
485
+ 21
503
486
  ],
504
487
  "__typename": [
505
488
  1
@@ -510,10 +493,10 @@ exports.default = {
510
493
  1
511
494
  ],
512
495
  "payment": [
513
- 17
496
+ 16
514
497
  ],
515
498
  "subscriber": [
516
- 23
499
+ 22
517
500
  ],
518
501
  "__typename": [
519
502
  1
@@ -530,7 +513,7 @@ exports.default = {
530
513
  1
531
514
  ],
532
515
  "size": [
533
- 16
516
+ 15
534
517
  ],
535
518
  "useType": [
536
519
  1
@@ -564,7 +547,7 @@ exports.default = {
564
547
  1
565
548
  ],
566
549
  "fields": [
567
- 26
550
+ 25
568
551
  ],
569
552
  "downloadUrl": [
570
553
  1
@@ -581,7 +564,7 @@ exports.default = {
581
564
  },
582
565
  "AWSS3CallResult": {
583
566
  "httpStatus": [
584
- 16
567
+ 15
585
568
  ],
586
569
  "result": [
587
570
  1
@@ -598,16 +581,16 @@ exports.default = {
598
581
  },
599
582
  "BrandStats": {
600
583
  "campaigns": [
601
- 16
584
+ 15
602
585
  ],
603
586
  "sponsorships": [
604
- 16
587
+ 15
605
588
  ],
606
589
  "sports": [
607
- 16
590
+ 15
608
591
  ],
609
592
  "athletes": [
610
- 16
593
+ 15
611
594
  ],
612
595
  "__typename": [
613
596
  1
@@ -633,10 +616,10 @@ exports.default = {
633
616
  1
634
617
  ],
635
618
  "logo": [
636
- 25
619
+ 24
637
620
  ],
638
621
  "banner": [
639
- 25
622
+ 24
640
623
  ],
641
624
  "__typename": [
642
625
  1
@@ -665,116 +648,440 @@ exports.default = {
665
648
  2
666
649
  ],
667
650
  "logo": [
668
- 25
651
+ 24
669
652
  ],
670
653
  "banner": [
671
- 25
654
+ 24
672
655
  ],
673
656
  "stats": [
674
- 29
657
+ 28
675
658
  ],
676
659
  "operatorIds": [
677
660
  1
678
661
  ],
679
662
  "translations": [
680
- 30
663
+ 29
681
664
  ],
682
665
  "__typename": [
683
666
  1
684
667
  ]
685
668
  },
686
- "Sponsor": {
669
+ "CountryReference": {
687
670
  "_id": [
688
671
  1
689
672
  ],
690
673
  "name": [
691
674
  1
692
675
  ],
693
- "description": [
694
- 1
695
- ],
696
676
  "__typename": [
697
677
  1
698
678
  ]
699
679
  },
700
- "Industry": {
680
+ "StateReference": {
701
681
  "_id": [
702
682
  1
703
683
  ],
704
684
  "name": [
705
685
  1
706
686
  ],
687
+ "country": [
688
+ 31
689
+ ],
707
690
  "__typename": [
708
691
  1
709
692
  ]
710
693
  },
711
- "Athlete": {
694
+ "CityReference": {
712
695
  "_id": [
713
696
  1
714
697
  ],
715
- "firstName": [
698
+ "name": [
716
699
  1
717
700
  ],
718
- "lastName": [
719
- 1
701
+ "state": [
702
+ 32
720
703
  ],
721
- "screenName": [
704
+ "__typename": [
722
705
  1
723
- ],
724
- "nationalityIso2": [
706
+ ]
707
+ },
708
+ "Qualification": {
709
+ "type": [
725
710
  1
726
711
  ],
727
712
  "__typename": [
728
713
  1
729
714
  ]
730
715
  },
731
- "Sport": {
732
- "_id": [
716
+ "ScoreQualification": {
717
+ "type": [
733
718
  1
734
719
  ],
735
- "name": [
720
+ "scoreType": [
721
+ 1
722
+ ],
723
+ "operator": [
736
724
  1
737
725
  ],
726
+ "value": [
727
+ 15
728
+ ],
738
729
  "__typename": [
739
730
  1
740
731
  ]
741
732
  },
742
- "Query": {
743
- "tenant": [
744
- 8,
745
- {
746
- "_id": [
747
- 1,
748
- "String!"
749
- ]
750
- }
733
+ "LocationQualification": {
734
+ "type": [
735
+ 1
751
736
  ],
752
- "tenantByEmail": [
753
- 8,
754
- {
755
- "email": [
756
- 1,
757
- "String!"
758
- ]
759
- }
737
+ "operator": [
738
+ 1
760
739
  ],
761
- "tenants": [
762
- 8
740
+ "countries": [
741
+ 31
763
742
  ],
764
- "isTenantUriAvailable": [
765
- 9,
766
- {
767
- "tenant_uri": [
768
- 1,
769
- "String!"
770
- ]
771
- }
743
+ "states": [
744
+ 32
772
745
  ],
773
- "tenantApiKeys": [
774
- 0
746
+ "cities": [
747
+ 33
748
+ ],
749
+ "__typename": [
750
+ 1
751
+ ]
752
+ },
753
+ "DistanceQualification": {
754
+ "type": [
755
+ 1
756
+ ],
757
+ "maxDistance": [
758
+ 15
759
+ ],
760
+ "latitude": [
761
+ 15
762
+ ],
763
+ "longitude": [
764
+ 15
765
+ ],
766
+ "cityId": [
767
+ 1
768
+ ],
769
+ "__typename": [
770
+ 1
771
+ ]
772
+ },
773
+ "SportsQualification": {
774
+ "type": [
775
+ 1
776
+ ],
777
+ "sports": [
778
+ 1
779
+ ],
780
+ "operator": [
781
+ 1
782
+ ],
783
+ "__typename": [
784
+ 1
785
+ ]
786
+ },
787
+ "SportsLevelQualification": {
788
+ "type": [
789
+ 1
790
+ ],
791
+ "operator": [
792
+ 1
793
+ ],
794
+ "level": [
795
+ 1
796
+ ],
797
+ "__typename": [
798
+ 1
799
+ ]
800
+ },
801
+ "AthleteCriteria": {
802
+ "_id": [
803
+ 1
804
+ ],
805
+ "label": [
806
+ 1
807
+ ],
808
+ "qualifications": [
809
+ 34
810
+ ],
811
+ "__typename": [
812
+ 1
813
+ ]
814
+ },
815
+ "SponsorshipStats": {
816
+ "totalApplications": [
817
+ 15
818
+ ],
819
+ "newApplications": [
820
+ 15
821
+ ],
822
+ "discardedApplications": [
823
+ 15
824
+ ],
825
+ "selectedApplications": [
826
+ 15
827
+ ],
828
+ "approvedApplications": [
829
+ 15
830
+ ],
831
+ "grantedSponsorships": [
832
+ 15
833
+ ],
834
+ "remainingSponsorships": [
835
+ 15
836
+ ],
837
+ "__typename": [
838
+ 1
839
+ ]
840
+ },
841
+ "SponsorshipTranslation": {
842
+ "_id": [
843
+ 1
844
+ ],
845
+ "sponsorshipId": [
846
+ 1
847
+ ],
848
+ "language": [
849
+ 1
850
+ ],
851
+ "title": [
852
+ 1
853
+ ],
854
+ "description": [
855
+ 1
856
+ ],
857
+ "terms": [
858
+ 1
859
+ ],
860
+ "banner": [
861
+ 24
862
+ ],
863
+ "__typename": [
864
+ 1
865
+ ]
866
+ },
867
+ "Sponsorship": {
868
+ "_id": [
869
+ 1
870
+ ],
871
+ "title": [
872
+ 1
873
+ ],
874
+ "description": [
875
+ 1
876
+ ],
877
+ "terms": [
878
+ 1
879
+ ],
880
+ "banner": [
881
+ 24
882
+ ],
883
+ "stats": [
884
+ 41
885
+ ],
886
+ "translations": [
887
+ 42
888
+ ],
889
+ "approved": [
890
+ 2
891
+ ],
892
+ "published": [
893
+ 2
894
+ ],
895
+ "criteria": [
896
+ 40
897
+ ],
898
+ "__typename": [
899
+ 1
900
+ ]
901
+ },
902
+ "Athlete": {
903
+ "_id": [
904
+ 1
905
+ ],
906
+ "firstName": [
907
+ 1
908
+ ],
909
+ "lastName": [
910
+ 1
911
+ ],
912
+ "screenName": [
913
+ 1
914
+ ],
915
+ "nationalityIso2": [
916
+ 1
917
+ ],
918
+ "__typename": [
919
+ 1
920
+ ]
921
+ },
922
+ "Industry": {
923
+ "_id": [
924
+ 1
925
+ ],
926
+ "name": [
927
+ 1
928
+ ],
929
+ "__typename": [
930
+ 1
931
+ ]
932
+ },
933
+ "Sponsor": {
934
+ "_id": [
935
+ 1
936
+ ],
937
+ "name": [
938
+ 1
939
+ ],
940
+ "description": [
941
+ 1
942
+ ],
943
+ "__typename": [
944
+ 1
945
+ ]
946
+ },
947
+ "Sport": {
948
+ "_id": [
949
+ 1
950
+ ],
951
+ "name": [
952
+ 1
953
+ ],
954
+ "__typename": [
955
+ 1
956
+ ]
957
+ },
958
+ "ScoreQualificationDto": {
959
+ "type": [
960
+ 1
961
+ ],
962
+ "scoreType": [
963
+ 1
964
+ ],
965
+ "operator": [
966
+ 1
967
+ ],
968
+ "value": [
969
+ 15
970
+ ],
971
+ "__typename": [
972
+ 1
973
+ ]
974
+ },
975
+ "LocationQualificationDto": {
976
+ "type": [
977
+ 1
978
+ ],
979
+ "operator": [
980
+ 1
981
+ ],
982
+ "countries": [
983
+ 50
984
+ ],
985
+ "states": [
986
+ 51
987
+ ],
988
+ "cities": [
989
+ 52
990
+ ],
991
+ "__typename": [
992
+ 1
993
+ ]
994
+ },
995
+ "CountryReferenceDto": {
996
+ "_id": [
997
+ 1
998
+ ],
999
+ "name": [
1000
+ 1
1001
+ ],
1002
+ "__typename": [
1003
+ 1
1004
+ ]
1005
+ },
1006
+ "StateReferenceDto": {
1007
+ "_id": [
1008
+ 1
1009
+ ],
1010
+ "name": [
1011
+ 1
1012
+ ],
1013
+ "country": [
1014
+ 50
1015
+ ],
1016
+ "__typename": [
1017
+ 1
1018
+ ]
1019
+ },
1020
+ "CityReferenceDto": {
1021
+ "_id": [
1022
+ 1
1023
+ ],
1024
+ "name": [
1025
+ 1
1026
+ ],
1027
+ "state": [
1028
+ 51
1029
+ ],
1030
+ "__typename": [
1031
+ 1
1032
+ ]
1033
+ },
1034
+ "DistanceQualificationDto": {
1035
+ "type": [
1036
+ 1
1037
+ ],
1038
+ "maxDistance": [
1039
+ 15
775
1040
  ],
776
- "nontenantedUserById": [
777
- 6,
1041
+ "latitude": [
1042
+ 15
1043
+ ],
1044
+ "longitude": [
1045
+ 15
1046
+ ],
1047
+ "cityId": [
1048
+ 1
1049
+ ],
1050
+ "__typename": [
1051
+ 1
1052
+ ]
1053
+ },
1054
+ "SportsQualificationDto": {
1055
+ "type": [
1056
+ 1
1057
+ ],
1058
+ "sports": [
1059
+ 1
1060
+ ],
1061
+ "operator": [
1062
+ 1
1063
+ ],
1064
+ "__typename": [
1065
+ 1
1066
+ ]
1067
+ },
1068
+ "SportsLevelQualificationDto": {
1069
+ "type": [
1070
+ 1
1071
+ ],
1072
+ "operator": [
1073
+ 1
1074
+ ],
1075
+ "level": [
1076
+ 1
1077
+ ],
1078
+ "__typename": [
1079
+ 1
1080
+ ]
1081
+ },
1082
+ "Query": {
1083
+ "findTenantById": [
1084
+ 5,
778
1085
  {
779
1086
  "_id": [
780
1087
  1,
@@ -782,8 +1089,42 @@ exports.default = {
782
1089
  ]
783
1090
  }
784
1091
  ],
785
- "nontenantedUserByEmail": [
786
- 6,
1092
+ "findTenantByEmail": [
1093
+ 5,
1094
+ {
1095
+ "email": [
1096
+ 1,
1097
+ "String!"
1098
+ ],
1099
+ "domainId": [
1100
+ 1,
1101
+ "String!"
1102
+ ]
1103
+ }
1104
+ ],
1105
+ "getTenants": [
1106
+ 5
1107
+ ],
1108
+ "isTenantUriAvailable": [
1109
+ 10,
1110
+ {
1111
+ "tenant_uri": [
1112
+ 1,
1113
+ "String!"
1114
+ ]
1115
+ }
1116
+ ],
1117
+ "findUserById": [
1118
+ 0,
1119
+ {
1120
+ "_id": [
1121
+ 1,
1122
+ "String!"
1123
+ ]
1124
+ }
1125
+ ],
1126
+ "findUserByEmail": [
1127
+ 0,
787
1128
  {
788
1129
  "email": [
789
1130
  1,
@@ -792,19 +1133,19 @@ exports.default = {
792
1133
  }
793
1134
  ],
794
1135
  "getUploadUrl": [
795
- 27,
1136
+ 26,
796
1137
  {
797
1138
  "input": [
798
- 37,
1139
+ 57,
799
1140
  "AWSS3GetUploadDto!"
800
1141
  ]
801
1142
  }
802
1143
  ],
803
1144
  "industries": [
804
- 33
1145
+ 45
805
1146
  ],
806
1147
  "findIndustryById": [
807
- 33,
1148
+ 45,
808
1149
  {
809
1150
  "industryId": [
810
1151
  1,
@@ -813,10 +1154,10 @@ exports.default = {
813
1154
  }
814
1155
  ],
815
1156
  "brands": [
816
- 31
1157
+ 30
817
1158
  ],
818
1159
  "getBrandByName": [
819
- 31,
1160
+ 30,
820
1161
  {
821
1162
  "name": [
822
1163
  1,
@@ -829,7 +1170,7 @@ exports.default = {
829
1170
  }
830
1171
  ],
831
1172
  "getBrandTranslation": [
832
- 30,
1173
+ 29,
833
1174
  {
834
1175
  "brandId": [
835
1176
  1,
@@ -842,7 +1183,7 @@ exports.default = {
842
1183
  }
843
1184
  ],
844
1185
  "existsValidSponsorForEmail": [
845
- 32,
1186
+ 46,
846
1187
  {
847
1188
  "loginEmail": [
848
1189
  1,
@@ -851,13 +1192,13 @@ exports.default = {
851
1192
  }
852
1193
  ],
853
1194
  "sponsors": [
854
- 32
1195
+ 46
855
1196
  ],
856
1197
  "athlete": [
857
- 34
1198
+ 44
858
1199
  ],
859
1200
  "findAthleteById": [
860
- 34,
1201
+ 44,
861
1202
  {
862
1203
  "athleteId": [
863
1204
  1,
@@ -866,10 +1207,10 @@ exports.default = {
866
1207
  }
867
1208
  ],
868
1209
  "sports": [
869
- 35
1210
+ 47
870
1211
  ],
871
1212
  "findSportById": [
872
- 35,
1213
+ 47,
873
1214
  {
874
1215
  "sportId": [
875
1216
  1,
@@ -877,6 +1218,15 @@ exports.default = {
877
1218
  ]
878
1219
  }
879
1220
  ],
1221
+ "getSponsorships": [
1222
+ 43,
1223
+ {
1224
+ "sponsorId": [
1225
+ 1,
1226
+ "String!"
1227
+ ]
1228
+ }
1229
+ ],
880
1230
  "__typename": [
881
1231
  1
882
1232
  ]
@@ -893,80 +1243,35 @@ exports.default = {
893
1243
  ]
894
1244
  },
895
1245
  "Mutation": {
896
- "createTenant": [
897
- 8,
1246
+ "registerNewDomainTenant": [
1247
+ 5,
898
1248
  {
899
1249
  "tenant": [
900
- 39,
1250
+ 59,
901
1251
  "CreateTenantInput!"
902
1252
  ]
903
1253
  }
904
1254
  ],
905
- "createTenantApiKey": [
906
- 0,
907
- {
908
- "newKeyInfo": [
909
- 40,
910
- "CreateApiKeyInput!"
911
- ]
912
- }
913
- ],
914
- "createTenantApiKeyWithSystemKey": [
915
- 3,
916
- {
917
- "newKeyInfo": [
918
- 40,
919
- "CreateApiKeyInput!"
920
- ]
921
- }
922
- ],
923
- "createTenantWithLogin": [
924
- 10,
1255
+ "registerNewDomainTenantWithLogin": [
1256
+ 9,
925
1257
  {
926
1258
  "tenant": [
927
- 39,
1259
+ 59,
928
1260
  "CreateTenantInput!"
929
1261
  ]
930
1262
  }
931
1263
  ],
932
- "createTenantUserToken": [
933
- 11,
934
- {
935
- "requestTokenDto": [
936
- 41,
937
- "CreateTenantUserTokenDto!"
938
- ]
939
- }
940
- ],
941
- "createTenantUserTokenFromEmailAndUri": [
942
- 11,
943
- {
944
- "requestTokenInfoDto": [
945
- 42,
946
- "CreateTenantUserTokenFromEmailAndUriDto!"
947
- ]
948
- }
949
- ],
950
- "refreshTenantToken": [
951
- 4,
952
- {
953
- "dto": [
954
- 43,
955
- "RefreshTokenInput!"
956
- ]
957
- }
958
- ],
959
- "createNonTenantedUserWithLogin": [
960
- 7,
1264
+ "createUserAndLogin": [
1265
+ 3,
961
1266
  {
962
1267
  "user": [
963
- 44,
1268
+ 60,
964
1269
  "CreateActiveUserInput!"
965
1270
  ]
966
1271
  }
967
1272
  ],
968
- "createNonTenantUserTokenFromEmail": [
969
- 4,
1273
+ "loginUserFromEmail": [
1274
+ 8,
970
1275
  {
971
1276
  "email": [
972
1277
  1,
@@ -974,109 +1279,127 @@ exports.default = {
974
1279
  ]
975
1280
  }
976
1281
  ],
1282
+ "registerUserToDomainFromEmail": [
1283
+ 0,
1284
+ {
1285
+ "input": [
1286
+ 61,
1287
+ "RegisterUserToDomainFromEmailInput!"
1288
+ ]
1289
+ }
1290
+ ],
977
1291
  "refreshToken": [
978
- 4,
1292
+ 8,
979
1293
  {
980
1294
  "dto": [
981
- 43,
1295
+ 62,
982
1296
  "RefreshTokenInput!"
983
1297
  ]
984
1298
  }
985
1299
  ],
986
1300
  "deleteUploadedUseTypeFile": [
987
- 28,
1301
+ 27,
988
1302
  {
989
1303
  "input": [
990
- 45,
1304
+ 63,
991
1305
  "AWSS3DeleteUseTypeFileDto!"
992
1306
  ]
993
1307
  }
994
1308
  ],
995
1309
  "deleteUploadedBucketFile": [
996
- 28,
1310
+ 27,
997
1311
  {
998
1312
  "input": [
999
- 46,
1313
+ 64,
1000
1314
  "AWSS3DeleteBucketFileDto!"
1001
1315
  ]
1002
1316
  }
1003
1317
  ],
1004
1318
  "registerS3UploadedFile": [
1005
- 25,
1319
+ 24,
1006
1320
  {
1007
1321
  "input": [
1008
- 47,
1322
+ 65,
1009
1323
  "AWSS3UploadedFileDto!"
1010
1324
  ]
1011
1325
  }
1012
1326
  ],
1013
1327
  "createIndustry": [
1014
- 33,
1328
+ 45,
1015
1329
  {
1016
1330
  "input": [
1017
- 48,
1331
+ 66,
1018
1332
  "CreateIndustryDto!"
1019
1333
  ]
1020
1334
  }
1021
1335
  ],
1022
1336
  "createBrand": [
1023
- 31,
1337
+ 30,
1024
1338
  {
1025
1339
  "input": [
1026
- 49,
1340
+ 67,
1027
1341
  "CreateBrandDto!"
1028
1342
  ]
1029
1343
  }
1030
1344
  ],
1031
1345
  "registerSponsor": [
1032
- 32,
1346
+ 46,
1033
1347
  {
1034
1348
  "input": [
1035
- 51,
1349
+ 69,
1036
1350
  "RegisterSponsorInput!"
1037
1351
  ]
1038
1352
  }
1039
1353
  ],
1040
1354
  "createSponsor": [
1041
- 32,
1355
+ 46,
1042
1356
  {
1043
1357
  "input": [
1044
- 52,
1358
+ 70,
1045
1359
  "CreateSponsorDto!"
1046
1360
  ]
1047
1361
  }
1048
1362
  ],
1049
1363
  "registerAthlete": [
1050
- 34,
1364
+ 44,
1051
1365
  {
1052
1366
  "input": [
1053
- 53,
1367
+ 71,
1054
1368
  "RegisterAthleteDto!"
1055
1369
  ]
1056
1370
  }
1057
1371
  ],
1058
1372
  "createSport": [
1059
- 35,
1373
+ 47,
1060
1374
  {
1061
1375
  "input": [
1062
- 54,
1376
+ 72,
1063
1377
  "CreateSportDto!"
1064
1378
  ]
1065
1379
  }
1066
1380
  ],
1067
1381
  "updateSport": [
1068
- 35,
1382
+ 47,
1069
1383
  {
1070
1384
  "sportId": [
1071
1385
  1,
1072
1386
  "String!"
1073
1387
  ],
1074
1388
  "input": [
1075
- 55,
1389
+ 73,
1076
1390
  "UpdateSportDto!"
1077
1391
  ]
1078
1392
  }
1079
1393
  ],
1394
+ "createSponsorwhip": [
1395
+ 43,
1396
+ {
1397
+ "input": [
1398
+ 74,
1399
+ "CreateSponsorshipDto!"
1400
+ ]
1401
+ }
1402
+ ],
1080
1403
  "__typename": [
1081
1404
  1
1082
1405
  ]
@@ -1091,42 +1414,37 @@ exports.default = {
1091
1414
  "tenant_uri": [
1092
1415
  1
1093
1416
  ],
1417
+ "domain": [
1418
+ 1
1419
+ ],
1094
1420
  "__typename": [
1095
1421
  1
1096
1422
  ]
1097
1423
  },
1098
- "CreateApiKeyInput": {
1099
- "keyName": [
1424
+ "CreateActiveUserInput": {
1425
+ "loginEmail": [
1100
1426
  1
1101
1427
  ],
1102
- "keyType": [
1428
+ "password": [
1103
1429
  1
1104
1430
  ],
1105
- "readAccess": [
1106
- 2
1107
- ],
1108
- "writeAccess": [
1109
- 2
1110
- ],
1111
1431
  "__typename": [
1112
1432
  1
1113
1433
  ]
1114
1434
  },
1115
- "CreateTenantUserTokenDto": {
1116
- "requestToken": [
1435
+ "RegisterUserToDomainFromEmailInput": {
1436
+ "email": [
1117
1437
  1
1118
1438
  ],
1119
- "__typename": [
1120
- 1
1121
- ]
1122
- },
1123
- "CreateTenantUserTokenFromEmailAndUriDto": {
1124
- "email": [
1439
+ "domainId": [
1125
1440
  1
1126
1441
  ],
1127
- "tenant_uri": [
1442
+ "tenantId": [
1128
1443
  1
1129
1444
  ],
1445
+ "createUserIfNotExist": [
1446
+ 2
1447
+ ],
1130
1448
  "__typename": [
1131
1449
  1
1132
1450
  ]
@@ -1139,17 +1457,6 @@ exports.default = {
1139
1457
  1
1140
1458
  ]
1141
1459
  },
1142
- "CreateActiveUserInput": {
1143
- "loginEmail": [
1144
- 1
1145
- ],
1146
- "password": [
1147
- 1
1148
- ],
1149
- "__typename": [
1150
- 1
1151
- ]
1152
- },
1153
1460
  "AWSS3DeleteUseTypeFileDto": {
1154
1461
  "name": [
1155
1462
  1
@@ -1189,7 +1496,7 @@ exports.default = {
1189
1496
  1
1190
1497
  ],
1191
1498
  "fileSize": [
1192
- 16
1499
+ 15
1193
1500
  ],
1194
1501
  "__typename": [
1195
1502
  1
@@ -1217,13 +1524,13 @@ exports.default = {
1217
1524
  1
1218
1525
  ],
1219
1526
  "logo": [
1220
- 47
1527
+ 65
1221
1528
  ],
1222
1529
  "banner": [
1223
- 47
1530
+ 65
1224
1531
  ],
1225
1532
  "translations": [
1226
- 50
1533
+ 68
1227
1534
  ],
1228
1535
  "__typename": [
1229
1536
  1
@@ -1246,10 +1553,10 @@ exports.default = {
1246
1553
  1
1247
1554
  ],
1248
1555
  "logo": [
1249
- 47
1556
+ 65
1250
1557
  ],
1251
1558
  "banner": [
1252
- 47
1559
+ 65
1253
1560
  ],
1254
1561
  "__typename": [
1255
1562
  1
@@ -1321,10 +1628,10 @@ exports.default = {
1321
1628
  1
1322
1629
  ],
1323
1630
  "dateOfBirth": [
1324
- 13
1631
+ 12
1325
1632
  ],
1326
1633
  "competitionLevel": [
1327
- 16
1634
+ 15
1328
1635
  ],
1329
1636
  "team": [
1330
1637
  1
@@ -1354,6 +1661,108 @@ exports.default = {
1354
1661
  "__typename": [
1355
1662
  1
1356
1663
  ]
1664
+ },
1665
+ "CreateSponsorshipDto": {
1666
+ "title": [
1667
+ 1
1668
+ ],
1669
+ "brandId": [
1670
+ 1
1671
+ ],
1672
+ "description": [
1673
+ 1
1674
+ ],
1675
+ "cashValue": [
1676
+ 15
1677
+ ],
1678
+ "otherValue": [
1679
+ 15
1680
+ ],
1681
+ "banner": [
1682
+ 65
1683
+ ],
1684
+ "criteria": [
1685
+ 75
1686
+ ],
1687
+ "sponsorshipItems": [
1688
+ 77
1689
+ ],
1690
+ "commitments": [
1691
+ 78
1692
+ ],
1693
+ "terms": [
1694
+ 1
1695
+ ],
1696
+ "published": [
1697
+ 2
1698
+ ],
1699
+ "translations": [
1700
+ 79
1701
+ ],
1702
+ "__typename": [
1703
+ 1
1704
+ ]
1705
+ },
1706
+ "AthleteCriteriaDto": {
1707
+ "_id": [
1708
+ 1
1709
+ ],
1710
+ "label": [
1711
+ 1
1712
+ ],
1713
+ "qualifications": [
1714
+ 76
1715
+ ],
1716
+ "__typename": [
1717
+ 1
1718
+ ]
1719
+ },
1720
+ "QualificationDto": {
1721
+ "type": [
1722
+ 1
1723
+ ],
1724
+ "__typename": [
1725
+ 1
1726
+ ]
1727
+ },
1728
+ "SponsorshipItemDto": {
1729
+ "_id": [
1730
+ 1
1731
+ ],
1732
+ "name": [
1733
+ 1
1734
+ ],
1735
+ "__typename": [
1736
+ 1
1737
+ ]
1738
+ },
1739
+ "SponsorshipCommitmentDto": {
1740
+ "_id": [
1741
+ 1
1742
+ ],
1743
+ "name": [
1744
+ 1
1745
+ ],
1746
+ "__typename": [
1747
+ 1
1748
+ ]
1749
+ },
1750
+ "SponsorshipTranslationDto": {
1751
+ "title": [
1752
+ 1
1753
+ ],
1754
+ "description": [
1755
+ 1
1756
+ ],
1757
+ "banner": [
1758
+ 65
1759
+ ],
1760
+ "terms": [
1761
+ 1
1762
+ ],
1763
+ "__typename": [
1764
+ 1
1765
+ ]
1357
1766
  }
1358
1767
  }
1359
1768
  };