@vertikalx/vtx-backend-client 1.0.0-dev-daniel.183 → 1.0.0-dev-geo.4

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.
@@ -583,12 +583,14 @@ export interface BudgetItem {
583
583
  quantity: Scalars['Float'];
584
584
  concept: Scalars['String'];
585
585
  itemCost: Scalars['Float'];
586
+ itemTotal: Scalars['Float'];
586
587
  __typename: 'BudgetItem';
587
588
  }
588
589
  export interface Budget {
589
590
  _id: Scalars['String'];
590
- initialFunds: Scalars['Float'];
591
591
  totalRequired: Scalars['Float'];
592
+ initialFunds: Scalars['Float'];
593
+ totalRaised: Scalars['Float'];
592
594
  items: (BudgetItem[] | null);
593
595
  __typename: 'Budget';
594
596
  }
@@ -598,7 +600,7 @@ export interface AthleteCompetition {
598
600
  participationDate: (Scalars['DateTime'] | null);
599
601
  competitionNumber: (Scalars['String'] | null);
600
602
  result: (AthleteCompetitionResult | null);
601
- fundRaisingCampaignIds: (Scalars['String'][] | null);
603
+ fundRaisingCampaignId: (Scalars['String'] | null);
602
604
  budget: (Budget | null);
603
605
  __typename: 'AthleteCompetition';
604
606
  }
@@ -665,28 +667,6 @@ export interface Channel {
665
667
  linked: Scalars['Boolean'];
666
668
  __typename: 'Channel';
667
669
  }
668
- export interface AthletePreferences {
669
- _id: Scalars['String'];
670
- showProfileHelper: Scalars['Boolean'];
671
- __typename: 'AthletePreferences';
672
- }
673
- export interface FundRaisingCampaign {
674
- _id: Scalars['String'];
675
- athlete: AthleteReference;
676
- budgetMode: Scalars['String'];
677
- status: Scalars['String'];
678
- title: Scalars['String'];
679
- motivation: (Scalars['String'] | null);
680
- website: (Scalars['String'] | null);
681
- fundsRequired: Scalars['Float'];
682
- initialFundsObtained: Scalars['Float'];
683
- fundsObtained: Scalars['Float'];
684
- location: (WorldLocation | null);
685
- endingDate: Scalars['DateTime'];
686
- budget: (Budget | null);
687
- competitions: (AthleteCompetition[] | null);
688
- __typename: 'FundRaisingCampaign';
689
- }
690
670
  export interface AthleteReference {
691
671
  _id: Scalars['String'];
692
672
  firstName: Scalars['String'];
@@ -709,7 +689,6 @@ export interface AthleteReference {
709
689
  profilePicture: (AWSS3File | null);
710
690
  cardPicture: (AWSS3File | null);
711
691
  aboutMe: (Scalars['String'] | null);
712
- preferences: AthletePreferences;
713
692
  __typename: 'AthleteReference';
714
693
  }
715
694
  export interface Athlete {
@@ -734,7 +713,6 @@ export interface Athlete {
734
713
  profilePicture: (AWSS3File | null);
735
714
  cardPicture: (AWSS3File | null);
736
715
  aboutMe: (Scalars['String'] | null);
737
- preferences: AthletePreferences;
738
716
  allSports: (Sport[] | null);
739
717
  teams: (Team[] | null);
740
718
  sponsorBrands: (Brand[] | null);
@@ -742,8 +720,6 @@ export interface Athlete {
742
720
  affiliations: (AthleteMembership[] | null);
743
721
  newsLinks: (NewsLink[] | null);
744
722
  channels: (Channel[] | null);
745
- currentCampaign: (FundRaisingCampaign | null);
746
- fundingCampaigns: (FundRaisingCampaign[] | null);
747
723
  __typename: 'Athlete';
748
724
  }
749
725
  export interface SponsorAthleteInvitation {
@@ -771,40 +747,26 @@ export interface EditValueResponse {
771
747
  changed: Scalars['Boolean'];
772
748
  __typename: 'EditValueResponse';
773
749
  }
774
- export interface ErrorType {
775
- code: Scalars['Float'];
776
- message: Scalars['String'];
777
- __typename: 'ErrorType';
778
- }
779
- export interface DeleteSingleValueResponse {
780
- idToDelete: Scalars['String'];
781
- deleted: Scalars['Boolean'];
782
- failureReason: (ErrorType | null);
783
- __typename: 'DeleteSingleValueResponse';
784
- }
785
750
  export interface UserImages {
786
751
  profilePictureUrl: (Scalars['String'] | null);
787
752
  cardPictureUrl: (Scalars['String'] | null);
788
753
  bannerPictureUrl: (Scalars['String'] | null);
789
754
  __typename: 'UserImages';
790
755
  }
791
- export interface DeleteValuesResponse {
792
- deleted: Scalars['String'][];
793
- failedToDelete: Scalars['String'][];
794
- failureReason: ErrorType[];
795
- result: Scalars['String'];
796
- __typename: 'DeleteValuesResponse';
797
- }
798
- export interface CursorPaginationResponse {
799
- sortField: Scalars['String'];
800
- order: Scalars['String'];
801
- initialCursorId: Scalars['String'];
802
- nextCursorId: Scalars['String'];
803
- initialCursorValue: Scalars['String'];
804
- nextCursorValue: Scalars['String'];
805
- limit: Scalars['Float'];
806
- retrieved: Scalars['Float'];
807
- __typename: 'CursorPaginationResponse';
756
+ export interface FundRaisingCampaign {
757
+ _id: Scalars['String'];
758
+ title: Scalars['String'];
759
+ motivation: (Scalars['String'] | null);
760
+ website: (Scalars['String'] | null);
761
+ fundsRequired: Scalars['Float'];
762
+ initialFundsObtained: Scalars['Float'];
763
+ fundsObtained: Scalars['Float'];
764
+ location: (WorldLocation | null);
765
+ endingDate: Scalars['DateTime'];
766
+ status: Scalars['String'];
767
+ budget: (Budget | null);
768
+ competitions: (AthleteCompetition[] | null);
769
+ __typename: 'FundRaisingCampaign';
808
770
  }
809
771
  export interface Query {
810
772
  findTenantById: Tenant;
@@ -846,6 +808,7 @@ export interface Query {
846
808
  getUserImagesFromEmail: UserImages;
847
809
  getStravaLoginUrl: Scalars['String'];
848
810
  getSportsEvents: SportsEvent[];
811
+ getMembershipOrganizations: MembershipOrganizationReference[];
849
812
  __typename: 'Query';
850
813
  }
851
814
  export interface Mutation {
@@ -867,7 +830,6 @@ export interface Mutation {
867
830
  registerAthlete: Athlete;
868
831
  editProfileValue: EditValueResponse;
869
832
  addAthleteCompetition: AthleteCompetition;
870
- deleteAthleteCompetition: DeleteSingleValueResponse;
871
833
  createSport: Sport;
872
834
  updateSport: Sport;
873
835
  createSportLevel: SportLevel;
@@ -884,7 +846,8 @@ export interface Mutation {
884
846
  handleStravaCallback: StravaToken;
885
847
  refreshStravaToken: StravaToken;
886
848
  createSportsEvent: SportsEvent;
887
- createFundingCampaign: FundRaisingCampaign;
849
+ createMembershipOrganization: MembershipOrganizationReference;
850
+ createAthleteMembershipAffilation: AthleteMembership;
888
851
  __typename: 'Mutation';
889
852
  }
890
853
  export interface UserGenqlSelection {
@@ -1539,13 +1502,15 @@ export interface BudgetItemGenqlSelection {
1539
1502
  quantity?: boolean | number;
1540
1503
  concept?: boolean | number;
1541
1504
  itemCost?: boolean | number;
1505
+ itemTotal?: boolean | number;
1542
1506
  __typename?: boolean | number;
1543
1507
  __scalar?: boolean | number;
1544
1508
  }
1545
1509
  export interface BudgetGenqlSelection {
1546
1510
  _id?: boolean | number;
1547
- initialFunds?: boolean | number;
1548
1511
  totalRequired?: boolean | number;
1512
+ initialFunds?: boolean | number;
1513
+ totalRaised?: boolean | number;
1549
1514
  items?: BudgetItemGenqlSelection;
1550
1515
  __typename?: boolean | number;
1551
1516
  __scalar?: boolean | number;
@@ -1556,7 +1521,7 @@ export interface AthleteCompetitionGenqlSelection {
1556
1521
  participationDate?: boolean | number;
1557
1522
  competitionNumber?: boolean | number;
1558
1523
  result?: AthleteCompetitionResultGenqlSelection;
1559
- fundRaisingCampaignIds?: boolean | number;
1524
+ fundRaisingCampaignId?: boolean | number;
1560
1525
  budget?: BudgetGenqlSelection;
1561
1526
  __typename?: boolean | number;
1562
1527
  __scalar?: boolean | number;
@@ -1630,30 +1595,6 @@ export interface ChannelGenqlSelection {
1630
1595
  __typename?: boolean | number;
1631
1596
  __scalar?: boolean | number;
1632
1597
  }
1633
- export interface AthletePreferencesGenqlSelection {
1634
- _id?: boolean | number;
1635
- showProfileHelper?: boolean | number;
1636
- __typename?: boolean | number;
1637
- __scalar?: boolean | number;
1638
- }
1639
- export interface FundRaisingCampaignGenqlSelection {
1640
- _id?: boolean | number;
1641
- athlete?: AthleteReferenceGenqlSelection;
1642
- budgetMode?: boolean | number;
1643
- status?: boolean | number;
1644
- title?: boolean | number;
1645
- motivation?: boolean | number;
1646
- website?: boolean | number;
1647
- fundsRequired?: boolean | number;
1648
- initialFundsObtained?: boolean | number;
1649
- fundsObtained?: boolean | number;
1650
- location?: WorldLocationGenqlSelection;
1651
- endingDate?: boolean | number;
1652
- budget?: BudgetGenqlSelection;
1653
- competitions?: AthleteCompetitionGenqlSelection;
1654
- __typename?: boolean | number;
1655
- __scalar?: boolean | number;
1656
- }
1657
1598
  export interface AthleteReferenceGenqlSelection {
1658
1599
  _id?: boolean | number;
1659
1600
  firstName?: boolean | number;
@@ -1676,7 +1617,6 @@ export interface AthleteReferenceGenqlSelection {
1676
1617
  profilePicture?: AWSS3FileGenqlSelection;
1677
1618
  cardPicture?: AWSS3FileGenqlSelection;
1678
1619
  aboutMe?: boolean | number;
1679
- preferences?: AthletePreferencesGenqlSelection;
1680
1620
  __typename?: boolean | number;
1681
1621
  __scalar?: boolean | number;
1682
1622
  }
@@ -1702,7 +1642,6 @@ export interface AthleteGenqlSelection {
1702
1642
  profilePicture?: AWSS3FileGenqlSelection;
1703
1643
  cardPicture?: AWSS3FileGenqlSelection;
1704
1644
  aboutMe?: boolean | number;
1705
- preferences?: AthletePreferencesGenqlSelection;
1706
1645
  allSports?: SportGenqlSelection;
1707
1646
  teams?: TeamGenqlSelection;
1708
1647
  sponsorBrands?: BrandGenqlSelection;
@@ -1710,8 +1649,6 @@ export interface AthleteGenqlSelection {
1710
1649
  affiliations?: AthleteMembershipGenqlSelection;
1711
1650
  newsLinks?: NewsLinkGenqlSelection;
1712
1651
  channels?: ChannelGenqlSelection;
1713
- currentCampaign?: FundRaisingCampaignGenqlSelection;
1714
- fundingCampaigns?: FundRaisingCampaignGenqlSelection;
1715
1652
  __typename?: boolean | number;
1716
1653
  __scalar?: boolean | number;
1717
1654
  }
@@ -1743,19 +1680,6 @@ export interface EditValueResponseGenqlSelection {
1743
1680
  __typename?: boolean | number;
1744
1681
  __scalar?: boolean | number;
1745
1682
  }
1746
- export interface ErrorTypeGenqlSelection {
1747
- code?: boolean | number;
1748
- message?: boolean | number;
1749
- __typename?: boolean | number;
1750
- __scalar?: boolean | number;
1751
- }
1752
- export interface DeleteSingleValueResponseGenqlSelection {
1753
- idToDelete?: boolean | number;
1754
- deleted?: boolean | number;
1755
- failureReason?: ErrorTypeGenqlSelection;
1756
- __typename?: boolean | number;
1757
- __scalar?: boolean | number;
1758
- }
1759
1683
  export interface UserImagesGenqlSelection {
1760
1684
  profilePictureUrl?: boolean | number;
1761
1685
  cardPictureUrl?: boolean | number;
@@ -1763,23 +1687,19 @@ export interface UserImagesGenqlSelection {
1763
1687
  __typename?: boolean | number;
1764
1688
  __scalar?: boolean | number;
1765
1689
  }
1766
- export interface DeleteValuesResponseGenqlSelection {
1767
- deleted?: boolean | number;
1768
- failedToDelete?: boolean | number;
1769
- failureReason?: ErrorTypeGenqlSelection;
1770
- result?: boolean | number;
1771
- __typename?: boolean | number;
1772
- __scalar?: boolean | number;
1773
- }
1774
- export interface CursorPaginationResponseGenqlSelection {
1775
- sortField?: boolean | number;
1776
- order?: boolean | number;
1777
- initialCursorId?: boolean | number;
1778
- nextCursorId?: boolean | number;
1779
- initialCursorValue?: boolean | number;
1780
- nextCursorValue?: boolean | number;
1781
- limit?: boolean | number;
1782
- retrieved?: boolean | number;
1690
+ export interface FundRaisingCampaignGenqlSelection {
1691
+ _id?: boolean | number;
1692
+ title?: boolean | number;
1693
+ motivation?: boolean | number;
1694
+ website?: boolean | number;
1695
+ fundsRequired?: boolean | number;
1696
+ initialFundsObtained?: boolean | number;
1697
+ fundsObtained?: boolean | number;
1698
+ location?: WorldLocationGenqlSelection;
1699
+ endingDate?: boolean | number;
1700
+ status?: boolean | number;
1701
+ budget?: BudgetGenqlSelection;
1702
+ competitions?: AthleteCompetitionGenqlSelection;
1783
1703
  __typename?: boolean | number;
1784
1704
  __scalar?: boolean | number;
1785
1705
  }
@@ -1837,9 +1757,6 @@ export interface CreateAthleteCompetitionForDto {
1837
1757
  cityId?: (Scalars['String'] | null);
1838
1758
  loginEmail: Scalars['String'];
1839
1759
  }
1840
- export interface DeleteSingleValueDto {
1841
- idToDelete: Scalars['String'];
1842
- }
1843
1760
  export interface QualificationDto {
1844
1761
  type: Scalars['String'];
1845
1762
  }
@@ -1893,64 +1810,29 @@ export interface RegisterUserDto {
1893
1810
  password: Scalars['String'];
1894
1811
  inviteCode?: (Scalars['String'] | null);
1895
1812
  }
1896
- export interface DeleteValuesDto {
1897
- idsToDelete: Scalars['String'][];
1898
- allOrNone?: (Scalars['Boolean'] | null);
1899
- }
1900
- export interface BudgetItemDto {
1901
- quantity: Scalars['Float'];
1902
- concept: Scalars['String'];
1903
- itemCost: Scalars['Float'];
1904
- }
1905
- export interface CreateBudgetItemDto {
1906
- quantity: Scalars['Float'];
1907
- concept: Scalars['String'];
1908
- itemCost: Scalars['Float'];
1909
- budgetId: Scalars['String'];
1910
- }
1911
- export interface CreateBudgetDto {
1912
- initialFunds?: (Scalars['Float'] | null);
1913
- items?: (BudgetItemDto[] | null);
1914
- }
1915
- export interface CreateCompetitionBudgetDto {
1916
- initialFunds?: (Scalars['Float'] | null);
1917
- items?: (BudgetItemDto[] | null);
1918
- athleteCompetitionId: Scalars['String'];
1919
- }
1920
- export interface CreateFundingCampaignDto {
1921
- budgetMode: Scalars['String'];
1922
- title: Scalars['String'];
1923
- motivation: Scalars['String'];
1813
+ export interface CreateMembershipOrganizationDto {
1814
+ shortName: Scalars['String'];
1815
+ acronym?: (Scalars['String'] | null);
1816
+ fullName: Scalars['String'];
1924
1817
  website?: (Scalars['String'] | null);
1925
- fundsRequired: Scalars['Float'];
1926
- initialFundsObtained?: Scalars['Float'];
1927
- cityId?: (Scalars['String'] | null);
1928
- endingDate: Scalars['DateTime'];
1929
- budget?: (CreateBudgetDto | null);
1930
- competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
1931
- competitionIds?: (Scalars['String'][] | null);
1818
+ logo?: (AWSS3UploadedFileDto | null);
1819
+ countryId?: (Scalars['String'] | null);
1820
+ sportId?: (Scalars['String'] | null);
1932
1821
  }
1933
- export interface CreateFundingCampaignForDto {
1934
- budgetMode: Scalars['String'];
1935
- title: Scalars['String'];
1936
- motivation: Scalars['String'];
1937
- website?: (Scalars['String'] | null);
1938
- fundsRequired: Scalars['Float'];
1939
- initialFundsObtained?: Scalars['Float'];
1940
- cityId?: (Scalars['String'] | null);
1941
- endingDate: Scalars['DateTime'];
1942
- budget?: (CreateBudgetDto | null);
1943
- competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
1944
- competitionIds?: (Scalars['String'][] | null);
1945
- loginEmail: Scalars['String'];
1822
+ export interface AWSS3UploadedFileDto {
1823
+ key: Scalars['String'];
1824
+ useType: Scalars['String'];
1825
+ contentType: Scalars['String'];
1826
+ originalFileName?: (Scalars['String'] | null);
1827
+ fileSize?: (Scalars['Float'] | null);
1946
1828
  }
1947
- export interface CursorPaginationDto {
1948
- sortField: Scalars['String'];
1949
- order?: (Scalars['String'] | null);
1950
- direction?: (Scalars['String'] | null);
1951
- limit?: (Scalars['Float'] | null);
1952
- cursorId?: (Scalars['String'] | null);
1953
- cursorFieldValue?: (Scalars['String'] | null);
1829
+ export interface CreateAthleteMembershipDto {
1830
+ organizationId: Scalars['String'];
1831
+ athleteId: Scalars['String'];
1832
+ membershipNumber?: (Scalars['String'] | null);
1833
+ membershipType?: (Scalars['String'] | null);
1834
+ issueDate?: (Scalars['DateTime'] | null);
1835
+ expirationDate?: (Scalars['DateTime'] | null);
1954
1836
  }
1955
1837
  export interface QueryGenqlSelection {
1956
1838
  findTenantById?: (TenantGenqlSelection & {
@@ -2105,6 +1987,7 @@ export interface QueryGenqlSelection {
2105
1987
  input: GetSportEventsDto;
2106
1988
  };
2107
1989
  });
1990
+ getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
2108
1991
  __typename?: boolean | number;
2109
1992
  __scalar?: boolean | number;
2110
1993
  }
@@ -2220,11 +2103,6 @@ export interface MutationGenqlSelection {
2220
2103
  input: CreateAthleteCompetitionDto;
2221
2104
  };
2222
2105
  });
2223
- deleteAthleteCompetition?: (DeleteSingleValueResponseGenqlSelection & {
2224
- __args: {
2225
- input: DeleteSingleValueDto;
2226
- };
2227
- });
2228
2106
  createSport?: (SportGenqlSelection & {
2229
2107
  __args: {
2230
2108
  input: CreateSportDto;
@@ -2306,9 +2184,14 @@ export interface MutationGenqlSelection {
2306
2184
  input: CreateSportEventDto;
2307
2185
  };
2308
2186
  });
2309
- createFundingCampaign?: (FundRaisingCampaignGenqlSelection & {
2187
+ createMembershipOrganization?: (MembershipOrganizationReferenceGenqlSelection & {
2310
2188
  __args: {
2311
- input: CreateFundingCampaignDto;
2189
+ input: CreateMembershipOrganizationDto;
2190
+ };
2191
+ });
2192
+ createAthleteMembershipAffilation?: (AthleteMembershipGenqlSelection & {
2193
+ __args: {
2194
+ input: CreateAthleteMembershipDto;
2312
2195
  };
2313
2196
  });
2314
2197
  __typename?: boolean | number;
@@ -2343,13 +2226,6 @@ export interface AWSS3DeleteBucketFileDto {
2343
2226
  bucket: Scalars['String'];
2344
2227
  credentialsId?: (Scalars['String'] | null);
2345
2228
  }
2346
- export interface AWSS3UploadedFileDto {
2347
- key: Scalars['String'];
2348
- useType: Scalars['String'];
2349
- contentType: Scalars['String'];
2350
- originalFileName?: (Scalars['String'] | null);
2351
- fileSize?: (Scalars['Float'] | null);
2352
- }
2353
2229
  export interface CreateIndustryDto {
2354
2230
  name: Scalars['String'];
2355
2231
  }
@@ -2755,12 +2631,6 @@ export declare const isNewsLink: (obj?: {
2755
2631
  export declare const isChannel: (obj?: {
2756
2632
  __typename?: any;
2757
2633
  } | null) => obj is Channel;
2758
- export declare const isAthletePreferences: (obj?: {
2759
- __typename?: any;
2760
- } | null) => obj is AthletePreferences;
2761
- export declare const isFundRaisingCampaign: (obj?: {
2762
- __typename?: any;
2763
- } | null) => obj is FundRaisingCampaign;
2764
2634
  export declare const isAthleteReference: (obj?: {
2765
2635
  __typename?: any;
2766
2636
  } | null) => obj is AthleteReference;
@@ -2776,21 +2646,12 @@ export declare const isStravaToken: (obj?: {
2776
2646
  export declare const isEditValueResponse: (obj?: {
2777
2647
  __typename?: any;
2778
2648
  } | null) => obj is EditValueResponse;
2779
- export declare const isErrorType: (obj?: {
2780
- __typename?: any;
2781
- } | null) => obj is ErrorType;
2782
- export declare const isDeleteSingleValueResponse: (obj?: {
2783
- __typename?: any;
2784
- } | null) => obj is DeleteSingleValueResponse;
2785
2649
  export declare const isUserImages: (obj?: {
2786
2650
  __typename?: any;
2787
2651
  } | null) => obj is UserImages;
2788
- export declare const isDeleteValuesResponse: (obj?: {
2789
- __typename?: any;
2790
- } | null) => obj is DeleteValuesResponse;
2791
- export declare const isCursorPaginationResponse: (obj?: {
2652
+ export declare const isFundRaisingCampaign: (obj?: {
2792
2653
  __typename?: any;
2793
- } | null) => obj is CursorPaginationResponse;
2654
+ } | null) => obj is FundRaisingCampaign;
2794
2655
  export declare const isQuery: (obj?: {
2795
2656
  __typename?: any;
2796
2657
  } | null) => obj is Query;