@vertikalx/vtx-backend-client 1.0.0-dev-geo.78 → 1.0.0-dev-carlos.31
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 +9 -12
- package/src/api/vtx-base-api.js +206 -274
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +209 -104
- package/src/client/schema.js +72 -23
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +85 -50
- package/src/client/types.js +339 -258
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -757,22 +757,9 @@ 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
|
-
}
|
|
772
760
|
export interface AthletePreferences {
|
|
773
761
|
_id: Scalars['String'];
|
|
774
762
|
showProfileHelper: Scalars['Boolean'];
|
|
775
|
-
defaultAlbum: (Album | null);
|
|
776
763
|
__typename: 'AthletePreferences';
|
|
777
764
|
}
|
|
778
765
|
export interface FundRaisingCampaign {
|
|
@@ -910,6 +897,18 @@ export interface StripeAccountReference {
|
|
|
910
897
|
account: (StripeAccount | null);
|
|
911
898
|
__typename: 'StripeAccountReference';
|
|
912
899
|
}
|
|
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
|
+
}
|
|
913
912
|
export interface AthleteReference {
|
|
914
913
|
_id: Scalars['String'];
|
|
915
914
|
firstName: Scalars['String'];
|
|
@@ -1021,12 +1020,64 @@ export interface StravaAthleteData {
|
|
|
1021
1020
|
weight: (Scalars['Float'] | null);
|
|
1022
1021
|
__typename: 'StravaAthleteData';
|
|
1023
1022
|
}
|
|
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
|
+
}
|
|
1024
1071
|
export interface AthleteIntegrationReference {
|
|
1025
1072
|
_id: Scalars['String'];
|
|
1026
1073
|
athlete: AthleteReference;
|
|
1027
1074
|
hasStravaIntegration: (Scalars['Boolean'] | null);
|
|
1028
1075
|
stravaTokenExpires: (Scalars['DateTime'] | null);
|
|
1029
1076
|
stravaAthleteData: (StravaAthleteData | null);
|
|
1077
|
+
hasInstagramIntegration: (Scalars['Boolean'] | null);
|
|
1078
|
+
instagramTokenExpires: (Scalars['DateTime'] | null);
|
|
1079
|
+
instagramUserData: (InstagramUserData | null);
|
|
1080
|
+
instagramMediaData: (InstagramMediaData | null);
|
|
1030
1081
|
__typename: 'AthleteIntegrationReference';
|
|
1031
1082
|
}
|
|
1032
1083
|
export interface EditValueResponse {
|
|
@@ -1041,13 +1092,6 @@ export interface ErrorType {
|
|
|
1041
1092
|
message: Scalars['String'];
|
|
1042
1093
|
__typename: 'ErrorType';
|
|
1043
1094
|
}
|
|
1044
|
-
export interface DeleteValuesResponse {
|
|
1045
|
-
deleted: Scalars['String'][];
|
|
1046
|
-
failedToDelete: Scalars['String'][];
|
|
1047
|
-
failureReason: ErrorType[];
|
|
1048
|
-
result: Scalars['String'];
|
|
1049
|
-
__typename: 'DeleteValuesResponse';
|
|
1050
|
-
}
|
|
1051
1095
|
export interface DeleteSingleValueResponse {
|
|
1052
1096
|
idToDelete: Scalars['String'];
|
|
1053
1097
|
deleted: Scalars['Boolean'];
|
|
@@ -1100,6 +1144,13 @@ export interface UserImages {
|
|
|
1100
1144
|
bannerPictureUrl: (Scalars['String'] | null);
|
|
1101
1145
|
__typename: 'UserImages';
|
|
1102
1146
|
}
|
|
1147
|
+
export interface DeleteValuesResponse {
|
|
1148
|
+
deleted: Scalars['String'][];
|
|
1149
|
+
failedToDelete: Scalars['String'][];
|
|
1150
|
+
failureReason: ErrorType[];
|
|
1151
|
+
result: Scalars['String'];
|
|
1152
|
+
__typename: 'DeleteValuesResponse';
|
|
1153
|
+
}
|
|
1103
1154
|
export interface Query {
|
|
1104
1155
|
findTenantById: Tenant;
|
|
1105
1156
|
findTenantByEmail: Tenant;
|
|
@@ -1127,8 +1178,7 @@ export interface Query {
|
|
|
1127
1178
|
getAthleteCompetitions: AthleteCompetition[];
|
|
1128
1179
|
getAthleteMemberships: AthleteMembership[];
|
|
1129
1180
|
findAthletebyIdpublic: Athlete;
|
|
1130
|
-
getAthleteAlbums: Album
|
|
1131
|
-
getAndSetAlbumById: Album;
|
|
1181
|
+
getAthleteAlbums: Album;
|
|
1132
1182
|
getAthleteAlbumId: Album;
|
|
1133
1183
|
queryAthleteWithFilter: AthleteQueryResponse;
|
|
1134
1184
|
getSports: Sport[];
|
|
@@ -1145,12 +1195,12 @@ export interface Query {
|
|
|
1145
1195
|
findVtxUser: User;
|
|
1146
1196
|
validateUserCredentialsVtx: User;
|
|
1147
1197
|
getUserImagesFromEmail: UserImages;
|
|
1148
|
-
getResetVerificationCode: VerificationCode;
|
|
1149
|
-
verifyCode: CodeVerificationResponse;
|
|
1150
1198
|
getStravaLoginUrl: Scalars['String'];
|
|
1151
1199
|
getSportsEvents: SportsEvent[];
|
|
1152
1200
|
getMembershipOrganizations: MembershipOrganizationReference[];
|
|
1153
|
-
|
|
1201
|
+
getAthleteStravaIntegration: AthleteIntegrationReference;
|
|
1202
|
+
getAthleteInstagramIntegration: AthleteIntegrationReference;
|
|
1203
|
+
getAthleteIntegrations: AthleteIntegrationReference;
|
|
1154
1204
|
stripeQuery: StripeObject;
|
|
1155
1205
|
getDatabaseTextFile: TextDatabaseFile;
|
|
1156
1206
|
__typename: 'Query';
|
|
@@ -1176,12 +1226,13 @@ export interface Mutation {
|
|
|
1176
1226
|
editProfileValue: EditValueResponse;
|
|
1177
1227
|
editPicture: EditPictureResponse;
|
|
1178
1228
|
AddAlbumPictures: AddValuesResponse;
|
|
1229
|
+
DeletePictureBuket: DeleteSingleValueResponse;
|
|
1179
1230
|
addAthleteCompetition: AthleteCompetition;
|
|
1180
1231
|
deleteAthleteCompetition: DeleteSingleValueResponse;
|
|
1181
1232
|
createAthleteAlbum: Album;
|
|
1182
|
-
editAlbum: Album;
|
|
1183
1233
|
deleteAthleteAlbum: DeleteSingleValueResponse;
|
|
1184
|
-
|
|
1234
|
+
saveAthleteCompetitionResult: AthleteCompetitionResult;
|
|
1235
|
+
updateAthleteTpiScore: Athlete;
|
|
1185
1236
|
createSport: Sport;
|
|
1186
1237
|
updateSport: Sport;
|
|
1187
1238
|
createSportLevel: SportLevel;
|
|
@@ -1195,8 +1246,6 @@ export interface Mutation {
|
|
|
1195
1246
|
registerAthleteUser: User;
|
|
1196
1247
|
registerSponsorUser: User;
|
|
1197
1248
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1198
|
-
createResetPasswordCode: EditValueResponse;
|
|
1199
|
-
resetUserPassword: EditValueResponse;
|
|
1200
1249
|
handleStravaCallback: StravaToken;
|
|
1201
1250
|
refreshStravaToken: StravaToken;
|
|
1202
1251
|
createSportsEvent: SportsEvent;
|
|
@@ -1205,7 +1254,7 @@ export interface Mutation {
|
|
|
1205
1254
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
1206
1255
|
createAthleteMembershipAffilation: AthleteMembership;
|
|
1207
1256
|
deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
|
|
1208
|
-
|
|
1257
|
+
updateAthleteIntegration: Scalars['Boolean'];
|
|
1209
1258
|
createStripeAccount: StripeAccountReference;
|
|
1210
1259
|
createAthleteStripeSession: StripeSession;
|
|
1211
1260
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
@@ -2050,24 +2099,9 @@ export interface ChannelGenqlSelection {
|
|
|
2050
2099
|
__typename?: boolean | number;
|
|
2051
2100
|
__scalar?: boolean | number;
|
|
2052
2101
|
}
|
|
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
|
-
}
|
|
2067
2102
|
export interface AthletePreferencesGenqlSelection {
|
|
2068
2103
|
_id?: boolean | number;
|
|
2069
2104
|
showProfileHelper?: boolean | number;
|
|
2070
|
-
defaultAlbum?: AlbumGenqlSelection;
|
|
2071
2105
|
__typename?: boolean | number;
|
|
2072
2106
|
__scalar?: boolean | number;
|
|
2073
2107
|
}
|
|
@@ -2215,6 +2249,20 @@ export interface StripeAccountReferenceGenqlSelection {
|
|
|
2215
2249
|
__typename?: boolean | number;
|
|
2216
2250
|
__scalar?: boolean | number;
|
|
2217
2251
|
}
|
|
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
|
+
}
|
|
2218
2266
|
export interface AthleteReferenceGenqlSelection {
|
|
2219
2267
|
_id?: boolean | number;
|
|
2220
2268
|
firstName?: boolean | number;
|
|
@@ -2333,12 +2381,71 @@ export interface StravaAthleteDataGenqlSelection {
|
|
|
2333
2381
|
__typename?: boolean | number;
|
|
2334
2382
|
__scalar?: boolean | number;
|
|
2335
2383
|
}
|
|
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
|
+
}
|
|
2336
2439
|
export interface AthleteIntegrationReferenceGenqlSelection {
|
|
2337
2440
|
_id?: boolean | number;
|
|
2338
2441
|
athlete?: AthleteReferenceGenqlSelection;
|
|
2339
2442
|
hasStravaIntegration?: boolean | number;
|
|
2340
2443
|
stravaTokenExpires?: boolean | number;
|
|
2341
2444
|
stravaAthleteData?: StravaAthleteDataGenqlSelection;
|
|
2445
|
+
hasInstagramIntegration?: boolean | number;
|
|
2446
|
+
instagramTokenExpires?: boolean | number;
|
|
2447
|
+
instagramUserData?: InstagramUserDataGenqlSelection;
|
|
2448
|
+
instagramMediaData?: InstagramMediaDataGenqlSelection;
|
|
2342
2449
|
__typename?: boolean | number;
|
|
2343
2450
|
__scalar?: boolean | number;
|
|
2344
2451
|
}
|
|
@@ -2356,14 +2463,6 @@ export interface ErrorTypeGenqlSelection {
|
|
|
2356
2463
|
__typename?: boolean | number;
|
|
2357
2464
|
__scalar?: boolean | number;
|
|
2358
2465
|
}
|
|
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
|
-
}
|
|
2367
2466
|
export interface DeleteSingleValueResponseGenqlSelection {
|
|
2368
2467
|
idToDelete?: boolean | number;
|
|
2369
2468
|
deleted?: boolean | number;
|
|
@@ -2424,6 +2523,14 @@ export interface UserImagesGenqlSelection {
|
|
|
2424
2523
|
__typename?: boolean | number;
|
|
2425
2524
|
__scalar?: boolean | number;
|
|
2426
2525
|
}
|
|
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
|
+
}
|
|
2427
2534
|
export interface CreateDatabaseFileDto {
|
|
2428
2535
|
identifier: Scalars['String'];
|
|
2429
2536
|
version?: Scalars['String'];
|
|
@@ -2589,11 +2696,6 @@ export interface UploadAlbumsPicturesDto {
|
|
|
2589
2696
|
label: Scalars['String'];
|
|
2590
2697
|
description?: (Scalars['String'] | null);
|
|
2591
2698
|
pictures?: (AWSS3UploadedFileDto[] | null);
|
|
2592
|
-
albumId?: (Scalars['String'] | null);
|
|
2593
|
-
}
|
|
2594
|
-
export interface DeleteValuesDto {
|
|
2595
|
-
idsToDelete: Scalars['String'][];
|
|
2596
|
-
allOrNone?: (Scalars['Boolean'] | null);
|
|
2597
2699
|
}
|
|
2598
2700
|
export interface QualificationDto {
|
|
2599
2701
|
type: Scalars['String'];
|
|
@@ -2648,9 +2750,9 @@ export interface RegisterUserDto {
|
|
|
2648
2750
|
password: Scalars['String'];
|
|
2649
2751
|
inviteCode?: (Scalars['String'] | null);
|
|
2650
2752
|
}
|
|
2651
|
-
export interface
|
|
2652
|
-
|
|
2653
|
-
|
|
2753
|
+
export interface DeleteValuesDto {
|
|
2754
|
+
idsToDelete: Scalars['String'][];
|
|
2755
|
+
allOrNone?: (Scalars['Boolean'] | null);
|
|
2654
2756
|
}
|
|
2655
2757
|
export interface BudgetItemDto {
|
|
2656
2758
|
quantity: Scalars['Float'];
|
|
@@ -2852,11 +2954,6 @@ export interface QueryGenqlSelection {
|
|
|
2852
2954
|
};
|
|
2853
2955
|
});
|
|
2854
2956
|
getAthleteAlbums?: AlbumGenqlSelection;
|
|
2855
|
-
getAndSetAlbumById?: (AlbumGenqlSelection & {
|
|
2856
|
-
__args: {
|
|
2857
|
-
input: Scalars['String'];
|
|
2858
|
-
};
|
|
2859
|
-
});
|
|
2860
2957
|
getAthleteAlbumId?: (AlbumGenqlSelection & {
|
|
2861
2958
|
__args: {
|
|
2862
2959
|
input: Scalars['String'];
|
|
@@ -2914,16 +3011,6 @@ export interface QueryGenqlSelection {
|
|
|
2914
3011
|
loginEmail: Scalars['String'];
|
|
2915
3012
|
};
|
|
2916
3013
|
});
|
|
2917
|
-
getResetVerificationCode?: (VerificationCodeGenqlSelection & {
|
|
2918
|
-
__args: {
|
|
2919
|
-
input: Scalars['String'];
|
|
2920
|
-
};
|
|
2921
|
-
});
|
|
2922
|
-
verifyCode?: (CodeVerificationResponseGenqlSelection & {
|
|
2923
|
-
__args: {
|
|
2924
|
-
input: VerifyCodeDto;
|
|
2925
|
-
};
|
|
2926
|
-
});
|
|
2927
3014
|
getStravaLoginUrl?: boolean | number;
|
|
2928
3015
|
getSportsEvents?: (SportsEventGenqlSelection & {
|
|
2929
3016
|
__args: {
|
|
@@ -2931,7 +3018,9 @@ export interface QueryGenqlSelection {
|
|
|
2931
3018
|
};
|
|
2932
3019
|
});
|
|
2933
3020
|
getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
|
|
2934
|
-
|
|
3021
|
+
getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
3022
|
+
getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
3023
|
+
getAthleteIntegrations?: AthleteIntegrationReferenceGenqlSelection;
|
|
2935
3024
|
stripeQuery?: (StripeObjectGenqlSelection & {
|
|
2936
3025
|
__args: {
|
|
2937
3026
|
input: StripeQueryDto;
|
|
@@ -3067,6 +3156,11 @@ export interface MutationGenqlSelection {
|
|
|
3067
3156
|
input: UploadAlbumsPicturesDto;
|
|
3068
3157
|
};
|
|
3069
3158
|
});
|
|
3159
|
+
DeletePictureBuket?: (DeleteSingleValueResponseGenqlSelection & {
|
|
3160
|
+
__args: {
|
|
3161
|
+
input: AWSS3DeleteUseTypeFileDto;
|
|
3162
|
+
};
|
|
3163
|
+
});
|
|
3070
3164
|
addAthleteCompetition?: (AthleteCompetitionGenqlSelection & {
|
|
3071
3165
|
__args: {
|
|
3072
3166
|
input: CreateAthleteCompetitionDto;
|
|
@@ -3082,21 +3176,17 @@ export interface MutationGenqlSelection {
|
|
|
3082
3176
|
input: UploadAlbumsPicturesDto;
|
|
3083
3177
|
};
|
|
3084
3178
|
});
|
|
3085
|
-
editAlbum?: (AlbumGenqlSelection & {
|
|
3086
|
-
__args: {
|
|
3087
|
-
input: UploadAlbumsPicturesDto;
|
|
3088
|
-
};
|
|
3089
|
-
});
|
|
3090
3179
|
deleteAthleteAlbum?: (DeleteSingleValueResponseGenqlSelection & {
|
|
3091
3180
|
__args: {
|
|
3092
3181
|
input: DeleteSingleValueDto;
|
|
3093
3182
|
};
|
|
3094
3183
|
});
|
|
3095
|
-
|
|
3184
|
+
saveAthleteCompetitionResult?: (AthleteCompetitionResultGenqlSelection & {
|
|
3096
3185
|
__args: {
|
|
3097
|
-
input:
|
|
3186
|
+
input: SetCompetitionResultDto;
|
|
3098
3187
|
};
|
|
3099
3188
|
});
|
|
3189
|
+
updateAthleteTpiScore?: AthleteGenqlSelection;
|
|
3100
3190
|
createSport?: (SportGenqlSelection & {
|
|
3101
3191
|
__args: {
|
|
3102
3192
|
input: CreateSportDto;
|
|
@@ -3163,16 +3253,6 @@ export interface MutationGenqlSelection {
|
|
|
3163
3253
|
password: Scalars['String'];
|
|
3164
3254
|
};
|
|
3165
3255
|
});
|
|
3166
|
-
createResetPasswordCode?: (EditValueResponseGenqlSelection & {
|
|
3167
|
-
__args: {
|
|
3168
|
-
input: Scalars['String'];
|
|
3169
|
-
};
|
|
3170
|
-
});
|
|
3171
|
-
resetUserPassword?: (EditValueResponseGenqlSelection & {
|
|
3172
|
-
__args: {
|
|
3173
|
-
input: resetPasswordDto;
|
|
3174
|
-
};
|
|
3175
|
-
});
|
|
3176
3256
|
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
3177
3257
|
__args: {
|
|
3178
3258
|
data: RegisterStravaDto;
|
|
@@ -3213,7 +3293,11 @@ export interface MutationGenqlSelection {
|
|
|
3213
3293
|
input: DeleteSingleValueDto;
|
|
3214
3294
|
};
|
|
3215
3295
|
});
|
|
3216
|
-
|
|
3296
|
+
updateAthleteIntegration?: {
|
|
3297
|
+
__args: {
|
|
3298
|
+
type: Scalars['String'];
|
|
3299
|
+
};
|
|
3300
|
+
};
|
|
3217
3301
|
createStripeAccount?: (StripeAccountReferenceGenqlSelection & {
|
|
3218
3302
|
__args: {
|
|
3219
3303
|
input: CreateStripeAccountDto;
|
|
@@ -3688,12 +3772,6 @@ export declare const isNewsLink: (obj?: {
|
|
|
3688
3772
|
export declare const isChannel: (obj?: {
|
|
3689
3773
|
__typename?: any;
|
|
3690
3774
|
} | 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;
|
|
3697
3775
|
export declare const isAthletePreferences: (obj?: {
|
|
3698
3776
|
__typename?: any;
|
|
3699
3777
|
} | null) => obj is AthletePreferences;
|
|
@@ -3724,6 +3802,12 @@ export declare const isStripeAccount: (obj?: {
|
|
|
3724
3802
|
export declare const isStripeAccountReference: (obj?: {
|
|
3725
3803
|
__typename?: any;
|
|
3726
3804
|
} | 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;
|
|
3727
3811
|
export declare const isAthleteReference: (obj?: {
|
|
3728
3812
|
__typename?: any;
|
|
3729
3813
|
} | null) => obj is AthleteReference;
|
|
@@ -3745,6 +3829,27 @@ export declare const isStripeCheckoutSession: (obj?: {
|
|
|
3745
3829
|
export declare const isStravaAthleteData: (obj?: {
|
|
3746
3830
|
__typename?: any;
|
|
3747
3831
|
} | 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;
|
|
3748
3853
|
export declare const isAthleteIntegrationReference: (obj?: {
|
|
3749
3854
|
__typename?: any;
|
|
3750
3855
|
} | null) => obj is AthleteIntegrationReference;
|
|
@@ -3754,9 +3859,6 @@ export declare const isEditValueResponse: (obj?: {
|
|
|
3754
3859
|
export declare const isErrorType: (obj?: {
|
|
3755
3860
|
__typename?: any;
|
|
3756
3861
|
} | null) => obj is ErrorType;
|
|
3757
|
-
export declare const isDeleteValuesResponse: (obj?: {
|
|
3758
|
-
__typename?: any;
|
|
3759
|
-
} | null) => obj is DeleteValuesResponse;
|
|
3760
3862
|
export declare const isDeleteSingleValueResponse: (obj?: {
|
|
3761
3863
|
__typename?: any;
|
|
3762
3864
|
} | null) => obj is DeleteSingleValueResponse;
|
|
@@ -3781,6 +3883,9 @@ export declare const isStripeObject: (obj?: {
|
|
|
3781
3883
|
export declare const isUserImages: (obj?: {
|
|
3782
3884
|
__typename?: any;
|
|
3783
3885
|
} | null) => obj is UserImages;
|
|
3886
|
+
export declare const isDeleteValuesResponse: (obj?: {
|
|
3887
|
+
__typename?: any;
|
|
3888
|
+
} | null) => obj is DeleteValuesResponse;
|
|
3784
3889
|
export declare const isQuery: (obj?: {
|
|
3785
3890
|
__typename?: any;
|
|
3786
3891
|
} | 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.isUserImages = exports.isStripeObject = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.
|
|
4
|
+
exports.isInstagramCursors = exports.isStravaAthleteData = exports.isStripeCheckoutSession = exports.isStripeSession = exports.isStravaToken = exports.isSponsorAthleteInvitation = exports.isAthlete = exports.isAthleteReference = exports.isAlbum = exports.isPhotoAlbum = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isFundRaisingCampaign = exports.isAthletePreferences = 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.isDeleteValuesResponse = exports.isUserImages = exports.isStripeObject = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.isErrorType = exports.isEditValueResponse = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = void 0;
|
|
6
6
|
const User_possibleTypes = ['User'];
|
|
7
7
|
const isUser = (obj) => {
|
|
8
8
|
if (!obj?.__typename)
|
|
@@ -563,20 +563,6 @@ 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;
|
|
580
566
|
const AthletePreferences_possibleTypes = ['AthletePreferences'];
|
|
581
567
|
const isAthletePreferences = (obj) => {
|
|
582
568
|
if (!obj?.__typename)
|
|
@@ -647,6 +633,20 @@ const isStripeAccountReference = (obj) => {
|
|
|
647
633
|
return StripeAccountReference_possibleTypes.includes(obj.__typename);
|
|
648
634
|
};
|
|
649
635
|
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,6 +696,55 @@ 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;
|
|
699
748
|
const AthleteIntegrationReference_possibleTypes = ['AthleteIntegrationReference'];
|
|
700
749
|
const isAthleteIntegrationReference = (obj) => {
|
|
701
750
|
if (!obj?.__typename)
|
|
@@ -717,13 +766,6 @@ const isErrorType = (obj) => {
|
|
|
717
766
|
return ErrorType_possibleTypes.includes(obj.__typename);
|
|
718
767
|
};
|
|
719
768
|
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;
|
|
727
769
|
const DeleteSingleValueResponse_possibleTypes = ['DeleteSingleValueResponse'];
|
|
728
770
|
const isDeleteSingleValueResponse = (obj) => {
|
|
729
771
|
if (!obj?.__typename)
|
|
@@ -780,6 +822,13 @@ const isUserImages = (obj) => {
|
|
|
780
822
|
return UserImages_possibleTypes.includes(obj.__typename);
|
|
781
823
|
};
|
|
782
824
|
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;
|
|
783
832
|
const Query_possibleTypes = ['Query'];
|
|
784
833
|
const isQuery = (obj) => {
|
|
785
834
|
if (!obj?.__typename)
|