@vertikalx/vtx-backend-client 1.0.0-dev.35 → 1.0.0-dev.37
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/client/schema.d.ts +227 -106
- package/src/client/schema.graphql +94 -45
- package/src/client/schema.js +65 -30
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +98 -45
- package/src/client/types.js +332 -193
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/package.json
CHANGED
package/src/client/schema.d.ts
CHANGED
|
@@ -341,6 +341,55 @@ 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 {
|
|
345
394
|
totalSponsorships: (Scalars['Float'] | null);
|
|
346
395
|
totalApplications: (Scalars['Float'] | null);
|
|
@@ -369,15 +418,57 @@ export interface Sponsorship {
|
|
|
369
418
|
cashValue: Scalars['Float'];
|
|
370
419
|
otherValue: Scalars['Float'];
|
|
371
420
|
brand: (Brand | null);
|
|
372
|
-
terms: (Scalars['String'] | null);
|
|
373
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);
|
|
374
427
|
stats: (SponsorshipStats | null);
|
|
375
|
-
|
|
428
|
+
isPrivate: Scalars['Boolean'];
|
|
376
429
|
approved: Scalars['Boolean'];
|
|
377
430
|
published: Scalars['Boolean'];
|
|
378
|
-
|
|
431
|
+
translations: (SponsorshipTranslation[] | null);
|
|
379
432
|
__typename: 'Sponsorship';
|
|
380
433
|
}
|
|
434
|
+
export type CommitmentType = (SponsorshipCommitment | DatedSponsorshipCommitment | RecurrentSponsorshipCommitment) & {
|
|
435
|
+
__isUnion?: true;
|
|
436
|
+
};
|
|
437
|
+
export interface SponsorshipCommitment {
|
|
438
|
+
_id: Scalars['String'];
|
|
439
|
+
title: Scalars['String'];
|
|
440
|
+
details: (Scalars['String'] | null);
|
|
441
|
+
type: Scalars['String'];
|
|
442
|
+
hashTags: Scalars['String'];
|
|
443
|
+
media: Scalars['String'];
|
|
444
|
+
actionType: Scalars['String'];
|
|
445
|
+
autoMeasurable: Scalars['Boolean'];
|
|
446
|
+
__typename: 'SponsorshipCommitment';
|
|
447
|
+
}
|
|
448
|
+
export interface DatedSponsorshipCommitment {
|
|
449
|
+
_id: Scalars['String'];
|
|
450
|
+
title: Scalars['String'];
|
|
451
|
+
details: (Scalars['String'] | null);
|
|
452
|
+
type: Scalars['String'];
|
|
453
|
+
hashTags: Scalars['String'];
|
|
454
|
+
media: Scalars['String'];
|
|
455
|
+
actionType: Scalars['String'];
|
|
456
|
+
autoMeasurable: Scalars['Boolean'];
|
|
457
|
+
usesTime: Scalars['Boolean'];
|
|
458
|
+
date: Scalars['DateTime'];
|
|
459
|
+
__typename: 'DatedSponsorshipCommitment';
|
|
460
|
+
}
|
|
461
|
+
export interface RecurrentSponsorshipCommitment {
|
|
462
|
+
_id: Scalars['String'];
|
|
463
|
+
title: Scalars['String'];
|
|
464
|
+
details: (Scalars['String'] | null);
|
|
465
|
+
type: Scalars['String'];
|
|
466
|
+
hashTags: Scalars['String'];
|
|
467
|
+
media: Scalars['String'];
|
|
468
|
+
actionType: Scalars['String'];
|
|
469
|
+
autoMeasurable: Scalars['Boolean'];
|
|
470
|
+
__typename: 'RecurrentSponsorshipCommitment';
|
|
471
|
+
}
|
|
381
472
|
export interface FollowStats {
|
|
382
473
|
followers: Scalars['Float'];
|
|
383
474
|
followed: Scalars['Float'];
|
|
@@ -500,48 +591,6 @@ export interface Athlete {
|
|
|
500
591
|
totalPastCompetitions: (Scalars['Float'] | null);
|
|
501
592
|
__typename: 'Athlete';
|
|
502
593
|
}
|
|
503
|
-
export interface Industry {
|
|
504
|
-
_id: Scalars['String'];
|
|
505
|
-
name: Scalars['String'];
|
|
506
|
-
__typename: 'Industry';
|
|
507
|
-
}
|
|
508
|
-
export interface SponsorStats {
|
|
509
|
-
sponsoredAthletes: Scalars['Float'];
|
|
510
|
-
totalBrands: Scalars['Float'];
|
|
511
|
-
activeCampaigns: Scalars['Float'];
|
|
512
|
-
activeSponsorships: Scalars['Float'];
|
|
513
|
-
__typename: 'SponsorStats';
|
|
514
|
-
}
|
|
515
|
-
export interface SponsorBrand {
|
|
516
|
-
_id: Scalars['String'];
|
|
517
|
-
name: Scalars['String'];
|
|
518
|
-
slogan: (Scalars['String'] | null);
|
|
519
|
-
website: (Scalars['String'] | null);
|
|
520
|
-
description: (Scalars['String'] | null);
|
|
521
|
-
approved: Scalars['Boolean'];
|
|
522
|
-
published: Scalars['Boolean'];
|
|
523
|
-
logo: (AWSS3File | null);
|
|
524
|
-
banner: (AWSS3File | null);
|
|
525
|
-
stats: (BrandStats | null);
|
|
526
|
-
operatorIds: (Scalars['String'][] | null);
|
|
527
|
-
translations: (BrandTranslation[] | null);
|
|
528
|
-
sponsorBrandId: Scalars['String'];
|
|
529
|
-
authorizedUse: Scalars['Boolean'];
|
|
530
|
-
isAuthorizer: Scalars['Boolean'];
|
|
531
|
-
__typename: 'SponsorBrand';
|
|
532
|
-
}
|
|
533
|
-
export interface Sponsor {
|
|
534
|
-
_id: Scalars['String'];
|
|
535
|
-
name: Scalars['String'];
|
|
536
|
-
description: Scalars['String'];
|
|
537
|
-
tenant: Tenant;
|
|
538
|
-
industry: (Industry | null);
|
|
539
|
-
stats: (SponsorStats | null);
|
|
540
|
-
brands: (SponsorBrand[] | null);
|
|
541
|
-
sponsorships: (Sponsorship[] | null);
|
|
542
|
-
approved: Scalars['Boolean'];
|
|
543
|
-
__typename: 'Sponsor';
|
|
544
|
-
}
|
|
545
594
|
export interface Query {
|
|
546
595
|
findTenantById: Tenant;
|
|
547
596
|
findTenantByEmail: Tenant;
|
|
@@ -970,6 +1019,60 @@ export interface AthleteCriteriaGenqlSelection {
|
|
|
970
1019
|
__typename?: boolean | number;
|
|
971
1020
|
__scalar?: boolean | number;
|
|
972
1021
|
}
|
|
1022
|
+
export interface IndustryGenqlSelection {
|
|
1023
|
+
_id?: boolean | number;
|
|
1024
|
+
name?: boolean | number;
|
|
1025
|
+
__typename?: boolean | number;
|
|
1026
|
+
__scalar?: boolean | number;
|
|
1027
|
+
}
|
|
1028
|
+
export interface SponsorStatsGenqlSelection {
|
|
1029
|
+
sponsoredAthletes?: boolean | number;
|
|
1030
|
+
totalBrands?: boolean | number;
|
|
1031
|
+
activeCampaigns?: boolean | number;
|
|
1032
|
+
activeSponsorships?: boolean | number;
|
|
1033
|
+
__typename?: boolean | number;
|
|
1034
|
+
__scalar?: boolean | number;
|
|
1035
|
+
}
|
|
1036
|
+
export interface SponsorBrandGenqlSelection {
|
|
1037
|
+
_id?: boolean | number;
|
|
1038
|
+
name?: boolean | number;
|
|
1039
|
+
slogan?: boolean | number;
|
|
1040
|
+
website?: boolean | number;
|
|
1041
|
+
description?: boolean | number;
|
|
1042
|
+
approved?: boolean | number;
|
|
1043
|
+
published?: boolean | number;
|
|
1044
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1045
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1046
|
+
stats?: BrandStatsGenqlSelection;
|
|
1047
|
+
operatorIds?: boolean | number;
|
|
1048
|
+
translations?: BrandTranslationGenqlSelection;
|
|
1049
|
+
sponsorBrandId?: boolean | number;
|
|
1050
|
+
authorizedUse?: boolean | number;
|
|
1051
|
+
isAuthorizer?: boolean | number;
|
|
1052
|
+
__typename?: boolean | number;
|
|
1053
|
+
__scalar?: boolean | number;
|
|
1054
|
+
}
|
|
1055
|
+
export interface SponsorGenqlSelection {
|
|
1056
|
+
_id?: boolean | number;
|
|
1057
|
+
name?: boolean | number;
|
|
1058
|
+
description?: boolean | number;
|
|
1059
|
+
tenant?: TenantGenqlSelection;
|
|
1060
|
+
industry?: IndustryGenqlSelection;
|
|
1061
|
+
stats?: SponsorStatsGenqlSelection;
|
|
1062
|
+
brands?: SponsorBrandGenqlSelection;
|
|
1063
|
+
sponsorships?: SponsorshipGenqlSelection;
|
|
1064
|
+
approved?: boolean | number;
|
|
1065
|
+
__typename?: boolean | number;
|
|
1066
|
+
__scalar?: boolean | number;
|
|
1067
|
+
}
|
|
1068
|
+
export interface SponsorshipItemGenqlSelection {
|
|
1069
|
+
_id?: boolean | number;
|
|
1070
|
+
title?: boolean | number;
|
|
1071
|
+
value?: boolean | number;
|
|
1072
|
+
type?: boolean | number;
|
|
1073
|
+
__typename?: boolean | number;
|
|
1074
|
+
__scalar?: boolean | number;
|
|
1075
|
+
}
|
|
973
1076
|
export interface SponsorshipStatsGenqlSelection {
|
|
974
1077
|
totalSponsorships?: boolean | number;
|
|
975
1078
|
totalApplications?: boolean | number;
|
|
@@ -1000,13 +1103,61 @@ export interface SponsorshipGenqlSelection {
|
|
|
1000
1103
|
cashValue?: boolean | number;
|
|
1001
1104
|
otherValue?: boolean | number;
|
|
1002
1105
|
brand?: BrandGenqlSelection;
|
|
1003
|
-
terms?: boolean | number;
|
|
1004
1106
|
banner?: AWSS3FileGenqlSelection;
|
|
1107
|
+
criteria?: AthleteCriteriaGenqlSelection;
|
|
1108
|
+
sponsor?: SponsorGenqlSelection;
|
|
1109
|
+
sponsorshipItems?: SponsorshipItemGenqlSelection;
|
|
1110
|
+
commitments?: CommitmentTypeGenqlSelection;
|
|
1111
|
+
terms?: boolean | number;
|
|
1005
1112
|
stats?: SponsorshipStatsGenqlSelection;
|
|
1006
|
-
|
|
1113
|
+
isPrivate?: boolean | number;
|
|
1007
1114
|
approved?: boolean | number;
|
|
1008
1115
|
published?: boolean | number;
|
|
1009
|
-
|
|
1116
|
+
translations?: SponsorshipTranslationGenqlSelection;
|
|
1117
|
+
__typename?: boolean | number;
|
|
1118
|
+
__scalar?: boolean | number;
|
|
1119
|
+
}
|
|
1120
|
+
export interface CommitmentTypeGenqlSelection {
|
|
1121
|
+
on_SponsorshipCommitment?: SponsorshipCommitmentGenqlSelection;
|
|
1122
|
+
on_DatedSponsorshipCommitment?: DatedSponsorshipCommitmentGenqlSelection;
|
|
1123
|
+
on_RecurrentSponsorshipCommitment?: RecurrentSponsorshipCommitmentGenqlSelection;
|
|
1124
|
+
__typename?: boolean | number;
|
|
1125
|
+
}
|
|
1126
|
+
export interface SponsorshipCommitmentGenqlSelection {
|
|
1127
|
+
_id?: boolean | number;
|
|
1128
|
+
title?: boolean | number;
|
|
1129
|
+
details?: boolean | number;
|
|
1130
|
+
type?: boolean | number;
|
|
1131
|
+
hashTags?: boolean | number;
|
|
1132
|
+
media?: boolean | number;
|
|
1133
|
+
actionType?: boolean | number;
|
|
1134
|
+
autoMeasurable?: boolean | number;
|
|
1135
|
+
__typename?: boolean | number;
|
|
1136
|
+
__scalar?: boolean | number;
|
|
1137
|
+
}
|
|
1138
|
+
export interface DatedSponsorshipCommitmentGenqlSelection {
|
|
1139
|
+
_id?: boolean | number;
|
|
1140
|
+
title?: boolean | number;
|
|
1141
|
+
details?: boolean | number;
|
|
1142
|
+
type?: boolean | number;
|
|
1143
|
+
hashTags?: boolean | number;
|
|
1144
|
+
media?: boolean | number;
|
|
1145
|
+
actionType?: boolean | number;
|
|
1146
|
+
autoMeasurable?: boolean | number;
|
|
1147
|
+
usesTime?: boolean | number;
|
|
1148
|
+
date?: boolean | number;
|
|
1149
|
+
__typename?: boolean | number;
|
|
1150
|
+
__scalar?: boolean | number;
|
|
1151
|
+
}
|
|
1152
|
+
export interface RecurrentSponsorshipCommitmentGenqlSelection {
|
|
1153
|
+
_id?: boolean | number;
|
|
1154
|
+
title?: boolean | number;
|
|
1155
|
+
details?: boolean | number;
|
|
1156
|
+
type?: boolean | number;
|
|
1157
|
+
hashTags?: boolean | number;
|
|
1158
|
+
media?: boolean | number;
|
|
1159
|
+
actionType?: boolean | number;
|
|
1160
|
+
autoMeasurable?: boolean | number;
|
|
1010
1161
|
__typename?: boolean | number;
|
|
1011
1162
|
__scalar?: boolean | number;
|
|
1012
1163
|
}
|
|
@@ -1145,52 +1296,6 @@ export interface AthleteGenqlSelection {
|
|
|
1145
1296
|
__typename?: boolean | number;
|
|
1146
1297
|
__scalar?: boolean | number;
|
|
1147
1298
|
}
|
|
1148
|
-
export interface IndustryGenqlSelection {
|
|
1149
|
-
_id?: boolean | number;
|
|
1150
|
-
name?: boolean | number;
|
|
1151
|
-
__typename?: boolean | number;
|
|
1152
|
-
__scalar?: boolean | number;
|
|
1153
|
-
}
|
|
1154
|
-
export interface SponsorStatsGenqlSelection {
|
|
1155
|
-
sponsoredAthletes?: boolean | number;
|
|
1156
|
-
totalBrands?: boolean | number;
|
|
1157
|
-
activeCampaigns?: boolean | number;
|
|
1158
|
-
activeSponsorships?: boolean | number;
|
|
1159
|
-
__typename?: boolean | number;
|
|
1160
|
-
__scalar?: boolean | number;
|
|
1161
|
-
}
|
|
1162
|
-
export interface SponsorBrandGenqlSelection {
|
|
1163
|
-
_id?: boolean | number;
|
|
1164
|
-
name?: boolean | number;
|
|
1165
|
-
slogan?: boolean | number;
|
|
1166
|
-
website?: boolean | number;
|
|
1167
|
-
description?: boolean | number;
|
|
1168
|
-
approved?: boolean | number;
|
|
1169
|
-
published?: boolean | number;
|
|
1170
|
-
logo?: AWSS3FileGenqlSelection;
|
|
1171
|
-
banner?: AWSS3FileGenqlSelection;
|
|
1172
|
-
stats?: BrandStatsGenqlSelection;
|
|
1173
|
-
operatorIds?: boolean | number;
|
|
1174
|
-
translations?: BrandTranslationGenqlSelection;
|
|
1175
|
-
sponsorBrandId?: boolean | number;
|
|
1176
|
-
authorizedUse?: boolean | number;
|
|
1177
|
-
isAuthorizer?: boolean | number;
|
|
1178
|
-
__typename?: boolean | number;
|
|
1179
|
-
__scalar?: boolean | number;
|
|
1180
|
-
}
|
|
1181
|
-
export interface SponsorGenqlSelection {
|
|
1182
|
-
_id?: boolean | number;
|
|
1183
|
-
name?: boolean | number;
|
|
1184
|
-
description?: boolean | number;
|
|
1185
|
-
tenant?: TenantGenqlSelection;
|
|
1186
|
-
industry?: IndustryGenqlSelection;
|
|
1187
|
-
stats?: SponsorStatsGenqlSelection;
|
|
1188
|
-
brands?: SponsorBrandGenqlSelection;
|
|
1189
|
-
sponsorships?: SponsorshipGenqlSelection;
|
|
1190
|
-
approved?: boolean | number;
|
|
1191
|
-
__typename?: boolean | number;
|
|
1192
|
-
__scalar?: boolean | number;
|
|
1193
|
-
}
|
|
1194
1299
|
export interface ScoreQualificationDto {
|
|
1195
1300
|
type: Scalars['String'];
|
|
1196
1301
|
scoreType: Scalars['String'];
|
|
@@ -1556,6 +1661,7 @@ export interface CreateSponsorshipDto {
|
|
|
1556
1661
|
commitments?: (SponsorshipCommitmentDto[] | null);
|
|
1557
1662
|
terms?: (Scalars['String'] | null);
|
|
1558
1663
|
published?: (Scalars['Boolean'] | null);
|
|
1664
|
+
isPrivate?: (Scalars['Boolean'] | null);
|
|
1559
1665
|
translations?: (SponsorshipTranslationDto[] | null);
|
|
1560
1666
|
}
|
|
1561
1667
|
export interface AthleteCriteriaDto {
|
|
@@ -1724,6 +1830,21 @@ export declare const isSportsLevelQualification: (obj?: {
|
|
|
1724
1830
|
export declare const isAthleteCriteria: (obj?: {
|
|
1725
1831
|
__typename?: any;
|
|
1726
1832
|
} | null) => obj is AthleteCriteria;
|
|
1833
|
+
export declare const isIndustry: (obj?: {
|
|
1834
|
+
__typename?: any;
|
|
1835
|
+
} | null) => obj is Industry;
|
|
1836
|
+
export declare const isSponsorStats: (obj?: {
|
|
1837
|
+
__typename?: any;
|
|
1838
|
+
} | null) => obj is SponsorStats;
|
|
1839
|
+
export declare const isSponsorBrand: (obj?: {
|
|
1840
|
+
__typename?: any;
|
|
1841
|
+
} | null) => obj is SponsorBrand;
|
|
1842
|
+
export declare const isSponsor: (obj?: {
|
|
1843
|
+
__typename?: any;
|
|
1844
|
+
} | null) => obj is Sponsor;
|
|
1845
|
+
export declare const isSponsorshipItem: (obj?: {
|
|
1846
|
+
__typename?: any;
|
|
1847
|
+
} | null) => obj is SponsorshipItem;
|
|
1727
1848
|
export declare const isSponsorshipStats: (obj?: {
|
|
1728
1849
|
__typename?: any;
|
|
1729
1850
|
} | null) => obj is SponsorshipStats;
|
|
@@ -1733,6 +1854,18 @@ export declare const isSponsorshipTranslation: (obj?: {
|
|
|
1733
1854
|
export declare const isSponsorship: (obj?: {
|
|
1734
1855
|
__typename?: any;
|
|
1735
1856
|
} | null) => obj is Sponsorship;
|
|
1857
|
+
export declare const isCommitmentType: (obj?: {
|
|
1858
|
+
__typename?: any;
|
|
1859
|
+
} | null) => obj is CommitmentType;
|
|
1860
|
+
export declare const isSponsorshipCommitment: (obj?: {
|
|
1861
|
+
__typename?: any;
|
|
1862
|
+
} | null) => obj is SponsorshipCommitment;
|
|
1863
|
+
export declare const isDatedSponsorshipCommitment: (obj?: {
|
|
1864
|
+
__typename?: any;
|
|
1865
|
+
} | null) => obj is DatedSponsorshipCommitment;
|
|
1866
|
+
export declare const isRecurrentSponsorshipCommitment: (obj?: {
|
|
1867
|
+
__typename?: any;
|
|
1868
|
+
} | null) => obj is RecurrentSponsorshipCommitment;
|
|
1736
1869
|
export declare const isFollowStats: (obj?: {
|
|
1737
1870
|
__typename?: any;
|
|
1738
1871
|
} | null) => obj is FollowStats;
|
|
@@ -1772,18 +1905,6 @@ export declare const isWorldLocation: (obj?: {
|
|
|
1772
1905
|
export declare const isAthlete: (obj?: {
|
|
1773
1906
|
__typename?: any;
|
|
1774
1907
|
} | null) => obj is Athlete;
|
|
1775
|
-
export declare const isIndustry: (obj?: {
|
|
1776
|
-
__typename?: any;
|
|
1777
|
-
} | null) => obj is Industry;
|
|
1778
|
-
export declare const isSponsorStats: (obj?: {
|
|
1779
|
-
__typename?: any;
|
|
1780
|
-
} | null) => obj is SponsorStats;
|
|
1781
|
-
export declare const isSponsorBrand: (obj?: {
|
|
1782
|
-
__typename?: any;
|
|
1783
|
-
} | null) => obj is SponsorBrand;
|
|
1784
|
-
export declare const isSponsor: (obj?: {
|
|
1785
|
-
__typename?: any;
|
|
1786
|
-
} | null) => obj is Sponsor;
|
|
1787
1908
|
export declare const isQuery: (obj?: {
|
|
1788
1909
|
__typename?: any;
|
|
1789
1910
|
} | null) => obj is Query;
|
|
@@ -340,6 +340,55 @@ 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 {
|
|
344
393
|
totalSponsorships: Float
|
|
345
394
|
totalApplications: Float
|
|
@@ -368,13 +417,54 @@ type Sponsorship {
|
|
|
368
417
|
cashValue: Float!
|
|
369
418
|
otherValue: Float!
|
|
370
419
|
brand: Brand
|
|
371
|
-
terms: String
|
|
372
420
|
banner: AWSS3File
|
|
421
|
+
criteria: AthleteCriteria
|
|
422
|
+
sponsor: Sponsor
|
|
423
|
+
sponsorshipItems: [SponsorshipItem!]
|
|
424
|
+
commitments: [CommitmentType!]
|
|
425
|
+
terms: String
|
|
373
426
|
stats: SponsorshipStats
|
|
374
|
-
|
|
427
|
+
isPrivate: Boolean!
|
|
375
428
|
approved: Boolean!
|
|
376
429
|
published: Boolean!
|
|
377
|
-
|
|
430
|
+
translations: [SponsorshipTranslation!]
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
union CommitmentType = SponsorshipCommitment | DatedSponsorshipCommitment | RecurrentSponsorshipCommitment
|
|
434
|
+
|
|
435
|
+
type SponsorshipCommitment {
|
|
436
|
+
_id: String!
|
|
437
|
+
title: String!
|
|
438
|
+
details: String
|
|
439
|
+
type: String!
|
|
440
|
+
hashTags: String!
|
|
441
|
+
media: String!
|
|
442
|
+
actionType: String!
|
|
443
|
+
autoMeasurable: Boolean!
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
type DatedSponsorshipCommitment {
|
|
447
|
+
_id: String!
|
|
448
|
+
title: String!
|
|
449
|
+
details: String
|
|
450
|
+
type: String!
|
|
451
|
+
hashTags: String!
|
|
452
|
+
media: String!
|
|
453
|
+
actionType: String!
|
|
454
|
+
autoMeasurable: Boolean!
|
|
455
|
+
usesTime: Boolean!
|
|
456
|
+
date: DateTime!
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
type RecurrentSponsorshipCommitment {
|
|
460
|
+
_id: String!
|
|
461
|
+
title: String!
|
|
462
|
+
details: String
|
|
463
|
+
type: String!
|
|
464
|
+
hashTags: String!
|
|
465
|
+
media: String!
|
|
466
|
+
actionType: String!
|
|
467
|
+
autoMeasurable: Boolean!
|
|
378
468
|
}
|
|
379
469
|
|
|
380
470
|
type FollowStats {
|
|
@@ -499,48 +589,6 @@ type Athlete {
|
|
|
499
589
|
totalPastCompetitions: Float
|
|
500
590
|
}
|
|
501
591
|
|
|
502
|
-
type Industry {
|
|
503
|
-
_id: String!
|
|
504
|
-
name: String!
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
type SponsorStats {
|
|
508
|
-
sponsoredAthletes: Float!
|
|
509
|
-
totalBrands: Float!
|
|
510
|
-
activeCampaigns: Float!
|
|
511
|
-
activeSponsorships: Float!
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
type SponsorBrand {
|
|
515
|
-
_id: String!
|
|
516
|
-
name: String!
|
|
517
|
-
slogan: String
|
|
518
|
-
website: String
|
|
519
|
-
description: String
|
|
520
|
-
approved: Boolean!
|
|
521
|
-
published: Boolean!
|
|
522
|
-
logo: AWSS3File
|
|
523
|
-
banner: AWSS3File
|
|
524
|
-
stats: BrandStats
|
|
525
|
-
operatorIds: [String!]
|
|
526
|
-
translations: [BrandTranslation!]
|
|
527
|
-
sponsorBrandId: String!
|
|
528
|
-
authorizedUse: Boolean!
|
|
529
|
-
isAuthorizer: Boolean!
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
type Sponsor {
|
|
533
|
-
_id: String!
|
|
534
|
-
name: String!
|
|
535
|
-
description: String!
|
|
536
|
-
tenant: Tenant!
|
|
537
|
-
industry: Industry
|
|
538
|
-
stats: SponsorStats
|
|
539
|
-
brands: [SponsorBrand!]
|
|
540
|
-
sponsorships: [Sponsorship!]
|
|
541
|
-
approved: Boolean!
|
|
542
|
-
}
|
|
543
|
-
|
|
544
592
|
input ScoreQualificationDto {
|
|
545
593
|
type: String!
|
|
546
594
|
scoreType: String!
|
|
@@ -783,6 +831,7 @@ input CreateSponsorshipDto {
|
|
|
783
831
|
commitments: [SponsorshipCommitmentDto!]
|
|
784
832
|
terms: String
|
|
785
833
|
published: Boolean = true
|
|
834
|
+
isPrivate: Boolean = false
|
|
786
835
|
translations: [SponsorshipTranslationDto!]
|
|
787
836
|
}
|
|
788
837
|
|