@ludo.ninja/api 2.4.1 → 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.
@@ -18,7 +18,7 @@ const graphql_ws_1 = require("graphql-ws");
18
18
  const index_1 = require("../index");
19
19
  let isRefreshing = false;
20
20
  let pendingRequests = [];
21
- // let mainDomain = "";
21
+ let mainDomain = "";
22
22
  const resolvePendingRequests = () => {
23
23
  pendingRequests.map((callback) => callback());
24
24
  pendingRequests = [];
@@ -42,7 +42,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
42
42
  })
43
43
  .then(({ data: { refreshToken: { tokenAuth, tokenRefresh }, }, }) => {
44
44
  console.log(tokenAuth, "newAuthToken");
45
- (0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh /*, mainDomain */);
45
+ (0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh, mainDomain);
46
46
  resolvePendingRequests();
47
47
  return true;
48
48
  })
@@ -51,7 +51,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
51
51
  context: { uri: index_1.hosts.authHost },
52
52
  mutation: index_1.schema.RevokeTokenDocument,
53
53
  });
54
- (0, cookies_1.destroyCookies)( /*, mainDomain */);
54
+ (0, cookies_1.destroyCookies)(mainDomain);
55
55
  pendingRequests = [];
56
56
  window.location.reload();
57
57
  return false;
@@ -85,7 +85,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
85
85
  mutation: index_1.schema.RefreshTokenDocument,
86
86
  })
87
87
  .then(({ data: { refreshToken: { tokenAuth, tokenRefresh }, }, }) => {
88
- (0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh /*, mainDomain */);
88
+ (0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh, mainDomain);
89
89
  resolvePendingRequests();
90
90
  return true;
91
91
  })
@@ -94,7 +94,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
94
94
  context: { uri: index_1.hosts.authHost },
95
95
  mutation: index_1.schema.RevokeTokenDocument,
96
96
  });
97
- (0, cookies_1.destroyCookies)( /*, mainDomain */);
97
+ (0, cookies_1.destroyCookies)(mainDomain);
98
98
  pendingRequests = [];
99
99
  window.location.reload();
100
100
  return false;
@@ -158,7 +158,7 @@ function createApolloClient() {
158
158
  }
159
159
  function initializeApollo(initialState = null, domain) {
160
160
  const _apolloClient = apolloClient ?? createApolloClient();
161
- // mainDomain = domain;
161
+ mainDomain = domain || '';
162
162
  // If your page has Next.js data fetching methods that use Apollo Client, the initial state
163
163
  // gets hydrated here
164
164
  if (initialState) {
@@ -4,40 +4,40 @@ exports.getCookies = exports.destroyCookies = exports.refreshCookies = exports.a
4
4
  const nookies_1 = require("nookies");
5
5
  const assignCookies = (userId, wallets, authToken, refreshToken, newUser, inviteCode, domain) => {
6
6
  if (userId)
7
- (0, nookies_1.setCookie)(null, "userId", userId, { maxAge: 2629800000, path: "/" /*, domain */ });
7
+ (0, nookies_1.setCookie)(null, "userId", userId, { maxAge: 2629800000, path: "/", domain });
8
8
  if (wallets)
9
9
  (0, nookies_1.setCookie)(null, "wallets", wallets.join(), {
10
10
  maxAge: 2629800000,
11
11
  path: "/",
12
- // domain,
12
+ domain,
13
13
  sameSite: true,
14
14
  });
15
15
  if (authToken)
16
16
  (0, nookies_1.setCookie)(null, "authToken", authToken, {
17
17
  maxAge: 2629800000,
18
18
  path: "/",
19
- // domain,
19
+ domain,
20
20
  sameSite: true,
21
21
  });
22
22
  if (refreshToken)
23
23
  (0, nookies_1.setCookie)(null, "refreshToken", refreshToken, {
24
24
  maxAge: 2629800000,
25
25
  path: "/",
26
- // domain,
26
+ domain,
27
27
  sameSite: true,
28
28
  });
29
29
  if (newUser)
30
30
  (0, nookies_1.setCookie)(null, "newUser", newUser, {
31
31
  maxAge: 2629800000,
32
32
  path: "/",
33
- // domain,
33
+ domain,
34
34
  sameSite: true,
35
35
  });
36
36
  if (inviteCode)
37
37
  (0, nookies_1.setCookie)(null, "inviteCode", inviteCode, {
38
38
  maxAge: 2629800000,
39
39
  path: "/",
40
- // domain,
40
+ domain,
41
41
  sameSite: true,
42
42
  });
43
43
  };
@@ -47,14 +47,14 @@ const refreshCookies = (authToken, refreshToken, domain) => {
47
47
  (0, nookies_1.setCookie)(null, "authToken", authToken, {
48
48
  maxAge: 2629800000,
49
49
  path: "/",
50
- // domain,
50
+ domain,
51
51
  sameSite: true,
52
52
  });
53
53
  if (refreshToken)
54
54
  (0, nookies_1.setCookie)(null, "refreshToken", refreshToken, {
55
55
  maxAge: 2629800000,
56
56
  path: "/",
57
- // domain,
57
+ domain,
58
58
  sameSite: true,
59
59
  });
60
60
  };
@@ -82,11 +82,11 @@ const getCookies = (ctx) => {
82
82
  };
83
83
  exports.getCookies = getCookies;
84
84
  const destroyCookies = (domain) => {
85
- (0, nookies_1.destroyCookie)(null, "userId", { path: "/" /*, domain */ });
86
- (0, nookies_1.destroyCookie)(null, "wallets", { path: "/" /*, domain */ });
87
- (0, nookies_1.destroyCookie)(null, "authToken", { path: "/" /*, domain */ });
88
- (0, nookies_1.destroyCookie)(null, "refreshToken", { path: "/" /*, domain */ });
89
- (0, nookies_1.destroyCookie)(null, "newUser", { path: "/" /*, domain */ });
90
- (0, nookies_1.destroyCookie)(null, "inviteCode", { path: "/" /*, domain */ });
85
+ (0, nookies_1.destroyCookie)(null, "userId", { path: "/", domain });
86
+ (0, nookies_1.destroyCookie)(null, "wallets", { path: "/", domain });
87
+ (0, nookies_1.destroyCookie)(null, "authToken", { path: "/", domain });
88
+ (0, nookies_1.destroyCookie)(null, "refreshToken", { path: "/", domain });
89
+ (0, nookies_1.destroyCookie)(null, "newUser", { path: "/", domain });
90
+ (0, nookies_1.destroyCookie)(null, "inviteCode", { path: "/", domain });
91
91
  };
92
92
  exports.destroyCookies = destroyCookies;
@@ -256,6 +256,20 @@ export type IBannerAssetsPage = {
256
256
  assets?: Maybe<Array<Maybe<IBannerAsset>>>;
257
257
  nextPageToken?: Maybe<Scalars['String']>;
258
258
  };
259
+ export type IBrand = {
260
+ brandId: Scalars['ID'];
261
+ name: Scalars['String'];
262
+ matchingWords: Array<Maybe<Scalars['String']>>;
263
+ description?: Maybe<Scalars['String']>;
264
+ industry?: Maybe<Scalars['String']>;
265
+ link?: Maybe<Scalars['String']>;
266
+ media?: Maybe<Scalars['String']>;
267
+ };
268
+ export type ICategory = {
269
+ categoryId: Scalars['ID'];
270
+ name: Scalars['String'];
271
+ matchingWords: Array<Maybe<Scalars['String']>>;
272
+ };
259
273
  export type ICollection = {
260
274
  blockchain?: Maybe<Scalars['String']>;
261
275
  collectionAssets?: Maybe<Array<Maybe<ICollectionAsset>>>;
@@ -746,10 +760,12 @@ export type IMutation = {
746
760
  hideAsset: Scalars['Boolean'];
747
761
  hideAssets: Scalars['Boolean'];
748
762
  hideBannerAsset: Scalars['Boolean'];
763
+ hideOpportunityV2: Scalars['Boolean'];
749
764
  hideShowcaseAsset: Scalars['Boolean'];
750
765
  likeAsset: Scalars['Boolean'];
751
766
  likeCollection: Scalars['Boolean'];
752
767
  openOpportunity: Scalars['Boolean'];
768
+ openOpportunityV2: Scalars['Boolean'];
753
769
  refreshToken: ITokenPair;
754
770
  rejectAssetReport: Scalars['Boolean'];
755
771
  rejectAssetReports: Scalars['Boolean'];
@@ -802,6 +818,7 @@ export type IMutation = {
802
818
  uploadGalleryBanner: Scalars['String'];
803
819
  uploadUserpic: Scalars['String'];
804
820
  useInviteCode: Scalars['Boolean'];
821
+ visitPageV2?: Maybe<IOpportunityV2>;
805
822
  };
806
823
  export type IMutationAddAssetsToGalleryArgs = {
807
824
  galleryId: Scalars['ID'];
@@ -968,6 +985,9 @@ export type IMutationHideAssetsArgs = {
968
985
  export type IMutationHideBannerAssetArgs = {
969
986
  id: Scalars['String'];
970
987
  };
988
+ export type IMutationHideOpportunityV2Args = {
989
+ opportunityId: Scalars['ID'];
990
+ };
971
991
  export type IMutationHideShowcaseAssetArgs = {
972
992
  id: Scalars['String'];
973
993
  };
@@ -980,6 +1000,9 @@ export type IMutationLikeCollectionArgs = {
980
1000
  export type IMutationOpenOpportunityArgs = {
981
1001
  opportunityId: Scalars['ID'];
982
1002
  };
1003
+ export type IMutationOpenOpportunityV2Args = {
1004
+ opportunityId: Scalars['ID'];
1005
+ };
983
1006
  export type IMutationRefreshTokenArgs = {
984
1007
  refreshToken: Scalars['String'];
985
1008
  showNsfw?: Maybe<Scalars['Boolean']>;
@@ -1174,6 +1197,14 @@ export type IMutationUploadUserpicArgs = {
1174
1197
  export type IMutationUseInviteCodeArgs = {
1175
1198
  inviteCode: Scalars['String'];
1176
1199
  };
1200
+ export type IMutationVisitPageV2Args = {
1201
+ domain: Scalars['String'];
1202
+ title: Scalars['String'];
1203
+ description?: Maybe<Scalars['String']>;
1204
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
1205
+ brandId?: Maybe<Scalars['String']>;
1206
+ category?: Maybe<Scalars['String']>;
1207
+ };
1177
1208
  export type INftData = {
1178
1209
  blockchain: Scalars['String'];
1179
1210
  contractAddress?: Maybe<Scalars['String']>;
@@ -1242,6 +1273,28 @@ export type IOpportunityPage = {
1242
1273
  currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
1243
1274
  similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
1244
1275
  };
1276
+ export type IOpportunityV2 = {
1277
+ opportunityId?: Maybe<Scalars['ID']>;
1278
+ brandId?: Maybe<Scalars['String']>;
1279
+ categoryId?: Maybe<Scalars['String']>;
1280
+ opportunityStatus?: Maybe<Scalars['String']>;
1281
+ opportunityType?: Maybe<Scalars['String']>;
1282
+ notificationType?: Maybe<Scalars['String']>;
1283
+ name?: Maybe<Scalars['String']>;
1284
+ brandName?: Maybe<Scalars['String']>;
1285
+ brandDescription?: Maybe<Scalars['String']>;
1286
+ brandMedia?: Maybe<Scalars['String']>;
1287
+ brandUrl?: Maybe<Scalars['String']>;
1288
+ brandIndustry?: Maybe<Scalars['String']>;
1289
+ categoryName?: Maybe<Scalars['String']>;
1290
+ ludoUrl?: Maybe<Scalars['String']>;
1291
+ projectUrl?: Maybe<Scalars['String']>;
1292
+ activeFrom?: Maybe<Scalars['Long']>;
1293
+ activeUntil?: Maybe<Scalars['Long']>;
1294
+ media?: Maybe<Scalars['String']>;
1295
+ reportLink?: Maybe<Scalars['String']>;
1296
+ shareLink?: Maybe<Scalars['String']>;
1297
+ };
1245
1298
  export type IPage = {
1246
1299
  token?: Maybe<Scalars['String']>;
1247
1300
  num?: Maybe<Scalars['Int']>;
@@ -1314,6 +1367,9 @@ export type IQuery = {
1314
1367
  fetchDynamicCollectionData: IDynamicCollectionData;
1315
1368
  fetchDynamicCollectionsData: Array<IDynamicCollectionData>;
1316
1369
  fetchExpectations: Array<Maybe<IExpectation>>;
1370
+ fetchExtensionBrands: Array<Maybe<IBrand>>;
1371
+ fetchExtensionCategories: Array<Maybe<ICategory>>;
1372
+ fetchExtensionOpportunities: Array<Maybe<IOpportunityV2>>;
1317
1373
  fetchFavorites: IGalleriesPage;
1318
1374
  fetchFavoritesV2: IGalleriesPageV2;
1319
1375
  fetchFollowers: Array<Maybe<IFollower>>;
@@ -1520,6 +1576,11 @@ export type IQueryFetchDynamicCollectionDataArgs = {
1520
1576
  export type IQueryFetchDynamicCollectionsDataArgs = {
1521
1577
  input: Array<IDynamicCollectionDataInput>;
1522
1578
  };
1579
+ export type IQueryFetchExtensionOpportunitiesArgs = {
1580
+ userId?: Maybe<Scalars['String']>;
1581
+ brandId?: Maybe<Scalars['String']>;
1582
+ category?: Maybe<Scalars['String']>;
1583
+ };
1523
1584
  export type IQueryFetchFavoritesArgs = {
1524
1585
  pageSize: Scalars['Int'];
1525
1586
  pageToken?: Maybe<Scalars['String']>;
@@ -2276,12 +2337,51 @@ export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
2276
2337
  export type IOnMyExperienceUpdatedSubscription = {
2277
2338
  onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>;
2278
2339
  };
2340
+ export type IHideOpportunityV2MutationVariables = Exact<{
2341
+ opportunityId: Scalars['ID'];
2342
+ }>;
2343
+ export type IHideOpportunityV2Mutation = Pick<IMutation, 'hideOpportunityV2'>;
2344
+ export type IOpenOpportunityV2MutationVariables = Exact<{
2345
+ opportunityId: Scalars['ID'];
2346
+ }>;
2347
+ export type IOpenOpportunityV2Mutation = Pick<IMutation, 'openOpportunityV2'>;
2348
+ export type IVisitPageV2MutationVariables = Exact<{
2349
+ domain: Scalars['String'];
2350
+ title: Scalars['String'];
2351
+ description?: Maybe<Scalars['String']>;
2352
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
2353
+ brandId?: Maybe<Scalars['String']>;
2354
+ category?: Maybe<Scalars['String']>;
2355
+ }>;
2356
+ export type IVisitPageV2Mutation = {
2357
+ visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>;
2358
+ };
2279
2359
  export type IFetchCollectionRanksQueryVariables = Exact<{
2280
2360
  collectionKeys: Array<ICollectionKey>;
2281
2361
  }>;
2282
2362
  export type IFetchCollectionRanksQuery = {
2283
2363
  fetchCollectionRanks: Array<Pick<ICollectionRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'collectionTitle' | 'rank'>>;
2284
2364
  };
2365
+ export type IFetchExtensionBrandsQueryVariables = Exact<{
2366
+ [key: string]: never;
2367
+ }>;
2368
+ export type IFetchExtensionBrandsQuery = {
2369
+ fetchExtensionBrands: Array<Maybe<Pick<IBrand, 'brandId' | 'name' | 'matchingWords' | 'description' | 'industry' | 'link' | 'media'>>>;
2370
+ };
2371
+ export type IFetchExtensionCategoriesQueryVariables = Exact<{
2372
+ [key: string]: never;
2373
+ }>;
2374
+ export type IFetchExtensionCategoriesQuery = {
2375
+ fetchExtensionCategories: Array<Maybe<Pick<ICategory, 'categoryId' | 'name' | 'matchingWords'>>>;
2376
+ };
2377
+ export type IFetchExtensionOpportunitiesQueryVariables = Exact<{
2378
+ userId?: Maybe<Scalars['String']>;
2379
+ brandId?: Maybe<Scalars['String']>;
2380
+ category?: Maybe<Scalars['String']>;
2381
+ }>;
2382
+ export type IFetchExtensionOpportunitiesQuery = {
2383
+ 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'>>>;
2384
+ };
2285
2385
  export type IFetchNftDataQueryVariables = Exact<{
2286
2386
  blockchain: Scalars['String'];
2287
2387
  contractAddress?: Maybe<Scalars['String']>;
@@ -3453,6 +3553,91 @@ export declare function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo
3453
3553
  }>>;
3454
3554
  export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
3455
3555
  export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
3556
+ export declare const HideOpportunityV2Document: Apollo.DocumentNode;
3557
+ export type IHideOpportunityV2MutationFn = Apollo.MutationFunction<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
3558
+ /**
3559
+ * __useHideOpportunityV2Mutation__
3560
+ *
3561
+ * To run a mutation, you first call `useHideOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
3562
+ * When your component renders, `useHideOpportunityV2Mutation` returns a tuple that includes:
3563
+ * - A mutate function that you can call at any time to execute the mutation
3564
+ * - An object with fields that represent the current status of the mutation's execution
3565
+ *
3566
+ * @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;
3567
+ *
3568
+ * @example
3569
+ * const [hideOpportunityV2Mutation, { data, loading, error }] = useHideOpportunityV2Mutation({
3570
+ * variables: {
3571
+ * opportunityId: // value for 'opportunityId'
3572
+ * },
3573
+ * });
3574
+ */
3575
+ export declare function useHideOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>): Apollo.MutationTuple<IHideOpportunityV2Mutation, Exact<{
3576
+ opportunityId: string;
3577
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
3578
+ export type HideOpportunityV2MutationHookResult = ReturnType<typeof useHideOpportunityV2Mutation>;
3579
+ export type HideOpportunityV2MutationResult = Apollo.MutationResult<IHideOpportunityV2Mutation>;
3580
+ export type HideOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
3581
+ export declare const OpenOpportunityV2Document: Apollo.DocumentNode;
3582
+ export type IOpenOpportunityV2MutationFn = Apollo.MutationFunction<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
3583
+ /**
3584
+ * __useOpenOpportunityV2Mutation__
3585
+ *
3586
+ * To run a mutation, you first call `useOpenOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
3587
+ * When your component renders, `useOpenOpportunityV2Mutation` returns a tuple that includes:
3588
+ * - A mutate function that you can call at any time to execute the mutation
3589
+ * - An object with fields that represent the current status of the mutation's execution
3590
+ *
3591
+ * @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;
3592
+ *
3593
+ * @example
3594
+ * const [openOpportunityV2Mutation, { data, loading, error }] = useOpenOpportunityV2Mutation({
3595
+ * variables: {
3596
+ * opportunityId: // value for 'opportunityId'
3597
+ * },
3598
+ * });
3599
+ */
3600
+ export declare function useOpenOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>): Apollo.MutationTuple<IOpenOpportunityV2Mutation, Exact<{
3601
+ opportunityId: string;
3602
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
3603
+ export type OpenOpportunityV2MutationHookResult = ReturnType<typeof useOpenOpportunityV2Mutation>;
3604
+ export type OpenOpportunityV2MutationResult = Apollo.MutationResult<IOpenOpportunityV2Mutation>;
3605
+ export type OpenOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
3606
+ export declare const VisitPageV2Document: Apollo.DocumentNode;
3607
+ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
3608
+ /**
3609
+ * __useVisitPageV2Mutation__
3610
+ *
3611
+ * To run a mutation, you first call `useVisitPageV2Mutation` within a React component and pass it any options that fit your needs.
3612
+ * When your component renders, `useVisitPageV2Mutation` returns a tuple that includes:
3613
+ * - A mutate function that you can call at any time to execute the mutation
3614
+ * - An object with fields that represent the current status of the mutation's execution
3615
+ *
3616
+ * @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;
3617
+ *
3618
+ * @example
3619
+ * const [visitPageV2Mutation, { data, loading, error }] = useVisitPageV2Mutation({
3620
+ * variables: {
3621
+ * domain: // value for 'domain'
3622
+ * title: // value for 'title'
3623
+ * description: // value for 'description'
3624
+ * tags: // value for 'tags'
3625
+ * brandId: // value for 'brandId'
3626
+ * category: // value for 'category'
3627
+ * },
3628
+ * });
3629
+ */
3630
+ export declare function useVisitPageV2Mutation(baseOptions?: Apollo.MutationHookOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>): Apollo.MutationTuple<IVisitPageV2Mutation, Exact<{
3631
+ domain: string;
3632
+ title: string;
3633
+ description?: Maybe<string> | undefined;
3634
+ tags?: Maybe<Maybe<string>[]> | undefined;
3635
+ brandId?: Maybe<string> | undefined;
3636
+ category?: Maybe<string> | undefined;
3637
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
3638
+ export type VisitPageV2MutationHookResult = ReturnType<typeof useVisitPageV2Mutation>;
3639
+ export type VisitPageV2MutationResult = Apollo.MutationResult<IVisitPageV2Mutation>;
3640
+ export type VisitPageV2MutationOptions = Apollo.BaseMutationOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
3456
3641
  export declare const FetchCollectionRanksDocument: Apollo.DocumentNode;
3457
3642
  /**
3458
3643
  * __useFetchCollectionRanksQuery__
@@ -3479,6 +3664,88 @@ export declare function useFetchCollectionRanksLazyQuery(baseOptions?: Apollo.La
3479
3664
  export type FetchCollectionRanksQueryHookResult = ReturnType<typeof useFetchCollectionRanksQuery>;
3480
3665
  export type FetchCollectionRanksLazyQueryHookResult = ReturnType<typeof useFetchCollectionRanksLazyQuery>;
3481
3666
  export type FetchCollectionRanksQueryResult = Apollo.QueryResult<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>;
3667
+ export declare const FetchExtensionBrandsDocument: Apollo.DocumentNode;
3668
+ /**
3669
+ * __useFetchExtensionBrandsQuery__
3670
+ *
3671
+ * To run a query within a React component, call `useFetchExtensionBrandsQuery` and pass it any options that fit your needs.
3672
+ * When your component renders, `useFetchExtensionBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3673
+ * you can use to render your UI.
3674
+ *
3675
+ * @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;
3676
+ *
3677
+ * @example
3678
+ * const { data, loading, error } = useFetchExtensionBrandsQuery({
3679
+ * variables: {
3680
+ * },
3681
+ * });
3682
+ */
3683
+ export declare function useFetchExtensionBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>): Apollo.QueryResult<IFetchExtensionBrandsQuery, Exact<{
3684
+ [key: string]: never;
3685
+ }>>;
3686
+ export declare function useFetchExtensionBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchExtensionBrandsQuery, Exact<{
3687
+ [key: string]: never;
3688
+ }>>;
3689
+ export type FetchExtensionBrandsQueryHookResult = ReturnType<typeof useFetchExtensionBrandsQuery>;
3690
+ export type FetchExtensionBrandsLazyQueryHookResult = ReturnType<typeof useFetchExtensionBrandsLazyQuery>;
3691
+ export type FetchExtensionBrandsQueryResult = Apollo.QueryResult<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>;
3692
+ export declare const FetchExtensionCategoriesDocument: Apollo.DocumentNode;
3693
+ /**
3694
+ * __useFetchExtensionCategoriesQuery__
3695
+ *
3696
+ * To run a query within a React component, call `useFetchExtensionCategoriesQuery` and pass it any options that fit your needs.
3697
+ * When your component renders, `useFetchExtensionCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
3698
+ * you can use to render your UI.
3699
+ *
3700
+ * @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;
3701
+ *
3702
+ * @example
3703
+ * const { data, loading, error } = useFetchExtensionCategoriesQuery({
3704
+ * variables: {
3705
+ * },
3706
+ * });
3707
+ */
3708
+ export declare function useFetchExtensionCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>): Apollo.QueryResult<IFetchExtensionCategoriesQuery, Exact<{
3709
+ [key: string]: never;
3710
+ }>>;
3711
+ export declare function useFetchExtensionCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchExtensionCategoriesQuery, Exact<{
3712
+ [key: string]: never;
3713
+ }>>;
3714
+ export type FetchExtensionCategoriesQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesQuery>;
3715
+ export type FetchExtensionCategoriesLazyQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesLazyQuery>;
3716
+ export type FetchExtensionCategoriesQueryResult = Apollo.QueryResult<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>;
3717
+ export declare const FetchExtensionOpportunitiesDocument: Apollo.DocumentNode;
3718
+ /**
3719
+ * __useFetchExtensionOpportunitiesQuery__
3720
+ *
3721
+ * To run a query within a React component, call `useFetchExtensionOpportunitiesQuery` and pass it any options that fit your needs.
3722
+ * When your component renders, `useFetchExtensionOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
3723
+ * you can use to render your UI.
3724
+ *
3725
+ * @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;
3726
+ *
3727
+ * @example
3728
+ * const { data, loading, error } = useFetchExtensionOpportunitiesQuery({
3729
+ * variables: {
3730
+ * userId: // value for 'userId'
3731
+ * brandId: // value for 'brandId'
3732
+ * category: // value for 'category'
3733
+ * },
3734
+ * });
3735
+ */
3736
+ export declare function useFetchExtensionOpportunitiesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>): Apollo.QueryResult<IFetchExtensionOpportunitiesQuery, Exact<{
3737
+ userId?: Maybe<string> | undefined;
3738
+ brandId?: Maybe<string> | undefined;
3739
+ category?: Maybe<string> | undefined;
3740
+ }>>;
3741
+ export declare function useFetchExtensionOpportunitiesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchExtensionOpportunitiesQuery, Exact<{
3742
+ userId?: Maybe<string> | undefined;
3743
+ brandId?: Maybe<string> | undefined;
3744
+ category?: Maybe<string> | undefined;
3745
+ }>>;
3746
+ export type FetchExtensionOpportunitiesQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesQuery>;
3747
+ export type FetchExtensionOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesLazyQuery>;
3748
+ export type FetchExtensionOpportunitiesQueryResult = Apollo.QueryResult<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>;
3482
3749
  export declare const FetchNftDataDocument: Apollo.DocumentNode;
3483
3750
  /**
3484
3751
  * __useFetchNftDataQuery__