@ludo.ninja/api 3.0.67 → 3.0.69

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.
@@ -131,6 +131,7 @@ export type IAdminInvite = {
131
131
  };
132
132
  export type IAdminOpportunity = {
133
133
  opportunityId: Scalars['ID'];
134
+ projectId?: Maybe<Scalars['String']>;
134
135
  name?: Maybe<Scalars['String']>;
135
136
  description?: Maybe<Scalars['String']>;
136
137
  projectName?: Maybe<Scalars['String']>;
@@ -165,9 +166,10 @@ export type IAdminOpportunity = {
165
166
  availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
166
167
  encodePayload?: Maybe<Scalars['Boolean']>;
167
168
  payloadTypes?: Maybe<Array<Maybe<IPayloadType>>>;
169
+ parentOpportunityId?: Maybe<Scalars['String']>;
168
170
  };
169
171
  export type IAdminOpportunityInput = {
170
- projectId?: Maybe<Scalars['String']>;
172
+ projectId: Scalars['String'];
171
173
  categoryId: Scalars['String'];
172
174
  status: Scalars['String'];
173
175
  pushNotificationsEnabled: Scalars['Boolean'];
@@ -195,6 +197,7 @@ export type IAdminOpportunityInput = {
195
197
  participantsLimit?: Maybe<Scalars['Int']>;
196
198
  encodePayload?: Maybe<Scalars['Boolean']>;
197
199
  payloadTypes?: Maybe<Array<Maybe<IPayloadType>>>;
200
+ parentOpportunityId?: Maybe<Scalars['String']>;
198
201
  };
199
202
  export type IAdminPage = {
200
203
  num?: Maybe<Scalars['Int']>;
@@ -757,7 +760,8 @@ export type IOpportunitiesSortInput = {
757
760
  export declare enum IOpportunityType {
758
761
  TokenAirdrop = "TOKEN_AIRDROP",
759
762
  Marketing = "MARKETING",
760
- NftMinting = "NFT_MINTING"
763
+ NftMinting = "NFT_MINTING",
764
+ Event = "EVENT"
761
765
  }
762
766
  export type IPartnershipInquiryFilterInput = {
763
767
  idTerm?: Maybe<Scalars['String']>;
@@ -806,6 +810,7 @@ export type IQuery = {
806
810
  fetchAdminCategories: Array<IAdminCategory>;
807
811
  fetchAdminCategoriesPage: ICategoriesPage;
808
812
  fetchAdminBrands: Array<IAdminBrand>;
813
+ fetchAdminProjects: Array<IAdminProject>;
809
814
  fetchAdminBrandsPage: IBrandsPage;
810
815
  fetchBlockchains: Array<Scalars['String']>;
811
816
  fetchAdminAirdropsPage: IOpportunitiesPage;
@@ -1525,6 +1530,7 @@ export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolve
1525
1530
  };
1526
1531
  export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminOpportunity'] = IResolversParentTypes['AdminOpportunity']> = {
1527
1532
  opportunityId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
1533
+ projectId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1528
1534
  name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1529
1535
  description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1530
1536
  projectName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -1559,6 +1565,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
1559
1565
  availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1560
1566
  encodePayload?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1561
1567
  payloadTypes?: Resolver<Maybe<Array<Maybe<IResolversTypes['PayloadType']>>>, ParentType, ContextType>;
1568
+ parentOpportunityId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1562
1569
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1563
1570
  };
1564
1571
  export type IAdminPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPage'] = IResolversParentTypes['AdminPage']> = {
@@ -1794,6 +1801,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
1794
1801
  fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
1795
1802
  fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
1796
1803
  fetchAdminBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
1804
+ fetchAdminProjects?: Resolver<Array<IResolversTypes['AdminProject']>, ParentType, ContextType>;
1797
1805
  fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
1798
1806
  fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
1799
1807
  fetchAdminAirdropsPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminAirdropsPageArgs, 'filter' | 'page'>>;
@@ -2303,6 +2311,12 @@ export type IFetchAdminOpportunitiesPageQuery = {
2303
2311
  nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
2304
2312
  };
2305
2313
  };
2314
+ export type IFetchAdminProjectsQueryVariables = Exact<{
2315
+ [key: string]: never;
2316
+ }>;
2317
+ export type IFetchAdminProjectsQuery = {
2318
+ fetchAdminProjects: Array<Pick<IAdminProject, 'id' | 'name'>>;
2319
+ };
2306
2320
  export type IFetchAdminProjectsPageQueryVariables = Exact<{
2307
2321
  filter: IAdminProjectsFilterInput;
2308
2322
  page: IAdminPageInput;
@@ -3736,6 +3750,31 @@ export declare function useFetchAdminOpportunitiesPageLazyQuery(baseOptions?: Ap
3736
3750
  export type FetchAdminOpportunitiesPageQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageQuery>;
3737
3751
  export type FetchAdminOpportunitiesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageLazyQuery>;
3738
3752
  export type FetchAdminOpportunitiesPageQueryResult = Apollo.QueryResult<IFetchAdminOpportunitiesPageQuery, IFetchAdminOpportunitiesPageQueryVariables>;
3753
+ export declare const FetchAdminProjectsDocument: Apollo.DocumentNode;
3754
+ /**
3755
+ * __useFetchAdminProjectsQuery__
3756
+ *
3757
+ * To run a query within a React component, call `useFetchAdminProjectsQuery` and pass it any options that fit your needs.
3758
+ * When your component renders, `useFetchAdminProjectsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3759
+ * you can use to render your UI.
3760
+ *
3761
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
3762
+ *
3763
+ * @example
3764
+ * const { data, loading, error } = useFetchAdminProjectsQuery({
3765
+ * variables: {
3766
+ * },
3767
+ * });
3768
+ */
3769
+ export declare function useFetchAdminProjectsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminProjectsQuery, IFetchAdminProjectsQueryVariables>): Apollo.QueryResult<IFetchAdminProjectsQuery, Exact<{
3770
+ [key: string]: never;
3771
+ }>>;
3772
+ export declare function useFetchAdminProjectsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminProjectsQuery, IFetchAdminProjectsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminProjectsQuery, Exact<{
3773
+ [key: string]: never;
3774
+ }>>;
3775
+ export type FetchAdminProjectsQueryHookResult = ReturnType<typeof useFetchAdminProjectsQuery>;
3776
+ export type FetchAdminProjectsLazyQueryHookResult = ReturnType<typeof useFetchAdminProjectsLazyQuery>;
3777
+ export type FetchAdminProjectsQueryResult = Apollo.QueryResult<IFetchAdminProjectsQuery, IFetchAdminProjectsQueryVariables>;
3739
3778
  export declare const FetchAdminProjectsPageDocument: Apollo.DocumentNode;
3740
3779
  /**
3741
3780
  * __useFetchAdminProjectsPageQuery__
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.UpdateAirdropDocument = exports.useRevokeCompanyTokenMutation = exports.RevokeCompanyTokenDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateProjectMutation = exports.CreateProjectDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateCompanyTokenMutation = exports.CreateCompanyTokenDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.useUpdateTierArchivedStatusMutation = exports.UpdateTierArchivedStatusDocument = exports.useUpdateTierMutation = exports.UpdateTierDocument = exports.useUpdateReferralTypeArchivedStatusMutation = exports.UpdateReferralTypeArchivedStatusDocument = exports.useUpdateReferralTypeMutation = exports.UpdateReferralTypeDocument = exports.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.useCreateTierMutation = exports.CreateTierDocument = exports.useCreateReferralTypeMutation = exports.CreateReferralTypeDocument = exports.ITariffPlan = exports.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.IPayloadType = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.ILeaderboardType = exports.IDevicePlatform = exports.IAuthorityType = exports.IAccessType = void 0;
27
27
  exports.useFetchTiersQuery = exports.FetchTiersDocument = exports.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = exports.FetchRegistrationInvitePageDocument = exports.useFetchReferralTypesPageLazyQuery = exports.useFetchReferralTypesPageQuery = exports.FetchReferralTypesPageDocument = exports.useFetchUnarchivedReferralTypesLazyQuery = exports.useFetchUnarchivedReferralTypesQuery = exports.FetchUnarchivedReferralTypesDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = exports.FetchPartnershipInquiryPageDocument = exports.useFetchInvestorInquiryPageLazyQuery = exports.useFetchInvestorInquiryPageQuery = exports.FetchInvestorInquiryPageDocument = exports.useFetchFormOpportunityPageLazyQuery = exports.useFetchFormOpportunityPageQuery = exports.FetchFormOpportunityPageDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useCheckInviteCodeLazyQuery = exports.useCheckInviteCodeQuery = exports.CheckInviteCodeDocument = exports.useUpdateProjectMutation = exports.UpdateProjectDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateLeaderboardMutation = exports.UpdateLeaderboardDocument = exports.useUpdateCompanyTokenRateLimitsMutation = exports.UpdateCompanyTokenRateLimitsDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useUpdateAirdropMutation = void 0;
28
- exports.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = exports.FetchCompanyTokensPageDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminProjectsPageLazyQuery = exports.useFetchAdminProjectsPageQuery = exports.FetchAdminProjectsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchAdminAirdropsPageLazyQuery = exports.useFetchAdminAirdropsPageQuery = exports.FetchAdminAirdropsPageDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = exports.useFetchTiersLazyQuery = void 0;
29
- exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchDefaultRateLimitsLazyQuery = exports.useFetchDefaultRateLimitsQuery = void 0;
28
+ exports.FetchCompanyTokensPageDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminProjectsPageLazyQuery = exports.useFetchAdminProjectsPageQuery = exports.FetchAdminProjectsPageDocument = exports.useFetchAdminProjectsLazyQuery = exports.useFetchAdminProjectsQuery = exports.FetchAdminProjectsDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchAdminAirdropsPageLazyQuery = exports.useFetchAdminAirdropsPageQuery = exports.FetchAdminAirdropsPageDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = exports.useFetchTiersLazyQuery = void 0;
29
+ exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchDefaultRateLimitsLazyQuery = exports.useFetchDefaultRateLimitsQuery = exports.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = void 0;
30
30
  const client_1 = require("@apollo/client");
31
31
  const Apollo = __importStar(require("@apollo/client"));
32
32
  var IAccessType;
@@ -78,6 +78,7 @@ var IOpportunityType;
78
78
  IOpportunityType["TokenAirdrop"] = "TOKEN_AIRDROP";
79
79
  IOpportunityType["Marketing"] = "MARKETING";
80
80
  IOpportunityType["NftMinting"] = "NFT_MINTING";
81
+ IOpportunityType["Event"] = "EVENT";
81
82
  })(IOpportunityType || (exports.IOpportunityType = IOpportunityType = {}));
82
83
  var IPayloadType;
83
84
  (function (IPayloadType) {
@@ -1831,6 +1832,37 @@ function useFetchAdminOpportunitiesPageLazyQuery(baseOptions) {
1831
1832
  return Apollo.useLazyQuery(exports.FetchAdminOpportunitiesPageDocument, baseOptions);
1832
1833
  }
1833
1834
  exports.useFetchAdminOpportunitiesPageLazyQuery = useFetchAdminOpportunitiesPageLazyQuery;
1835
+ exports.FetchAdminProjectsDocument = (0, client_1.gql) `
1836
+ query FetchAdminProjects {
1837
+ fetchAdminProjects {
1838
+ id
1839
+ name
1840
+ }
1841
+ }
1842
+ `;
1843
+ /**
1844
+ * __useFetchAdminProjectsQuery__
1845
+ *
1846
+ * To run a query within a React component, call `useFetchAdminProjectsQuery` and pass it any options that fit your needs.
1847
+ * When your component renders, `useFetchAdminProjectsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1848
+ * you can use to render your UI.
1849
+ *
1850
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1851
+ *
1852
+ * @example
1853
+ * const { data, loading, error } = useFetchAdminProjectsQuery({
1854
+ * variables: {
1855
+ * },
1856
+ * });
1857
+ */
1858
+ function useFetchAdminProjectsQuery(baseOptions) {
1859
+ return Apollo.useQuery(exports.FetchAdminProjectsDocument, baseOptions);
1860
+ }
1861
+ exports.useFetchAdminProjectsQuery = useFetchAdminProjectsQuery;
1862
+ function useFetchAdminProjectsLazyQuery(baseOptions) {
1863
+ return Apollo.useLazyQuery(exports.FetchAdminProjectsDocument, baseOptions);
1864
+ }
1865
+ exports.useFetchAdminProjectsLazyQuery = useFetchAdminProjectsLazyQuery;
1834
1866
  exports.FetchAdminProjectsPageDocument = (0, client_1.gql) `
1835
1867
  query FetchAdminProjectsPage($filter: AdminProjectsFilterInput!, $page: AdminPageInput!) {
1836
1868
  fetchProjectsPage(filter: $filter, page: $page) {
@@ -189,23 +189,22 @@ export type IOpportunityInput = {
189
189
  export declare enum IOpportunityType {
190
190
  TokenAirdrop = "TOKEN_AIRDROP",
191
191
  Marketing = "MARKETING",
192
- NftMinting = "NFT_MINTING"
192
+ NftMinting = "NFT_MINTING",
193
+ Event = "EVENT"
193
194
  }
194
195
  export type IOpportunityV2 = {
195
196
  opportunityId: Scalars['ID'];
196
- brandId: Scalars['String'];
197
+ projectId: Scalars['String'];
197
198
  categoryId: Scalars['String'];
198
199
  opportunityStatus: Scalars['String'];
199
200
  opportunityType: IOpportunityType;
200
201
  notificationType: Scalars['String'];
201
202
  name: Scalars['String'];
202
203
  description?: Maybe<Scalars['String']>;
203
- brandName?: Maybe<Scalars['String']>;
204
- brandDescription?: Maybe<Scalars['String']>;
205
- brandMedia?: Maybe<Scalars['String']>;
206
- brandUrl?: Maybe<Scalars['String']>;
207
- brandLudoUrl?: Maybe<Scalars['String']>;
208
- brandIndustry?: Maybe<Scalars['String']>;
204
+ projectBlockchain?: Maybe<Scalars['String']>;
205
+ projectContract?: Maybe<Scalars['String']>;
206
+ projectName?: Maybe<Scalars['String']>;
207
+ projectSlug?: Maybe<Scalars['String']>;
209
208
  categoryName?: Maybe<Scalars['String']>;
210
209
  ludoUrl?: Maybe<Scalars['String']>;
211
210
  projectUrl?: Maybe<Scalars['String']>;
@@ -228,12 +227,13 @@ export type IOpportunityV2 = {
228
227
  shareLink?: Maybe<Scalars['String']>;
229
228
  liked?: Maybe<Scalars['Boolean']>;
230
229
  geolocations?: Maybe<Array<Scalars['String']>>;
231
- brand: IBrand;
230
+ project: IProject;
232
231
  subscribed?: Maybe<Scalars['Boolean']>;
233
232
  participantsLimit?: Maybe<Scalars['Int']>;
234
233
  availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
235
234
  };
236
235
  export type IProfileOpportunities = {
236
+ eventOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
237
237
  newOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
238
238
  recentOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
239
239
  };
@@ -260,6 +260,8 @@ export type IProject = {
260
260
  reactions: IProjectReactions;
261
261
  userReaction?: Maybe<IReactionType>;
262
262
  votesGeo?: Maybe<Array<Maybe<IVotesGeolocation>>>;
263
+ airdrops?: Maybe<Array<Maybe<IOpportunityV2>>>;
264
+ opportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
263
265
  };
264
266
  export type IProjectReactionInput = {
265
267
  blockchain: Scalars['String'];
@@ -508,19 +510,17 @@ export type IOpportunityResolvers<ContextType = any, ParentType extends IResolve
508
510
  };
509
511
  export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunityV2'] = IResolversParentTypes['OpportunityV2']> = {
510
512
  opportunityId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
511
- brandId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
513
+ projectId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
512
514
  categoryId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
513
515
  opportunityStatus?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
514
516
  opportunityType?: Resolver<IResolversTypes['OpportunityType'], ParentType, ContextType>;
515
517
  notificationType?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
516
518
  name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
517
519
  description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
518
- brandName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
519
- brandDescription?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
520
- brandMedia?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
521
- brandUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
522
- brandLudoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
523
- brandIndustry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
520
+ projectBlockchain?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
521
+ projectContract?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
522
+ projectName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
523
+ projectSlug?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
524
524
  categoryName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
525
525
  ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
526
526
  projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -543,13 +543,14 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
543
543
  shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
544
544
  liked?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
545
545
  geolocations?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
546
- brand?: Resolver<IResolversTypes['Brand'], ParentType, ContextType>;
546
+ project?: Resolver<IResolversTypes['Project'], ParentType, ContextType>;
547
547
  subscribed?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
548
548
  participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
549
549
  availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
550
550
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
551
551
  };
552
552
  export type IProfileOpportunitiesResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProfileOpportunities'] = IResolversParentTypes['ProfileOpportunities']> = {
553
+ eventOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
553
554
  newOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
554
555
  recentOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
555
556
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
@@ -577,6 +578,8 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
577
578
  reactions?: Resolver<IResolversTypes['ProjectReactions'], ParentType, ContextType>;
578
579
  userReaction?: Resolver<Maybe<IResolversTypes['ReactionType']>, ParentType, ContextType>;
579
580
  votesGeo?: Resolver<Maybe<Array<Maybe<IResolversTypes['VotesGeolocation']>>>, ParentType, ContextType>;
581
+ airdrops?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
582
+ opportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
580
583
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
581
584
  };
582
585
  export type IProjectReactionsResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProjectReactions'] = IResolversParentTypes['ProjectReactions']> = {
@@ -687,21 +690,21 @@ export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
687
690
  opportunityIds: Array<Scalars['ID']>;
688
691
  }>;
689
692
  export type IFetchOpportunitiesByIdsQuery = {
690
- fetchOpportunitiesByIds: Array<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>>;
693
+ fetchOpportunitiesByIds: Array<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>;
691
694
  };
692
695
  export type IFetchOpportunitiesForProfileQueryVariables = Exact<{
693
696
  [key: string]: never;
694
697
  }>;
695
698
  export type IFetchOpportunitiesForProfileQuery = {
696
- fetchOpportunitiesForProfile: Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>>>;
699
+ fetchOpportunitiesForProfile: Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>;
697
700
  };
698
701
  export type IFetchBrandBySlugQueryVariables = Exact<{
699
702
  slug: Scalars['String'];
700
703
  }>;
701
704
  export type IFetchBrandBySlugQuery = {
702
705
  fetchBrandBySlug: (Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'> & {
703
- activeAirdrop?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl' | 'blockchains'>>;
704
- otherOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>;
706
+ activeAirdrop?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>;
707
+ otherOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
705
708
  });
706
709
  };
707
710
  export type IFetchOpportunitiesQueryVariables = Exact<{
@@ -717,17 +720,16 @@ export type IFetchOpportunityQueryVariables = Exact<{
717
720
  opportunityId: Scalars['ID'];
718
721
  }>;
719
722
  export type IFetchOpportunityQuery = {
720
- fetchOpportunity: (Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'subscribed' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'> & {
721
- brand: Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'>;
722
- });
723
+ fetchOpportunity: Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>;
723
724
  };
724
725
  export type IFetchProfileOpportunitiesQueryVariables = Exact<{
725
726
  [key: string]: never;
726
727
  }>;
727
728
  export type IFetchProfileOpportunitiesQuery = {
728
729
  fetchProfileOpportunities: {
729
- newOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>>>>;
730
- recentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>>>>;
730
+ newOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
731
+ recentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
732
+ eventOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
731
733
  };
732
734
  };
733
735
  export type IFetchProjectBySlugQueryVariables = Exact<{
@@ -738,6 +740,8 @@ export type IFetchProjectBySlugQuery = {
738
740
  snapshots?: Maybe<Array<Maybe<Pick<IProjectSnapshot, 'date' | 'contract' | 'blockchain' | 'volume' | 'marketCap' | 'price' | 'liquidity' | 'xFollowers' | 'holders' | 'ludoRank'>>>>;
739
741
  reactions: Pick<IProjectReactions, 'likes' | 'neutrals' | 'dislikes'>;
740
742
  votesGeo?: Maybe<Array<Maybe<Pick<IVotesGeolocation, 'country' | 'votes' | 'votesPercentage'>>>>;
743
+ airdrops?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
744
+ opportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
741
745
  });
742
746
  };
743
747
  export declare const DislikeOpportunityDocument: Apollo.DocumentNode;