@vertikalx/vtx-backend-client 1.0.0-preprod.3 → 1.0.0-preprod.4
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/response-builder.js +2 -3
- package/src/api/response-builder.js.map +1 -1
- package/src/api/vtx-base-api.d.ts +26 -6
- package/src/api/vtx-base-api.js +1301 -24
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/runtime/generateGraphqlOperation.d.ts +1 -1
- package/src/client/schema.d.ts +535 -35
- package/src/client/schema.js +108 -10
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +257 -22
- package/src/client/types.js +927 -290
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
- package/libs/vtx-backend-client/package.json +0 -16
- package/libs/vtx-backend-client/src/api/api-call-headers.d.ts +0 -16
- package/libs/vtx-backend-client/src/api/api-call-headers.js +0 -20
- package/libs/vtx-backend-client/src/api/api-call-headers.js.map +0 -1
- package/libs/vtx-backend-client/src/api/backend-response.d.ts +0 -10
- package/libs/vtx-backend-client/src/api/backend-response.js +0 -3
- package/libs/vtx-backend-client/src/api/backend-response.js.map +0 -1
- package/libs/vtx-backend-client/src/api/domains.d.ts +0 -3
- package/libs/vtx-backend-client/src/api/domains.js +0 -7
- package/libs/vtx-backend-client/src/api/domains.js.map +0 -1
- package/libs/vtx-backend-client/src/api/response-builder.d.ts +0 -4
- package/libs/vtx-backend-client/src/api/response-builder.js +0 -123
- package/libs/vtx-backend-client/src/api/response-builder.js.map +0 -1
- package/libs/vtx-backend-client/src/api/types.d.ts +0 -2
- package/libs/vtx-backend-client/src/api/types.js +0 -3
- package/libs/vtx-backend-client/src/api/types.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-apikey-api.d.ts +0 -6
- package/libs/vtx-backend-client/src/api/vtx-apikey-api.js +0 -19
- package/libs/vtx-backend-client/src/api/vtx-apikey-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-base-api.d.ts +0 -82
- package/libs/vtx-backend-client/src/api/vtx-base-api.js +0 -5725
- package/libs/vtx-backend-client/src/api/vtx-base-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-mobile-api.d.ts +0 -6
- package/libs/vtx-backend-client/src/api/vtx-mobile-api.js +0 -27
- package/libs/vtx-backend-client/src/api/vtx-mobile-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-web-browser-api.d.ts +0 -7
- package/libs/vtx-backend-client/src/api/vtx-web-browser-api.js +0 -36
- package/libs/vtx-backend-client/src/api/vtx-web-browser-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-web-server-api.d.ts +0 -7
- package/libs/vtx-backend-client/src/api/vtx-web-server-api.js +0 -33
- package/libs/vtx-backend-client/src/api/vtx-web-server-api.js.map +0 -1
- package/libs/vtx-backend-client/src/client/index.d.ts +0 -25
- package/libs/vtx-backend-client/src/client/index.js +0 -44
- package/libs/vtx-backend-client/src/client/index.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/batcher.d.ts +0 -36
- package/libs/vtx-backend-client/src/client/runtime/batcher.js +0 -123
- package/libs/vtx-backend-client/src/client/runtime/batcher.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/createClient.d.ts +0 -17
- package/libs/vtx-backend-client/src/client/runtime/createClient.js +0 -28
- package/libs/vtx-backend-client/src/client/runtime/createClient.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/error.d.ts +0 -15
- package/libs/vtx-backend-client/src/client/runtime/error.js +0 -19
- package/libs/vtx-backend-client/src/client/runtime/error.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/fetcher.d.ts +0 -10
- package/libs/vtx-backend-client/src/client/runtime/fetcher.js +0 -68
- package/libs/vtx-backend-client/src/client/runtime/fetcher.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.d.ts +0 -30
- package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.js +0 -134
- package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/index.d.ts +0 -11
- package/libs/vtx-backend-client/src/client/runtime/index.js +0 -17
- package/libs/vtx-backend-client/src/client/runtime/index.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.d.ts +0 -9
- package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.js +0 -95
- package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/typeSelection.d.ts +0 -28
- package/libs/vtx-backend-client/src/client/runtime/typeSelection.js +0 -3
- package/libs/vtx-backend-client/src/client/runtime/typeSelection.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/types.d.ts +0 -55
- package/libs/vtx-backend-client/src/client/runtime/types.js +0 -3
- package/libs/vtx-backend-client/src/client/runtime/types.js.map +0 -1
- package/libs/vtx-backend-client/src/client/schema.d.ts +0 -3444
- package/libs/vtx-backend-client/src/client/schema.js +0 -748
- package/libs/vtx-backend-client/src/client/schema.js.map +0 -1
- package/libs/vtx-backend-client/src/client/types.d.ts +0 -1876
- package/libs/vtx-backend-client/src/client/types.js +0 -4870
- package/libs/vtx-backend-client/src/client/types.js.map +0 -1
- package/libs/vtx-backend-client/src/index.d.ts +0 -11
- package/libs/vtx-backend-client/src/index.js +0 -28
- package/libs/vtx-backend-client/src/index.js.map +0 -1
- package/src/api/dto/edit-picture.dto.d.ts +0 -5
- package/src/api/dto/edit-picture.dto.js +0 -31
- package/src/api/dto/edit-picture.dto.js.map +0 -1
- package/src/api/types/add-values-response.type.d.ts +0 -7
- package/src/api/types/add-values-response.type.js +0 -42
- package/src/api/types/add-values-response.type.js.map +0 -1
- package/src/api/types/delete-single-value-response.type.d.ts +0 -6
- package/src/api/types/delete-single-value-response.type.js +0 -36
- package/src/api/types/delete-single-value-response.type.js.map +0 -1
- package/src/api/types/edit-picture-response.type.d.ts +0 -7
- package/src/api/types/edit-picture-response.type.js +0 -39
- package/src/api/types/edit-picture-response.type.js.map +0 -1
- package/src/api/types/error.type.d.ts +0 -4
- package/src/api/types/error.type.js +0 -28
- package/src/api/types/error.type.js.map +0 -1
- package/src/client/schema.graphql +0 -1705
package/src/client/schema.d.ts
CHANGED
|
@@ -326,6 +326,76 @@ export interface Brand {
|
|
|
326
326
|
translations: (BrandTranslation[] | null);
|
|
327
327
|
__typename: 'Brand';
|
|
328
328
|
}
|
|
329
|
+
export interface StravaTpiRideDto {
|
|
330
|
+
distanceKm: Scalars['Float'];
|
|
331
|
+
distanceKmLast: Scalars['Float'];
|
|
332
|
+
elapsedTimeMin: Scalars['Float'];
|
|
333
|
+
elapsedTimeMinLast: Scalars['Float'];
|
|
334
|
+
averageSpeedKmh: Scalars['Float'];
|
|
335
|
+
averageSpeedKmhLast: Scalars['Float'];
|
|
336
|
+
maxSpeedKmh: Scalars['Float'];
|
|
337
|
+
maxSpeedKmhLast: Scalars['Float'];
|
|
338
|
+
averageHeartRateBpm: Scalars['Float'];
|
|
339
|
+
averageHeartRateBpmLast: Scalars['Float'];
|
|
340
|
+
maxHeartRateBpm: Scalars['Float'];
|
|
341
|
+
maxHeartRateBpmLast: Scalars['Float'];
|
|
342
|
+
averageCadenceStm: Scalars['Float'];
|
|
343
|
+
averageCadenceStmLast: Scalars['Float'];
|
|
344
|
+
lastDate: (Scalars['DateTime'] | null);
|
|
345
|
+
country: (Scalars['String'] | null);
|
|
346
|
+
state: (Scalars['String'] | null);
|
|
347
|
+
city: (Scalars['String'] | null);
|
|
348
|
+
tpi: Scalars['Float'];
|
|
349
|
+
__typename: 'StravaTpiRideDto';
|
|
350
|
+
}
|
|
351
|
+
export interface StravaTpiRunDto {
|
|
352
|
+
distanceKm: Scalars['Float'];
|
|
353
|
+
distanceKmLast: Scalars['Float'];
|
|
354
|
+
elapsedTimeMin: Scalars['Float'];
|
|
355
|
+
elapsedTimeMinLast: Scalars['Float'];
|
|
356
|
+
averageSpeedKmh: Scalars['Float'];
|
|
357
|
+
averageSpeedKmhLast: Scalars['Float'];
|
|
358
|
+
maxSpeedKmh: Scalars['Float'];
|
|
359
|
+
maxSpeedKmhLast: Scalars['Float'];
|
|
360
|
+
averageHeartRateBpm: Scalars['Float'];
|
|
361
|
+
averageHeartRateBpmLast: Scalars['Float'];
|
|
362
|
+
maxHeartRateBpm: Scalars['Float'];
|
|
363
|
+
maxHeartRateBpmLast: Scalars['Float'];
|
|
364
|
+
averageCadenceStm: Scalars['Float'];
|
|
365
|
+
averageCadenceStmLast: Scalars['Float'];
|
|
366
|
+
elevHigh: Scalars['Float'];
|
|
367
|
+
elevHighLast: Scalars['Float'];
|
|
368
|
+
elevLow: Scalars['Float'];
|
|
369
|
+
elevLowLast: Scalars['Float'];
|
|
370
|
+
lastDate: (Scalars['DateTime'] | null);
|
|
371
|
+
country: (Scalars['String'] | null);
|
|
372
|
+
state: (Scalars['String'] | null);
|
|
373
|
+
city: (Scalars['String'] | null);
|
|
374
|
+
tpi: Scalars['Float'];
|
|
375
|
+
__typename: 'StravaTpiRunDto';
|
|
376
|
+
}
|
|
377
|
+
export interface StravaTpiSwimDto {
|
|
378
|
+
distanceKm: Scalars['Float'];
|
|
379
|
+
distanceKmLast: Scalars['Float'];
|
|
380
|
+
elapsedTimeMin: Scalars['Float'];
|
|
381
|
+
elapsedTimeMinLast: Scalars['Float'];
|
|
382
|
+
averageSpeedKmh: Scalars['Float'];
|
|
383
|
+
averageSpeedKmhLast: Scalars['Float'];
|
|
384
|
+
maxSpeedKmh: Scalars['Float'];
|
|
385
|
+
maxSpeedKmhLast: Scalars['Float'];
|
|
386
|
+
averageHeartRateBpm: Scalars['Float'];
|
|
387
|
+
averageHeartRateBpmLast: Scalars['Float'];
|
|
388
|
+
maxHeartRateBpm: Scalars['Float'];
|
|
389
|
+
maxHeartRateBpmLast: Scalars['Float'];
|
|
390
|
+
averageCadenceStm: Scalars['Float'];
|
|
391
|
+
averageCadenceStmLast: Scalars['Float'];
|
|
392
|
+
lastDate: (Scalars['DateTime'] | null);
|
|
393
|
+
country: (Scalars['String'] | null);
|
|
394
|
+
state: (Scalars['String'] | null);
|
|
395
|
+
city: (Scalars['String'] | null);
|
|
396
|
+
tpi: Scalars['Float'];
|
|
397
|
+
__typename: 'StravaTpiSwimDto';
|
|
398
|
+
}
|
|
329
399
|
export interface City {
|
|
330
400
|
_id: Scalars['String'];
|
|
331
401
|
name: Scalars['String'];
|
|
@@ -687,9 +757,22 @@ export interface Channel {
|
|
|
687
757
|
linked: Scalars['Boolean'];
|
|
688
758
|
__typename: 'Channel';
|
|
689
759
|
}
|
|
760
|
+
export interface PhotoAlbum {
|
|
761
|
+
_id: Scalars['String'];
|
|
762
|
+
photo: (AWSS3File | null);
|
|
763
|
+
__typename: 'PhotoAlbum';
|
|
764
|
+
}
|
|
765
|
+
export interface Album {
|
|
766
|
+
_id: Scalars['String'];
|
|
767
|
+
label: Scalars['String'];
|
|
768
|
+
description: (Scalars['String'] | null);
|
|
769
|
+
photos: (PhotoAlbum[] | null);
|
|
770
|
+
__typename: 'Album';
|
|
771
|
+
}
|
|
690
772
|
export interface AthletePreferences {
|
|
691
773
|
_id: Scalars['String'];
|
|
692
774
|
showProfileHelper: Scalars['Boolean'];
|
|
775
|
+
defaultAlbum: (Album | null);
|
|
693
776
|
__typename: 'AthletePreferences';
|
|
694
777
|
}
|
|
695
778
|
export interface FundRaisingCampaign {
|
|
@@ -707,6 +790,7 @@ export interface FundRaisingCampaign {
|
|
|
707
790
|
endingDate: Scalars['DateTime'];
|
|
708
791
|
budget: (Budget | null);
|
|
709
792
|
competitions: (AthleteCompetition[] | null);
|
|
793
|
+
vtxComissionPct: Scalars['Float'];
|
|
710
794
|
__typename: 'FundRaisingCampaign';
|
|
711
795
|
}
|
|
712
796
|
export interface StripeCapabilityType {
|
|
@@ -847,6 +931,7 @@ export interface AthleteReference {
|
|
|
847
931
|
totalPastCompetitions: (Scalars['Float'] | null);
|
|
848
932
|
profilePicture: (AWSS3File | null);
|
|
849
933
|
cardPicture: (AWSS3File | null);
|
|
934
|
+
bannerPicture: (AWSS3File | null);
|
|
850
935
|
aboutMe: (Scalars['String'] | null);
|
|
851
936
|
preferences: AthletePreferences;
|
|
852
937
|
__typename: 'AthleteReference';
|
|
@@ -872,6 +957,7 @@ export interface Athlete {
|
|
|
872
957
|
totalPastCompetitions: (Scalars['Float'] | null);
|
|
873
958
|
profilePicture: (AWSS3File | null);
|
|
874
959
|
cardPicture: (AWSS3File | null);
|
|
960
|
+
bannerPicture: (AWSS3File | null);
|
|
875
961
|
aboutMe: (Scalars['String'] | null);
|
|
876
962
|
preferences: AthletePreferences;
|
|
877
963
|
allSports: (Sport[] | null);
|
|
@@ -884,6 +970,7 @@ export interface Athlete {
|
|
|
884
970
|
currentCampaign: (FundRaisingCampaign | null);
|
|
885
971
|
fundingCampaigns: (FundRaisingCampaign[] | null);
|
|
886
972
|
stripeAccountReference: (StripeAccountReference | null);
|
|
973
|
+
albums: (Album[] | null);
|
|
887
974
|
__typename: 'Athlete';
|
|
888
975
|
}
|
|
889
976
|
export interface SponsorAthleteInvitation {
|
|
@@ -917,6 +1004,83 @@ export interface StripeCheckoutSession {
|
|
|
917
1004
|
livemode: Scalars['Boolean'];
|
|
918
1005
|
__typename: 'StripeCheckoutSession';
|
|
919
1006
|
}
|
|
1007
|
+
export interface StravaAthleteData {
|
|
1008
|
+
id: Scalars['Float'];
|
|
1009
|
+
username: (Scalars['String'] | null);
|
|
1010
|
+
firstname: Scalars['String'];
|
|
1011
|
+
lastname: Scalars['String'];
|
|
1012
|
+
bio: (Scalars['String'] | null);
|
|
1013
|
+
city: (Scalars['String'] | null);
|
|
1014
|
+
state: (Scalars['String'] | null);
|
|
1015
|
+
country: (Scalars['String'] | null);
|
|
1016
|
+
sex: (Scalars['String'] | null);
|
|
1017
|
+
premium: Scalars['Boolean'];
|
|
1018
|
+
profile: (Scalars['String'] | null);
|
|
1019
|
+
created_at: (Scalars['String'] | null);
|
|
1020
|
+
updated_at: (Scalars['String'] | null);
|
|
1021
|
+
weight: (Scalars['Float'] | null);
|
|
1022
|
+
__typename: 'StravaAthleteData';
|
|
1023
|
+
}
|
|
1024
|
+
export interface InstagramCursors {
|
|
1025
|
+
before: (Scalars['String'] | null);
|
|
1026
|
+
after: (Scalars['String'] | null);
|
|
1027
|
+
__typename: 'InstagramCursors';
|
|
1028
|
+
}
|
|
1029
|
+
export interface InstagramPaging {
|
|
1030
|
+
cursors: (InstagramCursors | null);
|
|
1031
|
+
next: (Scalars['String'] | null);
|
|
1032
|
+
__typename: 'InstagramPaging';
|
|
1033
|
+
}
|
|
1034
|
+
export interface InstagramMetric {
|
|
1035
|
+
name: Scalars['String'];
|
|
1036
|
+
period: Scalars['String'];
|
|
1037
|
+
values: Scalars['String'];
|
|
1038
|
+
__typename: 'InstagramMetric';
|
|
1039
|
+
}
|
|
1040
|
+
export interface InstagramInsights {
|
|
1041
|
+
data: (InstagramMetric[] | null);
|
|
1042
|
+
__typename: 'InstagramInsights';
|
|
1043
|
+
}
|
|
1044
|
+
export interface InstagramMediaItem {
|
|
1045
|
+
id: Scalars['String'];
|
|
1046
|
+
caption: (Scalars['String'] | null);
|
|
1047
|
+
media_type: Scalars['String'];
|
|
1048
|
+
media_url: (Scalars['String'] | null);
|
|
1049
|
+
permalink: Scalars['String'];
|
|
1050
|
+
thumbnail_url: (Scalars['String'] | null);
|
|
1051
|
+
timestamp: Scalars['String'];
|
|
1052
|
+
username: Scalars['String'];
|
|
1053
|
+
like_count: (Scalars['Float'] | null);
|
|
1054
|
+
comments_count: (Scalars['Float'] | null);
|
|
1055
|
+
insights: (InstagramInsights | null);
|
|
1056
|
+
__typename: 'InstagramMediaItem';
|
|
1057
|
+
}
|
|
1058
|
+
export interface InstagramMediaData {
|
|
1059
|
+
data: (InstagramMediaItem[] | null);
|
|
1060
|
+
paging: (InstagramPaging | null);
|
|
1061
|
+
__typename: 'InstagramMediaData';
|
|
1062
|
+
}
|
|
1063
|
+
export interface InstagramUserData {
|
|
1064
|
+
user_id: Scalars['String'];
|
|
1065
|
+
username: Scalars['String'];
|
|
1066
|
+
name: (Scalars['String'] | null);
|
|
1067
|
+
account_type: (Scalars['String'] | null);
|
|
1068
|
+
followers_count: (Scalars['String'] | null);
|
|
1069
|
+
media_count: (Scalars['Float'] | null);
|
|
1070
|
+
__typename: 'InstagramUserData';
|
|
1071
|
+
}
|
|
1072
|
+
export interface AthleteIntegrationReference {
|
|
1073
|
+
_id: Scalars['String'];
|
|
1074
|
+
athlete: AthleteReference;
|
|
1075
|
+
hasStravaIntegration: (Scalars['Boolean'] | null);
|
|
1076
|
+
stravaTokenExpires: (Scalars['DateTime'] | null);
|
|
1077
|
+
stravaAthleteData: (StravaAthleteData | null);
|
|
1078
|
+
hasInstagramIntegration: (Scalars['Boolean'] | null);
|
|
1079
|
+
instagramTokenExpires: (Scalars['DateTime'] | null);
|
|
1080
|
+
instagramUserData: (InstagramUserData | null);
|
|
1081
|
+
instagramMediaData: (InstagramMediaData | null);
|
|
1082
|
+
__typename: 'AthleteIntegrationReference';
|
|
1083
|
+
}
|
|
920
1084
|
export interface EditValueResponse {
|
|
921
1085
|
field: Scalars['String'];
|
|
922
1086
|
oldValue: (Scalars['String'] | null);
|
|
@@ -929,6 +1093,13 @@ export interface ErrorType {
|
|
|
929
1093
|
message: Scalars['String'];
|
|
930
1094
|
__typename: 'ErrorType';
|
|
931
1095
|
}
|
|
1096
|
+
export interface DeleteValuesResponse {
|
|
1097
|
+
deleted: Scalars['String'][];
|
|
1098
|
+
failedToDelete: Scalars['String'][];
|
|
1099
|
+
failureReason: ErrorType[];
|
|
1100
|
+
result: Scalars['String'];
|
|
1101
|
+
__typename: 'DeleteValuesResponse';
|
|
1102
|
+
}
|
|
932
1103
|
export interface DeleteSingleValueResponse {
|
|
933
1104
|
idToDelete: Scalars['String'];
|
|
934
1105
|
deleted: Scalars['Boolean'];
|
|
@@ -981,13 +1152,6 @@ export interface UserImages {
|
|
|
981
1152
|
bannerPictureUrl: (Scalars['String'] | null);
|
|
982
1153
|
__typename: 'UserImages';
|
|
983
1154
|
}
|
|
984
|
-
export interface DeleteValuesResponse {
|
|
985
|
-
deleted: Scalars['String'][];
|
|
986
|
-
failedToDelete: Scalars['String'][];
|
|
987
|
-
failureReason: ErrorType[];
|
|
988
|
-
result: Scalars['String'];
|
|
989
|
-
__typename: 'DeleteValuesResponse';
|
|
990
|
-
}
|
|
991
1155
|
export interface Query {
|
|
992
1156
|
findTenantById: Tenant;
|
|
993
1157
|
findTenantByEmail: Tenant;
|
|
@@ -1015,6 +1179,11 @@ export interface Query {
|
|
|
1015
1179
|
getAthleteCompetitions: AthleteCompetition[];
|
|
1016
1180
|
getAthleteMemberships: AthleteMembership[];
|
|
1017
1181
|
findAthletebyIdpublic: Athlete;
|
|
1182
|
+
getAthleteAlbums: Album[];
|
|
1183
|
+
getAndSetAlbumById: Album;
|
|
1184
|
+
getAthleteAlbumId: Album;
|
|
1185
|
+
queryAthleteWithFilter: AthleteQueryResponse;
|
|
1186
|
+
getPublicAthleteAlbums: Album[];
|
|
1018
1187
|
getSports: Sport[];
|
|
1019
1188
|
findSportById: Sport;
|
|
1020
1189
|
getSportLevels: SportLevel[];
|
|
@@ -1022,15 +1191,21 @@ export interface Query {
|
|
|
1022
1191
|
getTenantSponsorships: Sponsorship[];
|
|
1023
1192
|
getCountries: Country[];
|
|
1024
1193
|
getCountryStates: State[];
|
|
1194
|
+
getStates: State[];
|
|
1025
1195
|
getStateCities: City[];
|
|
1026
1196
|
findCitiesStartingWith: City[];
|
|
1027
1197
|
findCityById: City;
|
|
1028
1198
|
findVtxUser: User;
|
|
1029
1199
|
validateUserCredentialsVtx: User;
|
|
1030
1200
|
getUserImagesFromEmail: UserImages;
|
|
1201
|
+
getResetVerificationCode: VerificationCode;
|
|
1202
|
+
verifyCode: CodeVerificationResponse;
|
|
1031
1203
|
getStravaLoginUrl: Scalars['String'];
|
|
1032
1204
|
getSportsEvents: SportsEvent[];
|
|
1033
1205
|
getMembershipOrganizations: MembershipOrganizationReference[];
|
|
1206
|
+
getAthleteStravaIntegration: AthleteIntegrationReference;
|
|
1207
|
+
getAthleteInstagramIntegration: AthleteIntegrationReference;
|
|
1208
|
+
getAthleteIntegrations: AthleteIntegrationReference;
|
|
1034
1209
|
stripeQuery: StripeObject;
|
|
1035
1210
|
getDatabaseTextFile: TextDatabaseFile;
|
|
1036
1211
|
__typename: 'Query';
|
|
@@ -1045,6 +1220,7 @@ export interface Mutation {
|
|
|
1045
1220
|
refreshToken: UserToken;
|
|
1046
1221
|
deleteUploadedUseTypeFile: AWSS3CallResult;
|
|
1047
1222
|
deleteUploadedBucketFile: AWSS3CallResult;
|
|
1223
|
+
deleteUploadedTypeKeyFile: AWSS3CallResult;
|
|
1048
1224
|
registerS3UploadedFile: AWSS3File;
|
|
1049
1225
|
createIndustry: Industry;
|
|
1050
1226
|
createBrand: Brand;
|
|
@@ -1055,9 +1231,14 @@ export interface Mutation {
|
|
|
1055
1231
|
editProfileValue: EditValueResponse;
|
|
1056
1232
|
editPicture: EditPictureResponse;
|
|
1057
1233
|
AddAlbumPictures: AddValuesResponse;
|
|
1058
|
-
DeletePictureBuket: DeleteSingleValueResponse;
|
|
1059
1234
|
addAthleteCompetition: AthleteCompetition;
|
|
1060
1235
|
deleteAthleteCompetition: DeleteSingleValueResponse;
|
|
1236
|
+
createAthleteAlbum: Album;
|
|
1237
|
+
editAlbum: Album;
|
|
1238
|
+
deleteAthleteAlbum: DeleteSingleValueResponse;
|
|
1239
|
+
deleteAthletePhotos: DeleteValuesResponse;
|
|
1240
|
+
saveAthleteCompetitionResult: AthleteCompetitionResult;
|
|
1241
|
+
updateAthleteTpiScore: Athlete;
|
|
1061
1242
|
createSport: Sport;
|
|
1062
1243
|
updateSport: Sport;
|
|
1063
1244
|
createSportLevel: SportLevel;
|
|
@@ -1071,6 +1252,8 @@ export interface Mutation {
|
|
|
1071
1252
|
registerAthleteUser: User;
|
|
1072
1253
|
registerSponsorUser: User;
|
|
1073
1254
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1255
|
+
createResetPasswordCode: EditValueResponse;
|
|
1256
|
+
resetUserPassword: EditValueResponse;
|
|
1074
1257
|
handleStravaCallback: StravaToken;
|
|
1075
1258
|
refreshStravaToken: StravaToken;
|
|
1076
1259
|
createSportsEvent: SportsEvent;
|
|
@@ -1079,6 +1262,7 @@ export interface Mutation {
|
|
|
1079
1262
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
1080
1263
|
createAthleteMembershipAffilation: AthleteMembership;
|
|
1081
1264
|
deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
|
|
1265
|
+
updateAthleteIntegration: Scalars['Boolean'];
|
|
1082
1266
|
createStripeAccount: StripeAccountReference;
|
|
1083
1267
|
createAthleteStripeSession: StripeSession;
|
|
1084
1268
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
@@ -1440,6 +1624,79 @@ export interface BrandGenqlSelection {
|
|
|
1440
1624
|
__typename?: boolean | number;
|
|
1441
1625
|
__scalar?: boolean | number;
|
|
1442
1626
|
}
|
|
1627
|
+
export interface StravaTpiRideDtoGenqlSelection {
|
|
1628
|
+
distanceKm?: boolean | number;
|
|
1629
|
+
distanceKmLast?: boolean | number;
|
|
1630
|
+
elapsedTimeMin?: boolean | number;
|
|
1631
|
+
elapsedTimeMinLast?: boolean | number;
|
|
1632
|
+
averageSpeedKmh?: boolean | number;
|
|
1633
|
+
averageSpeedKmhLast?: boolean | number;
|
|
1634
|
+
maxSpeedKmh?: boolean | number;
|
|
1635
|
+
maxSpeedKmhLast?: boolean | number;
|
|
1636
|
+
averageHeartRateBpm?: boolean | number;
|
|
1637
|
+
averageHeartRateBpmLast?: boolean | number;
|
|
1638
|
+
maxHeartRateBpm?: boolean | number;
|
|
1639
|
+
maxHeartRateBpmLast?: boolean | number;
|
|
1640
|
+
averageCadenceStm?: boolean | number;
|
|
1641
|
+
averageCadenceStmLast?: boolean | number;
|
|
1642
|
+
lastDate?: boolean | number;
|
|
1643
|
+
country?: boolean | number;
|
|
1644
|
+
state?: boolean | number;
|
|
1645
|
+
city?: boolean | number;
|
|
1646
|
+
tpi?: boolean | number;
|
|
1647
|
+
__typename?: boolean | number;
|
|
1648
|
+
__scalar?: boolean | number;
|
|
1649
|
+
}
|
|
1650
|
+
export interface StravaTpiRunDtoGenqlSelection {
|
|
1651
|
+
distanceKm?: boolean | number;
|
|
1652
|
+
distanceKmLast?: boolean | number;
|
|
1653
|
+
elapsedTimeMin?: boolean | number;
|
|
1654
|
+
elapsedTimeMinLast?: boolean | number;
|
|
1655
|
+
averageSpeedKmh?: boolean | number;
|
|
1656
|
+
averageSpeedKmhLast?: boolean | number;
|
|
1657
|
+
maxSpeedKmh?: boolean | number;
|
|
1658
|
+
maxSpeedKmhLast?: boolean | number;
|
|
1659
|
+
averageHeartRateBpm?: boolean | number;
|
|
1660
|
+
averageHeartRateBpmLast?: boolean | number;
|
|
1661
|
+
maxHeartRateBpm?: boolean | number;
|
|
1662
|
+
maxHeartRateBpmLast?: boolean | number;
|
|
1663
|
+
averageCadenceStm?: boolean | number;
|
|
1664
|
+
averageCadenceStmLast?: boolean | number;
|
|
1665
|
+
elevHigh?: boolean | number;
|
|
1666
|
+
elevHighLast?: boolean | number;
|
|
1667
|
+
elevLow?: boolean | number;
|
|
1668
|
+
elevLowLast?: boolean | number;
|
|
1669
|
+
lastDate?: boolean | number;
|
|
1670
|
+
country?: boolean | number;
|
|
1671
|
+
state?: boolean | number;
|
|
1672
|
+
city?: boolean | number;
|
|
1673
|
+
tpi?: boolean | number;
|
|
1674
|
+
__typename?: boolean | number;
|
|
1675
|
+
__scalar?: boolean | number;
|
|
1676
|
+
}
|
|
1677
|
+
export interface StravaTpiSwimDtoGenqlSelection {
|
|
1678
|
+
distanceKm?: boolean | number;
|
|
1679
|
+
distanceKmLast?: boolean | number;
|
|
1680
|
+
elapsedTimeMin?: boolean | number;
|
|
1681
|
+
elapsedTimeMinLast?: boolean | number;
|
|
1682
|
+
averageSpeedKmh?: boolean | number;
|
|
1683
|
+
averageSpeedKmhLast?: boolean | number;
|
|
1684
|
+
maxSpeedKmh?: boolean | number;
|
|
1685
|
+
maxSpeedKmhLast?: boolean | number;
|
|
1686
|
+
averageHeartRateBpm?: boolean | number;
|
|
1687
|
+
averageHeartRateBpmLast?: boolean | number;
|
|
1688
|
+
maxHeartRateBpm?: boolean | number;
|
|
1689
|
+
maxHeartRateBpmLast?: boolean | number;
|
|
1690
|
+
averageCadenceStm?: boolean | number;
|
|
1691
|
+
averageCadenceStmLast?: boolean | number;
|
|
1692
|
+
lastDate?: boolean | number;
|
|
1693
|
+
country?: boolean | number;
|
|
1694
|
+
state?: boolean | number;
|
|
1695
|
+
city?: boolean | number;
|
|
1696
|
+
tpi?: boolean | number;
|
|
1697
|
+
__typename?: boolean | number;
|
|
1698
|
+
__scalar?: boolean | number;
|
|
1699
|
+
}
|
|
1443
1700
|
export interface CityGenqlSelection {
|
|
1444
1701
|
_id?: boolean | number;
|
|
1445
1702
|
name?: boolean | number;
|
|
@@ -1850,9 +2107,24 @@ export interface ChannelGenqlSelection {
|
|
|
1850
2107
|
__typename?: boolean | number;
|
|
1851
2108
|
__scalar?: boolean | number;
|
|
1852
2109
|
}
|
|
2110
|
+
export interface PhotoAlbumGenqlSelection {
|
|
2111
|
+
_id?: boolean | number;
|
|
2112
|
+
photo?: AWSS3FileGenqlSelection;
|
|
2113
|
+
__typename?: boolean | number;
|
|
2114
|
+
__scalar?: boolean | number;
|
|
2115
|
+
}
|
|
2116
|
+
export interface AlbumGenqlSelection {
|
|
2117
|
+
_id?: boolean | number;
|
|
2118
|
+
label?: boolean | number;
|
|
2119
|
+
description?: boolean | number;
|
|
2120
|
+
photos?: PhotoAlbumGenqlSelection;
|
|
2121
|
+
__typename?: boolean | number;
|
|
2122
|
+
__scalar?: boolean | number;
|
|
2123
|
+
}
|
|
1853
2124
|
export interface AthletePreferencesGenqlSelection {
|
|
1854
2125
|
_id?: boolean | number;
|
|
1855
2126
|
showProfileHelper?: boolean | number;
|
|
2127
|
+
defaultAlbum?: AlbumGenqlSelection;
|
|
1856
2128
|
__typename?: boolean | number;
|
|
1857
2129
|
__scalar?: boolean | number;
|
|
1858
2130
|
}
|
|
@@ -1871,6 +2143,7 @@ export interface FundRaisingCampaignGenqlSelection {
|
|
|
1871
2143
|
endingDate?: boolean | number;
|
|
1872
2144
|
budget?: BudgetGenqlSelection;
|
|
1873
2145
|
competitions?: AthleteCompetitionGenqlSelection;
|
|
2146
|
+
vtxComissionPct?: boolean | number;
|
|
1874
2147
|
__typename?: boolean | number;
|
|
1875
2148
|
__scalar?: boolean | number;
|
|
1876
2149
|
}
|
|
@@ -2020,6 +2293,7 @@ export interface AthleteReferenceGenqlSelection {
|
|
|
2020
2293
|
totalPastCompetitions?: boolean | number;
|
|
2021
2294
|
profilePicture?: AWSS3FileGenqlSelection;
|
|
2022
2295
|
cardPicture?: AWSS3FileGenqlSelection;
|
|
2296
|
+
bannerPicture?: AWSS3FileGenqlSelection;
|
|
2023
2297
|
aboutMe?: boolean | number;
|
|
2024
2298
|
preferences?: AthletePreferencesGenqlSelection;
|
|
2025
2299
|
__typename?: boolean | number;
|
|
@@ -2046,6 +2320,7 @@ export interface AthleteGenqlSelection {
|
|
|
2046
2320
|
totalPastCompetitions?: boolean | number;
|
|
2047
2321
|
profilePicture?: AWSS3FileGenqlSelection;
|
|
2048
2322
|
cardPicture?: AWSS3FileGenqlSelection;
|
|
2323
|
+
bannerPicture?: AWSS3FileGenqlSelection;
|
|
2049
2324
|
aboutMe?: boolean | number;
|
|
2050
2325
|
preferences?: AthletePreferencesGenqlSelection;
|
|
2051
2326
|
allSports?: SportGenqlSelection;
|
|
@@ -2058,6 +2333,7 @@ export interface AthleteGenqlSelection {
|
|
|
2058
2333
|
currentCampaign?: FundRaisingCampaignGenqlSelection;
|
|
2059
2334
|
fundingCampaigns?: FundRaisingCampaignGenqlSelection;
|
|
2060
2335
|
stripeAccountReference?: StripeAccountReferenceGenqlSelection;
|
|
2336
|
+
albums?: AlbumGenqlSelection;
|
|
2061
2337
|
__typename?: boolean | number;
|
|
2062
2338
|
__scalar?: boolean | number;
|
|
2063
2339
|
}
|
|
@@ -2096,6 +2372,92 @@ export interface StripeCheckoutSessionGenqlSelection {
|
|
|
2096
2372
|
__typename?: boolean | number;
|
|
2097
2373
|
__scalar?: boolean | number;
|
|
2098
2374
|
}
|
|
2375
|
+
export interface StravaAthleteDataGenqlSelection {
|
|
2376
|
+
id?: boolean | number;
|
|
2377
|
+
username?: boolean | number;
|
|
2378
|
+
firstname?: boolean | number;
|
|
2379
|
+
lastname?: boolean | number;
|
|
2380
|
+
bio?: boolean | number;
|
|
2381
|
+
city?: boolean | number;
|
|
2382
|
+
state?: boolean | number;
|
|
2383
|
+
country?: boolean | number;
|
|
2384
|
+
sex?: boolean | number;
|
|
2385
|
+
premium?: boolean | number;
|
|
2386
|
+
profile?: boolean | number;
|
|
2387
|
+
created_at?: boolean | number;
|
|
2388
|
+
updated_at?: boolean | number;
|
|
2389
|
+
weight?: boolean | number;
|
|
2390
|
+
__typename?: boolean | number;
|
|
2391
|
+
__scalar?: boolean | number;
|
|
2392
|
+
}
|
|
2393
|
+
export interface InstagramCursorsGenqlSelection {
|
|
2394
|
+
before?: boolean | number;
|
|
2395
|
+
after?: boolean | number;
|
|
2396
|
+
__typename?: boolean | number;
|
|
2397
|
+
__scalar?: boolean | number;
|
|
2398
|
+
}
|
|
2399
|
+
export interface InstagramPagingGenqlSelection {
|
|
2400
|
+
cursors?: InstagramCursorsGenqlSelection;
|
|
2401
|
+
next?: boolean | number;
|
|
2402
|
+
__typename?: boolean | number;
|
|
2403
|
+
__scalar?: boolean | number;
|
|
2404
|
+
}
|
|
2405
|
+
export interface InstagramMetricGenqlSelection {
|
|
2406
|
+
name?: boolean | number;
|
|
2407
|
+
period?: boolean | number;
|
|
2408
|
+
values?: boolean | number;
|
|
2409
|
+
__typename?: boolean | number;
|
|
2410
|
+
__scalar?: boolean | number;
|
|
2411
|
+
}
|
|
2412
|
+
export interface InstagramInsightsGenqlSelection {
|
|
2413
|
+
data?: InstagramMetricGenqlSelection;
|
|
2414
|
+
__typename?: boolean | number;
|
|
2415
|
+
__scalar?: boolean | number;
|
|
2416
|
+
}
|
|
2417
|
+
export interface InstagramMediaItemGenqlSelection {
|
|
2418
|
+
id?: boolean | number;
|
|
2419
|
+
caption?: boolean | number;
|
|
2420
|
+
media_type?: boolean | number;
|
|
2421
|
+
media_url?: boolean | number;
|
|
2422
|
+
permalink?: boolean | number;
|
|
2423
|
+
thumbnail_url?: boolean | number;
|
|
2424
|
+
timestamp?: boolean | number;
|
|
2425
|
+
username?: boolean | number;
|
|
2426
|
+
like_count?: boolean | number;
|
|
2427
|
+
comments_count?: boolean | number;
|
|
2428
|
+
insights?: InstagramInsightsGenqlSelection;
|
|
2429
|
+
__typename?: boolean | number;
|
|
2430
|
+
__scalar?: boolean | number;
|
|
2431
|
+
}
|
|
2432
|
+
export interface InstagramMediaDataGenqlSelection {
|
|
2433
|
+
data?: InstagramMediaItemGenqlSelection;
|
|
2434
|
+
paging?: InstagramPagingGenqlSelection;
|
|
2435
|
+
__typename?: boolean | number;
|
|
2436
|
+
__scalar?: boolean | number;
|
|
2437
|
+
}
|
|
2438
|
+
export interface InstagramUserDataGenqlSelection {
|
|
2439
|
+
user_id?: boolean | number;
|
|
2440
|
+
username?: boolean | number;
|
|
2441
|
+
name?: boolean | number;
|
|
2442
|
+
account_type?: boolean | number;
|
|
2443
|
+
followers_count?: boolean | number;
|
|
2444
|
+
media_count?: boolean | number;
|
|
2445
|
+
__typename?: boolean | number;
|
|
2446
|
+
__scalar?: boolean | number;
|
|
2447
|
+
}
|
|
2448
|
+
export interface AthleteIntegrationReferenceGenqlSelection {
|
|
2449
|
+
_id?: boolean | number;
|
|
2450
|
+
athlete?: AthleteReferenceGenqlSelection;
|
|
2451
|
+
hasStravaIntegration?: boolean | number;
|
|
2452
|
+
stravaTokenExpires?: boolean | number;
|
|
2453
|
+
stravaAthleteData?: StravaAthleteDataGenqlSelection;
|
|
2454
|
+
hasInstagramIntegration?: boolean | number;
|
|
2455
|
+
instagramTokenExpires?: boolean | number;
|
|
2456
|
+
instagramUserData?: InstagramUserDataGenqlSelection;
|
|
2457
|
+
instagramMediaData?: InstagramMediaDataGenqlSelection;
|
|
2458
|
+
__typename?: boolean | number;
|
|
2459
|
+
__scalar?: boolean | number;
|
|
2460
|
+
}
|
|
2099
2461
|
export interface EditValueResponseGenqlSelection {
|
|
2100
2462
|
field?: boolean | number;
|
|
2101
2463
|
oldValue?: boolean | number;
|
|
@@ -2110,6 +2472,14 @@ export interface ErrorTypeGenqlSelection {
|
|
|
2110
2472
|
__typename?: boolean | number;
|
|
2111
2473
|
__scalar?: boolean | number;
|
|
2112
2474
|
}
|
|
2475
|
+
export interface DeleteValuesResponseGenqlSelection {
|
|
2476
|
+
deleted?: boolean | number;
|
|
2477
|
+
failedToDelete?: boolean | number;
|
|
2478
|
+
failureReason?: ErrorTypeGenqlSelection;
|
|
2479
|
+
result?: boolean | number;
|
|
2480
|
+
__typename?: boolean | number;
|
|
2481
|
+
__scalar?: boolean | number;
|
|
2482
|
+
}
|
|
2113
2483
|
export interface DeleteSingleValueResponseGenqlSelection {
|
|
2114
2484
|
idToDelete?: boolean | number;
|
|
2115
2485
|
deleted?: boolean | number;
|
|
@@ -2170,14 +2540,6 @@ export interface UserImagesGenqlSelection {
|
|
|
2170
2540
|
__typename?: boolean | number;
|
|
2171
2541
|
__scalar?: boolean | number;
|
|
2172
2542
|
}
|
|
2173
|
-
export interface DeleteValuesResponseGenqlSelection {
|
|
2174
|
-
deleted?: boolean | number;
|
|
2175
|
-
failedToDelete?: boolean | number;
|
|
2176
|
-
failureReason?: ErrorTypeGenqlSelection;
|
|
2177
|
-
result?: boolean | number;
|
|
2178
|
-
__typename?: boolean | number;
|
|
2179
|
-
__scalar?: boolean | number;
|
|
2180
|
-
}
|
|
2181
2543
|
export interface CreateDatabaseFileDto {
|
|
2182
2544
|
identifier: Scalars['String'];
|
|
2183
2545
|
version?: Scalars['String'];
|
|
@@ -2304,9 +2666,11 @@ export interface AthleteFilterDto {
|
|
|
2304
2666
|
cities?: (Scalars['String'][] | null);
|
|
2305
2667
|
states?: (Scalars['String'][] | null);
|
|
2306
2668
|
countries?: (Scalars['String'][] | null);
|
|
2669
|
+
nacionalities?: (Scalars['String'][] | null);
|
|
2307
2670
|
teams?: (Scalars['String'][] | null);
|
|
2308
2671
|
currentCampaign?: (FundCampaignFilterDto | null);
|
|
2309
2672
|
sports?: (Scalars['String'][] | null);
|
|
2673
|
+
sportLevels?: (Scalars['String'][] | null);
|
|
2310
2674
|
mainSportOnly?: (Scalars['Boolean'] | null);
|
|
2311
2675
|
gender?: (Scalars['String'] | null);
|
|
2312
2676
|
minAge?: (Scalars['Float'] | null);
|
|
@@ -2326,10 +2690,9 @@ export interface AthleteQueryDto {
|
|
|
2326
2690
|
cursor?: (CursorPaginationDto | null);
|
|
2327
2691
|
filters?: (AthleteFilterDto | null);
|
|
2328
2692
|
}
|
|
2329
|
-
export interface
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
pictures?: (AWSS3UploadedFileDto[] | null);
|
|
2693
|
+
export interface EditPictureDto {
|
|
2694
|
+
field: Scalars['String'];
|
|
2695
|
+
newPicture?: (AWSS3UploadedFileDto | null);
|
|
2333
2696
|
}
|
|
2334
2697
|
export interface AWSS3UploadedFileDto {
|
|
2335
2698
|
key: Scalars['String'];
|
|
@@ -2338,6 +2701,16 @@ export interface AWSS3UploadedFileDto {
|
|
|
2338
2701
|
originalFileName?: (Scalars['String'] | null);
|
|
2339
2702
|
fileSize?: (Scalars['Float'] | null);
|
|
2340
2703
|
}
|
|
2704
|
+
export interface UploadAlbumsPicturesDto {
|
|
2705
|
+
label: Scalars['String'];
|
|
2706
|
+
description?: (Scalars['String'] | null);
|
|
2707
|
+
pictures?: (AWSS3UploadedFileDto[] | null);
|
|
2708
|
+
albumId?: (Scalars['String'] | null);
|
|
2709
|
+
}
|
|
2710
|
+
export interface DeleteValuesDto {
|
|
2711
|
+
idsToDelete: Scalars['String'][];
|
|
2712
|
+
allOrNone?: (Scalars['Boolean'] | null);
|
|
2713
|
+
}
|
|
2341
2714
|
export interface QualificationDto {
|
|
2342
2715
|
type: Scalars['String'];
|
|
2343
2716
|
}
|
|
@@ -2391,9 +2764,9 @@ export interface RegisterUserDto {
|
|
|
2391
2764
|
password: Scalars['String'];
|
|
2392
2765
|
inviteCode?: (Scalars['String'] | null);
|
|
2393
2766
|
}
|
|
2394
|
-
export interface
|
|
2395
|
-
|
|
2396
|
-
|
|
2767
|
+
export interface resetPasswordDto {
|
|
2768
|
+
code: VerifyCodeDto;
|
|
2769
|
+
newPassword?: (Scalars['String'] | null);
|
|
2397
2770
|
}
|
|
2398
2771
|
export interface BudgetItemDto {
|
|
2399
2772
|
quantity: Scalars['Float'];
|
|
@@ -2476,6 +2849,13 @@ export interface StripeQueryDto {
|
|
|
2476
2849
|
id: Scalars['String'];
|
|
2477
2850
|
params?: (Scalars['String'] | null);
|
|
2478
2851
|
}
|
|
2852
|
+
export interface CreateAthleteIntegrationDto {
|
|
2853
|
+
athleteId: Scalars['String'];
|
|
2854
|
+
accessToken: Scalars['String'];
|
|
2855
|
+
refreshToken: Scalars['String'];
|
|
2856
|
+
expiresIn: Scalars['Float'];
|
|
2857
|
+
refreshExpiresIn?: (Scalars['Float'] | null);
|
|
2858
|
+
}
|
|
2479
2859
|
export interface QueryGenqlSelection {
|
|
2480
2860
|
findTenantById?: (TenantGenqlSelection & {
|
|
2481
2861
|
__args: {
|
|
@@ -2587,6 +2967,27 @@ export interface QueryGenqlSelection {
|
|
|
2587
2967
|
athleteId: Scalars['String'];
|
|
2588
2968
|
};
|
|
2589
2969
|
});
|
|
2970
|
+
getAthleteAlbums?: AlbumGenqlSelection;
|
|
2971
|
+
getAndSetAlbumById?: (AlbumGenqlSelection & {
|
|
2972
|
+
__args: {
|
|
2973
|
+
input: Scalars['String'];
|
|
2974
|
+
};
|
|
2975
|
+
});
|
|
2976
|
+
getAthleteAlbumId?: (AlbumGenqlSelection & {
|
|
2977
|
+
__args: {
|
|
2978
|
+
input: Scalars['String'];
|
|
2979
|
+
};
|
|
2980
|
+
});
|
|
2981
|
+
queryAthleteWithFilter?: (AthleteQueryResponseGenqlSelection & {
|
|
2982
|
+
__args: {
|
|
2983
|
+
input: AthleteQueryDto;
|
|
2984
|
+
};
|
|
2985
|
+
});
|
|
2986
|
+
getPublicAthleteAlbums?: (AlbumGenqlSelection & {
|
|
2987
|
+
__args: {
|
|
2988
|
+
athleteId: Scalars['String'];
|
|
2989
|
+
};
|
|
2990
|
+
});
|
|
2590
2991
|
getSports?: SportGenqlSelection;
|
|
2591
2992
|
findSportById?: (SportGenqlSelection & {
|
|
2592
2993
|
__args: {
|
|
@@ -2602,6 +3003,7 @@ export interface QueryGenqlSelection {
|
|
|
2602
3003
|
countryId: Scalars['String'];
|
|
2603
3004
|
};
|
|
2604
3005
|
});
|
|
3006
|
+
getStates?: StateGenqlSelection;
|
|
2605
3007
|
getStateCities?: (CityGenqlSelection & {
|
|
2606
3008
|
__args: {
|
|
2607
3009
|
stateId: Scalars['String'];
|
|
@@ -2633,6 +3035,16 @@ export interface QueryGenqlSelection {
|
|
|
2633
3035
|
loginEmail: Scalars['String'];
|
|
2634
3036
|
};
|
|
2635
3037
|
});
|
|
3038
|
+
getResetVerificationCode?: (VerificationCodeGenqlSelection & {
|
|
3039
|
+
__args: {
|
|
3040
|
+
input: Scalars['String'];
|
|
3041
|
+
};
|
|
3042
|
+
});
|
|
3043
|
+
verifyCode?: (CodeVerificationResponseGenqlSelection & {
|
|
3044
|
+
__args: {
|
|
3045
|
+
input: VerifyCodeDto;
|
|
3046
|
+
};
|
|
3047
|
+
});
|
|
2636
3048
|
getStravaLoginUrl?: boolean | number;
|
|
2637
3049
|
getSportsEvents?: (SportsEventGenqlSelection & {
|
|
2638
3050
|
__args: {
|
|
@@ -2640,6 +3052,9 @@ export interface QueryGenqlSelection {
|
|
|
2640
3052
|
};
|
|
2641
3053
|
});
|
|
2642
3054
|
getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
|
|
3055
|
+
getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
3056
|
+
getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
3057
|
+
getAthleteIntegrations?: AthleteIntegrationReferenceGenqlSelection;
|
|
2643
3058
|
stripeQuery?: (StripeObjectGenqlSelection & {
|
|
2644
3059
|
__args: {
|
|
2645
3060
|
input: StripeQueryDto;
|
|
@@ -2720,6 +3135,11 @@ export interface MutationGenqlSelection {
|
|
|
2720
3135
|
input: AWSS3DeleteBucketFileDto;
|
|
2721
3136
|
};
|
|
2722
3137
|
});
|
|
3138
|
+
deleteUploadedTypeKeyFile?: (AWSS3CallResultGenqlSelection & {
|
|
3139
|
+
__args: {
|
|
3140
|
+
input: AWSS3DeleteUseTypeKeyDto;
|
|
3141
|
+
};
|
|
3142
|
+
});
|
|
2723
3143
|
registerS3UploadedFile?: (AWSS3FileGenqlSelection & {
|
|
2724
3144
|
__args: {
|
|
2725
3145
|
input: AWSS3UploadedFileDto;
|
|
@@ -2770,11 +3190,6 @@ export interface MutationGenqlSelection {
|
|
|
2770
3190
|
input: UploadAlbumsPicturesDto;
|
|
2771
3191
|
};
|
|
2772
3192
|
});
|
|
2773
|
-
DeletePictureBuket?: (DeleteSingleValueResponseGenqlSelection & {
|
|
2774
|
-
__args: {
|
|
2775
|
-
input: AWSS3DeleteUseTypeFileDto;
|
|
2776
|
-
};
|
|
2777
|
-
});
|
|
2778
3193
|
addAthleteCompetition?: (AthleteCompetitionGenqlSelection & {
|
|
2779
3194
|
__args: {
|
|
2780
3195
|
input: CreateAthleteCompetitionDto;
|
|
@@ -2785,6 +3200,32 @@ export interface MutationGenqlSelection {
|
|
|
2785
3200
|
input: DeleteSingleValueDto;
|
|
2786
3201
|
};
|
|
2787
3202
|
});
|
|
3203
|
+
createAthleteAlbum?: (AlbumGenqlSelection & {
|
|
3204
|
+
__args: {
|
|
3205
|
+
input: UploadAlbumsPicturesDto;
|
|
3206
|
+
};
|
|
3207
|
+
});
|
|
3208
|
+
editAlbum?: (AlbumGenqlSelection & {
|
|
3209
|
+
__args: {
|
|
3210
|
+
input: UploadAlbumsPicturesDto;
|
|
3211
|
+
};
|
|
3212
|
+
});
|
|
3213
|
+
deleteAthleteAlbum?: (DeleteSingleValueResponseGenqlSelection & {
|
|
3214
|
+
__args: {
|
|
3215
|
+
input: DeleteSingleValueDto;
|
|
3216
|
+
};
|
|
3217
|
+
});
|
|
3218
|
+
deleteAthletePhotos?: (DeleteValuesResponseGenqlSelection & {
|
|
3219
|
+
__args: {
|
|
3220
|
+
input: DeleteValuesDto;
|
|
3221
|
+
};
|
|
3222
|
+
});
|
|
3223
|
+
saveAthleteCompetitionResult?: (AthleteCompetitionResultGenqlSelection & {
|
|
3224
|
+
__args: {
|
|
3225
|
+
input: SetCompetitionResultDto;
|
|
3226
|
+
};
|
|
3227
|
+
});
|
|
3228
|
+
updateAthleteTpiScore?: AthleteGenqlSelection;
|
|
2788
3229
|
createSport?: (SportGenqlSelection & {
|
|
2789
3230
|
__args: {
|
|
2790
3231
|
input: CreateSportDto;
|
|
@@ -2851,6 +3292,16 @@ export interface MutationGenqlSelection {
|
|
|
2851
3292
|
password: Scalars['String'];
|
|
2852
3293
|
};
|
|
2853
3294
|
});
|
|
3295
|
+
createResetPasswordCode?: (EditValueResponseGenqlSelection & {
|
|
3296
|
+
__args: {
|
|
3297
|
+
input: Scalars['String'];
|
|
3298
|
+
};
|
|
3299
|
+
});
|
|
3300
|
+
resetUserPassword?: (EditValueResponseGenqlSelection & {
|
|
3301
|
+
__args: {
|
|
3302
|
+
input: resetPasswordDto;
|
|
3303
|
+
};
|
|
3304
|
+
});
|
|
2854
3305
|
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
2855
3306
|
__args: {
|
|
2856
3307
|
data: RegisterStravaDto;
|
|
@@ -2891,6 +3342,11 @@ export interface MutationGenqlSelection {
|
|
|
2891
3342
|
input: DeleteSingleValueDto;
|
|
2892
3343
|
};
|
|
2893
3344
|
});
|
|
3345
|
+
updateAthleteIntegration?: {
|
|
3346
|
+
__args: {
|
|
3347
|
+
type: Scalars['String'];
|
|
3348
|
+
};
|
|
3349
|
+
};
|
|
2894
3350
|
createStripeAccount?: (StripeAccountReferenceGenqlSelection & {
|
|
2895
3351
|
__args: {
|
|
2896
3352
|
input: CreateStripeAccountDto;
|
|
@@ -2934,6 +3390,10 @@ export interface AWSS3DeleteBucketFileDto {
|
|
|
2934
3390
|
bucket: Scalars['String'];
|
|
2935
3391
|
credentialsId?: (Scalars['String'] | null);
|
|
2936
3392
|
}
|
|
3393
|
+
export interface AWSS3DeleteUseTypeKeyDto {
|
|
3394
|
+
key: Scalars['String'];
|
|
3395
|
+
useType: Scalars['String'];
|
|
3396
|
+
}
|
|
2937
3397
|
export interface CreateIndustryDto {
|
|
2938
3398
|
name: Scalars['String'];
|
|
2939
3399
|
}
|
|
@@ -2996,12 +3456,10 @@ export interface EditValueDto {
|
|
|
2996
3456
|
field: Scalars['String'];
|
|
2997
3457
|
newValue?: (Scalars['String'] | null);
|
|
2998
3458
|
}
|
|
2999
|
-
export interface EditPictureDto {
|
|
3000
|
-
field: Scalars['String'];
|
|
3001
|
-
newPicture?: (AWSS3UploadedFileDto | null);
|
|
3002
|
-
}
|
|
3003
3459
|
export interface CreateSportDto {
|
|
3460
|
+
_id: Scalars['String'];
|
|
3004
3461
|
name: Scalars['String'];
|
|
3462
|
+
priority?: (Scalars['Float'] | null);
|
|
3005
3463
|
resultType?: (Scalars['String'] | null);
|
|
3006
3464
|
}
|
|
3007
3465
|
export interface UpdateSportDto {
|
|
@@ -3229,6 +3687,15 @@ export declare const isBrandTranslation: (obj?: {
|
|
|
3229
3687
|
export declare const isBrand: (obj?: {
|
|
3230
3688
|
__typename?: any;
|
|
3231
3689
|
} | null) => obj is Brand;
|
|
3690
|
+
export declare const isStravaTpiRideDto: (obj?: {
|
|
3691
|
+
__typename?: any;
|
|
3692
|
+
} | null) => obj is StravaTpiRideDto;
|
|
3693
|
+
export declare const isStravaTpiRunDto: (obj?: {
|
|
3694
|
+
__typename?: any;
|
|
3695
|
+
} | null) => obj is StravaTpiRunDto;
|
|
3696
|
+
export declare const isStravaTpiSwimDto: (obj?: {
|
|
3697
|
+
__typename?: any;
|
|
3698
|
+
} | null) => obj is StravaTpiSwimDto;
|
|
3232
3699
|
export declare const isCity: (obj?: {
|
|
3233
3700
|
__typename?: any;
|
|
3234
3701
|
} | null) => obj is City;
|
|
@@ -3355,6 +3822,12 @@ export declare const isNewsLink: (obj?: {
|
|
|
3355
3822
|
export declare const isChannel: (obj?: {
|
|
3356
3823
|
__typename?: any;
|
|
3357
3824
|
} | null) => obj is Channel;
|
|
3825
|
+
export declare const isPhotoAlbum: (obj?: {
|
|
3826
|
+
__typename?: any;
|
|
3827
|
+
} | null) => obj is PhotoAlbum;
|
|
3828
|
+
export declare const isAlbum: (obj?: {
|
|
3829
|
+
__typename?: any;
|
|
3830
|
+
} | null) => obj is Album;
|
|
3358
3831
|
export declare const isAthletePreferences: (obj?: {
|
|
3359
3832
|
__typename?: any;
|
|
3360
3833
|
} | null) => obj is AthletePreferences;
|
|
@@ -3403,12 +3876,42 @@ export declare const isStripeSession: (obj?: {
|
|
|
3403
3876
|
export declare const isStripeCheckoutSession: (obj?: {
|
|
3404
3877
|
__typename?: any;
|
|
3405
3878
|
} | null) => obj is StripeCheckoutSession;
|
|
3879
|
+
export declare const isStravaAthleteData: (obj?: {
|
|
3880
|
+
__typename?: any;
|
|
3881
|
+
} | null) => obj is StravaAthleteData;
|
|
3882
|
+
export declare const isInstagramCursors: (obj?: {
|
|
3883
|
+
__typename?: any;
|
|
3884
|
+
} | null) => obj is InstagramCursors;
|
|
3885
|
+
export declare const isInstagramPaging: (obj?: {
|
|
3886
|
+
__typename?: any;
|
|
3887
|
+
} | null) => obj is InstagramPaging;
|
|
3888
|
+
export declare const isInstagramMetric: (obj?: {
|
|
3889
|
+
__typename?: any;
|
|
3890
|
+
} | null) => obj is InstagramMetric;
|
|
3891
|
+
export declare const isInstagramInsights: (obj?: {
|
|
3892
|
+
__typename?: any;
|
|
3893
|
+
} | null) => obj is InstagramInsights;
|
|
3894
|
+
export declare const isInstagramMediaItem: (obj?: {
|
|
3895
|
+
__typename?: any;
|
|
3896
|
+
} | null) => obj is InstagramMediaItem;
|
|
3897
|
+
export declare const isInstagramMediaData: (obj?: {
|
|
3898
|
+
__typename?: any;
|
|
3899
|
+
} | null) => obj is InstagramMediaData;
|
|
3900
|
+
export declare const isInstagramUserData: (obj?: {
|
|
3901
|
+
__typename?: any;
|
|
3902
|
+
} | null) => obj is InstagramUserData;
|
|
3903
|
+
export declare const isAthleteIntegrationReference: (obj?: {
|
|
3904
|
+
__typename?: any;
|
|
3905
|
+
} | null) => obj is AthleteIntegrationReference;
|
|
3406
3906
|
export declare const isEditValueResponse: (obj?: {
|
|
3407
3907
|
__typename?: any;
|
|
3408
3908
|
} | null) => obj is EditValueResponse;
|
|
3409
3909
|
export declare const isErrorType: (obj?: {
|
|
3410
3910
|
__typename?: any;
|
|
3411
3911
|
} | null) => obj is ErrorType;
|
|
3912
|
+
export declare const isDeleteValuesResponse: (obj?: {
|
|
3913
|
+
__typename?: any;
|
|
3914
|
+
} | null) => obj is DeleteValuesResponse;
|
|
3412
3915
|
export declare const isDeleteSingleValueResponse: (obj?: {
|
|
3413
3916
|
__typename?: any;
|
|
3414
3917
|
} | null) => obj is DeleteSingleValueResponse;
|
|
@@ -3433,9 +3936,6 @@ export declare const isStripeObject: (obj?: {
|
|
|
3433
3936
|
export declare const isUserImages: (obj?: {
|
|
3434
3937
|
__typename?: any;
|
|
3435
3938
|
} | null) => obj is UserImages;
|
|
3436
|
-
export declare const isDeleteValuesResponse: (obj?: {
|
|
3437
|
-
__typename?: any;
|
|
3438
|
-
} | null) => obj is DeleteValuesResponse;
|
|
3439
3939
|
export declare const isQuery: (obj?: {
|
|
3440
3940
|
__typename?: any;
|
|
3441
3941
|
} | null) => obj is Query;
|