@ludo.ninja/api 3.0.68 → 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.
@@ -169,7 +169,7 @@ export type IAdminOpportunity = {
169
169
  parentOpportunityId?: Maybe<Scalars['String']>;
170
170
  };
171
171
  export type IAdminOpportunityInput = {
172
- projectId?: Maybe<Scalars['String']>;
172
+ projectId: Scalars['String'];
173
173
  categoryId: Scalars['String'];
174
174
  status: Scalars['String'];
175
175
  pushNotificationsEnabled: Scalars['Boolean'];
@@ -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;
@@ -31,6 +31,7 @@ var IOpportunityType;
31
31
  IOpportunityType["TokenAirdrop"] = "TOKEN_AIRDROP";
32
32
  IOpportunityType["Marketing"] = "MARKETING";
33
33
  IOpportunityType["NftMinting"] = "NFT_MINTING";
34
+ IOpportunityType["Event"] = "EVENT";
34
35
  })(IOpportunityType || (exports.IOpportunityType = IOpportunityType = {}));
35
36
  var IReactionType;
36
37
  (function (IReactionType) {
@@ -317,18 +318,17 @@ exports.FetchOpportunitiesByIdsDocument = (0, client_1.gql) `
317
318
  query FetchOpportunitiesByIds($opportunityIds: [ID!]!) {
318
319
  fetchOpportunitiesByIds(opportunityIds: $opportunityIds) {
319
320
  opportunityId
320
- brandId
321
+ projectId
321
322
  categoryId
322
323
  opportunityStatus
323
324
  opportunityType
324
325
  notificationType
325
326
  name
326
327
  description
327
- brandName
328
- brandDescription
329
- brandMedia
330
- brandUrl
331
- brandIndustry
328
+ projectBlockchain
329
+ projectContract
330
+ projectName
331
+ projectSlug
332
332
  categoryName
333
333
  ludoUrl
334
334
  projectUrl
@@ -343,15 +343,17 @@ exports.FetchOpportunitiesByIdsDocument = (0, client_1.gql) `
343
343
  clicks
344
344
  views
345
345
  blockchain
346
+ blockchains
346
347
  collection
347
348
  createdAt
348
349
  minWalletValue
349
350
  maxWalletValue
350
351
  shareLink
351
352
  liked
353
+ geolocations
354
+ subscribed
352
355
  participantsLimit
353
356
  availablePlacesForAirdrop
354
- brandLudoUrl
355
357
  }
356
358
  }
357
359
  `;
@@ -383,18 +385,17 @@ exports.FetchOpportunitiesForProfileDocument = (0, client_1.gql) `
383
385
  query FetchOpportunitiesForProfile {
384
386
  fetchOpportunitiesForProfile {
385
387
  opportunityId
386
- brandId
388
+ projectId
387
389
  categoryId
388
390
  opportunityStatus
389
391
  opportunityType
390
392
  notificationType
391
393
  name
392
394
  description
393
- brandName
394
- brandDescription
395
- brandMedia
396
- brandUrl
397
- brandIndustry
395
+ projectBlockchain
396
+ projectContract
397
+ projectName
398
+ projectSlug
398
399
  categoryName
399
400
  ludoUrl
400
401
  projectUrl
@@ -409,15 +410,17 @@ exports.FetchOpportunitiesForProfileDocument = (0, client_1.gql) `
409
410
  clicks
410
411
  views
411
412
  blockchain
413
+ blockchains
412
414
  collection
413
415
  createdAt
414
416
  minWalletValue
415
417
  maxWalletValue
416
418
  shareLink
417
419
  liked
420
+ geolocations
421
+ subscribed
418
422
  participantsLimit
419
423
  availablePlacesForAirdrop
420
- brandLudoUrl
421
424
  }
422
425
  }
423
426
  `;
@@ -464,53 +467,81 @@ exports.FetchBrandBySlugDocument = (0, client_1.gql) `
464
467
  youtube
465
468
  activeAirdrop {
466
469
  opportunityId
467
- brandId
470
+ projectId
468
471
  categoryId
469
472
  opportunityStatus
470
473
  opportunityType
471
474
  notificationType
472
475
  name
473
476
  description
474
- brandName
475
- brandDescription
476
- brandMedia
477
- brandUrl
478
- brandIndustry
477
+ projectBlockchain
478
+ projectContract
479
+ projectName
480
+ projectSlug
479
481
  categoryName
480
482
  ludoUrl
481
483
  projectUrl
482
484
  activeFrom
483
485
  activeUntil
486
+ minXpLevel
487
+ maxXpLevel
488
+ minRank
489
+ maxRank
484
490
  media
485
491
  reportLink
492
+ clicks
493
+ views
494
+ blockchain
495
+ blockchains
496
+ collection
497
+ createdAt
498
+ minWalletValue
499
+ maxWalletValue
486
500
  shareLink
501
+ liked
502
+ geolocations
503
+ subscribed
487
504
  participantsLimit
488
505
  availablePlacesForAirdrop
489
- brandLudoUrl
490
- blockchains
491
506
  }
492
507
  otherOpportunities {
493
508
  opportunityId
494
- brandId
509
+ projectId
495
510
  categoryId
496
511
  opportunityStatus
497
512
  opportunityType
498
513
  notificationType
499
514
  name
500
515
  description
501
- brandName
502
- brandDescription
503
- brandMedia
504
- brandUrl
505
- brandIndustry
516
+ projectBlockchain
517
+ projectContract
518
+ projectName
519
+ projectSlug
506
520
  categoryName
507
521
  ludoUrl
508
522
  projectUrl
509
523
  activeFrom
510
524
  activeUntil
525
+ minXpLevel
526
+ maxXpLevel
527
+ minRank
528
+ maxRank
511
529
  media
512
530
  reportLink
531
+ clicks
532
+ views
533
+ blockchain
534
+ blockchains
535
+ collection
536
+ createdAt
537
+ minWalletValue
538
+ maxWalletValue
513
539
  shareLink
540
+ liked
541
+ geolocations
542
+ subscribed
543
+ participantsLimit
544
+ availablePlacesForAirdrop
514
545
  }
515
546
  }
516
547
  }
@@ -611,19 +642,17 @@ exports.FetchOpportunityDocument = (0, client_1.gql) `
611
642
  query FetchOpportunity($opportunityId: ID!) {
612
643
  fetchOpportunity(opportunityId: $opportunityId) {
613
644
  opportunityId
614
- brandId
645
+ projectId
615
646
  categoryId
616
647
  opportunityStatus
617
648
  opportunityType
618
649
  notificationType
619
650
  name
620
651
  description
621
- brandName
622
- subscribed
623
- brandDescription
624
- brandMedia
625
- brandUrl
626
- brandIndustry
652
+ projectBlockchain
653
+ projectContract
654
+ projectName
655
+ projectSlug
627
656
  categoryName
628
657
  ludoUrl
629
658
  projectUrl
@@ -646,26 +675,9 @@ exports.FetchOpportunityDocument = (0, client_1.gql) `
646
675
  shareLink
647
676
  liked
648
677
  geolocations
678
+ subscribed
649
679
  participantsLimit
650
680
  availablePlacesForAirdrop
651
- brandLudoUrl
652
- brand {
653
- brandId
654
- name
655
- description
656
- industry
657
- link
658
- media
659
- archived
660
- addedBy
661
- matchingWords
662
- discord
663
- telegram
664
- twitter
665
- facebook
666
- linkedin
667
- youtube
668
- }
669
681
  }
670
682
  }
671
683
  `;
@@ -698,18 +710,17 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
698
710
  fetchProfileOpportunities {
699
711
  newOpportunities {
700
712
  opportunityId
701
- brandId
713
+ projectId
702
714
  categoryId
703
715
  opportunityStatus
704
716
  opportunityType
705
717
  notificationType
706
718
  name
707
719
  description
708
- brandName
709
- brandDescription
710
- brandMedia
711
- brandUrl
712
- brandIndustry
720
+ projectBlockchain
721
+ projectContract
722
+ projectName
723
+ projectSlug
713
724
  categoryName
714
725
  ludoUrl
715
726
  projectUrl
@@ -724,30 +735,31 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
724
735
  clicks
725
736
  views
726
737
  blockchain
738
+ blockchains
727
739
  collection
728
740
  createdAt
729
741
  minWalletValue
730
742
  maxWalletValue
731
743
  shareLink
732
744
  liked
745
+ geolocations
746
+ subscribed
733
747
  participantsLimit
734
748
  availablePlacesForAirdrop
735
- brandLudoUrl
736
749
  }
737
750
  recentOpportunities {
738
751
  opportunityId
739
- brandId
752
+ projectId
740
753
  categoryId
741
754
  opportunityStatus
742
755
  opportunityType
743
756
  notificationType
744
757
  name
745
758
  description
746
- brandName
747
- brandDescription
748
- brandMedia
749
- brandUrl
750
- brandIndustry
759
+ projectBlockchain
760
+ projectContract
761
+ projectName
762
+ projectSlug
751
763
  categoryName
752
764
  ludoUrl
753
765
  projectUrl
@@ -762,15 +774,56 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
762
774
  clicks
763
775
  views
764
776
  blockchain
777
+ blockchains
765
778
  collection
766
779
  createdAt
767
780
  minWalletValue
768
781
  maxWalletValue
769
782
  shareLink
770
783
  liked
784
+ geolocations
785
+ subscribed
786
+ participantsLimit
787
+ availablePlacesForAirdrop
788
+ }
789
+ eventOpportunities {
790
+ opportunityId
791
+ projectId
792
+ categoryId
793
+ opportunityStatus
794
+ opportunityType
795
+ notificationType
796
+ name
797
+ description
798
+ projectBlockchain
799
+ projectContract
800
+ projectName
801
+ projectSlug
802
+ categoryName
803
+ ludoUrl
804
+ projectUrl
805
+ activeFrom
806
+ activeUntil
807
+ minXpLevel
808
+ maxXpLevel
809
+ minRank
810
+ maxRank
811
+ media
812
+ reportLink
813
+ clicks
814
+ views
815
+ blockchain
816
+ blockchains
817
+ collection
818
+ createdAt
819
+ minWalletValue
820
+ maxWalletValue
821
+ shareLink
822
+ liked
823
+ geolocations
824
+ subscribed
771
825
  participantsLimit
772
826
  availablePlacesForAirdrop
773
- brandLudoUrl
774
827
  }
775
828
  }
776
829
  }
@@ -842,6 +895,76 @@ exports.FetchProjectBySlugDocument = (0, client_1.gql) `
842
895
  votes
843
896
  votesPercentage
844
897
  }
898
+ airdrops {
899
+ opportunityId
900
+ projectId
901
+ categoryId
902
+ opportunityStatus
903
+ opportunityType
904
+ notificationType
905
+ name
906
+ description
907
+ categoryName
908
+ ludoUrl
909
+ projectUrl
910
+ activeFrom
911
+ activeUntil
912
+ minXpLevel
913
+ maxXpLevel
914
+ minRank
915
+ maxRank
916
+ media
917
+ reportLink
918
+ clicks
919
+ views
920
+ blockchain
921
+ blockchains
922
+ collection
923
+ createdAt
924
+ minWalletValue
925
+ maxWalletValue
926
+ shareLink
927
+ liked
928
+ geolocations
929
+ subscribed
930
+ participantsLimit
931
+ availablePlacesForAirdrop
932
+ }
933
+ opportunities {
934
+ opportunityId
935
+ projectId
936
+ categoryId
937
+ opportunityStatus
938
+ opportunityType
939
+ notificationType
940
+ name
941
+ description
942
+ categoryName
943
+ ludoUrl
944
+ projectUrl
945
+ activeFrom
946
+ activeUntil
947
+ minXpLevel
948
+ maxXpLevel
949
+ minRank
950
+ maxRank
951
+ media
952
+ reportLink
953
+ clicks
954
+ views
955
+ blockchain
956
+ blockchains
957
+ collection
958
+ createdAt
959
+ minWalletValue
960
+ maxWalletValue
961
+ shareLink
962
+ liked
963
+ geolocations
964
+ subscribed
965
+ participantsLimit
966
+ availablePlacesForAirdrop
967
+ }
845
968
  }
846
969
  }
847
970
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "3.0.68",
3
+ "version": "3.0.69",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -176,7 +176,7 @@ export type IAdminOpportunity = {
176
176
  };
177
177
 
178
178
  export type IAdminOpportunityInput = {
179
- projectId?: Maybe<Scalars['String']>;
179
+ projectId: Scalars['String'];
180
180
  categoryId: Scalars['String'];
181
181
  status: Scalars['String'];
182
182
  pushNotificationsEnabled: Scalars['Boolean'];