@vertikalx/vtx-backend-client 3.0.0-dev.0 → 3.0.0-dev.10

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.
@@ -953,13 +953,13 @@ export interface StripeAccountReference {
953
953
  account: (StripeAccount | null);
954
954
  __typename: 'StripeAccountReference';
955
955
  }
956
- export interface HistoricalScoreType {
956
+ export interface HistoricalScore {
957
957
  _id: Scalars['String'];
958
958
  scoreType: Scalars['String'];
959
959
  score: Scalars['Float'];
960
960
  date: Scalars['DateTime'];
961
961
  athleteId: Scalars['String'];
962
- __typename: 'HistoricalScoreType';
962
+ __typename: 'HistoricalScore';
963
963
  }
964
964
  export interface AthleteReference {
965
965
  _id: Scalars['String'];
@@ -986,6 +986,7 @@ export interface AthleteReference {
986
986
  aboutMe: (Scalars['String'] | null);
987
987
  biography: (Scalars['String'] | null);
988
988
  preferences: AthletePreferences;
989
+ suspended: Scalars['Boolean'];
989
990
  __typename: 'AthleteReference';
990
991
  }
991
992
  export interface Athlete {
@@ -1013,6 +1014,7 @@ export interface Athlete {
1013
1014
  aboutMe: (Scalars['String'] | null);
1014
1015
  biography: (Scalars['String'] | null);
1015
1016
  preferences: AthletePreferences;
1017
+ suspended: Scalars['Boolean'];
1016
1018
  allSports: (Sport[] | null);
1017
1019
  teams: (Team[] | null);
1018
1020
  sponsorBrands: (Brand[] | null);
@@ -1024,7 +1026,7 @@ export interface Athlete {
1024
1026
  fundingCampaigns: (FundRaisingCampaign[] | null);
1025
1027
  stripeAccountReference: (StripeAccountReference | null);
1026
1028
  albums: (Album[] | null);
1027
- historicalScores: (HistoricalScoreType[] | null);
1029
+ historicalScores: (HistoricalScore[] | null);
1028
1030
  signedAgreements: (SignedAgreement[] | null);
1029
1031
  __typename: 'Athlete';
1030
1032
  }
@@ -1082,9 +1084,12 @@ export interface StripeSession {
1082
1084
  __typename: 'StripeSession';
1083
1085
  }
1084
1086
  export interface StripeCheckoutSession {
1087
+ id: Scalars['String'];
1088
+ vtxCheckoutSessionId: Scalars['String'];
1085
1089
  client_secret: Scalars['String'];
1086
1090
  expires_at: Scalars['Float'];
1087
1091
  livemode: Scalars['Boolean'];
1092
+ url: Scalars['String'];
1088
1093
  __typename: 'StripeCheckoutSession';
1089
1094
  }
1090
1095
  export interface StravaAthleteData {
@@ -1270,6 +1275,32 @@ export interface BudgetConcept {
1270
1275
  label: (Scalars['String'] | null);
1271
1276
  __typename: 'BudgetConcept';
1272
1277
  }
1278
+ export interface Donation {
1279
+ checkoutSessionId: Scalars['String'];
1280
+ fundingCheckoutSessionDataId: Scalars['String'];
1281
+ donationMode: Scalars['String'];
1282
+ donorName: Scalars['String'];
1283
+ donorEmail: (Scalars['String'] | null);
1284
+ completed: Scalars['Boolean'];
1285
+ confirmed: Scalars['Boolean'];
1286
+ donationAmount: Scalars['Float'];
1287
+ completedDate: (Scalars['DateTime'] | null);
1288
+ createdDate: (Scalars['DateTime'] | null);
1289
+ athleteId: Scalars['String'];
1290
+ athleteName: Scalars['String'];
1291
+ message: (Scalars['String'] | null);
1292
+ athleteReference: (AthleteReference | null);
1293
+ campaignReference: (FundRaisingCampaign | null);
1294
+ __typename: 'Donation';
1295
+ }
1296
+ export interface Member {
1297
+ _id: Scalars['String'];
1298
+ fullName: Scalars['String'];
1299
+ screenName: (Scalars['String'] | null);
1300
+ memberPicture: (AWSS3File | null);
1301
+ donations: Donation[];
1302
+ __typename: 'Member';
1303
+ }
1273
1304
  export interface EditValueResponse {
1274
1305
  field: Scalars['String'];
1275
1306
  oldValue: (Scalars['String'] | null);
@@ -1332,6 +1363,19 @@ export interface CompetitionDeleteVerificationResponse {
1332
1363
  reasons: CompetitionDeleteVerificationReason[];
1333
1364
  __typename: 'CompetitionDeleteVerificationResponse';
1334
1365
  }
1366
+ export interface HistoricalScoresPeriod {
1367
+ athleteId: Scalars['String'];
1368
+ athleteFirstName: Scalars['String'];
1369
+ athleteLastName: Scalars['String'];
1370
+ screenName: Scalars['String'];
1371
+ minTimestampInclusive: Scalars['DateTime'];
1372
+ maxTimestampExclusive: Scalars['DateTime'];
1373
+ vtxScores: (HistoricalScore[] | null);
1374
+ tpiScores: (HistoricalScore[] | null);
1375
+ spiScores: (HistoricalScore[] | null);
1376
+ apiScores: (HistoricalScore[] | null);
1377
+ __typename: 'HistoricalScoresPeriod';
1378
+ }
1335
1379
  export interface StripeObject {
1336
1380
  type: Scalars['String'];
1337
1381
  json: Scalars['JSONObject'];
@@ -1372,30 +1416,6 @@ export interface UserDomain {
1372
1416
  user: (User | null);
1373
1417
  __typename: 'UserDomain';
1374
1418
  }
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
- }
1399
1419
  export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
1400
1420
  export interface Query {
1401
1421
  findTenantById: Tenant;
@@ -1431,8 +1451,10 @@ export interface Query {
1431
1451
  queryAthleteWithFilter: AthleteQueryResponse;
1432
1452
  getPublicAthleteAlbums: Album[];
1433
1453
  screenNameAvailability: ExistValueResponse;
1434
- getAthleteHistoricalScores: HistoricalScoreType[];
1435
- getMyHistoricalScores: HistoricalScoreType[];
1454
+ getAthleteHistoricalScoresPeriod: HistoricalScoresPeriod;
1455
+ getAthleteHistoricalScores: HistoricalScore[];
1456
+ getMyHistoricalScoresPeriod: HistoricalScoresPeriod;
1457
+ getMyHistoricalScores: HistoricalScore[];
1436
1458
  getAthleteCampaigns: FundRaisingCampaign[];
1437
1459
  getSports: Sport[];
1438
1460
  findSportById: Sport;
@@ -1454,6 +1476,8 @@ export interface Query {
1454
1476
  getSportsEvents: SportsEvent[];
1455
1477
  getBudgetsByAthlete: BudgetData;
1456
1478
  getDonationsByAthlete: Receipt;
1479
+ getDonationsToAthlete: Donation;
1480
+ getDonationsToMe: Donation;
1457
1481
  getBudgetConcepts: BudgetConcept[];
1458
1482
  getBudgetItemUnits: BudgetItemUnit[];
1459
1483
  getMembershipOrganizations: MembershipOrganizationReference[];
@@ -1464,6 +1488,8 @@ export interface Query {
1464
1488
  getDatabaseTextFile: TextDatabaseFile;
1465
1489
  getReceipt: Receipt;
1466
1490
  getReceiptUrl: ReceiptUrl;
1491
+ findMemberForUser: Member;
1492
+ getDonationsByMember: Donation[];
1467
1493
  __typename: 'Query';
1468
1494
  }
1469
1495
  export interface Mutation {
@@ -1509,7 +1535,7 @@ export interface Mutation {
1509
1535
  confirmAthleteUserRegistrationAndLogin: UserWithToken;
1510
1536
  confirmAthleteUserRegistration: User;
1511
1537
  registerAthleteUser: User;
1512
- registerMemberUser: User;
1538
+ registerUser: User;
1513
1539
  registerSponsorUser: User;
1514
1540
  loginUserFromCredentialsVtx: UserWithToken;
1515
1541
  createResetPasswordCode: EditValueResponse;
@@ -1538,6 +1564,7 @@ export interface Mutation {
1538
1564
  createStripeCheckoutSession: StripeCheckoutSession;
1539
1565
  createStripeLoginLink: Scalars['String'];
1540
1566
  createStripeAccountLink: Scalars['String'];
1567
+ registerMember: Member;
1541
1568
  __typename: 'Mutation';
1542
1569
  }
1543
1570
  export interface UserGenqlSelection {
@@ -2588,7 +2615,7 @@ export interface StripeAccountReferenceGenqlSelection {
2588
2615
  __typename?: boolean | number;
2589
2616
  __scalar?: boolean | number;
2590
2617
  }
2591
- export interface HistoricalScoreTypeGenqlSelection {
2618
+ export interface HistoricalScoreGenqlSelection {
2592
2619
  _id?: boolean | number;
2593
2620
  scoreType?: boolean | number;
2594
2621
  score?: boolean | number;
@@ -2622,6 +2649,7 @@ export interface AthleteReferenceGenqlSelection {
2622
2649
  aboutMe?: boolean | number;
2623
2650
  biography?: boolean | number;
2624
2651
  preferences?: AthletePreferencesGenqlSelection;
2652
+ suspended?: boolean | number;
2625
2653
  __typename?: boolean | number;
2626
2654
  __scalar?: boolean | number;
2627
2655
  }
@@ -2650,6 +2678,7 @@ export interface AthleteGenqlSelection {
2650
2678
  aboutMe?: boolean | number;
2651
2679
  biography?: boolean | number;
2652
2680
  preferences?: AthletePreferencesGenqlSelection;
2681
+ suspended?: boolean | number;
2653
2682
  allSports?: SportGenqlSelection;
2654
2683
  teams?: TeamGenqlSelection;
2655
2684
  sponsorBrands?: BrandGenqlSelection;
@@ -2661,7 +2690,7 @@ export interface AthleteGenqlSelection {
2661
2690
  fundingCampaigns?: FundRaisingCampaignGenqlSelection;
2662
2691
  stripeAccountReference?: StripeAccountReferenceGenqlSelection;
2663
2692
  albums?: AlbumGenqlSelection;
2664
- historicalScores?: HistoricalScoreTypeGenqlSelection;
2693
+ historicalScores?: HistoricalScoreGenqlSelection;
2665
2694
  signedAgreements?: SignedAgreementGenqlSelection;
2666
2695
  __typename?: boolean | number;
2667
2696
  __scalar?: boolean | number;
@@ -2725,9 +2754,12 @@ export interface StripeSessionGenqlSelection {
2725
2754
  __scalar?: boolean | number;
2726
2755
  }
2727
2756
  export interface StripeCheckoutSessionGenqlSelection {
2757
+ id?: boolean | number;
2758
+ vtxCheckoutSessionId?: boolean | number;
2728
2759
  client_secret?: boolean | number;
2729
2760
  expires_at?: boolean | number;
2730
2761
  livemode?: boolean | number;
2762
+ url?: boolean | number;
2731
2763
  __typename?: boolean | number;
2732
2764
  __scalar?: boolean | number;
2733
2765
  }
@@ -2935,6 +2967,34 @@ export interface BudgetConceptGenqlSelection {
2935
2967
  __typename?: boolean | number;
2936
2968
  __scalar?: boolean | number;
2937
2969
  }
2970
+ export interface DonationGenqlSelection {
2971
+ checkoutSessionId?: boolean | number;
2972
+ fundingCheckoutSessionDataId?: boolean | number;
2973
+ donationMode?: boolean | number;
2974
+ donorName?: boolean | number;
2975
+ donorEmail?: boolean | number;
2976
+ completed?: boolean | number;
2977
+ confirmed?: boolean | number;
2978
+ donationAmount?: boolean | number;
2979
+ completedDate?: boolean | number;
2980
+ createdDate?: boolean | number;
2981
+ athleteId?: boolean | number;
2982
+ athleteName?: boolean | number;
2983
+ message?: boolean | number;
2984
+ athleteReference?: AthleteReferenceGenqlSelection;
2985
+ campaignReference?: FundRaisingCampaignGenqlSelection;
2986
+ __typename?: boolean | number;
2987
+ __scalar?: boolean | number;
2988
+ }
2989
+ export interface MemberGenqlSelection {
2990
+ _id?: boolean | number;
2991
+ fullName?: boolean | number;
2992
+ screenName?: boolean | number;
2993
+ memberPicture?: AWSS3FileGenqlSelection;
2994
+ donations?: DonationGenqlSelection;
2995
+ __typename?: boolean | number;
2996
+ __scalar?: boolean | number;
2997
+ }
2938
2998
  export interface EditValueResponseGenqlSelection {
2939
2999
  field?: boolean | number;
2940
3000
  oldValue?: boolean | number;
@@ -3007,6 +3067,20 @@ export interface CompetitionDeleteVerificationResponseGenqlSelection {
3007
3067
  __typename?: boolean | number;
3008
3068
  __scalar?: boolean | number;
3009
3069
  }
3070
+ export interface HistoricalScoresPeriodGenqlSelection {
3071
+ athleteId?: boolean | number;
3072
+ athleteFirstName?: boolean | number;
3073
+ athleteLastName?: boolean | number;
3074
+ screenName?: boolean | number;
3075
+ minTimestampInclusive?: boolean | number;
3076
+ maxTimestampExclusive?: boolean | number;
3077
+ vtxScores?: HistoricalScoreGenqlSelection;
3078
+ tpiScores?: HistoricalScoreGenqlSelection;
3079
+ spiScores?: HistoricalScoreGenqlSelection;
3080
+ apiScores?: HistoricalScoreGenqlSelection;
3081
+ __typename?: boolean | number;
3082
+ __scalar?: boolean | number;
3083
+ }
3010
3084
  export interface StripeObjectGenqlSelection {
3011
3085
  type?: boolean | number;
3012
3086
  json?: boolean | number;
@@ -3051,32 +3125,6 @@ export interface UserDomainGenqlSelection {
3051
3125
  __typename?: boolean | number;
3052
3126
  __scalar?: boolean | number;
3053
3127
  }
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
- }
3080
3128
  export interface CreateDatabaseFileDto {
3081
3129
  identifier: Scalars['String'];
3082
3130
  version?: Scalars['String'];
@@ -3126,6 +3174,16 @@ export interface VerifyCodeDto {
3126
3174
  enteredCodeValue: Scalars['String'];
3127
3175
  type?: (Scalars['String'] | null);
3128
3176
  }
3177
+ export interface DonationCheckoutDto {
3178
+ fundingCampaignId: Scalars['String'];
3179
+ donationAmount: Scalars['Float'];
3180
+ mode?: Scalars['String'];
3181
+ fromName?: (Scalars['String'] | null);
3182
+ fromEmail?: (Scalars['String'] | null);
3183
+ fromPhone?: (Scalars['String'] | null);
3184
+ message?: (Scalars['String'] | null);
3185
+ clientType?: (Scalars['String'] | null);
3186
+ }
3129
3187
  export interface AthleteInvitationDto {
3130
3188
  email: Scalars['String'];
3131
3189
  name?: (Scalars['String'] | null);
@@ -3463,15 +3521,6 @@ export interface CreateAthleteMembershipDto {
3463
3521
  issueDate?: (Scalars['DateTime'] | null);
3464
3522
  expirationDate?: (Scalars['DateTime'] | null);
3465
3523
  }
3466
- export interface DonationCheckoutDto {
3467
- fundingCampaignId: Scalars['String'];
3468
- donationAmount: Scalars['Float'];
3469
- mode?: Scalars['String'];
3470
- fromName?: (Scalars['String'] | null);
3471
- fromEmail?: (Scalars['String'] | null);
3472
- fromPhone?: (Scalars['String'] | null);
3473
- message?: (Scalars['String'] | null);
3474
- }
3475
3524
  export interface StripeQueryDto {
3476
3525
  operation: Scalars['String'];
3477
3526
  id: Scalars['String'];
@@ -3495,6 +3544,13 @@ export interface SocialState {
3495
3544
  loginEmail: Scalars['String'];
3496
3545
  client?: (Scalars['String'] | null);
3497
3546
  }
3547
+ export interface RegisterMemberDto {
3548
+ email: Scalars['String'];
3549
+ firstName: Scalars['String'];
3550
+ lastName: Scalars['String'];
3551
+ screenName?: (Scalars['String'] | null);
3552
+ profilePicture?: (AWSS3UploadedFileDto | null);
3553
+ }
3498
3554
  export interface QueryGenqlSelection {
3499
3555
  findTenantById?: (TenantGenqlSelection & {
3500
3556
  __args: {
@@ -3637,12 +3693,22 @@ export interface QueryGenqlSelection {
3637
3693
  input: existValueDto;
3638
3694
  };
3639
3695
  });
3640
- getAthleteHistoricalScores?: (HistoricalScoreTypeGenqlSelection & {
3696
+ getAthleteHistoricalScoresPeriod?: (HistoricalScoresPeriodGenqlSelection & {
3641
3697
  __args: {
3642
3698
  input: GetHistoricalScoresDto;
3643
3699
  };
3644
3700
  });
3645
- getMyHistoricalScores?: (HistoricalScoreTypeGenqlSelection & {
3701
+ getAthleteHistoricalScores?: (HistoricalScoreGenqlSelection & {
3702
+ __args: {
3703
+ input: GetHistoricalScoresDto;
3704
+ };
3705
+ });
3706
+ getMyHistoricalScoresPeriod?: (HistoricalScoresPeriodGenqlSelection & {
3707
+ __args: {
3708
+ input: GetMyHistoricalScoresDto;
3709
+ };
3710
+ });
3711
+ getMyHistoricalScores?: (HistoricalScoreGenqlSelection & {
3646
3712
  __args: {
3647
3713
  input: GetMyHistoricalScoresDto;
3648
3714
  };
@@ -3717,6 +3783,12 @@ export interface QueryGenqlSelection {
3717
3783
  });
3718
3784
  getBudgetsByAthlete?: BudgetDataGenqlSelection;
3719
3785
  getDonationsByAthlete?: ReceiptGenqlSelection;
3786
+ getDonationsToAthlete?: (DonationGenqlSelection & {
3787
+ __args: {
3788
+ athleteId: Scalars['String'];
3789
+ };
3790
+ });
3791
+ getDonationsToMe?: DonationGenqlSelection;
3720
3792
  getBudgetConcepts?: BudgetConceptGenqlSelection;
3721
3793
  getBudgetItemUnits?: BudgetItemUnitGenqlSelection;
3722
3794
  getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
@@ -3743,6 +3815,12 @@ export interface QueryGenqlSelection {
3743
3815
  input: GetReceiptDto;
3744
3816
  };
3745
3817
  });
3818
+ findMemberForUser?: (MemberGenqlSelection & {
3819
+ __args: {
3820
+ loginEmail: Scalars['String'];
3821
+ };
3822
+ });
3823
+ getDonationsByMember?: DonationGenqlSelection;
3746
3824
  __typename?: boolean | number;
3747
3825
  __scalar?: boolean | number;
3748
3826
  }
@@ -3974,7 +4052,7 @@ export interface MutationGenqlSelection {
3974
4052
  input: RegisterUserDto;
3975
4053
  };
3976
4054
  });
3977
- registerMemberUser?: (UserGenqlSelection & {
4055
+ registerUser?: (UserGenqlSelection & {
3978
4056
  __args: {
3979
4057
  input: RegisterUserDto;
3980
4058
  };
@@ -4108,6 +4186,11 @@ export interface MutationGenqlSelection {
4108
4186
  });
4109
4187
  createStripeLoginLink?: boolean | number;
4110
4188
  createStripeAccountLink?: boolean | number;
4189
+ registerMember?: (MemberGenqlSelection & {
4190
+ __args: {
4191
+ input: RegisterMemberDto;
4192
+ };
4193
+ });
4111
4194
  __typename?: boolean | number;
4112
4195
  __scalar?: boolean | number;
4113
4196
  }
@@ -4626,9 +4709,9 @@ export declare const isStripeAccount: (obj?: {
4626
4709
  export declare const isStripeAccountReference: (obj?: {
4627
4710
  __typename?: any;
4628
4711
  } | null) => obj is StripeAccountReference;
4629
- export declare const isHistoricalScoreType: (obj?: {
4712
+ export declare const isHistoricalScore: (obj?: {
4630
4713
  __typename?: any;
4631
- } | null) => obj is HistoricalScoreType;
4714
+ } | null) => obj is HistoricalScore;
4632
4715
  export declare const isAthleteReference: (obj?: {
4633
4716
  __typename?: any;
4634
4717
  } | null) => obj is AthleteReference;
@@ -4722,6 +4805,12 @@ export declare const isBudgetItemUnit: (obj?: {
4722
4805
  export declare const isBudgetConcept: (obj?: {
4723
4806
  __typename?: any;
4724
4807
  } | null) => obj is BudgetConcept;
4808
+ export declare const isDonation: (obj?: {
4809
+ __typename?: any;
4810
+ } | null) => obj is Donation;
4811
+ export declare const isMember: (obj?: {
4812
+ __typename?: any;
4813
+ } | null) => obj is Member;
4725
4814
  export declare const isEditValueResponse: (obj?: {
4726
4815
  __typename?: any;
4727
4816
  } | null) => obj is EditValueResponse;
@@ -4752,6 +4841,9 @@ export declare const isCompetitionDeleteVerificationReason: (obj?: {
4752
4841
  export declare const isCompetitionDeleteVerificationResponse: (obj?: {
4753
4842
  __typename?: any;
4754
4843
  } | null) => obj is CompetitionDeleteVerificationResponse;
4844
+ export declare const isHistoricalScoresPeriod: (obj?: {
4845
+ __typename?: any;
4846
+ } | null) => obj is HistoricalScoresPeriod;
4755
4847
  export declare const isStripeObject: (obj?: {
4756
4848
  __typename?: any;
4757
4849
  } | null) => obj is StripeObject;
@@ -4767,12 +4859,6 @@ export declare const isStripeTransfer: (obj?: {
4767
4859
  export declare const isUserDomain: (obj?: {
4768
4860
  __typename?: any;
4769
4861
  } | 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;
4776
4862
  export declare const isQuery: (obj?: {
4777
4863
  __typename?: any;
4778
4864
  } | null) => obj is Query;
@@ -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.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = 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.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.enumDonationMode = exports.enumStripeTransferStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isMember = exports.isDonation = exports.isUserDomain = exports.isStripeTransfer = exports.isValidatedToken = exports.isUserImages = exports.isStripeObject = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.isEditValueResponse = 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;
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.enumDonationMode = exports.enumStripeTransferStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isUserDomain = exports.isStripeTransfer = exports.isValidatedToken = exports.isUserImages = 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.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
6
  const User_possibleTypes = ['User'];
7
7
  const isUser = (obj) => {
8
8
  if (!obj?.__typename)
@@ -661,13 +661,13 @@ const isStripeAccountReference = (obj) => {
661
661
  return StripeAccountReference_possibleTypes.includes(obj.__typename);
662
662
  };
663
663
  exports.isStripeAccountReference = isStripeAccountReference;
664
- const HistoricalScoreType_possibleTypes = ['HistoricalScoreType'];
665
- const isHistoricalScoreType = (obj) => {
664
+ const HistoricalScore_possibleTypes = ['HistoricalScore'];
665
+ const isHistoricalScore = (obj) => {
666
666
  if (!obj?.__typename)
667
- throw new Error('__typename is missing in "isHistoricalScoreType"');
668
- return HistoricalScoreType_possibleTypes.includes(obj.__typename);
667
+ throw new Error('__typename is missing in "isHistoricalScore"');
668
+ return HistoricalScore_possibleTypes.includes(obj.__typename);
669
669
  };
670
- exports.isHistoricalScoreType = isHistoricalScoreType;
670
+ exports.isHistoricalScore = isHistoricalScore;
671
671
  const AthleteReference_possibleTypes = ['AthleteReference'];
672
672
  const isAthleteReference = (obj) => {
673
673
  if (!obj?.__typename)
@@ -885,6 +885,20 @@ const isBudgetConcept = (obj) => {
885
885
  return BudgetConcept_possibleTypes.includes(obj.__typename);
886
886
  };
887
887
  exports.isBudgetConcept = isBudgetConcept;
888
+ const Donation_possibleTypes = ['Donation'];
889
+ const isDonation = (obj) => {
890
+ if (!obj?.__typename)
891
+ throw new Error('__typename is missing in "isDonation"');
892
+ return Donation_possibleTypes.includes(obj.__typename);
893
+ };
894
+ exports.isDonation = isDonation;
895
+ const Member_possibleTypes = ['Member'];
896
+ const isMember = (obj) => {
897
+ if (!obj?.__typename)
898
+ throw new Error('__typename is missing in "isMember"');
899
+ return Member_possibleTypes.includes(obj.__typename);
900
+ };
901
+ exports.isMember = isMember;
888
902
  const EditValueResponse_possibleTypes = ['EditValueResponse'];
889
903
  const isEditValueResponse = (obj) => {
890
904
  if (!obj?.__typename)
@@ -955,6 +969,13 @@ const isCompetitionDeleteVerificationResponse = (obj) => {
955
969
  return CompetitionDeleteVerificationResponse_possibleTypes.includes(obj.__typename);
956
970
  };
957
971
  exports.isCompetitionDeleteVerificationResponse = isCompetitionDeleteVerificationResponse;
972
+ const HistoricalScoresPeriod_possibleTypes = ['HistoricalScoresPeriod'];
973
+ const isHistoricalScoresPeriod = (obj) => {
974
+ if (!obj?.__typename)
975
+ throw new Error('__typename is missing in "isHistoricalScoresPeriod"');
976
+ return HistoricalScoresPeriod_possibleTypes.includes(obj.__typename);
977
+ };
978
+ exports.isHistoricalScoresPeriod = isHistoricalScoresPeriod;
958
979
  const StripeObject_possibleTypes = ['StripeObject'];
959
980
  const isStripeObject = (obj) => {
960
981
  if (!obj?.__typename)
@@ -990,20 +1011,6 @@ const isUserDomain = (obj) => {
990
1011
  return UserDomain_possibleTypes.includes(obj.__typename);
991
1012
  };
992
1013
  exports.isUserDomain = isUserDomain;
993
- const Donation_possibleTypes = ['Donation'];
994
- const isDonation = (obj) => {
995
- if (!obj?.__typename)
996
- throw new Error('__typename is missing in "isDonation"');
997
- return Donation_possibleTypes.includes(obj.__typename);
998
- };
999
- exports.isDonation = isDonation;
1000
- const Member_possibleTypes = ['Member'];
1001
- const isMember = (obj) => {
1002
- if (!obj?.__typename)
1003
- throw new Error('__typename is missing in "isMember"');
1004
- return Member_possibleTypes.includes(obj.__typename);
1005
- };
1006
- exports.isMember = isMember;
1007
1014
  const Query_possibleTypes = ['Query'];
1008
1015
  const isQuery = (obj) => {
1009
1016
  if (!obj?.__typename)