@ludo.ninja/api 3.0.52 → 3.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Ludo.ninja@api
2
+
3
+ Created by [Pharos Production](https://pharosproduction.com)
@@ -162,6 +162,7 @@ export type IAdminOpportunity = {
162
162
  hidden?: Maybe<Scalars['Boolean']>;
163
163
  showcase?: Maybe<Scalars['Boolean']>;
164
164
  participantsLimit?: Maybe<Scalars['Int']>;
165
+ availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
165
166
  };
166
167
  export type IAdminOpportunityInput = {
167
168
  brandId: Scalars['String'];
@@ -1550,6 +1551,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
1550
1551
  hidden?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1551
1552
  showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1552
1553
  participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1554
+ availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1553
1555
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1554
1556
  };
1555
1557
  export type IAdminPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPage'] = IResolversParentTypes['AdminPage']> = {
@@ -2284,7 +2286,7 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
2284
2286
  }>;
2285
2287
  export type IFetchAdminOpportunitiesPageQuery = {
2286
2288
  fetchAdminOpportunitiesPage: {
2287
- opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participantsLimit'>>;
2289
+ opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participantsLimit' | 'availablePlacesForAirdrop'>>;
2288
2290
  nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
2289
2291
  };
2290
2292
  };
@@ -1782,6 +1782,7 @@ exports.FetchAdminOpportunitiesPageDocument = (0, client_1.gql) `
1782
1782
  type
1783
1783
  devicePlatforms
1784
1784
  participantsLimit
1785
+ availablePlacesForAirdrop
1785
1786
  }
1786
1787
  nextPage {
1787
1788
  elements
@@ -182,7 +182,7 @@ export type IOpportunityV2 = {
182
182
  brandId: Scalars['String'];
183
183
  categoryId: Scalars['String'];
184
184
  opportunityStatus: Scalars['String'];
185
- opportunityType: Scalars['String'];
185
+ opportunityType: IOpportunityType;
186
186
  notificationType: Scalars['String'];
187
187
  name: Scalars['String'];
188
188
  description?: Maybe<Scalars['String']>;
@@ -215,6 +215,8 @@ export type IOpportunityV2 = {
215
215
  geolocations?: Maybe<Array<Scalars['String']>>;
216
216
  brand: IBrand;
217
217
  subscribed?: Maybe<Scalars['Boolean']>;
218
+ participantsLimit?: Maybe<Scalars['Int']>;
219
+ availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
218
220
  };
219
221
  export type IProfileOpportunities = {
220
222
  newOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
@@ -231,7 +233,7 @@ export type IQuery = {
231
233
  fetchOpportunitiesV2?: Maybe<Array<Maybe<IOpportunityV2>>>;
232
234
  fetchOpportunitiesForProfile: Array<Maybe<IOpportunityV2>>;
233
235
  fetchProfileOpportunities: IProfileOpportunities;
234
- fetchOpportunity: IOpportunityV2;
236
+ fetchOpportunity?: Maybe<IOpportunityV2>;
235
237
  fetchOpportunitiesByIds: Array<IOpportunityV2>;
236
238
  fetchOpportunitiesForWallet?: Maybe<Array<Maybe<IOpportunityV2>>>;
237
239
  fetchAirdropRegistrationsCsv: Scalars['String'];
@@ -414,7 +416,7 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
414
416
  brandId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
415
417
  categoryId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
416
418
  opportunityStatus?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
417
- opportunityType?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
419
+ opportunityType?: Resolver<IResolversTypes['OpportunityType'], ParentType, ContextType>;
418
420
  notificationType?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
419
421
  name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
420
422
  description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -447,6 +449,8 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
447
449
  geolocations?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
448
450
  brand?: Resolver<IResolversTypes['Brand'], ParentType, ContextType>;
449
451
  subscribed?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
452
+ participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
453
+ availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
450
454
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
451
455
  };
452
456
  export type IProfileOpportunitiesResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProfileOpportunities'] = IResolversParentTypes['ProfileOpportunities']> = {
@@ -465,7 +469,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
465
469
  fetchOpportunitiesV2?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
466
470
  fetchOpportunitiesForProfile?: Resolver<Array<Maybe<IResolversTypes['OpportunityV2']>>, ParentType, ContextType>;
467
471
  fetchProfileOpportunities?: Resolver<IResolversTypes['ProfileOpportunities'], ParentType, ContextType>;
468
- fetchOpportunity?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
472
+ fetchOpportunity?: Resolver<Maybe<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
469
473
  fetchOpportunitiesByIds?: Resolver<Array<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesByIdsArgs, 'opportunityIds'>>;
470
474
  fetchOpportunitiesForWallet?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesForWalletArgs, 'blockchain' | 'wallet'>>;
471
475
  fetchAirdropRegistrationsCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchAirdropRegistrationsCsvArgs, 'opportunityId'>>;
@@ -518,13 +522,13 @@ export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
518
522
  opportunityIds: Array<Scalars['ID']>;
519
523
  }>;
520
524
  export type IFetchOpportunitiesByIdsQuery = {
521
- 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'>>;
525
+ 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'>>;
522
526
  };
523
527
  export type IFetchOpportunitiesForProfileQueryVariables = Exact<{
524
528
  [key: string]: never;
525
529
  }>;
526
530
  export type IFetchOpportunitiesForProfileQuery = {
527
- 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'>>>;
531
+ 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'>>>;
528
532
  };
529
533
  export type IFetchBrandBySlugQueryVariables = Exact<{
530
534
  slug: Scalars['String'];
@@ -548,17 +552,17 @@ export type IFetchOpportunityQueryVariables = Exact<{
548
552
  opportunityId: Scalars['ID'];
549
553
  }>;
550
554
  export type IFetchOpportunityQuery = {
551
- 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'> & {
555
+ fetchOpportunity?: Maybe<(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'> & {
552
556
  brand: Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'>;
553
- });
557
+ })>;
554
558
  };
555
559
  export type IFetchProfileOpportunitiesQueryVariables = Exact<{
556
560
  [key: string]: never;
557
561
  }>;
558
562
  export type IFetchProfileOpportunitiesQuery = {
559
563
  fetchProfileOpportunities: {
560
- 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'>>>>;
561
- 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'>>>>;
564
+ 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'>>>>;
565
+ 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'>>>>;
562
566
  };
563
567
  };
564
568
  export declare const DislikeOpportunityDocument: Apollo.DocumentNode;
@@ -259,6 +259,8 @@ exports.FetchOpportunitiesByIdsDocument = (0, client_1.gql) `
259
259
  maxWalletValue
260
260
  shareLink
261
261
  liked
262
+ participantsLimit
263
+ availablePlacesForAirdrop
262
264
  }
263
265
  }
264
266
  `;
@@ -322,6 +324,8 @@ exports.FetchOpportunitiesForProfileDocument = (0, client_1.gql) `
322
324
  maxWalletValue
323
325
  shareLink
324
326
  liked
327
+ participantsLimit
328
+ availablePlacesForAirdrop
325
329
  }
326
330
  }
327
331
  `;
@@ -546,6 +550,8 @@ exports.FetchOpportunityDocument = (0, client_1.gql) `
546
550
  shareLink
547
551
  liked
548
552
  geolocations
553
+ participantsLimit
554
+ availablePlacesForAirdrop
549
555
  brand {
550
556
  brandId
551
557
  name
@@ -627,6 +633,8 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
627
633
  maxWalletValue
628
634
  shareLink
629
635
  liked
636
+ participantsLimit
637
+ availablePlacesForAirdrop
630
638
  }
631
639
  recentOpportunities {
632
640
  opportunityId
@@ -662,6 +670,8 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
662
670
  maxWalletValue
663
671
  shareLink
664
672
  liked
673
+ participantsLimit
674
+ availablePlacesForAirdrop
665
675
  }
666
676
  }
667
677
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "3.0.52",
3
+ "version": "3.0.54",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -168,6 +168,7 @@ export type IAdminOpportunity = {
168
168
  hidden?: Maybe<Scalars['Boolean']>;
169
169
  showcase?: Maybe<Scalars['Boolean']>;
170
170
  participantsLimit?: Maybe<Scalars['Int']>;
171
+ availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
171
172
  };
172
173
 
173
174
  export type IAdminOpportunityInput = {
@@ -1823,6 +1824,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
1823
1824
  hidden?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1824
1825
  showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1825
1826
  participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1827
+ availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1826
1828
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1827
1829
  };
1828
1830
 
@@ -2659,7 +2661,7 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
2659
2661
  }>;
2660
2662
 
2661
2663
 
2662
- export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participantsLimit'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
2664
+ export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participantsLimit' | 'availablePlacesForAirdrop'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
2663
2665
 
2664
2666
  export type IFetchAdminProjectsPageQueryVariables = Exact<{
2665
2667
  filter: IAdminProjectsFilterInput;
@@ -4558,6 +4560,7 @@ export const FetchAdminOpportunitiesPageDocument = gql`
4558
4560
  type
4559
4561
  devicePlatforms
4560
4562
  participantsLimit
4563
+ availablePlacesForAirdrop
4561
4564
  }
4562
4565
  nextPage {
4563
4566
  elements
@@ -210,7 +210,7 @@ export type IOpportunityV2 = {
210
210
  brandId: Scalars['String'];
211
211
  categoryId: Scalars['String'];
212
212
  opportunityStatus: Scalars['String'];
213
- opportunityType: Scalars['String'];
213
+ opportunityType: IOpportunityType;
214
214
  notificationType: Scalars['String'];
215
215
  name: Scalars['String'];
216
216
  description?: Maybe<Scalars['String']>;
@@ -243,6 +243,8 @@ export type IOpportunityV2 = {
243
243
  geolocations?: Maybe<Array<Scalars['String']>>;
244
244
  brand: IBrand;
245
245
  subscribed?: Maybe<Scalars['Boolean']>;
246
+ participantsLimit?: Maybe<Scalars['Int']>;
247
+ availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
246
248
  };
247
249
 
248
250
  export type IProfileOpportunities = {
@@ -261,7 +263,7 @@ export type IQuery = {
261
263
  fetchOpportunitiesV2?: Maybe<Array<Maybe<IOpportunityV2>>>;
262
264
  fetchOpportunitiesForProfile: Array<Maybe<IOpportunityV2>>;
263
265
  fetchProfileOpportunities: IProfileOpportunities;
264
- fetchOpportunity: IOpportunityV2;
266
+ fetchOpportunity?: Maybe<IOpportunityV2>;
265
267
  fetchOpportunitiesByIds: Array<IOpportunityV2>;
266
268
  fetchOpportunitiesForWallet?: Maybe<Array<Maybe<IOpportunityV2>>>;
267
269
  fetchAirdropRegistrationsCsv: Scalars['String'];
@@ -512,7 +514,7 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
512
514
  brandId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
513
515
  categoryId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
514
516
  opportunityStatus?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
515
- opportunityType?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
517
+ opportunityType?: Resolver<IResolversTypes['OpportunityType'], ParentType, ContextType>;
516
518
  notificationType?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
517
519
  name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
518
520
  description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -545,6 +547,8 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
545
547
  geolocations?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
546
548
  brand?: Resolver<IResolversTypes['Brand'], ParentType, ContextType>;
547
549
  subscribed?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
550
+ participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
551
+ availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
548
552
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
549
553
  };
550
554
 
@@ -565,7 +569,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
565
569
  fetchOpportunitiesV2?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
566
570
  fetchOpportunitiesForProfile?: Resolver<Array<Maybe<IResolversTypes['OpportunityV2']>>, ParentType, ContextType>;
567
571
  fetchProfileOpportunities?: Resolver<IResolversTypes['ProfileOpportunities'], ParentType, ContextType>;
568
- fetchOpportunity?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
572
+ fetchOpportunity?: Resolver<Maybe<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
569
573
  fetchOpportunitiesByIds?: Resolver<Array<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesByIdsArgs, 'opportunityIds'>>;
570
574
  fetchOpportunitiesForWallet?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesForWalletArgs, 'blockchain' | 'wallet'>>;
571
575
  fetchAirdropRegistrationsCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchAirdropRegistrationsCsvArgs, 'opportunityId'>>;
@@ -643,12 +647,12 @@ export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
643
647
  }>;
644
648
 
645
649
 
646
- export type IFetchOpportunitiesByIdsQuery = { 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'>> };
650
+ export type IFetchOpportunitiesByIdsQuery = { 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'>> };
647
651
 
648
652
  export type IFetchOpportunitiesForProfileQueryVariables = Exact<{ [key: string]: never; }>;
649
653
 
650
654
 
651
- export type IFetchOpportunitiesForProfileQuery = { 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'>>> };
655
+ export type IFetchOpportunitiesForProfileQuery = { 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'>>> };
652
656
 
653
657
  export type IFetchBrandBySlugQueryVariables = Exact<{
654
658
  slug: Scalars['String'];
@@ -672,15 +676,15 @@ export type IFetchOpportunityQueryVariables = Exact<{
672
676
  }>;
673
677
 
674
678
 
675
- export type IFetchOpportunityQuery = { fetchOpportunity: (
676
- 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'>
679
+ export type IFetchOpportunityQuery = { fetchOpportunity?: Maybe<(
680
+ 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'>
677
681
  & { brand: Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'> }
678
- ) };
682
+ )> };
679
683
 
680
684
  export type IFetchProfileOpportunitiesQueryVariables = Exact<{ [key: string]: never; }>;
681
685
 
682
686
 
683
- export type IFetchProfileOpportunitiesQuery = { fetchProfileOpportunities: { 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'>>>>, 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'>>>> } };
687
+ export type IFetchProfileOpportunitiesQuery = { fetchProfileOpportunities: { 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'>>>>, 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'>>>> } };
684
688
 
685
689
 
686
690
  export const DislikeOpportunityDocument = gql`
@@ -936,6 +940,8 @@ export const FetchOpportunitiesByIdsDocument = gql`
936
940
  maxWalletValue
937
941
  shareLink
938
942
  liked
943
+ participantsLimit
944
+ availablePlacesForAirdrop
939
945
  }
940
946
  }
941
947
  `;
@@ -1001,6 +1007,8 @@ export const FetchOpportunitiesForProfileDocument = gql`
1001
1007
  maxWalletValue
1002
1008
  shareLink
1003
1009
  liked
1010
+ participantsLimit
1011
+ availablePlacesForAirdrop
1004
1012
  }
1005
1013
  }
1006
1014
  `;
@@ -1231,6 +1239,8 @@ export const FetchOpportunityDocument = gql`
1231
1239
  shareLink
1232
1240
  liked
1233
1241
  geolocations
1242
+ participantsLimit
1243
+ availablePlacesForAirdrop
1234
1244
  brand {
1235
1245
  brandId
1236
1246
  name
@@ -1314,6 +1324,8 @@ export const FetchProfileOpportunitiesDocument = gql`
1314
1324
  maxWalletValue
1315
1325
  shareLink
1316
1326
  liked
1327
+ participantsLimit
1328
+ availablePlacesForAirdrop
1317
1329
  }
1318
1330
  recentOpportunities {
1319
1331
  opportunityId
@@ -1349,6 +1361,8 @@ export const FetchProfileOpportunitiesDocument = gql`
1349
1361
  maxWalletValue
1350
1362
  shareLink
1351
1363
  liked
1364
+ participantsLimit
1365
+ availablePlacesForAirdrop
1352
1366
  }
1353
1367
  }
1354
1368
  }