@vertikalx/vtx-backend-client 3.0.0-dev.17 → 3.0.0-dev.19
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 +16 -1
- package/src/api/vtx-base-api.js +337 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +183 -32
- package/src/client/schema.js +42 -7
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +106 -19
- package/src/client/types.js +412 -189
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -1422,6 +1422,22 @@ export interface StripeObject {
|
|
|
1422
1422
|
json: Scalars['JSONObject'];
|
|
1423
1423
|
__typename: 'StripeObject';
|
|
1424
1424
|
}
|
|
1425
|
+
export interface EnhancedPaginationInfoType {
|
|
1426
|
+
currentPage: Scalars['Int'];
|
|
1427
|
+
totalPages: Scalars['Int'];
|
|
1428
|
+
totalItems: Scalars['Int'];
|
|
1429
|
+
itemsPerPage: Scalars['Int'];
|
|
1430
|
+
hasNextPage: Scalars['Boolean'];
|
|
1431
|
+
hasPreviousPage: Scalars['Boolean'];
|
|
1432
|
+
startIndex: Scalars['Int'];
|
|
1433
|
+
endIndex: Scalars['Int'];
|
|
1434
|
+
__typename: 'EnhancedPaginationInfoType';
|
|
1435
|
+
}
|
|
1436
|
+
export interface PaginatedSportsType {
|
|
1437
|
+
items: Sport[];
|
|
1438
|
+
pagination: EnhancedPaginationInfoType;
|
|
1439
|
+
__typename: 'PaginatedSportsType';
|
|
1440
|
+
}
|
|
1425
1441
|
export interface UserImages {
|
|
1426
1442
|
profilePictureUrl: (Scalars['String'] | null);
|
|
1427
1443
|
cardPictureUrl: (Scalars['String'] | null);
|
|
@@ -1435,16 +1451,16 @@ export interface ValidatedToken {
|
|
|
1435
1451
|
refreshExpiresAt: Scalars['Float'];
|
|
1436
1452
|
__typename: 'ValidatedToken';
|
|
1437
1453
|
}
|
|
1438
|
-
export interface
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
__typename: '
|
|
1454
|
+
export interface DeleteVtxUserResponse {
|
|
1455
|
+
success: Scalars['Boolean'];
|
|
1456
|
+
deletedUserId: (Scalars['String'] | null);
|
|
1457
|
+
deletedUserEmail: (Scalars['String'] | null);
|
|
1458
|
+
deletedUserType: (Scalars['String'] | null);
|
|
1459
|
+
servicesDeleted: (Scalars['String'][] | null);
|
|
1460
|
+
cognitoDeleted: (Scalars['Boolean'] | null);
|
|
1461
|
+
dbDeleted: (Scalars['Boolean'] | null);
|
|
1462
|
+
errorMessage: (Scalars['String'] | null);
|
|
1463
|
+
__typename: 'DeleteVtxUserResponse';
|
|
1448
1464
|
}
|
|
1449
1465
|
export interface PaginatedUsersType {
|
|
1450
1466
|
items: AdminUserView[];
|
|
@@ -1471,6 +1487,24 @@ export interface TransactionDetails {
|
|
|
1471
1487
|
athleteDonationReceipt: (Receipt | null);
|
|
1472
1488
|
__typename: 'TransactionDetails';
|
|
1473
1489
|
}
|
|
1490
|
+
export interface PaginatedEventsType {
|
|
1491
|
+
items: SportsEvent[];
|
|
1492
|
+
pagination: EnhancedPaginationInfoType;
|
|
1493
|
+
__typename: 'PaginatedEventsType';
|
|
1494
|
+
}
|
|
1495
|
+
export interface CurrencyAmountType {
|
|
1496
|
+
amount: Scalars['Float'];
|
|
1497
|
+
currency: Scalars['String'];
|
|
1498
|
+
__typename: 'CurrencyAmountType';
|
|
1499
|
+
}
|
|
1500
|
+
export interface StripeBalanceType {
|
|
1501
|
+
availableUSD: Scalars['Float'];
|
|
1502
|
+
pendingUSD: Scalars['Float'];
|
|
1503
|
+
currency: Scalars['String'];
|
|
1504
|
+
availableBalances: CurrencyAmountType[];
|
|
1505
|
+
pendingBalances: CurrencyAmountType[];
|
|
1506
|
+
__typename: 'StripeBalanceType';
|
|
1507
|
+
}
|
|
1474
1508
|
export interface StripeTransfer {
|
|
1475
1509
|
_id: Scalars['ID'];
|
|
1476
1510
|
stripeId: (Scalars['String'] | null);
|
|
@@ -1539,7 +1573,7 @@ export interface Query {
|
|
|
1539
1573
|
getMyHistoricalScores: HistoricalScore[];
|
|
1540
1574
|
getAthleteCampaigns: FundRaisingCampaign[];
|
|
1541
1575
|
getSports: Sport[];
|
|
1542
|
-
getSportsPaginated:
|
|
1576
|
+
getSportsPaginated: PaginatedSportsType;
|
|
1543
1577
|
findSportById: Sport;
|
|
1544
1578
|
getSportLevels: SportLevel[];
|
|
1545
1579
|
getPublicSponsorships: Sponsorship[];
|
|
@@ -1560,6 +1594,7 @@ export interface Query {
|
|
|
1560
1594
|
getUsersPaginated: PaginatedUsersType;
|
|
1561
1595
|
getStravaLoginUrl: Scalars['String'];
|
|
1562
1596
|
getSportsEvents: SportsEvent[];
|
|
1597
|
+
getSportsEventsPaginated: PaginatedEventsType;
|
|
1563
1598
|
getBudgetsByAthlete: BudgetData;
|
|
1564
1599
|
getDonationsByAthlete: Receipt[];
|
|
1565
1600
|
getDonationsToAthlete: Donation[];
|
|
@@ -1571,6 +1606,7 @@ export interface Query {
|
|
|
1571
1606
|
getAthleteInstagramIntegration: AthleteIntegrationReference;
|
|
1572
1607
|
getAthleteIntegrations: AthleteIntegrationReference;
|
|
1573
1608
|
stripeQuery: StripeObject;
|
|
1609
|
+
getStripeBalance: StripeBalanceType;
|
|
1574
1610
|
getDatabaseTextFile: TextDatabaseFile;
|
|
1575
1611
|
getReceipt: Receipt;
|
|
1576
1612
|
getReceiptUrl: ReceiptUrl;
|
|
@@ -1632,9 +1668,13 @@ export interface Mutation {
|
|
|
1632
1668
|
resetUserPassword: EditValueResponse;
|
|
1633
1669
|
validateToken: ValidatedToken;
|
|
1634
1670
|
updateUserSuspendedStatus: EditValueResponse;
|
|
1671
|
+
deleteMyAccount: DeleteVtxUserResponse;
|
|
1672
|
+
deleteVtxUser: DeleteVtxUserResponse;
|
|
1635
1673
|
handleStravaCallback: StravaToken;
|
|
1636
1674
|
refreshStravaToken: StravaToken;
|
|
1637
1675
|
createSportsEvent: SportsEvent;
|
|
1676
|
+
updateSportsEvent: SportsEvent;
|
|
1677
|
+
deleteSportsEvent: EditValueResponse;
|
|
1638
1678
|
mergeSportsEvents: MergeEventsResponse;
|
|
1639
1679
|
setFundingStatus: FundRaisingCampaign;
|
|
1640
1680
|
createFundingCampaign: FundRaisingCampaign;
|
|
@@ -3221,6 +3261,24 @@ export interface StripeObjectGenqlSelection {
|
|
|
3221
3261
|
__typename?: boolean | number;
|
|
3222
3262
|
__scalar?: boolean | number;
|
|
3223
3263
|
}
|
|
3264
|
+
export interface EnhancedPaginationInfoTypeGenqlSelection {
|
|
3265
|
+
currentPage?: boolean | number;
|
|
3266
|
+
totalPages?: boolean | number;
|
|
3267
|
+
totalItems?: boolean | number;
|
|
3268
|
+
itemsPerPage?: boolean | number;
|
|
3269
|
+
hasNextPage?: boolean | number;
|
|
3270
|
+
hasPreviousPage?: boolean | number;
|
|
3271
|
+
startIndex?: boolean | number;
|
|
3272
|
+
endIndex?: boolean | number;
|
|
3273
|
+
__typename?: boolean | number;
|
|
3274
|
+
__scalar?: boolean | number;
|
|
3275
|
+
}
|
|
3276
|
+
export interface PaginatedSportsTypeGenqlSelection {
|
|
3277
|
+
items?: SportGenqlSelection;
|
|
3278
|
+
pagination?: EnhancedPaginationInfoTypeGenqlSelection;
|
|
3279
|
+
__typename?: boolean | number;
|
|
3280
|
+
__scalar?: boolean | number;
|
|
3281
|
+
}
|
|
3224
3282
|
export interface UserImagesGenqlSelection {
|
|
3225
3283
|
profilePictureUrl?: boolean | number;
|
|
3226
3284
|
cardPictureUrl?: boolean | number;
|
|
@@ -3236,15 +3294,15 @@ export interface ValidatedTokenGenqlSelection {
|
|
|
3236
3294
|
__typename?: boolean | number;
|
|
3237
3295
|
__scalar?: boolean | number;
|
|
3238
3296
|
}
|
|
3239
|
-
export interface
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3297
|
+
export interface DeleteVtxUserResponseGenqlSelection {
|
|
3298
|
+
success?: boolean | number;
|
|
3299
|
+
deletedUserId?: boolean | number;
|
|
3300
|
+
deletedUserEmail?: boolean | number;
|
|
3301
|
+
deletedUserType?: boolean | number;
|
|
3302
|
+
servicesDeleted?: boolean | number;
|
|
3303
|
+
cognitoDeleted?: boolean | number;
|
|
3304
|
+
dbDeleted?: boolean | number;
|
|
3305
|
+
errorMessage?: boolean | number;
|
|
3248
3306
|
__typename?: boolean | number;
|
|
3249
3307
|
__scalar?: boolean | number;
|
|
3250
3308
|
}
|
|
@@ -3275,6 +3333,27 @@ export interface TransactionDetailsGenqlSelection {
|
|
|
3275
3333
|
__typename?: boolean | number;
|
|
3276
3334
|
__scalar?: boolean | number;
|
|
3277
3335
|
}
|
|
3336
|
+
export interface PaginatedEventsTypeGenqlSelection {
|
|
3337
|
+
items?: SportsEventGenqlSelection;
|
|
3338
|
+
pagination?: EnhancedPaginationInfoTypeGenqlSelection;
|
|
3339
|
+
__typename?: boolean | number;
|
|
3340
|
+
__scalar?: boolean | number;
|
|
3341
|
+
}
|
|
3342
|
+
export interface CurrencyAmountTypeGenqlSelection {
|
|
3343
|
+
amount?: boolean | number;
|
|
3344
|
+
currency?: boolean | number;
|
|
3345
|
+
__typename?: boolean | number;
|
|
3346
|
+
__scalar?: boolean | number;
|
|
3347
|
+
}
|
|
3348
|
+
export interface StripeBalanceTypeGenqlSelection {
|
|
3349
|
+
availableUSD?: boolean | number;
|
|
3350
|
+
pendingUSD?: boolean | number;
|
|
3351
|
+
currency?: boolean | number;
|
|
3352
|
+
availableBalances?: CurrencyAmountTypeGenqlSelection;
|
|
3353
|
+
pendingBalances?: CurrencyAmountTypeGenqlSelection;
|
|
3354
|
+
__typename?: boolean | number;
|
|
3355
|
+
__scalar?: boolean | number;
|
|
3356
|
+
}
|
|
3278
3357
|
export interface StripeTransferGenqlSelection {
|
|
3279
3358
|
_id?: boolean | number;
|
|
3280
3359
|
stripeId?: boolean | number;
|
|
@@ -3522,10 +3601,14 @@ export interface GetHistoricalScoresDto {
|
|
|
3522
3601
|
export interface GetAthleteCampaignsDto {
|
|
3523
3602
|
athleteId: Scalars['String'];
|
|
3524
3603
|
}
|
|
3525
|
-
export interface
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3604
|
+
export interface SportQueryDto {
|
|
3605
|
+
page?: (Scalars['Int'] | null);
|
|
3606
|
+
limit?: (Scalars['Int'] | null);
|
|
3607
|
+
search?: (Scalars['String'] | null);
|
|
3608
|
+
resultType?: (Scalars['String'] | null);
|
|
3609
|
+
verified?: (Scalars['String'] | null);
|
|
3610
|
+
sortField?: (Scalars['String'] | null);
|
|
3611
|
+
sortOrder?: (Scalars['String'] | null);
|
|
3529
3612
|
}
|
|
3530
3613
|
export interface QualificationDto {
|
|
3531
3614
|
type: Scalars['String'];
|
|
@@ -3580,6 +3663,9 @@ export interface RegisterUserDto {
|
|
|
3580
3663
|
password: Scalars['String'];
|
|
3581
3664
|
inviteCode?: (Scalars['String'] | null);
|
|
3582
3665
|
}
|
|
3666
|
+
export interface DeleteAthleteDto {
|
|
3667
|
+
userIdentifier: Scalars['String'];
|
|
3668
|
+
}
|
|
3583
3669
|
export interface resetPasswordDto {
|
|
3584
3670
|
code: VerifyCodeDto;
|
|
3585
3671
|
newPassword?: (Scalars['String'] | null);
|
|
@@ -3604,6 +3690,9 @@ export interface UserQueryDto {
|
|
|
3604
3690
|
sortField?: (Scalars['String'] | null);
|
|
3605
3691
|
sortOrder?: (Scalars['String'] | null);
|
|
3606
3692
|
}
|
|
3693
|
+
export interface DeleteVtxUserDto {
|
|
3694
|
+
userIdentifier: Scalars['String'];
|
|
3695
|
+
}
|
|
3607
3696
|
export interface GetReceiptDto {
|
|
3608
3697
|
_id: Scalars['String'];
|
|
3609
3698
|
}
|
|
@@ -3616,6 +3705,17 @@ export interface GetTransactionDetailsDto {
|
|
|
3616
3705
|
vtxSessionId?: (Scalars['String'] | null);
|
|
3617
3706
|
stripeSessionId?: (Scalars['String'] | null);
|
|
3618
3707
|
}
|
|
3708
|
+
export interface UpdateSportEventDto {
|
|
3709
|
+
_id: Scalars['String'];
|
|
3710
|
+
name?: (Scalars['String'] | null);
|
|
3711
|
+
cityId?: (Scalars['String'] | null);
|
|
3712
|
+
sportId?: (Scalars['String'] | null);
|
|
3713
|
+
startDate?: (Scalars['DateTime'] | null);
|
|
3714
|
+
endDate?: (Scalars['DateTime'] | null);
|
|
3715
|
+
website?: (Scalars['String'] | null);
|
|
3716
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
3717
|
+
eventLevel?: (Scalars['String'] | null);
|
|
3718
|
+
}
|
|
3619
3719
|
export interface MergeSportsEventsDto {
|
|
3620
3720
|
mergeTo: Scalars['String'];
|
|
3621
3721
|
mergeName?: (Scalars['String'] | null);
|
|
@@ -3624,6 +3724,18 @@ export interface MergeSportsEventsDto {
|
|
|
3624
3724
|
mergeWebsite?: (Scalars['String'] | null);
|
|
3625
3725
|
mergeIds: Scalars['String'][];
|
|
3626
3726
|
}
|
|
3727
|
+
export interface EventQueryDto {
|
|
3728
|
+
page?: (Scalars['Int'] | null);
|
|
3729
|
+
limit?: (Scalars['Int'] | null);
|
|
3730
|
+
search?: (Scalars['String'] | null);
|
|
3731
|
+
verified?: (Scalars['String'] | null);
|
|
3732
|
+
sport?: (Scalars['String'] | null);
|
|
3733
|
+
location?: (Scalars['String'] | null);
|
|
3734
|
+
dateFrom?: (Scalars['String'] | null);
|
|
3735
|
+
dateTo?: (Scalars['String'] | null);
|
|
3736
|
+
sortField?: (Scalars['String'] | null);
|
|
3737
|
+
sortOrder?: (Scalars['String'] | null);
|
|
3738
|
+
}
|
|
3627
3739
|
export interface BudgetItemDto {
|
|
3628
3740
|
quantity: Scalars['Float'];
|
|
3629
3741
|
concept: Scalars['String'];
|
|
@@ -3744,9 +3856,6 @@ export interface CreateAthleteIntegrationDto {
|
|
|
3744
3856
|
export interface GetFundingCheckoutSessionDataDto {
|
|
3745
3857
|
_id: Scalars['String'];
|
|
3746
3858
|
}
|
|
3747
|
-
export interface DeleteAthleteDto {
|
|
3748
|
-
userIdentifier: Scalars['String'];
|
|
3749
|
-
}
|
|
3750
3859
|
export interface SocialState {
|
|
3751
3860
|
systemId: Scalars['String'];
|
|
3752
3861
|
loginEmail: Scalars['String'];
|
|
@@ -3772,6 +3881,11 @@ export interface TransactionQueryDto {
|
|
|
3772
3881
|
sortField?: (Scalars['String'] | null);
|
|
3773
3882
|
sortOrder?: (Scalars['String'] | null);
|
|
3774
3883
|
}
|
|
3884
|
+
export interface OffsetPaginationDto {
|
|
3885
|
+
pageNumber?: Scalars['Float'];
|
|
3886
|
+
pageSize?: Scalars['Float'];
|
|
3887
|
+
sortCriteria?: (SortCriteriaDto | null);
|
|
3888
|
+
}
|
|
3775
3889
|
export interface QueryGenqlSelection {
|
|
3776
3890
|
findTenantById?: (TenantGenqlSelection & {
|
|
3777
3891
|
__args: {
|
|
@@ -3940,9 +4054,9 @@ export interface QueryGenqlSelection {
|
|
|
3940
4054
|
};
|
|
3941
4055
|
});
|
|
3942
4056
|
getSports?: SportGenqlSelection;
|
|
3943
|
-
getSportsPaginated?: (
|
|
3944
|
-
__args
|
|
3945
|
-
|
|
4057
|
+
getSportsPaginated?: (PaginatedSportsTypeGenqlSelection & {
|
|
4058
|
+
__args?: {
|
|
4059
|
+
query?: (SportQueryDto | null);
|
|
3946
4060
|
};
|
|
3947
4061
|
});
|
|
3948
4062
|
findSportById?: (SportGenqlSelection & {
|
|
@@ -4018,6 +4132,11 @@ export interface QueryGenqlSelection {
|
|
|
4018
4132
|
input: GetSportEventsDto;
|
|
4019
4133
|
};
|
|
4020
4134
|
});
|
|
4135
|
+
getSportsEventsPaginated?: (PaginatedEventsTypeGenqlSelection & {
|
|
4136
|
+
__args?: {
|
|
4137
|
+
query?: (EventQueryDto | null);
|
|
4138
|
+
};
|
|
4139
|
+
});
|
|
4021
4140
|
getBudgetsByAthlete?: BudgetDataGenqlSelection;
|
|
4022
4141
|
getDonationsByAthlete?: ReceiptGenqlSelection;
|
|
4023
4142
|
getDonationsToAthlete?: (DonationGenqlSelection & {
|
|
@@ -4037,6 +4156,7 @@ export interface QueryGenqlSelection {
|
|
|
4037
4156
|
input: StripeQueryDto;
|
|
4038
4157
|
};
|
|
4039
4158
|
});
|
|
4159
|
+
getStripeBalance?: StripeBalanceTypeGenqlSelection;
|
|
4040
4160
|
getDatabaseTextFile?: (TextDatabaseFileGenqlSelection & {
|
|
4041
4161
|
__args: {
|
|
4042
4162
|
input: GetDatabaseFileDto;
|
|
@@ -4341,6 +4461,12 @@ export interface MutationGenqlSelection {
|
|
|
4341
4461
|
input: UpdateUserSuspendedStatusDto;
|
|
4342
4462
|
};
|
|
4343
4463
|
});
|
|
4464
|
+
deleteMyAccount?: DeleteVtxUserResponseGenqlSelection;
|
|
4465
|
+
deleteVtxUser?: (DeleteVtxUserResponseGenqlSelection & {
|
|
4466
|
+
__args: {
|
|
4467
|
+
input: DeleteVtxUserDto;
|
|
4468
|
+
};
|
|
4469
|
+
});
|
|
4344
4470
|
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
4345
4471
|
__args: {
|
|
4346
4472
|
data: RegisterStravaDto;
|
|
@@ -4356,6 +4482,16 @@ export interface MutationGenqlSelection {
|
|
|
4356
4482
|
input: CreateSportEventDto;
|
|
4357
4483
|
};
|
|
4358
4484
|
});
|
|
4485
|
+
updateSportsEvent?: (SportsEventGenqlSelection & {
|
|
4486
|
+
__args: {
|
|
4487
|
+
input: UpdateSportEventDto;
|
|
4488
|
+
};
|
|
4489
|
+
});
|
|
4490
|
+
deleteSportsEvent?: (EditValueResponseGenqlSelection & {
|
|
4491
|
+
__args: {
|
|
4492
|
+
eventId: Scalars['String'];
|
|
4493
|
+
};
|
|
4494
|
+
});
|
|
4359
4495
|
mergeSportsEvents?: (MergeEventsResponseGenqlSelection & {
|
|
4360
4496
|
__args: {
|
|
4361
4497
|
input: MergeSportsEventsDto;
|
|
@@ -5114,21 +5250,36 @@ export declare const isHistoricalScoresPeriod: (obj?: {
|
|
|
5114
5250
|
export declare const isStripeObject: (obj?: {
|
|
5115
5251
|
__typename?: any;
|
|
5116
5252
|
} | null) => obj is StripeObject;
|
|
5253
|
+
export declare const isEnhancedPaginationInfoType: (obj?: {
|
|
5254
|
+
__typename?: any;
|
|
5255
|
+
} | null) => obj is EnhancedPaginationInfoType;
|
|
5256
|
+
export declare const isPaginatedSportsType: (obj?: {
|
|
5257
|
+
__typename?: any;
|
|
5258
|
+
} | null) => obj is PaginatedSportsType;
|
|
5117
5259
|
export declare const isUserImages: (obj?: {
|
|
5118
5260
|
__typename?: any;
|
|
5119
5261
|
} | null) => obj is UserImages;
|
|
5120
5262
|
export declare const isValidatedToken: (obj?: {
|
|
5121
5263
|
__typename?: any;
|
|
5122
5264
|
} | null) => obj is ValidatedToken;
|
|
5123
|
-
export declare const
|
|
5265
|
+
export declare const isDeleteVtxUserResponse: (obj?: {
|
|
5124
5266
|
__typename?: any;
|
|
5125
|
-
} | null) => obj is
|
|
5267
|
+
} | null) => obj is DeleteVtxUserResponse;
|
|
5126
5268
|
export declare const isPaginatedUsersType: (obj?: {
|
|
5127
5269
|
__typename?: any;
|
|
5128
5270
|
} | null) => obj is PaginatedUsersType;
|
|
5129
5271
|
export declare const isTransactionDetails: (obj?: {
|
|
5130
5272
|
__typename?: any;
|
|
5131
5273
|
} | null) => obj is TransactionDetails;
|
|
5274
|
+
export declare const isPaginatedEventsType: (obj?: {
|
|
5275
|
+
__typename?: any;
|
|
5276
|
+
} | null) => obj is PaginatedEventsType;
|
|
5277
|
+
export declare const isCurrencyAmountType: (obj?: {
|
|
5278
|
+
__typename?: any;
|
|
5279
|
+
} | null) => obj is CurrencyAmountType;
|
|
5280
|
+
export declare const isStripeBalanceType: (obj?: {
|
|
5281
|
+
__typename?: any;
|
|
5282
|
+
} | null) => obj is StripeBalanceType;
|
|
5132
5283
|
export declare const isStripeTransfer: (obj?: {
|
|
5133
5284
|
__typename?: any;
|
|
5134
5285
|
} | null) => obj is StripeTransfer;
|
package/src/client/schema.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
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
4
|
exports.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = exports.isAthlete = exports.isAthleteReference = exports.isHistoricalScore = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isFundRaisingCampaign = exports.isVideo = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = 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.
|
|
6
|
-
exports.enumDonationMode = exports.enumStripeTransferStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isPaginatedTransactionsType = void 0;
|
|
5
|
+
exports.isTransactionDetails = exports.isPaginatedUsersType = exports.isDeleteVtxUserResponse = exports.isValidatedToken = exports.isUserImages = exports.isPaginatedSportsType = exports.isEnhancedPaginationInfoType = exports.isStripeObject = exports.isHistoricalScoresPeriod = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.isEditValueResponse = exports.isAdminTransactionView = exports.isAdminTransactionFundingDetails = exports.isAdminUserView = exports.isMember = exports.isDonation = exports.isBudgetConcept = exports.isBudgetItemUnit = exports.isMergeEventsResponse = exports.isBudgetData = exports.isCampaignBudgetData = exports.isCompetitionBudgetData = exports.isBaseBudgetData = exports.isCompetitionBudgetReference = exports.isBudgetReference = exports.isBudgetItemReference = exports.isDeleteValuesResponse = exports.isErrorType = exports.isReceiptUrl = exports.isReceipt = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = exports.isStripeCheckoutSession = exports.isStripeSession = exports.isStravaToken = void 0;
|
|
6
|
+
exports.enumDonationMode = exports.enumStripeTransferStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isPaginatedTransactionsType = exports.isUserDomain = exports.isStripeTransfer = exports.isStripeBalanceType = exports.isCurrencyAmountType = exports.isPaginatedEventsType = void 0;
|
|
7
7
|
const User_possibleTypes = ['User'];
|
|
8
8
|
const isUser = (obj) => {
|
|
9
9
|
if (!obj?.__typename)
|
|
@@ -1005,6 +1005,20 @@ const isStripeObject = (obj) => {
|
|
|
1005
1005
|
return StripeObject_possibleTypes.includes(obj.__typename);
|
|
1006
1006
|
};
|
|
1007
1007
|
exports.isStripeObject = isStripeObject;
|
|
1008
|
+
const EnhancedPaginationInfoType_possibleTypes = ['EnhancedPaginationInfoType'];
|
|
1009
|
+
const isEnhancedPaginationInfoType = (obj) => {
|
|
1010
|
+
if (!obj?.__typename)
|
|
1011
|
+
throw new Error('__typename is missing in "isEnhancedPaginationInfoType"');
|
|
1012
|
+
return EnhancedPaginationInfoType_possibleTypes.includes(obj.__typename);
|
|
1013
|
+
};
|
|
1014
|
+
exports.isEnhancedPaginationInfoType = isEnhancedPaginationInfoType;
|
|
1015
|
+
const PaginatedSportsType_possibleTypes = ['PaginatedSportsType'];
|
|
1016
|
+
const isPaginatedSportsType = (obj) => {
|
|
1017
|
+
if (!obj?.__typename)
|
|
1018
|
+
throw new Error('__typename is missing in "isPaginatedSportsType"');
|
|
1019
|
+
return PaginatedSportsType_possibleTypes.includes(obj.__typename);
|
|
1020
|
+
};
|
|
1021
|
+
exports.isPaginatedSportsType = isPaginatedSportsType;
|
|
1008
1022
|
const UserImages_possibleTypes = ['UserImages'];
|
|
1009
1023
|
const isUserImages = (obj) => {
|
|
1010
1024
|
if (!obj?.__typename)
|
|
@@ -1019,13 +1033,13 @@ const isValidatedToken = (obj) => {
|
|
|
1019
1033
|
return ValidatedToken_possibleTypes.includes(obj.__typename);
|
|
1020
1034
|
};
|
|
1021
1035
|
exports.isValidatedToken = isValidatedToken;
|
|
1022
|
-
const
|
|
1023
|
-
const
|
|
1036
|
+
const DeleteVtxUserResponse_possibleTypes = ['DeleteVtxUserResponse'];
|
|
1037
|
+
const isDeleteVtxUserResponse = (obj) => {
|
|
1024
1038
|
if (!obj?.__typename)
|
|
1025
|
-
throw new Error('__typename is missing in "
|
|
1026
|
-
return
|
|
1039
|
+
throw new Error('__typename is missing in "isDeleteVtxUserResponse"');
|
|
1040
|
+
return DeleteVtxUserResponse_possibleTypes.includes(obj.__typename);
|
|
1027
1041
|
};
|
|
1028
|
-
exports.
|
|
1042
|
+
exports.isDeleteVtxUserResponse = isDeleteVtxUserResponse;
|
|
1029
1043
|
const PaginatedUsersType_possibleTypes = ['PaginatedUsersType'];
|
|
1030
1044
|
const isPaginatedUsersType = (obj) => {
|
|
1031
1045
|
if (!obj?.__typename)
|
|
@@ -1040,6 +1054,27 @@ const isTransactionDetails = (obj) => {
|
|
|
1040
1054
|
return TransactionDetails_possibleTypes.includes(obj.__typename);
|
|
1041
1055
|
};
|
|
1042
1056
|
exports.isTransactionDetails = isTransactionDetails;
|
|
1057
|
+
const PaginatedEventsType_possibleTypes = ['PaginatedEventsType'];
|
|
1058
|
+
const isPaginatedEventsType = (obj) => {
|
|
1059
|
+
if (!obj?.__typename)
|
|
1060
|
+
throw new Error('__typename is missing in "isPaginatedEventsType"');
|
|
1061
|
+
return PaginatedEventsType_possibleTypes.includes(obj.__typename);
|
|
1062
|
+
};
|
|
1063
|
+
exports.isPaginatedEventsType = isPaginatedEventsType;
|
|
1064
|
+
const CurrencyAmountType_possibleTypes = ['CurrencyAmountType'];
|
|
1065
|
+
const isCurrencyAmountType = (obj) => {
|
|
1066
|
+
if (!obj?.__typename)
|
|
1067
|
+
throw new Error('__typename is missing in "isCurrencyAmountType"');
|
|
1068
|
+
return CurrencyAmountType_possibleTypes.includes(obj.__typename);
|
|
1069
|
+
};
|
|
1070
|
+
exports.isCurrencyAmountType = isCurrencyAmountType;
|
|
1071
|
+
const StripeBalanceType_possibleTypes = ['StripeBalanceType'];
|
|
1072
|
+
const isStripeBalanceType = (obj) => {
|
|
1073
|
+
if (!obj?.__typename)
|
|
1074
|
+
throw new Error('__typename is missing in "isStripeBalanceType"');
|
|
1075
|
+
return StripeBalanceType_possibleTypes.includes(obj.__typename);
|
|
1076
|
+
};
|
|
1077
|
+
exports.isStripeBalanceType = isStripeBalanceType;
|
|
1043
1078
|
const StripeTransfer_possibleTypes = ['StripeTransfer'];
|
|
1044
1079
|
const isStripeTransfer = (obj) => {
|
|
1045
1080
|
if (!obj?.__typename)
|