@vertikalx/vtx-backend-client 3.1.1-dev-max.1 → 3.1.1-dev-max.2
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/generated/ai-coach.api.d.ts +2 -0
- package/src/api/domains/generated/ai-coach.api.js +33 -0
- package/src/api/domains/generated/ai-coach.api.js.map +1 -0
- package/src/api/domains/generated/athlete.api.d.ts +2 -0
- package/src/api/domains/generated/athlete.api.js +174 -0
- package/src/api/domains/generated/athlete.api.js.map +1 -0
- package/src/api/domains/generated/auth.api.d.ts +2 -0
- package/src/api/domains/generated/auth.api.js +66 -0
- package/src/api/domains/generated/auth.api.js.map +1 -0
- package/src/api/domains/generated/campaign.api.d.ts +2 -0
- package/src/api/domains/generated/campaign.api.js +99 -0
- package/src/api/domains/generated/campaign.api.js.map +1 -0
- package/src/api/domains/generated/email-campaign.api.d.ts +2 -0
- package/src/api/domains/generated/email-campaign.api.js +54 -0
- package/src/api/domains/generated/email-campaign.api.js.map +1 -0
- package/src/api/domains/generated/followers.api.d.ts +2 -0
- package/src/api/domains/generated/followers.api.js +18 -0
- package/src/api/domains/generated/followers.api.js.map +1 -0
- package/src/api/domains/generated/index.d.ts +17 -0
- package/src/api/domains/generated/index.js +38 -0
- package/src/api/domains/generated/index.js.map +1 -0
- package/src/api/domains/generated/integrations.api.d.ts +2 -0
- package/src/api/domains/generated/integrations.api.js +27 -0
- package/src/api/domains/generated/integrations.api.js.map +1 -0
- package/src/api/domains/generated/leaderboard.api.d.ts +2 -0
- package/src/api/domains/generated/leaderboard.api.js +15 -0
- package/src/api/domains/generated/leaderboard.api.js.map +1 -0
- package/src/api/domains/generated/media.api.d.ts +2 -0
- package/src/api/domains/generated/media.api.js +45 -0
- package/src/api/domains/generated/media.api.js.map +1 -0
- package/src/api/domains/generated/misc.api.d.ts +2 -0
- package/src/api/domains/generated/misc.api.js +150 -0
- package/src/api/domains/generated/misc.api.js.map +1 -0
- package/src/api/domains/generated/notifications.api.d.ts +2 -0
- package/src/api/domains/generated/notifications.api.js +33 -0
- package/src/api/domains/generated/notifications.api.js.map +1 -0
- package/src/api/domains/generated/offers.api.d.ts +2 -0
- package/src/api/domains/generated/offers.api.js +51 -0
- package/src/api/domains/generated/offers.api.js.map +1 -0
- package/src/api/domains/generated/onboarding.api.d.ts +2 -0
- package/src/api/domains/generated/onboarding.api.js +15 -0
- package/src/api/domains/generated/onboarding.api.js.map +1 -0
- package/src/api/domains/generated/sponsor.api.d.ts +2 -0
- package/src/api/domains/generated/sponsor.api.js +54 -0
- package/src/api/domains/generated/sponsor.api.js.map +1 -0
- package/src/api/domains/generated/sport.api.d.ts +2 -0
- package/src/api/domains/generated/sport.api.js +45 -0
- package/src/api/domains/generated/sport.api.js.map +1 -0
- package/src/api/domains/generated/teams-clubs.api.d.ts +2 -0
- package/src/api/domains/generated/teams-clubs.api.js +102 -0
- package/src/api/domains/generated/teams-clubs.api.js.map +1 -0
- package/src/api/domains/generated/user.api.d.ts +2 -0
- package/src/api/domains/generated/user.api.js +54 -0
- package/src/api/domains/generated/user.api.js.map +1 -0
- package/src/api/domains/overrides/auth.overrides.d.ts +2 -0
- package/src/api/domains/overrides/auth.overrides.js +31 -0
- package/src/api/domains/overrides/auth.overrides.js.map +1 -0
- package/src/api/domains/overrides/index.d.ts +2 -0
- package/src/api/domains/overrides/index.js +8 -0
- package/src/api/domains/overrides/index.js.map +1 -0
- package/src/api/domains/overrides/sponsor.overrides.d.ts +2 -0
- package/src/api/domains/overrides/sponsor.overrides.js +47 -0
- package/src/api/domains/overrides/sponsor.overrides.js.map +1 -0
- package/src/api/vtx-base-api.d.ts +1 -373
- package/src/api/vtx-base-api.js +21 -869
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +3 -3
- package/src/client/types.d.ts +3 -3
- package/src/client/types.js +9 -9
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +1121 -0
- package/src/generated/graphql.js +1120 -3
- package/src/generated/graphql.js.map +1 -1
- package/src/scripts/generate-api-wrappers.d.ts +2 -0
- package/src/scripts/generate-api-wrappers.js +229 -0
- package/src/scripts/generate-api-wrappers.js.map +1 -0
- package/src/scripts/generate-operations.d.ts +1 -0
- package/src/scripts/generate-operations.js +168 -0
- package/src/scripts/generate-operations.js.map +1 -0
|
@@ -11268,6 +11268,1031 @@ export type MyFollowedAthletesQuery = {
|
|
|
11268
11268
|
}>;
|
|
11269
11269
|
};
|
|
11270
11270
|
};
|
|
11271
|
+
export type FindTenantByIdQueryVariables = Exact<{
|
|
11272
|
+
_id: Scalars['String']['input'];
|
|
11273
|
+
}>;
|
|
11274
|
+
export type FindTenantByIdQuery = {
|
|
11275
|
+
findTenantById: {
|
|
11276
|
+
_id: string;
|
|
11277
|
+
name: string;
|
|
11278
|
+
tenant_uri: string;
|
|
11279
|
+
email: string;
|
|
11280
|
+
domain: {
|
|
11281
|
+
_id: string;
|
|
11282
|
+
name: string;
|
|
11283
|
+
};
|
|
11284
|
+
owner?: {
|
|
11285
|
+
_id: string;
|
|
11286
|
+
} | null;
|
|
11287
|
+
};
|
|
11288
|
+
};
|
|
11289
|
+
export type FindTenantByEmailQueryVariables = Exact<{
|
|
11290
|
+
email: Scalars['String']['input'];
|
|
11291
|
+
domainId: Scalars['String']['input'];
|
|
11292
|
+
}>;
|
|
11293
|
+
export type FindTenantByEmailQuery = {
|
|
11294
|
+
findTenantByEmail: {
|
|
11295
|
+
_id: string;
|
|
11296
|
+
name: string;
|
|
11297
|
+
tenant_uri: string;
|
|
11298
|
+
email: string;
|
|
11299
|
+
domain: {
|
|
11300
|
+
_id: string;
|
|
11301
|
+
name: string;
|
|
11302
|
+
};
|
|
11303
|
+
owner?: {
|
|
11304
|
+
_id: string;
|
|
11305
|
+
} | null;
|
|
11306
|
+
};
|
|
11307
|
+
};
|
|
11308
|
+
export type GetTenantsQueryVariables = Exact<{
|
|
11309
|
+
[key: string]: never;
|
|
11310
|
+
}>;
|
|
11311
|
+
export type GetTenantsQuery = {
|
|
11312
|
+
getTenants: Array<{
|
|
11313
|
+
_id: string;
|
|
11314
|
+
name: string;
|
|
11315
|
+
tenant_uri: string;
|
|
11316
|
+
email: string;
|
|
11317
|
+
domain: {
|
|
11318
|
+
_id: string;
|
|
11319
|
+
name: string;
|
|
11320
|
+
};
|
|
11321
|
+
owner?: {
|
|
11322
|
+
_id: string;
|
|
11323
|
+
} | null;
|
|
11324
|
+
}>;
|
|
11325
|
+
};
|
|
11326
|
+
export type IsTenantUriAvailableQueryVariables = Exact<{
|
|
11327
|
+
tenant_uri: Scalars['String']['input'];
|
|
11328
|
+
}>;
|
|
11329
|
+
export type IsTenantUriAvailableQuery = {
|
|
11330
|
+
isTenantUriAvailable: {
|
|
11331
|
+
available: boolean;
|
|
11332
|
+
valid: boolean;
|
|
11333
|
+
};
|
|
11334
|
+
};
|
|
11335
|
+
export type FindUserByIdQueryVariables = Exact<{
|
|
11336
|
+
_id: Scalars['String']['input'];
|
|
11337
|
+
}>;
|
|
11338
|
+
export type FindUserByIdQuery = {
|
|
11339
|
+
findUserById: {
|
|
11340
|
+
_id: string;
|
|
11341
|
+
loginEmail: string;
|
|
11342
|
+
suspended: boolean;
|
|
11343
|
+
loginMethods?: Array<string> | null;
|
|
11344
|
+
domains?: Array<{
|
|
11345
|
+
_id: string;
|
|
11346
|
+
name: string;
|
|
11347
|
+
}> | null;
|
|
11348
|
+
};
|
|
11349
|
+
};
|
|
11350
|
+
export type ValidateUserCredentialsQueryVariables = Exact<{
|
|
11351
|
+
username: Scalars['String']['input'];
|
|
11352
|
+
password: Scalars['String']['input'];
|
|
11353
|
+
}>;
|
|
11354
|
+
export type ValidateUserCredentialsQuery = {
|
|
11355
|
+
validateUserCredentials: {
|
|
11356
|
+
_id: string;
|
|
11357
|
+
loginEmail: string;
|
|
11358
|
+
suspended: boolean;
|
|
11359
|
+
loginMethods?: Array<string> | null;
|
|
11360
|
+
domains?: Array<{
|
|
11361
|
+
_id: string;
|
|
11362
|
+
name: string;
|
|
11363
|
+
}> | null;
|
|
11364
|
+
};
|
|
11365
|
+
};
|
|
11366
|
+
export type GetUploadUrlQueryVariables = Exact<{
|
|
11367
|
+
input: Awss3GetUploadDto;
|
|
11368
|
+
}>;
|
|
11369
|
+
export type GetUploadUrlQuery = {
|
|
11370
|
+
getUploadUrl: {
|
|
11371
|
+
uploadUrl: string;
|
|
11372
|
+
downloadUrl: string;
|
|
11373
|
+
bucket: string;
|
|
11374
|
+
key: string;
|
|
11375
|
+
};
|
|
11376
|
+
};
|
|
11377
|
+
export type IndustriesQueryVariables = Exact<{
|
|
11378
|
+
[key: string]: never;
|
|
11379
|
+
}>;
|
|
11380
|
+
export type IndustriesQuery = {
|
|
11381
|
+
industries: Array<{
|
|
11382
|
+
_id: string;
|
|
11383
|
+
name: string;
|
|
11384
|
+
}>;
|
|
11385
|
+
};
|
|
11386
|
+
export type FindIndustryByIdQueryVariables = Exact<{
|
|
11387
|
+
industryId: Scalars['String']['input'];
|
|
11388
|
+
}>;
|
|
11389
|
+
export type FindIndustryByIdQuery = {
|
|
11390
|
+
findIndustryById: {
|
|
11391
|
+
_id: string;
|
|
11392
|
+
name: string;
|
|
11393
|
+
};
|
|
11394
|
+
};
|
|
11395
|
+
export type BrandsQueryVariables = Exact<{
|
|
11396
|
+
[key: string]: never;
|
|
11397
|
+
}>;
|
|
11398
|
+
export type BrandsQuery = {
|
|
11399
|
+
brands: Array<{
|
|
11400
|
+
_id: string;
|
|
11401
|
+
name: string;
|
|
11402
|
+
slogan?: string | null;
|
|
11403
|
+
website?: string | null;
|
|
11404
|
+
affiliateLink?: string | null;
|
|
11405
|
+
description?: string | null;
|
|
11406
|
+
approved: boolean;
|
|
11407
|
+
published: boolean;
|
|
11408
|
+
operatorIds?: Array<string> | null;
|
|
11409
|
+
logo?: {
|
|
11410
|
+
_id: string;
|
|
11411
|
+
name?: string | null;
|
|
11412
|
+
} | null;
|
|
11413
|
+
banner?: {
|
|
11414
|
+
_id: string;
|
|
11415
|
+
name?: string | null;
|
|
11416
|
+
} | null;
|
|
11417
|
+
translations?: Array<{
|
|
11418
|
+
_id: string;
|
|
11419
|
+
name?: string | null;
|
|
11420
|
+
}> | null;
|
|
11421
|
+
sponsors?: Array<{
|
|
11422
|
+
_id: string;
|
|
11423
|
+
}> | null;
|
|
11424
|
+
}>;
|
|
11425
|
+
};
|
|
11426
|
+
export type GetBrandByNameQueryVariables = Exact<{
|
|
11427
|
+
name: Scalars['String']['input'];
|
|
11428
|
+
translations: Scalars['Boolean']['input'];
|
|
11429
|
+
}>;
|
|
11430
|
+
export type GetBrandByNameQuery = {
|
|
11431
|
+
getBrandByName: {
|
|
11432
|
+
_id: string;
|
|
11433
|
+
name: string;
|
|
11434
|
+
slogan?: string | null;
|
|
11435
|
+
website?: string | null;
|
|
11436
|
+
affiliateLink?: string | null;
|
|
11437
|
+
description?: string | null;
|
|
11438
|
+
approved: boolean;
|
|
11439
|
+
published: boolean;
|
|
11440
|
+
operatorIds?: Array<string> | null;
|
|
11441
|
+
logo?: {
|
|
11442
|
+
_id: string;
|
|
11443
|
+
name?: string | null;
|
|
11444
|
+
} | null;
|
|
11445
|
+
banner?: {
|
|
11446
|
+
_id: string;
|
|
11447
|
+
name?: string | null;
|
|
11448
|
+
} | null;
|
|
11449
|
+
translations?: Array<{
|
|
11450
|
+
_id: string;
|
|
11451
|
+
name?: string | null;
|
|
11452
|
+
}> | null;
|
|
11453
|
+
sponsors?: Array<{
|
|
11454
|
+
_id: string;
|
|
11455
|
+
}> | null;
|
|
11456
|
+
};
|
|
11457
|
+
};
|
|
11458
|
+
export type GetBrandTranslationQueryVariables = Exact<{
|
|
11459
|
+
brandId: Scalars['String']['input'];
|
|
11460
|
+
language: Scalars['String']['input'];
|
|
11461
|
+
}>;
|
|
11462
|
+
export type GetBrandTranslationQuery = {
|
|
11463
|
+
getBrandTranslation: {
|
|
11464
|
+
_id: string;
|
|
11465
|
+
brandId: string;
|
|
11466
|
+
language: string;
|
|
11467
|
+
name?: string | null;
|
|
11468
|
+
slogan?: string | null;
|
|
11469
|
+
description?: string | null;
|
|
11470
|
+
logo?: {
|
|
11471
|
+
_id: string;
|
|
11472
|
+
name?: string | null;
|
|
11473
|
+
} | null;
|
|
11474
|
+
banner?: {
|
|
11475
|
+
_id: string;
|
|
11476
|
+
name?: string | null;
|
|
11477
|
+
} | null;
|
|
11478
|
+
};
|
|
11479
|
+
};
|
|
11480
|
+
export type ExistsValidSponsorForEmailQueryVariables = Exact<{
|
|
11481
|
+
loginEmail: Scalars['String']['input'];
|
|
11482
|
+
}>;
|
|
11483
|
+
export type ExistsValidSponsorForEmailQuery = {
|
|
11484
|
+
existsValidSponsorForEmail: {
|
|
11485
|
+
_id: string;
|
|
11486
|
+
name: string;
|
|
11487
|
+
description?: string | null;
|
|
11488
|
+
approved: boolean;
|
|
11489
|
+
tenant?: {
|
|
11490
|
+
_id: string;
|
|
11491
|
+
name: string;
|
|
11492
|
+
} | null;
|
|
11493
|
+
industry?: {
|
|
11494
|
+
_id: string;
|
|
11495
|
+
name: string;
|
|
11496
|
+
} | null;
|
|
11497
|
+
brands?: Array<{
|
|
11498
|
+
_id: string;
|
|
11499
|
+
}> | null;
|
|
11500
|
+
sponsorships?: Array<{
|
|
11501
|
+
_id: string;
|
|
11502
|
+
}> | null;
|
|
11503
|
+
};
|
|
11504
|
+
};
|
|
11505
|
+
export type SponsorsQueryVariables = Exact<{
|
|
11506
|
+
[key: string]: never;
|
|
11507
|
+
}>;
|
|
11508
|
+
export type SponsorsQuery = {
|
|
11509
|
+
sponsors: Array<{
|
|
11510
|
+
_id: string;
|
|
11511
|
+
name: string;
|
|
11512
|
+
description?: string | null;
|
|
11513
|
+
approved: boolean;
|
|
11514
|
+
tenant?: {
|
|
11515
|
+
_id: string;
|
|
11516
|
+
name: string;
|
|
11517
|
+
} | null;
|
|
11518
|
+
industry?: {
|
|
11519
|
+
_id: string;
|
|
11520
|
+
name: string;
|
|
11521
|
+
} | null;
|
|
11522
|
+
brands?: Array<{
|
|
11523
|
+
_id: string;
|
|
11524
|
+
}> | null;
|
|
11525
|
+
sponsorships?: Array<{
|
|
11526
|
+
_id: string;
|
|
11527
|
+
}> | null;
|
|
11528
|
+
}>;
|
|
11529
|
+
};
|
|
11530
|
+
export type FindAthleteByIdQueryVariables = Exact<{
|
|
11531
|
+
athleteId: Scalars['String']['input'];
|
|
11532
|
+
}>;
|
|
11533
|
+
export type FindAthleteByIdQuery = {
|
|
11534
|
+
findAthleteById: {
|
|
11535
|
+
_id: string;
|
|
11536
|
+
firstName: string;
|
|
11537
|
+
lastName: string;
|
|
11538
|
+
screenName?: string | null;
|
|
11539
|
+
dob?: string | null;
|
|
11540
|
+
lgbt?: boolean | null;
|
|
11541
|
+
competitionGender?: string | null;
|
|
11542
|
+
trainer?: string | null;
|
|
11543
|
+
trainerUrl?: string | null;
|
|
11544
|
+
totalUpcomingCompetitions?: number | null;
|
|
11545
|
+
totalPastCompetitions?: number | null;
|
|
11546
|
+
aboutMe?: string | null;
|
|
11547
|
+
biography?: string | null;
|
|
11548
|
+
suspended: boolean;
|
|
11549
|
+
onboardingComplete?: boolean | null;
|
|
11550
|
+
onboardingStep?: number | null;
|
|
11551
|
+
country?: {
|
|
11552
|
+
_id: string;
|
|
11553
|
+
name: string;
|
|
11554
|
+
} | null;
|
|
11555
|
+
location?: {
|
|
11556
|
+
_id: string;
|
|
11557
|
+
} | null;
|
|
11558
|
+
mainSport: {
|
|
11559
|
+
_id: string;
|
|
11560
|
+
name: string;
|
|
11561
|
+
};
|
|
11562
|
+
mainSportLevel: {
|
|
11563
|
+
_id: string;
|
|
11564
|
+
};
|
|
11565
|
+
profilePicture?: {
|
|
11566
|
+
_id: string;
|
|
11567
|
+
name?: string | null;
|
|
11568
|
+
} | null;
|
|
11569
|
+
cardPicture?: {
|
|
11570
|
+
_id: string;
|
|
11571
|
+
name?: string | null;
|
|
11572
|
+
} | null;
|
|
11573
|
+
bannerPicture?: {
|
|
11574
|
+
_id: string;
|
|
11575
|
+
name?: string | null;
|
|
11576
|
+
} | null;
|
|
11577
|
+
preferences: {
|
|
11578
|
+
_id: string;
|
|
11579
|
+
};
|
|
11580
|
+
allSports?: Array<{
|
|
11581
|
+
_id: string;
|
|
11582
|
+
name: string;
|
|
11583
|
+
}> | null;
|
|
11584
|
+
teams?: Array<{
|
|
11585
|
+
_id: string;
|
|
11586
|
+
name: string;
|
|
11587
|
+
}> | null;
|
|
11588
|
+
sponsorBrands?: Array<{
|
|
11589
|
+
_id: string;
|
|
11590
|
+
name: string;
|
|
11591
|
+
}> | null;
|
|
11592
|
+
competitions?: Array<{
|
|
11593
|
+
_id: string;
|
|
11594
|
+
}> | null;
|
|
11595
|
+
affiliations?: Array<{
|
|
11596
|
+
_id: string;
|
|
11597
|
+
}> | null;
|
|
11598
|
+
newsLinks?: Array<{
|
|
11599
|
+
_id: string;
|
|
11600
|
+
}> | null;
|
|
11601
|
+
channels?: Array<{
|
|
11602
|
+
_id: string;
|
|
11603
|
+
}> | null;
|
|
11604
|
+
currentCampaign?: {
|
|
11605
|
+
_id: string;
|
|
11606
|
+
} | null;
|
|
11607
|
+
fundingCampaigns?: Array<{
|
|
11608
|
+
_id: string;
|
|
11609
|
+
}> | null;
|
|
11610
|
+
stripeAccountReference?: {
|
|
11611
|
+
_id: string;
|
|
11612
|
+
} | null;
|
|
11613
|
+
albums?: Array<{
|
|
11614
|
+
_id: string;
|
|
11615
|
+
}> | null;
|
|
11616
|
+
historicalScores?: Array<{
|
|
11617
|
+
_id: string;
|
|
11618
|
+
}> | null;
|
|
11619
|
+
signedAgreements?: Array<{
|
|
11620
|
+
_id: string;
|
|
11621
|
+
}> | null;
|
|
11622
|
+
};
|
|
11623
|
+
};
|
|
11624
|
+
export type FindAthletebyIdpublicQueryVariables = Exact<{
|
|
11625
|
+
athleteId: Scalars['String']['input'];
|
|
11626
|
+
}>;
|
|
11627
|
+
export type FindAthletebyIdpublicQuery = {
|
|
11628
|
+
findAthletebyIdpublic: {
|
|
11629
|
+
_id: string;
|
|
11630
|
+
firstName: string;
|
|
11631
|
+
lastName: string;
|
|
11632
|
+
screenName?: string | null;
|
|
11633
|
+
dob?: string | null;
|
|
11634
|
+
lgbt?: boolean | null;
|
|
11635
|
+
competitionGender?: string | null;
|
|
11636
|
+
trainer?: string | null;
|
|
11637
|
+
trainerUrl?: string | null;
|
|
11638
|
+
totalUpcomingCompetitions?: number | null;
|
|
11639
|
+
totalPastCompetitions?: number | null;
|
|
11640
|
+
aboutMe?: string | null;
|
|
11641
|
+
biography?: string | null;
|
|
11642
|
+
suspended: boolean;
|
|
11643
|
+
onboardingComplete?: boolean | null;
|
|
11644
|
+
onboardingStep?: number | null;
|
|
11645
|
+
country?: {
|
|
11646
|
+
_id: string;
|
|
11647
|
+
name: string;
|
|
11648
|
+
} | null;
|
|
11649
|
+
location?: {
|
|
11650
|
+
_id: string;
|
|
11651
|
+
} | null;
|
|
11652
|
+
mainSport: {
|
|
11653
|
+
_id: string;
|
|
11654
|
+
name: string;
|
|
11655
|
+
};
|
|
11656
|
+
mainSportLevel: {
|
|
11657
|
+
_id: string;
|
|
11658
|
+
};
|
|
11659
|
+
profilePicture?: {
|
|
11660
|
+
_id: string;
|
|
11661
|
+
name?: string | null;
|
|
11662
|
+
} | null;
|
|
11663
|
+
cardPicture?: {
|
|
11664
|
+
_id: string;
|
|
11665
|
+
name?: string | null;
|
|
11666
|
+
} | null;
|
|
11667
|
+
bannerPicture?: {
|
|
11668
|
+
_id: string;
|
|
11669
|
+
name?: string | null;
|
|
11670
|
+
} | null;
|
|
11671
|
+
preferences: {
|
|
11672
|
+
_id: string;
|
|
11673
|
+
};
|
|
11674
|
+
allSports?: Array<{
|
|
11675
|
+
_id: string;
|
|
11676
|
+
name: string;
|
|
11677
|
+
}> | null;
|
|
11678
|
+
teams?: Array<{
|
|
11679
|
+
_id: string;
|
|
11680
|
+
name: string;
|
|
11681
|
+
}> | null;
|
|
11682
|
+
sponsorBrands?: Array<{
|
|
11683
|
+
_id: string;
|
|
11684
|
+
name: string;
|
|
11685
|
+
}> | null;
|
|
11686
|
+
competitions?: Array<{
|
|
11687
|
+
_id: string;
|
|
11688
|
+
}> | null;
|
|
11689
|
+
affiliations?: Array<{
|
|
11690
|
+
_id: string;
|
|
11691
|
+
}> | null;
|
|
11692
|
+
newsLinks?: Array<{
|
|
11693
|
+
_id: string;
|
|
11694
|
+
}> | null;
|
|
11695
|
+
channels?: Array<{
|
|
11696
|
+
_id: string;
|
|
11697
|
+
}> | null;
|
|
11698
|
+
currentCampaign?: {
|
|
11699
|
+
_id: string;
|
|
11700
|
+
} | null;
|
|
11701
|
+
fundingCampaigns?: Array<{
|
|
11702
|
+
_id: string;
|
|
11703
|
+
}> | null;
|
|
11704
|
+
stripeAccountReference?: {
|
|
11705
|
+
_id: string;
|
|
11706
|
+
} | null;
|
|
11707
|
+
albums?: Array<{
|
|
11708
|
+
_id: string;
|
|
11709
|
+
}> | null;
|
|
11710
|
+
historicalScores?: Array<{
|
|
11711
|
+
_id: string;
|
|
11712
|
+
}> | null;
|
|
11713
|
+
signedAgreements?: Array<{
|
|
11714
|
+
_id: string;
|
|
11715
|
+
}> | null;
|
|
11716
|
+
};
|
|
11717
|
+
};
|
|
11718
|
+
export type GetAthleteAlbumIdQueryVariables = Exact<{
|
|
11719
|
+
input: Scalars['String']['input'];
|
|
11720
|
+
}>;
|
|
11721
|
+
export type GetAthleteAlbumIdQuery = {
|
|
11722
|
+
getAthleteAlbumId: {
|
|
11723
|
+
_id: string;
|
|
11724
|
+
label: string;
|
|
11725
|
+
description?: string | null;
|
|
11726
|
+
displayIndex: number;
|
|
11727
|
+
competitionId?: string | null;
|
|
11728
|
+
visibility: string;
|
|
11729
|
+
photos?: Array<{
|
|
11730
|
+
_id: string;
|
|
11731
|
+
}> | null;
|
|
11732
|
+
};
|
|
11733
|
+
};
|
|
11734
|
+
export type QueryAthleteWithFilterQueryVariables = Exact<{
|
|
11735
|
+
input: AthleteQueryDto;
|
|
11736
|
+
}>;
|
|
11737
|
+
export type QueryAthleteWithFilterQuery = {
|
|
11738
|
+
queryAthleteWithFilter: {
|
|
11739
|
+
athletes: Array<{
|
|
11740
|
+
_id: string;
|
|
11741
|
+
}>;
|
|
11742
|
+
};
|
|
11743
|
+
};
|
|
11744
|
+
export type FindSportByIdQueryVariables = Exact<{
|
|
11745
|
+
sportId: Scalars['String']['input'];
|
|
11746
|
+
}>;
|
|
11747
|
+
export type FindSportByIdQuery = {
|
|
11748
|
+
findSportById: {
|
|
11749
|
+
_id: string;
|
|
11750
|
+
name: string;
|
|
11751
|
+
resultType: string;
|
|
11752
|
+
verified?: boolean | null;
|
|
11753
|
+
priority?: number | null;
|
|
11754
|
+
};
|
|
11755
|
+
};
|
|
11756
|
+
export type GetBudgetItemUnitsQueryVariables = Exact<{
|
|
11757
|
+
[key: string]: never;
|
|
11758
|
+
}>;
|
|
11759
|
+
export type GetBudgetItemUnitsQuery = {
|
|
11760
|
+
getBudgetItemUnits: Array<{
|
|
11761
|
+
_id: string;
|
|
11762
|
+
label: string;
|
|
11763
|
+
}>;
|
|
11764
|
+
};
|
|
11765
|
+
export type OffersQueryVariables = Exact<{
|
|
11766
|
+
[key: string]: never;
|
|
11767
|
+
}>;
|
|
11768
|
+
export type OffersQuery = {
|
|
11769
|
+
offers: Array<{
|
|
11770
|
+
_id: string;
|
|
11771
|
+
name?: string | null;
|
|
11772
|
+
label: string;
|
|
11773
|
+
decription?: string | null;
|
|
11774
|
+
type: string;
|
|
11775
|
+
status: string;
|
|
11776
|
+
discountType: string;
|
|
11777
|
+
discountTypeData: string;
|
|
11778
|
+
conditions?: Array<string> | null;
|
|
11779
|
+
dateStart?: string | null;
|
|
11780
|
+
dateEnd?: string | null;
|
|
11781
|
+
dateCreated: string;
|
|
11782
|
+
totalCodes: number;
|
|
11783
|
+
availableCodes: number;
|
|
11784
|
+
disclaimer?: string | null;
|
|
11785
|
+
genericCode?: string | null;
|
|
11786
|
+
featured: boolean;
|
|
11787
|
+
offerImage?: {
|
|
11788
|
+
_id: string;
|
|
11789
|
+
name?: string | null;
|
|
11790
|
+
} | null;
|
|
11791
|
+
brand: {
|
|
11792
|
+
_id: string;
|
|
11793
|
+
name: string;
|
|
11794
|
+
};
|
|
11795
|
+
sponsor: {
|
|
11796
|
+
_id: string;
|
|
11797
|
+
name: string;
|
|
11798
|
+
};
|
|
11799
|
+
criteria?: {
|
|
11800
|
+
_id: string;
|
|
11801
|
+
} | null;
|
|
11802
|
+
availableCountries?: Array<{
|
|
11803
|
+
_id: string;
|
|
11804
|
+
name: string;
|
|
11805
|
+
}> | null;
|
|
11806
|
+
}>;
|
|
11807
|
+
};
|
|
11808
|
+
export type OffersForAthleteQueryVariables = Exact<{
|
|
11809
|
+
athleteId?: InputMaybe<Scalars['String']['input']>;
|
|
11810
|
+
}>;
|
|
11811
|
+
export type OffersForAthleteQuery = {
|
|
11812
|
+
offersForAthlete: Array<{
|
|
11813
|
+
_id: string;
|
|
11814
|
+
name?: string | null;
|
|
11815
|
+
label: string;
|
|
11816
|
+
decription?: string | null;
|
|
11817
|
+
type: string;
|
|
11818
|
+
status: string;
|
|
11819
|
+
discountType: string;
|
|
11820
|
+
discountTypeData: string;
|
|
11821
|
+
conditions?: Array<string> | null;
|
|
11822
|
+
dateStart?: string | null;
|
|
11823
|
+
dateEnd?: string | null;
|
|
11824
|
+
dateCreated: string;
|
|
11825
|
+
totalCodes: number;
|
|
11826
|
+
availableCodes: number;
|
|
11827
|
+
disclaimer?: string | null;
|
|
11828
|
+
genericCode?: string | null;
|
|
11829
|
+
featured: boolean;
|
|
11830
|
+
offerImage?: {
|
|
11831
|
+
_id: string;
|
|
11832
|
+
name?: string | null;
|
|
11833
|
+
} | null;
|
|
11834
|
+
brand: {
|
|
11835
|
+
_id: string;
|
|
11836
|
+
name: string;
|
|
11837
|
+
};
|
|
11838
|
+
sponsor: {
|
|
11839
|
+
_id: string;
|
|
11840
|
+
name: string;
|
|
11841
|
+
};
|
|
11842
|
+
criteria?: {
|
|
11843
|
+
_id: string;
|
|
11844
|
+
} | null;
|
|
11845
|
+
availableCountries?: Array<{
|
|
11846
|
+
_id: string;
|
|
11847
|
+
name: string;
|
|
11848
|
+
}> | null;
|
|
11849
|
+
}>;
|
|
11850
|
+
};
|
|
11851
|
+
export type OfferQueryVariables = Exact<{
|
|
11852
|
+
id: Scalars['String']['input'];
|
|
11853
|
+
}>;
|
|
11854
|
+
export type OfferQuery = {
|
|
11855
|
+
offer: {
|
|
11856
|
+
_id: string;
|
|
11857
|
+
name?: string | null;
|
|
11858
|
+
label: string;
|
|
11859
|
+
decription?: string | null;
|
|
11860
|
+
type: string;
|
|
11861
|
+
status: string;
|
|
11862
|
+
discountType: string;
|
|
11863
|
+
discountTypeData: string;
|
|
11864
|
+
conditions?: Array<string> | null;
|
|
11865
|
+
dateStart?: string | null;
|
|
11866
|
+
dateEnd?: string | null;
|
|
11867
|
+
dateCreated: string;
|
|
11868
|
+
totalCodes: number;
|
|
11869
|
+
availableCodes: number;
|
|
11870
|
+
disclaimer?: string | null;
|
|
11871
|
+
genericCode?: string | null;
|
|
11872
|
+
featured: boolean;
|
|
11873
|
+
offerImage?: {
|
|
11874
|
+
_id: string;
|
|
11875
|
+
name?: string | null;
|
|
11876
|
+
} | null;
|
|
11877
|
+
brand: {
|
|
11878
|
+
_id: string;
|
|
11879
|
+
name: string;
|
|
11880
|
+
};
|
|
11881
|
+
sponsor: {
|
|
11882
|
+
_id: string;
|
|
11883
|
+
name: string;
|
|
11884
|
+
};
|
|
11885
|
+
criteria?: {
|
|
11886
|
+
_id: string;
|
|
11887
|
+
} | null;
|
|
11888
|
+
availableCountries?: Array<{
|
|
11889
|
+
_id: string;
|
|
11890
|
+
name: string;
|
|
11891
|
+
}> | null;
|
|
11892
|
+
};
|
|
11893
|
+
};
|
|
11894
|
+
export type MyOfferClaimsQueryVariables = Exact<{
|
|
11895
|
+
athleteId: Scalars['String']['input'];
|
|
11896
|
+
query?: InputMaybe<OfferClaimQueryDto>;
|
|
11897
|
+
}>;
|
|
11898
|
+
export type MyOfferClaimsQuery = {
|
|
11899
|
+
myOfferClaims: Array<{
|
|
11900
|
+
_id: string;
|
|
11901
|
+
claimedAt: string;
|
|
11902
|
+
code?: string | null;
|
|
11903
|
+
offer: {
|
|
11904
|
+
_id: string;
|
|
11905
|
+
name?: string | null;
|
|
11906
|
+
};
|
|
11907
|
+
athlete: {
|
|
11908
|
+
_id: string;
|
|
11909
|
+
};
|
|
11910
|
+
}>;
|
|
11911
|
+
};
|
|
11912
|
+
export type OfferAvailabilityQueryVariables = Exact<{
|
|
11913
|
+
offerId: Scalars['String']['input'];
|
|
11914
|
+
athleteId: Scalars['String']['input'];
|
|
11915
|
+
}>;
|
|
11916
|
+
export type OfferAvailabilityQuery = {
|
|
11917
|
+
offerAvailability: {
|
|
11918
|
+
available: boolean;
|
|
11919
|
+
reason?: string | null;
|
|
11920
|
+
};
|
|
11921
|
+
};
|
|
11922
|
+
export type AthleteDashboardQueryVariables = Exact<{
|
|
11923
|
+
athleteId: Scalars['String']['input'];
|
|
11924
|
+
}>;
|
|
11925
|
+
export type AthleteDashboardQuery = {
|
|
11926
|
+
athleteDashboard: {
|
|
11927
|
+
vtxScore: number;
|
|
11928
|
+
socialScore: number;
|
|
11929
|
+
trainingScore: number;
|
|
11930
|
+
competitionScore: number;
|
|
11931
|
+
lastUpdated: string;
|
|
11932
|
+
};
|
|
11933
|
+
};
|
|
11934
|
+
export type AthleteScoreHistoryQueryVariables = Exact<{
|
|
11935
|
+
input: ScoreHistoryQueryDto;
|
|
11936
|
+
}>;
|
|
11937
|
+
export type AthleteScoreHistoryQuery = {
|
|
11938
|
+
athleteScoreHistory: Array<{
|
|
11939
|
+
date: string;
|
|
11940
|
+
vtxScore?: number | null;
|
|
11941
|
+
socialScore?: number | null;
|
|
11942
|
+
trainingScore?: number | null;
|
|
11943
|
+
competitionScore?: number | null;
|
|
11944
|
+
}>;
|
|
11945
|
+
};
|
|
11946
|
+
export type AthleteRankHistoryQueryVariables = Exact<{
|
|
11947
|
+
input: RankHistoryQueryDto;
|
|
11948
|
+
}>;
|
|
11949
|
+
export type AthleteRankHistoryQuery = {
|
|
11950
|
+
athleteRankHistory: Array<{
|
|
11951
|
+
date: string;
|
|
11952
|
+
globalRank?: number | null;
|
|
11953
|
+
countryRank?: number | null;
|
|
11954
|
+
}>;
|
|
11955
|
+
};
|
|
11956
|
+
export type AthleteRankContextQueryVariables = Exact<{
|
|
11957
|
+
input: RankContextQueryDto;
|
|
11958
|
+
}>;
|
|
11959
|
+
export type AthleteRankContextQuery = {
|
|
11960
|
+
athleteRankContext: {
|
|
11961
|
+
globalRank?: number | null;
|
|
11962
|
+
countryRank?: number | null;
|
|
11963
|
+
rankChange?: number | null;
|
|
11964
|
+
percentile?: string | null;
|
|
11965
|
+
gapToNext?: number | null;
|
|
11966
|
+
gapFromPrevious?: number | null;
|
|
11967
|
+
totalAthletes?: number | null;
|
|
11968
|
+
};
|
|
11969
|
+
};
|
|
11970
|
+
export type AthleteActivitiesQueryVariables = Exact<{
|
|
11971
|
+
input: ActivitiesQueryDto;
|
|
11972
|
+
}>;
|
|
11973
|
+
export type AthleteActivitiesQuery = {
|
|
11974
|
+
athleteActivities: {
|
|
11975
|
+
total: number;
|
|
11976
|
+
hasMore: boolean;
|
|
11977
|
+
};
|
|
11978
|
+
};
|
|
11979
|
+
export type AthleteActivityDetailQueryVariables = Exact<{
|
|
11980
|
+
input: ActivityDetailQueryDto;
|
|
11981
|
+
}>;
|
|
11982
|
+
export type AthleteActivityDetailQuery = {
|
|
11983
|
+
athleteActivityDetail: {
|
|
11984
|
+
id: string;
|
|
11985
|
+
date: string;
|
|
11986
|
+
type: string;
|
|
11987
|
+
category: string;
|
|
11988
|
+
prMetrics?: Array<string> | null;
|
|
11989
|
+
caption?: string | null;
|
|
11990
|
+
metrics: Array<{
|
|
11991
|
+
name: string;
|
|
11992
|
+
}>;
|
|
11993
|
+
};
|
|
11994
|
+
};
|
|
11995
|
+
export type AthleteComponentSummaryQueryVariables = Exact<{
|
|
11996
|
+
input: ComponentSummaryQueryDto;
|
|
11997
|
+
}>;
|
|
11998
|
+
export type AthleteComponentSummaryQuery = {
|
|
11999
|
+
athleteComponentSummary: {
|
|
12000
|
+
name: string;
|
|
12001
|
+
score: number;
|
|
12002
|
+
maxScore: number;
|
|
12003
|
+
trend?: number | null;
|
|
12004
|
+
trendPeriod: string;
|
|
12005
|
+
activityCount: number;
|
|
12006
|
+
avgScorePerActivity?: number | null;
|
|
12007
|
+
newMaxActivityIds?: Array<string> | null;
|
|
12008
|
+
metricMaxes?: any | null;
|
|
12009
|
+
topMetrics: Array<{
|
|
12010
|
+
name: string;
|
|
12011
|
+
}>;
|
|
12012
|
+
};
|
|
12013
|
+
};
|
|
12014
|
+
export type AthleteActivityDatesQueryVariables = Exact<{
|
|
12015
|
+
input: ActivityDatesQueryDto;
|
|
12016
|
+
}>;
|
|
12017
|
+
export type AthleteActivityDatesQuery = {
|
|
12018
|
+
athleteActivityDates: {
|
|
12019
|
+
__typename: 'ActivityDatesResponse';
|
|
12020
|
+
};
|
|
12021
|
+
};
|
|
12022
|
+
export type SocialAggregatesQueryVariables = Exact<{
|
|
12023
|
+
athleteId: Scalars['ID']['input'];
|
|
12024
|
+
platform: Platform;
|
|
12025
|
+
range: DateRangeInput;
|
|
12026
|
+
periodType?: InputMaybe<PeriodType>;
|
|
12027
|
+
}>;
|
|
12028
|
+
export type SocialAggregatesQuery = {
|
|
12029
|
+
socialAggregates: Array<{
|
|
12030
|
+
_id: string;
|
|
12031
|
+
athleteId: string;
|
|
12032
|
+
platform: Platform;
|
|
12033
|
+
contentType?: ContentType | null;
|
|
12034
|
+
periodType: PeriodType;
|
|
12035
|
+
periodLabel: string;
|
|
12036
|
+
periodStart: string;
|
|
12037
|
+
periodEnd: string;
|
|
12038
|
+
totalLikes: number;
|
|
12039
|
+
totalComments: number;
|
|
12040
|
+
totalShares: number;
|
|
12041
|
+
totalSaves: number;
|
|
12042
|
+
totalReach: number;
|
|
12043
|
+
totalViews: number;
|
|
12044
|
+
totalImpressions: number;
|
|
12045
|
+
postCount: number;
|
|
12046
|
+
followerCount: number;
|
|
12047
|
+
avgEngagementRate: number;
|
|
12048
|
+
avgPostEngagement: number;
|
|
12049
|
+
}>;
|
|
12050
|
+
};
|
|
12051
|
+
export type PostsWithComparisonQueryVariables = Exact<{
|
|
12052
|
+
athleteId: Scalars['ID']['input'];
|
|
12053
|
+
platform: Platform;
|
|
12054
|
+
options?: InputMaybe<PostComparisonInput>;
|
|
12055
|
+
}>;
|
|
12056
|
+
export type PostsWithComparisonQuery = {
|
|
12057
|
+
postsWithComparison: {
|
|
12058
|
+
total: number;
|
|
12059
|
+
hasMore: boolean;
|
|
12060
|
+
};
|
|
12061
|
+
};
|
|
12062
|
+
export type GetEmailCampaignQueryVariables = Exact<{
|
|
12063
|
+
id: Scalars['String']['input'];
|
|
12064
|
+
}>;
|
|
12065
|
+
export type GetEmailCampaignQuery = {
|
|
12066
|
+
getEmailCampaign: {
|
|
12067
|
+
_id: string;
|
|
12068
|
+
subject: string;
|
|
12069
|
+
templateId?: string | null;
|
|
12070
|
+
templateName?: string | null;
|
|
12071
|
+
htmlContent?: string | null;
|
|
12072
|
+
audienceFilters: any;
|
|
12073
|
+
segmentId?: string | null;
|
|
12074
|
+
status: string;
|
|
12075
|
+
scheduledFor?: string | null;
|
|
12076
|
+
sentAt?: string | null;
|
|
12077
|
+
recipientCount?: number | null;
|
|
12078
|
+
createdBy: string;
|
|
12079
|
+
createdAt: string;
|
|
12080
|
+
updatedAt?: string | null;
|
|
12081
|
+
testSentAt?: string | null;
|
|
12082
|
+
segment?: {
|
|
12083
|
+
_id: string;
|
|
12084
|
+
name: string;
|
|
12085
|
+
} | null;
|
|
12086
|
+
};
|
|
12087
|
+
};
|
|
12088
|
+
export type LoginUserFromCredentialsMutationVariables = Exact<{
|
|
12089
|
+
username: Scalars['String']['input'];
|
|
12090
|
+
password: Scalars['String']['input'];
|
|
12091
|
+
}>;
|
|
12092
|
+
export type LoginUserFromCredentialsMutation = {
|
|
12093
|
+
loginUserFromCredentials: {
|
|
12094
|
+
_id: string;
|
|
12095
|
+
loginEmail: string;
|
|
12096
|
+
suspended: boolean;
|
|
12097
|
+
loginMethods?: Array<string> | null;
|
|
12098
|
+
domains?: Array<{
|
|
12099
|
+
_id: string;
|
|
12100
|
+
name: string;
|
|
12101
|
+
}> | null;
|
|
12102
|
+
};
|
|
12103
|
+
};
|
|
12104
|
+
export type DeleteUploadedUseTypeFileMutationVariables = Exact<{
|
|
12105
|
+
input: Awss3DeleteUseTypeFileDto;
|
|
12106
|
+
}>;
|
|
12107
|
+
export type DeleteUploadedUseTypeFileMutation = {
|
|
12108
|
+
deleteUploadedUseTypeFile: {
|
|
12109
|
+
httpStatus: number;
|
|
12110
|
+
result: string;
|
|
12111
|
+
message: string;
|
|
12112
|
+
errors?: Array<string> | null;
|
|
12113
|
+
};
|
|
12114
|
+
};
|
|
12115
|
+
export type DeleteUploadedBucketFileMutationVariables = Exact<{
|
|
12116
|
+
input: Awss3DeleteBucketFileDto;
|
|
12117
|
+
}>;
|
|
12118
|
+
export type DeleteUploadedBucketFileMutation = {
|
|
12119
|
+
deleteUploadedBucketFile: {
|
|
12120
|
+
httpStatus: number;
|
|
12121
|
+
result: string;
|
|
12122
|
+
message: string;
|
|
12123
|
+
errors?: Array<string> | null;
|
|
12124
|
+
};
|
|
12125
|
+
};
|
|
12126
|
+
export type RegisterS3UploadedFileMutationVariables = Exact<{
|
|
12127
|
+
input: Awss3UploadedFileDto;
|
|
12128
|
+
}>;
|
|
12129
|
+
export type RegisterS3UploadedFileMutation = {
|
|
12130
|
+
registerS3UploadedFile: {
|
|
12131
|
+
_id: string;
|
|
12132
|
+
name?: string | null;
|
|
12133
|
+
contentType?: string | null;
|
|
12134
|
+
size?: number | null;
|
|
12135
|
+
useType?: string | null;
|
|
12136
|
+
url: string;
|
|
12137
|
+
key: string;
|
|
12138
|
+
pendingDelete: boolean;
|
|
12139
|
+
};
|
|
12140
|
+
};
|
|
12141
|
+
export type CreateIndustryMutationVariables = Exact<{
|
|
12142
|
+
input: CreateIndustryDto;
|
|
12143
|
+
}>;
|
|
12144
|
+
export type CreateIndustryMutation = {
|
|
12145
|
+
createIndustry: {
|
|
12146
|
+
_id: string;
|
|
12147
|
+
name: string;
|
|
12148
|
+
};
|
|
12149
|
+
};
|
|
12150
|
+
export type RegisterSponsorMutationVariables = Exact<{
|
|
12151
|
+
input: RegisterSponsorInput;
|
|
12152
|
+
}>;
|
|
12153
|
+
export type RegisterSponsorMutation = {
|
|
12154
|
+
registerSponsor: {
|
|
12155
|
+
_id: string;
|
|
12156
|
+
name: string;
|
|
12157
|
+
description?: string | null;
|
|
12158
|
+
approved: boolean;
|
|
12159
|
+
tenant?: {
|
|
12160
|
+
_id: string;
|
|
12161
|
+
name: string;
|
|
12162
|
+
} | null;
|
|
12163
|
+
industry?: {
|
|
12164
|
+
_id: string;
|
|
12165
|
+
name: string;
|
|
12166
|
+
} | null;
|
|
12167
|
+
brands?: Array<{
|
|
12168
|
+
_id: string;
|
|
12169
|
+
}> | null;
|
|
12170
|
+
sponsorships?: Array<{
|
|
12171
|
+
_id: string;
|
|
12172
|
+
}> | null;
|
|
12173
|
+
};
|
|
12174
|
+
};
|
|
12175
|
+
export type ReorderAlbumIndexMutationVariables = Exact<{
|
|
12176
|
+
input: EditDisplayIndexDto;
|
|
12177
|
+
}>;
|
|
12178
|
+
export type ReorderAlbumIndexMutation = {
|
|
12179
|
+
reorderAlbumIndex: Array<{
|
|
12180
|
+
_id: string;
|
|
12181
|
+
label: string;
|
|
12182
|
+
description?: string | null;
|
|
12183
|
+
displayIndex: number;
|
|
12184
|
+
competitionId?: string | null;
|
|
12185
|
+
visibility: string;
|
|
12186
|
+
photos?: Array<{
|
|
12187
|
+
_id: string;
|
|
12188
|
+
}> | null;
|
|
12189
|
+
}>;
|
|
12190
|
+
};
|
|
12191
|
+
export type EditAlbumMutationVariables = Exact<{
|
|
12192
|
+
input: UploadAlbumsPicturesDto;
|
|
12193
|
+
}>;
|
|
12194
|
+
export type EditAlbumMutation = {
|
|
12195
|
+
editAlbum: {
|
|
12196
|
+
_id: string;
|
|
12197
|
+
label: string;
|
|
12198
|
+
description?: string | null;
|
|
12199
|
+
displayIndex: number;
|
|
12200
|
+
competitionId?: string | null;
|
|
12201
|
+
visibility: string;
|
|
12202
|
+
photos?: Array<{
|
|
12203
|
+
_id: string;
|
|
12204
|
+
}> | null;
|
|
12205
|
+
};
|
|
12206
|
+
};
|
|
12207
|
+
export type DeleteAthletePhotosMutationVariables = Exact<{
|
|
12208
|
+
input: DeleteValuesDto;
|
|
12209
|
+
}>;
|
|
12210
|
+
export type DeleteAthletePhotosMutation = {
|
|
12211
|
+
deleteAthletePhotos: {
|
|
12212
|
+
deleted: Array<string>;
|
|
12213
|
+
failedToDelete: Array<string>;
|
|
12214
|
+
result: string;
|
|
12215
|
+
};
|
|
12216
|
+
};
|
|
12217
|
+
export type DeleteAthleteMembershipAffilationMutationVariables = Exact<{
|
|
12218
|
+
input: DeleteSingleValueDto;
|
|
12219
|
+
}>;
|
|
12220
|
+
export type DeleteAthleteMembershipAffilationMutation = {
|
|
12221
|
+
deleteAthleteMembershipAffilation: {
|
|
12222
|
+
idToDelete: string;
|
|
12223
|
+
deleted: boolean;
|
|
12224
|
+
};
|
|
12225
|
+
};
|
|
12226
|
+
export type ApproveTeamMutationVariables = Exact<{
|
|
12227
|
+
teamId: Scalars['String']['input'];
|
|
12228
|
+
approved: Scalars['Boolean']['input'];
|
|
12229
|
+
}>;
|
|
12230
|
+
export type ApproveTeamMutation = {
|
|
12231
|
+
approveTeam: {
|
|
12232
|
+
_id: string;
|
|
12233
|
+
name: string;
|
|
12234
|
+
description?: string | null;
|
|
12235
|
+
approved?: boolean | null;
|
|
12236
|
+
joinPolicy?: string | null;
|
|
12237
|
+
maxRosterSize?: number | null;
|
|
12238
|
+
visibility?: string | null;
|
|
12239
|
+
stripeAccountId?: string | null;
|
|
12240
|
+
vtxScore?: number | null;
|
|
12241
|
+
sports?: Array<{
|
|
12242
|
+
_id: string;
|
|
12243
|
+
name: string;
|
|
12244
|
+
}> | null;
|
|
12245
|
+
logo?: {
|
|
12246
|
+
_id: string;
|
|
12247
|
+
name?: string | null;
|
|
12248
|
+
} | null;
|
|
12249
|
+
banner?: {
|
|
12250
|
+
_id: string;
|
|
12251
|
+
name?: string | null;
|
|
12252
|
+
} | null;
|
|
12253
|
+
club?: {
|
|
12254
|
+
_id: string;
|
|
12255
|
+
name: string;
|
|
12256
|
+
} | null;
|
|
12257
|
+
athletes?: Array<{
|
|
12258
|
+
_id: string;
|
|
12259
|
+
}> | null;
|
|
12260
|
+
};
|
|
12261
|
+
};
|
|
12262
|
+
export type ApproveClubMutationVariables = Exact<{
|
|
12263
|
+
clubId: Scalars['String']['input'];
|
|
12264
|
+
approved: Scalars['Boolean']['input'];
|
|
12265
|
+
}>;
|
|
12266
|
+
export type ApproveClubMutation = {
|
|
12267
|
+
approveClub: {
|
|
12268
|
+
_id: string;
|
|
12269
|
+
name: string;
|
|
12270
|
+
description?: string | null;
|
|
12271
|
+
location?: string | null;
|
|
12272
|
+
website?: string | null;
|
|
12273
|
+
membershipType: string;
|
|
12274
|
+
feeStructure?: any | null;
|
|
12275
|
+
approved?: boolean | null;
|
|
12276
|
+
visibility: string;
|
|
12277
|
+
stripeAccountId?: string | null;
|
|
12278
|
+
sports?: Array<{
|
|
12279
|
+
_id: string;
|
|
12280
|
+
name: string;
|
|
12281
|
+
}> | null;
|
|
12282
|
+
logo?: {
|
|
12283
|
+
_id: string;
|
|
12284
|
+
name?: string | null;
|
|
12285
|
+
} | null;
|
|
12286
|
+
banner?: {
|
|
12287
|
+
_id: string;
|
|
12288
|
+
name?: string | null;
|
|
12289
|
+
} | null;
|
|
12290
|
+
teams?: Array<{
|
|
12291
|
+
_id: string;
|
|
12292
|
+
name: string;
|
|
12293
|
+
}> | null;
|
|
12294
|
+
};
|
|
12295
|
+
};
|
|
11271
12296
|
export type GetAthleteIntegrationsByAthleteQueryVariables = Exact<{
|
|
11272
12297
|
[key: string]: never;
|
|
11273
12298
|
}>;
|
|
@@ -15129,6 +16154,54 @@ export declare const FollowAthleteDocument: import("graphql").DocumentNode;
|
|
|
15129
16154
|
export declare const UnfollowAthleteDocument: import("graphql").DocumentNode;
|
|
15130
16155
|
export declare const IsFollowingAthleteDocument: import("graphql").DocumentNode;
|
|
15131
16156
|
export declare const MyFollowedAthletesDocument: import("graphql").DocumentNode;
|
|
16157
|
+
export declare const FindTenantByIdDocument: import("graphql").DocumentNode;
|
|
16158
|
+
export declare const FindTenantByEmailDocument: import("graphql").DocumentNode;
|
|
16159
|
+
export declare const GetTenantsDocument: import("graphql").DocumentNode;
|
|
16160
|
+
export declare const IsTenantUriAvailableDocument: import("graphql").DocumentNode;
|
|
16161
|
+
export declare const FindUserByIdDocument: import("graphql").DocumentNode;
|
|
16162
|
+
export declare const ValidateUserCredentialsDocument: import("graphql").DocumentNode;
|
|
16163
|
+
export declare const GetUploadUrlDocument: import("graphql").DocumentNode;
|
|
16164
|
+
export declare const IndustriesDocument: import("graphql").DocumentNode;
|
|
16165
|
+
export declare const FindIndustryByIdDocument: import("graphql").DocumentNode;
|
|
16166
|
+
export declare const BrandsDocument: import("graphql").DocumentNode;
|
|
16167
|
+
export declare const GetBrandByNameDocument: import("graphql").DocumentNode;
|
|
16168
|
+
export declare const GetBrandTranslationDocument: import("graphql").DocumentNode;
|
|
16169
|
+
export declare const ExistsValidSponsorForEmailDocument: import("graphql").DocumentNode;
|
|
16170
|
+
export declare const SponsorsDocument: import("graphql").DocumentNode;
|
|
16171
|
+
export declare const FindAthleteByIdDocument: import("graphql").DocumentNode;
|
|
16172
|
+
export declare const FindAthletebyIdpublicDocument: import("graphql").DocumentNode;
|
|
16173
|
+
export declare const GetAthleteAlbumIdDocument: import("graphql").DocumentNode;
|
|
16174
|
+
export declare const QueryAthleteWithFilterDocument: import("graphql").DocumentNode;
|
|
16175
|
+
export declare const FindSportByIdDocument: import("graphql").DocumentNode;
|
|
16176
|
+
export declare const GetBudgetItemUnitsDocument: import("graphql").DocumentNode;
|
|
16177
|
+
export declare const OffersDocument: import("graphql").DocumentNode;
|
|
16178
|
+
export declare const OffersForAthleteDocument: import("graphql").DocumentNode;
|
|
16179
|
+
export declare const OfferDocument: import("graphql").DocumentNode;
|
|
16180
|
+
export declare const MyOfferClaimsDocument: import("graphql").DocumentNode;
|
|
16181
|
+
export declare const OfferAvailabilityDocument: import("graphql").DocumentNode;
|
|
16182
|
+
export declare const AthleteDashboardDocument: import("graphql").DocumentNode;
|
|
16183
|
+
export declare const AthleteScoreHistoryDocument: import("graphql").DocumentNode;
|
|
16184
|
+
export declare const AthleteRankHistoryDocument: import("graphql").DocumentNode;
|
|
16185
|
+
export declare const AthleteRankContextDocument: import("graphql").DocumentNode;
|
|
16186
|
+
export declare const AthleteActivitiesDocument: import("graphql").DocumentNode;
|
|
16187
|
+
export declare const AthleteActivityDetailDocument: import("graphql").DocumentNode;
|
|
16188
|
+
export declare const AthleteComponentSummaryDocument: import("graphql").DocumentNode;
|
|
16189
|
+
export declare const AthleteActivityDatesDocument: import("graphql").DocumentNode;
|
|
16190
|
+
export declare const SocialAggregatesDocument: import("graphql").DocumentNode;
|
|
16191
|
+
export declare const PostsWithComparisonDocument: import("graphql").DocumentNode;
|
|
16192
|
+
export declare const GetEmailCampaignDocument: import("graphql").DocumentNode;
|
|
16193
|
+
export declare const LoginUserFromCredentialsDocument: import("graphql").DocumentNode;
|
|
16194
|
+
export declare const DeleteUploadedUseTypeFileDocument: import("graphql").DocumentNode;
|
|
16195
|
+
export declare const DeleteUploadedBucketFileDocument: import("graphql").DocumentNode;
|
|
16196
|
+
export declare const RegisterS3UploadedFileDocument: import("graphql").DocumentNode;
|
|
16197
|
+
export declare const CreateIndustryDocument: import("graphql").DocumentNode;
|
|
16198
|
+
export declare const RegisterSponsorDocument: import("graphql").DocumentNode;
|
|
16199
|
+
export declare const ReorderAlbumIndexDocument: import("graphql").DocumentNode;
|
|
16200
|
+
export declare const EditAlbumDocument: import("graphql").DocumentNode;
|
|
16201
|
+
export declare const DeleteAthletePhotosDocument: import("graphql").DocumentNode;
|
|
16202
|
+
export declare const DeleteAthleteMembershipAffilationDocument: import("graphql").DocumentNode;
|
|
16203
|
+
export declare const ApproveTeamDocument: import("graphql").DocumentNode;
|
|
16204
|
+
export declare const ApproveClubDocument: import("graphql").DocumentNode;
|
|
15132
16205
|
export declare const GetAthleteIntegrationsByAthleteDocument: import("graphql").DocumentNode;
|
|
15133
16206
|
export declare const GetAthleteStravaIntegrationDocument: import("graphql").DocumentNode;
|
|
15134
16207
|
export declare const GetAthleteInstagramIntegrationDocument: import("graphql").DocumentNode;
|
|
@@ -15394,6 +16467,54 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
15394
16467
|
UnfollowAthlete(variables: UnfollowAthleteMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UnfollowAthleteMutation>;
|
|
15395
16468
|
IsFollowingAthlete(variables: IsFollowingAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<IsFollowingAthleteQuery>;
|
|
15396
16469
|
MyFollowedAthletes(variables?: MyFollowedAthletesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MyFollowedAthletesQuery>;
|
|
16470
|
+
FindTenantById(variables: FindTenantByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTenantByIdQuery>;
|
|
16471
|
+
FindTenantByEmail(variables: FindTenantByEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTenantByEmailQuery>;
|
|
16472
|
+
GetTenants(variables?: GetTenantsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTenantsQuery>;
|
|
16473
|
+
IsTenantUriAvailable(variables: IsTenantUriAvailableQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<IsTenantUriAvailableQuery>;
|
|
16474
|
+
FindUserById(variables: FindUserByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindUserByIdQuery>;
|
|
16475
|
+
ValidateUserCredentials(variables: ValidateUserCredentialsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ValidateUserCredentialsQuery>;
|
|
16476
|
+
GetUploadUrl(variables: GetUploadUrlQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUploadUrlQuery>;
|
|
16477
|
+
Industries(variables?: IndustriesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<IndustriesQuery>;
|
|
16478
|
+
FindIndustryById(variables: FindIndustryByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindIndustryByIdQuery>;
|
|
16479
|
+
Brands(variables?: BrandsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<BrandsQuery>;
|
|
16480
|
+
GetBrandByName(variables: GetBrandByNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBrandByNameQuery>;
|
|
16481
|
+
GetBrandTranslation(variables: GetBrandTranslationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBrandTranslationQuery>;
|
|
16482
|
+
ExistsValidSponsorForEmail(variables: ExistsValidSponsorForEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ExistsValidSponsorForEmailQuery>;
|
|
16483
|
+
Sponsors(variables?: SponsorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SponsorsQuery>;
|
|
16484
|
+
FindAthleteById(variables: FindAthleteByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAthleteByIdQuery>;
|
|
16485
|
+
FindAthletebyIdpublic(variables: FindAthletebyIdpublicQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAthletebyIdpublicQuery>;
|
|
16486
|
+
GetAthleteAlbumId(variables: GetAthleteAlbumIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteAlbumIdQuery>;
|
|
16487
|
+
QueryAthleteWithFilter(variables: QueryAthleteWithFilterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<QueryAthleteWithFilterQuery>;
|
|
16488
|
+
FindSportById(variables: FindSportByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindSportByIdQuery>;
|
|
16489
|
+
GetBudgetItemUnits(variables?: GetBudgetItemUnitsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBudgetItemUnitsQuery>;
|
|
16490
|
+
Offers(variables?: OffersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OffersQuery>;
|
|
16491
|
+
OffersForAthlete(variables?: OffersForAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OffersForAthleteQuery>;
|
|
16492
|
+
Offer(variables: OfferQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferQuery>;
|
|
16493
|
+
MyOfferClaims(variables: MyOfferClaimsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MyOfferClaimsQuery>;
|
|
16494
|
+
OfferAvailability(variables: OfferAvailabilityQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferAvailabilityQuery>;
|
|
16495
|
+
AthleteDashboard(variables: AthleteDashboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteDashboardQuery>;
|
|
16496
|
+
AthleteScoreHistory(variables: AthleteScoreHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteScoreHistoryQuery>;
|
|
16497
|
+
AthleteRankHistory(variables: AthleteRankHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteRankHistoryQuery>;
|
|
16498
|
+
AthleteRankContext(variables: AthleteRankContextQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteRankContextQuery>;
|
|
16499
|
+
AthleteActivities(variables: AthleteActivitiesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteActivitiesQuery>;
|
|
16500
|
+
AthleteActivityDetail(variables: AthleteActivityDetailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteActivityDetailQuery>;
|
|
16501
|
+
AthleteComponentSummary(variables: AthleteComponentSummaryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteComponentSummaryQuery>;
|
|
16502
|
+
AthleteActivityDates(variables: AthleteActivityDatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteActivityDatesQuery>;
|
|
16503
|
+
SocialAggregates(variables: SocialAggregatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SocialAggregatesQuery>;
|
|
16504
|
+
PostsWithComparison(variables: PostsWithComparisonQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<PostsWithComparisonQuery>;
|
|
16505
|
+
GetEmailCampaign(variables: GetEmailCampaignQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetEmailCampaignQuery>;
|
|
16506
|
+
LoginUserFromCredentials(variables: LoginUserFromCredentialsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<LoginUserFromCredentialsMutation>;
|
|
16507
|
+
DeleteUploadedUseTypeFile(variables: DeleteUploadedUseTypeFileMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteUploadedUseTypeFileMutation>;
|
|
16508
|
+
DeleteUploadedBucketFile(variables: DeleteUploadedBucketFileMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteUploadedBucketFileMutation>;
|
|
16509
|
+
RegisterS3UploadedFile(variables: RegisterS3UploadedFileMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RegisterS3UploadedFileMutation>;
|
|
16510
|
+
CreateIndustry(variables: CreateIndustryMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateIndustryMutation>;
|
|
16511
|
+
RegisterSponsor(variables: RegisterSponsorMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RegisterSponsorMutation>;
|
|
16512
|
+
ReorderAlbumIndex(variables: ReorderAlbumIndexMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ReorderAlbumIndexMutation>;
|
|
16513
|
+
EditAlbum(variables: EditAlbumMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditAlbumMutation>;
|
|
16514
|
+
DeleteAthletePhotos(variables: DeleteAthletePhotosMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteAthletePhotosMutation>;
|
|
16515
|
+
DeleteAthleteMembershipAffilation(variables: DeleteAthleteMembershipAffilationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteAthleteMembershipAffilationMutation>;
|
|
16516
|
+
ApproveTeam(variables: ApproveTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApproveTeamMutation>;
|
|
16517
|
+
ApproveClub(variables: ApproveClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApproveClubMutation>;
|
|
15397
16518
|
GetAthleteIntegrationsByAthlete(variables?: GetAthleteIntegrationsByAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteIntegrationsByAthleteQuery>;
|
|
15398
16519
|
GetAthleteStravaIntegration(variables?: GetAthleteStravaIntegrationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteStravaIntegrationQuery>;
|
|
15399
16520
|
GetAthleteInstagramIntegration(variables?: GetAthleteInstagramIntegrationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteInstagramIntegrationQuery>;
|