@vertikalx/vtx-backend-client 1.0.0-dev-daniel.66 → 1.0.0-dev-daniel.68
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/package.json +1 -1
- package/src/api/domains.d.ts +3 -0
- package/src/api/domains.js +7 -0
- package/src/api/domains.js.map +1 -0
- package/src/api/vtx-base-api.d.ts +4 -1
- package/src/api/vtx-base-api.js +144 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +236 -112
- package/src/client/schema.graphql +98 -46
- package/src/client/schema.js +65 -30
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +102 -48
- package/src/client/types.js +340 -198
- package/src/client/types.js.map +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -341,7 +341,57 @@ export interface AthleteCriteria {
|
|
|
341
341
|
qualifications: (Qualification[] | null);
|
|
342
342
|
__typename: 'AthleteCriteria';
|
|
343
343
|
}
|
|
344
|
+
export interface Industry {
|
|
345
|
+
_id: Scalars['String'];
|
|
346
|
+
name: Scalars['String'];
|
|
347
|
+
__typename: 'Industry';
|
|
348
|
+
}
|
|
349
|
+
export interface SponsorStats {
|
|
350
|
+
sponsoredAthletes: Scalars['Float'];
|
|
351
|
+
totalBrands: Scalars['Float'];
|
|
352
|
+
activeCampaigns: Scalars['Float'];
|
|
353
|
+
activeSponsorships: Scalars['Float'];
|
|
354
|
+
__typename: 'SponsorStats';
|
|
355
|
+
}
|
|
356
|
+
export interface SponsorBrand {
|
|
357
|
+
_id: Scalars['String'];
|
|
358
|
+
name: Scalars['String'];
|
|
359
|
+
slogan: (Scalars['String'] | null);
|
|
360
|
+
website: (Scalars['String'] | null);
|
|
361
|
+
description: (Scalars['String'] | null);
|
|
362
|
+
approved: Scalars['Boolean'];
|
|
363
|
+
published: Scalars['Boolean'];
|
|
364
|
+
logo: (AWSS3File | null);
|
|
365
|
+
banner: (AWSS3File | null);
|
|
366
|
+
stats: (BrandStats | null);
|
|
367
|
+
operatorIds: (Scalars['String'][] | null);
|
|
368
|
+
translations: (BrandTranslation[] | null);
|
|
369
|
+
sponsorBrandId: Scalars['String'];
|
|
370
|
+
authorizedUse: Scalars['Boolean'];
|
|
371
|
+
isAuthorizer: Scalars['Boolean'];
|
|
372
|
+
__typename: 'SponsorBrand';
|
|
373
|
+
}
|
|
374
|
+
export interface Sponsor {
|
|
375
|
+
_id: Scalars['String'];
|
|
376
|
+
name: Scalars['String'];
|
|
377
|
+
description: Scalars['String'];
|
|
378
|
+
tenant: Tenant;
|
|
379
|
+
industry: (Industry | null);
|
|
380
|
+
stats: (SponsorStats | null);
|
|
381
|
+
brands: (SponsorBrand[] | null);
|
|
382
|
+
sponsorships: (Sponsorship[] | null);
|
|
383
|
+
approved: Scalars['Boolean'];
|
|
384
|
+
__typename: 'Sponsor';
|
|
385
|
+
}
|
|
386
|
+
export interface SponsorshipItem {
|
|
387
|
+
_id: Scalars['String'];
|
|
388
|
+
title: Scalars['String'];
|
|
389
|
+
value: Scalars['Float'];
|
|
390
|
+
type: Scalars['String'];
|
|
391
|
+
__typename: 'SponsorshipItem';
|
|
392
|
+
}
|
|
344
393
|
export interface SponsorshipStats {
|
|
394
|
+
totalSponsorships: (Scalars['Float'] | null);
|
|
345
395
|
totalApplications: (Scalars['Float'] | null);
|
|
346
396
|
newApplications: (Scalars['Float'] | null);
|
|
347
397
|
discardedApplications: (Scalars['Float'] | null);
|
|
@@ -365,15 +415,59 @@ export interface Sponsorship {
|
|
|
365
415
|
_id: Scalars['String'];
|
|
366
416
|
title: Scalars['String'];
|
|
367
417
|
description: (Scalars['String'] | null);
|
|
368
|
-
|
|
418
|
+
cashValue: Scalars['Float'];
|
|
419
|
+
otherValue: Scalars['Float'];
|
|
420
|
+
brand: (Brand | null);
|
|
369
421
|
banner: (AWSS3File | null);
|
|
422
|
+
criteria: (AthleteCriteria | null);
|
|
423
|
+
sponsor: (Sponsor | null);
|
|
424
|
+
sponsorshipItems: (SponsorshipItem[] | null);
|
|
425
|
+
commitments: (CommitmentType[] | null);
|
|
426
|
+
terms: (Scalars['String'] | null);
|
|
370
427
|
stats: (SponsorshipStats | null);
|
|
371
|
-
translations: (SponsorshipTranslation[] | null);
|
|
372
428
|
approved: Scalars['Boolean'];
|
|
373
429
|
published: Scalars['Boolean'];
|
|
374
|
-
|
|
430
|
+
translations: (SponsorshipTranslation[] | null);
|
|
375
431
|
__typename: 'Sponsorship';
|
|
376
432
|
}
|
|
433
|
+
export type CommitmentType = (SponsorshipCommitment | DatedSponsorshipCommitment | RecurrentSponsorshipCommitment) & {
|
|
434
|
+
__isUnion?: true;
|
|
435
|
+
};
|
|
436
|
+
export interface SponsorshipCommitment {
|
|
437
|
+
_id: Scalars['String'];
|
|
438
|
+
title: Scalars['String'];
|
|
439
|
+
details: (Scalars['String'] | null);
|
|
440
|
+
type: Scalars['String'];
|
|
441
|
+
hashTags: Scalars['String'];
|
|
442
|
+
media: Scalars['String'];
|
|
443
|
+
actionType: Scalars['String'];
|
|
444
|
+
autoMeasurable: Scalars['Boolean'];
|
|
445
|
+
__typename: 'SponsorshipCommitment';
|
|
446
|
+
}
|
|
447
|
+
export interface DatedSponsorshipCommitment {
|
|
448
|
+
_id: Scalars['String'];
|
|
449
|
+
title: Scalars['String'];
|
|
450
|
+
details: (Scalars['String'] | null);
|
|
451
|
+
type: Scalars['String'];
|
|
452
|
+
hashTags: Scalars['String'];
|
|
453
|
+
media: Scalars['String'];
|
|
454
|
+
actionType: Scalars['String'];
|
|
455
|
+
autoMeasurable: Scalars['Boolean'];
|
|
456
|
+
usesTime: Scalars['Boolean'];
|
|
457
|
+
date: Scalars['DateTime'];
|
|
458
|
+
__typename: 'DatedSponsorshipCommitment';
|
|
459
|
+
}
|
|
460
|
+
export interface RecurrentSponsorshipCommitment {
|
|
461
|
+
_id: Scalars['String'];
|
|
462
|
+
title: Scalars['String'];
|
|
463
|
+
details: (Scalars['String'] | null);
|
|
464
|
+
type: Scalars['String'];
|
|
465
|
+
hashTags: Scalars['String'];
|
|
466
|
+
media: Scalars['String'];
|
|
467
|
+
actionType: Scalars['String'];
|
|
468
|
+
autoMeasurable: Scalars['Boolean'];
|
|
469
|
+
__typename: 'RecurrentSponsorshipCommitment';
|
|
470
|
+
}
|
|
377
471
|
export interface FollowStats {
|
|
378
472
|
followers: Scalars['Float'];
|
|
379
473
|
followed: Scalars['Float'];
|
|
@@ -496,48 +590,6 @@ export interface Athlete {
|
|
|
496
590
|
totalPastCompetitions: (Scalars['Float'] | null);
|
|
497
591
|
__typename: 'Athlete';
|
|
498
592
|
}
|
|
499
|
-
export interface Industry {
|
|
500
|
-
_id: Scalars['String'];
|
|
501
|
-
name: Scalars['String'];
|
|
502
|
-
__typename: 'Industry';
|
|
503
|
-
}
|
|
504
|
-
export interface SponsorStats {
|
|
505
|
-
sponsoredAthletes: Scalars['Float'];
|
|
506
|
-
totalBrands: Scalars['Float'];
|
|
507
|
-
activeCampaigns: Scalars['Float'];
|
|
508
|
-
activeSponsorships: Scalars['Float'];
|
|
509
|
-
__typename: 'SponsorStats';
|
|
510
|
-
}
|
|
511
|
-
export interface SponsorBrand {
|
|
512
|
-
_id: Scalars['String'];
|
|
513
|
-
name: Scalars['String'];
|
|
514
|
-
slogan: (Scalars['String'] | null);
|
|
515
|
-
website: (Scalars['String'] | null);
|
|
516
|
-
description: (Scalars['String'] | null);
|
|
517
|
-
approved: Scalars['Boolean'];
|
|
518
|
-
published: Scalars['Boolean'];
|
|
519
|
-
logo: (AWSS3File | null);
|
|
520
|
-
banner: (AWSS3File | null);
|
|
521
|
-
stats: (BrandStats | null);
|
|
522
|
-
operatorIds: (Scalars['String'][] | null);
|
|
523
|
-
translations: (BrandTranslation[] | null);
|
|
524
|
-
sponsorBrandId: Scalars['String'];
|
|
525
|
-
authorizedUse: Scalars['Boolean'];
|
|
526
|
-
isAuthorizer: Scalars['Boolean'];
|
|
527
|
-
__typename: 'SponsorBrand';
|
|
528
|
-
}
|
|
529
|
-
export interface Sponsor {
|
|
530
|
-
_id: Scalars['String'];
|
|
531
|
-
name: Scalars['String'];
|
|
532
|
-
description: Scalars['String'];
|
|
533
|
-
tenant: Tenant;
|
|
534
|
-
industry: (Industry | null);
|
|
535
|
-
stats: (SponsorStats | null);
|
|
536
|
-
brands: (SponsorBrand[] | null);
|
|
537
|
-
sponsorships: (Sponsorship[] | null);
|
|
538
|
-
approved: Scalars['Boolean'];
|
|
539
|
-
__typename: 'Sponsor';
|
|
540
|
-
}
|
|
541
593
|
export interface Query {
|
|
542
594
|
findTenantById: Tenant;
|
|
543
595
|
findTenantByEmail: Tenant;
|
|
@@ -558,7 +610,8 @@ export interface Query {
|
|
|
558
610
|
getSports: Sport[];
|
|
559
611
|
findSportById: Sport;
|
|
560
612
|
getSportLevels: SportLevel[];
|
|
561
|
-
|
|
613
|
+
getPublicSponsorships: Sponsorship[];
|
|
614
|
+
getTenantSponsorships: Sponsorship[];
|
|
562
615
|
getCountries: Country[];
|
|
563
616
|
getCountryStates: State[];
|
|
564
617
|
getStateCities: City[];
|
|
@@ -965,7 +1018,62 @@ export interface AthleteCriteriaGenqlSelection {
|
|
|
965
1018
|
__typename?: boolean | number;
|
|
966
1019
|
__scalar?: boolean | number;
|
|
967
1020
|
}
|
|
1021
|
+
export interface IndustryGenqlSelection {
|
|
1022
|
+
_id?: boolean | number;
|
|
1023
|
+
name?: boolean | number;
|
|
1024
|
+
__typename?: boolean | number;
|
|
1025
|
+
__scalar?: boolean | number;
|
|
1026
|
+
}
|
|
1027
|
+
export interface SponsorStatsGenqlSelection {
|
|
1028
|
+
sponsoredAthletes?: boolean | number;
|
|
1029
|
+
totalBrands?: boolean | number;
|
|
1030
|
+
activeCampaigns?: boolean | number;
|
|
1031
|
+
activeSponsorships?: boolean | number;
|
|
1032
|
+
__typename?: boolean | number;
|
|
1033
|
+
__scalar?: boolean | number;
|
|
1034
|
+
}
|
|
1035
|
+
export interface SponsorBrandGenqlSelection {
|
|
1036
|
+
_id?: boolean | number;
|
|
1037
|
+
name?: boolean | number;
|
|
1038
|
+
slogan?: boolean | number;
|
|
1039
|
+
website?: boolean | number;
|
|
1040
|
+
description?: boolean | number;
|
|
1041
|
+
approved?: boolean | number;
|
|
1042
|
+
published?: boolean | number;
|
|
1043
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1044
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1045
|
+
stats?: BrandStatsGenqlSelection;
|
|
1046
|
+
operatorIds?: boolean | number;
|
|
1047
|
+
translations?: BrandTranslationGenqlSelection;
|
|
1048
|
+
sponsorBrandId?: boolean | number;
|
|
1049
|
+
authorizedUse?: boolean | number;
|
|
1050
|
+
isAuthorizer?: boolean | number;
|
|
1051
|
+
__typename?: boolean | number;
|
|
1052
|
+
__scalar?: boolean | number;
|
|
1053
|
+
}
|
|
1054
|
+
export interface SponsorGenqlSelection {
|
|
1055
|
+
_id?: boolean | number;
|
|
1056
|
+
name?: boolean | number;
|
|
1057
|
+
description?: boolean | number;
|
|
1058
|
+
tenant?: TenantGenqlSelection;
|
|
1059
|
+
industry?: IndustryGenqlSelection;
|
|
1060
|
+
stats?: SponsorStatsGenqlSelection;
|
|
1061
|
+
brands?: SponsorBrandGenqlSelection;
|
|
1062
|
+
sponsorships?: SponsorshipGenqlSelection;
|
|
1063
|
+
approved?: boolean | number;
|
|
1064
|
+
__typename?: boolean | number;
|
|
1065
|
+
__scalar?: boolean | number;
|
|
1066
|
+
}
|
|
1067
|
+
export interface SponsorshipItemGenqlSelection {
|
|
1068
|
+
_id?: boolean | number;
|
|
1069
|
+
title?: boolean | number;
|
|
1070
|
+
value?: boolean | number;
|
|
1071
|
+
type?: boolean | number;
|
|
1072
|
+
__typename?: boolean | number;
|
|
1073
|
+
__scalar?: boolean | number;
|
|
1074
|
+
}
|
|
968
1075
|
export interface SponsorshipStatsGenqlSelection {
|
|
1076
|
+
totalSponsorships?: boolean | number;
|
|
969
1077
|
totalApplications?: boolean | number;
|
|
970
1078
|
newApplications?: boolean | number;
|
|
971
1079
|
discardedApplications?: boolean | number;
|
|
@@ -991,13 +1099,63 @@ export interface SponsorshipGenqlSelection {
|
|
|
991
1099
|
_id?: boolean | number;
|
|
992
1100
|
title?: boolean | number;
|
|
993
1101
|
description?: boolean | number;
|
|
994
|
-
|
|
1102
|
+
cashValue?: boolean | number;
|
|
1103
|
+
otherValue?: boolean | number;
|
|
1104
|
+
brand?: BrandGenqlSelection;
|
|
995
1105
|
banner?: AWSS3FileGenqlSelection;
|
|
1106
|
+
criteria?: AthleteCriteriaGenqlSelection;
|
|
1107
|
+
sponsor?: SponsorGenqlSelection;
|
|
1108
|
+
sponsorshipItems?: SponsorshipItemGenqlSelection;
|
|
1109
|
+
commitments?: CommitmentTypeGenqlSelection;
|
|
1110
|
+
terms?: boolean | number;
|
|
996
1111
|
stats?: SponsorshipStatsGenqlSelection;
|
|
997
|
-
translations?: SponsorshipTranslationGenqlSelection;
|
|
998
1112
|
approved?: boolean | number;
|
|
999
1113
|
published?: boolean | number;
|
|
1000
|
-
|
|
1114
|
+
translations?: SponsorshipTranslationGenqlSelection;
|
|
1115
|
+
__typename?: boolean | number;
|
|
1116
|
+
__scalar?: boolean | number;
|
|
1117
|
+
}
|
|
1118
|
+
export interface CommitmentTypeGenqlSelection {
|
|
1119
|
+
on_SponsorshipCommitment?: SponsorshipCommitmentGenqlSelection;
|
|
1120
|
+
on_DatedSponsorshipCommitment?: DatedSponsorshipCommitmentGenqlSelection;
|
|
1121
|
+
on_RecurrentSponsorshipCommitment?: RecurrentSponsorshipCommitmentGenqlSelection;
|
|
1122
|
+
__typename?: boolean | number;
|
|
1123
|
+
}
|
|
1124
|
+
export interface SponsorshipCommitmentGenqlSelection {
|
|
1125
|
+
_id?: boolean | number;
|
|
1126
|
+
title?: boolean | number;
|
|
1127
|
+
details?: boolean | number;
|
|
1128
|
+
type?: boolean | number;
|
|
1129
|
+
hashTags?: boolean | number;
|
|
1130
|
+
media?: boolean | number;
|
|
1131
|
+
actionType?: boolean | number;
|
|
1132
|
+
autoMeasurable?: boolean | number;
|
|
1133
|
+
__typename?: boolean | number;
|
|
1134
|
+
__scalar?: boolean | number;
|
|
1135
|
+
}
|
|
1136
|
+
export interface DatedSponsorshipCommitmentGenqlSelection {
|
|
1137
|
+
_id?: boolean | number;
|
|
1138
|
+
title?: boolean | number;
|
|
1139
|
+
details?: boolean | number;
|
|
1140
|
+
type?: boolean | number;
|
|
1141
|
+
hashTags?: boolean | number;
|
|
1142
|
+
media?: boolean | number;
|
|
1143
|
+
actionType?: boolean | number;
|
|
1144
|
+
autoMeasurable?: boolean | number;
|
|
1145
|
+
usesTime?: boolean | number;
|
|
1146
|
+
date?: boolean | number;
|
|
1147
|
+
__typename?: boolean | number;
|
|
1148
|
+
__scalar?: boolean | number;
|
|
1149
|
+
}
|
|
1150
|
+
export interface RecurrentSponsorshipCommitmentGenqlSelection {
|
|
1151
|
+
_id?: boolean | number;
|
|
1152
|
+
title?: boolean | number;
|
|
1153
|
+
details?: boolean | number;
|
|
1154
|
+
type?: boolean | number;
|
|
1155
|
+
hashTags?: boolean | number;
|
|
1156
|
+
media?: boolean | number;
|
|
1157
|
+
actionType?: boolean | number;
|
|
1158
|
+
autoMeasurable?: boolean | number;
|
|
1001
1159
|
__typename?: boolean | number;
|
|
1002
1160
|
__scalar?: boolean | number;
|
|
1003
1161
|
}
|
|
@@ -1136,52 +1294,6 @@ export interface AthleteGenqlSelection {
|
|
|
1136
1294
|
__typename?: boolean | number;
|
|
1137
1295
|
__scalar?: boolean | number;
|
|
1138
1296
|
}
|
|
1139
|
-
export interface IndustryGenqlSelection {
|
|
1140
|
-
_id?: boolean | number;
|
|
1141
|
-
name?: boolean | number;
|
|
1142
|
-
__typename?: boolean | number;
|
|
1143
|
-
__scalar?: boolean | number;
|
|
1144
|
-
}
|
|
1145
|
-
export interface SponsorStatsGenqlSelection {
|
|
1146
|
-
sponsoredAthletes?: boolean | number;
|
|
1147
|
-
totalBrands?: boolean | number;
|
|
1148
|
-
activeCampaigns?: boolean | number;
|
|
1149
|
-
activeSponsorships?: boolean | number;
|
|
1150
|
-
__typename?: boolean | number;
|
|
1151
|
-
__scalar?: boolean | number;
|
|
1152
|
-
}
|
|
1153
|
-
export interface SponsorBrandGenqlSelection {
|
|
1154
|
-
_id?: boolean | number;
|
|
1155
|
-
name?: boolean | number;
|
|
1156
|
-
slogan?: boolean | number;
|
|
1157
|
-
website?: boolean | number;
|
|
1158
|
-
description?: boolean | number;
|
|
1159
|
-
approved?: boolean | number;
|
|
1160
|
-
published?: boolean | number;
|
|
1161
|
-
logo?: AWSS3FileGenqlSelection;
|
|
1162
|
-
banner?: AWSS3FileGenqlSelection;
|
|
1163
|
-
stats?: BrandStatsGenqlSelection;
|
|
1164
|
-
operatorIds?: boolean | number;
|
|
1165
|
-
translations?: BrandTranslationGenqlSelection;
|
|
1166
|
-
sponsorBrandId?: boolean | number;
|
|
1167
|
-
authorizedUse?: boolean | number;
|
|
1168
|
-
isAuthorizer?: boolean | number;
|
|
1169
|
-
__typename?: boolean | number;
|
|
1170
|
-
__scalar?: boolean | number;
|
|
1171
|
-
}
|
|
1172
|
-
export interface SponsorGenqlSelection {
|
|
1173
|
-
_id?: boolean | number;
|
|
1174
|
-
name?: boolean | number;
|
|
1175
|
-
description?: boolean | number;
|
|
1176
|
-
tenant?: TenantGenqlSelection;
|
|
1177
|
-
industry?: IndustryGenqlSelection;
|
|
1178
|
-
stats?: SponsorStatsGenqlSelection;
|
|
1179
|
-
brands?: SponsorBrandGenqlSelection;
|
|
1180
|
-
sponsorships?: SponsorshipGenqlSelection;
|
|
1181
|
-
approved?: boolean | number;
|
|
1182
|
-
__typename?: boolean | number;
|
|
1183
|
-
__scalar?: boolean | number;
|
|
1184
|
-
}
|
|
1185
1297
|
export interface ScoreQualificationDto {
|
|
1186
1298
|
type: Scalars['String'];
|
|
1187
1299
|
scoreType: Scalars['String'];
|
|
@@ -1297,11 +1409,8 @@ export interface QueryGenqlSelection {
|
|
|
1297
1409
|
};
|
|
1298
1410
|
});
|
|
1299
1411
|
getSportLevels?: SportLevelGenqlSelection;
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
sponsorId: Scalars['String'];
|
|
1303
|
-
};
|
|
1304
|
-
});
|
|
1412
|
+
getPublicSponsorships?: SponsorshipGenqlSelection;
|
|
1413
|
+
getTenantSponsorships?: SponsorshipGenqlSelection;
|
|
1305
1414
|
getCountries?: CountryGenqlSelection;
|
|
1306
1415
|
getCountryStates?: (StateGenqlSelection & {
|
|
1307
1416
|
__args: {
|
|
@@ -1718,6 +1827,21 @@ export declare const isSportsLevelQualification: (obj?: {
|
|
|
1718
1827
|
export declare const isAthleteCriteria: (obj?: {
|
|
1719
1828
|
__typename?: any;
|
|
1720
1829
|
} | null) => obj is AthleteCriteria;
|
|
1830
|
+
export declare const isIndustry: (obj?: {
|
|
1831
|
+
__typename?: any;
|
|
1832
|
+
} | null) => obj is Industry;
|
|
1833
|
+
export declare const isSponsorStats: (obj?: {
|
|
1834
|
+
__typename?: any;
|
|
1835
|
+
} | null) => obj is SponsorStats;
|
|
1836
|
+
export declare const isSponsorBrand: (obj?: {
|
|
1837
|
+
__typename?: any;
|
|
1838
|
+
} | null) => obj is SponsorBrand;
|
|
1839
|
+
export declare const isSponsor: (obj?: {
|
|
1840
|
+
__typename?: any;
|
|
1841
|
+
} | null) => obj is Sponsor;
|
|
1842
|
+
export declare const isSponsorshipItem: (obj?: {
|
|
1843
|
+
__typename?: any;
|
|
1844
|
+
} | null) => obj is SponsorshipItem;
|
|
1721
1845
|
export declare const isSponsorshipStats: (obj?: {
|
|
1722
1846
|
__typename?: any;
|
|
1723
1847
|
} | null) => obj is SponsorshipStats;
|
|
@@ -1727,6 +1851,18 @@ export declare const isSponsorshipTranslation: (obj?: {
|
|
|
1727
1851
|
export declare const isSponsorship: (obj?: {
|
|
1728
1852
|
__typename?: any;
|
|
1729
1853
|
} | null) => obj is Sponsorship;
|
|
1854
|
+
export declare const isCommitmentType: (obj?: {
|
|
1855
|
+
__typename?: any;
|
|
1856
|
+
} | null) => obj is CommitmentType;
|
|
1857
|
+
export declare const isSponsorshipCommitment: (obj?: {
|
|
1858
|
+
__typename?: any;
|
|
1859
|
+
} | null) => obj is SponsorshipCommitment;
|
|
1860
|
+
export declare const isDatedSponsorshipCommitment: (obj?: {
|
|
1861
|
+
__typename?: any;
|
|
1862
|
+
} | null) => obj is DatedSponsorshipCommitment;
|
|
1863
|
+
export declare const isRecurrentSponsorshipCommitment: (obj?: {
|
|
1864
|
+
__typename?: any;
|
|
1865
|
+
} | null) => obj is RecurrentSponsorshipCommitment;
|
|
1730
1866
|
export declare const isFollowStats: (obj?: {
|
|
1731
1867
|
__typename?: any;
|
|
1732
1868
|
} | null) => obj is FollowStats;
|
|
@@ -1766,18 +1902,6 @@ export declare const isWorldLocation: (obj?: {
|
|
|
1766
1902
|
export declare const isAthlete: (obj?: {
|
|
1767
1903
|
__typename?: any;
|
|
1768
1904
|
} | null) => obj is Athlete;
|
|
1769
|
-
export declare const isIndustry: (obj?: {
|
|
1770
|
-
__typename?: any;
|
|
1771
|
-
} | null) => obj is Industry;
|
|
1772
|
-
export declare const isSponsorStats: (obj?: {
|
|
1773
|
-
__typename?: any;
|
|
1774
|
-
} | null) => obj is SponsorStats;
|
|
1775
|
-
export declare const isSponsorBrand: (obj?: {
|
|
1776
|
-
__typename?: any;
|
|
1777
|
-
} | null) => obj is SponsorBrand;
|
|
1778
|
-
export declare const isSponsor: (obj?: {
|
|
1779
|
-
__typename?: any;
|
|
1780
|
-
} | null) => obj is Sponsor;
|
|
1781
1905
|
export declare const isQuery: (obj?: {
|
|
1782
1906
|
__typename?: any;
|
|
1783
1907
|
} | null) => obj is Query;
|
|
@@ -340,7 +340,57 @@ type AthleteCriteria {
|
|
|
340
340
|
qualifications: [Qualification!]
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
+
type Industry {
|
|
344
|
+
_id: String!
|
|
345
|
+
name: String!
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
type SponsorStats {
|
|
349
|
+
sponsoredAthletes: Float!
|
|
350
|
+
totalBrands: Float!
|
|
351
|
+
activeCampaigns: Float!
|
|
352
|
+
activeSponsorships: Float!
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
type SponsorBrand {
|
|
356
|
+
_id: String!
|
|
357
|
+
name: String!
|
|
358
|
+
slogan: String
|
|
359
|
+
website: String
|
|
360
|
+
description: String
|
|
361
|
+
approved: Boolean!
|
|
362
|
+
published: Boolean!
|
|
363
|
+
logo: AWSS3File
|
|
364
|
+
banner: AWSS3File
|
|
365
|
+
stats: BrandStats
|
|
366
|
+
operatorIds: [String!]
|
|
367
|
+
translations: [BrandTranslation!]
|
|
368
|
+
sponsorBrandId: String!
|
|
369
|
+
authorizedUse: Boolean!
|
|
370
|
+
isAuthorizer: Boolean!
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
type Sponsor {
|
|
374
|
+
_id: String!
|
|
375
|
+
name: String!
|
|
376
|
+
description: String!
|
|
377
|
+
tenant: Tenant!
|
|
378
|
+
industry: Industry
|
|
379
|
+
stats: SponsorStats
|
|
380
|
+
brands: [SponsorBrand!]
|
|
381
|
+
sponsorships: [Sponsorship!]
|
|
382
|
+
approved: Boolean!
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
type SponsorshipItem {
|
|
386
|
+
_id: String!
|
|
387
|
+
title: String!
|
|
388
|
+
value: Float!
|
|
389
|
+
type: String!
|
|
390
|
+
}
|
|
391
|
+
|
|
343
392
|
type SponsorshipStats {
|
|
393
|
+
totalSponsorships: Float
|
|
344
394
|
totalApplications: Float
|
|
345
395
|
newApplications: Float
|
|
346
396
|
discardedApplications: Float
|
|
@@ -364,13 +414,56 @@ type Sponsorship {
|
|
|
364
414
|
_id: String!
|
|
365
415
|
title: String!
|
|
366
416
|
description: String
|
|
367
|
-
|
|
417
|
+
cashValue: Float!
|
|
418
|
+
otherValue: Float!
|
|
419
|
+
brand: Brand
|
|
368
420
|
banner: AWSS3File
|
|
421
|
+
criteria: AthleteCriteria
|
|
422
|
+
sponsor: Sponsor
|
|
423
|
+
sponsorshipItems: [SponsorshipItem!]
|
|
424
|
+
commitments: [CommitmentType!]
|
|
425
|
+
terms: String
|
|
369
426
|
stats: SponsorshipStats
|
|
370
|
-
translations: [SponsorshipTranslation!]
|
|
371
427
|
approved: Boolean!
|
|
372
428
|
published: Boolean!
|
|
373
|
-
|
|
429
|
+
translations: [SponsorshipTranslation!]
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
union CommitmentType = SponsorshipCommitment | DatedSponsorshipCommitment | RecurrentSponsorshipCommitment
|
|
433
|
+
|
|
434
|
+
type SponsorshipCommitment {
|
|
435
|
+
_id: String!
|
|
436
|
+
title: String!
|
|
437
|
+
details: String
|
|
438
|
+
type: String!
|
|
439
|
+
hashTags: String!
|
|
440
|
+
media: String!
|
|
441
|
+
actionType: String!
|
|
442
|
+
autoMeasurable: Boolean!
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
type DatedSponsorshipCommitment {
|
|
446
|
+
_id: String!
|
|
447
|
+
title: String!
|
|
448
|
+
details: String
|
|
449
|
+
type: String!
|
|
450
|
+
hashTags: String!
|
|
451
|
+
media: String!
|
|
452
|
+
actionType: String!
|
|
453
|
+
autoMeasurable: Boolean!
|
|
454
|
+
usesTime: Boolean!
|
|
455
|
+
date: DateTime!
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
type RecurrentSponsorshipCommitment {
|
|
459
|
+
_id: String!
|
|
460
|
+
title: String!
|
|
461
|
+
details: String
|
|
462
|
+
type: String!
|
|
463
|
+
hashTags: String!
|
|
464
|
+
media: String!
|
|
465
|
+
actionType: String!
|
|
466
|
+
autoMeasurable: Boolean!
|
|
374
467
|
}
|
|
375
468
|
|
|
376
469
|
type FollowStats {
|
|
@@ -495,48 +588,6 @@ type Athlete {
|
|
|
495
588
|
totalPastCompetitions: Float
|
|
496
589
|
}
|
|
497
590
|
|
|
498
|
-
type Industry {
|
|
499
|
-
_id: String!
|
|
500
|
-
name: String!
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
type SponsorStats {
|
|
504
|
-
sponsoredAthletes: Float!
|
|
505
|
-
totalBrands: Float!
|
|
506
|
-
activeCampaigns: Float!
|
|
507
|
-
activeSponsorships: Float!
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
type SponsorBrand {
|
|
511
|
-
_id: String!
|
|
512
|
-
name: String!
|
|
513
|
-
slogan: String
|
|
514
|
-
website: String
|
|
515
|
-
description: String
|
|
516
|
-
approved: Boolean!
|
|
517
|
-
published: Boolean!
|
|
518
|
-
logo: AWSS3File
|
|
519
|
-
banner: AWSS3File
|
|
520
|
-
stats: BrandStats
|
|
521
|
-
operatorIds: [String!]
|
|
522
|
-
translations: [BrandTranslation!]
|
|
523
|
-
sponsorBrandId: String!
|
|
524
|
-
authorizedUse: Boolean!
|
|
525
|
-
isAuthorizer: Boolean!
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
type Sponsor {
|
|
529
|
-
_id: String!
|
|
530
|
-
name: String!
|
|
531
|
-
description: String!
|
|
532
|
-
tenant: Tenant!
|
|
533
|
-
industry: Industry
|
|
534
|
-
stats: SponsorStats
|
|
535
|
-
brands: [SponsorBrand!]
|
|
536
|
-
sponsorships: [Sponsorship!]
|
|
537
|
-
approved: Boolean!
|
|
538
|
-
}
|
|
539
|
-
|
|
540
591
|
input ScoreQualificationDto {
|
|
541
592
|
type: String!
|
|
542
593
|
scoreType: String!
|
|
@@ -609,7 +660,8 @@ type Query {
|
|
|
609
660
|
getSports: [Sport!]!
|
|
610
661
|
findSportById(sportId: String!): Sport!
|
|
611
662
|
getSportLevels: [SportLevel!]!
|
|
612
|
-
|
|
663
|
+
getPublicSponsorships: [Sponsorship!]!
|
|
664
|
+
getTenantSponsorships: [Sponsorship!]!
|
|
613
665
|
getCountries: [Country!]!
|
|
614
666
|
getCountryStates(countryId: String!): [State!]!
|
|
615
667
|
getStateCities(stateId: String!): [City!]!
|