@ludo.ninja/api 2.4.2 → 2.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -276,6 +276,22 @@ export type IBannerAssetsPage = {
276
276
  nextPageToken?: Maybe<Scalars['String']>;
277
277
  };
278
278
 
279
+ export type IBrand = {
280
+ brandId: Scalars['ID'];
281
+ name: Scalars['String'];
282
+ matchingWords: Array<Maybe<Scalars['String']>>;
283
+ description?: Maybe<Scalars['String']>;
284
+ industry?: Maybe<Scalars['String']>;
285
+ link?: Maybe<Scalars['String']>;
286
+ media?: Maybe<Scalars['String']>;
287
+ };
288
+
289
+ export type ICategory = {
290
+ categoryId: Scalars['ID'];
291
+ name: Scalars['String'];
292
+ matchingWords: Array<Maybe<Scalars['String']>>;
293
+ };
294
+
279
295
  export type ICollection = {
280
296
  blockchain?: Maybe<Scalars['String']>;
281
297
  collectionAssets?: Maybe<Array<Maybe<ICollectionAsset>>>;
@@ -820,10 +836,12 @@ export type IMutation = {
820
836
  hideAsset: Scalars['Boolean'];
821
837
  hideAssets: Scalars['Boolean'];
822
838
  hideBannerAsset: Scalars['Boolean'];
839
+ hideOpportunityV2: Scalars['Boolean'];
823
840
  hideShowcaseAsset: Scalars['Boolean'];
824
841
  likeAsset: Scalars['Boolean'];
825
842
  likeCollection: Scalars['Boolean'];
826
843
  openOpportunity: Scalars['Boolean'];
844
+ openOpportunityV2: Scalars['Boolean'];
827
845
  refreshToken: ITokenPair;
828
846
  rejectAssetReport: Scalars['Boolean'];
829
847
  rejectAssetReports: Scalars['Boolean'];
@@ -876,6 +894,7 @@ export type IMutation = {
876
894
  uploadGalleryBanner: Scalars['String'];
877
895
  uploadUserpic: Scalars['String'];
878
896
  useInviteCode: Scalars['Boolean'];
897
+ visitPageV2?: Maybe<IOpportunityV2>;
879
898
  };
880
899
 
881
900
 
@@ -1126,6 +1145,11 @@ export type IMutationHideBannerAssetArgs = {
1126
1145
  };
1127
1146
 
1128
1147
 
1148
+ export type IMutationHideOpportunityV2Args = {
1149
+ opportunityId: Scalars['ID'];
1150
+ };
1151
+
1152
+
1129
1153
  export type IMutationHideShowcaseAssetArgs = {
1130
1154
  id: Scalars['String'];
1131
1155
  };
@@ -1146,6 +1170,11 @@ export type IMutationOpenOpportunityArgs = {
1146
1170
  };
1147
1171
 
1148
1172
 
1173
+ export type IMutationOpenOpportunityV2Args = {
1174
+ opportunityId: Scalars['ID'];
1175
+ };
1176
+
1177
+
1149
1178
  export type IMutationRefreshTokenArgs = {
1150
1179
  refreshToken: Scalars['String'];
1151
1180
  showNsfw?: Maybe<Scalars['Boolean']>;
@@ -1439,6 +1468,16 @@ export type IMutationUseInviteCodeArgs = {
1439
1468
  inviteCode: Scalars['String'];
1440
1469
  };
1441
1470
 
1471
+
1472
+ export type IMutationVisitPageV2Args = {
1473
+ domain: Scalars['String'];
1474
+ title: Scalars['String'];
1475
+ description?: Maybe<Scalars['String']>;
1476
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
1477
+ brandId?: Maybe<Scalars['String']>;
1478
+ category?: Maybe<Scalars['String']>;
1479
+ };
1480
+
1442
1481
  export type INftData = {
1443
1482
  blockchain: Scalars['String'];
1444
1483
  contractAddress?: Maybe<Scalars['String']>;
@@ -1514,6 +1553,29 @@ export type IOpportunityPage = {
1514
1553
  similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
1515
1554
  };
1516
1555
 
1556
+ export type IOpportunityV2 = {
1557
+ opportunityId?: Maybe<Scalars['ID']>;
1558
+ brandId?: Maybe<Scalars['String']>;
1559
+ categoryId?: Maybe<Scalars['String']>;
1560
+ opportunityStatus?: Maybe<Scalars['String']>;
1561
+ opportunityType?: Maybe<Scalars['String']>;
1562
+ notificationType?: Maybe<Scalars['String']>;
1563
+ name?: Maybe<Scalars['String']>;
1564
+ brandName?: Maybe<Scalars['String']>;
1565
+ brandDescription?: Maybe<Scalars['String']>;
1566
+ brandMedia?: Maybe<Scalars['String']>;
1567
+ brandUrl?: Maybe<Scalars['String']>;
1568
+ brandIndustry?: Maybe<Scalars['String']>;
1569
+ categoryName?: Maybe<Scalars['String']>;
1570
+ ludoUrl?: Maybe<Scalars['String']>;
1571
+ projectUrl?: Maybe<Scalars['String']>;
1572
+ activeFrom?: Maybe<Scalars['Long']>;
1573
+ activeUntil?: Maybe<Scalars['Long']>;
1574
+ media?: Maybe<Scalars['String']>;
1575
+ reportLink?: Maybe<Scalars['String']>;
1576
+ shareLink?: Maybe<Scalars['String']>;
1577
+ };
1578
+
1517
1579
  export type IPage = {
1518
1580
  token?: Maybe<Scalars['String']>;
1519
1581
  num?: Maybe<Scalars['Int']>;
@@ -1590,6 +1652,9 @@ export type IQuery = {
1590
1652
  fetchDynamicCollectionData: IDynamicCollectionData;
1591
1653
  fetchDynamicCollectionsData: Array<IDynamicCollectionData>;
1592
1654
  fetchExpectations: Array<Maybe<IExpectation>>;
1655
+ fetchExtensionBrands: Array<Maybe<IBrand>>;
1656
+ fetchExtensionCategories: Array<Maybe<ICategory>>;
1657
+ fetchExtensionOpportunities: Array<Maybe<IOpportunityV2>>;
1593
1658
  fetchFavorites: IGalleriesPage;
1594
1659
  fetchFavoritesV2: IGalleriesPageV2;
1595
1660
  fetchFollowers: Array<Maybe<IFollower>>;
@@ -1852,6 +1917,13 @@ export type IQueryFetchDynamicCollectionsDataArgs = {
1852
1917
  };
1853
1918
 
1854
1919
 
1920
+ export type IQueryFetchExtensionOpportunitiesArgs = {
1921
+ userId?: Maybe<Scalars['String']>;
1922
+ brandId?: Maybe<Scalars['String']>;
1923
+ category?: Maybe<Scalars['String']>;
1924
+ };
1925
+
1926
+
1855
1927
  export type IQueryFetchFavoritesArgs = {
1856
1928
  pageSize: Scalars['Int'];
1857
1929
  pageToken?: Maybe<Scalars['String']>;
@@ -2795,6 +2867,32 @@ export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
2795
2867
 
2796
2868
  export type IOnMyExperienceUpdatedSubscription = { onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> };
2797
2869
 
2870
+ export type IHideOpportunityV2MutationVariables = Exact<{
2871
+ opportunityId: Scalars['ID'];
2872
+ }>;
2873
+
2874
+
2875
+ export type IHideOpportunityV2Mutation = Pick<IMutation, 'hideOpportunityV2'>;
2876
+
2877
+ export type IOpenOpportunityV2MutationVariables = Exact<{
2878
+ opportunityId: Scalars['ID'];
2879
+ }>;
2880
+
2881
+
2882
+ export type IOpenOpportunityV2Mutation = Pick<IMutation, 'openOpportunityV2'>;
2883
+
2884
+ export type IVisitPageV2MutationVariables = Exact<{
2885
+ domain: Scalars['String'];
2886
+ title: Scalars['String'];
2887
+ description?: Maybe<Scalars['String']>;
2888
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
2889
+ brandId?: Maybe<Scalars['String']>;
2890
+ category?: Maybe<Scalars['String']>;
2891
+ }>;
2892
+
2893
+
2894
+ export type IVisitPageV2Mutation = { visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>> };
2895
+
2798
2896
  export type IFetchCollectionRanksQueryVariables = Exact<{
2799
2897
  collectionKeys: Array<ICollectionKey>;
2800
2898
  }>;
@@ -2802,6 +2900,25 @@ export type IFetchCollectionRanksQueryVariables = Exact<{
2802
2900
 
2803
2901
  export type IFetchCollectionRanksQuery = { fetchCollectionRanks: Array<Pick<ICollectionRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'collectionTitle' | 'rank'>> };
2804
2902
 
2903
+ export type IFetchExtensionBrandsQueryVariables = Exact<{ [key: string]: never; }>;
2904
+
2905
+
2906
+ export type IFetchExtensionBrandsQuery = { fetchExtensionBrands: Array<Maybe<Pick<IBrand, 'brandId' | 'name' | 'matchingWords' | 'description' | 'industry' | 'link' | 'media'>>> };
2907
+
2908
+ export type IFetchExtensionCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
2909
+
2910
+
2911
+ export type IFetchExtensionCategoriesQuery = { fetchExtensionCategories: Array<Maybe<Pick<ICategory, 'categoryId' | 'name' | 'matchingWords'>>> };
2912
+
2913
+ export type IFetchExtensionOpportunitiesQueryVariables = Exact<{
2914
+ userId?: Maybe<Scalars['String']>;
2915
+ brandId?: Maybe<Scalars['String']>;
2916
+ category?: Maybe<Scalars['String']>;
2917
+ }>;
2918
+
2919
+
2920
+ export type IFetchExtensionOpportunitiesQuery = { fetchExtensionOpportunities: Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>> };
2921
+
2805
2922
  export type IFetchNftDataQueryVariables = Exact<{
2806
2923
  blockchain: Scalars['String'];
2807
2924
  contractAddress?: Maybe<Scalars['String']>;
@@ -4651,6 +4768,129 @@ export function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo.Subscri
4651
4768
  }
4652
4769
  export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
4653
4770
  export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
4771
+ export const HideOpportunityV2Document = gql`
4772
+ mutation HideOpportunityV2($opportunityId: ID!) {
4773
+ hideOpportunityV2(opportunityId: $opportunityId)
4774
+ }
4775
+ `;
4776
+ export type IHideOpportunityV2MutationFn = Apollo.MutationFunction<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
4777
+
4778
+ /**
4779
+ * __useHideOpportunityV2Mutation__
4780
+ *
4781
+ * To run a mutation, you first call `useHideOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
4782
+ * When your component renders, `useHideOpportunityV2Mutation` returns a tuple that includes:
4783
+ * - A mutate function that you can call at any time to execute the mutation
4784
+ * - An object with fields that represent the current status of the mutation's execution
4785
+ *
4786
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
4787
+ *
4788
+ * @example
4789
+ * const [hideOpportunityV2Mutation, { data, loading, error }] = useHideOpportunityV2Mutation({
4790
+ * variables: {
4791
+ * opportunityId: // value for 'opportunityId'
4792
+ * },
4793
+ * });
4794
+ */
4795
+ export function useHideOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>) {
4796
+ return Apollo.useMutation<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>(HideOpportunityV2Document, baseOptions);
4797
+ }
4798
+ export type HideOpportunityV2MutationHookResult = ReturnType<typeof useHideOpportunityV2Mutation>;
4799
+ export type HideOpportunityV2MutationResult = Apollo.MutationResult<IHideOpportunityV2Mutation>;
4800
+ export type HideOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
4801
+ export const OpenOpportunityV2Document = gql`
4802
+ mutation OpenOpportunityV2($opportunityId: ID!) {
4803
+ openOpportunityV2(opportunityId: $opportunityId)
4804
+ }
4805
+ `;
4806
+ export type IOpenOpportunityV2MutationFn = Apollo.MutationFunction<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
4807
+
4808
+ /**
4809
+ * __useOpenOpportunityV2Mutation__
4810
+ *
4811
+ * To run a mutation, you first call `useOpenOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
4812
+ * When your component renders, `useOpenOpportunityV2Mutation` returns a tuple that includes:
4813
+ * - A mutate function that you can call at any time to execute the mutation
4814
+ * - An object with fields that represent the current status of the mutation's execution
4815
+ *
4816
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
4817
+ *
4818
+ * @example
4819
+ * const [openOpportunityV2Mutation, { data, loading, error }] = useOpenOpportunityV2Mutation({
4820
+ * variables: {
4821
+ * opportunityId: // value for 'opportunityId'
4822
+ * },
4823
+ * });
4824
+ */
4825
+ export function useOpenOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>) {
4826
+ return Apollo.useMutation<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>(OpenOpportunityV2Document, baseOptions);
4827
+ }
4828
+ export type OpenOpportunityV2MutationHookResult = ReturnType<typeof useOpenOpportunityV2Mutation>;
4829
+ export type OpenOpportunityV2MutationResult = Apollo.MutationResult<IOpenOpportunityV2Mutation>;
4830
+ export type OpenOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
4831
+ export const VisitPageV2Document = gql`
4832
+ mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $category: String) {
4833
+ visitPageV2(
4834
+ domain: $domain
4835
+ title: $title
4836
+ description: $description
4837
+ tags: $tags
4838
+ brandId: $brandId
4839
+ category: $category
4840
+ ) {
4841
+ opportunityId
4842
+ brandId
4843
+ categoryId
4844
+ opportunityStatus
4845
+ opportunityType
4846
+ notificationType
4847
+ name
4848
+ brandName
4849
+ brandDescription
4850
+ brandMedia
4851
+ brandUrl
4852
+ brandIndustry
4853
+ categoryName
4854
+ ludoUrl
4855
+ projectUrl
4856
+ activeFrom
4857
+ activeUntil
4858
+ media
4859
+ reportLink
4860
+ shareLink
4861
+ }
4862
+ }
4863
+ `;
4864
+ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
4865
+
4866
+ /**
4867
+ * __useVisitPageV2Mutation__
4868
+ *
4869
+ * To run a mutation, you first call `useVisitPageV2Mutation` within a React component and pass it any options that fit your needs.
4870
+ * When your component renders, `useVisitPageV2Mutation` returns a tuple that includes:
4871
+ * - A mutate function that you can call at any time to execute the mutation
4872
+ * - An object with fields that represent the current status of the mutation's execution
4873
+ *
4874
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
4875
+ *
4876
+ * @example
4877
+ * const [visitPageV2Mutation, { data, loading, error }] = useVisitPageV2Mutation({
4878
+ * variables: {
4879
+ * domain: // value for 'domain'
4880
+ * title: // value for 'title'
4881
+ * description: // value for 'description'
4882
+ * tags: // value for 'tags'
4883
+ * brandId: // value for 'brandId'
4884
+ * category: // value for 'category'
4885
+ * },
4886
+ * });
4887
+ */
4888
+ export function useVisitPageV2Mutation(baseOptions?: Apollo.MutationHookOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>) {
4889
+ return Apollo.useMutation<IVisitPageV2Mutation, IVisitPageV2MutationVariables>(VisitPageV2Document, baseOptions);
4890
+ }
4891
+ export type VisitPageV2MutationHookResult = ReturnType<typeof useVisitPageV2Mutation>;
4892
+ export type VisitPageV2MutationResult = Apollo.MutationResult<IVisitPageV2Mutation>;
4893
+ export type VisitPageV2MutationOptions = Apollo.BaseMutationOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
4654
4894
  export const FetchCollectionRanksDocument = gql`
4655
4895
  query FetchCollectionRanks($collectionKeys: [CollectionKey!]!) {
4656
4896
  fetchCollectionRanks(collectionKeys: $collectionKeys) {
@@ -4689,6 +4929,136 @@ export function useFetchCollectionRanksLazyQuery(baseOptions?: Apollo.LazyQueryH
4689
4929
  export type FetchCollectionRanksQueryHookResult = ReturnType<typeof useFetchCollectionRanksQuery>;
4690
4930
  export type FetchCollectionRanksLazyQueryHookResult = ReturnType<typeof useFetchCollectionRanksLazyQuery>;
4691
4931
  export type FetchCollectionRanksQueryResult = Apollo.QueryResult<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>;
4932
+ export const FetchExtensionBrandsDocument = gql`
4933
+ query FetchExtensionBrands {
4934
+ fetchExtensionBrands {
4935
+ brandId
4936
+ name
4937
+ matchingWords
4938
+ description
4939
+ industry
4940
+ link
4941
+ media
4942
+ }
4943
+ }
4944
+ `;
4945
+
4946
+ /**
4947
+ * __useFetchExtensionBrandsQuery__
4948
+ *
4949
+ * To run a query within a React component, call `useFetchExtensionBrandsQuery` and pass it any options that fit your needs.
4950
+ * When your component renders, `useFetchExtensionBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4951
+ * you can use to render your UI.
4952
+ *
4953
+ * @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;
4954
+ *
4955
+ * @example
4956
+ * const { data, loading, error } = useFetchExtensionBrandsQuery({
4957
+ * variables: {
4958
+ * },
4959
+ * });
4960
+ */
4961
+ export function useFetchExtensionBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>) {
4962
+ return Apollo.useQuery<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>(FetchExtensionBrandsDocument, baseOptions);
4963
+ }
4964
+ export function useFetchExtensionBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>) {
4965
+ return Apollo.useLazyQuery<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>(FetchExtensionBrandsDocument, baseOptions);
4966
+ }
4967
+ export type FetchExtensionBrandsQueryHookResult = ReturnType<typeof useFetchExtensionBrandsQuery>;
4968
+ export type FetchExtensionBrandsLazyQueryHookResult = ReturnType<typeof useFetchExtensionBrandsLazyQuery>;
4969
+ export type FetchExtensionBrandsQueryResult = Apollo.QueryResult<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>;
4970
+ export const FetchExtensionCategoriesDocument = gql`
4971
+ query FetchExtensionCategories {
4972
+ fetchExtensionCategories {
4973
+ categoryId
4974
+ name
4975
+ matchingWords
4976
+ }
4977
+ }
4978
+ `;
4979
+
4980
+ /**
4981
+ * __useFetchExtensionCategoriesQuery__
4982
+ *
4983
+ * To run a query within a React component, call `useFetchExtensionCategoriesQuery` and pass it any options that fit your needs.
4984
+ * When your component renders, `useFetchExtensionCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
4985
+ * you can use to render your UI.
4986
+ *
4987
+ * @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;
4988
+ *
4989
+ * @example
4990
+ * const { data, loading, error } = useFetchExtensionCategoriesQuery({
4991
+ * variables: {
4992
+ * },
4993
+ * });
4994
+ */
4995
+ export function useFetchExtensionCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>) {
4996
+ return Apollo.useQuery<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>(FetchExtensionCategoriesDocument, baseOptions);
4997
+ }
4998
+ export function useFetchExtensionCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>) {
4999
+ return Apollo.useLazyQuery<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>(FetchExtensionCategoriesDocument, baseOptions);
5000
+ }
5001
+ export type FetchExtensionCategoriesQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesQuery>;
5002
+ export type FetchExtensionCategoriesLazyQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesLazyQuery>;
5003
+ export type FetchExtensionCategoriesQueryResult = Apollo.QueryResult<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>;
5004
+ export const FetchExtensionOpportunitiesDocument = gql`
5005
+ query FetchExtensionOpportunities($userId: String, $brandId: String, $category: String) {
5006
+ fetchExtensionOpportunities(
5007
+ userId: $userId
5008
+ brandId: $brandId
5009
+ category: $category
5010
+ ) {
5011
+ opportunityId
5012
+ brandId
5013
+ categoryId
5014
+ opportunityStatus
5015
+ opportunityType
5016
+ notificationType
5017
+ name
5018
+ brandName
5019
+ brandDescription
5020
+ brandMedia
5021
+ brandUrl
5022
+ brandIndustry
5023
+ categoryName
5024
+ ludoUrl
5025
+ projectUrl
5026
+ activeFrom
5027
+ activeUntil
5028
+ media
5029
+ reportLink
5030
+ shareLink
5031
+ }
5032
+ }
5033
+ `;
5034
+
5035
+ /**
5036
+ * __useFetchExtensionOpportunitiesQuery__
5037
+ *
5038
+ * To run a query within a React component, call `useFetchExtensionOpportunitiesQuery` and pass it any options that fit your needs.
5039
+ * When your component renders, `useFetchExtensionOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5040
+ * you can use to render your UI.
5041
+ *
5042
+ * @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;
5043
+ *
5044
+ * @example
5045
+ * const { data, loading, error } = useFetchExtensionOpportunitiesQuery({
5046
+ * variables: {
5047
+ * userId: // value for 'userId'
5048
+ * brandId: // value for 'brandId'
5049
+ * category: // value for 'category'
5050
+ * },
5051
+ * });
5052
+ */
5053
+ export function useFetchExtensionOpportunitiesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>) {
5054
+ return Apollo.useQuery<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>(FetchExtensionOpportunitiesDocument, baseOptions);
5055
+ }
5056
+ export function useFetchExtensionOpportunitiesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>) {
5057
+ return Apollo.useLazyQuery<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>(FetchExtensionOpportunitiesDocument, baseOptions);
5058
+ }
5059
+ export type FetchExtensionOpportunitiesQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesQuery>;
5060
+ export type FetchExtensionOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesLazyQuery>;
5061
+ export type FetchExtensionOpportunitiesQueryResult = Apollo.QueryResult<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>;
4692
5062
  export const FetchNftDataDocument = gql`
4693
5063
  query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
4694
5064
  fetchNFTData(