gondi 0.48.0 → 0.50.0

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.
@@ -116,6 +116,7 @@ export type Artist = Node & {
116
116
  slug: Scalars['String'];
117
117
  socials: Array<Scalars['String']>;
118
118
  totalVolume: Scalars['Float'];
119
+ /** Eligible collectors: wallets holding the artist's artworks, counted as the Collectors tab lists them by default (listArtistHolderPopulation with includeCustodians false, hideArtistAndBurnWallets true and addressTypes EOA, DELEGATED_EOA and CONTRACT_WALLET). Excludes the artist's registered mint wallets and burn addresses, custodial platforms, contract addresses that are not wallets, and addresses not classified yet. */
119
120
  uniqueCollectors: Scalars['Int'];
120
121
  volume1d: Scalars['Float'];
121
122
  websites: Array<Scalars['String']>;
@@ -232,6 +233,8 @@ export type ArtistHolderEdge = {
232
233
  /** Quantity metrics over eligible holders before wallet search. */
233
234
  export type ArtistHolderInsights = {
234
235
  __typename?: 'ArtistHolderInsights';
236
+ /** Distinct artworks the holders hold, each counted once however many copies or holders it has, where items counts every copy. */
237
+ artworks: Scalars['BigInt'];
235
238
  buckets: Array<ArtistHolderSizeBucket>;
236
239
  editions: Scalars['BigInt'];
237
240
  /** Holders of every classified type present in the population; null when fewer than two classified types are present. */
@@ -268,6 +271,8 @@ export type ArtistHolderPopulationConnectionWalletArgs = {
268
271
  export type ArtistHolderScopeInput = {
269
272
  collectionIds?: InputMaybe<Array<Scalars['Int']>>;
270
273
  editionIds?: InputMaybe<Array<Scalars['Int']>>;
274
+ /** Restrict every selection to these artwork types (OR). */
275
+ filterItemTypes?: InputMaybe<Array<ItemType>>;
271
276
  itemTypes?: InputMaybe<Array<ItemType>>;
272
277
  matchAll?: Scalars['Boolean'];
273
278
  nftIds?: InputMaybe<Array<Scalars['Int']>>;
@@ -322,6 +327,10 @@ export type ArtistHolderV2 = {
322
327
  /** Held units with no classification; included in ownedAmount. */
323
328
  unclassifiedOwned: Scalars['BigInt'];
324
329
  };
330
+ /** A wallet holding NFTs linked to the artist through the NFT or collection. Loan-escrowed NFTs belong to their borrower. Counts ERC1155 copies, including units attributed through held or borrowed vaults. */
331
+ export type ArtistHolderV2PreviewItemsArgs = {
332
+ first?: Scalars['Int'];
333
+ };
325
334
  export type ArtistHolderV2Connection = {
326
335
  __typename?: 'ArtistHolderV2Connection';
327
336
  edges: Array<ArtistHolderV2Edge>;
@@ -396,6 +405,9 @@ export type ArtistRankedHolder = {
396
405
  /** Held units with no classification; included in ownedAmount. */
397
406
  unclassifiedOwned: Scalars['BigInt'];
398
407
  };
408
+ export type ArtistRankedHolderPreviewItemsArgs = {
409
+ first?: Scalars['Int'];
410
+ };
399
411
  export type ArtistRankedHolderEdge = {
400
412
  __typename?: 'ArtistRankedHolderEdge';
401
413
  cursor: Scalars['String'];
@@ -408,6 +420,7 @@ export declare enum ArtistSortField {
408
420
  OwnersTotalValue = "OWNERS_TOTAL_VALUE",
409
421
  Sales_1D = "SALES_1D",
410
422
  TotalVolume = "TOTAL_VOLUME",
423
+ /** By every wallet holding the artist's artworks, before the Collectors tab's exclusions (mint and burn wallets, custodial platforms, contracts that are not wallets, unclassified addresses). Artist.uniqueCollectors counts eligible collectors only, so the order can differ from it. */
411
424
  UniqueCollectors = "UNIQUE_COLLECTORS",
412
425
  Volume_1D = "VOLUME_1D"
413
426
  }
@@ -448,6 +461,9 @@ export type Asset = Node & {
448
461
  data: Scalars['String'];
449
462
  id: Scalars['String'];
450
463
  };
464
+ export type AssetDataArgs = {
465
+ preferCached?: Scalars['Boolean'];
466
+ };
451
467
  export type Auction = Node & {
452
468
  __typename?: 'Auction';
453
469
  duration?: Maybe<Scalars['BigInt']>;
@@ -1211,6 +1227,15 @@ export type CollectionStatisticsTotalLoanVolume3mArgs = {
1211
1227
  export type CollectionStatisticsTotalLoanVolume4mArgs = {
1212
1228
  currencyAddress: Scalars['Address'];
1213
1229
  };
1230
+ /** The valued items of one wrap family the wallets hold. */
1231
+ export type CollectionValuation = {
1232
+ __typename?: 'CollectionValuation';
1233
+ collection: Collection;
1234
+ unvaluedNfts: Scalars['Int'];
1235
+ /** Sum of the valued items' estimates, in ETH. */
1236
+ value: Scalars['Float'];
1237
+ valuedNfts: Scalars['Int'];
1238
+ };
1214
1239
  /** A collection the recent buyers of another collection also bought. */
1215
1240
  export type CollectorsAlsoBought = {
1216
1241
  __typename?: 'CollectorsAlsoBought';
@@ -1412,6 +1437,8 @@ export type Delegation = Node & {
1412
1437
  delegateTo: Scalars['Address'];
1413
1438
  id: Scalars['String'];
1414
1439
  nft: Nft;
1440
+ /** The delegate.xyz rights values enabled for this delegate: the zero hash is the full delegation; a Shadow delegation ends in its expiry. */
1441
+ rights: Array<Scalars['Hash']>;
1415
1442
  timestamp: Scalars['DateTime'];
1416
1443
  };
1417
1444
  export type DelegationConnection = {
@@ -1521,6 +1548,12 @@ export type EventEdge = {
1521
1548
  cursor: Scalars['String'];
1522
1549
  node: Event;
1523
1550
  };
1551
+ /** Which party of an event `users` must be, as the activity feed shows it: FROM is the party that gives (a seller, a lender funding a loan, a repaying borrower, a maker), TO the one that receives (a buyer, a funded borrower, a repaid lender, a taker). ANY is either. */
1552
+ export declare enum EventSide {
1553
+ Any = "ANY",
1554
+ From = "FROM",
1555
+ To = "TO"
1556
+ }
1524
1557
  export declare enum EventType {
1525
1558
  BuyOffer = "BUY_OFFER",
1526
1559
  Claim = "CLAIM",
@@ -1594,6 +1627,92 @@ export type FulfillManyOrdersCalldata = {
1594
1627
  calldata: Scalars['Hex'];
1595
1628
  marketPlaceAddress: Scalars['Address'];
1596
1629
  };
1630
+ /** A collector's gallery of works, their own or anyone's; each work says whether the account holds it. */
1631
+ export type Gallery = Node & {
1632
+ __typename?: 'Gallery';
1633
+ /** Empty when the gallery keeps its style's own colour mode. */
1634
+ colorMode?: Maybe<GalleryColorMode>;
1635
+ /** The first work, for the gallery's card. */
1636
+ coverNft?: Maybe<Nft>;
1637
+ createdAt: Scalars['DateTime'];
1638
+ description: Scalars['String'];
1639
+ id: Scalars['String'];
1640
+ isPublished: Scalars['Boolean'];
1641
+ name: Scalars['String'];
1642
+ /** The layout a visitor first sees. */
1643
+ openingView: GalleryView;
1644
+ owner: Scalars['Address'];
1645
+ /** Empty when the gallery keeps its style's own palette. */
1646
+ palette?: Maybe<GalleryPalette>;
1647
+ publishedAt?: Maybe<Scalars['DateTime']>;
1648
+ slug: Scalars['String'];
1649
+ style: GalleryStyle;
1650
+ updatedAt: Scalars['DateTime'];
1651
+ /** Whether visitors get a switch between light and dark. */
1652
+ visitorModeSwitch: Scalars['Boolean'];
1653
+ workCount: Scalars['Int'];
1654
+ /** The works in the collector's order; at most 200. */
1655
+ works: Array<GalleryWork>;
1656
+ };
1657
+ /** Whether a gallery's palette is shown light or dark. */
1658
+ export declare enum GalleryColorMode {
1659
+ Dark = "DARK",
1660
+ Light = "LIGHT"
1661
+ }
1662
+ /** Everything a collector writes into a gallery. The works are in the order they are shown, and may be anyone's indexed NFTs. */
1663
+ export type GalleryInput = {
1664
+ /** Empty to keep the style's own colour mode. */
1665
+ colorMode?: InputMaybe<GalleryColorMode>;
1666
+ description?: Scalars['String'];
1667
+ name: Scalars['String'];
1668
+ /** The layout a visitor first sees. */
1669
+ openingView?: GalleryView;
1670
+ /** Empty to keep the style's own palette. */
1671
+ palette?: InputMaybe<GalleryPalette>;
1672
+ style: GalleryStyle;
1673
+ /** Whether visitors get a switch between light and dark. */
1674
+ visitorModeSwitch?: Scalars['Boolean'];
1675
+ works: Array<GalleryWorkInput>;
1676
+ };
1677
+ /** The colours a gallery is shown in, each with a light and a dark version. */
1678
+ export declare enum GalleryPalette {
1679
+ Candy = "CANDY",
1680
+ Ink = "INK",
1681
+ Paper = "PAPER",
1682
+ Phosphor = "PHOSPHOR",
1683
+ Slate = "SLATE"
1684
+ }
1685
+ /** The typography and colour preset a gallery is shown in. */
1686
+ export declare enum GalleryStyle {
1687
+ Elegant = "ELEGANT",
1688
+ Gondi = "GONDI",
1689
+ Pop = "POP",
1690
+ Terminal = "TERMINAL",
1691
+ WhiteCube = "WHITE_CUBE"
1692
+ }
1693
+ /** How a gallery's works are laid out: one at a time, or all in a grid. */
1694
+ export declare enum GalleryView {
1695
+ Grid = "GRID",
1696
+ Slider = "SLIDER"
1697
+ }
1698
+ /** One work in a gallery, in the collector's order. */
1699
+ export type GalleryWork = {
1700
+ __typename?: 'GalleryWork';
1701
+ /** The title of a chapter that opens at this work and runs until the next work that opens one; empty when the work continues the chapter before it. */
1702
+ chapter: Scalars['String'];
1703
+ /** Whether the gallery's account holds the work now: from any of its wallets, as an ERC1155 balance, or as the borrower of an active loan on it. A gallery can show anyone's works, so this only marks them. */
1704
+ heldByOwner: Scalars['Boolean'];
1705
+ nft: Nft;
1706
+ note: Scalars['String'];
1707
+ position: Scalars['Int'];
1708
+ };
1709
+ /** One work in a gallery, with the collector's note. */
1710
+ export type GalleryWorkInput = {
1711
+ /** The title of a chapter that opens at this work and runs until the next work that opens one; empty when the work continues the chapter before it. */
1712
+ chapter?: Scalars['String'];
1713
+ nftId: Scalars['Int'];
1714
+ note?: Scalars['String'];
1715
+ };
1597
1716
  export type GlobalSearchResult = {
1598
1717
  id: Scalars['String'];
1599
1718
  };
@@ -2339,6 +2458,14 @@ export declare enum LoanRequestType {
2339
2458
  RenegotiationRequest = "RENEGOTIATION_REQUEST",
2340
2459
  TopUpRequest = "TOP_UP_REQUEST"
2341
2460
  }
2461
+ export declare enum LoanRequestsSortField {
2462
+ CreatedDate = "CREATED_DATE",
2463
+ HighestBid = "HIGHEST_BID"
2464
+ }
2465
+ export type LoanRequestsSortInput = {
2466
+ field: LoanRequestsSortField;
2467
+ order: Ordering;
2468
+ };
2342
2469
  export type LoanSentToAuction = Event & LoanActivity & LoanEvent & Node & {
2343
2470
  __typename?: 'LoanSentToAuction';
2344
2471
  activityType: Scalars['String'];
@@ -2639,6 +2766,10 @@ export type Mutation = {
2639
2766
  cancelTradeOrders: CancelTradeOrdersResult;
2640
2767
  /** Finishes proving the caller's X account with the `code` and `state` X sent back. Errors TWITTER_VERIFICATION_EXPIRED when the sign-in is unknown or older than ten minutes, TWITTER_VERIFICATION_FAILED when X refuses it. */
2641
2768
  completeTwitterVerification: User;
2769
+ /** Create a draft gallery under a profile wallet you sign for, directly or through a confirmed link. Its slug comes from the name. */
2770
+ createGallery: Gallery;
2771
+ /** Delete a gallery for good. */
2772
+ deleteGallery?: Maybe<Scalars['Void']>;
2642
2773
  deleteProfilePicture: User;
2643
2774
  /** Removes the caller's proven X account from their profile. */
2644
2775
  disconnectTwitter: User;
@@ -2683,10 +2814,14 @@ export type Mutation = {
2683
2814
  publishBuyNowPayLaterOrder: BuyNowPayLaterOrderSignatureRequestExtraSeaportData;
2684
2815
  /** Creates a deal order. This method could return a SignatureRequest in __typename in which case you have to use this method again with the same input but you have to sign the 'typedData' response attribute and store it in the 'key' response attribute. You should receive a Deal if everything went well. */
2685
2816
  publishDealOrder: DealSignatureRequest;
2817
+ /** Make a gallery public. Publishing again changes nothing. */
2818
+ publishGallery: Gallery;
2686
2819
  /** Creates a collection trade order. This method could return a SignatureRequest in __typename in which case you have to use this method again with the same input but you have to sign the 'typedData' response attribute and store it in the 'key' response attribute. You should receive an CollectionOrder if everything went well. An order can only be a BID. Platform fees are added to the fees array if not present.Refer to gondi-js examples for more details. */
2687
2820
  publishOrderForCollection: CollectionOrderSignatureRequest;
2688
2821
  /** Creates a single NFT trade order. This method could return a SignatureRequest in __typename in which case you have to use this method again with the same input but you have to sign the 'typedData' response attribute and store it in the 'key' response attribute. You should receive an SingleNFTOrder if everything went well. An order can be an ASK or a BID. Platform fees are added to the fees array if not present.Refer to gondi-js examples for more details. */
2689
2822
  publishOrderForNft: SingleNftOrderSignatureRequest;
2823
+ /** Creates a bid that fills with any of a handpicked set of NFTs of one collection, up to maxExecutions of them. This method could return a SignatureRequest in __typename in which case you have to use this method again with the same input but you have to sign the 'typedData' response attribute and store it in the 'key' response attribute. You should receive a SetBidOrder if everything went well. An order can only be a BID. Platform fees are added to the fees array if not present. Refer to gondi-js examples for more details. */
2824
+ publishOrderForNftSet: NftSetOrderSignatureRequest;
2690
2825
  /** Creates a trait bid order. This method could return a SignatureRequest in __typename in which case you have to use this method again with the same input but you have to sign the 'typedData' response attribute and store it in the 'key' response attribute. You should receive a TraitOrder if everything went well. An order can only be a BID. Platform fees are added to the fees array if not present. Refer to gondi-js examples for more details. */
2691
2826
  publishOrderForTrait: TraitOrderSignatureRequest;
2692
2827
  /** Creates a sell and repay loan order. Sell and repay orders are orders to sell an NFT and use that money to repay a loan leaving the rest for the borrower. This method could return a SignatureRequest in __typename in which case you have to use this method again with the same input but you have to sign the 'typedData' response attribute and store it in the 'key' response attribute. You will have to do this process two times since multiple signatures are required. You should receive an SellAndRepayOrder if everything went well. Refer to gondi-js examples for more details Platform fees are added to the fees array if not present.on how to sign it and pay the order. */
@@ -2740,6 +2875,10 @@ export type Mutation = {
2740
2875
  unfollowNft?: Maybe<Scalars['Void']>;
2741
2876
  /** Unfollow a wallet from every wallet of your account, including follows made before those wallets were linked. */
2742
2877
  unfollowWallet?: Maybe<Scalars['Void']>;
2878
+ /** Take a gallery back to a draft only its account can see. */
2879
+ unpublishGallery: Gallery;
2880
+ /** Replace a gallery's name, description, style and works. A draft's slug follows its new name; a published gallery keeps its slug. The publication state stays as it is. */
2881
+ updateGallery: Gallery;
2743
2882
  uploadProfilePicture: User;
2744
2883
  verifyMailValidationCode: User;
2745
2884
  };
@@ -2776,6 +2915,13 @@ export type MutationCompleteTwitterVerificationArgs = {
2776
2915
  code: Scalars['String'];
2777
2916
  state: Scalars['String'];
2778
2917
  };
2918
+ export type MutationCreateGalleryArgs = {
2919
+ address: Scalars['Address'];
2920
+ gallery: GalleryInput;
2921
+ };
2922
+ export type MutationDeleteGalleryArgs = {
2923
+ galleryId: Scalars['Int'];
2924
+ };
2779
2925
  export type MutationDeleteProfilePictureArgs = {
2780
2926
  userId: Scalars['Int'];
2781
2927
  };
@@ -2853,12 +2999,18 @@ export type MutationPublishBuyNowPayLaterOrderArgs = {
2853
2999
  export type MutationPublishDealOrderArgs = {
2854
3000
  dealInput: DealInput;
2855
3001
  };
3002
+ export type MutationPublishGalleryArgs = {
3003
+ galleryId: Scalars['Int'];
3004
+ };
2856
3005
  export type MutationPublishOrderForCollectionArgs = {
2857
3006
  orderInput: CollectionOrderInput;
2858
3007
  };
2859
3008
  export type MutationPublishOrderForNftArgs = {
2860
3009
  orderInput: SingleNftOrderInput;
2861
3010
  };
3011
+ export type MutationPublishOrderForNftSetArgs = {
3012
+ orderInput: NftSetOrderInput;
3013
+ };
2862
3014
  export type MutationPublishOrderForTraitArgs = {
2863
3015
  orderInput: TraitOrderInput;
2864
3016
  };
@@ -2954,6 +3106,13 @@ export type MutationUnfollowNftArgs = {
2954
3106
  export type MutationUnfollowWalletArgs = {
2955
3107
  walletAddress: Scalars['Address'];
2956
3108
  };
3109
+ export type MutationUnpublishGalleryArgs = {
3110
+ galleryId: Scalars['Int'];
3111
+ };
3112
+ export type MutationUpdateGalleryArgs = {
3113
+ gallery: GalleryInput;
3114
+ galleryId: Scalars['Int'];
3115
+ };
2957
3116
  export type MutationUploadProfilePictureArgs = {
2958
3117
  profilePicture: Scalars['Upload'];
2959
3118
  userId: Scalars['String'];
@@ -2965,6 +3124,10 @@ export type MutationVerifyMailValidationCodeArgs = {
2965
3124
  };
2966
3125
  export type Nft = Node & {
2967
3126
  __typename?: 'NFT';
3127
+ /** When the NFT came to one of the given wallets: the latest transfer or mint of it to a wallet that still holds it, which for an NFT escrowed in a loan or stash is the one before the escrow. The return from escrow when a loan is repaid or a stash unwrapped does not count. The earliest such date when several of the wallets hold it; null when none of them holds it, no arrival is recorded, or no wallet is given. */
3128
+ acquiredAt?: Maybe<Scalars['DateTime']>;
3129
+ /** The purchase that brought the NFT to the wallet acquiredAt dates: the latest sale of it within an hour before that arrival that settled in the wallet, directly or forwarded from the buyer (see Sale.forwardTransfers). Null when the NFT arrived otherwise, such as by mint or a plain transfer, or when acquiredAt is null. */
3130
+ acquisitionSale?: Maybe<Sale>;
2968
3131
  /** Active loan of the NFT, which can be of status INITIATED, SENT_TO_AUCTION or DEFAULTED. */
2969
3132
  activeLoan?: Maybe<Loan>;
2970
3133
  animation?: Maybe<Asset>;
@@ -3048,6 +3211,12 @@ export type Nft = Node & {
3048
3211
  wrappersAndNakedNfts: Array<Nft>;
3049
3212
  wrapsNfts?: Maybe<Array<Nft>>;
3050
3213
  };
3214
+ export type NftAcquiredAtArgs = {
3215
+ wallets: Array<Scalars['Address']>;
3216
+ };
3217
+ export type NftAcquisitionSaleArgs = {
3218
+ wallets: Array<Scalars['Address']>;
3219
+ };
3051
3220
  export type NftErc1155BalanceArgs = {
3052
3221
  address: Scalars['Address'];
3053
3222
  };
@@ -3169,6 +3338,23 @@ export declare enum NftSearchField {
3169
3338
  Name = "NAME",
3170
3339
  TokenId = "TOKEN_ID"
3171
3340
  }
3341
+ export type NftSetOrderInput = {
3342
+ amount?: InputMaybe<Scalars['BigInt']>;
3343
+ collectionId: Scalars['Int'];
3344
+ currencyAddress: Scalars['Address'];
3345
+ expirationTime: Scalars['BigInt'];
3346
+ fees?: InputMaybe<Array<OrderFee>>;
3347
+ isAsk?: InputMaybe<Scalars['Boolean']>;
3348
+ maxExecutions?: InputMaybe<Scalars['BigInt']>;
3349
+ /** The NFTs the bid fills with, all in the collection: at least 2, at most 1000, duplicates ignored. */
3350
+ nftIds: Array<Scalars['Int']>;
3351
+ price?: InputMaybe<Scalars['BigInt']>;
3352
+ signature?: InputMaybe<Scalars['Signature']>;
3353
+ startTime: Scalars['BigInt'];
3354
+ stealth?: InputMaybe<Scalars['Boolean']>;
3355
+ taker?: InputMaybe<Scalars['Address']>;
3356
+ };
3357
+ export type NftSetOrderSignatureRequest = SetBidOrder | SignatureRequest;
3172
3358
  export declare enum NftSortField {
3173
3359
  Collection = "COLLECTION",
3174
3360
  LastSaleDate = "LAST_SALE_DATE",
@@ -3269,7 +3455,8 @@ export declare enum NftsSortField {
3269
3455
  Random = "RANDOM",
3270
3456
  RarityRank = "RARITY_RANK",
3271
3457
  Status = "STATUS",
3272
- TokenId = "TOKEN_ID"
3458
+ TokenId = "TOKEN_ID",
3459
+ Valuation = "VALUATION"
3273
3460
  }
3274
3461
  export type NftsSortInput = {
3275
3462
  currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
@@ -3698,6 +3885,49 @@ export type PointActivityEdge = {
3698
3885
  cursor: Scalars['String'];
3699
3886
  node: PointActivity;
3700
3887
  };
3888
+ /** Accounts ranked by what their NFTs are worth: each account's items are valued as NFT.valuation was when its collection was last refreshed, and the ranking is refreshed daily. */
3889
+ export type PortfolioLeaderboard = {
3890
+ __typename?: 'PortfolioLeaderboard';
3891
+ /** When the ranking was taken; null until its first run. */
3892
+ asOf?: Maybe<Scalars['DateTime']>;
3893
+ endCursor?: Maybe<Scalars['String']>;
3894
+ hasNextPage: Scalars['Boolean'];
3895
+ rows: Array<PortfolioLeaderboardRow>;
3896
+ totalCount: Scalars['Int'];
3897
+ /** The rank of the signed-in user's account; null when signed out or unranked. */
3898
+ viewerRank?: Maybe<Scalars['Int']>;
3899
+ };
3900
+ /** One account on the portfolio leaderboard. */
3901
+ export type PortfolioLeaderboardRow = {
3902
+ __typename?: 'PortfolioLeaderboardRow';
3903
+ /** Wrap families among the account's held items. */
3904
+ collectionCount: Scalars['Int'];
3905
+ name?: Maybe<Scalars['String']>;
3906
+ profilePictureUrl?: Maybe<Scalars['String']>;
3907
+ rank: Scalars['Int'];
3908
+ /** Held items nothing in the market prices; they add nothing. */
3909
+ unvaluedNfts: Scalars['Int'];
3910
+ /** Sum of the account's items' valuations at the sample, in ETH. */
3911
+ value: Scalars['Float'];
3912
+ valuedNfts: Scalars['Int'];
3913
+ /** The account's representative wallet; its profile is the row's. */
3914
+ walletAddress: Scalars['Address'];
3915
+ /** The account's wallets: its own and the ones confirmed-linked. */
3916
+ walletCount: Scalars['Int'];
3917
+ };
3918
+ /** NFT.valuation summed over the NFTs the wallets own, hold in a stash or a vault, or have as collateral of their active loans as borrower, in ETH. */
3919
+ export type PortfolioValuation = {
3920
+ __typename?: 'PortfolioValuation';
3921
+ /** One row per wrap family, highest value first. */
3922
+ collections: Array<CollectionValuation>;
3923
+ /** True when the wallets hold more items than the per-portfolio cap; the cheapest families by floor are the ones left out. */
3924
+ truncated: Scalars['Boolean'];
3925
+ /** Held items nothing in the market prices; they add nothing. */
3926
+ unvaluedNfts: Scalars['Int'];
3927
+ /** Sum of the valued items' estimates, in ETH. */
3928
+ value: Scalars['Float'];
3929
+ valuedNfts: Scalars['Int'];
3930
+ };
3701
3931
  /** Query for the lending module */
3702
3932
  export type Query = {
3703
3933
  __typename?: 'Query';
@@ -3707,6 +3937,10 @@ export type Query = {
3707
3937
  dealReadiness: DealReadinessResult;
3708
3938
  /** Featured listings in curated order: pinned NFTs, or the cheapest qualifying listing per approved collection when automatic selection is enabled. Each carries the open offer that lends the most on it among those of at least 30 days at an effective APR of at most 25%. A pick shows only while it has a public ask in ETH or WETH on a supported marketplace and such an offer. `first` is capped at 6. */
3709
3939
  featuredListings: Array<LoanDeal>;
3940
+ /** The galleries listed under a profile wallet, most recently edited first. Visitors get the published ones; the account that owns the wallet gets its drafts too. */
3941
+ galleries: Array<Gallery>;
3942
+ /** One gallery by the profile wallet and slug of its URL. A draft is found only by the account that owns it. */
3943
+ gallery?: Maybe<Gallery>;
3710
3944
  getAddressByName?: Maybe<Scalars['Address']>;
3711
3945
  /** The wallet holding a Gondi username, for profile links; never a recipient lookup. */
3712
3946
  getAddressByUsername?: Maybe<Scalars['Address']>;
@@ -3748,6 +3982,10 @@ export type Query = {
3748
3982
  getOutstandingDebt: Scalars['BigInt'];
3749
3983
  getOutstandingLoanStatistics: OutstandingLoanStatistics;
3750
3984
  getPointsFromReferrals: Scalars['Int'];
3985
+ /** Accounts ranked by their portfolio valuation, highest first. An account is a user with its confirmed-linked wallets. */
3986
+ getPortfolioLeaderboard: PortfolioLeaderboard;
3987
+ /** NFT.valuation summed over the NFTs the wallets own, hold in a stash or a vault, or have as collateral of their active loans as borrower, in ETH, in total and per wrap family. ERC1155 tokens are left out. Takes 1 to 10 distinct wallets. At most max_nfts_per_portfolio items, highest family floor first; truncated says when the cap left items out. */
3988
+ getPortfolioValuation: PortfolioValuation;
3751
3989
  getPurchaseBundlerFromOrder: Scalars['Address'];
3752
3990
  /** Profit `lenders` realized per UTC day and currency: the interest and origination fee of each position, counted on the day they left it by repayment or by being refinanced or renegotiated out. Only days that realized something return a row, ordered by `day` then `currencyAddress`. The window opens at the UTC midnight `days - 1` days before today and runs to now. `days` must be from 1 to 366 and `currencyAddresses` may name at most 10 currencies. Summed over all time, the rows equal `getSourcesStatistics` `profit` and `netProfit` for `statuses: [LOAN_REPAID]`. */
3753
3991
  getRealizedProfitsByDay: Array<RealizedProfitDay>;
@@ -3896,6 +4134,15 @@ export type QueryFeaturedListingsArgs = {
3896
4134
  first?: Scalars['Int'];
3897
4135
  };
3898
4136
  /** Query for the lending module */
4137
+ export type QueryGalleriesArgs = {
4138
+ address: Scalars['Address'];
4139
+ };
4140
+ /** Query for the lending module */
4141
+ export type QueryGalleryArgs = {
4142
+ address: Scalars['Address'];
4143
+ slug: Scalars['String'];
4144
+ };
4145
+ /** Query for the lending module */
3899
4146
  export type QueryGetAddressByNameArgs = {
3900
4147
  name: Scalars['String'];
3901
4148
  };
@@ -4016,6 +4263,15 @@ export type QueryGetOutstandingDebtArgs = {
4016
4263
  currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
4017
4264
  };
4018
4265
  /** Query for the lending module */
4266
+ export type QueryGetPortfolioLeaderboardArgs = {
4267
+ after?: InputMaybe<Scalars['String']>;
4268
+ first?: Scalars['Int'];
4269
+ };
4270
+ /** Query for the lending module */
4271
+ export type QueryGetPortfolioValuationArgs = {
4272
+ owners: Array<Scalars['Address']>;
4273
+ };
4274
+ /** Query for the lending module */
4019
4275
  export type QueryGetPurchaseBundlerFromOrderArgs = {
4020
4276
  loanId?: InputMaybe<Scalars['String']>;
4021
4277
  orderId: Scalars['Int64'];
@@ -4367,6 +4623,7 @@ export type QueryListEventsArgs = {
4367
4623
  topEvents?: InputMaybe<Scalars['Boolean']>;
4368
4624
  traits?: InputMaybe<Array<Scalars['Int']>>;
4369
4625
  users?: InputMaybe<Array<Scalars['Address']>>;
4626
+ usersSide?: EventSide;
4370
4627
  };
4371
4628
  /** Query for the lending module */
4372
4629
  export type QueryListListingsArgs = {
@@ -4381,6 +4638,7 @@ export type QueryListListingsArgs = {
4381
4638
  marketplaceNames?: InputMaybe<Array<MarketplaceEnum>>;
4382
4639
  searchTerm?: InputMaybe<Scalars['String']>;
4383
4640
  slugs?: InputMaybe<Array<Scalars['String']>>;
4641
+ sortBy?: InputMaybe<LoanRequestsSortInput>;
4384
4642
  userFilter?: InputMaybe<UserFilter>;
4385
4643
  withLoans?: InputMaybe<Scalars['Boolean']>;
4386
4644
  };
@@ -4425,6 +4683,7 @@ export type QueryListLoanEventsArgs = {
4425
4683
  /** Query for the lending module */
4426
4684
  export type QueryListLoansArgs = {
4427
4685
  after?: InputMaybe<Scalars['String']>;
4686
+ aroundNftId?: InputMaybe<Scalars['Int']>;
4428
4687
  blockchains?: InputMaybe<Array<BlockchainEnum>>;
4429
4688
  borrowers?: InputMaybe<Array<Scalars['String']>>;
4430
4689
  collections?: InputMaybe<Array<Scalars['Int']>>;
@@ -5446,6 +5705,7 @@ export type SubscriptionActivityUpdatesArgs = {
5446
5705
  priceUsd?: InputMaybe<Interval>;
5447
5706
  topEvents?: InputMaybe<Scalars['Boolean']>;
5448
5707
  users?: InputMaybe<Array<Scalars['Address']>>;
5708
+ usersSide?: EventSide;
5449
5709
  };
5450
5710
  export type SubscriptionLendingMarketStatisticsUpdatesArgs = {
5451
5711
  currencyAddresses: Array<Scalars['Address']>;
@@ -5496,11 +5756,13 @@ export type TopLender = {
5496
5756
  defaultRateBps?: Maybe<Scalars['BigInt']>;
5497
5757
  earnings?: Maybe<Scalars['BigInt']>;
5498
5758
  earningsUsd?: Maybe<Scalars['Float']>;
5759
+ name?: Maybe<Scalars['String']>;
5499
5760
  netEaprBps?: Maybe<Scalars['BigInt']>;
5500
5761
  originatedCount: Scalars['Int'];
5501
5762
  outstandingPrincipal?: Maybe<Scalars['BigInt']>;
5502
5763
  outstandingUsd?: Maybe<Scalars['Float']>;
5503
5764
  paidInterest?: Maybe<Scalars['BigInt']>;
5765
+ profilePictureUrl?: Maybe<Scalars['String']>;
5504
5766
  rank: Scalars['Int'];
5505
5767
  refinancedCount: Scalars['Int'];
5506
5768
  settledCount: Scalars['Int'];
@@ -6067,6 +6329,7 @@ export declare enum ValuationBasis {
6067
6329
  ItemBid = "ITEM_BID",
6068
6330
  LastSale = "LAST_SALE",
6069
6331
  Listing = "LISTING",
6332
+ Loan = "LOAN",
6070
6333
  SaleHistory = "SALE_HISTORY",
6071
6334
  TraitFloor = "TRAIT_FLOOR"
6072
6335
  }
@@ -6633,6 +6896,29 @@ export type PublishOrderForNftMutation = {
6633
6896
  marketPlaceAddress: Address;
6634
6897
  };
6635
6898
  };
6899
+ export type PublishOrderForNftSetMutationVariables = Exact<{
6900
+ orderInput: NftSetOrderInput;
6901
+ }>;
6902
+ export type PublishOrderForNftSetMutation = {
6903
+ __typename?: 'Mutation';
6904
+ result: {
6905
+ __typename?: 'SetBidOrder';
6906
+ id: string;
6907
+ status: string;
6908
+ signature: Hex;
6909
+ marketPlaceAddress: Address;
6910
+ } | {
6911
+ __typename?: 'SignatureRequest';
6912
+ key: string;
6913
+ typedData: {
6914
+ __typename?: 'TypedData';
6915
+ types: object;
6916
+ primaryType: string;
6917
+ domain: object;
6918
+ message: object;
6919
+ };
6920
+ };
6921
+ };
6636
6922
  export type PublishOrderForTraitMutationVariables = Exact<{
6637
6923
  orderInput: TraitOrderInput;
6638
6924
  }>;
@@ -7843,8 +8129,9 @@ export type ArtistHolderEdgeFieldPolicy = {
7843
8129
  cursor?: FieldPolicy<any> | FieldReadFunction<any>;
7844
8130
  node?: FieldPolicy<any> | FieldReadFunction<any>;
7845
8131
  };
7846
- export type ArtistHolderInsightsKeySpecifier = ('buckets' | 'editions' | 'everyTypeHolders' | 'holders' | 'items' | 'largestHolderAddress' | 'largestHolderItems' | 'majorityHolders' | 'multiCollectionHolders' | 'oneOfOnes' | 'pfps' | 'series' | 'singletonHolders' | 'topTenItems' | 'unclassified' | ArtistHolderInsightsKeySpecifier)[];
8132
+ export type ArtistHolderInsightsKeySpecifier = ('artworks' | 'buckets' | 'editions' | 'everyTypeHolders' | 'holders' | 'items' | 'largestHolderAddress' | 'largestHolderItems' | 'majorityHolders' | 'multiCollectionHolders' | 'oneOfOnes' | 'pfps' | 'series' | 'singletonHolders' | 'topTenItems' | 'unclassified' | ArtistHolderInsightsKeySpecifier)[];
7847
8133
  export type ArtistHolderInsightsFieldPolicy = {
8134
+ artworks?: FieldPolicy<any> | FieldReadFunction<any>;
7848
8135
  buckets?: FieldPolicy<any> | FieldReadFunction<any>;
7849
8136
  editions?: FieldPolicy<any> | FieldReadFunction<any>;
7850
8137
  everyTypeHolders?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -8426,6 +8713,13 @@ export type CollectionStatisticsFieldPolicy = {
8426
8713
  totalVolume3m?: FieldPolicy<any> | FieldReadFunction<any>;
8427
8714
  totalVolume4m?: FieldPolicy<any> | FieldReadFunction<any>;
8428
8715
  };
8716
+ export type CollectionValuationKeySpecifier = ('collection' | 'unvaluedNfts' | 'value' | 'valuedNfts' | CollectionValuationKeySpecifier)[];
8717
+ export type CollectionValuationFieldPolicy = {
8718
+ collection?: FieldPolicy<any> | FieldReadFunction<any>;
8719
+ unvaluedNfts?: FieldPolicy<any> | FieldReadFunction<any>;
8720
+ value?: FieldPolicy<any> | FieldReadFunction<any>;
8721
+ valuedNfts?: FieldPolicy<any> | FieldReadFunction<any>;
8722
+ };
8429
8723
  export type CollectorsAlsoBoughtKeySpecifier = ('collection' | 'examplePurchases' | 'sharedBuyers' | CollectorsAlsoBoughtKeySpecifier)[];
8430
8724
  export type CollectorsAlsoBoughtFieldPolicy = {
8431
8725
  collection?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -8551,12 +8845,13 @@ export type DealReadinessResultFieldPolicy = {
8551
8845
  canExecute?: FieldPolicy<any> | FieldReadFunction<any>;
8552
8846
  canStartAcceptance?: FieldPolicy<any> | FieldReadFunction<any>;
8553
8847
  };
8554
- export type DelegationKeySpecifier = ('contractAddress' | 'delegateTo' | 'id' | 'nft' | 'timestamp' | DelegationKeySpecifier)[];
8848
+ export type DelegationKeySpecifier = ('contractAddress' | 'delegateTo' | 'id' | 'nft' | 'rights' | 'timestamp' | DelegationKeySpecifier)[];
8555
8849
  export type DelegationFieldPolicy = {
8556
8850
  contractAddress?: FieldPolicy<any> | FieldReadFunction<any>;
8557
8851
  delegateTo?: FieldPolicy<any> | FieldReadFunction<any>;
8558
8852
  id?: FieldPolicy<any> | FieldReadFunction<any>;
8559
8853
  nft?: FieldPolicy<any> | FieldReadFunction<any>;
8854
+ rights?: FieldPolicy<any> | FieldReadFunction<any>;
8560
8855
  timestamp?: FieldPolicy<any> | FieldReadFunction<any>;
8561
8856
  };
8562
8857
  export type DelegationConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | DelegationConnectionKeySpecifier)[];
@@ -8659,6 +8954,34 @@ export type FulfillManyOrdersCalldataFieldPolicy = {
8659
8954
  calldata?: FieldPolicy<any> | FieldReadFunction<any>;
8660
8955
  marketPlaceAddress?: FieldPolicy<any> | FieldReadFunction<any>;
8661
8956
  };
8957
+ export type GalleryKeySpecifier = ('colorMode' | 'coverNft' | 'createdAt' | 'description' | 'id' | 'isPublished' | 'name' | 'openingView' | 'owner' | 'palette' | 'publishedAt' | 'slug' | 'style' | 'updatedAt' | 'visitorModeSwitch' | 'workCount' | 'works' | GalleryKeySpecifier)[];
8958
+ export type GalleryFieldPolicy = {
8959
+ colorMode?: FieldPolicy<any> | FieldReadFunction<any>;
8960
+ coverNft?: FieldPolicy<any> | FieldReadFunction<any>;
8961
+ createdAt?: FieldPolicy<any> | FieldReadFunction<any>;
8962
+ description?: FieldPolicy<any> | FieldReadFunction<any>;
8963
+ id?: FieldPolicy<any> | FieldReadFunction<any>;
8964
+ isPublished?: FieldPolicy<any> | FieldReadFunction<any>;
8965
+ name?: FieldPolicy<any> | FieldReadFunction<any>;
8966
+ openingView?: FieldPolicy<any> | FieldReadFunction<any>;
8967
+ owner?: FieldPolicy<any> | FieldReadFunction<any>;
8968
+ palette?: FieldPolicy<any> | FieldReadFunction<any>;
8969
+ publishedAt?: FieldPolicy<any> | FieldReadFunction<any>;
8970
+ slug?: FieldPolicy<any> | FieldReadFunction<any>;
8971
+ style?: FieldPolicy<any> | FieldReadFunction<any>;
8972
+ updatedAt?: FieldPolicy<any> | FieldReadFunction<any>;
8973
+ visitorModeSwitch?: FieldPolicy<any> | FieldReadFunction<any>;
8974
+ workCount?: FieldPolicy<any> | FieldReadFunction<any>;
8975
+ works?: FieldPolicy<any> | FieldReadFunction<any>;
8976
+ };
8977
+ export type GalleryWorkKeySpecifier = ('chapter' | 'heldByOwner' | 'nft' | 'note' | 'position' | GalleryWorkKeySpecifier)[];
8978
+ export type GalleryWorkFieldPolicy = {
8979
+ chapter?: FieldPolicy<any> | FieldReadFunction<any>;
8980
+ heldByOwner?: FieldPolicy<any> | FieldReadFunction<any>;
8981
+ nft?: FieldPolicy<any> | FieldReadFunction<any>;
8982
+ note?: FieldPolicy<any> | FieldReadFunction<any>;
8983
+ position?: FieldPolicy<any> | FieldReadFunction<any>;
8984
+ };
8662
8985
  export type GlobalSearchResultKeySpecifier = ('id' | GlobalSearchResultKeySpecifier)[];
8663
8986
  export type GlobalSearchResultFieldPolicy = {
8664
8987
  id?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -9473,7 +9796,7 @@ export type MultipleTraitOrderFieldPolicy = {
9473
9796
  traits?: FieldPolicy<any> | FieldReadFunction<any>;
9474
9797
  updatedDate?: FieldPolicy<any> | FieldReadFunction<any>;
9475
9798
  };
9476
- export type MutationKeySpecifier = ('acceptLinkedWallets' | 'addListingsOfNftsFromUser' | 'addOrUpdateListing' | 'addOrUpdateRenegotiationRequest' | 'addOrUpdateTopUpRequest' | 'cancelTradeOrders' | 'completeTwitterVerification' | 'deleteProfilePicture' | 'disconnectTwitter' | 'editUser' | 'followArtist' | 'followCollection' | 'followCollections' | 'followEdition' | 'followNft' | 'followWallet' | 'generateCollectionOfferToBeSigned' | 'generateRenegotiationOfferToBeSigned' | 'generateSignInNonce' | 'generateSingleNftOfferToBeSigned' | 'generateTraitOfferToBeSigned' | 'hideAllOffers' | 'hideOffer' | 'hideOffers' | 'hideOrder' | 'hideRenegotiation' | 'linkWalletAddress' | 'markNotificationIdsAsRead' | 'markNotificationsAsRead' | 'publishBulkOrdersForNfts' | 'publishBuyNowPayLaterOrder' | 'publishDealOrder' | 'publishOrderForCollection' | 'publishOrderForNft' | 'publishOrderForTrait' | 'publishSellAndRepayOrder' | 'recordItemVisit' | 'refreshNftMetadata' | 'removeLinkedWallets' | 'removeListing' | 'removeListingsOfNftsFromUser' | 'removeRenegotiationRequest' | 'removeTopUpRequest' | 'resendVerificationEmail' | 'saveRenegotiationSignedOffer' | 'saveSignedCollectionOffer' | 'saveSignedSingleNftOffer' | 'saveSignedTraitOffer' | 'setMinimumOfferAmount' | 'setNftWatchNotifications' | 'setNotificationPreferences' | 'setReferral' | 'setWatchNotifications' | 'showOffer' | 'showOrder' | 'showRenegotiation' | 'signInWithEthereum' | 'startTwitterVerification' | 'unfollowArtist' | 'unfollowCollection' | 'unfollowEdition' | 'unfollowNft' | 'unfollowWallet' | 'uploadProfilePicture' | 'verifyMailValidationCode' | MutationKeySpecifier)[];
9799
+ export type MutationKeySpecifier = ('acceptLinkedWallets' | 'addListingsOfNftsFromUser' | 'addOrUpdateListing' | 'addOrUpdateRenegotiationRequest' | 'addOrUpdateTopUpRequest' | 'cancelTradeOrders' | 'completeTwitterVerification' | 'createGallery' | 'deleteGallery' | 'deleteProfilePicture' | 'disconnectTwitter' | 'editUser' | 'followArtist' | 'followCollection' | 'followCollections' | 'followEdition' | 'followNft' | 'followWallet' | 'generateCollectionOfferToBeSigned' | 'generateRenegotiationOfferToBeSigned' | 'generateSignInNonce' | 'generateSingleNftOfferToBeSigned' | 'generateTraitOfferToBeSigned' | 'hideAllOffers' | 'hideOffer' | 'hideOffers' | 'hideOrder' | 'hideRenegotiation' | 'linkWalletAddress' | 'markNotificationIdsAsRead' | 'markNotificationsAsRead' | 'publishBulkOrdersForNfts' | 'publishBuyNowPayLaterOrder' | 'publishDealOrder' | 'publishGallery' | 'publishOrderForCollection' | 'publishOrderForNft' | 'publishOrderForNftSet' | 'publishOrderForTrait' | 'publishSellAndRepayOrder' | 'recordItemVisit' | 'refreshNftMetadata' | 'removeLinkedWallets' | 'removeListing' | 'removeListingsOfNftsFromUser' | 'removeRenegotiationRequest' | 'removeTopUpRequest' | 'resendVerificationEmail' | 'saveRenegotiationSignedOffer' | 'saveSignedCollectionOffer' | 'saveSignedSingleNftOffer' | 'saveSignedTraitOffer' | 'setMinimumOfferAmount' | 'setNftWatchNotifications' | 'setNotificationPreferences' | 'setReferral' | 'setWatchNotifications' | 'showOffer' | 'showOrder' | 'showRenegotiation' | 'signInWithEthereum' | 'startTwitterVerification' | 'unfollowArtist' | 'unfollowCollection' | 'unfollowEdition' | 'unfollowNft' | 'unfollowWallet' | 'unpublishGallery' | 'updateGallery' | 'uploadProfilePicture' | 'verifyMailValidationCode' | MutationKeySpecifier)[];
9477
9800
  export type MutationFieldPolicy = {
9478
9801
  acceptLinkedWallets?: FieldPolicy<any> | FieldReadFunction<any>;
9479
9802
  addListingsOfNftsFromUser?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -9482,6 +9805,8 @@ export type MutationFieldPolicy = {
9482
9805
  addOrUpdateTopUpRequest?: FieldPolicy<any> | FieldReadFunction<any>;
9483
9806
  cancelTradeOrders?: FieldPolicy<any> | FieldReadFunction<any>;
9484
9807
  completeTwitterVerification?: FieldPolicy<any> | FieldReadFunction<any>;
9808
+ createGallery?: FieldPolicy<any> | FieldReadFunction<any>;
9809
+ deleteGallery?: FieldPolicy<any> | FieldReadFunction<any>;
9485
9810
  deleteProfilePicture?: FieldPolicy<any> | FieldReadFunction<any>;
9486
9811
  disconnectTwitter?: FieldPolicy<any> | FieldReadFunction<any>;
9487
9812
  editUser?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -9507,8 +9832,10 @@ export type MutationFieldPolicy = {
9507
9832
  publishBulkOrdersForNfts?: FieldPolicy<any> | FieldReadFunction<any>;
9508
9833
  publishBuyNowPayLaterOrder?: FieldPolicy<any> | FieldReadFunction<any>;
9509
9834
  publishDealOrder?: FieldPolicy<any> | FieldReadFunction<any>;
9835
+ publishGallery?: FieldPolicy<any> | FieldReadFunction<any>;
9510
9836
  publishOrderForCollection?: FieldPolicy<any> | FieldReadFunction<any>;
9511
9837
  publishOrderForNft?: FieldPolicy<any> | FieldReadFunction<any>;
9838
+ publishOrderForNftSet?: FieldPolicy<any> | FieldReadFunction<any>;
9512
9839
  publishOrderForTrait?: FieldPolicy<any> | FieldReadFunction<any>;
9513
9840
  publishSellAndRepayOrder?: FieldPolicy<any> | FieldReadFunction<any>;
9514
9841
  recordItemVisit?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -9538,11 +9865,15 @@ export type MutationFieldPolicy = {
9538
9865
  unfollowEdition?: FieldPolicy<any> | FieldReadFunction<any>;
9539
9866
  unfollowNft?: FieldPolicy<any> | FieldReadFunction<any>;
9540
9867
  unfollowWallet?: FieldPolicy<any> | FieldReadFunction<any>;
9868
+ unpublishGallery?: FieldPolicy<any> | FieldReadFunction<any>;
9869
+ updateGallery?: FieldPolicy<any> | FieldReadFunction<any>;
9541
9870
  uploadProfilePicture?: FieldPolicy<any> | FieldReadFunction<any>;
9542
9871
  verifyMailValidationCode?: FieldPolicy<any> | FieldReadFunction<any>;
9543
9872
  };
9544
- export type NFTKeySpecifier = ('activeLoan' | 'animation' | 'artists' | 'collection' | 'collectionId' | 'createdDate' | 'description' | 'edition' | 'editionId' | 'erc20Balances' | 'erc1155Balance' | 'erc1155Supply' | 'id' | 'image' | 'isExcluded' | 'isFlagged' | 'isFollowed' | 'itemType' | 'listed' | 'marketPlaceOfPrice' | 'maxNetPrincipalOffer' | 'mintDate' | 'nakedNft' | 'name' | 'nftId' | 'nftOwnerBehaviorTypes' | 'nftPriceSample' | 'owner' | 'ownerName' | 'ownerProfilePictureUrl' | 'price' | 'priceCurrencyAddress' | 'rarityRank' | 'rarityScore' | 'statistics' | 'tokenId' | 'traits' | 'url' | 'valuation' | 'watchNotificationsEnabled' | 'wrappedCount' | 'wrappersAndNakedNftIds' | 'wrappersAndNakedNfts' | 'wrapsNfts' | NFTKeySpecifier)[];
9873
+ export type NFTKeySpecifier = ('acquiredAt' | 'acquisitionSale' | 'activeLoan' | 'animation' | 'artists' | 'collection' | 'collectionId' | 'createdDate' | 'description' | 'edition' | 'editionId' | 'erc20Balances' | 'erc1155Balance' | 'erc1155Supply' | 'id' | 'image' | 'isExcluded' | 'isFlagged' | 'isFollowed' | 'itemType' | 'listed' | 'marketPlaceOfPrice' | 'maxNetPrincipalOffer' | 'mintDate' | 'nakedNft' | 'name' | 'nftId' | 'nftOwnerBehaviorTypes' | 'nftPriceSample' | 'owner' | 'ownerName' | 'ownerProfilePictureUrl' | 'price' | 'priceCurrencyAddress' | 'rarityRank' | 'rarityScore' | 'statistics' | 'tokenId' | 'traits' | 'url' | 'valuation' | 'watchNotificationsEnabled' | 'wrappedCount' | 'wrappersAndNakedNftIds' | 'wrappersAndNakedNfts' | 'wrapsNfts' | NFTKeySpecifier)[];
9545
9874
  export type NFTFieldPolicy = {
9875
+ acquiredAt?: FieldPolicy<any> | FieldReadFunction<any>;
9876
+ acquisitionSale?: FieldPolicy<any> | FieldReadFunction<any>;
9546
9877
  activeLoan?: FieldPolicy<any> | FieldReadFunction<any>;
9547
9878
  animation?: FieldPolicy<any> | FieldReadFunction<any>;
9548
9879
  artists?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -9912,12 +10243,43 @@ export type PointActivityEdgeFieldPolicy = {
9912
10243
  cursor?: FieldPolicy<any> | FieldReadFunction<any>;
9913
10244
  node?: FieldPolicy<any> | FieldReadFunction<any>;
9914
10245
  };
9915
- export type QueryKeySpecifier = ('collectionMarketDepth' | 'collectorsAlsoBought' | 'dealReadiness' | 'featuredListings' | 'getAddressByName' | 'getAddressByUsername' | 'getArtist' | 'getArtistBySlug' | 'getBorrowingPower' | 'getCancelAllNftOrdersCalldata' | 'getCancelOrdersCalldata' | 'getCollectionActivitiesCount' | 'getCollectionBySlug' | 'getCollectionHighestBidMatchingTraits' | 'getCollectionLoansData' | 'getCollectionOfferSteps' | 'getCollectionsByContractAddress' | 'getCurrency' | 'getEditionBySlug' | 'getFeedId' | 'getFulfillManyOrdersCalldata' | 'getLendingMarketPulse' | 'getListingById' | 'getLoanActivitiesStatisticsByMonth' | 'getLoanById' | 'getMarketOverview' | 'getNftByContractAddressAndTokenId' | 'getNftBySlugAndTokenId' | 'getOrderCancelCalldata' | 'getOrderSaleCalldata' | 'getOutstandingDebt' | 'getOutstandingLoanStatistics' | 'getPointsFromReferrals' | 'getPurchaseBundlerFromOrder' | 'getRealizedProfitsByDay' | 'getReferredWallets' | 'getSaleManyOrdersCalldata' | 'getSellAndRepayOrderSwapCalldata' | 'getSourcesStatistics' | 'getSourcesStatisticsByCollection' | 'getSwapQuote' | 'getSwapRate' | 'getTopLenders' | 'getUserPointActivities' | 'getUserPoints' | 'getWalletFollowStats' | 'getWalletHoldingsSummary' | 'getWalletLendingSummary' | 'getWalletTradingSummary' | 'globalSearch' | 'globalSearchV2' | 'isUsernameAvailable' | 'itemLoanOfferBook' | 'listApprovalExposures' | 'listArtistCatalog' | 'listArtistFollows' | 'listArtistHolderItems' | 'listArtistHolderPopulation' | 'listArtistHolders' | 'listArtistHoldersV2' | 'listArtists' | 'listAuctions' | 'listBids' | 'listBlendLiens' | 'listCollectionFollows' | 'listCollectionHolders' | 'listCollectionTraitFilterOptions' | 'listCollectionTraitKeyOptions' | 'listCollectionTraitTypes' | 'listCollectionTraitValues' | 'listCollections' | 'listCollectionsWithListings' | 'listCollectionsWithLoans' | 'listCurrencies' | 'listDeals' | 'listEditionFollows' | 'listEditions' | 'listEditionsV2' | 'listEvents' | 'listListings' | 'listListingsForSale' | 'listLoanActivities' | 'listLoanEvents' | 'listLoans' | 'listNames' | 'listNftDelegations' | 'listNftFollows' | 'listNftOffersAndRenegotiations' | 'listNftStrategyDeployments' | 'listNfts' | 'listNftsFromCollections' | 'listNftsFromUser' | 'listNotifications' | 'listOffers' | 'listOrders' | 'listOrdersV2' | 'listPlatformFees' | 'listPopularSearches' | 'listProfiles' | 'listRenegotiations' | 'listSales' | 'listSources' | 'listUsers' | 'listWalletFollowers' | 'listWalletFollowing' | 'loanDealCollections' | 'loanDeals' | 'me' | 'minimumOfferAmount' | 'notificationPreferences' | 'previewItemLoanOfferCompetition' | 'previewRenegotiationCompetition' | QueryKeySpecifier)[];
10246
+ export type PortfolioLeaderboardKeySpecifier = ('asOf' | 'endCursor' | 'hasNextPage' | 'rows' | 'totalCount' | 'viewerRank' | PortfolioLeaderboardKeySpecifier)[];
10247
+ export type PortfolioLeaderboardFieldPolicy = {
10248
+ asOf?: FieldPolicy<any> | FieldReadFunction<any>;
10249
+ endCursor?: FieldPolicy<any> | FieldReadFunction<any>;
10250
+ hasNextPage?: FieldPolicy<any> | FieldReadFunction<any>;
10251
+ rows?: FieldPolicy<any> | FieldReadFunction<any>;
10252
+ totalCount?: FieldPolicy<any> | FieldReadFunction<any>;
10253
+ viewerRank?: FieldPolicy<any> | FieldReadFunction<any>;
10254
+ };
10255
+ export type PortfolioLeaderboardRowKeySpecifier = ('collectionCount' | 'name' | 'profilePictureUrl' | 'rank' | 'unvaluedNfts' | 'value' | 'valuedNfts' | 'walletAddress' | 'walletCount' | PortfolioLeaderboardRowKeySpecifier)[];
10256
+ export type PortfolioLeaderboardRowFieldPolicy = {
10257
+ collectionCount?: FieldPolicy<any> | FieldReadFunction<any>;
10258
+ name?: FieldPolicy<any> | FieldReadFunction<any>;
10259
+ profilePictureUrl?: FieldPolicy<any> | FieldReadFunction<any>;
10260
+ rank?: FieldPolicy<any> | FieldReadFunction<any>;
10261
+ unvaluedNfts?: FieldPolicy<any> | FieldReadFunction<any>;
10262
+ value?: FieldPolicy<any> | FieldReadFunction<any>;
10263
+ valuedNfts?: FieldPolicy<any> | FieldReadFunction<any>;
10264
+ walletAddress?: FieldPolicy<any> | FieldReadFunction<any>;
10265
+ walletCount?: FieldPolicy<any> | FieldReadFunction<any>;
10266
+ };
10267
+ export type PortfolioValuationKeySpecifier = ('collections' | 'truncated' | 'unvaluedNfts' | 'value' | 'valuedNfts' | PortfolioValuationKeySpecifier)[];
10268
+ export type PortfolioValuationFieldPolicy = {
10269
+ collections?: FieldPolicy<any> | FieldReadFunction<any>;
10270
+ truncated?: FieldPolicy<any> | FieldReadFunction<any>;
10271
+ unvaluedNfts?: FieldPolicy<any> | FieldReadFunction<any>;
10272
+ value?: FieldPolicy<any> | FieldReadFunction<any>;
10273
+ valuedNfts?: FieldPolicy<any> | FieldReadFunction<any>;
10274
+ };
10275
+ export type QueryKeySpecifier = ('collectionMarketDepth' | 'collectorsAlsoBought' | 'dealReadiness' | 'featuredListings' | 'galleries' | 'gallery' | 'getAddressByName' | 'getAddressByUsername' | 'getArtist' | 'getArtistBySlug' | 'getBorrowingPower' | 'getCancelAllNftOrdersCalldata' | 'getCancelOrdersCalldata' | 'getCollectionActivitiesCount' | 'getCollectionBySlug' | 'getCollectionHighestBidMatchingTraits' | 'getCollectionLoansData' | 'getCollectionOfferSteps' | 'getCollectionsByContractAddress' | 'getCurrency' | 'getEditionBySlug' | 'getFeedId' | 'getFulfillManyOrdersCalldata' | 'getLendingMarketPulse' | 'getListingById' | 'getLoanActivitiesStatisticsByMonth' | 'getLoanById' | 'getMarketOverview' | 'getNftByContractAddressAndTokenId' | 'getNftBySlugAndTokenId' | 'getOrderCancelCalldata' | 'getOrderSaleCalldata' | 'getOutstandingDebt' | 'getOutstandingLoanStatistics' | 'getPointsFromReferrals' | 'getPortfolioLeaderboard' | 'getPortfolioValuation' | 'getPurchaseBundlerFromOrder' | 'getRealizedProfitsByDay' | 'getReferredWallets' | 'getSaleManyOrdersCalldata' | 'getSellAndRepayOrderSwapCalldata' | 'getSourcesStatistics' | 'getSourcesStatisticsByCollection' | 'getSwapQuote' | 'getSwapRate' | 'getTopLenders' | 'getUserPointActivities' | 'getUserPoints' | 'getWalletFollowStats' | 'getWalletHoldingsSummary' | 'getWalletLendingSummary' | 'getWalletTradingSummary' | 'globalSearch' | 'globalSearchV2' | 'isUsernameAvailable' | 'itemLoanOfferBook' | 'listApprovalExposures' | 'listArtistCatalog' | 'listArtistFollows' | 'listArtistHolderItems' | 'listArtistHolderPopulation' | 'listArtistHolders' | 'listArtistHoldersV2' | 'listArtists' | 'listAuctions' | 'listBids' | 'listBlendLiens' | 'listCollectionFollows' | 'listCollectionHolders' | 'listCollectionTraitFilterOptions' | 'listCollectionTraitKeyOptions' | 'listCollectionTraitTypes' | 'listCollectionTraitValues' | 'listCollections' | 'listCollectionsWithListings' | 'listCollectionsWithLoans' | 'listCurrencies' | 'listDeals' | 'listEditionFollows' | 'listEditions' | 'listEditionsV2' | 'listEvents' | 'listListings' | 'listListingsForSale' | 'listLoanActivities' | 'listLoanEvents' | 'listLoans' | 'listNames' | 'listNftDelegations' | 'listNftFollows' | 'listNftOffersAndRenegotiations' | 'listNftStrategyDeployments' | 'listNfts' | 'listNftsFromCollections' | 'listNftsFromUser' | 'listNotifications' | 'listOffers' | 'listOrders' | 'listOrdersV2' | 'listPlatformFees' | 'listPopularSearches' | 'listProfiles' | 'listRenegotiations' | 'listSales' | 'listSources' | 'listUsers' | 'listWalletFollowers' | 'listWalletFollowing' | 'loanDealCollections' | 'loanDeals' | 'me' | 'minimumOfferAmount' | 'notificationPreferences' | 'previewItemLoanOfferCompetition' | 'previewRenegotiationCompetition' | QueryKeySpecifier)[];
9916
10276
  export type QueryFieldPolicy = {
9917
10277
  collectionMarketDepth?: FieldPolicy<any> | FieldReadFunction<any>;
9918
10278
  collectorsAlsoBought?: FieldPolicy<any> | FieldReadFunction<any>;
9919
10279
  dealReadiness?: FieldPolicy<any> | FieldReadFunction<any>;
9920
10280
  featuredListings?: FieldPolicy<any> | FieldReadFunction<any>;
10281
+ galleries?: FieldPolicy<any> | FieldReadFunction<any>;
10282
+ gallery?: FieldPolicy<any> | FieldReadFunction<any>;
9921
10283
  getAddressByName?: FieldPolicy<any> | FieldReadFunction<any>;
9922
10284
  getAddressByUsername?: FieldPolicy<any> | FieldReadFunction<any>;
9923
10285
  getArtist?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -9947,6 +10309,8 @@ export type QueryFieldPolicy = {
9947
10309
  getOutstandingDebt?: FieldPolicy<any> | FieldReadFunction<any>;
9948
10310
  getOutstandingLoanStatistics?: FieldPolicy<any> | FieldReadFunction<any>;
9949
10311
  getPointsFromReferrals?: FieldPolicy<any> | FieldReadFunction<any>;
10312
+ getPortfolioLeaderboard?: FieldPolicy<any> | FieldReadFunction<any>;
10313
+ getPortfolioValuation?: FieldPolicy<any> | FieldReadFunction<any>;
9950
10314
  getPurchaseBundlerFromOrder?: FieldPolicy<any> | FieldReadFunction<any>;
9951
10315
  getRealizedProfitsByDay?: FieldPolicy<any> | FieldReadFunction<any>;
9952
10316
  getReferredWallets?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -10549,17 +10913,19 @@ export type TopHoldersInfoFieldPolicy = {
10549
10913
  multiBluechipHolders?: FieldPolicy<any> | FieldReadFunction<any>;
10550
10914
  sampleSize?: FieldPolicy<any> | FieldReadFunction<any>;
10551
10915
  };
10552
- export type TopLenderKeySpecifier = ('defaultCount' | 'defaultRateBps' | 'earnings' | 'earningsUsd' | 'netEaprBps' | 'originatedCount' | 'outstandingPrincipal' | 'outstandingUsd' | 'paidInterest' | 'rank' | 'refinancedCount' | 'settledCount' | 'walletAddress' | TopLenderKeySpecifier)[];
10916
+ export type TopLenderKeySpecifier = ('defaultCount' | 'defaultRateBps' | 'earnings' | 'earningsUsd' | 'name' | 'netEaprBps' | 'originatedCount' | 'outstandingPrincipal' | 'outstandingUsd' | 'paidInterest' | 'profilePictureUrl' | 'rank' | 'refinancedCount' | 'settledCount' | 'walletAddress' | TopLenderKeySpecifier)[];
10553
10917
  export type TopLenderFieldPolicy = {
10554
10918
  defaultCount?: FieldPolicy<any> | FieldReadFunction<any>;
10555
10919
  defaultRateBps?: FieldPolicy<any> | FieldReadFunction<any>;
10556
10920
  earnings?: FieldPolicy<any> | FieldReadFunction<any>;
10557
10921
  earningsUsd?: FieldPolicy<any> | FieldReadFunction<any>;
10922
+ name?: FieldPolicy<any> | FieldReadFunction<any>;
10558
10923
  netEaprBps?: FieldPolicy<any> | FieldReadFunction<any>;
10559
10924
  originatedCount?: FieldPolicy<any> | FieldReadFunction<any>;
10560
10925
  outstandingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>;
10561
10926
  outstandingUsd?: FieldPolicy<any> | FieldReadFunction<any>;
10562
10927
  paidInterest?: FieldPolicy<any> | FieldReadFunction<any>;
10928
+ profilePictureUrl?: FieldPolicy<any> | FieldReadFunction<any>;
10563
10929
  rank?: FieldPolicy<any> | FieldReadFunction<any>;
10564
10930
  refinancedCount?: FieldPolicy<any> | FieldReadFunction<any>;
10565
10931
  settledCount?: FieldPolicy<any> | FieldReadFunction<any>;
@@ -11180,6 +11546,10 @@ export type StrictTypedTypePolicies = {
11180
11546
  keyFields?: false | CollectionStatisticsKeySpecifier | (() => undefined | CollectionStatisticsKeySpecifier);
11181
11547
  fields?: CollectionStatisticsFieldPolicy;
11182
11548
  };
11549
+ CollectionValuation?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
11550
+ keyFields?: false | CollectionValuationKeySpecifier | (() => undefined | CollectionValuationKeySpecifier);
11551
+ fields?: CollectionValuationFieldPolicy;
11552
+ };
11183
11553
  CollectorsAlsoBought?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
11184
11554
  keyFields?: false | CollectorsAlsoBoughtKeySpecifier | (() => undefined | CollectorsAlsoBoughtKeySpecifier);
11185
11555
  fields?: CollectorsAlsoBoughtFieldPolicy;
@@ -11300,6 +11670,14 @@ export type StrictTypedTypePolicies = {
11300
11670
  keyFields?: false | FulfillManyOrdersCalldataKeySpecifier | (() => undefined | FulfillManyOrdersCalldataKeySpecifier);
11301
11671
  fields?: FulfillManyOrdersCalldataFieldPolicy;
11302
11672
  };
11673
+ Gallery?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
11674
+ keyFields?: false | GalleryKeySpecifier | (() => undefined | GalleryKeySpecifier);
11675
+ fields?: GalleryFieldPolicy;
11676
+ };
11677
+ GalleryWork?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
11678
+ keyFields?: false | GalleryWorkKeySpecifier | (() => undefined | GalleryWorkKeySpecifier);
11679
+ fields?: GalleryWorkFieldPolicy;
11680
+ };
11303
11681
  GlobalSearchResult?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
11304
11682
  keyFields?: false | GlobalSearchResultKeySpecifier | (() => undefined | GlobalSearchResultKeySpecifier);
11305
11683
  fields?: GlobalSearchResultFieldPolicy;
@@ -11740,6 +12118,18 @@ export type StrictTypedTypePolicies = {
11740
12118
  keyFields?: false | PointActivityEdgeKeySpecifier | (() => undefined | PointActivityEdgeKeySpecifier);
11741
12119
  fields?: PointActivityEdgeFieldPolicy;
11742
12120
  };
12121
+ PortfolioLeaderboard?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
12122
+ keyFields?: false | PortfolioLeaderboardKeySpecifier | (() => undefined | PortfolioLeaderboardKeySpecifier);
12123
+ fields?: PortfolioLeaderboardFieldPolicy;
12124
+ };
12125
+ PortfolioLeaderboardRow?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
12126
+ keyFields?: false | PortfolioLeaderboardRowKeySpecifier | (() => undefined | PortfolioLeaderboardRowKeySpecifier);
12127
+ fields?: PortfolioLeaderboardRowFieldPolicy;
12128
+ };
12129
+ PortfolioValuation?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
12130
+ keyFields?: false | PortfolioValuationKeySpecifier | (() => undefined | PortfolioValuationKeySpecifier);
12131
+ fields?: PortfolioValuationFieldPolicy;
12132
+ };
11743
12133
  Query?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
11744
12134
  keyFields?: false | QueryKeySpecifier | (() => undefined | QueryKeySpecifier);
11745
12135
  fields?: QueryFieldPolicy;
@@ -12043,6 +12433,7 @@ export declare const PublishBuyNowPayLaterOrderDocument: DocumentNode;
12043
12433
  export declare const PublishDealDocument: DocumentNode;
12044
12434
  export declare const PublishOrderForCollectionDocument: DocumentNode;
12045
12435
  export declare const PublishOrderForNftDocument: DocumentNode;
12436
+ export declare const PublishOrderForNftSetDocument: DocumentNode;
12046
12437
  export declare const PublishOrderForTraitDocument: DocumentNode;
12047
12438
  export declare const PublishSellAndRepayOrderDocument: DocumentNode;
12048
12439
  export declare const ShowOrderDocument: DocumentNode;
@@ -12087,6 +12478,7 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
12087
12478
  publishDeal(variables: PublishDealMutationVariables, options?: C): Promise<PublishDealMutation>;
12088
12479
  publishOrderForCollection(variables: PublishOrderForCollectionMutationVariables, options?: C): Promise<PublishOrderForCollectionMutation>;
12089
12480
  publishOrderForNft(variables: PublishOrderForNftMutationVariables, options?: C): Promise<PublishOrderForNftMutation>;
12481
+ publishOrderForNftSet(variables: PublishOrderForNftSetMutationVariables, options?: C): Promise<PublishOrderForNftSetMutation>;
12090
12482
  publishOrderForTrait(variables: PublishOrderForTraitMutationVariables, options?: C): Promise<PublishOrderForTraitMutation>;
12091
12483
  publishSellAndRepayOrder(variables: PublishSellAndRepayOrderMutationVariables, options?: C): Promise<PublishSellAndRepayOrderMutation>;
12092
12484
  showOrder(variables: ShowOrderMutationVariables, options?: C): Promise<ShowOrderMutation>;