@vertikalx/vtx-backend-client 3.1.1-dev-max.9 → 3.1.2-dev.0
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/admin.api.d.ts +2 -0
- package/src/api/domains/generated/admin.api.js +15 -0
- package/src/api/domains/generated/admin.api.js.map +1 -0
- package/src/api/domains/generated/index.d.ts +1 -0
- package/src/api/domains/generated/index.js +3 -1
- package/src/api/domains/generated/index.js.map +1 -1
- package/src/api/domains/generated/vtx-base-api.augment.d.ts +4 -1
- package/src/api/domains/overrides/auth.overrides.js +1 -1
- package/src/api/domains/overrides/auth.overrides.js.map +1 -1
- package/src/api/domains/overrides/compat.overrides.js +63 -0
- package/src/api/domains/overrides/compat.overrides.js.map +1 -1
- package/src/api/vtx-base-api.js +1 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +214 -12
- package/src/client/schema.js +153 -3
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +41 -0
- package/src/client/types.js +981 -889
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +108 -33
- package/src/generated/graphql.js +42 -7
- package/src/generated/graphql.js.map +1 -1
|
@@ -170,6 +170,9 @@ export type AddValuesResponse = {
|
|
|
170
170
|
failureReason?: Maybe<Array<ErrorType>>;
|
|
171
171
|
result: Scalars['String']['output'];
|
|
172
172
|
};
|
|
173
|
+
export type AdminEmailDto = {
|
|
174
|
+
email: Scalars['String']['input'];
|
|
175
|
+
};
|
|
173
176
|
export type AdminTransactionFundingDetails = {
|
|
174
177
|
athleteId: Scalars['String']['output'];
|
|
175
178
|
athleteName: Scalars['String']['output'];
|
|
@@ -194,6 +197,11 @@ export type AdminTransactionView = {
|
|
|
194
197
|
stripeSessionId: Scalars['String']['output'];
|
|
195
198
|
type: Scalars['String']['output'];
|
|
196
199
|
};
|
|
200
|
+
export type AdminUser = {
|
|
201
|
+
_id: Scalars['String']['output'];
|
|
202
|
+
isSuperAdmin: Scalars['Boolean']['output'];
|
|
203
|
+
loginEmail: Scalars['String']['output'];
|
|
204
|
+
};
|
|
197
205
|
export type AdminUserView = {
|
|
198
206
|
_id: Scalars['String']['output'];
|
|
199
207
|
athlete?: Maybe<Athlete>;
|
|
@@ -205,6 +213,7 @@ export type AdminUserView = {
|
|
|
205
213
|
screenName: Scalars['String']['output'];
|
|
206
214
|
suspended: Scalars['Boolean']['output'];
|
|
207
215
|
};
|
|
216
|
+
export type AgeDetermination = 'AGE_ON_EVENT' | 'YEAR_OF_BIRTH';
|
|
208
217
|
export type AgeQualification = {
|
|
209
218
|
operator: Scalars['String']['output'];
|
|
210
219
|
type: Scalars['String']['output'];
|
|
@@ -394,7 +403,7 @@ export type AthleteFilterDto = {
|
|
|
394
403
|
countries?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
395
404
|
currentCampaign?: InputMaybe<FundCampaignFilterDto>;
|
|
396
405
|
futureEventIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
397
|
-
gender?: InputMaybe<
|
|
406
|
+
gender?: InputMaybe<CompetitionGender>;
|
|
398
407
|
mainSportOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
399
408
|
maxAge?: InputMaybe<Scalars['Float']['input']>;
|
|
400
409
|
maxDob?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -488,6 +497,8 @@ export type AthleteReference = {
|
|
|
488
497
|
trainer?: Maybe<Scalars['String']['output']>;
|
|
489
498
|
trainerUrl?: Maybe<Scalars['String']['output']>;
|
|
490
499
|
};
|
|
500
|
+
export type AthleteRequestStatus = 'CLOSED' | 'OPEN';
|
|
501
|
+
export type AthleteSponsorshipStatus = 'ACTIVE' | 'APPROVED' | 'CANCELLED' | 'CLOSED' | 'EXPIRED' | 'PREPARING';
|
|
491
502
|
export type AthleteTeam = {
|
|
492
503
|
_id: Scalars['String']['output'];
|
|
493
504
|
athlete?: Maybe<AthleteTeamMember>;
|
|
@@ -645,7 +656,7 @@ export type BudgetData = {
|
|
|
645
656
|
competitions: Array<CompetitionBudgetData>;
|
|
646
657
|
};
|
|
647
658
|
export type BudgetDto = {
|
|
648
|
-
fundingMode?: InputMaybe<
|
|
659
|
+
fundingMode?: InputMaybe<FundingMode>;
|
|
649
660
|
items: Array<BudgetItemDto>;
|
|
650
661
|
};
|
|
651
662
|
export type BudgetItem = {
|
|
@@ -753,6 +764,10 @@ export type CodeVerificationResponse = {
|
|
|
753
764
|
error?: Maybe<ErrorInfo>;
|
|
754
765
|
result: Scalars['String']['output'];
|
|
755
766
|
};
|
|
767
|
+
export type CommitmentActionType = 'BANNER_AD' | 'LIVE_VIDEO' | 'LONG_VIDEO' | 'MEET_AND_GREET' | 'OTHER' | 'PHOTO_SESSION' | 'PODCAST' | 'PRESS_CONFERENCE' | 'PRINT_AD' | 'RADIO_COMMERCIAL' | 'RADIO_INTERVIEW' | 'SHORT_VIDEO' | 'SOCIAL_POST' | 'SOCIAL_STORY' | 'TV_COMMERCIAL' | 'TV_INTERVIEW' | 'WEB_AD' | 'WEB_INTERVIEW';
|
|
768
|
+
export type CommitmentMedia = 'ANY' | 'APPLE' | 'COURIER_DELIVERY' | 'ELECTRONIC_DELIVERY' | 'FACEBOOK' | 'INSTAGRAM' | 'INTERNET' | 'IN_PERSON_DELIVERY' | 'IN_PERSON_PUBLIC' | 'IN_PERSON_VIP' | 'LINKEDIN' | 'MAIL_DELIVERY' | 'OTHER' | 'RADIO' | 'TIKTOK' | 'TV' | 'TWITTER_X' | 'VIRTUAL_CONFERENCE' | 'YOUTUBE';
|
|
769
|
+
export type CommitmentTypeEnum = 'DATED' | 'RECURRENT' | 'REGULAR';
|
|
770
|
+
export type CompanySize = 'LARGE' | 'MEDIUM' | 'MICRO' | 'SMALL';
|
|
756
771
|
export type CompetitionBudgetData = {
|
|
757
772
|
budget: Scalars['Float']['output'];
|
|
758
773
|
campaign?: Maybe<Scalars['String']['output']>;
|
|
@@ -776,6 +791,7 @@ export type CompetitionDeleteVerificationReason = {
|
|
|
776
791
|
export type CompetitionDeleteVerificationResponse = {
|
|
777
792
|
reasons: Array<CompetitionDeleteVerificationReason>;
|
|
778
793
|
};
|
|
794
|
+
export type CompetitionGender = 'FEMALE' | 'MALE';
|
|
779
795
|
export type CompetitionResultDto = {
|
|
780
796
|
adversary?: InputMaybe<Scalars['String']['input']>;
|
|
781
797
|
categoryName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -791,6 +807,7 @@ export type CompetitionResultDto = {
|
|
|
791
807
|
score?: InputMaybe<Scalars['String']['input']>;
|
|
792
808
|
totalParticipants?: InputMaybe<Scalars['Float']['input']>;
|
|
793
809
|
};
|
|
810
|
+
export type CompetitionResultType = 'POSITION' | 'SCORE';
|
|
794
811
|
export type ComponentSummary = {
|
|
795
812
|
activityCount: Scalars['Int']['output'];
|
|
796
813
|
avgScorePerActivity?: Maybe<Scalars['Float']['output']>;
|
|
@@ -964,7 +981,7 @@ export type CreateEmailSegmentDto = {
|
|
|
964
981
|
export type CreateFundingCampaignDto = {
|
|
965
982
|
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
966
983
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
967
|
-
budgetMode:
|
|
984
|
+
budgetMode: FundingMode;
|
|
968
985
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
969
986
|
competitionBudgets?: InputMaybe<Array<CreateCompetitionBudgetDto>>;
|
|
970
987
|
competitionIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -982,7 +999,7 @@ export type CreateFundingCampaignDto = {
|
|
|
982
999
|
export type CreateFundingCampaignForDto = {
|
|
983
1000
|
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
984
1001
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
985
|
-
budgetMode:
|
|
1002
|
+
budgetMode: FundingMode;
|
|
986
1003
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
987
1004
|
competitionBudgets?: InputMaybe<Array<CreateCompetitionBudgetDto>>;
|
|
988
1005
|
competitionIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -1281,7 +1298,7 @@ export type DonationCheckoutDto = {
|
|
|
1281
1298
|
fromPhone?: InputMaybe<Scalars['String']['input']>;
|
|
1282
1299
|
fundingCampaignId: Scalars['String']['input'];
|
|
1283
1300
|
message?: InputMaybe<Scalars['String']['input']>;
|
|
1284
|
-
mode?:
|
|
1301
|
+
mode?: DonationMode;
|
|
1285
1302
|
};
|
|
1286
1303
|
export type DonationDates = {
|
|
1287
1304
|
dates: Array<Scalars['String']['output']>;
|
|
@@ -1508,7 +1525,7 @@ export type FundCampaignFilterDto = {
|
|
|
1508
1525
|
minEndingDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1509
1526
|
minFundsRequired?: InputMaybe<Scalars['Float']['input']>;
|
|
1510
1527
|
states?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1511
|
-
status?: InputMaybe<
|
|
1528
|
+
status?: InputMaybe<FundingStatus>;
|
|
1512
1529
|
};
|
|
1513
1530
|
export type FundRaisingCampaign = {
|
|
1514
1531
|
_id: Scalars['String']['output'];
|
|
@@ -1600,7 +1617,7 @@ export type HistoricalScore = {
|
|
|
1600
1617
|
athleteId: Scalars['String']['output'];
|
|
1601
1618
|
date: Scalars['DateTime']['output'];
|
|
1602
1619
|
score: Scalars['Float']['output'];
|
|
1603
|
-
scoreType:
|
|
1620
|
+
scoreType: ScoreType;
|
|
1604
1621
|
};
|
|
1605
1622
|
export type HistoricalScoresPeriod = {
|
|
1606
1623
|
apiScores?: Maybe<Array<HistoricalScore>>;
|
|
@@ -1787,6 +1804,7 @@ export type ManageTeamMemberInput = {
|
|
|
1787
1804
|
export type MarkNotificationReadDto = {
|
|
1788
1805
|
notificationId: Scalars['String']['input'];
|
|
1789
1806
|
};
|
|
1807
|
+
export type MatchMode = 'ONLY_SPECIFIED' | 'SPECIFIED_OR_GREATER' | 'SPECIFIED_OR_LOWER';
|
|
1790
1808
|
export type Member = {
|
|
1791
1809
|
_id: Scalars['String']['output'];
|
|
1792
1810
|
donations: Array<Donation>;
|
|
@@ -1845,6 +1863,7 @@ export type MetricRangeInput = {
|
|
|
1845
1863
|
export type Mutation = {
|
|
1846
1864
|
AddAlbumPictures: AddValuesResponse;
|
|
1847
1865
|
activateOffer: Offer;
|
|
1866
|
+
addAdminUser: AdminUser;
|
|
1848
1867
|
addAthleteCompetition: AthleteCompetition;
|
|
1849
1868
|
addCompetitionBudget: Scalars['Boolean']['output'];
|
|
1850
1869
|
approveClub: Club;
|
|
@@ -1945,6 +1964,7 @@ export type Mutation = {
|
|
|
1945
1964
|
registerSponsorUser: User;
|
|
1946
1965
|
registerUser: User;
|
|
1947
1966
|
registerUserToDomainFromEmail: User;
|
|
1967
|
+
removeAdminUser: RemoveAdminUserResponse;
|
|
1948
1968
|
removeOfferClaim: Scalars['Boolean']['output'];
|
|
1949
1969
|
reorderAlbumIndex: Array<Album>;
|
|
1950
1970
|
resetUserPassword: EditValueResponse;
|
|
@@ -1989,6 +2009,9 @@ export type MutationAddAlbumPicturesArgs = {
|
|
|
1989
2009
|
export type MutationActivateOfferArgs = {
|
|
1990
2010
|
id: Scalars['String']['input'];
|
|
1991
2011
|
};
|
|
2012
|
+
export type MutationAddAdminUserArgs = {
|
|
2013
|
+
input: AdminEmailDto;
|
|
2014
|
+
};
|
|
1992
2015
|
export type MutationAddAthleteCompetitionArgs = {
|
|
1993
2016
|
input: CreateAthleteCompetitionDto;
|
|
1994
2017
|
};
|
|
@@ -2286,6 +2309,9 @@ export type MutationRegisterUserArgs = {
|
|
|
2286
2309
|
export type MutationRegisterUserToDomainFromEmailArgs = {
|
|
2287
2310
|
input: RegisterUserToDomainFromEmailInput;
|
|
2288
2311
|
};
|
|
2312
|
+
export type MutationRemoveAdminUserArgs = {
|
|
2313
|
+
input: AdminEmailDto;
|
|
2314
|
+
};
|
|
2289
2315
|
export type MutationRemoveOfferClaimArgs = {
|
|
2290
2316
|
athleteId: Scalars['String']['input'];
|
|
2291
2317
|
claimId: Scalars['String']['input'];
|
|
@@ -2453,6 +2479,7 @@ export type NotificationQueryDto = {
|
|
|
2453
2479
|
export type NudgeQueryDto = {
|
|
2454
2480
|
unreadOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2455
2481
|
};
|
|
2482
|
+
export type NumberOfAthletesSponsored = 'ALOT' | 'FEW' | 'MANY' | 'SOME';
|
|
2456
2483
|
export type Offer = {
|
|
2457
2484
|
_id: Scalars['String']['output'];
|
|
2458
2485
|
availableCodes: Scalars['Int']['output'];
|
|
@@ -2616,14 +2643,15 @@ export type Plan = {
|
|
|
2616
2643
|
startOfferingDate?: Maybe<Scalars['DateTime']['output']>;
|
|
2617
2644
|
termsAndConditions?: Maybe<Scalars['String']['output']>;
|
|
2618
2645
|
};
|
|
2646
|
+
export type PlanPeriod = 'CUSTOM_DAYS' | 'DAYLY' | 'MONTHLY' | 'QUATERLY' | 'SEMESTER' | 'WEEKLY' | 'YEARLY';
|
|
2619
2647
|
export type PlanPrice = {
|
|
2620
2648
|
_id: Scalars['String']['output'];
|
|
2621
2649
|
currency: Scalars['String']['output'];
|
|
2622
2650
|
customDays?: Maybe<Scalars['Float']['output']>;
|
|
2623
|
-
period:
|
|
2651
|
+
period: PlanPeriod;
|
|
2624
2652
|
plan?: Maybe<Plan>;
|
|
2625
2653
|
price: Scalars['Float']['output'];
|
|
2626
|
-
taxMode:
|
|
2654
|
+
taxMode: TaxCalculation;
|
|
2627
2655
|
};
|
|
2628
2656
|
export type PlanSubscription = {
|
|
2629
2657
|
_id: Scalars['String']['output'];
|
|
@@ -2748,6 +2776,7 @@ export type Query = {
|
|
|
2748
2776
|
findUserByEmail: User;
|
|
2749
2777
|
findUserById: User;
|
|
2750
2778
|
findVtxUser: User;
|
|
2779
|
+
getAdminUsers: Array<AdminUser>;
|
|
2751
2780
|
getAiCoachConfig: AiCoachConfig;
|
|
2752
2781
|
getAiCoachNudges: AiCoachNudgeListResponse;
|
|
2753
2782
|
getAiCoachThread?: Maybe<AiCoachThread>;
|
|
@@ -3301,6 +3330,11 @@ export type RegisterUserToDomainFromEmailInput = {
|
|
|
3301
3330
|
email: Scalars['String']['input'];
|
|
3302
3331
|
tenantId?: InputMaybe<Scalars['String']['input']>;
|
|
3303
3332
|
};
|
|
3333
|
+
export type RemoveAdminUserResponse = {
|
|
3334
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
3335
|
+
success: Scalars['Boolean']['output'];
|
|
3336
|
+
};
|
|
3337
|
+
export type RequestItemType = 'CASH' | 'EQUIPMENT' | 'OTHER' | 'PRODUCT' | 'TRAVEL';
|
|
3304
3338
|
export type ScoreHistoryEntry = {
|
|
3305
3339
|
competitionScore?: Maybe<Scalars['Float']['output']>;
|
|
3306
3340
|
date: Scalars['DateTime']['output'];
|
|
@@ -3343,6 +3377,7 @@ export type ScoreRefreshDetail = {
|
|
|
3343
3377
|
message?: Maybe<Scalars['String']['output']>;
|
|
3344
3378
|
status: ForceScoreRefreshStatus;
|
|
3345
3379
|
};
|
|
3380
|
+
export type ScoreType = 'COMPETITION_SCORE' | 'SOCIAL_SCORE' | 'TRANING_SCORE' | 'VTX_SCORE';
|
|
3346
3381
|
export type SendChatMessageDto = {
|
|
3347
3382
|
message: Scalars['String']['input'];
|
|
3348
3383
|
threadId: Scalars['String']['input'];
|
|
@@ -3557,7 +3592,7 @@ export type Sport = {
|
|
|
3557
3592
|
_id: Scalars['String']['output'];
|
|
3558
3593
|
name: Scalars['String']['output'];
|
|
3559
3594
|
priority?: Maybe<Scalars['Float']['output']>;
|
|
3560
|
-
resultType:
|
|
3595
|
+
resultType: CompetitionResultType;
|
|
3561
3596
|
verified?: Maybe<Scalars['Boolean']['output']>;
|
|
3562
3597
|
};
|
|
3563
3598
|
export type SportLevel = {
|
|
@@ -3825,6 +3860,7 @@ export type StripeQueryDto = {
|
|
|
3825
3860
|
operation: Scalars['String']['input'];
|
|
3826
3861
|
params?: InputMaybe<Scalars['String']['input']>;
|
|
3827
3862
|
};
|
|
3863
|
+
export type StripeQueryOperation = 'CheckoutSession';
|
|
3828
3864
|
export type StripeRequirementAlternativeType = {
|
|
3829
3865
|
alternative_fields_due: Array<Scalars['String']['output']>;
|
|
3830
3866
|
original_fields_due: Array<Scalars['String']['output']>;
|
|
@@ -3872,6 +3908,8 @@ export type SubscriptionPayment = {
|
|
|
3872
3908
|
payment: Payment;
|
|
3873
3909
|
subscriber: PlanSubscription;
|
|
3874
3910
|
};
|
|
3911
|
+
export type TaskStatus = 'DONE' | 'EXPIRED' | 'PENDING';
|
|
3912
|
+
export type TaxCalculation = 'NO_TAX' | 'PLUS_TAX' | 'TAX_INCLUDED';
|
|
3875
3913
|
export type Team = {
|
|
3876
3914
|
_id: Scalars['String']['output'];
|
|
3877
3915
|
approved?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -3955,6 +3993,7 @@ export type TextDatabaseFile = {
|
|
|
3955
3993
|
version: Scalars['String']['output'];
|
|
3956
3994
|
};
|
|
3957
3995
|
export type TimeRange = 'ALL_TIME' | 'NINETY_DAYS' | 'ONE_YEAR' | 'SEVEN_DAYS' | 'THIRTY_DAYS';
|
|
3996
|
+
export type TimeUnit = 'DAYS' | 'HOURS' | 'MINUTES' | 'MONTHS' | 'SECONDS' | 'WEEKS' | 'YEARS';
|
|
3958
3997
|
export type TopMetric = {
|
|
3959
3998
|
name: Scalars['String']['output'];
|
|
3960
3999
|
status: Scalars['String']['output'];
|
|
@@ -4038,7 +4077,7 @@ export type UpdateFundingCampaignDto = {
|
|
|
4038
4077
|
_id: Scalars['String']['input'];
|
|
4039
4078
|
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4040
4079
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
4041
|
-
budgetMode:
|
|
4080
|
+
budgetMode: FundingMode;
|
|
4042
4081
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
4043
4082
|
competitionBudgets?: InputMaybe<Array<CreateCompetitionBudgetDto>>;
|
|
4044
4083
|
competitionIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -4114,7 +4153,7 @@ export type UploadAlbumsPicturesDto = {
|
|
|
4114
4153
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
4115
4154
|
label: Scalars['String']['input'];
|
|
4116
4155
|
pictures?: InputMaybe<Array<Awss3UploadedFileDto>>;
|
|
4117
|
-
visibility?: InputMaybe<
|
|
4156
|
+
visibility?: InputMaybe<VisibilityScope>;
|
|
4118
4157
|
};
|
|
4119
4158
|
export type UploadResult = {
|
|
4120
4159
|
addedCodes: Scalars['Int']['output'];
|
|
@@ -4208,6 +4247,7 @@ export type Video = {
|
|
|
4208
4247
|
sourceData: Scalars['String']['output'];
|
|
4209
4248
|
url: Scalars['String']['output'];
|
|
4210
4249
|
};
|
|
4250
|
+
export type VisibilityScope = 'FRIENDS' | 'PRIVATE' | 'PUBLIC';
|
|
4211
4251
|
export type VtxScores = {
|
|
4212
4252
|
competitionScore: Scalars['Float']['output'];
|
|
4213
4253
|
socialScore: Scalars['Float']['output'];
|
|
@@ -4233,6 +4273,35 @@ export type ResetPasswordDto = {
|
|
|
4233
4273
|
code: VerifyCodeDto;
|
|
4234
4274
|
newPassword?: InputMaybe<Scalars['String']['input']>;
|
|
4235
4275
|
};
|
|
4276
|
+
export type GetAdminUsersQueryVariables = Exact<{
|
|
4277
|
+
[key: string]: never;
|
|
4278
|
+
}>;
|
|
4279
|
+
export type GetAdminUsersQuery = {
|
|
4280
|
+
getAdminUsers: Array<{
|
|
4281
|
+
_id: string;
|
|
4282
|
+
loginEmail: string;
|
|
4283
|
+
isSuperAdmin: boolean;
|
|
4284
|
+
}>;
|
|
4285
|
+
};
|
|
4286
|
+
export type AddAdminUserMutationVariables = Exact<{
|
|
4287
|
+
input: AdminEmailDto;
|
|
4288
|
+
}>;
|
|
4289
|
+
export type AddAdminUserMutation = {
|
|
4290
|
+
addAdminUser: {
|
|
4291
|
+
_id: string;
|
|
4292
|
+
loginEmail: string;
|
|
4293
|
+
isSuperAdmin: boolean;
|
|
4294
|
+
};
|
|
4295
|
+
};
|
|
4296
|
+
export type RemoveAdminUserMutationVariables = Exact<{
|
|
4297
|
+
input: AdminEmailDto;
|
|
4298
|
+
}>;
|
|
4299
|
+
export type RemoveAdminUserMutation = {
|
|
4300
|
+
removeAdminUser: {
|
|
4301
|
+
success: boolean;
|
|
4302
|
+
message?: string | null;
|
|
4303
|
+
};
|
|
4304
|
+
};
|
|
4236
4305
|
export type AiCoachThreadFieldsFragment = {
|
|
4237
4306
|
_id: string;
|
|
4238
4307
|
athleteId: string;
|
|
@@ -4924,7 +4993,7 @@ export type CurrentCampaignFieldsFragment = {
|
|
|
4924
4993
|
};
|
|
4925
4994
|
export type HistoricalScoreFieldsFragment = {
|
|
4926
4995
|
_id: string;
|
|
4927
|
-
scoreType:
|
|
4996
|
+
scoreType: ScoreType;
|
|
4928
4997
|
score: number;
|
|
4929
4998
|
date: string;
|
|
4930
4999
|
athleteId: string;
|
|
@@ -4938,28 +5007,28 @@ export type HistoricalScoresPeriodFieldsFragment = {
|
|
|
4938
5007
|
maxTimestampExclusive: string;
|
|
4939
5008
|
vtxScores?: Array<{
|
|
4940
5009
|
_id: string;
|
|
4941
|
-
scoreType:
|
|
5010
|
+
scoreType: ScoreType;
|
|
4942
5011
|
score: number;
|
|
4943
5012
|
date: string;
|
|
4944
5013
|
athleteId: string;
|
|
4945
5014
|
}> | null;
|
|
4946
5015
|
tpiScores?: Array<{
|
|
4947
5016
|
_id: string;
|
|
4948
|
-
scoreType:
|
|
5017
|
+
scoreType: ScoreType;
|
|
4949
5018
|
score: number;
|
|
4950
5019
|
date: string;
|
|
4951
5020
|
athleteId: string;
|
|
4952
5021
|
}> | null;
|
|
4953
5022
|
spiScores?: Array<{
|
|
4954
5023
|
_id: string;
|
|
4955
|
-
scoreType:
|
|
5024
|
+
scoreType: ScoreType;
|
|
4956
5025
|
score: number;
|
|
4957
5026
|
date: string;
|
|
4958
5027
|
athleteId: string;
|
|
4959
5028
|
}> | null;
|
|
4960
5029
|
apiScores?: Array<{
|
|
4961
5030
|
_id: string;
|
|
4962
|
-
scoreType:
|
|
5031
|
+
scoreType: ScoreType;
|
|
4963
5032
|
score: number;
|
|
4964
5033
|
date: string;
|
|
4965
5034
|
athleteId: string;
|
|
@@ -7544,7 +7613,7 @@ export type GetAthleteCompetitionsQuery = {
|
|
|
7544
7613
|
mainSport?: {
|
|
7545
7614
|
_id: string;
|
|
7546
7615
|
name: string;
|
|
7547
|
-
resultType:
|
|
7616
|
+
resultType: CompetitionResultType;
|
|
7548
7617
|
} | null;
|
|
7549
7618
|
banner?: {
|
|
7550
7619
|
_id: string;
|
|
@@ -7971,7 +8040,7 @@ export type GetAthleteHistoricalScoresQueryVariables = Exact<{
|
|
|
7971
8040
|
export type GetAthleteHistoricalScoresQuery = {
|
|
7972
8041
|
getAthleteHistoricalScores: Array<{
|
|
7973
8042
|
_id: string;
|
|
7974
|
-
scoreType:
|
|
8043
|
+
scoreType: ScoreType;
|
|
7975
8044
|
score: number;
|
|
7976
8045
|
date: string;
|
|
7977
8046
|
athleteId: string;
|
|
@@ -7983,7 +8052,7 @@ export type GetMyHistoricalScoresQueryVariables = Exact<{
|
|
|
7983
8052
|
export type GetMyHistoricalScoresQuery = {
|
|
7984
8053
|
getMyHistoricalScores: Array<{
|
|
7985
8054
|
_id: string;
|
|
7986
|
-
scoreType:
|
|
8055
|
+
scoreType: ScoreType;
|
|
7987
8056
|
score: number;
|
|
7988
8057
|
date: string;
|
|
7989
8058
|
athleteId: string;
|
|
@@ -8002,28 +8071,28 @@ export type GetAthleteHistoricalScoresPeriodQuery = {
|
|
|
8002
8071
|
maxTimestampExclusive: string;
|
|
8003
8072
|
vtxScores?: Array<{
|
|
8004
8073
|
_id: string;
|
|
8005
|
-
scoreType:
|
|
8074
|
+
scoreType: ScoreType;
|
|
8006
8075
|
score: number;
|
|
8007
8076
|
date: string;
|
|
8008
8077
|
athleteId: string;
|
|
8009
8078
|
}> | null;
|
|
8010
8079
|
tpiScores?: Array<{
|
|
8011
8080
|
_id: string;
|
|
8012
|
-
scoreType:
|
|
8081
|
+
scoreType: ScoreType;
|
|
8013
8082
|
score: number;
|
|
8014
8083
|
date: string;
|
|
8015
8084
|
athleteId: string;
|
|
8016
8085
|
}> | null;
|
|
8017
8086
|
spiScores?: Array<{
|
|
8018
8087
|
_id: string;
|
|
8019
|
-
scoreType:
|
|
8088
|
+
scoreType: ScoreType;
|
|
8020
8089
|
score: number;
|
|
8021
8090
|
date: string;
|
|
8022
8091
|
athleteId: string;
|
|
8023
8092
|
}> | null;
|
|
8024
8093
|
apiScores?: Array<{
|
|
8025
8094
|
_id: string;
|
|
8026
|
-
scoreType:
|
|
8095
|
+
scoreType: ScoreType;
|
|
8027
8096
|
score: number;
|
|
8028
8097
|
date: string;
|
|
8029
8098
|
athleteId: string;
|
|
@@ -8043,28 +8112,28 @@ export type GetMyHistoricalScoresPeriodQuery = {
|
|
|
8043
8112
|
maxTimestampExclusive: string;
|
|
8044
8113
|
vtxScores?: Array<{
|
|
8045
8114
|
_id: string;
|
|
8046
|
-
scoreType:
|
|
8115
|
+
scoreType: ScoreType;
|
|
8047
8116
|
score: number;
|
|
8048
8117
|
date: string;
|
|
8049
8118
|
athleteId: string;
|
|
8050
8119
|
}> | null;
|
|
8051
8120
|
tpiScores?: Array<{
|
|
8052
8121
|
_id: string;
|
|
8053
|
-
scoreType:
|
|
8122
|
+
scoreType: ScoreType;
|
|
8054
8123
|
score: number;
|
|
8055
8124
|
date: string;
|
|
8056
8125
|
athleteId: string;
|
|
8057
8126
|
}> | null;
|
|
8058
8127
|
spiScores?: Array<{
|
|
8059
8128
|
_id: string;
|
|
8060
|
-
scoreType:
|
|
8129
|
+
scoreType: ScoreType;
|
|
8061
8130
|
score: number;
|
|
8062
8131
|
date: string;
|
|
8063
8132
|
athleteId: string;
|
|
8064
8133
|
}> | null;
|
|
8065
8134
|
apiScores?: Array<{
|
|
8066
8135
|
_id: string;
|
|
8067
|
-
scoreType:
|
|
8136
|
+
scoreType: ScoreType;
|
|
8068
8137
|
score: number;
|
|
8069
8138
|
date: string;
|
|
8070
8139
|
athleteId: string;
|
|
@@ -8283,7 +8352,7 @@ export type GetSportsEventsQuery = {
|
|
|
8283
8352
|
mainSport?: {
|
|
8284
8353
|
_id: string;
|
|
8285
8354
|
name: string;
|
|
8286
|
-
resultType:
|
|
8355
|
+
resultType: CompetitionResultType;
|
|
8287
8356
|
} | null;
|
|
8288
8357
|
banner?: {
|
|
8289
8358
|
_id: string;
|
|
@@ -8440,7 +8509,7 @@ export type UpdateSportsEventMutation = {
|
|
|
8440
8509
|
mainSport?: {
|
|
8441
8510
|
_id: string;
|
|
8442
8511
|
name: string;
|
|
8443
|
-
resultType:
|
|
8512
|
+
resultType: CompetitionResultType;
|
|
8444
8513
|
} | null;
|
|
8445
8514
|
banner?: {
|
|
8446
8515
|
_id: string;
|
|
@@ -8493,7 +8562,7 @@ export type MergeSportsEventsMutation = {
|
|
|
8493
8562
|
mainSport?: {
|
|
8494
8563
|
_id: string;
|
|
8495
8564
|
name: string;
|
|
8496
|
-
resultType:
|
|
8565
|
+
resultType: CompetitionResultType;
|
|
8497
8566
|
} | null;
|
|
8498
8567
|
banner?: {
|
|
8499
8568
|
_id: string;
|
|
@@ -11748,7 +11817,7 @@ export type FindSportByIdQuery = {
|
|
|
11748
11817
|
findSportById: {
|
|
11749
11818
|
_id: string;
|
|
11750
11819
|
name: string;
|
|
11751
|
-
resultType:
|
|
11820
|
+
resultType: CompetitionResultType;
|
|
11752
11821
|
verified?: boolean | null;
|
|
11753
11822
|
priority?: number | null;
|
|
11754
11823
|
};
|
|
@@ -14161,7 +14230,7 @@ export type GetSportsPaginatedQuery = {
|
|
|
14161
14230
|
name: string;
|
|
14162
14231
|
priority?: number | null;
|
|
14163
14232
|
verified?: boolean | null;
|
|
14164
|
-
resultType:
|
|
14233
|
+
resultType: CompetitionResultType;
|
|
14165
14234
|
}>;
|
|
14166
14235
|
pagination: {
|
|
14167
14236
|
currentPage: number;
|
|
@@ -16018,6 +16087,9 @@ export declare const AthleteTeamFieldsFragmentDoc: import("graphql").DocumentNod
|
|
|
16018
16087
|
export declare const AthleteClubFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
16019
16088
|
export declare const TeamAnalyticsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
16020
16089
|
export declare const TeamLeaderboardEntryFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
16090
|
+
export declare const GetAdminUsersDocument: import("graphql").DocumentNode;
|
|
16091
|
+
export declare const AddAdminUserDocument: import("graphql").DocumentNode;
|
|
16092
|
+
export declare const RemoveAdminUserDocument: import("graphql").DocumentNode;
|
|
16021
16093
|
export declare const GetAiCoachThreadDocument: import("graphql").DocumentNode;
|
|
16022
16094
|
export declare const GetAiCoachThreadHistoryDocument: import("graphql").DocumentNode;
|
|
16023
16095
|
export declare const GetAiCoachThreadMessagesDocument: import("graphql").DocumentNode;
|
|
@@ -16331,6 +16403,9 @@ export declare const GetUsersPaginatedDocument: import("graphql").DocumentNode;
|
|
|
16331
16403
|
export declare const GetDatabaseTextFileDocument: import("graphql").DocumentNode;
|
|
16332
16404
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
16333
16405
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
16406
|
+
GetAdminUsers(variables?: GetAdminUsersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAdminUsersQuery>;
|
|
16407
|
+
AddAdminUser(variables: AddAdminUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AddAdminUserMutation>;
|
|
16408
|
+
RemoveAdminUser(variables: RemoveAdminUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RemoveAdminUserMutation>;
|
|
16334
16409
|
GetAiCoachThread(variables?: GetAiCoachThreadQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadQuery>;
|
|
16335
16410
|
GetAiCoachThreadHistory(variables?: GetAiCoachThreadHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadHistoryQuery>;
|
|
16336
16411
|
GetAiCoachThreadMessages(variables: GetAiCoachThreadMessagesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadMessagesQuery>;
|
package/src/generated/graphql.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.GetDatabaseTextFileDocument = exports.GetUsersPaginatedDocument = exports.GetAllUsersDocument = exports.ScreenNameAvailabilityDocument = exports.FindCityByIdDocument = exports.FindCitiesStartingWithDocument = exports.SendAthleteInvitationsDocument = exports.FindSponsorAthleteInvitationDocument = exports.FindMemberForUserDocument = exports.RegisterMemberDocument = exports.RegisterUserToDomainFromEmailDocument = exports.RegisterNewDomainTenantWithLoginDocument = exports.RegisterNewDomainTenantDocument = exports.GetUserImagesFromEmailDocument = exports.FindVtxUserDocument = exports.FindUserByEmailDocument = exports.CreateMembershipFeeCheckoutDocument = exports.CreateClubDonationCheckoutDocument = exports.CreateClubStripeAccountDocument = exports.ManageClubMemberDocument = exports.InviteToClubDocument = exports.LeaveClubDocument = exports.JoinClubDocument = exports.UpdateClubDocument = exports.CreateClubDocument = exports.GetClubStripeAccountStatusDocument = exports.GetClubMembersDocument = exports.GetMyClubsDocument = exports.FindAllClubsDocument = exports.FindClubsDocument = exports.FindClubByIdDocument = exports.CreateTeamDonationCheckoutDocument = exports.CreateTeamStripeAccountDocument = exports.ManageTeamMemberDocument = exports.InviteToTeamDocument = exports.LeaveTeamDocument = exports.JoinTeamDocument = exports.UpdateTeamDocument = exports.CreateTeamDocument = exports.GetTeamStripeAccountStatusDocument = exports.GetTeamDashboardDocument = exports.GetTeamLeaderboardDocument = exports.GetTeamAnalyticsDocument = exports.GetTeamRosterDocument = exports.GetMyTeamsDocument = exports.FindAllTeamsDocument = exports.FindTeamsDocument = void 0;
|
|
3
|
+
exports.FindAthleteForUserDocument = exports.RegisterAthleteDocument = exports.MarkAiCoachNudgeReadDocument = exports.GetAiCoachUnreadNudgeCountDocument = exports.GetAiCoachNudgesDocument = exports.UpdateAiCoachConfigDocument = exports.SendAiCoachMessageDocument = exports.GetAiCoachConfigDocument = exports.GetAiCoachThreadMessagesDocument = exports.GetAiCoachThreadHistoryDocument = exports.GetAiCoachThreadDocument = exports.RemoveAdminUserDocument = exports.AddAdminUserDocument = exports.GetAdminUsersDocument = exports.TeamLeaderboardEntryFieldsFragmentDoc = exports.TeamAnalyticsFieldsFragmentDoc = exports.AthleteClubFieldsFragmentDoc = exports.AthleteTeamFieldsFragmentDoc = exports.ClubFieldsFragmentDoc = exports.TeamFieldsFragmentDoc = exports.PaginationInfoFieldsFragmentDoc = exports.SponsorshipFullFieldsFragmentDoc = exports.BrandFullFieldsFragmentDoc = exports.Awss3FileFieldsFragmentDoc = exports.PaginationFieldsFragmentDoc = exports.OfferBrandBasicFragmentDoc = exports.OfferImageFieldsFragmentDoc = exports.OfferBasicFieldsFragmentDoc = exports.NotificationFieldsFragmentDoc = exports.S3UploadFieldsFragmentDoc = exports.AlbumFieldsFragmentDoc = exports.DonationAthleteRefFragmentDoc = exports.DonationFieldsFragmentDoc = exports.BrowseCampaignFieldsFragmentDoc = exports.DonationThankYouFieldsFragmentDoc = exports.CampaignFieldsFragmentDoc = exports.HistoricalScoresPeriodFieldsFragmentDoc = exports.HistoricalScoreFieldsFragmentDoc = exports.CurrentCampaignFieldsFragmentDoc = exports.CampaignLocationFieldsFragmentDoc = exports.StandardAthleteFieldsFragmentDoc = exports.CompetitionEventFieldsFragmentDoc = exports.FileFieldsFragmentDoc = exports.RankingFieldsFragmentDoc = exports.LocationFieldsFragmentDoc = exports.CityFieldsFragmentDoc = exports.AiCoachNudgeFieldsFragmentDoc = exports.AiCoachConfigFieldsFragmentDoc = exports.AiCoachMessageFieldsFragmentDoc = exports.AiCoachThreadFieldsFragmentDoc = void 0;
|
|
4
|
+
exports.EditCompetitionBudgetDocument = exports.AddCompetitionBudgetDocument = exports.DeleteCompetitionBudgetDocument = exports.GetBudgetsByAthleteDocument = exports.MergeSportsEventsDocument = exports.DeleteSportsEventDocument = exports.UpdateSportsEventDocument = exports.CreateSportsEventDocument = exports.GetSportsEventsPaginatedDocument = exports.GetSportsEventsDocument = exports.GetPublicAthleteIntegrationStatusDocument = exports.GetPostsWithComparisonDocument = exports.GetSocialAggregatesDocument = exports.GetAthleteActivityDatesDocument = exports.GetAthleteComponentSummaryDocument = exports.GetAthleteActivityDetailDocument = exports.GetAthleteActivitiesDocument = exports.GetAthleteRankContextDocument = exports.GetAthleteRankHistoryDocument = exports.GetAthleteScoreHistoryDocument = exports.GetAthleteDashboardDocument = exports.GetMyHistoricalScoresPeriodDocument = exports.GetAthleteHistoricalScoresPeriodDocument = exports.GetMyHistoricalScoresDocument = exports.GetAthleteHistoricalScoresDocument = exports.CheckScoreRefreshCapabilitiesDocument = exports.ForceRefreshAthleteScoresDocument = exports.UpdateAthleteCompetitionScoresDocument = exports.UpdateAthleteScoresDocument = exports.DeleteMembershipAffiliationDocument = exports.CreateAthleteMembershipAffilationDocument = exports.GetMembershipOrganizationsDocument = exports.CreateMembershipOrganizationDocument = exports.SaveAthleteCompetitionResultDocument = exports.ForceDeleteAthleteCompetitionDocument = exports.VerifyAthleteCompetitionLinkedForDeleteDocument = exports.DeleteAthleteCompetitionDocument = exports.GetAthleteMembershipsDocument = exports.GetAthleteCompetitionsDocument = exports.AddAthleteCompetitionDocument = exports.EditPictureDocument = exports.EditProfileValueDocument = exports.EditAboutMeDocument = exports.QueryAthletesWithFiltersDocument = exports.QueryAthleteFundingCampaignsDocument = exports.GetSponsorAthletesForTenantDocument = exports.GetRecommendedAthletesDocument = exports.SearchAthletesDocument = exports.GetAthletesDocument = exports.FindAthleteForIdPublicDocument = void 0;
|
|
5
|
+
exports.GetAllTransactionsDocument = exports.GetTransactionDetailsDocument = exports.GetReceiptDocument = exports.GetReceiptUrlDocument = exports.CreateStripeAccountLinkDocument = exports.CreateStripeLoginLinkDocument = exports.CreateStripeCheckoutSessionDocument = exports.CreateAthleteStripeSessionDocument = exports.CreateStripeAccountDocument = exports.StripeQueryDocument = exports.GetStripeBalanceDocument = exports.GetDonationsPaginatedDocument = exports.GetDonationDatesForCalendarDocument = exports.GetDonationsByUserDocument = exports.GetDonationsToMeDocument = exports.GetDonationsToAthleteDocument = exports.GetDonationsByMemberDocument = exports.GetDonationsByAthleteDocument = exports.SetCurrentCampaignDocument = exports.SetFundingStatusDocument = exports.DeleteFundingCampaignsDocument = exports.DeleteFundingCampaignDocument = exports.UpdateFundingCampaignDocument = exports.CreateFundingCampaignDocument = exports.BrowseCampaignsDocument = exports.GetAthleteCampaignsDocument = exports.ValidateTokenDocument = exports.DeleteVtxUserDocument = exports.DeleteMyAccountDocument = exports.UpdateUserSuspendedStatusDocument = exports.ResetUserPasswordDocument = exports.VerifyCodeDocument = exports.GetResetVerificationCodeDocument = exports.CreateResetPasswordCodeDocument = exports.ConfirmAthleteUserRegistrationDocument = exports.ConfirmAthleteUserRegistrationAndLoginDocument = exports.PreRegisterAthleteUserDocument = exports.RegisterSponsorUserDocument = exports.RegisterAthleteUserDocument = exports.RegisterUserDocument = exports.IsUserSuspendedDocument = exports.RefreshTokenDocument = exports.ValidateUserCredentialsVtxDocument = exports.LoginUserFromCredentialsVtxDocument = exports.CreateUserAndLoginDocument = exports.LoginUserFromEmailDocument = exports.GetBudgetItemsUnitsDocument = exports.GetBudgetConceptsDocument = exports.EditCompetitionBudgetForCampaignDocument = exports.EditCampaignBudgetDocument = void 0;
|
|
6
|
+
exports.OfferAvailabilityDocument = exports.MyOfferClaimsDocument = exports.OfferDocument = exports.OffersForAthleteDocument = exports.OffersDocument = exports.GetBudgetItemUnitsDocument = exports.FindSportByIdDocument = exports.QueryAthleteWithFilterDocument = exports.GetAthleteAlbumIdDocument = exports.FindAthletebyIdpublicDocument = exports.FindAthleteByIdDocument = exports.SponsorsDocument = exports.ExistsValidSponsorForEmailDocument = exports.GetBrandTranslationDocument = exports.GetBrandByNameDocument = exports.BrandsDocument = exports.FindIndustryByIdDocument = exports.IndustriesDocument = exports.GetUploadUrlDocument = exports.ValidateUserCredentialsDocument = exports.FindUserByIdDocument = exports.IsTenantUriAvailableDocument = exports.GetTenantsDocument = exports.FindTenantByEmailDocument = exports.FindTenantByIdDocument = exports.MyFollowedAthletesDocument = exports.IsFollowingAthleteDocument = exports.UnfollowAthleteDocument = exports.FollowAthleteDocument = exports.DeleteEmailSegmentDocument = exports.UpdateEmailSegmentDocument = exports.CreateEmailSegmentDocument = exports.CancelScheduledEmailDocument = exports.ScheduleEmailCampaignDocument = exports.SendBulkEmailDocument = exports.SendTestEmailDocument = exports.CloneEmailCampaignDocument = exports.DeleteEmailCampaignDocument = exports.UpdateEmailCampaignDocument = exports.CreateEmailCampaignDocument = exports.GetEmailSegmentsDocument = exports.GetSendGridTemplatePreviewDocument = exports.GetSendGridTemplatesDocument = exports.GetAudiencePreviewDocument = exports.GetEmailCampaignsDocument = exports.SendThankYouDocument = exports.UpdateThankYouTemplateDocument = exports.DonationThankYouDocument = exports.CampaignThankYousDocument = exports.GetTransactionsPaginatedDocument = void 0;
|
|
7
|
+
exports.MarkNotificationAsReadDocument = exports.MyNotificationPreferencesDocument = exports.NotificationUnreadCountDocument = exports.MyNotificationsDocument = exports.DeleteUploadedTypeKeyFileDocument = exports.DeleteAlbumFotosDocument = exports.ReorderAlbumsDocument = exports.DeleteAthleteAlbumDocument = exports.CreateAthleteAlbumDocument = exports.EditAlbumsPicturesDocument = exports.AddAlbumPicturesDocument = exports.GetAndSetAlbumByIdDocument = exports.GetAthleteAlbumsByIdDocument = exports.GetPublicAthleteAlbumsDocument = exports.GetAthleteAlbumsDocument = exports.GetVtxS3UploadUrlDocument = exports.GetS3UploadUrlDocument = exports.RebuildLeaderboardCacheDocument = exports.GetUserRankDocument = exports.GetLeaderboardDocument = exports.UnlinkInstagramDocument = exports.UpdateAthleteIntegrationDocument = exports.GetStravaLoginUrlDocument = exports.GetAthleteIntegrationsDocument = exports.GetAthleteInstagramIntegrationDocument = exports.GetAthleteStravaIntegrationDocument = exports.GetAthleteIntegrationsByAthleteDocument = exports.ApproveClubDocument = exports.ApproveTeamDocument = exports.DeleteAthleteMembershipAffilationDocument = exports.DeleteAthletePhotosDocument = exports.EditAlbumDocument = exports.ReorderAlbumIndexDocument = exports.RegisterSponsorDocument = exports.CreateIndustryDocument = exports.RegisterS3UploadedFileDocument = exports.DeleteUploadedBucketFileDocument = exports.DeleteUploadedUseTypeFileDocument = exports.LoginUserFromCredentialsDocument = exports.GetEmailCampaignDocument = exports.PostsWithComparisonDocument = exports.SocialAggregatesDocument = exports.AthleteActivityDatesDocument = exports.AthleteComponentSummaryDocument = exports.AthleteActivityDetailDocument = exports.AthleteActivitiesDocument = exports.AthleteRankContextDocument = exports.AthleteRankHistoryDocument = exports.AthleteScoreHistoryDocument = exports.AthleteDashboardDocument = void 0;
|
|
8
|
+
exports.CreateCountryDocument = exports.CreateSportLevelDocument = exports.UpdateSportDocument = exports.CreateSportDocument = exports.GetStateCitiesDocument = exports.GetCountryStatesDocument = exports.GetStatesDocument = exports.GetCountriesDocument = exports.GetSportLevelsDocument = exports.GetSportsPaginatedDocument = exports.GetSportsDocument = exports.CreateSponsorshipDocument = exports.GetTenantSponsorshipsDocument = exports.GetPublicSponsorshipsDocument = exports.DeleteSponsorDocument = exports.UpdateSponsorDocument = exports.CreateSponsorDocument = exports.GetSponsorsPaginatedDocument = exports.GetSponsorsDocument = exports.UnlinkBrandFromSponsorDocument = exports.LinkBrandToSponsorDocument = exports.DeleteBrandDocument = exports.UpdateBrandDocument = exports.CreateBrandDocument = exports.GetBrandsPaginatedDocument = exports.GetBrandsDocument = exports.FindBrandByNameDocument = exports.GetOnboardingProgressDocument = exports.UpdateOnboardingProgressDocument = exports.DeleteOnboardingAthleteDocument = exports.GetMyOfferClaimsDocument = exports.GetOffersForAthleteDocument = exports.GetOfferByIdDocument = exports.OffersWithEligibilityDocument = exports.GetOffersPaginatedDocument = exports.GetOffersDocument = exports.RemoveOfferClaimDocument = exports.ClaimOfferDocument = exports.UploadCouponCodesDocument = exports.DeactivateOfferDocument = exports.ActivateOfferDocument = exports.SetOfferStatusDocument = exports.DeleteOfferDocument = exports.UpdateOfferDocument = exports.CreateOfferDocument = exports.UpdateNotificationPreferencesDocument = exports.UnregisterDeviceTokenDocument = exports.RegisterDeviceTokenDocument = exports.DismissNotificationDocument = exports.MarkAllNotificationsAsReadDocument = void 0;
|
|
9
|
+
exports.GetDatabaseTextFileDocument = exports.GetUsersPaginatedDocument = exports.GetAllUsersDocument = exports.ScreenNameAvailabilityDocument = exports.FindCityByIdDocument = exports.FindCitiesStartingWithDocument = exports.SendAthleteInvitationsDocument = exports.FindSponsorAthleteInvitationDocument = exports.FindMemberForUserDocument = exports.RegisterMemberDocument = exports.RegisterUserToDomainFromEmailDocument = exports.RegisterNewDomainTenantWithLoginDocument = exports.RegisterNewDomainTenantDocument = exports.GetUserImagesFromEmailDocument = exports.FindVtxUserDocument = exports.FindUserByEmailDocument = exports.CreateMembershipFeeCheckoutDocument = exports.CreateClubDonationCheckoutDocument = exports.CreateClubStripeAccountDocument = exports.ManageClubMemberDocument = exports.InviteToClubDocument = exports.LeaveClubDocument = exports.JoinClubDocument = exports.UpdateClubDocument = exports.CreateClubDocument = exports.GetClubStripeAccountStatusDocument = exports.GetClubMembersDocument = exports.GetMyClubsDocument = exports.FindAllClubsDocument = exports.FindClubsDocument = exports.FindClubByIdDocument = exports.CreateTeamDonationCheckoutDocument = exports.CreateTeamStripeAccountDocument = exports.ManageTeamMemberDocument = exports.InviteToTeamDocument = exports.LeaveTeamDocument = exports.JoinTeamDocument = exports.UpdateTeamDocument = exports.CreateTeamDocument = exports.GetTeamStripeAccountStatusDocument = exports.GetTeamDashboardDocument = exports.GetTeamLeaderboardDocument = exports.GetTeamAnalyticsDocument = exports.GetTeamRosterDocument = exports.GetMyTeamsDocument = exports.FindAllTeamsDocument = exports.FindTeamsDocument = exports.FindTeamByIdDocument = exports.CreateCityDocument = exports.CreateStateDocument = void 0;
|
|
10
10
|
exports.getSdk = getSdk;
|
|
11
11
|
const graphql_tag_1 = require("graphql-tag");
|
|
12
12
|
exports.AiCoachThreadFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
@@ -1165,6 +1165,32 @@ exports.TeamLeaderboardEntryFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
1165
1165
|
apiScore
|
|
1166
1166
|
}
|
|
1167
1167
|
`;
|
|
1168
|
+
exports.GetAdminUsersDocument = (0, graphql_tag_1.default) `
|
|
1169
|
+
query GetAdminUsers {
|
|
1170
|
+
getAdminUsers {
|
|
1171
|
+
_id
|
|
1172
|
+
loginEmail
|
|
1173
|
+
isSuperAdmin
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
`;
|
|
1177
|
+
exports.AddAdminUserDocument = (0, graphql_tag_1.default) `
|
|
1178
|
+
mutation AddAdminUser($input: AdminEmailDto!) {
|
|
1179
|
+
addAdminUser(input: $input) {
|
|
1180
|
+
_id
|
|
1181
|
+
loginEmail
|
|
1182
|
+
isSuperAdmin
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
`;
|
|
1186
|
+
exports.RemoveAdminUserDocument = (0, graphql_tag_1.default) `
|
|
1187
|
+
mutation RemoveAdminUser($input: AdminEmailDto!) {
|
|
1188
|
+
removeAdminUser(input: $input) {
|
|
1189
|
+
success
|
|
1190
|
+
message
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
`;
|
|
1168
1194
|
exports.GetAiCoachThreadDocument = (0, graphql_tag_1.default) `
|
|
1169
1195
|
query GetAiCoachThread {
|
|
1170
1196
|
getAiCoachThread {
|
|
@@ -6577,6 +6603,15 @@ exports.GetDatabaseTextFileDocument = (0, graphql_tag_1.default) `
|
|
|
6577
6603
|
const defaultWrapper = (action, _operationName, _operationType, _variables) => action();
|
|
6578
6604
|
function getSdk(client, withWrapper = defaultWrapper) {
|
|
6579
6605
|
return {
|
|
6606
|
+
GetAdminUsers(variables, requestHeaders, signal) {
|
|
6607
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAdminUsersDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAdminUsers', 'query', variables);
|
|
6608
|
+
},
|
|
6609
|
+
AddAdminUser(variables, requestHeaders, signal) {
|
|
6610
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.AddAdminUserDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'AddAdminUser', 'mutation', variables);
|
|
6611
|
+
},
|
|
6612
|
+
RemoveAdminUser(variables, requestHeaders, signal) {
|
|
6613
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.RemoveAdminUserDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'RemoveAdminUser', 'mutation', variables);
|
|
6614
|
+
},
|
|
6580
6615
|
GetAiCoachThread(variables, requestHeaders, signal) {
|
|
6581
6616
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAiCoachThreadDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAiCoachThread', 'query', variables);
|
|
6582
6617
|
},
|