@vertikalx/vtx-backend-client 1.0.0-dev-carlos.30 → 1.0.0-dev-geo.78
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 +12 -9
- package/src/api/vtx-base-api.js +274 -206
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +104 -209
- package/src/client/schema.js +23 -72
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +50 -85
- package/src/client/types.js +258 -339
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -757,9 +757,22 @@ export interface Channel {
|
|
|
757
757
|
linked: Scalars['Boolean'];
|
|
758
758
|
__typename: 'Channel';
|
|
759
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
|
+
}
|
|
760
772
|
export interface AthletePreferences {
|
|
761
773
|
_id: Scalars['String'];
|
|
762
774
|
showProfileHelper: Scalars['Boolean'];
|
|
775
|
+
defaultAlbum: (Album | null);
|
|
763
776
|
__typename: 'AthletePreferences';
|
|
764
777
|
}
|
|
765
778
|
export interface FundRaisingCampaign {
|
|
@@ -897,18 +910,6 @@ export interface StripeAccountReference {
|
|
|
897
910
|
account: (StripeAccount | null);
|
|
898
911
|
__typename: 'StripeAccountReference';
|
|
899
912
|
}
|
|
900
|
-
export interface PhotoAlbum {
|
|
901
|
-
_id: Scalars['String'];
|
|
902
|
-
photo: (AWSS3File | null);
|
|
903
|
-
__typename: 'PhotoAlbum';
|
|
904
|
-
}
|
|
905
|
-
export interface Album {
|
|
906
|
-
_id: Scalars['String'];
|
|
907
|
-
label: Scalars['String'];
|
|
908
|
-
description: (Scalars['String'] | null);
|
|
909
|
-
photos: (PhotoAlbum[] | null);
|
|
910
|
-
__typename: 'Album';
|
|
911
|
-
}
|
|
912
913
|
export interface AthleteReference {
|
|
913
914
|
_id: Scalars['String'];
|
|
914
915
|
firstName: Scalars['String'];
|
|
@@ -1020,64 +1021,12 @@ export interface StravaAthleteData {
|
|
|
1020
1021
|
weight: (Scalars['Float'] | null);
|
|
1021
1022
|
__typename: 'StravaAthleteData';
|
|
1022
1023
|
}
|
|
1023
|
-
export interface InstagramCursors {
|
|
1024
|
-
before: (Scalars['String'] | null);
|
|
1025
|
-
after: (Scalars['String'] | null);
|
|
1026
|
-
__typename: 'InstagramCursors';
|
|
1027
|
-
}
|
|
1028
|
-
export interface InstagramPaging {
|
|
1029
|
-
cursors: (InstagramCursors | null);
|
|
1030
|
-
next: (Scalars['String'] | null);
|
|
1031
|
-
__typename: 'InstagramPaging';
|
|
1032
|
-
}
|
|
1033
|
-
export interface InstagramMetric {
|
|
1034
|
-
name: Scalars['String'];
|
|
1035
|
-
period: Scalars['String'];
|
|
1036
|
-
values: Scalars['String'];
|
|
1037
|
-
__typename: 'InstagramMetric';
|
|
1038
|
-
}
|
|
1039
|
-
export interface InstagramInsights {
|
|
1040
|
-
data: (InstagramMetric[] | null);
|
|
1041
|
-
__typename: 'InstagramInsights';
|
|
1042
|
-
}
|
|
1043
|
-
export interface InstagramMediaItem {
|
|
1044
|
-
id: Scalars['String'];
|
|
1045
|
-
caption: (Scalars['String'] | null);
|
|
1046
|
-
media_type: Scalars['String'];
|
|
1047
|
-
media_url: (Scalars['String'] | null);
|
|
1048
|
-
permalink: Scalars['String'];
|
|
1049
|
-
thumbnail_url: (Scalars['String'] | null);
|
|
1050
|
-
timestamp: Scalars['String'];
|
|
1051
|
-
username: Scalars['String'];
|
|
1052
|
-
like_count: (Scalars['Float'] | null);
|
|
1053
|
-
comments_count: (Scalars['Float'] | null);
|
|
1054
|
-
insights: (InstagramInsights | null);
|
|
1055
|
-
__typename: 'InstagramMediaItem';
|
|
1056
|
-
}
|
|
1057
|
-
export interface InstagramMediaData {
|
|
1058
|
-
data: (InstagramMediaItem[] | null);
|
|
1059
|
-
paging: (InstagramPaging | null);
|
|
1060
|
-
__typename: 'InstagramMediaData';
|
|
1061
|
-
}
|
|
1062
|
-
export interface InstagramUserData {
|
|
1063
|
-
user_id: Scalars['String'];
|
|
1064
|
-
username: Scalars['String'];
|
|
1065
|
-
name: (Scalars['String'] | null);
|
|
1066
|
-
account_type: (Scalars['String'] | null);
|
|
1067
|
-
followers_count: (Scalars['String'] | null);
|
|
1068
|
-
media_count: (Scalars['Float'] | null);
|
|
1069
|
-
__typename: 'InstagramUserData';
|
|
1070
|
-
}
|
|
1071
1024
|
export interface AthleteIntegrationReference {
|
|
1072
1025
|
_id: Scalars['String'];
|
|
1073
1026
|
athlete: AthleteReference;
|
|
1074
1027
|
hasStravaIntegration: (Scalars['Boolean'] | null);
|
|
1075
1028
|
stravaTokenExpires: (Scalars['DateTime'] | null);
|
|
1076
1029
|
stravaAthleteData: (StravaAthleteData | null);
|
|
1077
|
-
hasInstagramIntegration: (Scalars['Boolean'] | null);
|
|
1078
|
-
instagramTokenExpires: (Scalars['DateTime'] | null);
|
|
1079
|
-
instagramUserData: (InstagramUserData | null);
|
|
1080
|
-
instagramMediaData: (InstagramMediaData | null);
|
|
1081
1030
|
__typename: 'AthleteIntegrationReference';
|
|
1082
1031
|
}
|
|
1083
1032
|
export interface EditValueResponse {
|
|
@@ -1092,6 +1041,13 @@ export interface ErrorType {
|
|
|
1092
1041
|
message: Scalars['String'];
|
|
1093
1042
|
__typename: 'ErrorType';
|
|
1094
1043
|
}
|
|
1044
|
+
export interface DeleteValuesResponse {
|
|
1045
|
+
deleted: Scalars['String'][];
|
|
1046
|
+
failedToDelete: Scalars['String'][];
|
|
1047
|
+
failureReason: ErrorType[];
|
|
1048
|
+
result: Scalars['String'];
|
|
1049
|
+
__typename: 'DeleteValuesResponse';
|
|
1050
|
+
}
|
|
1095
1051
|
export interface DeleteSingleValueResponse {
|
|
1096
1052
|
idToDelete: Scalars['String'];
|
|
1097
1053
|
deleted: Scalars['Boolean'];
|
|
@@ -1144,13 +1100,6 @@ export interface UserImages {
|
|
|
1144
1100
|
bannerPictureUrl: (Scalars['String'] | null);
|
|
1145
1101
|
__typename: 'UserImages';
|
|
1146
1102
|
}
|
|
1147
|
-
export interface DeleteValuesResponse {
|
|
1148
|
-
deleted: Scalars['String'][];
|
|
1149
|
-
failedToDelete: Scalars['String'][];
|
|
1150
|
-
failureReason: ErrorType[];
|
|
1151
|
-
result: Scalars['String'];
|
|
1152
|
-
__typename: 'DeleteValuesResponse';
|
|
1153
|
-
}
|
|
1154
1103
|
export interface Query {
|
|
1155
1104
|
findTenantById: Tenant;
|
|
1156
1105
|
findTenantByEmail: Tenant;
|
|
@@ -1178,7 +1127,8 @@ export interface Query {
|
|
|
1178
1127
|
getAthleteCompetitions: AthleteCompetition[];
|
|
1179
1128
|
getAthleteMemberships: AthleteMembership[];
|
|
1180
1129
|
findAthletebyIdpublic: Athlete;
|
|
1181
|
-
getAthleteAlbums: Album;
|
|
1130
|
+
getAthleteAlbums: Album[];
|
|
1131
|
+
getAndSetAlbumById: Album;
|
|
1182
1132
|
getAthleteAlbumId: Album;
|
|
1183
1133
|
queryAthleteWithFilter: AthleteQueryResponse;
|
|
1184
1134
|
getSports: Sport[];
|
|
@@ -1195,12 +1145,12 @@ export interface Query {
|
|
|
1195
1145
|
findVtxUser: User;
|
|
1196
1146
|
validateUserCredentialsVtx: User;
|
|
1197
1147
|
getUserImagesFromEmail: UserImages;
|
|
1148
|
+
getResetVerificationCode: VerificationCode;
|
|
1149
|
+
verifyCode: CodeVerificationResponse;
|
|
1198
1150
|
getStravaLoginUrl: Scalars['String'];
|
|
1199
1151
|
getSportsEvents: SportsEvent[];
|
|
1200
1152
|
getMembershipOrganizations: MembershipOrganizationReference[];
|
|
1201
|
-
|
|
1202
|
-
getAthleteInstagramIntegration: AthleteIntegrationReference;
|
|
1203
|
-
getAthleteIntegrations: AthleteIntegrationReference;
|
|
1153
|
+
getAthleteIntegrationsByAthlete: AthleteIntegrationReference;
|
|
1204
1154
|
stripeQuery: StripeObject;
|
|
1205
1155
|
getDatabaseTextFile: TextDatabaseFile;
|
|
1206
1156
|
__typename: 'Query';
|
|
@@ -1226,13 +1176,12 @@ export interface Mutation {
|
|
|
1226
1176
|
editProfileValue: EditValueResponse;
|
|
1227
1177
|
editPicture: EditPictureResponse;
|
|
1228
1178
|
AddAlbumPictures: AddValuesResponse;
|
|
1229
|
-
DeletePictureBuket: DeleteSingleValueResponse;
|
|
1230
1179
|
addAthleteCompetition: AthleteCompetition;
|
|
1231
1180
|
deleteAthleteCompetition: DeleteSingleValueResponse;
|
|
1232
1181
|
createAthleteAlbum: Album;
|
|
1182
|
+
editAlbum: Album;
|
|
1233
1183
|
deleteAthleteAlbum: DeleteSingleValueResponse;
|
|
1234
|
-
|
|
1235
|
-
updateAthleteTpiScore: Athlete;
|
|
1184
|
+
deleteAthletePhotos: DeleteValuesResponse;
|
|
1236
1185
|
createSport: Sport;
|
|
1237
1186
|
updateSport: Sport;
|
|
1238
1187
|
createSportLevel: SportLevel;
|
|
@@ -1246,6 +1195,8 @@ export interface Mutation {
|
|
|
1246
1195
|
registerAthleteUser: User;
|
|
1247
1196
|
registerSponsorUser: User;
|
|
1248
1197
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1198
|
+
createResetPasswordCode: EditValueResponse;
|
|
1199
|
+
resetUserPassword: EditValueResponse;
|
|
1249
1200
|
handleStravaCallback: StravaToken;
|
|
1250
1201
|
refreshStravaToken: StravaToken;
|
|
1251
1202
|
createSportsEvent: SportsEvent;
|
|
@@ -1254,7 +1205,7 @@ export interface Mutation {
|
|
|
1254
1205
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
1255
1206
|
createAthleteMembershipAffilation: AthleteMembership;
|
|
1256
1207
|
deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
|
|
1257
|
-
|
|
1208
|
+
deleteAthleteIntegration: Scalars['Boolean'];
|
|
1258
1209
|
createStripeAccount: StripeAccountReference;
|
|
1259
1210
|
createAthleteStripeSession: StripeSession;
|
|
1260
1211
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
@@ -2099,9 +2050,24 @@ export interface ChannelGenqlSelection {
|
|
|
2099
2050
|
__typename?: boolean | number;
|
|
2100
2051
|
__scalar?: boolean | number;
|
|
2101
2052
|
}
|
|
2053
|
+
export interface PhotoAlbumGenqlSelection {
|
|
2054
|
+
_id?: boolean | number;
|
|
2055
|
+
photo?: AWSS3FileGenqlSelection;
|
|
2056
|
+
__typename?: boolean | number;
|
|
2057
|
+
__scalar?: boolean | number;
|
|
2058
|
+
}
|
|
2059
|
+
export interface AlbumGenqlSelection {
|
|
2060
|
+
_id?: boolean | number;
|
|
2061
|
+
label?: boolean | number;
|
|
2062
|
+
description?: boolean | number;
|
|
2063
|
+
photos?: PhotoAlbumGenqlSelection;
|
|
2064
|
+
__typename?: boolean | number;
|
|
2065
|
+
__scalar?: boolean | number;
|
|
2066
|
+
}
|
|
2102
2067
|
export interface AthletePreferencesGenqlSelection {
|
|
2103
2068
|
_id?: boolean | number;
|
|
2104
2069
|
showProfileHelper?: boolean | number;
|
|
2070
|
+
defaultAlbum?: AlbumGenqlSelection;
|
|
2105
2071
|
__typename?: boolean | number;
|
|
2106
2072
|
__scalar?: boolean | number;
|
|
2107
2073
|
}
|
|
@@ -2249,20 +2215,6 @@ export interface StripeAccountReferenceGenqlSelection {
|
|
|
2249
2215
|
__typename?: boolean | number;
|
|
2250
2216
|
__scalar?: boolean | number;
|
|
2251
2217
|
}
|
|
2252
|
-
export interface PhotoAlbumGenqlSelection {
|
|
2253
|
-
_id?: boolean | number;
|
|
2254
|
-
photo?: AWSS3FileGenqlSelection;
|
|
2255
|
-
__typename?: boolean | number;
|
|
2256
|
-
__scalar?: boolean | number;
|
|
2257
|
-
}
|
|
2258
|
-
export interface AlbumGenqlSelection {
|
|
2259
|
-
_id?: boolean | number;
|
|
2260
|
-
label?: boolean | number;
|
|
2261
|
-
description?: boolean | number;
|
|
2262
|
-
photos?: PhotoAlbumGenqlSelection;
|
|
2263
|
-
__typename?: boolean | number;
|
|
2264
|
-
__scalar?: boolean | number;
|
|
2265
|
-
}
|
|
2266
2218
|
export interface AthleteReferenceGenqlSelection {
|
|
2267
2219
|
_id?: boolean | number;
|
|
2268
2220
|
firstName?: boolean | number;
|
|
@@ -2381,71 +2333,12 @@ export interface StravaAthleteDataGenqlSelection {
|
|
|
2381
2333
|
__typename?: boolean | number;
|
|
2382
2334
|
__scalar?: boolean | number;
|
|
2383
2335
|
}
|
|
2384
|
-
export interface InstagramCursorsGenqlSelection {
|
|
2385
|
-
before?: boolean | number;
|
|
2386
|
-
after?: boolean | number;
|
|
2387
|
-
__typename?: boolean | number;
|
|
2388
|
-
__scalar?: boolean | number;
|
|
2389
|
-
}
|
|
2390
|
-
export interface InstagramPagingGenqlSelection {
|
|
2391
|
-
cursors?: InstagramCursorsGenqlSelection;
|
|
2392
|
-
next?: boolean | number;
|
|
2393
|
-
__typename?: boolean | number;
|
|
2394
|
-
__scalar?: boolean | number;
|
|
2395
|
-
}
|
|
2396
|
-
export interface InstagramMetricGenqlSelection {
|
|
2397
|
-
name?: boolean | number;
|
|
2398
|
-
period?: boolean | number;
|
|
2399
|
-
values?: boolean | number;
|
|
2400
|
-
__typename?: boolean | number;
|
|
2401
|
-
__scalar?: boolean | number;
|
|
2402
|
-
}
|
|
2403
|
-
export interface InstagramInsightsGenqlSelection {
|
|
2404
|
-
data?: InstagramMetricGenqlSelection;
|
|
2405
|
-
__typename?: boolean | number;
|
|
2406
|
-
__scalar?: boolean | number;
|
|
2407
|
-
}
|
|
2408
|
-
export interface InstagramMediaItemGenqlSelection {
|
|
2409
|
-
id?: boolean | number;
|
|
2410
|
-
caption?: boolean | number;
|
|
2411
|
-
media_type?: boolean | number;
|
|
2412
|
-
media_url?: boolean | number;
|
|
2413
|
-
permalink?: boolean | number;
|
|
2414
|
-
thumbnail_url?: boolean | number;
|
|
2415
|
-
timestamp?: boolean | number;
|
|
2416
|
-
username?: boolean | number;
|
|
2417
|
-
like_count?: boolean | number;
|
|
2418
|
-
comments_count?: boolean | number;
|
|
2419
|
-
insights?: InstagramInsightsGenqlSelection;
|
|
2420
|
-
__typename?: boolean | number;
|
|
2421
|
-
__scalar?: boolean | number;
|
|
2422
|
-
}
|
|
2423
|
-
export interface InstagramMediaDataGenqlSelection {
|
|
2424
|
-
data?: InstagramMediaItemGenqlSelection;
|
|
2425
|
-
paging?: InstagramPagingGenqlSelection;
|
|
2426
|
-
__typename?: boolean | number;
|
|
2427
|
-
__scalar?: boolean | number;
|
|
2428
|
-
}
|
|
2429
|
-
export interface InstagramUserDataGenqlSelection {
|
|
2430
|
-
user_id?: boolean | number;
|
|
2431
|
-
username?: boolean | number;
|
|
2432
|
-
name?: boolean | number;
|
|
2433
|
-
account_type?: boolean | number;
|
|
2434
|
-
followers_count?: boolean | number;
|
|
2435
|
-
media_count?: boolean | number;
|
|
2436
|
-
__typename?: boolean | number;
|
|
2437
|
-
__scalar?: boolean | number;
|
|
2438
|
-
}
|
|
2439
2336
|
export interface AthleteIntegrationReferenceGenqlSelection {
|
|
2440
2337
|
_id?: boolean | number;
|
|
2441
2338
|
athlete?: AthleteReferenceGenqlSelection;
|
|
2442
2339
|
hasStravaIntegration?: boolean | number;
|
|
2443
2340
|
stravaTokenExpires?: boolean | number;
|
|
2444
2341
|
stravaAthleteData?: StravaAthleteDataGenqlSelection;
|
|
2445
|
-
hasInstagramIntegration?: boolean | number;
|
|
2446
|
-
instagramTokenExpires?: boolean | number;
|
|
2447
|
-
instagramUserData?: InstagramUserDataGenqlSelection;
|
|
2448
|
-
instagramMediaData?: InstagramMediaDataGenqlSelection;
|
|
2449
2342
|
__typename?: boolean | number;
|
|
2450
2343
|
__scalar?: boolean | number;
|
|
2451
2344
|
}
|
|
@@ -2463,6 +2356,14 @@ export interface ErrorTypeGenqlSelection {
|
|
|
2463
2356
|
__typename?: boolean | number;
|
|
2464
2357
|
__scalar?: boolean | number;
|
|
2465
2358
|
}
|
|
2359
|
+
export interface DeleteValuesResponseGenqlSelection {
|
|
2360
|
+
deleted?: boolean | number;
|
|
2361
|
+
failedToDelete?: boolean | number;
|
|
2362
|
+
failureReason?: ErrorTypeGenqlSelection;
|
|
2363
|
+
result?: boolean | number;
|
|
2364
|
+
__typename?: boolean | number;
|
|
2365
|
+
__scalar?: boolean | number;
|
|
2366
|
+
}
|
|
2466
2367
|
export interface DeleteSingleValueResponseGenqlSelection {
|
|
2467
2368
|
idToDelete?: boolean | number;
|
|
2468
2369
|
deleted?: boolean | number;
|
|
@@ -2523,14 +2424,6 @@ export interface UserImagesGenqlSelection {
|
|
|
2523
2424
|
__typename?: boolean | number;
|
|
2524
2425
|
__scalar?: boolean | number;
|
|
2525
2426
|
}
|
|
2526
|
-
export interface DeleteValuesResponseGenqlSelection {
|
|
2527
|
-
deleted?: boolean | number;
|
|
2528
|
-
failedToDelete?: boolean | number;
|
|
2529
|
-
failureReason?: ErrorTypeGenqlSelection;
|
|
2530
|
-
result?: boolean | number;
|
|
2531
|
-
__typename?: boolean | number;
|
|
2532
|
-
__scalar?: boolean | number;
|
|
2533
|
-
}
|
|
2534
2427
|
export interface CreateDatabaseFileDto {
|
|
2535
2428
|
identifier: Scalars['String'];
|
|
2536
2429
|
version?: Scalars['String'];
|
|
@@ -2696,6 +2589,11 @@ export interface UploadAlbumsPicturesDto {
|
|
|
2696
2589
|
label: Scalars['String'];
|
|
2697
2590
|
description?: (Scalars['String'] | null);
|
|
2698
2591
|
pictures?: (AWSS3UploadedFileDto[] | null);
|
|
2592
|
+
albumId?: (Scalars['String'] | null);
|
|
2593
|
+
}
|
|
2594
|
+
export interface DeleteValuesDto {
|
|
2595
|
+
idsToDelete: Scalars['String'][];
|
|
2596
|
+
allOrNone?: (Scalars['Boolean'] | null);
|
|
2699
2597
|
}
|
|
2700
2598
|
export interface QualificationDto {
|
|
2701
2599
|
type: Scalars['String'];
|
|
@@ -2750,9 +2648,9 @@ export interface RegisterUserDto {
|
|
|
2750
2648
|
password: Scalars['String'];
|
|
2751
2649
|
inviteCode?: (Scalars['String'] | null);
|
|
2752
2650
|
}
|
|
2753
|
-
export interface
|
|
2754
|
-
|
|
2755
|
-
|
|
2651
|
+
export interface resetPasswordDto {
|
|
2652
|
+
code: VerifyCodeDto;
|
|
2653
|
+
newPassword?: (Scalars['String'] | null);
|
|
2756
2654
|
}
|
|
2757
2655
|
export interface BudgetItemDto {
|
|
2758
2656
|
quantity: Scalars['Float'];
|
|
@@ -2954,6 +2852,11 @@ export interface QueryGenqlSelection {
|
|
|
2954
2852
|
};
|
|
2955
2853
|
});
|
|
2956
2854
|
getAthleteAlbums?: AlbumGenqlSelection;
|
|
2855
|
+
getAndSetAlbumById?: (AlbumGenqlSelection & {
|
|
2856
|
+
__args: {
|
|
2857
|
+
input: Scalars['String'];
|
|
2858
|
+
};
|
|
2859
|
+
});
|
|
2957
2860
|
getAthleteAlbumId?: (AlbumGenqlSelection & {
|
|
2958
2861
|
__args: {
|
|
2959
2862
|
input: Scalars['String'];
|
|
@@ -3011,6 +2914,16 @@ export interface QueryGenqlSelection {
|
|
|
3011
2914
|
loginEmail: Scalars['String'];
|
|
3012
2915
|
};
|
|
3013
2916
|
});
|
|
2917
|
+
getResetVerificationCode?: (VerificationCodeGenqlSelection & {
|
|
2918
|
+
__args: {
|
|
2919
|
+
input: Scalars['String'];
|
|
2920
|
+
};
|
|
2921
|
+
});
|
|
2922
|
+
verifyCode?: (CodeVerificationResponseGenqlSelection & {
|
|
2923
|
+
__args: {
|
|
2924
|
+
input: VerifyCodeDto;
|
|
2925
|
+
};
|
|
2926
|
+
});
|
|
3014
2927
|
getStravaLoginUrl?: boolean | number;
|
|
3015
2928
|
getSportsEvents?: (SportsEventGenqlSelection & {
|
|
3016
2929
|
__args: {
|
|
@@ -3018,9 +2931,7 @@ export interface QueryGenqlSelection {
|
|
|
3018
2931
|
};
|
|
3019
2932
|
});
|
|
3020
2933
|
getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
|
|
3021
|
-
|
|
3022
|
-
getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
3023
|
-
getAthleteIntegrations?: AthleteIntegrationReferenceGenqlSelection;
|
|
2934
|
+
getAthleteIntegrationsByAthlete?: AthleteIntegrationReferenceGenqlSelection;
|
|
3024
2935
|
stripeQuery?: (StripeObjectGenqlSelection & {
|
|
3025
2936
|
__args: {
|
|
3026
2937
|
input: StripeQueryDto;
|
|
@@ -3156,11 +3067,6 @@ export interface MutationGenqlSelection {
|
|
|
3156
3067
|
input: UploadAlbumsPicturesDto;
|
|
3157
3068
|
};
|
|
3158
3069
|
});
|
|
3159
|
-
DeletePictureBuket?: (DeleteSingleValueResponseGenqlSelection & {
|
|
3160
|
-
__args: {
|
|
3161
|
-
input: AWSS3DeleteUseTypeFileDto;
|
|
3162
|
-
};
|
|
3163
|
-
});
|
|
3164
3070
|
addAthleteCompetition?: (AthleteCompetitionGenqlSelection & {
|
|
3165
3071
|
__args: {
|
|
3166
3072
|
input: CreateAthleteCompetitionDto;
|
|
@@ -3176,17 +3082,21 @@ export interface MutationGenqlSelection {
|
|
|
3176
3082
|
input: UploadAlbumsPicturesDto;
|
|
3177
3083
|
};
|
|
3178
3084
|
});
|
|
3085
|
+
editAlbum?: (AlbumGenqlSelection & {
|
|
3086
|
+
__args: {
|
|
3087
|
+
input: UploadAlbumsPicturesDto;
|
|
3088
|
+
};
|
|
3089
|
+
});
|
|
3179
3090
|
deleteAthleteAlbum?: (DeleteSingleValueResponseGenqlSelection & {
|
|
3180
3091
|
__args: {
|
|
3181
3092
|
input: DeleteSingleValueDto;
|
|
3182
3093
|
};
|
|
3183
3094
|
});
|
|
3184
|
-
|
|
3095
|
+
deleteAthletePhotos?: (DeleteValuesResponseGenqlSelection & {
|
|
3185
3096
|
__args: {
|
|
3186
|
-
input:
|
|
3097
|
+
input: DeleteValuesDto;
|
|
3187
3098
|
};
|
|
3188
3099
|
});
|
|
3189
|
-
updateAthleteTpiScore?: AthleteGenqlSelection;
|
|
3190
3100
|
createSport?: (SportGenqlSelection & {
|
|
3191
3101
|
__args: {
|
|
3192
3102
|
input: CreateSportDto;
|
|
@@ -3253,6 +3163,16 @@ export interface MutationGenqlSelection {
|
|
|
3253
3163
|
password: Scalars['String'];
|
|
3254
3164
|
};
|
|
3255
3165
|
});
|
|
3166
|
+
createResetPasswordCode?: (EditValueResponseGenqlSelection & {
|
|
3167
|
+
__args: {
|
|
3168
|
+
input: Scalars['String'];
|
|
3169
|
+
};
|
|
3170
|
+
});
|
|
3171
|
+
resetUserPassword?: (EditValueResponseGenqlSelection & {
|
|
3172
|
+
__args: {
|
|
3173
|
+
input: resetPasswordDto;
|
|
3174
|
+
};
|
|
3175
|
+
});
|
|
3256
3176
|
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
3257
3177
|
__args: {
|
|
3258
3178
|
data: RegisterStravaDto;
|
|
@@ -3293,11 +3213,7 @@ export interface MutationGenqlSelection {
|
|
|
3293
3213
|
input: DeleteSingleValueDto;
|
|
3294
3214
|
};
|
|
3295
3215
|
});
|
|
3296
|
-
|
|
3297
|
-
__args: {
|
|
3298
|
-
type: Scalars['String'];
|
|
3299
|
-
};
|
|
3300
|
-
};
|
|
3216
|
+
deleteAthleteIntegration?: boolean | number;
|
|
3301
3217
|
createStripeAccount?: (StripeAccountReferenceGenqlSelection & {
|
|
3302
3218
|
__args: {
|
|
3303
3219
|
input: CreateStripeAccountDto;
|
|
@@ -3772,6 +3688,12 @@ export declare const isNewsLink: (obj?: {
|
|
|
3772
3688
|
export declare const isChannel: (obj?: {
|
|
3773
3689
|
__typename?: any;
|
|
3774
3690
|
} | null) => obj is Channel;
|
|
3691
|
+
export declare const isPhotoAlbum: (obj?: {
|
|
3692
|
+
__typename?: any;
|
|
3693
|
+
} | null) => obj is PhotoAlbum;
|
|
3694
|
+
export declare const isAlbum: (obj?: {
|
|
3695
|
+
__typename?: any;
|
|
3696
|
+
} | null) => obj is Album;
|
|
3775
3697
|
export declare const isAthletePreferences: (obj?: {
|
|
3776
3698
|
__typename?: any;
|
|
3777
3699
|
} | null) => obj is AthletePreferences;
|
|
@@ -3802,12 +3724,6 @@ export declare const isStripeAccount: (obj?: {
|
|
|
3802
3724
|
export declare const isStripeAccountReference: (obj?: {
|
|
3803
3725
|
__typename?: any;
|
|
3804
3726
|
} | null) => obj is StripeAccountReference;
|
|
3805
|
-
export declare const isPhotoAlbum: (obj?: {
|
|
3806
|
-
__typename?: any;
|
|
3807
|
-
} | null) => obj is PhotoAlbum;
|
|
3808
|
-
export declare const isAlbum: (obj?: {
|
|
3809
|
-
__typename?: any;
|
|
3810
|
-
} | null) => obj is Album;
|
|
3811
3727
|
export declare const isAthleteReference: (obj?: {
|
|
3812
3728
|
__typename?: any;
|
|
3813
3729
|
} | null) => obj is AthleteReference;
|
|
@@ -3829,27 +3745,6 @@ export declare const isStripeCheckoutSession: (obj?: {
|
|
|
3829
3745
|
export declare const isStravaAthleteData: (obj?: {
|
|
3830
3746
|
__typename?: any;
|
|
3831
3747
|
} | null) => obj is StravaAthleteData;
|
|
3832
|
-
export declare const isInstagramCursors: (obj?: {
|
|
3833
|
-
__typename?: any;
|
|
3834
|
-
} | null) => obj is InstagramCursors;
|
|
3835
|
-
export declare const isInstagramPaging: (obj?: {
|
|
3836
|
-
__typename?: any;
|
|
3837
|
-
} | null) => obj is InstagramPaging;
|
|
3838
|
-
export declare const isInstagramMetric: (obj?: {
|
|
3839
|
-
__typename?: any;
|
|
3840
|
-
} | null) => obj is InstagramMetric;
|
|
3841
|
-
export declare const isInstagramInsights: (obj?: {
|
|
3842
|
-
__typename?: any;
|
|
3843
|
-
} | null) => obj is InstagramInsights;
|
|
3844
|
-
export declare const isInstagramMediaItem: (obj?: {
|
|
3845
|
-
__typename?: any;
|
|
3846
|
-
} | null) => obj is InstagramMediaItem;
|
|
3847
|
-
export declare const isInstagramMediaData: (obj?: {
|
|
3848
|
-
__typename?: any;
|
|
3849
|
-
} | null) => obj is InstagramMediaData;
|
|
3850
|
-
export declare const isInstagramUserData: (obj?: {
|
|
3851
|
-
__typename?: any;
|
|
3852
|
-
} | null) => obj is InstagramUserData;
|
|
3853
3748
|
export declare const isAthleteIntegrationReference: (obj?: {
|
|
3854
3749
|
__typename?: any;
|
|
3855
3750
|
} | null) => obj is AthleteIntegrationReference;
|
|
@@ -3859,6 +3754,9 @@ export declare const isEditValueResponse: (obj?: {
|
|
|
3859
3754
|
export declare const isErrorType: (obj?: {
|
|
3860
3755
|
__typename?: any;
|
|
3861
3756
|
} | null) => obj is ErrorType;
|
|
3757
|
+
export declare const isDeleteValuesResponse: (obj?: {
|
|
3758
|
+
__typename?: any;
|
|
3759
|
+
} | null) => obj is DeleteValuesResponse;
|
|
3862
3760
|
export declare const isDeleteSingleValueResponse: (obj?: {
|
|
3863
3761
|
__typename?: any;
|
|
3864
3762
|
} | null) => obj is DeleteSingleValueResponse;
|
|
@@ -3883,9 +3781,6 @@ export declare const isStripeObject: (obj?: {
|
|
|
3883
3781
|
export declare const isUserImages: (obj?: {
|
|
3884
3782
|
__typename?: any;
|
|
3885
3783
|
} | null) => obj is UserImages;
|
|
3886
|
-
export declare const isDeleteValuesResponse: (obj?: {
|
|
3887
|
-
__typename?: any;
|
|
3888
|
-
} | null) => obj is DeleteValuesResponse;
|
|
3889
3784
|
export declare const isQuery: (obj?: {
|
|
3890
3785
|
__typename?: any;
|
|
3891
3786
|
} | null) => obj is Query;
|
package/src/client/schema.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isAthleteCriteria = exports.isSportsLevelQualification = exports.isSportsQualification = exports.isDistanceQualification = exports.isNationalityQualification = exports.isLocationQualification = exports.isScoreQualification = exports.isGenderQualification = exports.isAgeQualification = exports.isCountry = exports.isState = exports.isCity = exports.isStravaTpiSwimDto = exports.isStravaTpiRunDto = exports.isStravaTpiRideDto = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isCodeVerificationResponse = exports.isTextDatabaseFile = exports.isDatabaseFile = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isErrorInfo = exports.isVerificationCode = exports.isMagicLink = exports.isAWSS3File = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isAgreement = exports.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.isMutation = exports.isQuery = exports.
|
|
4
|
+
exports.isAthleteIntegrationReference = exports.isStravaAthleteData = exports.isStripeCheckoutSession = exports.isStripeSession = exports.isStravaToken = exports.isSponsorAthleteInvitation = exports.isAthlete = exports.isAthleteReference = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isFundRaisingCampaign = exports.isAthletePreferences = exports.isAlbum = exports.isPhotoAlbum = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = exports.isSponsorshipCommitment = exports.isSponsorshipItem = exports.isSponsor = exports.isSponsorBrand = exports.isSponsorStats = exports.isIndustry = exports.isQualificationTypeUnion = void 0;
|
|
5
|
+
exports.isMutation = exports.isQuery = exports.isUserImages = exports.isStripeObject = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.isDeleteValuesResponse = exports.isErrorType = exports.isEditValueResponse = void 0;
|
|
6
6
|
const User_possibleTypes = ['User'];
|
|
7
7
|
const isUser = (obj) => {
|
|
8
8
|
if (!obj?.__typename)
|
|
@@ -563,6 +563,20 @@ const isChannel = (obj) => {
|
|
|
563
563
|
return Channel_possibleTypes.includes(obj.__typename);
|
|
564
564
|
};
|
|
565
565
|
exports.isChannel = isChannel;
|
|
566
|
+
const PhotoAlbum_possibleTypes = ['PhotoAlbum'];
|
|
567
|
+
const isPhotoAlbum = (obj) => {
|
|
568
|
+
if (!obj?.__typename)
|
|
569
|
+
throw new Error('__typename is missing in "isPhotoAlbum"');
|
|
570
|
+
return PhotoAlbum_possibleTypes.includes(obj.__typename);
|
|
571
|
+
};
|
|
572
|
+
exports.isPhotoAlbum = isPhotoAlbum;
|
|
573
|
+
const Album_possibleTypes = ['Album'];
|
|
574
|
+
const isAlbum = (obj) => {
|
|
575
|
+
if (!obj?.__typename)
|
|
576
|
+
throw new Error('__typename is missing in "isAlbum"');
|
|
577
|
+
return Album_possibleTypes.includes(obj.__typename);
|
|
578
|
+
};
|
|
579
|
+
exports.isAlbum = isAlbum;
|
|
566
580
|
const AthletePreferences_possibleTypes = ['AthletePreferences'];
|
|
567
581
|
const isAthletePreferences = (obj) => {
|
|
568
582
|
if (!obj?.__typename)
|
|
@@ -633,20 +647,6 @@ const isStripeAccountReference = (obj) => {
|
|
|
633
647
|
return StripeAccountReference_possibleTypes.includes(obj.__typename);
|
|
634
648
|
};
|
|
635
649
|
exports.isStripeAccountReference = isStripeAccountReference;
|
|
636
|
-
const PhotoAlbum_possibleTypes = ['PhotoAlbum'];
|
|
637
|
-
const isPhotoAlbum = (obj) => {
|
|
638
|
-
if (!obj?.__typename)
|
|
639
|
-
throw new Error('__typename is missing in "isPhotoAlbum"');
|
|
640
|
-
return PhotoAlbum_possibleTypes.includes(obj.__typename);
|
|
641
|
-
};
|
|
642
|
-
exports.isPhotoAlbum = isPhotoAlbum;
|
|
643
|
-
const Album_possibleTypes = ['Album'];
|
|
644
|
-
const isAlbum = (obj) => {
|
|
645
|
-
if (!obj?.__typename)
|
|
646
|
-
throw new Error('__typename is missing in "isAlbum"');
|
|
647
|
-
return Album_possibleTypes.includes(obj.__typename);
|
|
648
|
-
};
|
|
649
|
-
exports.isAlbum = isAlbum;
|
|
650
650
|
const AthleteReference_possibleTypes = ['AthleteReference'];
|
|
651
651
|
const isAthleteReference = (obj) => {
|
|
652
652
|
if (!obj?.__typename)
|
|
@@ -696,55 +696,6 @@ const isStravaAthleteData = (obj) => {
|
|
|
696
696
|
return StravaAthleteData_possibleTypes.includes(obj.__typename);
|
|
697
697
|
};
|
|
698
698
|
exports.isStravaAthleteData = isStravaAthleteData;
|
|
699
|
-
const InstagramCursors_possibleTypes = ['InstagramCursors'];
|
|
700
|
-
const isInstagramCursors = (obj) => {
|
|
701
|
-
if (!obj?.__typename)
|
|
702
|
-
throw new Error('__typename is missing in "isInstagramCursors"');
|
|
703
|
-
return InstagramCursors_possibleTypes.includes(obj.__typename);
|
|
704
|
-
};
|
|
705
|
-
exports.isInstagramCursors = isInstagramCursors;
|
|
706
|
-
const InstagramPaging_possibleTypes = ['InstagramPaging'];
|
|
707
|
-
const isInstagramPaging = (obj) => {
|
|
708
|
-
if (!obj?.__typename)
|
|
709
|
-
throw new Error('__typename is missing in "isInstagramPaging"');
|
|
710
|
-
return InstagramPaging_possibleTypes.includes(obj.__typename);
|
|
711
|
-
};
|
|
712
|
-
exports.isInstagramPaging = isInstagramPaging;
|
|
713
|
-
const InstagramMetric_possibleTypes = ['InstagramMetric'];
|
|
714
|
-
const isInstagramMetric = (obj) => {
|
|
715
|
-
if (!obj?.__typename)
|
|
716
|
-
throw new Error('__typename is missing in "isInstagramMetric"');
|
|
717
|
-
return InstagramMetric_possibleTypes.includes(obj.__typename);
|
|
718
|
-
};
|
|
719
|
-
exports.isInstagramMetric = isInstagramMetric;
|
|
720
|
-
const InstagramInsights_possibleTypes = ['InstagramInsights'];
|
|
721
|
-
const isInstagramInsights = (obj) => {
|
|
722
|
-
if (!obj?.__typename)
|
|
723
|
-
throw new Error('__typename is missing in "isInstagramInsights"');
|
|
724
|
-
return InstagramInsights_possibleTypes.includes(obj.__typename);
|
|
725
|
-
};
|
|
726
|
-
exports.isInstagramInsights = isInstagramInsights;
|
|
727
|
-
const InstagramMediaItem_possibleTypes = ['InstagramMediaItem'];
|
|
728
|
-
const isInstagramMediaItem = (obj) => {
|
|
729
|
-
if (!obj?.__typename)
|
|
730
|
-
throw new Error('__typename is missing in "isInstagramMediaItem"');
|
|
731
|
-
return InstagramMediaItem_possibleTypes.includes(obj.__typename);
|
|
732
|
-
};
|
|
733
|
-
exports.isInstagramMediaItem = isInstagramMediaItem;
|
|
734
|
-
const InstagramMediaData_possibleTypes = ['InstagramMediaData'];
|
|
735
|
-
const isInstagramMediaData = (obj) => {
|
|
736
|
-
if (!obj?.__typename)
|
|
737
|
-
throw new Error('__typename is missing in "isInstagramMediaData"');
|
|
738
|
-
return InstagramMediaData_possibleTypes.includes(obj.__typename);
|
|
739
|
-
};
|
|
740
|
-
exports.isInstagramMediaData = isInstagramMediaData;
|
|
741
|
-
const InstagramUserData_possibleTypes = ['InstagramUserData'];
|
|
742
|
-
const isInstagramUserData = (obj) => {
|
|
743
|
-
if (!obj?.__typename)
|
|
744
|
-
throw new Error('__typename is missing in "isInstagramUserData"');
|
|
745
|
-
return InstagramUserData_possibleTypes.includes(obj.__typename);
|
|
746
|
-
};
|
|
747
|
-
exports.isInstagramUserData = isInstagramUserData;
|
|
748
699
|
const AthleteIntegrationReference_possibleTypes = ['AthleteIntegrationReference'];
|
|
749
700
|
const isAthleteIntegrationReference = (obj) => {
|
|
750
701
|
if (!obj?.__typename)
|
|
@@ -766,6 +717,13 @@ const isErrorType = (obj) => {
|
|
|
766
717
|
return ErrorType_possibleTypes.includes(obj.__typename);
|
|
767
718
|
};
|
|
768
719
|
exports.isErrorType = isErrorType;
|
|
720
|
+
const DeleteValuesResponse_possibleTypes = ['DeleteValuesResponse'];
|
|
721
|
+
const isDeleteValuesResponse = (obj) => {
|
|
722
|
+
if (!obj?.__typename)
|
|
723
|
+
throw new Error('__typename is missing in "isDeleteValuesResponse"');
|
|
724
|
+
return DeleteValuesResponse_possibleTypes.includes(obj.__typename);
|
|
725
|
+
};
|
|
726
|
+
exports.isDeleteValuesResponse = isDeleteValuesResponse;
|
|
769
727
|
const DeleteSingleValueResponse_possibleTypes = ['DeleteSingleValueResponse'];
|
|
770
728
|
const isDeleteSingleValueResponse = (obj) => {
|
|
771
729
|
if (!obj?.__typename)
|
|
@@ -822,13 +780,6 @@ const isUserImages = (obj) => {
|
|
|
822
780
|
return UserImages_possibleTypes.includes(obj.__typename);
|
|
823
781
|
};
|
|
824
782
|
exports.isUserImages = isUserImages;
|
|
825
|
-
const DeleteValuesResponse_possibleTypes = ['DeleteValuesResponse'];
|
|
826
|
-
const isDeleteValuesResponse = (obj) => {
|
|
827
|
-
if (!obj?.__typename)
|
|
828
|
-
throw new Error('__typename is missing in "isDeleteValuesResponse"');
|
|
829
|
-
return DeleteValuesResponse_possibleTypes.includes(obj.__typename);
|
|
830
|
-
};
|
|
831
|
-
exports.isDeleteValuesResponse = isDeleteValuesResponse;
|
|
832
783
|
const Query_possibleTypes = ['Query'];
|
|
833
784
|
const isQuery = (obj) => {
|
|
834
785
|
if (!obj?.__typename)
|