@ludo.ninja/api 2.4.2 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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']>;
@@ -2603,6 +2675,29 @@ export type IXpSortInput = {
2603
2675
  sortBySuggestedOpportunities: ISort;
2604
2676
  };
2605
2677
 
2678
+ export type IChangeXpPointsMutationVariables = Exact<{
2679
+ userId: Scalars['ID'];
2680
+ pointsDiff: Scalars['Int'];
2681
+ }>;
2682
+
2683
+
2684
+ export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
2685
+
2686
+ export type IAddInviteCodesMutationVariables = Exact<{
2687
+ userId: Scalars['String'];
2688
+ codesNum: Scalars['Int'];
2689
+ }>;
2690
+
2691
+
2692
+ export type IAddInviteCodesMutation = Pick<IMutation, 'addInviteCodes'>;
2693
+
2694
+ export type IRemoveInviteCodeMutationVariables = Exact<{
2695
+ inviteCode: Scalars['String'];
2696
+ }>;
2697
+
2698
+
2699
+ export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
2700
+
2606
2701
  export type IFetchAdminXpPageQueryVariables = Exact<{
2607
2702
  filter: IXpFilterInput;
2608
2703
  sort: IXpSortInput;
@@ -2795,6 +2890,32 @@ export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
2795
2890
 
2796
2891
  export type IOnMyExperienceUpdatedSubscription = { onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> };
2797
2892
 
2893
+ export type IHideOpportunityV2MutationVariables = Exact<{
2894
+ opportunityId: Scalars['ID'];
2895
+ }>;
2896
+
2897
+
2898
+ export type IHideOpportunityV2Mutation = Pick<IMutation, 'hideOpportunityV2'>;
2899
+
2900
+ export type IOpenOpportunityV2MutationVariables = Exact<{
2901
+ opportunityId: Scalars['ID'];
2902
+ }>;
2903
+
2904
+
2905
+ export type IOpenOpportunityV2Mutation = Pick<IMutation, 'openOpportunityV2'>;
2906
+
2907
+ export type IVisitPageV2MutationVariables = Exact<{
2908
+ domain: Scalars['String'];
2909
+ title: Scalars['String'];
2910
+ description?: Maybe<Scalars['String']>;
2911
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
2912
+ brandId?: Maybe<Scalars['String']>;
2913
+ category?: Maybe<Scalars['String']>;
2914
+ }>;
2915
+
2916
+
2917
+ 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'>> };
2918
+
2798
2919
  export type IFetchCollectionRanksQueryVariables = Exact<{
2799
2920
  collectionKeys: Array<ICollectionKey>;
2800
2921
  }>;
@@ -2802,6 +2923,25 @@ export type IFetchCollectionRanksQueryVariables = Exact<{
2802
2923
 
2803
2924
  export type IFetchCollectionRanksQuery = { fetchCollectionRanks: Array<Pick<ICollectionRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'collectionTitle' | 'rank'>> };
2804
2925
 
2926
+ export type IFetchExtensionBrandsQueryVariables = Exact<{ [key: string]: never; }>;
2927
+
2928
+
2929
+ export type IFetchExtensionBrandsQuery = { fetchExtensionBrands: Array<Maybe<Pick<IBrand, 'brandId' | 'name' | 'matchingWords' | 'description' | 'industry' | 'link' | 'media'>>> };
2930
+
2931
+ export type IFetchExtensionCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
2932
+
2933
+
2934
+ export type IFetchExtensionCategoriesQuery = { fetchExtensionCategories: Array<Maybe<Pick<ICategory, 'categoryId' | 'name' | 'matchingWords'>>> };
2935
+
2936
+ export type IFetchExtensionOpportunitiesQueryVariables = Exact<{
2937
+ userId?: Maybe<Scalars['String']>;
2938
+ brandId?: Maybe<Scalars['String']>;
2939
+ category?: Maybe<Scalars['String']>;
2940
+ }>;
2941
+
2942
+
2943
+ 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'>>> };
2944
+
2805
2945
  export type IFetchNftDataQueryVariables = Exact<{
2806
2946
  blockchain: Scalars['String'];
2807
2947
  contractAddress?: Maybe<Scalars['String']>;
@@ -3535,6 +3675,98 @@ export type IFindUserShowcaseItemsQuery = { findUserShowcaseItems: (
3535
3675
  ) };
3536
3676
 
3537
3677
 
3678
+ export const ChangeXpPointsDocument = gql`
3679
+ mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
3680
+ changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
3681
+ }
3682
+ `;
3683
+ export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
3684
+
3685
+ /**
3686
+ * __useChangeXpPointsMutation__
3687
+ *
3688
+ * To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
3689
+ * When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
3690
+ * - A mutate function that you can call at any time to execute the mutation
3691
+ * - An object with fields that represent the current status of the mutation's execution
3692
+ *
3693
+ * @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;
3694
+ *
3695
+ * @example
3696
+ * const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
3697
+ * variables: {
3698
+ * userId: // value for 'userId'
3699
+ * pointsDiff: // value for 'pointsDiff'
3700
+ * },
3701
+ * });
3702
+ */
3703
+ export function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>) {
3704
+ return Apollo.useMutation<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>(ChangeXpPointsDocument, baseOptions);
3705
+ }
3706
+ export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
3707
+ export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
3708
+ export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
3709
+ export const AddInviteCodesDocument = gql`
3710
+ mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
3711
+ addInviteCodes(userId: $userId, codesNum: $codesNum)
3712
+ }
3713
+ `;
3714
+ export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
3715
+
3716
+ /**
3717
+ * __useAddInviteCodesMutation__
3718
+ *
3719
+ * To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
3720
+ * When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
3721
+ * - A mutate function that you can call at any time to execute the mutation
3722
+ * - An object with fields that represent the current status of the mutation's execution
3723
+ *
3724
+ * @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;
3725
+ *
3726
+ * @example
3727
+ * const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
3728
+ * variables: {
3729
+ * userId: // value for 'userId'
3730
+ * codesNum: // value for 'codesNum'
3731
+ * },
3732
+ * });
3733
+ */
3734
+ export function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>) {
3735
+ return Apollo.useMutation<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>(AddInviteCodesDocument, baseOptions);
3736
+ }
3737
+ export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
3738
+ export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
3739
+ export type AddInviteCodesMutationOptions = Apollo.BaseMutationOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
3740
+ export const RemoveInviteCodeDocument = gql`
3741
+ mutation RemoveInviteCode($inviteCode: String!) {
3742
+ removeInviteCode(inviteCode: $inviteCode)
3743
+ }
3744
+ `;
3745
+ export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
3746
+
3747
+ /**
3748
+ * __useRemoveInviteCodeMutation__
3749
+ *
3750
+ * To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
3751
+ * When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
3752
+ * - A mutate function that you can call at any time to execute the mutation
3753
+ * - An object with fields that represent the current status of the mutation's execution
3754
+ *
3755
+ * @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;
3756
+ *
3757
+ * @example
3758
+ * const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
3759
+ * variables: {
3760
+ * inviteCode: // value for 'inviteCode'
3761
+ * },
3762
+ * });
3763
+ */
3764
+ export function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>) {
3765
+ return Apollo.useMutation<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>(RemoveInviteCodeDocument, baseOptions);
3766
+ }
3767
+ export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
3768
+ export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
3769
+ export type RemoveInviteCodeMutationOptions = Apollo.BaseMutationOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
3538
3770
  export const FetchAdminXpPageDocument = gql`
3539
3771
  query FetchAdminXpPage($filter: XpFilterInput!, $sort: XpSortInput!, $page: AdminPageInput!) {
3540
3772
  fetchAdminXpPage(filter: $filter, sort: $sort, page: $page) {
@@ -4651,6 +4883,129 @@ export function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo.Subscri
4651
4883
  }
4652
4884
  export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
4653
4885
  export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
4886
+ export const HideOpportunityV2Document = gql`
4887
+ mutation HideOpportunityV2($opportunityId: ID!) {
4888
+ hideOpportunityV2(opportunityId: $opportunityId)
4889
+ }
4890
+ `;
4891
+ export type IHideOpportunityV2MutationFn = Apollo.MutationFunction<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
4892
+
4893
+ /**
4894
+ * __useHideOpportunityV2Mutation__
4895
+ *
4896
+ * To run a mutation, you first call `useHideOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
4897
+ * When your component renders, `useHideOpportunityV2Mutation` returns a tuple that includes:
4898
+ * - A mutate function that you can call at any time to execute the mutation
4899
+ * - An object with fields that represent the current status of the mutation's execution
4900
+ *
4901
+ * @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;
4902
+ *
4903
+ * @example
4904
+ * const [hideOpportunityV2Mutation, { data, loading, error }] = useHideOpportunityV2Mutation({
4905
+ * variables: {
4906
+ * opportunityId: // value for 'opportunityId'
4907
+ * },
4908
+ * });
4909
+ */
4910
+ export function useHideOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>) {
4911
+ return Apollo.useMutation<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>(HideOpportunityV2Document, baseOptions);
4912
+ }
4913
+ export type HideOpportunityV2MutationHookResult = ReturnType<typeof useHideOpportunityV2Mutation>;
4914
+ export type HideOpportunityV2MutationResult = Apollo.MutationResult<IHideOpportunityV2Mutation>;
4915
+ export type HideOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
4916
+ export const OpenOpportunityV2Document = gql`
4917
+ mutation OpenOpportunityV2($opportunityId: ID!) {
4918
+ openOpportunityV2(opportunityId: $opportunityId)
4919
+ }
4920
+ `;
4921
+ export type IOpenOpportunityV2MutationFn = Apollo.MutationFunction<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
4922
+
4923
+ /**
4924
+ * __useOpenOpportunityV2Mutation__
4925
+ *
4926
+ * To run a mutation, you first call `useOpenOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
4927
+ * When your component renders, `useOpenOpportunityV2Mutation` returns a tuple that includes:
4928
+ * - A mutate function that you can call at any time to execute the mutation
4929
+ * - An object with fields that represent the current status of the mutation's execution
4930
+ *
4931
+ * @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;
4932
+ *
4933
+ * @example
4934
+ * const [openOpportunityV2Mutation, { data, loading, error }] = useOpenOpportunityV2Mutation({
4935
+ * variables: {
4936
+ * opportunityId: // value for 'opportunityId'
4937
+ * },
4938
+ * });
4939
+ */
4940
+ export function useOpenOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>) {
4941
+ return Apollo.useMutation<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>(OpenOpportunityV2Document, baseOptions);
4942
+ }
4943
+ export type OpenOpportunityV2MutationHookResult = ReturnType<typeof useOpenOpportunityV2Mutation>;
4944
+ export type OpenOpportunityV2MutationResult = Apollo.MutationResult<IOpenOpportunityV2Mutation>;
4945
+ export type OpenOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
4946
+ export const VisitPageV2Document = gql`
4947
+ mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $category: String) {
4948
+ visitPageV2(
4949
+ domain: $domain
4950
+ title: $title
4951
+ description: $description
4952
+ tags: $tags
4953
+ brandId: $brandId
4954
+ category: $category
4955
+ ) {
4956
+ opportunityId
4957
+ brandId
4958
+ categoryId
4959
+ opportunityStatus
4960
+ opportunityType
4961
+ notificationType
4962
+ name
4963
+ brandName
4964
+ brandDescription
4965
+ brandMedia
4966
+ brandUrl
4967
+ brandIndustry
4968
+ categoryName
4969
+ ludoUrl
4970
+ projectUrl
4971
+ activeFrom
4972
+ activeUntil
4973
+ media
4974
+ reportLink
4975
+ shareLink
4976
+ }
4977
+ }
4978
+ `;
4979
+ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
4980
+
4981
+ /**
4982
+ * __useVisitPageV2Mutation__
4983
+ *
4984
+ * To run a mutation, you first call `useVisitPageV2Mutation` within a React component and pass it any options that fit your needs.
4985
+ * When your component renders, `useVisitPageV2Mutation` returns a tuple that includes:
4986
+ * - A mutate function that you can call at any time to execute the mutation
4987
+ * - An object with fields that represent the current status of the mutation's execution
4988
+ *
4989
+ * @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;
4990
+ *
4991
+ * @example
4992
+ * const [visitPageV2Mutation, { data, loading, error }] = useVisitPageV2Mutation({
4993
+ * variables: {
4994
+ * domain: // value for 'domain'
4995
+ * title: // value for 'title'
4996
+ * description: // value for 'description'
4997
+ * tags: // value for 'tags'
4998
+ * brandId: // value for 'brandId'
4999
+ * category: // value for 'category'
5000
+ * },
5001
+ * });
5002
+ */
5003
+ export function useVisitPageV2Mutation(baseOptions?: Apollo.MutationHookOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>) {
5004
+ return Apollo.useMutation<IVisitPageV2Mutation, IVisitPageV2MutationVariables>(VisitPageV2Document, baseOptions);
5005
+ }
5006
+ export type VisitPageV2MutationHookResult = ReturnType<typeof useVisitPageV2Mutation>;
5007
+ export type VisitPageV2MutationResult = Apollo.MutationResult<IVisitPageV2Mutation>;
5008
+ export type VisitPageV2MutationOptions = Apollo.BaseMutationOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
4654
5009
  export const FetchCollectionRanksDocument = gql`
4655
5010
  query FetchCollectionRanks($collectionKeys: [CollectionKey!]!) {
4656
5011
  fetchCollectionRanks(collectionKeys: $collectionKeys) {
@@ -4689,6 +5044,136 @@ export function useFetchCollectionRanksLazyQuery(baseOptions?: Apollo.LazyQueryH
4689
5044
  export type FetchCollectionRanksQueryHookResult = ReturnType<typeof useFetchCollectionRanksQuery>;
4690
5045
  export type FetchCollectionRanksLazyQueryHookResult = ReturnType<typeof useFetchCollectionRanksLazyQuery>;
4691
5046
  export type FetchCollectionRanksQueryResult = Apollo.QueryResult<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>;
5047
+ export const FetchExtensionBrandsDocument = gql`
5048
+ query FetchExtensionBrands {
5049
+ fetchExtensionBrands {
5050
+ brandId
5051
+ name
5052
+ matchingWords
5053
+ description
5054
+ industry
5055
+ link
5056
+ media
5057
+ }
5058
+ }
5059
+ `;
5060
+
5061
+ /**
5062
+ * __useFetchExtensionBrandsQuery__
5063
+ *
5064
+ * To run a query within a React component, call `useFetchExtensionBrandsQuery` and pass it any options that fit your needs.
5065
+ * When your component renders, `useFetchExtensionBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5066
+ * you can use to render your UI.
5067
+ *
5068
+ * @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;
5069
+ *
5070
+ * @example
5071
+ * const { data, loading, error } = useFetchExtensionBrandsQuery({
5072
+ * variables: {
5073
+ * },
5074
+ * });
5075
+ */
5076
+ export function useFetchExtensionBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>) {
5077
+ return Apollo.useQuery<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>(FetchExtensionBrandsDocument, baseOptions);
5078
+ }
5079
+ export function useFetchExtensionBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>) {
5080
+ return Apollo.useLazyQuery<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>(FetchExtensionBrandsDocument, baseOptions);
5081
+ }
5082
+ export type FetchExtensionBrandsQueryHookResult = ReturnType<typeof useFetchExtensionBrandsQuery>;
5083
+ export type FetchExtensionBrandsLazyQueryHookResult = ReturnType<typeof useFetchExtensionBrandsLazyQuery>;
5084
+ export type FetchExtensionBrandsQueryResult = Apollo.QueryResult<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>;
5085
+ export const FetchExtensionCategoriesDocument = gql`
5086
+ query FetchExtensionCategories {
5087
+ fetchExtensionCategories {
5088
+ categoryId
5089
+ name
5090
+ matchingWords
5091
+ }
5092
+ }
5093
+ `;
5094
+
5095
+ /**
5096
+ * __useFetchExtensionCategoriesQuery__
5097
+ *
5098
+ * To run a query within a React component, call `useFetchExtensionCategoriesQuery` and pass it any options that fit your needs.
5099
+ * When your component renders, `useFetchExtensionCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5100
+ * you can use to render your UI.
5101
+ *
5102
+ * @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;
5103
+ *
5104
+ * @example
5105
+ * const { data, loading, error } = useFetchExtensionCategoriesQuery({
5106
+ * variables: {
5107
+ * },
5108
+ * });
5109
+ */
5110
+ export function useFetchExtensionCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>) {
5111
+ return Apollo.useQuery<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>(FetchExtensionCategoriesDocument, baseOptions);
5112
+ }
5113
+ export function useFetchExtensionCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>) {
5114
+ return Apollo.useLazyQuery<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>(FetchExtensionCategoriesDocument, baseOptions);
5115
+ }
5116
+ export type FetchExtensionCategoriesQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesQuery>;
5117
+ export type FetchExtensionCategoriesLazyQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesLazyQuery>;
5118
+ export type FetchExtensionCategoriesQueryResult = Apollo.QueryResult<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>;
5119
+ export const FetchExtensionOpportunitiesDocument = gql`
5120
+ query FetchExtensionOpportunities($userId: String, $brandId: String, $category: String) {
5121
+ fetchExtensionOpportunities(
5122
+ userId: $userId
5123
+ brandId: $brandId
5124
+ category: $category
5125
+ ) {
5126
+ opportunityId
5127
+ brandId
5128
+ categoryId
5129
+ opportunityStatus
5130
+ opportunityType
5131
+ notificationType
5132
+ name
5133
+ brandName
5134
+ brandDescription
5135
+ brandMedia
5136
+ brandUrl
5137
+ brandIndustry
5138
+ categoryName
5139
+ ludoUrl
5140
+ projectUrl
5141
+ activeFrom
5142
+ activeUntil
5143
+ media
5144
+ reportLink
5145
+ shareLink
5146
+ }
5147
+ }
5148
+ `;
5149
+
5150
+ /**
5151
+ * __useFetchExtensionOpportunitiesQuery__
5152
+ *
5153
+ * To run a query within a React component, call `useFetchExtensionOpportunitiesQuery` and pass it any options that fit your needs.
5154
+ * When your component renders, `useFetchExtensionOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5155
+ * you can use to render your UI.
5156
+ *
5157
+ * @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;
5158
+ *
5159
+ * @example
5160
+ * const { data, loading, error } = useFetchExtensionOpportunitiesQuery({
5161
+ * variables: {
5162
+ * userId: // value for 'userId'
5163
+ * brandId: // value for 'brandId'
5164
+ * category: // value for 'category'
5165
+ * },
5166
+ * });
5167
+ */
5168
+ export function useFetchExtensionOpportunitiesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>) {
5169
+ return Apollo.useQuery<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>(FetchExtensionOpportunitiesDocument, baseOptions);
5170
+ }
5171
+ export function useFetchExtensionOpportunitiesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>) {
5172
+ return Apollo.useLazyQuery<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>(FetchExtensionOpportunitiesDocument, baseOptions);
5173
+ }
5174
+ export type FetchExtensionOpportunitiesQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesQuery>;
5175
+ export type FetchExtensionOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesLazyQuery>;
5176
+ export type FetchExtensionOpportunitiesQueryResult = Apollo.QueryResult<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>;
4692
5177
  export const FetchNftDataDocument = gql`
4693
5178
  query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
4694
5179
  fetchNFTData(