@vertikalx/vtx-backend-client 2.0.0-dev.8 → 3.0.0-dev.0
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/domains.d.ts +1 -0
- package/src/api/domains.js +2 -1
- package/src/api/domains.js.map +1 -1
- package/src/api/vtx-base-api.d.ts +12 -2
- package/src/api/vtx-base-api.js +625 -18
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/api/vtx-mobile-api.d.ts +5 -2
- package/src/api/vtx-mobile-api.js +40 -5
- package/src/api/vtx-mobile-api.js.map +1 -1
- package/src/client/schema.d.ts +257 -0
- package/src/client/schema.js +65 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +133 -0
- package/src/client/types.js +559 -216
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export interface DecodedToken {
|
|
|
64
64
|
email: Scalars['String'];
|
|
65
65
|
refreshTokenId: Scalars['String'];
|
|
66
66
|
domains: DomainCredential[];
|
|
67
|
+
clientType: (Scalars['String'] | null);
|
|
67
68
|
__typename: 'DecodedToken';
|
|
68
69
|
}
|
|
69
70
|
export interface DecodedRefreshToken {
|
|
@@ -691,6 +692,7 @@ export interface SportsEvent {
|
|
|
691
692
|
banner: (AWSS3File | null);
|
|
692
693
|
location: (WorldLocation | null);
|
|
693
694
|
eventLevel: (Scalars['String'] | null);
|
|
695
|
+
registeredAthletesCount: (Scalars['Float'] | null);
|
|
694
696
|
__typename: 'SportsEvent';
|
|
695
697
|
}
|
|
696
698
|
export interface AthleteCompetitionResult {
|
|
@@ -715,6 +717,7 @@ export interface BudgetItem {
|
|
|
715
717
|
quantity: Scalars['Float'];
|
|
716
718
|
concept: Scalars['String'];
|
|
717
719
|
itemCost: Scalars['Float'];
|
|
720
|
+
unit: (Scalars['String'] | null);
|
|
718
721
|
__typename: 'BudgetItem';
|
|
719
722
|
}
|
|
720
723
|
export interface Budget {
|
|
@@ -806,6 +809,13 @@ export interface AthletePreferences {
|
|
|
806
809
|
defaultAlbum: (Album | null);
|
|
807
810
|
__typename: 'AthletePreferences';
|
|
808
811
|
}
|
|
812
|
+
export interface Video {
|
|
813
|
+
_id: Scalars['String'];
|
|
814
|
+
source: Scalars['String'];
|
|
815
|
+
url: Scalars['String'];
|
|
816
|
+
sourceData: Scalars['String'];
|
|
817
|
+
__typename: 'Video';
|
|
818
|
+
}
|
|
809
819
|
export interface FundRaisingCampaign {
|
|
810
820
|
_id: Scalars['String'];
|
|
811
821
|
athlete: AthleteReference;
|
|
@@ -823,6 +833,7 @@ export interface FundRaisingCampaign {
|
|
|
823
833
|
budget: (Budget | null);
|
|
824
834
|
competitions: (AthleteCompetition[] | null);
|
|
825
835
|
vtxComissionPct: Scalars['Float'];
|
|
836
|
+
video: (Video | null);
|
|
826
837
|
__typename: 'FundRaisingCampaign';
|
|
827
838
|
}
|
|
828
839
|
export interface StripeCapabilityType {
|
|
@@ -1186,6 +1197,7 @@ export interface BudgetItemReference {
|
|
|
1186
1197
|
concept: Scalars['String'];
|
|
1187
1198
|
quantity: Scalars['Float'];
|
|
1188
1199
|
itemCost: Scalars['Float'];
|
|
1200
|
+
unit: (Scalars['String'] | null);
|
|
1189
1201
|
totalCost: Scalars['Float'];
|
|
1190
1202
|
__typename: 'BudgetItemReference';
|
|
1191
1203
|
}
|
|
@@ -1243,6 +1255,21 @@ export interface BudgetData {
|
|
|
1243
1255
|
campaigns: CampaignBudgetData[];
|
|
1244
1256
|
__typename: 'BudgetData';
|
|
1245
1257
|
}
|
|
1258
|
+
export interface MergeEventsResponse {
|
|
1259
|
+
success: Scalars['Boolean'];
|
|
1260
|
+
mergedEvent: (SportsEvent | null);
|
|
1261
|
+
__typename: 'MergeEventsResponse';
|
|
1262
|
+
}
|
|
1263
|
+
export interface BudgetItemUnit {
|
|
1264
|
+
_id: Scalars['String'];
|
|
1265
|
+
label: Scalars['String'];
|
|
1266
|
+
__typename: 'BudgetItemUnit';
|
|
1267
|
+
}
|
|
1268
|
+
export interface BudgetConcept {
|
|
1269
|
+
_id: Scalars['String'];
|
|
1270
|
+
label: (Scalars['String'] | null);
|
|
1271
|
+
__typename: 'BudgetConcept';
|
|
1272
|
+
}
|
|
1246
1273
|
export interface EditValueResponse {
|
|
1247
1274
|
field: Scalars['String'];
|
|
1248
1275
|
oldValue: (Scalars['String'] | null);
|
|
@@ -1295,6 +1322,16 @@ export interface ExistValueResponse {
|
|
|
1295
1322
|
exist: Scalars['Boolean'];
|
|
1296
1323
|
__typename: 'ExistValueResponse';
|
|
1297
1324
|
}
|
|
1325
|
+
export interface CompetitionDeleteVerificationReason {
|
|
1326
|
+
code: Scalars['String'];
|
|
1327
|
+
message: Scalars['String'];
|
|
1328
|
+
details: (Scalars['String'] | null);
|
|
1329
|
+
__typename: 'CompetitionDeleteVerificationReason';
|
|
1330
|
+
}
|
|
1331
|
+
export interface CompetitionDeleteVerificationResponse {
|
|
1332
|
+
reasons: CompetitionDeleteVerificationReason[];
|
|
1333
|
+
__typename: 'CompetitionDeleteVerificationResponse';
|
|
1334
|
+
}
|
|
1298
1335
|
export interface StripeObject {
|
|
1299
1336
|
type: Scalars['String'];
|
|
1300
1337
|
json: Scalars['JSONObject'];
|
|
@@ -1306,6 +1343,13 @@ export interface UserImages {
|
|
|
1306
1343
|
bannerPictureUrl: (Scalars['String'] | null);
|
|
1307
1344
|
__typename: 'UserImages';
|
|
1308
1345
|
}
|
|
1346
|
+
export interface ValidatedToken {
|
|
1347
|
+
accessToken: Scalars['String'];
|
|
1348
|
+
refreshToken: Scalars['String'];
|
|
1349
|
+
expiresAt: Scalars['Float'];
|
|
1350
|
+
refreshExpiresAt: Scalars['Float'];
|
|
1351
|
+
__typename: 'ValidatedToken';
|
|
1352
|
+
}
|
|
1309
1353
|
export interface StripeTransfer {
|
|
1310
1354
|
_id: Scalars['ID'];
|
|
1311
1355
|
stripeId: (Scalars['String'] | null);
|
|
@@ -1328,6 +1372,30 @@ export interface UserDomain {
|
|
|
1328
1372
|
user: (User | null);
|
|
1329
1373
|
__typename: 'UserDomain';
|
|
1330
1374
|
}
|
|
1375
|
+
export interface Donation {
|
|
1376
|
+
checkoutSessionId: Scalars['String'];
|
|
1377
|
+
fundingCheckoutSessionDataId: Scalars['String'];
|
|
1378
|
+
donationMode: Scalars['String'];
|
|
1379
|
+
completed: Scalars['Boolean'];
|
|
1380
|
+
confirmed: Scalars['Boolean'];
|
|
1381
|
+
donationAmount: Scalars['Float'];
|
|
1382
|
+
completedDate: (Scalars['DateTime'] | null);
|
|
1383
|
+
createdDate: Scalars['DateTime'];
|
|
1384
|
+
athleteId: Scalars['String'];
|
|
1385
|
+
athleteName: Scalars['String'];
|
|
1386
|
+
message: (Scalars['String'] | null);
|
|
1387
|
+
athleteReference: (AthleteReference | null);
|
|
1388
|
+
campaignReference: (FundRaisingCampaign | null);
|
|
1389
|
+
__typename: 'Donation';
|
|
1390
|
+
}
|
|
1391
|
+
export interface Member {
|
|
1392
|
+
_id: Scalars['String'];
|
|
1393
|
+
fullName: Scalars['String'];
|
|
1394
|
+
screenName: (Scalars['String'] | null);
|
|
1395
|
+
memberPicture: (AWSS3File | null);
|
|
1396
|
+
donations: Donation[];
|
|
1397
|
+
__typename: 'Member';
|
|
1398
|
+
}
|
|
1331
1399
|
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
1332
1400
|
export interface Query {
|
|
1333
1401
|
findTenantById: Tenant;
|
|
@@ -1346,6 +1414,7 @@ export interface Query {
|
|
|
1346
1414
|
existsValidSponsorForEmail: Sponsor;
|
|
1347
1415
|
sponsors: Sponsor[];
|
|
1348
1416
|
findSponsorAthleteInvitation: SponsorAthleteInvitation;
|
|
1417
|
+
verifyAthleteCompetitionLinkedForDelete: CompetitionDeleteVerificationResponse;
|
|
1349
1418
|
getAthletes: Athlete[];
|
|
1350
1419
|
queryAthleteFundingCampaigns: AthleteQueryResponse;
|
|
1351
1420
|
searchAthletes: Athlete[];
|
|
@@ -1385,6 +1454,8 @@ export interface Query {
|
|
|
1385
1454
|
getSportsEvents: SportsEvent[];
|
|
1386
1455
|
getBudgetsByAthlete: BudgetData;
|
|
1387
1456
|
getDonationsByAthlete: Receipt;
|
|
1457
|
+
getBudgetConcepts: BudgetConcept[];
|
|
1458
|
+
getBudgetItemUnits: BudgetItemUnit[];
|
|
1388
1459
|
getMembershipOrganizations: MembershipOrganizationReference[];
|
|
1389
1460
|
getAthleteStravaIntegration: AthleteIntegrationReference;
|
|
1390
1461
|
getAthleteInstagramIntegration: AthleteIntegrationReference;
|
|
@@ -1412,6 +1483,7 @@ export interface Mutation {
|
|
|
1412
1483
|
registerSponsor: Sponsor;
|
|
1413
1484
|
createSponsor: Sponsor;
|
|
1414
1485
|
sendAthleteInvitations: SponsorAthleteInvitation[];
|
|
1486
|
+
forceDeleteAthleteCompetition: DeleteSingleValueResponse;
|
|
1415
1487
|
registerAthlete: Athlete;
|
|
1416
1488
|
editProfileValue: EditValueResponse;
|
|
1417
1489
|
editPicture: EditPictureResponse;
|
|
@@ -1419,6 +1491,7 @@ export interface Mutation {
|
|
|
1419
1491
|
addAthleteCompetition: AthleteCompetition;
|
|
1420
1492
|
deleteAthleteCompetition: DeleteSingleValueResponse;
|
|
1421
1493
|
createAthleteAlbum: Album;
|
|
1494
|
+
reorderAlbumIndex: Album[];
|
|
1422
1495
|
editAlbum: Album;
|
|
1423
1496
|
deleteAthleteAlbum: DeleteSingleValueResponse;
|
|
1424
1497
|
deleteAthletePhotos: DeleteValuesResponse;
|
|
@@ -1436,13 +1509,16 @@ export interface Mutation {
|
|
|
1436
1509
|
confirmAthleteUserRegistrationAndLogin: UserWithToken;
|
|
1437
1510
|
confirmAthleteUserRegistration: User;
|
|
1438
1511
|
registerAthleteUser: User;
|
|
1512
|
+
registerMemberUser: User;
|
|
1439
1513
|
registerSponsorUser: User;
|
|
1440
1514
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1441
1515
|
createResetPasswordCode: EditValueResponse;
|
|
1442
1516
|
resetUserPassword: EditValueResponse;
|
|
1517
|
+
validateToken: ValidatedToken;
|
|
1443
1518
|
handleStravaCallback: StravaToken;
|
|
1444
1519
|
refreshStravaToken: StravaToken;
|
|
1445
1520
|
createSportsEvent: SportsEvent;
|
|
1521
|
+
mergeSportsEvents: MergeEventsResponse;
|
|
1446
1522
|
setFundingStatus: FundRaisingCampaign;
|
|
1447
1523
|
createFundingCampaign: FundRaisingCampaign;
|
|
1448
1524
|
updateFundingCampaign: FundRaisingCampaign;
|
|
@@ -1452,6 +1528,7 @@ export interface Mutation {
|
|
|
1452
1528
|
addCompetitionBudget: Scalars['Boolean'];
|
|
1453
1529
|
editCompetitionBudget: Scalars['Boolean'];
|
|
1454
1530
|
editCampaignBudget: Scalars['Boolean'];
|
|
1531
|
+
editCompetitionBudgetForCampaign: Scalars['Boolean'];
|
|
1455
1532
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
1456
1533
|
createAthleteMembershipAffilation: AthleteMembership;
|
|
1457
1534
|
deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
|
|
@@ -1459,6 +1536,8 @@ export interface Mutation {
|
|
|
1459
1536
|
createStripeAccount: StripeAccountReference;
|
|
1460
1537
|
createAthleteStripeSession: StripeSession;
|
|
1461
1538
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
1539
|
+
createStripeLoginLink: Scalars['String'];
|
|
1540
|
+
createStripeAccountLink: Scalars['String'];
|
|
1462
1541
|
__typename: 'Mutation';
|
|
1463
1542
|
}
|
|
1464
1543
|
export interface UserGenqlSelection {
|
|
@@ -1526,6 +1605,7 @@ export interface DecodedTokenGenqlSelection {
|
|
|
1526
1605
|
email?: boolean | number;
|
|
1527
1606
|
refreshTokenId?: boolean | number;
|
|
1528
1607
|
domains?: DomainCredentialGenqlSelection;
|
|
1608
|
+
clientType?: boolean | number;
|
|
1529
1609
|
__typename?: boolean | number;
|
|
1530
1610
|
__scalar?: boolean | number;
|
|
1531
1611
|
}
|
|
@@ -2224,6 +2304,7 @@ export interface SportsEventGenqlSelection {
|
|
|
2224
2304
|
banner?: AWSS3FileGenqlSelection;
|
|
2225
2305
|
location?: WorldLocationGenqlSelection;
|
|
2226
2306
|
eventLevel?: boolean | number;
|
|
2307
|
+
registeredAthletesCount?: boolean | number;
|
|
2227
2308
|
__typename?: boolean | number;
|
|
2228
2309
|
__scalar?: boolean | number;
|
|
2229
2310
|
}
|
|
@@ -2250,6 +2331,7 @@ export interface BudgetItemGenqlSelection {
|
|
|
2250
2331
|
quantity?: boolean | number;
|
|
2251
2332
|
concept?: boolean | number;
|
|
2252
2333
|
itemCost?: boolean | number;
|
|
2334
|
+
unit?: boolean | number;
|
|
2253
2335
|
__typename?: boolean | number;
|
|
2254
2336
|
__scalar?: boolean | number;
|
|
2255
2337
|
}
|
|
@@ -2352,6 +2434,14 @@ export interface AthletePreferencesGenqlSelection {
|
|
|
2352
2434
|
__typename?: boolean | number;
|
|
2353
2435
|
__scalar?: boolean | number;
|
|
2354
2436
|
}
|
|
2437
|
+
export interface VideoGenqlSelection {
|
|
2438
|
+
_id?: boolean | number;
|
|
2439
|
+
source?: boolean | number;
|
|
2440
|
+
url?: boolean | number;
|
|
2441
|
+
sourceData?: boolean | number;
|
|
2442
|
+
__typename?: boolean | number;
|
|
2443
|
+
__scalar?: boolean | number;
|
|
2444
|
+
}
|
|
2355
2445
|
export interface FundRaisingCampaignGenqlSelection {
|
|
2356
2446
|
_id?: boolean | number;
|
|
2357
2447
|
athlete?: AthleteReferenceGenqlSelection;
|
|
@@ -2369,6 +2459,7 @@ export interface FundRaisingCampaignGenqlSelection {
|
|
|
2369
2459
|
budget?: BudgetGenqlSelection;
|
|
2370
2460
|
competitions?: AthleteCompetitionGenqlSelection;
|
|
2371
2461
|
vtxComissionPct?: boolean | number;
|
|
2462
|
+
video?: VideoGenqlSelection;
|
|
2372
2463
|
__typename?: boolean | number;
|
|
2373
2464
|
__scalar?: boolean | number;
|
|
2374
2465
|
}
|
|
@@ -2763,6 +2854,7 @@ export interface BudgetItemReferenceGenqlSelection {
|
|
|
2763
2854
|
concept?: boolean | number;
|
|
2764
2855
|
quantity?: boolean | number;
|
|
2765
2856
|
itemCost?: boolean | number;
|
|
2857
|
+
unit?: boolean | number;
|
|
2766
2858
|
totalCost?: boolean | number;
|
|
2767
2859
|
__typename?: boolean | number;
|
|
2768
2860
|
__scalar?: boolean | number;
|
|
@@ -2825,6 +2917,24 @@ export interface BudgetDataGenqlSelection {
|
|
|
2825
2917
|
__typename?: boolean | number;
|
|
2826
2918
|
__scalar?: boolean | number;
|
|
2827
2919
|
}
|
|
2920
|
+
export interface MergeEventsResponseGenqlSelection {
|
|
2921
|
+
success?: boolean | number;
|
|
2922
|
+
mergedEvent?: SportsEventGenqlSelection;
|
|
2923
|
+
__typename?: boolean | number;
|
|
2924
|
+
__scalar?: boolean | number;
|
|
2925
|
+
}
|
|
2926
|
+
export interface BudgetItemUnitGenqlSelection {
|
|
2927
|
+
_id?: boolean | number;
|
|
2928
|
+
label?: boolean | number;
|
|
2929
|
+
__typename?: boolean | number;
|
|
2930
|
+
__scalar?: boolean | number;
|
|
2931
|
+
}
|
|
2932
|
+
export interface BudgetConceptGenqlSelection {
|
|
2933
|
+
_id?: boolean | number;
|
|
2934
|
+
label?: boolean | number;
|
|
2935
|
+
__typename?: boolean | number;
|
|
2936
|
+
__scalar?: boolean | number;
|
|
2937
|
+
}
|
|
2828
2938
|
export interface EditValueResponseGenqlSelection {
|
|
2829
2939
|
field?: boolean | number;
|
|
2830
2940
|
oldValue?: boolean | number;
|
|
@@ -2885,6 +2995,18 @@ export interface ExistValueResponseGenqlSelection {
|
|
|
2885
2995
|
__typename?: boolean | number;
|
|
2886
2996
|
__scalar?: boolean | number;
|
|
2887
2997
|
}
|
|
2998
|
+
export interface CompetitionDeleteVerificationReasonGenqlSelection {
|
|
2999
|
+
code?: boolean | number;
|
|
3000
|
+
message?: boolean | number;
|
|
3001
|
+
details?: boolean | number;
|
|
3002
|
+
__typename?: boolean | number;
|
|
3003
|
+
__scalar?: boolean | number;
|
|
3004
|
+
}
|
|
3005
|
+
export interface CompetitionDeleteVerificationResponseGenqlSelection {
|
|
3006
|
+
reasons?: CompetitionDeleteVerificationReasonGenqlSelection;
|
|
3007
|
+
__typename?: boolean | number;
|
|
3008
|
+
__scalar?: boolean | number;
|
|
3009
|
+
}
|
|
2888
3010
|
export interface StripeObjectGenqlSelection {
|
|
2889
3011
|
type?: boolean | number;
|
|
2890
3012
|
json?: boolean | number;
|
|
@@ -2898,6 +3020,14 @@ export interface UserImagesGenqlSelection {
|
|
|
2898
3020
|
__typename?: boolean | number;
|
|
2899
3021
|
__scalar?: boolean | number;
|
|
2900
3022
|
}
|
|
3023
|
+
export interface ValidatedTokenGenqlSelection {
|
|
3024
|
+
accessToken?: boolean | number;
|
|
3025
|
+
refreshToken?: boolean | number;
|
|
3026
|
+
expiresAt?: boolean | number;
|
|
3027
|
+
refreshExpiresAt?: boolean | number;
|
|
3028
|
+
__typename?: boolean | number;
|
|
3029
|
+
__scalar?: boolean | number;
|
|
3030
|
+
}
|
|
2901
3031
|
export interface StripeTransferGenqlSelection {
|
|
2902
3032
|
_id?: boolean | number;
|
|
2903
3033
|
stripeId?: boolean | number;
|
|
@@ -2921,6 +3051,32 @@ export interface UserDomainGenqlSelection {
|
|
|
2921
3051
|
__typename?: boolean | number;
|
|
2922
3052
|
__scalar?: boolean | number;
|
|
2923
3053
|
}
|
|
3054
|
+
export interface DonationGenqlSelection {
|
|
3055
|
+
checkoutSessionId?: boolean | number;
|
|
3056
|
+
fundingCheckoutSessionDataId?: boolean | number;
|
|
3057
|
+
donationMode?: boolean | number;
|
|
3058
|
+
completed?: boolean | number;
|
|
3059
|
+
confirmed?: boolean | number;
|
|
3060
|
+
donationAmount?: boolean | number;
|
|
3061
|
+
completedDate?: boolean | number;
|
|
3062
|
+
createdDate?: boolean | number;
|
|
3063
|
+
athleteId?: boolean | number;
|
|
3064
|
+
athleteName?: boolean | number;
|
|
3065
|
+
message?: boolean | number;
|
|
3066
|
+
athleteReference?: AthleteReferenceGenqlSelection;
|
|
3067
|
+
campaignReference?: FundRaisingCampaignGenqlSelection;
|
|
3068
|
+
__typename?: boolean | number;
|
|
3069
|
+
__scalar?: boolean | number;
|
|
3070
|
+
}
|
|
3071
|
+
export interface MemberGenqlSelection {
|
|
3072
|
+
_id?: boolean | number;
|
|
3073
|
+
fullName?: boolean | number;
|
|
3074
|
+
screenName?: boolean | number;
|
|
3075
|
+
memberPicture?: AWSS3FileGenqlSelection;
|
|
3076
|
+
donations?: DonationGenqlSelection;
|
|
3077
|
+
__typename?: boolean | number;
|
|
3078
|
+
__scalar?: boolean | number;
|
|
3079
|
+
}
|
|
2924
3080
|
export interface CreateDatabaseFileDto {
|
|
2925
3081
|
identifier: Scalars['String'];
|
|
2926
3082
|
version?: Scalars['String'];
|
|
@@ -3082,6 +3238,8 @@ export interface AthleteFilterDto {
|
|
|
3082
3238
|
maxTrainingScore?: (Scalars['Float'] | null);
|
|
3083
3239
|
minPerformanceScore?: (Scalars['Float'] | null);
|
|
3084
3240
|
maxPerformanceScore?: (Scalars['Float'] | null);
|
|
3241
|
+
futureEventIds?: (Scalars['String'][] | null);
|
|
3242
|
+
pastEventIds?: (Scalars['String'][] | null);
|
|
3085
3243
|
}
|
|
3086
3244
|
export interface AthleteQueryDto {
|
|
3087
3245
|
cursor?: (CursorPaginationDto | null);
|
|
@@ -3103,6 +3261,7 @@ export interface UploadAlbumsPicturesDto {
|
|
|
3103
3261
|
description?: (Scalars['String'] | null);
|
|
3104
3262
|
pictures?: (AWSS3UploadedFileDto[] | null);
|
|
3105
3263
|
albumId?: (Scalars['String'] | null);
|
|
3264
|
+
visibility?: (Scalars['String'] | null);
|
|
3106
3265
|
competitionId?: (Scalars['String'] | null);
|
|
3107
3266
|
}
|
|
3108
3267
|
export interface DeleteValuesDto {
|
|
@@ -3186,15 +3345,25 @@ export interface resetPasswordDto {
|
|
|
3186
3345
|
export interface GetReceiptDto {
|
|
3187
3346
|
_id: Scalars['String'];
|
|
3188
3347
|
}
|
|
3348
|
+
export interface MergeSportsEventsDto {
|
|
3349
|
+
mergeTo: Scalars['String'];
|
|
3350
|
+
mergeName?: (Scalars['String'] | null);
|
|
3351
|
+
mergeStartDate?: (Scalars['DateTime'] | null);
|
|
3352
|
+
mergeEndDate?: (Scalars['DateTime'] | null);
|
|
3353
|
+
mergeWebsite?: (Scalars['String'] | null);
|
|
3354
|
+
mergeIds: Scalars['String'][];
|
|
3355
|
+
}
|
|
3189
3356
|
export interface BudgetItemDto {
|
|
3190
3357
|
quantity: Scalars['Float'];
|
|
3191
3358
|
concept: Scalars['String'];
|
|
3192
3359
|
itemCost: Scalars['Float'];
|
|
3360
|
+
unit?: (Scalars['String'] | null);
|
|
3193
3361
|
}
|
|
3194
3362
|
export interface CreateBudgetItemDto {
|
|
3195
3363
|
quantity: Scalars['Float'];
|
|
3196
3364
|
concept: Scalars['String'];
|
|
3197
3365
|
itemCost: Scalars['Float'];
|
|
3366
|
+
unit?: (Scalars['String'] | null);
|
|
3198
3367
|
budgetId: Scalars['String'];
|
|
3199
3368
|
}
|
|
3200
3369
|
export interface CreateBudgetDto {
|
|
@@ -3206,6 +3375,11 @@ export interface CreateCompetitionBudgetDto {
|
|
|
3206
3375
|
items?: (BudgetItemDto[] | null);
|
|
3207
3376
|
athleteCompetitionId: Scalars['String'];
|
|
3208
3377
|
}
|
|
3378
|
+
export interface CreateVideoDto {
|
|
3379
|
+
source: Scalars['String'];
|
|
3380
|
+
url: Scalars['String'];
|
|
3381
|
+
sourceData?: Scalars['String'];
|
|
3382
|
+
}
|
|
3209
3383
|
export interface CreateFundingCampaignDto {
|
|
3210
3384
|
budgetMode: Scalars['String'];
|
|
3211
3385
|
title: Scalars['String'];
|
|
@@ -3218,6 +3392,7 @@ export interface CreateFundingCampaignDto {
|
|
|
3218
3392
|
budget?: (CreateBudgetDto | null);
|
|
3219
3393
|
competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
|
|
3220
3394
|
competitionIds?: (Scalars['String'][] | null);
|
|
3395
|
+
video?: (CreateVideoDto | null);
|
|
3221
3396
|
}
|
|
3222
3397
|
export interface CreateFundingCampaignForDto {
|
|
3223
3398
|
budgetMode: Scalars['String'];
|
|
@@ -3231,6 +3406,7 @@ export interface CreateFundingCampaignForDto {
|
|
|
3231
3406
|
budget?: (CreateBudgetDto | null);
|
|
3232
3407
|
competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
|
|
3233
3408
|
competitionIds?: (Scalars['String'][] | null);
|
|
3409
|
+
video?: (CreateVideoDto | null);
|
|
3234
3410
|
loginEmail: Scalars['String'];
|
|
3235
3411
|
}
|
|
3236
3412
|
export interface UpdateFundingCampaignDto {
|
|
@@ -3245,6 +3421,7 @@ export interface UpdateFundingCampaignDto {
|
|
|
3245
3421
|
budget?: (CreateBudgetDto | null);
|
|
3246
3422
|
competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
|
|
3247
3423
|
competitionIds?: (Scalars['String'][] | null);
|
|
3424
|
+
video?: (CreateVideoDto | null);
|
|
3248
3425
|
_id: Scalars['String'];
|
|
3249
3426
|
}
|
|
3250
3427
|
export interface SetFundingStatusDto {
|
|
@@ -3265,6 +3442,7 @@ export interface EditCompetitionBudgetDto {
|
|
|
3265
3442
|
}
|
|
3266
3443
|
export interface EditCampaignBudgetDto {
|
|
3267
3444
|
campaignId: Scalars['String'];
|
|
3445
|
+
competitionId?: (Scalars['String'] | null);
|
|
3268
3446
|
fundsRequired?: (Scalars['Float'] | null);
|
|
3269
3447
|
initialFundsObtained?: (Scalars['Float'] | null);
|
|
3270
3448
|
budget?: (BudgetDto | null);
|
|
@@ -3312,6 +3490,11 @@ export interface GetFundingCheckoutSessionDataDto {
|
|
|
3312
3490
|
export interface DeleteAthleteDto {
|
|
3313
3491
|
userIdentifier: Scalars['String'];
|
|
3314
3492
|
}
|
|
3493
|
+
export interface SocialState {
|
|
3494
|
+
systemId: Scalars['String'];
|
|
3495
|
+
loginEmail: Scalars['String'];
|
|
3496
|
+
client?: (Scalars['String'] | null);
|
|
3497
|
+
}
|
|
3315
3498
|
export interface QueryGenqlSelection {
|
|
3316
3499
|
findTenantById?: (TenantGenqlSelection & {
|
|
3317
3500
|
__args: {
|
|
@@ -3381,6 +3564,11 @@ export interface QueryGenqlSelection {
|
|
|
3381
3564
|
input: FindSponsorAthleteInvitationDto;
|
|
3382
3565
|
};
|
|
3383
3566
|
});
|
|
3567
|
+
verifyAthleteCompetitionLinkedForDelete?: (CompetitionDeleteVerificationResponseGenqlSelection & {
|
|
3568
|
+
__args: {
|
|
3569
|
+
input: existValueDto;
|
|
3570
|
+
};
|
|
3571
|
+
});
|
|
3384
3572
|
getAthletes?: AthleteGenqlSelection;
|
|
3385
3573
|
queryAthleteFundingCampaigns?: (AthleteQueryResponseGenqlSelection & {
|
|
3386
3574
|
__args: {
|
|
@@ -3529,6 +3717,8 @@ export interface QueryGenqlSelection {
|
|
|
3529
3717
|
});
|
|
3530
3718
|
getBudgetsByAthlete?: BudgetDataGenqlSelection;
|
|
3531
3719
|
getDonationsByAthlete?: ReceiptGenqlSelection;
|
|
3720
|
+
getBudgetConcepts?: BudgetConceptGenqlSelection;
|
|
3721
|
+
getBudgetItemUnits?: BudgetItemUnitGenqlSelection;
|
|
3532
3722
|
getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
|
|
3533
3723
|
getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
3534
3724
|
getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
@@ -3658,6 +3848,11 @@ export interface MutationGenqlSelection {
|
|
|
3658
3848
|
input: InviteAthletesDto;
|
|
3659
3849
|
};
|
|
3660
3850
|
});
|
|
3851
|
+
forceDeleteAthleteCompetition?: (DeleteSingleValueResponseGenqlSelection & {
|
|
3852
|
+
__args: {
|
|
3853
|
+
input: DeleteSingleValueDto;
|
|
3854
|
+
};
|
|
3855
|
+
});
|
|
3661
3856
|
registerAthlete?: (AthleteGenqlSelection & {
|
|
3662
3857
|
__args: {
|
|
3663
3858
|
input: RegisterAthleteDto;
|
|
@@ -3693,6 +3888,11 @@ export interface MutationGenqlSelection {
|
|
|
3693
3888
|
input: UploadAlbumsPicturesDto;
|
|
3694
3889
|
};
|
|
3695
3890
|
});
|
|
3891
|
+
reorderAlbumIndex?: (AlbumGenqlSelection & {
|
|
3892
|
+
__args: {
|
|
3893
|
+
input: EditDisplayIndexDto;
|
|
3894
|
+
};
|
|
3895
|
+
});
|
|
3696
3896
|
editAlbum?: (AlbumGenqlSelection & {
|
|
3697
3897
|
__args: {
|
|
3698
3898
|
input: UploadAlbumsPicturesDto;
|
|
@@ -3774,6 +3974,11 @@ export interface MutationGenqlSelection {
|
|
|
3774
3974
|
input: RegisterUserDto;
|
|
3775
3975
|
};
|
|
3776
3976
|
});
|
|
3977
|
+
registerMemberUser?: (UserGenqlSelection & {
|
|
3978
|
+
__args: {
|
|
3979
|
+
input: RegisterUserDto;
|
|
3980
|
+
};
|
|
3981
|
+
});
|
|
3777
3982
|
registerSponsorUser?: (UserGenqlSelection & {
|
|
3778
3983
|
__args: {
|
|
3779
3984
|
input: RegisterUserDto;
|
|
@@ -3795,6 +4000,11 @@ export interface MutationGenqlSelection {
|
|
|
3795
4000
|
input: resetPasswordDto;
|
|
3796
4001
|
};
|
|
3797
4002
|
});
|
|
4003
|
+
validateToken?: (ValidatedTokenGenqlSelection & {
|
|
4004
|
+
__args: {
|
|
4005
|
+
input: Scalars['String'];
|
|
4006
|
+
};
|
|
4007
|
+
});
|
|
3798
4008
|
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
3799
4009
|
__args: {
|
|
3800
4010
|
data: RegisterStravaDto;
|
|
@@ -3810,6 +4020,11 @@ export interface MutationGenqlSelection {
|
|
|
3810
4020
|
input: CreateSportEventDto;
|
|
3811
4021
|
};
|
|
3812
4022
|
});
|
|
4023
|
+
mergeSportsEvents?: (MergeEventsResponseGenqlSelection & {
|
|
4024
|
+
__args: {
|
|
4025
|
+
input: MergeSportsEventsDto;
|
|
4026
|
+
};
|
|
4027
|
+
});
|
|
3813
4028
|
setFundingStatus?: (FundRaisingCampaignGenqlSelection & {
|
|
3814
4029
|
__args: {
|
|
3815
4030
|
input: SetFundingStatusDto;
|
|
@@ -3855,6 +4070,11 @@ export interface MutationGenqlSelection {
|
|
|
3855
4070
|
input: EditCampaignBudgetDto;
|
|
3856
4071
|
};
|
|
3857
4072
|
};
|
|
4073
|
+
editCompetitionBudgetForCampaign?: {
|
|
4074
|
+
__args: {
|
|
4075
|
+
input: EditCampaignBudgetDto;
|
|
4076
|
+
};
|
|
4077
|
+
};
|
|
3858
4078
|
createMembershipOrganization?: (MembershipOrganizationReferenceGenqlSelection & {
|
|
3859
4079
|
__args: {
|
|
3860
4080
|
input: CreateMembershipOrganizationDto;
|
|
@@ -3886,6 +4106,8 @@ export interface MutationGenqlSelection {
|
|
|
3886
4106
|
input: DonationCheckoutDto;
|
|
3887
4107
|
};
|
|
3888
4108
|
});
|
|
4109
|
+
createStripeLoginLink?: boolean | number;
|
|
4110
|
+
createStripeAccountLink?: boolean | number;
|
|
3889
4111
|
__typename?: boolean | number;
|
|
3890
4112
|
__scalar?: boolean | number;
|
|
3891
4113
|
}
|
|
@@ -3899,6 +4121,7 @@ export interface CreateActiveUserInput {
|
|
|
3899
4121
|
loginEmail: Scalars['String'];
|
|
3900
4122
|
password?: (Scalars['String'] | null);
|
|
3901
4123
|
loginMethod?: (Scalars['String'] | null);
|
|
4124
|
+
clientType?: (Scalars['String'] | null);
|
|
3902
4125
|
}
|
|
3903
4126
|
export interface RegisterUserToDomainFromEmailInput {
|
|
3904
4127
|
email: Scalars['String'];
|
|
@@ -3984,6 +4207,13 @@ export interface EditValueDto {
|
|
|
3984
4207
|
field: Scalars['String'];
|
|
3985
4208
|
newValue?: (Scalars['String'] | null);
|
|
3986
4209
|
}
|
|
4210
|
+
export interface EditDisplayIndexDto {
|
|
4211
|
+
updates: AlbumIndexUpdate[];
|
|
4212
|
+
}
|
|
4213
|
+
export interface AlbumIndexUpdate {
|
|
4214
|
+
id: Scalars['String'];
|
|
4215
|
+
newIndex: Scalars['Float'];
|
|
4216
|
+
}
|
|
3987
4217
|
export interface SetCurrentCampaignDto {
|
|
3988
4218
|
campaignId: Scalars['String'];
|
|
3989
4219
|
}
|
|
@@ -4366,6 +4596,9 @@ export declare const isChannel: (obj?: {
|
|
|
4366
4596
|
export declare const isAthletePreferences: (obj?: {
|
|
4367
4597
|
__typename?: any;
|
|
4368
4598
|
} | null) => obj is AthletePreferences;
|
|
4599
|
+
export declare const isVideo: (obj?: {
|
|
4600
|
+
__typename?: any;
|
|
4601
|
+
} | null) => obj is Video;
|
|
4369
4602
|
export declare const isFundRaisingCampaign: (obj?: {
|
|
4370
4603
|
__typename?: any;
|
|
4371
4604
|
} | null) => obj is FundRaisingCampaign;
|
|
@@ -4480,6 +4713,15 @@ export declare const isCampaignBudgetData: (obj?: {
|
|
|
4480
4713
|
export declare const isBudgetData: (obj?: {
|
|
4481
4714
|
__typename?: any;
|
|
4482
4715
|
} | null) => obj is BudgetData;
|
|
4716
|
+
export declare const isMergeEventsResponse: (obj?: {
|
|
4717
|
+
__typename?: any;
|
|
4718
|
+
} | null) => obj is MergeEventsResponse;
|
|
4719
|
+
export declare const isBudgetItemUnit: (obj?: {
|
|
4720
|
+
__typename?: any;
|
|
4721
|
+
} | null) => obj is BudgetItemUnit;
|
|
4722
|
+
export declare const isBudgetConcept: (obj?: {
|
|
4723
|
+
__typename?: any;
|
|
4724
|
+
} | null) => obj is BudgetConcept;
|
|
4483
4725
|
export declare const isEditValueResponse: (obj?: {
|
|
4484
4726
|
__typename?: any;
|
|
4485
4727
|
} | null) => obj is EditValueResponse;
|
|
@@ -4504,18 +4746,33 @@ export declare const isAddValuesResponse: (obj?: {
|
|
|
4504
4746
|
export declare const isExistValueResponse: (obj?: {
|
|
4505
4747
|
__typename?: any;
|
|
4506
4748
|
} | null) => obj is ExistValueResponse;
|
|
4749
|
+
export declare const isCompetitionDeleteVerificationReason: (obj?: {
|
|
4750
|
+
__typename?: any;
|
|
4751
|
+
} | null) => obj is CompetitionDeleteVerificationReason;
|
|
4752
|
+
export declare const isCompetitionDeleteVerificationResponse: (obj?: {
|
|
4753
|
+
__typename?: any;
|
|
4754
|
+
} | null) => obj is CompetitionDeleteVerificationResponse;
|
|
4507
4755
|
export declare const isStripeObject: (obj?: {
|
|
4508
4756
|
__typename?: any;
|
|
4509
4757
|
} | null) => obj is StripeObject;
|
|
4510
4758
|
export declare const isUserImages: (obj?: {
|
|
4511
4759
|
__typename?: any;
|
|
4512
4760
|
} | null) => obj is UserImages;
|
|
4761
|
+
export declare const isValidatedToken: (obj?: {
|
|
4762
|
+
__typename?: any;
|
|
4763
|
+
} | null) => obj is ValidatedToken;
|
|
4513
4764
|
export declare const isStripeTransfer: (obj?: {
|
|
4514
4765
|
__typename?: any;
|
|
4515
4766
|
} | null) => obj is StripeTransfer;
|
|
4516
4767
|
export declare const isUserDomain: (obj?: {
|
|
4517
4768
|
__typename?: any;
|
|
4518
4769
|
} | null) => obj is UserDomain;
|
|
4770
|
+
export declare const isDonation: (obj?: {
|
|
4771
|
+
__typename?: any;
|
|
4772
|
+
} | null) => obj is Donation;
|
|
4773
|
+
export declare const isMember: (obj?: {
|
|
4774
|
+
__typename?: any;
|
|
4775
|
+
} | null) => obj is Member;
|
|
4519
4776
|
export declare const isQuery: (obj?: {
|
|
4520
4777
|
__typename?: any;
|
|
4521
4778
|
} | null) => obj is Query;
|