@vertikalx/vtx-backend-client 1.0.0-dev-max.62 → 1.0.0-dev-daniel.247
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/LICENSE.md +0 -0
- package/package.json +1 -1
- package/src/api/vtx-base-api.d.ts +5 -3
- package/src/api/vtx-base-api.js +556 -75
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +24 -224
- package/src/client/schema.js +2 -62
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +12 -104
- package/src/client/types.js +190 -419
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export type Scalars = {
|
|
|
3
3
|
Boolean: boolean;
|
|
4
4
|
DateTime: any;
|
|
5
5
|
Float: number;
|
|
6
|
-
ID: string;
|
|
7
6
|
JSONObject: any;
|
|
8
7
|
};
|
|
9
8
|
export interface User {
|
|
@@ -940,11 +939,6 @@ export interface HistoricalScoreType {
|
|
|
940
939
|
athleteId: Scalars['String'];
|
|
941
940
|
__typename: 'HistoricalScoreType';
|
|
942
941
|
}
|
|
943
|
-
export interface UserDomain {
|
|
944
|
-
_id: Scalars['String'];
|
|
945
|
-
user: (User | null);
|
|
946
|
-
__typename: 'UserDomain';
|
|
947
|
-
}
|
|
948
942
|
export interface AthleteReference {
|
|
949
943
|
_id: Scalars['String'];
|
|
950
944
|
firstName: Scalars['String'];
|
|
@@ -969,7 +963,6 @@ export interface AthleteReference {
|
|
|
969
963
|
bannerPicture: (AWSS3File | null);
|
|
970
964
|
aboutMe: (Scalars['String'] | null);
|
|
971
965
|
preferences: AthletePreferences;
|
|
972
|
-
userDomain: UserDomain;
|
|
973
966
|
__typename: 'AthleteReference';
|
|
974
967
|
}
|
|
975
968
|
export interface Athlete {
|
|
@@ -996,7 +989,6 @@ export interface Athlete {
|
|
|
996
989
|
bannerPicture: (AWSS3File | null);
|
|
997
990
|
aboutMe: (Scalars['String'] | null);
|
|
998
991
|
preferences: AthletePreferences;
|
|
999
|
-
userDomain: UserDomain;
|
|
1000
992
|
allSports: (Sport[] | null);
|
|
1001
993
|
teams: (Team[] | null);
|
|
1002
994
|
sponsorBrands: (Brand[] | null);
|
|
@@ -1012,34 +1004,6 @@ export interface Athlete {
|
|
|
1012
1004
|
signedAgreements: (SignedAgreement[] | null);
|
|
1013
1005
|
__typename: 'Athlete';
|
|
1014
1006
|
}
|
|
1015
|
-
export interface CheckoutSession {
|
|
1016
|
-
_id: Scalars['ID'];
|
|
1017
|
-
type: (Scalars['String'] | null);
|
|
1018
|
-
estimatedStripeComission: (Scalars['Float'] | null);
|
|
1019
|
-
stripeSessionId: Scalars['String'];
|
|
1020
|
-
stripeAccountId: Scalars['String'];
|
|
1021
|
-
donationAmount: Scalars['Float'];
|
|
1022
|
-
fromEmail: (Scalars['String'] | null);
|
|
1023
|
-
confirmed: Scalars['Boolean'];
|
|
1024
|
-
completed: Scalars['Boolean'];
|
|
1025
|
-
completedDate: (Scalars['DateTime'] | null);
|
|
1026
|
-
createdDate: Scalars['DateTime'];
|
|
1027
|
-
__typename: 'CheckoutSession';
|
|
1028
|
-
}
|
|
1029
|
-
export interface FundingCheckoutSessionData {
|
|
1030
|
-
_id: Scalars['ID'];
|
|
1031
|
-
session: (CheckoutSession | null);
|
|
1032
|
-
fromName: (Scalars['String'] | null);
|
|
1033
|
-
paidToAthlete: (Scalars['Float'] | null);
|
|
1034
|
-
paidToVtx: (Scalars['Float'] | null);
|
|
1035
|
-
fundingCampaign: (FundRaisingCampaign | null);
|
|
1036
|
-
mode: DonationMode;
|
|
1037
|
-
athleteId: Scalars['String'];
|
|
1038
|
-
athleteName: Scalars['String'];
|
|
1039
|
-
fromPhone: (Scalars['String'] | null);
|
|
1040
|
-
message: (Scalars['String'] | null);
|
|
1041
|
-
__typename: 'FundingCheckoutSessionData';
|
|
1042
|
-
}
|
|
1043
1007
|
export interface SponsorAthleteInvitation {
|
|
1044
1008
|
_id: Scalars['String'];
|
|
1045
1009
|
name: (Scalars['String'] | null);
|
|
@@ -1148,22 +1112,6 @@ export interface AthleteIntegrationReference {
|
|
|
1148
1112
|
instagramMediaData: (InstagramMediaData | null);
|
|
1149
1113
|
__typename: 'AthleteIntegrationReference';
|
|
1150
1114
|
}
|
|
1151
|
-
export interface Receipt {
|
|
1152
|
-
receiptId: Scalars['String'];
|
|
1153
|
-
campaignName: (Scalars['String'] | null);
|
|
1154
|
-
athleteName: (Scalars['String'] | null);
|
|
1155
|
-
donorName: Scalars['String'];
|
|
1156
|
-
amount: Scalars['Float'];
|
|
1157
|
-
currency: Scalars['String'];
|
|
1158
|
-
dateIssued: Scalars['DateTime'];
|
|
1159
|
-
confirmed: Scalars['Boolean'];
|
|
1160
|
-
message: (Scalars['String'] | null);
|
|
1161
|
-
__typename: 'Receipt';
|
|
1162
|
-
}
|
|
1163
|
-
export interface ReceiptUrl {
|
|
1164
|
-
receiptId: Scalars['String'];
|
|
1165
|
-
__typename: 'ReceiptUrl';
|
|
1166
|
-
}
|
|
1167
1115
|
export interface EditValueResponse {
|
|
1168
1116
|
field: Scalars['String'];
|
|
1169
1117
|
oldValue: (Scalars['String'] | null);
|
|
@@ -1228,12 +1176,6 @@ export interface ExistValueResponse {
|
|
|
1228
1176
|
exist: Scalars['Boolean'];
|
|
1229
1177
|
__typename: 'ExistValueResponse';
|
|
1230
1178
|
}
|
|
1231
|
-
export interface DeleteUserResponse {
|
|
1232
|
-
deletedUser: (User | null);
|
|
1233
|
-
deletedAthlete: (AthleteReference | null);
|
|
1234
|
-
success: Scalars['Boolean'];
|
|
1235
|
-
__typename: 'DeleteUserResponse';
|
|
1236
|
-
}
|
|
1237
1179
|
export interface StripeObject {
|
|
1238
1180
|
type: Scalars['String'];
|
|
1239
1181
|
json: Scalars['JSONObject'];
|
|
@@ -1245,24 +1187,6 @@ export interface UserImages {
|
|
|
1245
1187
|
bannerPictureUrl: (Scalars['String'] | null);
|
|
1246
1188
|
__typename: 'UserImages';
|
|
1247
1189
|
}
|
|
1248
|
-
export interface StripeTransfer {
|
|
1249
|
-
_id: Scalars['ID'];
|
|
1250
|
-
stripeId: (Scalars['String'] | null);
|
|
1251
|
-
amount: Scalars['Float'];
|
|
1252
|
-
amount_reversed: Scalars['Float'];
|
|
1253
|
-
currency: Scalars['String'];
|
|
1254
|
-
destination: (Scalars['String'] | null);
|
|
1255
|
-
description: (Scalars['String'] | null);
|
|
1256
|
-
reversed: Scalars['Boolean'];
|
|
1257
|
-
livemode: Scalars['Boolean'];
|
|
1258
|
-
transfer_group: (Scalars['String'] | null);
|
|
1259
|
-
status: StripeTransferStatus;
|
|
1260
|
-
lastError: (Scalars['String'] | null);
|
|
1261
|
-
json: Scalars['String'];
|
|
1262
|
-
__typename: 'StripeTransfer';
|
|
1263
|
-
}
|
|
1264
|
-
export type StripeTransferStatus = 'not_applicable' | 'pending' | 'failed' | 'completed';
|
|
1265
|
-
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
1266
1190
|
export interface Query {
|
|
1267
1191
|
findTenantById: Tenant;
|
|
1268
1192
|
findTenantByEmail: Tenant;
|
|
@@ -1303,9 +1227,13 @@ export interface Query {
|
|
|
1303
1227
|
getSportLevels: SportLevel[];
|
|
1304
1228
|
getPublicSponsorships: Sponsorship[];
|
|
1305
1229
|
getTenantSponsorships: Sponsorship[];
|
|
1230
|
+
findCountriesStartingWith: Country[];
|
|
1306
1231
|
getCountries: Country[];
|
|
1232
|
+
findCountryById: Country;
|
|
1233
|
+
findStatesStartingWith: State[];
|
|
1307
1234
|
getCountryStates: State[];
|
|
1308
1235
|
getStates: State[];
|
|
1236
|
+
findStateById: State;
|
|
1309
1237
|
getStateCities: City[];
|
|
1310
1238
|
findCitiesStartingWith: City[];
|
|
1311
1239
|
findCityById: City;
|
|
@@ -1322,8 +1250,6 @@ export interface Query {
|
|
|
1322
1250
|
getAthleteIntegrations: AthleteIntegrationReference;
|
|
1323
1251
|
stripeQuery: StripeObject;
|
|
1324
1252
|
getDatabaseTextFile: TextDatabaseFile;
|
|
1325
|
-
getReceipt: Receipt;
|
|
1326
|
-
getReceiptUrl: ReceiptUrl;
|
|
1327
1253
|
__typename: 'Query';
|
|
1328
1254
|
}
|
|
1329
1255
|
export interface Mutation {
|
|
@@ -1355,7 +1281,6 @@ export interface Mutation {
|
|
|
1355
1281
|
deleteAthletePhotos: DeleteValuesResponse;
|
|
1356
1282
|
saveAthleteCompetitionResult: AthleteCompetitionResult;
|
|
1357
1283
|
updateAthleteScores: Athlete;
|
|
1358
|
-
deleteAthleteUser: DeleteUserResponse;
|
|
1359
1284
|
createSport: Sport;
|
|
1360
1285
|
updateSport: Sport;
|
|
1361
1286
|
createSportLevel: SportLevel;
|
|
@@ -1371,7 +1296,6 @@ export interface Mutation {
|
|
|
1371
1296
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1372
1297
|
createResetPasswordCode: EditValueResponse;
|
|
1373
1298
|
resetUserPassword: EditValueResponse;
|
|
1374
|
-
updateUserSuspendedStatus: User;
|
|
1375
1299
|
handleStravaCallback: StravaToken;
|
|
1376
1300
|
refreshStravaToken: StravaToken;
|
|
1377
1301
|
createSportsEvent: SportsEvent;
|
|
@@ -2421,12 +2345,6 @@ export interface HistoricalScoreTypeGenqlSelection {
|
|
|
2421
2345
|
__typename?: boolean | number;
|
|
2422
2346
|
__scalar?: boolean | number;
|
|
2423
2347
|
}
|
|
2424
|
-
export interface UserDomainGenqlSelection {
|
|
2425
|
-
_id?: boolean | number;
|
|
2426
|
-
user?: UserGenqlSelection;
|
|
2427
|
-
__typename?: boolean | number;
|
|
2428
|
-
__scalar?: boolean | number;
|
|
2429
|
-
}
|
|
2430
2348
|
export interface AthleteReferenceGenqlSelection {
|
|
2431
2349
|
_id?: boolean | number;
|
|
2432
2350
|
firstName?: boolean | number;
|
|
@@ -2451,7 +2369,6 @@ export interface AthleteReferenceGenqlSelection {
|
|
|
2451
2369
|
bannerPicture?: AWSS3FileGenqlSelection;
|
|
2452
2370
|
aboutMe?: boolean | number;
|
|
2453
2371
|
preferences?: AthletePreferencesGenqlSelection;
|
|
2454
|
-
userDomain?: UserDomainGenqlSelection;
|
|
2455
2372
|
__typename?: boolean | number;
|
|
2456
2373
|
__scalar?: boolean | number;
|
|
2457
2374
|
}
|
|
@@ -2479,7 +2396,6 @@ export interface AthleteGenqlSelection {
|
|
|
2479
2396
|
bannerPicture?: AWSS3FileGenqlSelection;
|
|
2480
2397
|
aboutMe?: boolean | number;
|
|
2481
2398
|
preferences?: AthletePreferencesGenqlSelection;
|
|
2482
|
-
userDomain?: UserDomainGenqlSelection;
|
|
2483
2399
|
allSports?: SportGenqlSelection;
|
|
2484
2400
|
teams?: TeamGenqlSelection;
|
|
2485
2401
|
sponsorBrands?: BrandGenqlSelection;
|
|
@@ -2496,36 +2412,6 @@ export interface AthleteGenqlSelection {
|
|
|
2496
2412
|
__typename?: boolean | number;
|
|
2497
2413
|
__scalar?: boolean | number;
|
|
2498
2414
|
}
|
|
2499
|
-
export interface CheckoutSessionGenqlSelection {
|
|
2500
|
-
_id?: boolean | number;
|
|
2501
|
-
type?: boolean | number;
|
|
2502
|
-
estimatedStripeComission?: boolean | number;
|
|
2503
|
-
stripeSessionId?: boolean | number;
|
|
2504
|
-
stripeAccountId?: boolean | number;
|
|
2505
|
-
donationAmount?: boolean | number;
|
|
2506
|
-
fromEmail?: boolean | number;
|
|
2507
|
-
confirmed?: boolean | number;
|
|
2508
|
-
completed?: boolean | number;
|
|
2509
|
-
completedDate?: boolean | number;
|
|
2510
|
-
createdDate?: boolean | number;
|
|
2511
|
-
__typename?: boolean | number;
|
|
2512
|
-
__scalar?: boolean | number;
|
|
2513
|
-
}
|
|
2514
|
-
export interface FundingCheckoutSessionDataGenqlSelection {
|
|
2515
|
-
_id?: boolean | number;
|
|
2516
|
-
session?: CheckoutSessionGenqlSelection;
|
|
2517
|
-
fromName?: boolean | number;
|
|
2518
|
-
paidToAthlete?: boolean | number;
|
|
2519
|
-
paidToVtx?: boolean | number;
|
|
2520
|
-
fundingCampaign?: FundRaisingCampaignGenqlSelection;
|
|
2521
|
-
mode?: boolean | number;
|
|
2522
|
-
athleteId?: boolean | number;
|
|
2523
|
-
athleteName?: boolean | number;
|
|
2524
|
-
fromPhone?: boolean | number;
|
|
2525
|
-
message?: boolean | number;
|
|
2526
|
-
__typename?: boolean | number;
|
|
2527
|
-
__scalar?: boolean | number;
|
|
2528
|
-
}
|
|
2529
2415
|
export interface SponsorAthleteInvitationGenqlSelection {
|
|
2530
2416
|
_id?: boolean | number;
|
|
2531
2417
|
name?: boolean | number;
|
|
@@ -2647,24 +2533,6 @@ export interface AthleteIntegrationReferenceGenqlSelection {
|
|
|
2647
2533
|
__typename?: boolean | number;
|
|
2648
2534
|
__scalar?: boolean | number;
|
|
2649
2535
|
}
|
|
2650
|
-
export interface ReceiptGenqlSelection {
|
|
2651
|
-
receiptId?: boolean | number;
|
|
2652
|
-
campaignName?: boolean | number;
|
|
2653
|
-
athleteName?: boolean | number;
|
|
2654
|
-
donorName?: boolean | number;
|
|
2655
|
-
amount?: boolean | number;
|
|
2656
|
-
currency?: boolean | number;
|
|
2657
|
-
dateIssued?: boolean | number;
|
|
2658
|
-
confirmed?: boolean | number;
|
|
2659
|
-
message?: boolean | number;
|
|
2660
|
-
__typename?: boolean | number;
|
|
2661
|
-
__scalar?: boolean | number;
|
|
2662
|
-
}
|
|
2663
|
-
export interface ReceiptUrlGenqlSelection {
|
|
2664
|
-
receiptId?: boolean | number;
|
|
2665
|
-
__typename?: boolean | number;
|
|
2666
|
-
__scalar?: boolean | number;
|
|
2667
|
-
}
|
|
2668
2536
|
export interface EditValueResponseGenqlSelection {
|
|
2669
2537
|
field?: boolean | number;
|
|
2670
2538
|
oldValue?: boolean | number;
|
|
@@ -2739,13 +2607,6 @@ export interface ExistValueResponseGenqlSelection {
|
|
|
2739
2607
|
__typename?: boolean | number;
|
|
2740
2608
|
__scalar?: boolean | number;
|
|
2741
2609
|
}
|
|
2742
|
-
export interface DeleteUserResponseGenqlSelection {
|
|
2743
|
-
deletedUser?: UserGenqlSelection;
|
|
2744
|
-
deletedAthlete?: AthleteReferenceGenqlSelection;
|
|
2745
|
-
success?: boolean | number;
|
|
2746
|
-
__typename?: boolean | number;
|
|
2747
|
-
__scalar?: boolean | number;
|
|
2748
|
-
}
|
|
2749
2610
|
export interface StripeObjectGenqlSelection {
|
|
2750
2611
|
type?: boolean | number;
|
|
2751
2612
|
json?: boolean | number;
|
|
@@ -2759,23 +2620,6 @@ export interface UserImagesGenqlSelection {
|
|
|
2759
2620
|
__typename?: boolean | number;
|
|
2760
2621
|
__scalar?: boolean | number;
|
|
2761
2622
|
}
|
|
2762
|
-
export interface StripeTransferGenqlSelection {
|
|
2763
|
-
_id?: boolean | number;
|
|
2764
|
-
stripeId?: boolean | number;
|
|
2765
|
-
amount?: boolean | number;
|
|
2766
|
-
amount_reversed?: boolean | number;
|
|
2767
|
-
currency?: boolean | number;
|
|
2768
|
-
destination?: boolean | number;
|
|
2769
|
-
description?: boolean | number;
|
|
2770
|
-
reversed?: boolean | number;
|
|
2771
|
-
livemode?: boolean | number;
|
|
2772
|
-
transfer_group?: boolean | number;
|
|
2773
|
-
status?: boolean | number;
|
|
2774
|
-
lastError?: boolean | number;
|
|
2775
|
-
json?: boolean | number;
|
|
2776
|
-
__typename?: boolean | number;
|
|
2777
|
-
__scalar?: boolean | number;
|
|
2778
|
-
}
|
|
2779
2623
|
export interface CreateDatabaseFileDto {
|
|
2780
2624
|
identifier: Scalars['String'];
|
|
2781
2625
|
version?: Scalars['String'];
|
|
@@ -2967,9 +2811,6 @@ export interface GetHistoricalScoresDto {
|
|
|
2967
2811
|
scoreTypes: Scalars['String'][];
|
|
2968
2812
|
athleteIdOrEmail: Scalars['String'];
|
|
2969
2813
|
}
|
|
2970
|
-
export interface DeleteUserDto {
|
|
2971
|
-
userIdentifier: Scalars['String'];
|
|
2972
|
-
}
|
|
2973
2814
|
export interface QualificationDto {
|
|
2974
2815
|
type: Scalars['String'];
|
|
2975
2816
|
}
|
|
@@ -3027,9 +2868,6 @@ export interface resetPasswordDto {
|
|
|
3027
2868
|
code: VerifyCodeDto;
|
|
3028
2869
|
newPassword?: (Scalars['String'] | null);
|
|
3029
2870
|
}
|
|
3030
|
-
export interface GetReceiptDto {
|
|
3031
|
-
_id: Scalars['String'];
|
|
3032
|
-
}
|
|
3033
2871
|
export interface BudgetItemDto {
|
|
3034
2872
|
quantity: Scalars['Float'];
|
|
3035
2873
|
concept: Scalars['String'];
|
|
@@ -3118,9 +2956,6 @@ export interface CreateAthleteIntegrationDto {
|
|
|
3118
2956
|
expiresIn: Scalars['Float'];
|
|
3119
2957
|
refreshExpiresIn?: (Scalars['Float'] | null);
|
|
3120
2958
|
}
|
|
3121
|
-
export interface GetFundingCheckoutSessionDataDto {
|
|
3122
|
-
_id: Scalars['String'];
|
|
3123
|
-
}
|
|
3124
2959
|
export interface QueryGenqlSelection {
|
|
3125
2960
|
findTenantById?: (TenantGenqlSelection & {
|
|
3126
2961
|
__args: {
|
|
@@ -3277,13 +3112,33 @@ export interface QueryGenqlSelection {
|
|
|
3277
3112
|
getSportLevels?: SportLevelGenqlSelection;
|
|
3278
3113
|
getPublicSponsorships?: SponsorshipGenqlSelection;
|
|
3279
3114
|
getTenantSponsorships?: SponsorshipGenqlSelection;
|
|
3115
|
+
findCountriesStartingWith?: (CountryGenqlSelection & {
|
|
3116
|
+
__args: {
|
|
3117
|
+
text: Scalars['String'];
|
|
3118
|
+
};
|
|
3119
|
+
});
|
|
3280
3120
|
getCountries?: CountryGenqlSelection;
|
|
3121
|
+
findCountryById?: (CountryGenqlSelection & {
|
|
3122
|
+
__args: {
|
|
3123
|
+
countryId: Scalars['String'];
|
|
3124
|
+
};
|
|
3125
|
+
});
|
|
3126
|
+
findStatesStartingWith?: (StateGenqlSelection & {
|
|
3127
|
+
__args: {
|
|
3128
|
+
text: Scalars['String'];
|
|
3129
|
+
};
|
|
3130
|
+
});
|
|
3281
3131
|
getCountryStates?: (StateGenqlSelection & {
|
|
3282
3132
|
__args: {
|
|
3283
3133
|
countryId: Scalars['String'];
|
|
3284
3134
|
};
|
|
3285
3135
|
});
|
|
3286
3136
|
getStates?: StateGenqlSelection;
|
|
3137
|
+
findStateById?: (StateGenqlSelection & {
|
|
3138
|
+
__args: {
|
|
3139
|
+
stateId: Scalars['String'];
|
|
3140
|
+
};
|
|
3141
|
+
});
|
|
3287
3142
|
getStateCities?: (CityGenqlSelection & {
|
|
3288
3143
|
__args: {
|
|
3289
3144
|
stateId: Scalars['String'];
|
|
@@ -3345,16 +3200,6 @@ export interface QueryGenqlSelection {
|
|
|
3345
3200
|
input: GetDatabaseFileDto;
|
|
3346
3201
|
};
|
|
3347
3202
|
});
|
|
3348
|
-
getReceipt?: (ReceiptGenqlSelection & {
|
|
3349
|
-
__args: {
|
|
3350
|
-
input: GetReceiptDto;
|
|
3351
|
-
};
|
|
3352
|
-
});
|
|
3353
|
-
getReceiptUrl?: (ReceiptUrlGenqlSelection & {
|
|
3354
|
-
__args: {
|
|
3355
|
-
input: GetReceiptDto;
|
|
3356
|
-
};
|
|
3357
|
-
});
|
|
3358
3203
|
__typename?: boolean | number;
|
|
3359
3204
|
__scalar?: boolean | number;
|
|
3360
3205
|
}
|
|
@@ -3516,11 +3361,6 @@ export interface MutationGenqlSelection {
|
|
|
3516
3361
|
};
|
|
3517
3362
|
});
|
|
3518
3363
|
updateAthleteScores?: AthleteGenqlSelection;
|
|
3519
|
-
deleteAthleteUser?: (DeleteUserResponseGenqlSelection & {
|
|
3520
|
-
__args: {
|
|
3521
|
-
input: DeleteUserDto;
|
|
3522
|
-
};
|
|
3523
|
-
});
|
|
3524
3364
|
createSport?: (SportGenqlSelection & {
|
|
3525
3365
|
__args: {
|
|
3526
3366
|
input: CreateSportDto;
|
|
@@ -3597,11 +3437,6 @@ export interface MutationGenqlSelection {
|
|
|
3597
3437
|
input: resetPasswordDto;
|
|
3598
3438
|
};
|
|
3599
3439
|
});
|
|
3600
|
-
updateUserSuspendedStatus?: (UserGenqlSelection & {
|
|
3601
|
-
__args: {
|
|
3602
|
-
input: UpdateUserSuspendedStatusDto;
|
|
3603
|
-
};
|
|
3604
|
-
});
|
|
3605
3440
|
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
3606
3441
|
__args: {
|
|
3607
3442
|
data: RegisterStravaDto;
|
|
@@ -3864,9 +3699,6 @@ export interface CreateCityDto {
|
|
|
3864
3699
|
ranking?: (Scalars['Float'] | null);
|
|
3865
3700
|
same_name?: (Scalars['String'] | null);
|
|
3866
3701
|
}
|
|
3867
|
-
export interface UpdateUserSuspendedStatusDto {
|
|
3868
|
-
userId: Scalars['String'];
|
|
3869
|
-
}
|
|
3870
3702
|
export interface RegisterStravaDto {
|
|
3871
3703
|
idAthlete: Scalars['String'];
|
|
3872
3704
|
code: Scalars['String'];
|
|
@@ -4168,21 +4000,12 @@ export declare const isStripeAccountReference: (obj?: {
|
|
|
4168
4000
|
export declare const isHistoricalScoreType: (obj?: {
|
|
4169
4001
|
__typename?: any;
|
|
4170
4002
|
} | null) => obj is HistoricalScoreType;
|
|
4171
|
-
export declare const isUserDomain: (obj?: {
|
|
4172
|
-
__typename?: any;
|
|
4173
|
-
} | null) => obj is UserDomain;
|
|
4174
4003
|
export declare const isAthleteReference: (obj?: {
|
|
4175
4004
|
__typename?: any;
|
|
4176
4005
|
} | null) => obj is AthleteReference;
|
|
4177
4006
|
export declare const isAthlete: (obj?: {
|
|
4178
4007
|
__typename?: any;
|
|
4179
4008
|
} | null) => obj is Athlete;
|
|
4180
|
-
export declare const isCheckoutSession: (obj?: {
|
|
4181
|
-
__typename?: any;
|
|
4182
|
-
} | null) => obj is CheckoutSession;
|
|
4183
|
-
export declare const isFundingCheckoutSessionData: (obj?: {
|
|
4184
|
-
__typename?: any;
|
|
4185
|
-
} | null) => obj is FundingCheckoutSessionData;
|
|
4186
4009
|
export declare const isSponsorAthleteInvitation: (obj?: {
|
|
4187
4010
|
__typename?: any;
|
|
4188
4011
|
} | null) => obj is SponsorAthleteInvitation;
|
|
@@ -4222,12 +4045,6 @@ export declare const isInstagramUserData: (obj?: {
|
|
|
4222
4045
|
export declare const isAthleteIntegrationReference: (obj?: {
|
|
4223
4046
|
__typename?: any;
|
|
4224
4047
|
} | null) => obj is AthleteIntegrationReference;
|
|
4225
|
-
export declare const isReceipt: (obj?: {
|
|
4226
|
-
__typename?: any;
|
|
4227
|
-
} | null) => obj is Receipt;
|
|
4228
|
-
export declare const isReceiptUrl: (obj?: {
|
|
4229
|
-
__typename?: any;
|
|
4230
|
-
} | null) => obj is ReceiptUrl;
|
|
4231
4048
|
export declare const isEditValueResponse: (obj?: {
|
|
4232
4049
|
__typename?: any;
|
|
4233
4050
|
} | null) => obj is EditValueResponse;
|
|
@@ -4258,32 +4075,15 @@ export declare const isAddValuesResponse: (obj?: {
|
|
|
4258
4075
|
export declare const isExistValueResponse: (obj?: {
|
|
4259
4076
|
__typename?: any;
|
|
4260
4077
|
} | null) => obj is ExistValueResponse;
|
|
4261
|
-
export declare const isDeleteUserResponse: (obj?: {
|
|
4262
|
-
__typename?: any;
|
|
4263
|
-
} | null) => obj is DeleteUserResponse;
|
|
4264
4078
|
export declare const isStripeObject: (obj?: {
|
|
4265
4079
|
__typename?: any;
|
|
4266
4080
|
} | null) => obj is StripeObject;
|
|
4267
4081
|
export declare const isUserImages: (obj?: {
|
|
4268
4082
|
__typename?: any;
|
|
4269
4083
|
} | null) => obj is UserImages;
|
|
4270
|
-
export declare const isStripeTransfer: (obj?: {
|
|
4271
|
-
__typename?: any;
|
|
4272
|
-
} | null) => obj is StripeTransfer;
|
|
4273
4084
|
export declare const isQuery: (obj?: {
|
|
4274
4085
|
__typename?: any;
|
|
4275
4086
|
} | null) => obj is Query;
|
|
4276
4087
|
export declare const isMutation: (obj?: {
|
|
4277
4088
|
__typename?: any;
|
|
4278
4089
|
} | null) => obj is Mutation;
|
|
4279
|
-
export declare const enumStripeTransferStatus: {
|
|
4280
|
-
not_applicable: "not_applicable";
|
|
4281
|
-
pending: "pending";
|
|
4282
|
-
failed: "failed";
|
|
4283
|
-
completed: "completed";
|
|
4284
|
-
};
|
|
4285
|
-
export declare const enumDonationMode: {
|
|
4286
|
-
PUBLIC: "PUBLIC";
|
|
4287
|
-
PRIVATE: "PRIVATE";
|
|
4288
|
-
ANONYMOUS: "ANONYMOUS";
|
|
4289
|
-
};
|
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.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.isSignedAgreement = 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.
|
|
4
|
+
exports.isStripeCheckoutSession = exports.isStripeSession = exports.isStravaToken = exports.isSponsorAthleteInvitation = exports.isAthlete = exports.isAthleteReference = exports.isHistoricalScoreType = 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 = exports.isAthleteCriteria = void 0;
|
|
5
|
+
exports.isMutation = exports.isQuery = exports.isUserImages = exports.isStripeObject = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.isDeleteValuesResponse = exports.isErrorType = exports.isEditValueResponse = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = void 0;
|
|
6
6
|
const User_possibleTypes = ['User'];
|
|
7
7
|
const isUser = (obj) => {
|
|
8
8
|
if (!obj?.__typename)
|
|
@@ -661,13 +661,6 @@ const isHistoricalScoreType = (obj) => {
|
|
|
661
661
|
return HistoricalScoreType_possibleTypes.includes(obj.__typename);
|
|
662
662
|
};
|
|
663
663
|
exports.isHistoricalScoreType = isHistoricalScoreType;
|
|
664
|
-
const UserDomain_possibleTypes = ['UserDomain'];
|
|
665
|
-
const isUserDomain = (obj) => {
|
|
666
|
-
if (!obj?.__typename)
|
|
667
|
-
throw new Error('__typename is missing in "isUserDomain"');
|
|
668
|
-
return UserDomain_possibleTypes.includes(obj.__typename);
|
|
669
|
-
};
|
|
670
|
-
exports.isUserDomain = isUserDomain;
|
|
671
664
|
const AthleteReference_possibleTypes = ['AthleteReference'];
|
|
672
665
|
const isAthleteReference = (obj) => {
|
|
673
666
|
if (!obj?.__typename)
|
|
@@ -682,20 +675,6 @@ const isAthlete = (obj) => {
|
|
|
682
675
|
return Athlete_possibleTypes.includes(obj.__typename);
|
|
683
676
|
};
|
|
684
677
|
exports.isAthlete = isAthlete;
|
|
685
|
-
const CheckoutSession_possibleTypes = ['CheckoutSession'];
|
|
686
|
-
const isCheckoutSession = (obj) => {
|
|
687
|
-
if (!obj?.__typename)
|
|
688
|
-
throw new Error('__typename is missing in "isCheckoutSession"');
|
|
689
|
-
return CheckoutSession_possibleTypes.includes(obj.__typename);
|
|
690
|
-
};
|
|
691
|
-
exports.isCheckoutSession = isCheckoutSession;
|
|
692
|
-
const FundingCheckoutSessionData_possibleTypes = ['FundingCheckoutSessionData'];
|
|
693
|
-
const isFundingCheckoutSessionData = (obj) => {
|
|
694
|
-
if (!obj?.__typename)
|
|
695
|
-
throw new Error('__typename is missing in "isFundingCheckoutSessionData"');
|
|
696
|
-
return FundingCheckoutSessionData_possibleTypes.includes(obj.__typename);
|
|
697
|
-
};
|
|
698
|
-
exports.isFundingCheckoutSessionData = isFundingCheckoutSessionData;
|
|
699
678
|
const SponsorAthleteInvitation_possibleTypes = ['SponsorAthleteInvitation'];
|
|
700
679
|
const isSponsorAthleteInvitation = (obj) => {
|
|
701
680
|
if (!obj?.__typename)
|
|
@@ -787,20 +766,6 @@ const isAthleteIntegrationReference = (obj) => {
|
|
|
787
766
|
return AthleteIntegrationReference_possibleTypes.includes(obj.__typename);
|
|
788
767
|
};
|
|
789
768
|
exports.isAthleteIntegrationReference = isAthleteIntegrationReference;
|
|
790
|
-
const Receipt_possibleTypes = ['Receipt'];
|
|
791
|
-
const isReceipt = (obj) => {
|
|
792
|
-
if (!obj?.__typename)
|
|
793
|
-
throw new Error('__typename is missing in "isReceipt"');
|
|
794
|
-
return Receipt_possibleTypes.includes(obj.__typename);
|
|
795
|
-
};
|
|
796
|
-
exports.isReceipt = isReceipt;
|
|
797
|
-
const ReceiptUrl_possibleTypes = ['ReceiptUrl'];
|
|
798
|
-
const isReceiptUrl = (obj) => {
|
|
799
|
-
if (!obj?.__typename)
|
|
800
|
-
throw new Error('__typename is missing in "isReceiptUrl"');
|
|
801
|
-
return ReceiptUrl_possibleTypes.includes(obj.__typename);
|
|
802
|
-
};
|
|
803
|
-
exports.isReceiptUrl = isReceiptUrl;
|
|
804
769
|
const EditValueResponse_possibleTypes = ['EditValueResponse'];
|
|
805
770
|
const isEditValueResponse = (obj) => {
|
|
806
771
|
if (!obj?.__typename)
|
|
@@ -871,13 +836,6 @@ const isExistValueResponse = (obj) => {
|
|
|
871
836
|
return ExistValueResponse_possibleTypes.includes(obj.__typename);
|
|
872
837
|
};
|
|
873
838
|
exports.isExistValueResponse = isExistValueResponse;
|
|
874
|
-
const DeleteUserResponse_possibleTypes = ['DeleteUserResponse'];
|
|
875
|
-
const isDeleteUserResponse = (obj) => {
|
|
876
|
-
if (!obj?.__typename)
|
|
877
|
-
throw new Error('__typename is missing in "isDeleteUserResponse"');
|
|
878
|
-
return DeleteUserResponse_possibleTypes.includes(obj.__typename);
|
|
879
|
-
};
|
|
880
|
-
exports.isDeleteUserResponse = isDeleteUserResponse;
|
|
881
839
|
const StripeObject_possibleTypes = ['StripeObject'];
|
|
882
840
|
const isStripeObject = (obj) => {
|
|
883
841
|
if (!obj?.__typename)
|
|
@@ -892,13 +850,6 @@ const isUserImages = (obj) => {
|
|
|
892
850
|
return UserImages_possibleTypes.includes(obj.__typename);
|
|
893
851
|
};
|
|
894
852
|
exports.isUserImages = isUserImages;
|
|
895
|
-
const StripeTransfer_possibleTypes = ['StripeTransfer'];
|
|
896
|
-
const isStripeTransfer = (obj) => {
|
|
897
|
-
if (!obj?.__typename)
|
|
898
|
-
throw new Error('__typename is missing in "isStripeTransfer"');
|
|
899
|
-
return StripeTransfer_possibleTypes.includes(obj.__typename);
|
|
900
|
-
};
|
|
901
|
-
exports.isStripeTransfer = isStripeTransfer;
|
|
902
853
|
const Query_possibleTypes = ['Query'];
|
|
903
854
|
const isQuery = (obj) => {
|
|
904
855
|
if (!obj?.__typename)
|
|
@@ -913,15 +864,4 @@ const isMutation = (obj) => {
|
|
|
913
864
|
return Mutation_possibleTypes.includes(obj.__typename);
|
|
914
865
|
};
|
|
915
866
|
exports.isMutation = isMutation;
|
|
916
|
-
exports.enumStripeTransferStatus = {
|
|
917
|
-
not_applicable: 'not_applicable',
|
|
918
|
-
pending: 'pending',
|
|
919
|
-
failed: 'failed',
|
|
920
|
-
completed: 'completed'
|
|
921
|
-
};
|
|
922
|
-
exports.enumDonationMode = {
|
|
923
|
-
PUBLIC: 'PUBLIC',
|
|
924
|
-
PRIVATE: 'PRIVATE',
|
|
925
|
-
ANONYMOUS: 'ANONYMOUS'
|
|
926
|
-
};
|
|
927
867
|
//# sourceMappingURL=schema.js.map
|