@vertikalx/vtx-backend-client 3.0.0-dev-max.146 → 3.0.0-dev-max.148
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/vtx-base-api.d.ts +18 -0
- package/src/api/vtx-base-api.js +27 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +180 -0
- package/src/client/schema.js +43 -1
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +87 -0
- package/src/client/types.js +425 -202
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +266 -0
- package/src/generated/graphql.js +145 -5
- package/src/generated/graphql.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -232,6 +232,51 @@ export type Agreement = {
|
|
|
232
232
|
updatedDate: Scalars['DateTime']['output'];
|
|
233
233
|
version: Scalars['String']['output'];
|
|
234
234
|
};
|
|
235
|
+
export type AiCoachConfig = {
|
|
236
|
+
athleteId: Scalars['String']['output'];
|
|
237
|
+
enabled: Scalars['Boolean']['output'];
|
|
238
|
+
nudgesEnabled: Scalars['Boolean']['output'];
|
|
239
|
+
preferredFocus: Scalars['String']['output'];
|
|
240
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
241
|
+
};
|
|
242
|
+
export type AiCoachMessage = {
|
|
243
|
+
_id: Scalars['ID']['output'];
|
|
244
|
+
content: Scalars['String']['output'];
|
|
245
|
+
createdAt: Scalars['DateTime']['output'];
|
|
246
|
+
index: Scalars['Int']['output'];
|
|
247
|
+
messageType: Scalars['String']['output'];
|
|
248
|
+
role: Scalars['String']['output'];
|
|
249
|
+
threadId: Scalars['String']['output'];
|
|
250
|
+
tokenCount: Scalars['Int']['output'];
|
|
251
|
+
};
|
|
252
|
+
export type AiCoachNudge = {
|
|
253
|
+
_id: Scalars['ID']['output'];
|
|
254
|
+
athleteId: Scalars['String']['output'];
|
|
255
|
+
body: Scalars['String']['output'];
|
|
256
|
+
createdAt: Scalars['DateTime']['output'];
|
|
257
|
+
data?: Maybe<Scalars['JSON']['output']>;
|
|
258
|
+
expiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
259
|
+
nudgeType: Scalars['String']['output'];
|
|
260
|
+
read: Scalars['Boolean']['output'];
|
|
261
|
+
title: Scalars['String']['output'];
|
|
262
|
+
};
|
|
263
|
+
export type AiCoachNudgeListResponse = {
|
|
264
|
+
nudges: Array<AiCoachNudge>;
|
|
265
|
+
total: Scalars['Int']['output'];
|
|
266
|
+
};
|
|
267
|
+
export type AiCoachThread = {
|
|
268
|
+
_id: Scalars['ID']['output'];
|
|
269
|
+
athleteId: Scalars['String']['output'];
|
|
270
|
+
createdAt: Scalars['DateTime']['output'];
|
|
271
|
+
messages?: Maybe<Array<AiCoachMessage>>;
|
|
272
|
+
status: Scalars['String']['output'];
|
|
273
|
+
summary?: Maybe<Scalars['String']['output']>;
|
|
274
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
275
|
+
weekStart: Scalars['String']['output'];
|
|
276
|
+
};
|
|
277
|
+
export type AiCoachUnreadNudgeCountResponse = {
|
|
278
|
+
count: Scalars['Int']['output'];
|
|
279
|
+
};
|
|
235
280
|
export type Album = {
|
|
236
281
|
_id: Scalars['String']['output'];
|
|
237
282
|
competitionId?: Maybe<Scalars['String']['output']>;
|
|
@@ -1759,6 +1804,7 @@ export type Mutation = {
|
|
|
1759
1804
|
loginUserFromCredentials: UserWithToken;
|
|
1760
1805
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1761
1806
|
loginUserFromEmail: UserToken;
|
|
1807
|
+
markAiCoachNudgeRead: Scalars['Boolean']['output'];
|
|
1762
1808
|
markAllNotificationsAsRead: Scalars['Int']['output'];
|
|
1763
1809
|
markNotificationAsRead: Notification;
|
|
1764
1810
|
mergeSportsEvents: MergeEventsResponse;
|
|
@@ -1781,6 +1827,7 @@ export type Mutation = {
|
|
|
1781
1827
|
resetUserPassword: EditValueResponse;
|
|
1782
1828
|
saveAthleteCompetitionResult: AthleteCompetitionResult;
|
|
1783
1829
|
scheduleEmailCampaign: EmailCampaign;
|
|
1830
|
+
sendAiCoachMessage: AiCoachMessage;
|
|
1784
1831
|
sendAthleteInvitations: Array<SponsorAthleteInvitation>;
|
|
1785
1832
|
sendBulkEmail: Scalars['Boolean']['output'];
|
|
1786
1833
|
sendTestEmail: Scalars['Boolean']['output'];
|
|
@@ -1791,6 +1838,7 @@ export type Mutation = {
|
|
|
1791
1838
|
unlinkBrandFromSponsor: Brand;
|
|
1792
1839
|
unlinkInstagram: Scalars['Boolean']['output'];
|
|
1793
1840
|
unregisterDeviceToken: Scalars['Boolean']['output'];
|
|
1841
|
+
updateAiCoachConfig: AiCoachConfig;
|
|
1794
1842
|
updateAthleteCompetitionScores: Athlete;
|
|
1795
1843
|
updateAthleteIntegration: Scalars['Boolean']['output'];
|
|
1796
1844
|
updateAthleteScores: Athlete;
|
|
@@ -1999,6 +2047,9 @@ export type MutationLoginUserFromEmailArgs = {
|
|
|
1999
2047
|
email: Scalars['String']['input'];
|
|
2000
2048
|
loginMethod: Scalars['String']['input'];
|
|
2001
2049
|
};
|
|
2050
|
+
export type MutationMarkAiCoachNudgeReadArgs = {
|
|
2051
|
+
nudgeId: Scalars['String']['input'];
|
|
2052
|
+
};
|
|
2002
2053
|
export type MutationMarkNotificationAsReadArgs = {
|
|
2003
2054
|
input: MarkNotificationReadDto;
|
|
2004
2055
|
};
|
|
@@ -2061,6 +2112,9 @@ export type MutationScheduleEmailCampaignArgs = {
|
|
|
2061
2112
|
campaignId: Scalars['String']['input'];
|
|
2062
2113
|
scheduledFor: Scalars['DateTime']['input'];
|
|
2063
2114
|
};
|
|
2115
|
+
export type MutationSendAiCoachMessageArgs = {
|
|
2116
|
+
input: SendChatMessageDto;
|
|
2117
|
+
};
|
|
2064
2118
|
export type MutationSendAthleteInvitationsArgs = {
|
|
2065
2119
|
input: InviteAthletesDto;
|
|
2066
2120
|
};
|
|
@@ -2091,6 +2145,9 @@ export type MutationUnlinkBrandFromSponsorArgs = {
|
|
|
2091
2145
|
export type MutationUnregisterDeviceTokenArgs = {
|
|
2092
2146
|
input: UnregisterDeviceTokenDto;
|
|
2093
2147
|
};
|
|
2148
|
+
export type MutationUpdateAiCoachConfigArgs = {
|
|
2149
|
+
input: UpdateAiCoachConfigDto;
|
|
2150
|
+
};
|
|
2094
2151
|
export type MutationUpdateAthleteIntegrationArgs = {
|
|
2095
2152
|
type: Scalars['String']['input'];
|
|
2096
2153
|
};
|
|
@@ -2190,6 +2247,9 @@ export type NotificationQueryDto = {
|
|
|
2190
2247
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
2191
2248
|
types?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2192
2249
|
};
|
|
2250
|
+
export type NudgeQueryDto = {
|
|
2251
|
+
unreadOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2252
|
+
};
|
|
2193
2253
|
export type Offer = {
|
|
2194
2254
|
_id: Scalars['String']['output'];
|
|
2195
2255
|
availableCodes: Scalars['Int']['output'];
|
|
@@ -2477,6 +2537,12 @@ export type Query = {
|
|
|
2477
2537
|
findUserByEmail: User;
|
|
2478
2538
|
findUserById: User;
|
|
2479
2539
|
findVtxUser: User;
|
|
2540
|
+
getAiCoachConfig: AiCoachConfig;
|
|
2541
|
+
getAiCoachNudges: AiCoachNudgeListResponse;
|
|
2542
|
+
getAiCoachThread?: Maybe<AiCoachThread>;
|
|
2543
|
+
getAiCoachThreadHistory: Array<AiCoachThread>;
|
|
2544
|
+
getAiCoachThreadMessages: Array<AiCoachMessage>;
|
|
2545
|
+
getAiCoachUnreadNudgeCount: AiCoachUnreadNudgeCountResponse;
|
|
2480
2546
|
getAllTransactions: Array<AdminTransactionView>;
|
|
2481
2547
|
getAllUsers: Array<AdminUserView>;
|
|
2482
2548
|
getAndSetAlbumById: Album;
|
|
@@ -2649,6 +2715,15 @@ export type QueryFindUserByIdArgs = {
|
|
|
2649
2715
|
export type QueryFindVtxUserArgs = {
|
|
2650
2716
|
input: FindVtxUserDto;
|
|
2651
2717
|
};
|
|
2718
|
+
export type QueryGetAiCoachNudgesArgs = {
|
|
2719
|
+
input?: InputMaybe<NudgeQueryDto>;
|
|
2720
|
+
};
|
|
2721
|
+
export type QueryGetAiCoachThreadHistoryArgs = {
|
|
2722
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2723
|
+
};
|
|
2724
|
+
export type QueryGetAiCoachThreadMessagesArgs = {
|
|
2725
|
+
threadId: Scalars['String']['input'];
|
|
2726
|
+
};
|
|
2652
2727
|
export type QueryGetAndSetAlbumByIdArgs = {
|
|
2653
2728
|
input: Scalars['String']['input'];
|
|
2654
2729
|
};
|
|
@@ -3008,6 +3083,10 @@ export type ScoreRefreshDetail = {
|
|
|
3008
3083
|
message?: Maybe<Scalars['String']['output']>;
|
|
3009
3084
|
status: ForceScoreRefreshStatus;
|
|
3010
3085
|
};
|
|
3086
|
+
export type SendChatMessageDto = {
|
|
3087
|
+
message: Scalars['String']['input'];
|
|
3088
|
+
threadId: Scalars['String']['input'];
|
|
3089
|
+
};
|
|
3011
3090
|
export type SendGridTemplate = {
|
|
3012
3091
|
id: Scalars['String']['output'];
|
|
3013
3092
|
name: Scalars['String']['output'];
|
|
@@ -3605,6 +3684,11 @@ export type UnreadCountResponse = {
|
|
|
3605
3684
|
export type UnregisterDeviceTokenDto = {
|
|
3606
3685
|
token: Scalars['String']['input'];
|
|
3607
3686
|
};
|
|
3687
|
+
export type UpdateAiCoachConfigDto = {
|
|
3688
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3689
|
+
nudgesEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3690
|
+
preferredFocus?: InputMaybe<Scalars['String']['input']>;
|
|
3691
|
+
};
|
|
3608
3692
|
export type UpdateDatabaseFileDto = {
|
|
3609
3693
|
_id: Scalars['String']['input'];
|
|
3610
3694
|
contentType?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3807,6 +3891,166 @@ export type ResetPasswordDto = {
|
|
|
3807
3891
|
code: VerifyCodeDto;
|
|
3808
3892
|
newPassword?: InputMaybe<Scalars['String']['input']>;
|
|
3809
3893
|
};
|
|
3894
|
+
export type AiCoachThreadFieldsFragment = {
|
|
3895
|
+
_id: string;
|
|
3896
|
+
athleteId: string;
|
|
3897
|
+
weekStart: string;
|
|
3898
|
+
status: string;
|
|
3899
|
+
summary?: string | null;
|
|
3900
|
+
createdAt: string;
|
|
3901
|
+
updatedAt: string;
|
|
3902
|
+
};
|
|
3903
|
+
export type AiCoachMessageFieldsFragment = {
|
|
3904
|
+
_id: string;
|
|
3905
|
+
threadId: string;
|
|
3906
|
+
role: string;
|
|
3907
|
+
messageType: string;
|
|
3908
|
+
content: string;
|
|
3909
|
+
tokenCount: number;
|
|
3910
|
+
createdAt: string;
|
|
3911
|
+
index: number;
|
|
3912
|
+
};
|
|
3913
|
+
export type AiCoachConfigFieldsFragment = {
|
|
3914
|
+
athleteId: string;
|
|
3915
|
+
enabled: boolean;
|
|
3916
|
+
nudgesEnabled: boolean;
|
|
3917
|
+
preferredFocus: string;
|
|
3918
|
+
updatedAt: string;
|
|
3919
|
+
};
|
|
3920
|
+
export type GetAiCoachThreadQueryVariables = Exact<{
|
|
3921
|
+
[key: string]: never;
|
|
3922
|
+
}>;
|
|
3923
|
+
export type GetAiCoachThreadQuery = {
|
|
3924
|
+
getAiCoachThread?: {
|
|
3925
|
+
_id: string;
|
|
3926
|
+
athleteId: string;
|
|
3927
|
+
weekStart: string;
|
|
3928
|
+
status: string;
|
|
3929
|
+
summary?: string | null;
|
|
3930
|
+
createdAt: string;
|
|
3931
|
+
updatedAt: string;
|
|
3932
|
+
messages?: Array<{
|
|
3933
|
+
_id: string;
|
|
3934
|
+
threadId: string;
|
|
3935
|
+
role: string;
|
|
3936
|
+
messageType: string;
|
|
3937
|
+
content: string;
|
|
3938
|
+
tokenCount: number;
|
|
3939
|
+
createdAt: string;
|
|
3940
|
+
index: number;
|
|
3941
|
+
}> | null;
|
|
3942
|
+
} | null;
|
|
3943
|
+
};
|
|
3944
|
+
export type GetAiCoachThreadHistoryQueryVariables = Exact<{
|
|
3945
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3946
|
+
}>;
|
|
3947
|
+
export type GetAiCoachThreadHistoryQuery = {
|
|
3948
|
+
getAiCoachThreadHistory: Array<{
|
|
3949
|
+
_id: string;
|
|
3950
|
+
athleteId: string;
|
|
3951
|
+
weekStart: string;
|
|
3952
|
+
status: string;
|
|
3953
|
+
summary?: string | null;
|
|
3954
|
+
createdAt: string;
|
|
3955
|
+
updatedAt: string;
|
|
3956
|
+
}>;
|
|
3957
|
+
};
|
|
3958
|
+
export type GetAiCoachThreadMessagesQueryVariables = Exact<{
|
|
3959
|
+
threadId: Scalars['String']['input'];
|
|
3960
|
+
}>;
|
|
3961
|
+
export type GetAiCoachThreadMessagesQuery = {
|
|
3962
|
+
getAiCoachThreadMessages: Array<{
|
|
3963
|
+
_id: string;
|
|
3964
|
+
threadId: string;
|
|
3965
|
+
role: string;
|
|
3966
|
+
messageType: string;
|
|
3967
|
+
content: string;
|
|
3968
|
+
tokenCount: number;
|
|
3969
|
+
createdAt: string;
|
|
3970
|
+
index: number;
|
|
3971
|
+
}>;
|
|
3972
|
+
};
|
|
3973
|
+
export type GetAiCoachConfigQueryVariables = Exact<{
|
|
3974
|
+
[key: string]: never;
|
|
3975
|
+
}>;
|
|
3976
|
+
export type GetAiCoachConfigQuery = {
|
|
3977
|
+
getAiCoachConfig: {
|
|
3978
|
+
athleteId: string;
|
|
3979
|
+
enabled: boolean;
|
|
3980
|
+
nudgesEnabled: boolean;
|
|
3981
|
+
preferredFocus: string;
|
|
3982
|
+
updatedAt: string;
|
|
3983
|
+
};
|
|
3984
|
+
};
|
|
3985
|
+
export type SendAiCoachMessageMutationVariables = Exact<{
|
|
3986
|
+
input: SendChatMessageDto;
|
|
3987
|
+
}>;
|
|
3988
|
+
export type SendAiCoachMessageMutation = {
|
|
3989
|
+
sendAiCoachMessage: {
|
|
3990
|
+
_id: string;
|
|
3991
|
+
threadId: string;
|
|
3992
|
+
role: string;
|
|
3993
|
+
messageType: string;
|
|
3994
|
+
content: string;
|
|
3995
|
+
tokenCount: number;
|
|
3996
|
+
createdAt: string;
|
|
3997
|
+
index: number;
|
|
3998
|
+
};
|
|
3999
|
+
};
|
|
4000
|
+
export type UpdateAiCoachConfigMutationVariables = Exact<{
|
|
4001
|
+
input: UpdateAiCoachConfigDto;
|
|
4002
|
+
}>;
|
|
4003
|
+
export type UpdateAiCoachConfigMutation = {
|
|
4004
|
+
updateAiCoachConfig: {
|
|
4005
|
+
athleteId: string;
|
|
4006
|
+
enabled: boolean;
|
|
4007
|
+
nudgesEnabled: boolean;
|
|
4008
|
+
preferredFocus: string;
|
|
4009
|
+
updatedAt: string;
|
|
4010
|
+
};
|
|
4011
|
+
};
|
|
4012
|
+
export type AiCoachNudgeFieldsFragment = {
|
|
4013
|
+
_id: string;
|
|
4014
|
+
nudgeType: string;
|
|
4015
|
+
title: string;
|
|
4016
|
+
body: string;
|
|
4017
|
+
data?: any | null;
|
|
4018
|
+
read: boolean;
|
|
4019
|
+
createdAt: string;
|
|
4020
|
+
expiresAt?: string | null;
|
|
4021
|
+
};
|
|
4022
|
+
export type GetAiCoachNudgesQueryVariables = Exact<{
|
|
4023
|
+
input?: InputMaybe<NudgeQueryDto>;
|
|
4024
|
+
}>;
|
|
4025
|
+
export type GetAiCoachNudgesQuery = {
|
|
4026
|
+
getAiCoachNudges: {
|
|
4027
|
+
total: number;
|
|
4028
|
+
nudges: Array<{
|
|
4029
|
+
_id: string;
|
|
4030
|
+
nudgeType: string;
|
|
4031
|
+
title: string;
|
|
4032
|
+
body: string;
|
|
4033
|
+
data?: any | null;
|
|
4034
|
+
read: boolean;
|
|
4035
|
+
createdAt: string;
|
|
4036
|
+
expiresAt?: string | null;
|
|
4037
|
+
}>;
|
|
4038
|
+
};
|
|
4039
|
+
};
|
|
4040
|
+
export type GetAiCoachUnreadNudgeCountQueryVariables = Exact<{
|
|
4041
|
+
[key: string]: never;
|
|
4042
|
+
}>;
|
|
4043
|
+
export type GetAiCoachUnreadNudgeCountQuery = {
|
|
4044
|
+
getAiCoachUnreadNudgeCount: {
|
|
4045
|
+
count: number;
|
|
4046
|
+
};
|
|
4047
|
+
};
|
|
4048
|
+
export type MarkAiCoachNudgeReadMutationVariables = Exact<{
|
|
4049
|
+
nudgeId: Scalars['String']['input'];
|
|
4050
|
+
}>;
|
|
4051
|
+
export type MarkAiCoachNudgeReadMutation = {
|
|
4052
|
+
markAiCoachNudgeRead: boolean;
|
|
4053
|
+
};
|
|
3810
4054
|
export type FileFieldsFragment = {
|
|
3811
4055
|
_id: string;
|
|
3812
4056
|
name?: string | null;
|
|
@@ -12958,6 +13202,10 @@ export type GetDatabaseTextFileQuery = {
|
|
|
12958
13202
|
content: string;
|
|
12959
13203
|
};
|
|
12960
13204
|
};
|
|
13205
|
+
export declare const AiCoachThreadFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13206
|
+
export declare const AiCoachMessageFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13207
|
+
export declare const AiCoachConfigFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13208
|
+
export declare const AiCoachNudgeFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
12961
13209
|
export declare const CityFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
12962
13210
|
export declare const LocationFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
12963
13211
|
export declare const RankingFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -12983,6 +13231,15 @@ export declare const Awss3FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
|
12983
13231
|
export declare const BrandFullFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
12984
13232
|
export declare const SponsorshipFullFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
12985
13233
|
export declare const PaginationInfoFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13234
|
+
export declare const GetAiCoachThreadDocument: import("graphql").DocumentNode;
|
|
13235
|
+
export declare const GetAiCoachThreadHistoryDocument: import("graphql").DocumentNode;
|
|
13236
|
+
export declare const GetAiCoachThreadMessagesDocument: import("graphql").DocumentNode;
|
|
13237
|
+
export declare const GetAiCoachConfigDocument: import("graphql").DocumentNode;
|
|
13238
|
+
export declare const SendAiCoachMessageDocument: import("graphql").DocumentNode;
|
|
13239
|
+
export declare const UpdateAiCoachConfigDocument: import("graphql").DocumentNode;
|
|
13240
|
+
export declare const GetAiCoachNudgesDocument: import("graphql").DocumentNode;
|
|
13241
|
+
export declare const GetAiCoachUnreadNudgeCountDocument: import("graphql").DocumentNode;
|
|
13242
|
+
export declare const MarkAiCoachNudgeReadDocument: import("graphql").DocumentNode;
|
|
12986
13243
|
export declare const RegisterAthleteDocument: import("graphql").DocumentNode;
|
|
12987
13244
|
export declare const FindAthleteForUserDocument: import("graphql").DocumentNode;
|
|
12988
13245
|
export declare const FindAthleteForIdPublicDocument: import("graphql").DocumentNode;
|
|
@@ -13203,6 +13460,15 @@ export declare const GetUsersPaginatedDocument: import("graphql").DocumentNode;
|
|
|
13203
13460
|
export declare const GetDatabaseTextFileDocument: import("graphql").DocumentNode;
|
|
13204
13461
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
13205
13462
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
13463
|
+
GetAiCoachThread(variables?: GetAiCoachThreadQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadQuery>;
|
|
13464
|
+
GetAiCoachThreadHistory(variables?: GetAiCoachThreadHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadHistoryQuery>;
|
|
13465
|
+
GetAiCoachThreadMessages(variables: GetAiCoachThreadMessagesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadMessagesQuery>;
|
|
13466
|
+
GetAiCoachConfig(variables?: GetAiCoachConfigQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachConfigQuery>;
|
|
13467
|
+
SendAiCoachMessage(variables: SendAiCoachMessageMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SendAiCoachMessageMutation>;
|
|
13468
|
+
UpdateAiCoachConfig(variables: UpdateAiCoachConfigMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateAiCoachConfigMutation>;
|
|
13469
|
+
GetAiCoachNudges(variables?: GetAiCoachNudgesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachNudgesQuery>;
|
|
13470
|
+
GetAiCoachUnreadNudgeCount(variables?: GetAiCoachUnreadNudgeCountQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachUnreadNudgeCountQuery>;
|
|
13471
|
+
MarkAiCoachNudgeRead(variables: MarkAiCoachNudgeReadMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MarkAiCoachNudgeReadMutation>;
|
|
13206
13472
|
RegisterAthlete(variables: RegisterAthleteMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RegisterAthleteMutation>;
|
|
13207
13473
|
FindAthleteForUser(variables: FindAthleteForUserQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAthleteForUserQuery>;
|
|
13208
13474
|
FindAthleteForIdPublic(variables: FindAthleteForIdPublicQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAthleteForIdPublicQuery>;
|
package/src/generated/graphql.js
CHANGED
|
@@ -1,12 +1,57 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
3
|
+
exports.EditPictureDocument = exports.EditProfileValueDocument = exports.EditAboutMeDocument = exports.QueryAthletesWithFiltersDocument = exports.QueryAthleteFundingCampaignsDocument = exports.GetSponsorAthletesForTenantDocument = exports.GetRecommendedAthletesDocument = exports.SearchAthletesDocument = exports.GetAthletesDocument = exports.FindAthleteForIdPublicDocument = exports.FindAthleteForUserDocument = exports.RegisterAthleteDocument = exports.MarkAiCoachNudgeReadDocument = exports.GetAiCoachUnreadNudgeCountDocument = exports.GetAiCoachNudgesDocument = exports.UpdateAiCoachConfigDocument = exports.SendAiCoachMessageDocument = exports.GetAiCoachConfigDocument = exports.GetAiCoachThreadMessagesDocument = exports.GetAiCoachThreadHistoryDocument = exports.GetAiCoachThreadDocument = 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.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.IsUserSuspendedDocument = exports.RefreshTokenDocument = exports.ValidateUserCredentialsVtxDocument = exports.LoginUserFromCredentialsVtxDocument = exports.CreateUserAndLoginDocument = exports.LoginUserFromEmailDocument = exports.GetBudgetItemsUnitsDocument = exports.GetBudgetConceptsDocument = exports.EditCompetitionBudgetForCampaignDocument = exports.EditCampaignBudgetDocument = 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 = void 0;
|
|
5
|
+
exports.CloneEmailCampaignDocument = exports.DeleteEmailCampaignDocument = exports.UpdateEmailCampaignDocument = exports.CreateEmailCampaignDocument = exports.GetEmailSegmentsDocument = exports.GetSendGridTemplatePreviewDocument = exports.GetSendGridTemplatesDocument = exports.GetAudiencePreviewDocument = exports.GetEmailCampaignsDocument = exports.GetTransactionsPaginatedDocument = 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 = void 0;
|
|
6
|
+
exports.UploadCouponCodesDocument = exports.DeactivateOfferDocument = exports.ActivateOfferDocument = exports.SetOfferStatusDocument = exports.DeleteOfferDocument = exports.UpdateOfferDocument = exports.CreateOfferDocument = exports.UpdateNotificationPreferencesDocument = exports.UnregisterDeviceTokenDocument = exports.RegisterDeviceTokenDocument = exports.DismissNotificationDocument = exports.MarkAllNotificationsAsReadDocument = 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.MyFollowedAthletesDocument = exports.IsFollowingAthleteDocument = exports.UnfollowAthleteDocument = exports.FollowAthleteDocument = exports.DeleteEmailSegmentDocument = exports.UpdateEmailSegmentDocument = exports.CreateEmailSegmentDocument = exports.CancelScheduledEmailDocument = exports.ScheduleEmailCampaignDocument = exports.SendBulkEmailDocument = exports.SendTestEmailDocument = void 0;
|
|
7
|
+
exports.SendAthleteInvitationsDocument = exports.FindSponsorAthleteInvitationDocument = exports.FindMemberForUserDocument = exports.RegisterMemberDocument = exports.RegisterUserToDomainFromEmailDocument = exports.RegisterNewDomainTenantWithLoginDocument = exports.RegisterNewDomainTenantDocument = exports.GetUserImagesFromEmailDocument = exports.FindVtxUserDocument = exports.FindUserByEmailDocument = exports.CreateCityDocument = exports.CreateStateDocument = 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 = void 0;
|
|
8
|
+
exports.GetDatabaseTextFileDocument = exports.GetUsersPaginatedDocument = exports.GetAllUsersDocument = exports.ScreenNameAvailabilityDocument = exports.FindCityByIdDocument = exports.FindCitiesStartingWithDocument = void 0;
|
|
8
9
|
exports.getSdk = getSdk;
|
|
9
10
|
const graphql_tag_1 = require("graphql-tag");
|
|
11
|
+
exports.AiCoachThreadFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
12
|
+
fragment AiCoachThreadFields on AiCoachThread {
|
|
13
|
+
_id
|
|
14
|
+
athleteId
|
|
15
|
+
weekStart
|
|
16
|
+
status
|
|
17
|
+
summary
|
|
18
|
+
createdAt
|
|
19
|
+
updatedAt
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
22
|
+
exports.AiCoachMessageFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
23
|
+
fragment AiCoachMessageFields on AiCoachMessage {
|
|
24
|
+
_id
|
|
25
|
+
threadId
|
|
26
|
+
role
|
|
27
|
+
messageType
|
|
28
|
+
content
|
|
29
|
+
tokenCount
|
|
30
|
+
createdAt
|
|
31
|
+
index
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
exports.AiCoachConfigFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
35
|
+
fragment AiCoachConfigFields on AiCoachConfig {
|
|
36
|
+
athleteId
|
|
37
|
+
enabled
|
|
38
|
+
nudgesEnabled
|
|
39
|
+
preferredFocus
|
|
40
|
+
updatedAt
|
|
41
|
+
}
|
|
42
|
+
`;
|
|
43
|
+
exports.AiCoachNudgeFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
44
|
+
fragment AiCoachNudgeFields on AiCoachNudge {
|
|
45
|
+
_id
|
|
46
|
+
nudgeType
|
|
47
|
+
title
|
|
48
|
+
body
|
|
49
|
+
data
|
|
50
|
+
read
|
|
51
|
+
createdAt
|
|
52
|
+
expiresAt
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
10
55
|
exports.CityFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
11
56
|
fragment CityFields on City {
|
|
12
57
|
_id
|
|
@@ -921,6 +966,74 @@ exports.PaginationInfoFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
921
966
|
hasPreviousPage
|
|
922
967
|
}
|
|
923
968
|
`;
|
|
969
|
+
exports.GetAiCoachThreadDocument = (0, graphql_tag_1.default) `
|
|
970
|
+
query GetAiCoachThread {
|
|
971
|
+
getAiCoachThread {
|
|
972
|
+
...AiCoachThreadFields
|
|
973
|
+
messages {
|
|
974
|
+
...AiCoachMessageFields
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
${exports.AiCoachThreadFieldsFragmentDoc}
|
|
979
|
+
${exports.AiCoachMessageFieldsFragmentDoc}`;
|
|
980
|
+
exports.GetAiCoachThreadHistoryDocument = (0, graphql_tag_1.default) `
|
|
981
|
+
query GetAiCoachThreadHistory($limit: Int) {
|
|
982
|
+
getAiCoachThreadHistory(limit: $limit) {
|
|
983
|
+
...AiCoachThreadFields
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
${exports.AiCoachThreadFieldsFragmentDoc}`;
|
|
987
|
+
exports.GetAiCoachThreadMessagesDocument = (0, graphql_tag_1.default) `
|
|
988
|
+
query GetAiCoachThreadMessages($threadId: String!) {
|
|
989
|
+
getAiCoachThreadMessages(threadId: $threadId) {
|
|
990
|
+
...AiCoachMessageFields
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
${exports.AiCoachMessageFieldsFragmentDoc}`;
|
|
994
|
+
exports.GetAiCoachConfigDocument = (0, graphql_tag_1.default) `
|
|
995
|
+
query GetAiCoachConfig {
|
|
996
|
+
getAiCoachConfig {
|
|
997
|
+
...AiCoachConfigFields
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
${exports.AiCoachConfigFieldsFragmentDoc}`;
|
|
1001
|
+
exports.SendAiCoachMessageDocument = (0, graphql_tag_1.default) `
|
|
1002
|
+
mutation SendAiCoachMessage($input: SendChatMessageDto!) {
|
|
1003
|
+
sendAiCoachMessage(input: $input) {
|
|
1004
|
+
...AiCoachMessageFields
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
${exports.AiCoachMessageFieldsFragmentDoc}`;
|
|
1008
|
+
exports.UpdateAiCoachConfigDocument = (0, graphql_tag_1.default) `
|
|
1009
|
+
mutation UpdateAiCoachConfig($input: UpdateAiCoachConfigDto!) {
|
|
1010
|
+
updateAiCoachConfig(input: $input) {
|
|
1011
|
+
...AiCoachConfigFields
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
${exports.AiCoachConfigFieldsFragmentDoc}`;
|
|
1015
|
+
exports.GetAiCoachNudgesDocument = (0, graphql_tag_1.default) `
|
|
1016
|
+
query GetAiCoachNudges($input: NudgeQueryDto) {
|
|
1017
|
+
getAiCoachNudges(input: $input) {
|
|
1018
|
+
nudges {
|
|
1019
|
+
...AiCoachNudgeFields
|
|
1020
|
+
}
|
|
1021
|
+
total
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
${exports.AiCoachNudgeFieldsFragmentDoc}`;
|
|
1025
|
+
exports.GetAiCoachUnreadNudgeCountDocument = (0, graphql_tag_1.default) `
|
|
1026
|
+
query GetAiCoachUnreadNudgeCount {
|
|
1027
|
+
getAiCoachUnreadNudgeCount {
|
|
1028
|
+
count
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
`;
|
|
1032
|
+
exports.MarkAiCoachNudgeReadDocument = (0, graphql_tag_1.default) `
|
|
1033
|
+
mutation MarkAiCoachNudgeRead($nudgeId: String!) {
|
|
1034
|
+
markAiCoachNudgeRead(nudgeId: $nudgeId)
|
|
1035
|
+
}
|
|
1036
|
+
`;
|
|
924
1037
|
exports.RegisterAthleteDocument = (0, graphql_tag_1.default) `
|
|
925
1038
|
mutation RegisterAthlete($input: RegisterAthleteDto!) {
|
|
926
1039
|
registerAthlete(input: $input) {
|
|
@@ -5030,6 +5143,33 @@ exports.GetDatabaseTextFileDocument = (0, graphql_tag_1.default) `
|
|
|
5030
5143
|
const defaultWrapper = (action, _operationName, _operationType, _variables) => action();
|
|
5031
5144
|
function getSdk(client, withWrapper = defaultWrapper) {
|
|
5032
5145
|
return {
|
|
5146
|
+
GetAiCoachThread(variables, requestHeaders, signal) {
|
|
5147
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAiCoachThreadDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAiCoachThread', 'query', variables);
|
|
5148
|
+
},
|
|
5149
|
+
GetAiCoachThreadHistory(variables, requestHeaders, signal) {
|
|
5150
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAiCoachThreadHistoryDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAiCoachThreadHistory', 'query', variables);
|
|
5151
|
+
},
|
|
5152
|
+
GetAiCoachThreadMessages(variables, requestHeaders, signal) {
|
|
5153
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAiCoachThreadMessagesDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAiCoachThreadMessages', 'query', variables);
|
|
5154
|
+
},
|
|
5155
|
+
GetAiCoachConfig(variables, requestHeaders, signal) {
|
|
5156
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAiCoachConfigDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAiCoachConfig', 'query', variables);
|
|
5157
|
+
},
|
|
5158
|
+
SendAiCoachMessage(variables, requestHeaders, signal) {
|
|
5159
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.SendAiCoachMessageDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'SendAiCoachMessage', 'mutation', variables);
|
|
5160
|
+
},
|
|
5161
|
+
UpdateAiCoachConfig(variables, requestHeaders, signal) {
|
|
5162
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.UpdateAiCoachConfigDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'UpdateAiCoachConfig', 'mutation', variables);
|
|
5163
|
+
},
|
|
5164
|
+
GetAiCoachNudges(variables, requestHeaders, signal) {
|
|
5165
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAiCoachNudgesDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAiCoachNudges', 'query', variables);
|
|
5166
|
+
},
|
|
5167
|
+
GetAiCoachUnreadNudgeCount(variables, requestHeaders, signal) {
|
|
5168
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.GetAiCoachUnreadNudgeCountDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'GetAiCoachUnreadNudgeCount', 'query', variables);
|
|
5169
|
+
},
|
|
5170
|
+
MarkAiCoachNudgeRead(variables, requestHeaders, signal) {
|
|
5171
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.MarkAiCoachNudgeReadDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'MarkAiCoachNudgeRead', 'mutation', variables);
|
|
5172
|
+
},
|
|
5033
5173
|
RegisterAthlete(variables, requestHeaders, signal) {
|
|
5034
5174
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.RegisterAthleteDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'RegisterAthlete', 'mutation', variables);
|
|
5035
5175
|
},
|