gondi 0.46.0 → 0.47.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.
- package/dist/index.mjs +366 -195
- package/dist/index.mjs.map +3 -3
- package/dist/src/clients/api/index.d.ts +1 -0
- package/dist/src/generated/graphql/index.d.ts +370 -48
- package/dist/src/gondi.d.ts +31 -6
- package/dist/src/utils/loan.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -23,20 +23,14 @@ export type Scalars = {
|
|
|
23
23
|
Float: number;
|
|
24
24
|
Address: Address;
|
|
25
25
|
BigInt: bigint;
|
|
26
|
-
/** Date (isoformat) */
|
|
27
26
|
Date: any;
|
|
28
|
-
/** Date with time (isoformat) */
|
|
29
27
|
DateTime: Date;
|
|
30
28
|
Hash: Hash;
|
|
31
29
|
Hex: Hex;
|
|
32
|
-
/** 64-bit integer as a JSON number. */
|
|
33
30
|
Int64: any;
|
|
34
|
-
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */
|
|
35
31
|
JSON: object;
|
|
36
32
|
Signature: Hex;
|
|
37
|
-
/** Represents a file upload. */
|
|
38
33
|
Upload: any;
|
|
39
|
-
/** Represents NULL values */
|
|
40
34
|
Void: any;
|
|
41
35
|
};
|
|
42
36
|
export type ActiveOfferNotification = Node & Notification & {
|
|
@@ -196,7 +190,7 @@ export type ArtistEdge = {
|
|
|
196
190
|
cursor: Scalars['String'];
|
|
197
191
|
node: Artist;
|
|
198
192
|
};
|
|
199
|
-
/** A wallet
|
|
193
|
+
/** A wallet holding NFTs linked to the artist through the NFT or collection. Loan-escrowed NFTs belong to their borrower. Counts distinct tokens, including one per ERC1155 token regardless of copies. */
|
|
200
194
|
export type ArtistHolder = {
|
|
201
195
|
__typename?: 'ArtistHolder';
|
|
202
196
|
/** The holder's last 10 sales of NFTs by the artist, newest first; the holder bought when it is the receiver and sold when it is the sender. */
|
|
@@ -235,6 +229,41 @@ export type ArtistHolderEdge = {
|
|
|
235
229
|
cursor: Scalars['String'];
|
|
236
230
|
node: ArtistHolder;
|
|
237
231
|
};
|
|
232
|
+
/** Quantity metrics over eligible holders before wallet search. */
|
|
233
|
+
export type ArtistHolderInsights = {
|
|
234
|
+
__typename?: 'ArtistHolderInsights';
|
|
235
|
+
buckets: Array<ArtistHolderSizeBucket>;
|
|
236
|
+
editions: Scalars['BigInt'];
|
|
237
|
+
/** Holders of every classified type present in the population; null when fewer than two classified types are present. */
|
|
238
|
+
everyTypeHolders?: Maybe<Scalars['Int']>;
|
|
239
|
+
holders: Scalars['Int'];
|
|
240
|
+
items: Scalars['BigInt'];
|
|
241
|
+
largestHolderAddress?: Maybe<Scalars['Address']>;
|
|
242
|
+
largestHolderItems: Scalars['BigInt'];
|
|
243
|
+
/** Fewest wallets holding strictly more than half the items, ordered by quantity. This is not a value-based concentration measure. */
|
|
244
|
+
majorityHolders: Scalars['Int'];
|
|
245
|
+
multiCollectionHolders: Scalars['Int'];
|
|
246
|
+
oneOfOnes: Scalars['BigInt'];
|
|
247
|
+
pfps: Scalars['BigInt'];
|
|
248
|
+
series: Scalars['BigInt'];
|
|
249
|
+
singletonHolders: Scalars['Int'];
|
|
250
|
+
topTenItems: Scalars['BigInt'];
|
|
251
|
+
unclassified: Scalars['BigInt'];
|
|
252
|
+
};
|
|
253
|
+
export type ArtistHolderPopulationConnection = {
|
|
254
|
+
__typename?: 'ArtistHolderPopulationConnection';
|
|
255
|
+
edges: Array<ArtistRankedHolderEdge>;
|
|
256
|
+
insights: ArtistHolderInsights;
|
|
257
|
+
pageInfo: PageInfo;
|
|
258
|
+
/** Eligible holder count before wallet text search. */
|
|
259
|
+
populationCount: Scalars['Int'];
|
|
260
|
+
totalCount: Scalars['Int'];
|
|
261
|
+
/** A wallet's eligible holdings and rank, even outside the loaded page or wallet search. Null if excluded or not a holder. */
|
|
262
|
+
wallet?: Maybe<ArtistRankedHolder>;
|
|
263
|
+
};
|
|
264
|
+
export type ArtistHolderPopulationConnectionWalletArgs = {
|
|
265
|
+
address: Scalars['Address'];
|
|
266
|
+
};
|
|
238
267
|
/** Union of collection, edition, NFT and item-type selections, intersected with the artist. Empty selections mean all artist artworks. */
|
|
239
268
|
export type ArtistHolderScopeInput = {
|
|
240
269
|
collectionIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
@@ -243,6 +272,13 @@ export type ArtistHolderScopeInput = {
|
|
|
243
272
|
matchAll?: Scalars['Boolean'];
|
|
244
273
|
nftIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
245
274
|
};
|
|
275
|
+
export type ArtistHolderSizeBucket = {
|
|
276
|
+
__typename?: 'ArtistHolderSizeBucket';
|
|
277
|
+
holders: Scalars['Int'];
|
|
278
|
+
items: Scalars['BigInt'];
|
|
279
|
+
maximum?: Maybe<Scalars['Int']>;
|
|
280
|
+
minimum: Scalars['Int'];
|
|
281
|
+
};
|
|
246
282
|
export declare enum ArtistHolderSortField {
|
|
247
283
|
EditionsOwned = "EDITIONS_OWNED",
|
|
248
284
|
FirstAcquired = "FIRST_ACQUIRED",
|
|
@@ -256,6 +292,65 @@ export type ArtistHolderSortInput = {
|
|
|
256
292
|
field: ArtistHolderSortField;
|
|
257
293
|
order: Ordering;
|
|
258
294
|
};
|
|
295
|
+
/** 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. */
|
|
296
|
+
export type ArtistHolderV2 = {
|
|
297
|
+
__typename?: 'ArtistHolderV2';
|
|
298
|
+
/** The holder's last 10 sales of NFTs by the artist, newest first; the holder bought when it is the receiver and sold when it is the sender. */
|
|
299
|
+
activity: Array<Sale>;
|
|
300
|
+
address: Scalars['Address'];
|
|
301
|
+
/** Highest-ranked account type classified for this address on any chain: contract wallet, other contract, EIP-7702 delegated EOA, then EOA. Null when unclassified. */
|
|
302
|
+
addressType?: Maybe<AddressType>;
|
|
303
|
+
/** Held Edition items by the artist, counting ERC1155 copies. */
|
|
304
|
+
editionsOwned: Scalars['BigInt'];
|
|
305
|
+
/** When the wallet acquired the earliest NFT by the artist it still holds: the latest transfer or mint of that NFT to the wallet, 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. Null when no such transfer is recorded. */
|
|
306
|
+
firstAcquired?: Maybe<Scalars['DateTime']>;
|
|
307
|
+
id: Scalars['String'];
|
|
308
|
+
/** When the wallet acquired the latest NFT by the artist it still holds, by the same rule as firstAcquired. */
|
|
309
|
+
lastAcquired?: Maybe<Scalars['DateTime']>;
|
|
310
|
+
name?: Maybe<Scalars['String']>;
|
|
311
|
+
/** Held 1/1 items by the artist, counting ERC1155 copies. */
|
|
312
|
+
oneOfOnesOwned: Scalars['BigInt'];
|
|
313
|
+
/** Held items by the artist, counting ERC1155 copies, including unclassified items. */
|
|
314
|
+
ownedAmount: Scalars['BigInt'];
|
|
315
|
+
/** Held PFP items by the artist, counting ERC1155 copies. */
|
|
316
|
+
pfpsOwned: Scalars['BigInt'];
|
|
317
|
+
/** Up to 24 distinct held artworks, with copies grouped by NFT. */
|
|
318
|
+
previewItems: Array<ArtistHolding>;
|
|
319
|
+
profilePictureUrl?: Maybe<Scalars['String']>;
|
|
320
|
+
/** Held Series items by the artist, counting ERC1155 copies. */
|
|
321
|
+
seriesOwned: Scalars['BigInt'];
|
|
322
|
+
/** Held units with no classification; included in ownedAmount. */
|
|
323
|
+
unclassifiedOwned: Scalars['BigInt'];
|
|
324
|
+
};
|
|
325
|
+
export type ArtistHolderV2Connection = {
|
|
326
|
+
__typename?: 'ArtistHolderV2Connection';
|
|
327
|
+
edges: Array<ArtistHolderV2Edge>;
|
|
328
|
+
pageInfo: PageInfo;
|
|
329
|
+
totalCount: Scalars['Int'];
|
|
330
|
+
};
|
|
331
|
+
export type ArtistHolderV2Edge = {
|
|
332
|
+
__typename?: 'ArtistHolderV2Edge';
|
|
333
|
+
cursor: Scalars['String'];
|
|
334
|
+
node: ArtistHolderV2;
|
|
335
|
+
};
|
|
336
|
+
/** One held artwork with its copy quantity and canonical classification. */
|
|
337
|
+
export type ArtistHolding = {
|
|
338
|
+
__typename?: 'ArtistHolding';
|
|
339
|
+
itemType?: Maybe<ItemType>;
|
|
340
|
+
nft: Nft;
|
|
341
|
+
quantity: Scalars['BigInt'];
|
|
342
|
+
};
|
|
343
|
+
export type ArtistHoldingConnection = {
|
|
344
|
+
__typename?: 'ArtistHoldingConnection';
|
|
345
|
+
edges: Array<ArtistHoldingEdge>;
|
|
346
|
+
pageInfo: PageInfo;
|
|
347
|
+
totalCount: Scalars['Int'];
|
|
348
|
+
};
|
|
349
|
+
export type ArtistHoldingEdge = {
|
|
350
|
+
__typename?: 'ArtistHoldingEdge';
|
|
351
|
+
cursor: Scalars['String'];
|
|
352
|
+
node: ArtistHolding;
|
|
353
|
+
};
|
|
259
354
|
/** An artist's sales over trailing windows and the debt of the active loans on their NFTs: principal plus the interest accrued up to now. Sales volume converts each sale to USD at the time of the sale; outstanding debt converts at current rates. */
|
|
260
355
|
export type ArtistMarketStats = {
|
|
261
356
|
__typename?: 'ArtistMarketStats';
|
|
@@ -268,6 +363,44 @@ export type ArtistMarketStats = {
|
|
|
268
363
|
salesVolumeUsd30d: Scalars['Float'];
|
|
269
364
|
salesVolumeUsd365d: Scalars['Float'];
|
|
270
365
|
};
|
|
366
|
+
export type ArtistRankedHolder = {
|
|
367
|
+
__typename?: 'ArtistRankedHolder';
|
|
368
|
+
/** The holder's last 10 sales of NFTs by the artist, newest first; the holder bought when it is the receiver and sold when it is the sender. */
|
|
369
|
+
activity: Array<Sale>;
|
|
370
|
+
address: Scalars['Address'];
|
|
371
|
+
/** Highest-ranked account type classified for this address on any chain: contract wallet, other contract, EIP-7702 delegated EOA, then EOA. Null when unclassified. */
|
|
372
|
+
addressType?: Maybe<AddressType>;
|
|
373
|
+
/** Held Edition items by the artist, counting ERC1155 copies. */
|
|
374
|
+
editionsOwned: Scalars['BigInt'];
|
|
375
|
+
/** When the wallet acquired the earliest NFT by the artist it still holds: the latest transfer or mint of that NFT to the wallet, 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. Null when no such transfer is recorded. */
|
|
376
|
+
firstAcquired?: Maybe<Scalars['DateTime']>;
|
|
377
|
+
id: Scalars['String'];
|
|
378
|
+
/** When the wallet acquired the latest NFT by the artist it still holds, by the same rule as firstAcquired. */
|
|
379
|
+
lastAcquired?: Maybe<Scalars['DateTime']>;
|
|
380
|
+
name?: Maybe<Scalars['String']>;
|
|
381
|
+
/** Held 1/1 items by the artist, counting ERC1155 copies. */
|
|
382
|
+
oneOfOnesOwned: Scalars['BigInt'];
|
|
383
|
+
/** Held items by the artist, counting ERC1155 copies, including unclassified items. */
|
|
384
|
+
ownedAmount: Scalars['BigInt'];
|
|
385
|
+
/** Cursor preceding the 50-row population page containing this holder. Clear wallet text search before using it. */
|
|
386
|
+
pageAfter?: Maybe<Scalars['String']>;
|
|
387
|
+
/** Held PFP items by the artist, counting ERC1155 copies. */
|
|
388
|
+
pfpsOwned: Scalars['BigInt'];
|
|
389
|
+
/** One-based position in the eligible population under the selected sort, before wallet text search. Wallet address breaks remaining ties. */
|
|
390
|
+
populationRank: Scalars['Int'];
|
|
391
|
+
/** Up to 24 distinct held artworks, with copies grouped by NFT. */
|
|
392
|
+
previewItems: Array<ArtistHolding>;
|
|
393
|
+
profilePictureUrl?: Maybe<Scalars['String']>;
|
|
394
|
+
/** Held Series items by the artist, counting ERC1155 copies. */
|
|
395
|
+
seriesOwned: Scalars['BigInt'];
|
|
396
|
+
/** Held units with no classification; included in ownedAmount. */
|
|
397
|
+
unclassifiedOwned: Scalars['BigInt'];
|
|
398
|
+
};
|
|
399
|
+
export type ArtistRankedHolderEdge = {
|
|
400
|
+
__typename?: 'ArtistRankedHolderEdge';
|
|
401
|
+
cursor: Scalars['String'];
|
|
402
|
+
node: ArtistRankedHolder;
|
|
403
|
+
};
|
|
271
404
|
export declare enum ArtistSortField {
|
|
272
405
|
ArtworksCount = "ARTWORKS_COUNT",
|
|
273
406
|
CollectionsCount = "COLLECTIONS_COUNT",
|
|
@@ -603,9 +736,11 @@ export type Collection = Node & {
|
|
|
603
736
|
/** Whether the authenticated user follows this collection. */
|
|
604
737
|
isFollowed: Scalars['Boolean'];
|
|
605
738
|
itemType?: Maybe<ItemType>;
|
|
739
|
+
loansEnabled: Scalars['Boolean'];
|
|
606
740
|
maxNetPrincipalOffer?: Maybe<CollectionOffer>;
|
|
607
741
|
name?: Maybe<Scalars['String']>;
|
|
608
742
|
nftsCount?: Maybe<Scalars['Int']>;
|
|
743
|
+
platformFees: Array<PlatformFee>;
|
|
609
744
|
/** Up to 10 preview NFTs for the collection, optionally filtered by artist. When an artist_id is provided, only NFTs associated with that artist are returned; otherwise any NFTs from the collection, ordered by token_id. */
|
|
610
745
|
previewNfts: Array<Nft>;
|
|
611
746
|
rarityEnabled: Scalars['Boolean'];
|
|
@@ -647,6 +782,11 @@ export type CollectionMaxNetPrincipalOfferArgs = {
|
|
|
647
782
|
currencyAddress: Scalars['Address'];
|
|
648
783
|
};
|
|
649
784
|
/** An NFT collection. */
|
|
785
|
+
export type CollectionPlatformFeesArgs = {
|
|
786
|
+
marketplace?: InputMaybe<MarketPlaceType>;
|
|
787
|
+
operation: PlatformFeeOperationType;
|
|
788
|
+
};
|
|
789
|
+
/** An NFT collection. */
|
|
650
790
|
export type CollectionPreviewNftsArgs = {
|
|
651
791
|
artistId?: InputMaybe<Scalars['Int']>;
|
|
652
792
|
};
|
|
@@ -1288,8 +1428,6 @@ export type DelegationEdge = {
|
|
|
1288
1428
|
export type EditUserInput = {
|
|
1289
1429
|
about?: InputMaybe<Scalars['String']>;
|
|
1290
1430
|
mail?: InputMaybe<Scalars['String']>;
|
|
1291
|
-
/** @deprecated Ignored: an X handle is set by signing in to X. */
|
|
1292
|
-
twitterHandle?: InputMaybe<Scalars['String']>;
|
|
1293
1431
|
url?: InputMaybe<Scalars['String']>;
|
|
1294
1432
|
userId: Scalars['Int'];
|
|
1295
1433
|
username?: InputMaybe<Scalars['String']>;
|
|
@@ -2517,14 +2655,14 @@ export type Mutation = {
|
|
|
2517
2655
|
followNft?: Maybe<Scalars['Void']>;
|
|
2518
2656
|
/** Follow a wallet from the wallet you are signed in with. Every wallet linked to yours then reads it as followed. A wallet of your own account cannot be followed. */
|
|
2519
2657
|
followWallet?: Maybe<Scalars['Void']>;
|
|
2520
|
-
/** This is the first step of the collection loan offer flow. This step populates some fields of the offer. You then have to sign the offer and save it using the method save_signed_collection_offer. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 5, 15 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2658
|
+
/** This is the first step of the collection loan offer flow. This step populates some fields of the offer. You then have to sign the offer and save it using the method save_signed_collection_offer. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 3, 5, 7, 10, 15, 20 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2521
2659
|
generateCollectionOfferToBeSigned: CollectionOffer;
|
|
2522
|
-
/** This is the first step of the renegotiation loan offer flow. This step populates some fields of the offer. You then have to sign the offer and save it using the method save_renegotiation_signed_offer. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 5, 15 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2660
|
+
/** This is the first step of the renegotiation loan offer flow. This step populates some fields of the offer. You then have to sign the offer and save it using the method save_renegotiation_signed_offer. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 3, 5, 7, 10, 15, 20 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2523
2661
|
generateRenegotiationOfferToBeSigned: Renegotiation;
|
|
2524
2662
|
generateSignInNonce: Scalars['String'];
|
|
2525
|
-
/** This is the first step of the single NFT loan offer flow. This step populates some fields of the offer. You then have to sign the offer and save it using the method save_signed_single_nft_offer. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 5, 15 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2663
|
+
/** This is the first step of the single NFT loan offer flow. This step populates some fields of the offer. You then have to sign the offer and save it using the method save_signed_single_nft_offer. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 3, 5, 7, 10, 15, 20 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2526
2664
|
generateSingleNftOfferToBeSigned: SingleNftOffer;
|
|
2527
|
-
/** This is the first step of the trait loan offer flow: an offer any NFT carrying every one of the traits can borrow against. This step populates some fields of the offer, among them the validator holding the token ids that carry them now. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 5, 15 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2665
|
+
/** This is the first step of the trait loan offer flow: an offer any NFT carrying every one of the traits can borrow against. This step populates some fields of the offer, among them the validator holding the token ids that carry them now. `duration` must be a positive whole number of seconds that represents either a multiple of 30 days or one of the special values of 3, 5, 7, 10, 15, 20 or 45 days; otherwise the call fails with INVALID_OFFER_DURATION_ERROR. Refer to gondi-js examples for more details. */
|
|
2528
2666
|
generateTraitOfferToBeSigned: TraitOffer;
|
|
2529
2667
|
/** Hides all loan offers from a user for a given contract address. */
|
|
2530
2668
|
hideAllOffers: Array<Offer>;
|
|
@@ -2566,14 +2704,16 @@ export type Mutation = {
|
|
|
2566
2704
|
/** Removes a loan top-up request. */
|
|
2567
2705
|
removeTopUpRequest: TopUpRequest;
|
|
2568
2706
|
resendVerificationEmail?: Maybe<Scalars['Void']>;
|
|
2569
|
-
/** This is the second step of the renegotiation loan offer flow after generate_renegotiation_offer_to_be_signed. It saves the signed offer. `duration` is re-validated against the allowed values (multiples of 30 days, or 5, 15 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active single-NFT offers and renegotiations for the same (NFT, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveOffersLimitReachedError. The optional `fallback_offer_input` is subject to the same checks. Refer to gondi-js examples for more details. */
|
|
2707
|
+
/** This is the second step of the renegotiation loan offer flow after generate_renegotiation_offer_to_be_signed. It saves the signed offer. `duration` is re-validated against the allowed values (multiples of 30 days, or 3, 5, 7, 10, 15, 20 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active single-NFT offers and renegotiations for the same (NFT, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveOffersLimitReachedError. The optional `fallback_offer_input` is subject to the same checks. Refer to gondi-js examples for more details. */
|
|
2570
2708
|
saveRenegotiationSignedOffer: Renegotiation;
|
|
2571
|
-
/** This is the second step of the collection loan offer flow after generate_collection_offer_to_be_signed. It saves the signed offer. `duration` is re-validated against the allowed values (multiples of 30 days, or 5, 15 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active collection offers for the same (collection, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveCollectionOffersLimitReachedError. Refer to gondi-js examples for more details. */
|
|
2709
|
+
/** This is the second step of the collection loan offer flow after generate_collection_offer_to_be_signed. It saves the signed offer. `duration` is re-validated against the allowed values (multiples of 30 days, or 3, 5, 7, 10, 15, 20 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active collection offers for the same (collection, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveCollectionOffersLimitReachedError. Refer to gondi-js examples for more details. */
|
|
2572
2710
|
saveSignedCollectionOffer: CollectionOffer;
|
|
2573
|
-
/** This is the second step of the single NFT loan offer flow after generate_single_nft_offer_to_be_signed. It saves the signed offer. `duration` is re-validated against the allowed values (multiples of 30 days, or 5, 15 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active single-NFT offers and renegotiations for the same (NFT, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveOffersLimitReachedError. Refer to gondi-js examples for more details. */
|
|
2711
|
+
/** This is the second step of the single NFT loan offer flow after generate_single_nft_offer_to_be_signed. It saves the signed offer. `duration` is re-validated against the allowed values (multiples of 30 days, or 3, 5, 7, 10, 15, 20 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active single-NFT offers and renegotiations for the same (NFT, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveOffersLimitReachedError. Refer to gondi-js examples for more details. */
|
|
2574
2712
|
saveSignedSingleNftOffer: SingleNftOffer;
|
|
2575
|
-
/** This is the second step of the trait loan offer flow after generate_trait_offer_to_be_signed. It saves the signed offer, as long as its validator is still the one the traits produce: if the NFTs carrying them changed since the first step, it fails with INVALID_OFFER_VALIDATORS_ERROR and the offer has to be generated again. `duration` is re-validated against the allowed values (multiples of 30 days, or 5, 15 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active offers for the same (traits, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveTraitOffersLimitReachedError. Refer to gondi-js examples for more details. */
|
|
2713
|
+
/** This is the second step of the trait loan offer flow after generate_trait_offer_to_be_signed. It saves the signed offer, as long as its validator is still the one the traits produce: if the NFTs carrying them changed since the first step, it fails with INVALID_OFFER_VALIDATORS_ERROR and the offer has to be generated again. `duration` is re-validated against the allowed values (multiples of 30 days, or 3, 5, 7, 10, 15, 20 or 45 days) and the call fails with INVALID_OFFER_DURATION_ERROR otherwise. A lender may have at most 2 active offers for the same (traits, loan contract version, duration, principal currency) bucket; saving another one fails with ActiveTraitOffersLimitReachedError. Refer to gondi-js examples for more details. */
|
|
2576
2714
|
saveSignedTraitOffer: TraitOffer;
|
|
2715
|
+
/** Set the minimum offer amount, in US dollars, from the wallet you are signed in with; null or zero clears it. Every wallet linked to yours then reads the same amount. Returns the amount now in force. */
|
|
2716
|
+
setMinimumOfferAmount?: Maybe<Scalars['Float']>;
|
|
2577
2717
|
/** Override the watch-notification switch for one NFT your account watches, or pass null to clear the override so the NFT follows the switch again. An NFT it does not watch fails with NOT_FOUND; unwatching drops the override. */
|
|
2578
2718
|
setNftWatchNotifications?: Maybe<Scalars['Void']>;
|
|
2579
2719
|
/** Turn notification events on or off per channel, from the wallet you are signed in with. Every wallet linked to yours then reads the same choices. Returns the preferences now in force. */
|
|
@@ -2688,7 +2828,6 @@ export type MutationHideOffersArgs = {
|
|
|
2688
2828
|
offerIds: Array<Scalars['String']>;
|
|
2689
2829
|
};
|
|
2690
2830
|
export type MutationHideOrderArgs = {
|
|
2691
|
-
orderId?: InputMaybe<Scalars['Int']>;
|
|
2692
2831
|
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
2693
2832
|
};
|
|
2694
2833
|
export type MutationHideRenegotiationArgs = {
|
|
@@ -2770,6 +2909,9 @@ export type MutationSaveSignedSingleNftOfferArgs = {
|
|
|
2770
2909
|
export type MutationSaveSignedTraitOfferArgs = {
|
|
2771
2910
|
signedOfferInput: TraitSignedOfferInput;
|
|
2772
2911
|
};
|
|
2912
|
+
export type MutationSetMinimumOfferAmountArgs = {
|
|
2913
|
+
amount?: InputMaybe<Scalars['Float']>;
|
|
2914
|
+
};
|
|
2773
2915
|
export type MutationSetNftWatchNotificationsArgs = {
|
|
2774
2916
|
enabled?: InputMaybe<Scalars['Boolean']>;
|
|
2775
2917
|
nftId: Scalars['Int'];
|
|
@@ -2788,7 +2930,6 @@ export type MutationShowOfferArgs = {
|
|
|
2788
2930
|
offerId: Scalars['String'];
|
|
2789
2931
|
};
|
|
2790
2932
|
export type MutationShowOrderArgs = {
|
|
2791
|
-
orderId?: InputMaybe<Scalars['Int']>;
|
|
2792
2933
|
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
2793
2934
|
};
|
|
2794
2935
|
export type MutationShowRenegotiationArgs = {
|
|
@@ -3642,8 +3783,14 @@ export type Query = {
|
|
|
3642
3783
|
listArtistCatalog: ArtistCatalogEntryConnection;
|
|
3643
3784
|
/** Artists any wallet of your account follows, most recently followed first. An artist followed from two of your wallets appears once. */
|
|
3644
3785
|
listArtistFollows: ArtistConnection;
|
|
3786
|
+
/** The holder's artworks in preview order, scoped exactly as listArtistHoldersV2. totalCount counts grouped artworks; each entry carries its copy quantity. */
|
|
3787
|
+
listArtistHolderItems: ArtistHoldingConnection;
|
|
3788
|
+
/** Artist holder population with stable ranks, personal position and lazy quantity insights. Wallet search only narrows rows. */
|
|
3789
|
+
listArtistHolderPopulation: ArtistHolderPopulationConnection;
|
|
3645
3790
|
/** Wallets holding NFTs by the artist, one row per wallet with its owned amount, 1/1s owned, and first and last acquisition. By default, sorted by 1/1s owned, then counts in collections ordered by the stronger of recent sales and current public top bids, then wallet address. */
|
|
3646
3791
|
listArtistHolders: ArtistHolderConnection;
|
|
3792
|
+
/** Quantity-based artist holders. ERC1155 copies count individually; previews group each held artwork. Default ranking preserves 1/1 priority. */
|
|
3793
|
+
listArtistHoldersV2: ArtistHolderV2Connection;
|
|
3647
3794
|
/** List artists/creators, optionally filtered by type. */
|
|
3648
3795
|
listArtists: ArtistConnection;
|
|
3649
3796
|
listAuctions: AuctionConnection;
|
|
@@ -3723,6 +3870,8 @@ export type Query = {
|
|
|
3723
3870
|
/** Listings a GONDI loan can buy, each with the open offer that lends the most on it, ranked by the largest loan or the highest loan-to-value. Highest LTV includes at most three per collection or wrap family, depending on grouping; Largest Loan has no collection cap. `first` is capped at 50. */
|
|
3724
3871
|
loanDeals: Array<LoanDeal>;
|
|
3725
3872
|
me?: Maybe<User>;
|
|
3873
|
+
/** The viewer's account's minimum offer amount, in US dollars: loan and buy offers on its items worth less notify it on no channel. Null when there is none. */
|
|
3874
|
+
minimumOfferAmount?: Maybe<Scalars['Float']>;
|
|
3726
3875
|
/** Every notification event on every channel it reaches, as the viewer's account has it. The most recent choice any of its linked wallets made is the one in force. */
|
|
3727
3876
|
notificationPreferences: Array<NotificationPreference>;
|
|
3728
3877
|
/** Evaluate an item quote before signing; publication rechecks under a transaction lock. */
|
|
@@ -3852,21 +4001,18 @@ export type QueryGetNftBySlugAndTokenIdArgs = {
|
|
|
3852
4001
|
/** Query for the lending module */
|
|
3853
4002
|
export type QueryGetOrderCancelCalldataArgs = {
|
|
3854
4003
|
model?: InputMaybe<OrderModel>;
|
|
3855
|
-
orderId?: InputMaybe<Scalars['Int']>;
|
|
3856
4004
|
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
3857
4005
|
};
|
|
3858
4006
|
/** Query for the lending module */
|
|
3859
4007
|
export type QueryGetOrderSaleCalldataArgs = {
|
|
3860
4008
|
model?: InputMaybe<OrderModel>;
|
|
3861
4009
|
nftId?: InputMaybe<Scalars['Int']>;
|
|
3862
|
-
orderId?: InputMaybe<Scalars['Int']>;
|
|
3863
4010
|
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
3864
4011
|
taker?: InputMaybe<Scalars['Address']>;
|
|
3865
4012
|
};
|
|
3866
4013
|
/** Query for the lending module */
|
|
3867
4014
|
export type QueryGetOutstandingDebtArgs = {
|
|
3868
4015
|
borrowers: Array<Scalars['Address']>;
|
|
3869
|
-
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
3870
4016
|
currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
3871
4017
|
};
|
|
3872
4018
|
/** Query for the lending module */
|
|
@@ -3994,6 +4140,28 @@ export type QueryListArtistFollowsArgs = {
|
|
|
3994
4140
|
first?: Scalars['Int'];
|
|
3995
4141
|
};
|
|
3996
4142
|
/** Query for the lending module */
|
|
4143
|
+
export type QueryListArtistHolderItemsArgs = {
|
|
4144
|
+
after?: InputMaybe<Scalars['String']>;
|
|
4145
|
+
artistId: Scalars['Int'];
|
|
4146
|
+
first?: Scalars['Int'];
|
|
4147
|
+
scope?: InputMaybe<ArtistHolderScopeInput>;
|
|
4148
|
+
wallet: Scalars['Address'];
|
|
4149
|
+
};
|
|
4150
|
+
/** Query for the lending module */
|
|
4151
|
+
export type QueryListArtistHolderPopulationArgs = {
|
|
4152
|
+
addressTypes?: InputMaybe<Array<AddressType>>;
|
|
4153
|
+
after?: InputMaybe<Scalars['String']>;
|
|
4154
|
+
artistId: Scalars['Int'];
|
|
4155
|
+
first?: Scalars['Int'];
|
|
4156
|
+
hasItemType?: InputMaybe<ItemType>;
|
|
4157
|
+
hideArtistAndBurnWallets?: Scalars['Boolean'];
|
|
4158
|
+
includeCustodians?: Scalars['Boolean'];
|
|
4159
|
+
ownedAmount?: InputMaybe<RangeInput>;
|
|
4160
|
+
scope?: InputMaybe<ArtistHolderScopeInput>;
|
|
4161
|
+
searchTerm?: InputMaybe<Scalars['String']>;
|
|
4162
|
+
sortBy?: InputMaybe<Array<ArtistHolderSortInput>>;
|
|
4163
|
+
};
|
|
4164
|
+
/** Query for the lending module */
|
|
3997
4165
|
export type QueryListArtistHoldersArgs = {
|
|
3998
4166
|
addressTypes?: InputMaybe<Array<AddressType>>;
|
|
3999
4167
|
after?: InputMaybe<Scalars['String']>;
|
|
@@ -4007,6 +4175,21 @@ export type QueryListArtistHoldersArgs = {
|
|
|
4007
4175
|
walletAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4008
4176
|
};
|
|
4009
4177
|
/** Query for the lending module */
|
|
4178
|
+
export type QueryListArtistHoldersV2Args = {
|
|
4179
|
+
addressTypes?: InputMaybe<Array<AddressType>>;
|
|
4180
|
+
after?: InputMaybe<Scalars['String']>;
|
|
4181
|
+
artistId: Scalars['Int'];
|
|
4182
|
+
first?: Scalars['Int'];
|
|
4183
|
+
hasItemType?: InputMaybe<ItemType>;
|
|
4184
|
+
hideArtistAndBurnWallets?: Scalars['Boolean'];
|
|
4185
|
+
includeCustodians?: Scalars['Boolean'];
|
|
4186
|
+
ownedAmount?: InputMaybe<RangeInput>;
|
|
4187
|
+
scope?: InputMaybe<ArtistHolderScopeInput>;
|
|
4188
|
+
searchTerm?: InputMaybe<Scalars['String']>;
|
|
4189
|
+
sortBy?: InputMaybe<Array<ArtistHolderSortInput>>;
|
|
4190
|
+
walletAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4191
|
+
};
|
|
4192
|
+
/** Query for the lending module */
|
|
4010
4193
|
export type QueryListArtistsArgs = {
|
|
4011
4194
|
after?: InputMaybe<Scalars['String']>;
|
|
4012
4195
|
artistType?: InputMaybe<ArtistType>;
|
|
@@ -4030,9 +4213,7 @@ export type QueryListBidsArgs = {
|
|
|
4030
4213
|
after?: InputMaybe<Scalars['String']>;
|
|
4031
4214
|
auctionId?: InputMaybe<Scalars['String']>;
|
|
4032
4215
|
auctionStatuses?: InputMaybe<Array<AuctionStatus>>;
|
|
4033
|
-
bidder?: InputMaybe<Scalars['String']>;
|
|
4034
4216
|
bidders?: InputMaybe<Array<Scalars['String']>>;
|
|
4035
|
-
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
4036
4217
|
currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4037
4218
|
first?: InputMaybe<Scalars['Int']>;
|
|
4038
4219
|
onlyLatest?: Scalars['Boolean'];
|
|
@@ -4075,7 +4256,6 @@ export type QueryListCollectionTraitKeyOptionsArgs = {
|
|
|
4075
4256
|
/** Query for the lending module */
|
|
4076
4257
|
export type QueryListCollectionTraitTypesArgs = {
|
|
4077
4258
|
after?: InputMaybe<Scalars['String']>;
|
|
4078
|
-
collectionId?: InputMaybe<Scalars['Int']>;
|
|
4079
4259
|
collectionIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
4080
4260
|
first?: Scalars['Int'];
|
|
4081
4261
|
valueType?: InputMaybe<TraitValueType>;
|
|
@@ -4083,7 +4263,6 @@ export type QueryListCollectionTraitTypesArgs = {
|
|
|
4083
4263
|
/** Query for the lending module */
|
|
4084
4264
|
export type QueryListCollectionTraitValuesArgs = {
|
|
4085
4265
|
after?: InputMaybe<Scalars['String']>;
|
|
4086
|
-
collectionId?: InputMaybe<Scalars['Int']>;
|
|
4087
4266
|
collectionIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
4088
4267
|
first?: Scalars['Int'];
|
|
4089
4268
|
higherTraitOffersOnly?: Scalars['Boolean'];
|
|
@@ -4194,7 +4373,6 @@ export type QueryListListingsArgs = {
|
|
|
4194
4373
|
after?: InputMaybe<Scalars['String']>;
|
|
4195
4374
|
blockchains?: InputMaybe<Array<BlockchainEnum>>;
|
|
4196
4375
|
collectionIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
4197
|
-
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
4198
4376
|
currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4199
4377
|
editionIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
4200
4378
|
excludeSlugs?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -4213,7 +4391,6 @@ export type QueryListListingsForSaleArgs = {
|
|
|
4213
4391
|
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
4214
4392
|
first?: InputMaybe<Scalars['Int']>;
|
|
4215
4393
|
forTaker?: InputMaybe<Scalars['Address']>;
|
|
4216
|
-
hidden?: InputMaybe<Scalars['Boolean']>;
|
|
4217
4394
|
maker?: InputMaybe<Scalars['Address']>;
|
|
4218
4395
|
nftId?: InputMaybe<Scalars['Int']>;
|
|
4219
4396
|
sortBy?: InputMaybe<Array<OrderSortInput>>;
|
|
@@ -4249,14 +4426,11 @@ export type QueryListLoanEventsArgs = {
|
|
|
4249
4426
|
export type QueryListLoansArgs = {
|
|
4250
4427
|
after?: InputMaybe<Scalars['String']>;
|
|
4251
4428
|
blockchains?: InputMaybe<Array<BlockchainEnum>>;
|
|
4252
|
-
borrowerAddress?: InputMaybe<Scalars['String']>;
|
|
4253
4429
|
borrowers?: InputMaybe<Array<Scalars['String']>>;
|
|
4254
4430
|
collections?: InputMaybe<Array<Scalars['Int']>>;
|
|
4255
4431
|
contractAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4256
|
-
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
4257
4432
|
currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4258
4433
|
excludeAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4259
|
-
excludeOwn?: InputMaybe<Scalars['Boolean']>;
|
|
4260
4434
|
excludeSlugs?: InputMaybe<Array<Scalars['String']>>;
|
|
4261
4435
|
first?: Scalars['Int'];
|
|
4262
4436
|
hideEndLocked?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -4272,8 +4446,6 @@ export type QueryListLoansArgs = {
|
|
|
4272
4446
|
statuses?: InputMaybe<Array<LoanStatusType>>;
|
|
4273
4447
|
terms?: InputMaybe<TermsFilter>;
|
|
4274
4448
|
traits?: InputMaybe<Array<Scalars['Int']>>;
|
|
4275
|
-
withRenegRequestOnly?: Scalars['Boolean'];
|
|
4276
|
-
withTopUpRequestOnly?: Scalars['Boolean'];
|
|
4277
4449
|
};
|
|
4278
4450
|
/** Query for the lending module */
|
|
4279
4451
|
export type QueryListNamesArgs = {
|
|
@@ -4296,14 +4468,11 @@ export type QueryListNftOffersAndRenegotiationsArgs = {
|
|
|
4296
4468
|
after?: InputMaybe<Scalars['String']>;
|
|
4297
4469
|
blockchains?: InputMaybe<Array<BlockchainEnum>>;
|
|
4298
4470
|
collections?: InputMaybe<Array<Scalars['Int']>>;
|
|
4299
|
-
contractAddress?: InputMaybe<Scalars['Address']>;
|
|
4300
4471
|
contractAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4301
|
-
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
4302
4472
|
currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4303
4473
|
first?: InputMaybe<Scalars['Int']>;
|
|
4304
4474
|
hidden?: InputMaybe<Scalars['Boolean']>;
|
|
4305
4475
|
isAddNewTranche?: InputMaybe<Scalars['Boolean']>;
|
|
4306
|
-
lenderAddress?: InputMaybe<Scalars['String']>;
|
|
4307
4476
|
lenders?: InputMaybe<Array<Scalars['String']>>;
|
|
4308
4477
|
loanId?: InputMaybe<Scalars['String']>;
|
|
4309
4478
|
nfts?: InputMaybe<Array<Scalars['Int']>>;
|
|
@@ -4393,14 +4562,12 @@ export type QueryListOffersArgs = {
|
|
|
4393
4562
|
blockchains?: InputMaybe<Array<BlockchainEnum>>;
|
|
4394
4563
|
borrowerAddress?: InputMaybe<Scalars['String']>;
|
|
4395
4564
|
collections?: InputMaybe<Array<Scalars['Int']>>;
|
|
4396
|
-
contractAddress?: InputMaybe<Scalars['Address']>;
|
|
4397
4565
|
contractAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4398
4566
|
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
4399
4567
|
editionIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
4400
4568
|
excludeLenders?: InputMaybe<Array<Scalars['Address']>>;
|
|
4401
4569
|
first?: InputMaybe<Scalars['Int']>;
|
|
4402
4570
|
hidden?: InputMaybe<Scalars['Boolean']>;
|
|
4403
|
-
lenderAddress?: InputMaybe<Scalars['String']>;
|
|
4404
4571
|
lenders?: InputMaybe<Array<Scalars['String']>>;
|
|
4405
4572
|
nfts?: InputMaybe<Array<Scalars['Int']>>;
|
|
4406
4573
|
onlyCollectionOffers?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -4424,7 +4591,6 @@ export type QueryListOrdersArgs = {
|
|
|
4424
4591
|
marketplaceIds?: InputMaybe<Array<Scalars['String']>>;
|
|
4425
4592
|
marketplaces?: InputMaybe<Array<MarketPlaceType>>;
|
|
4426
4593
|
nftId?: InputMaybe<Scalars['Int']>;
|
|
4427
|
-
nftIds?: InputMaybe<Array<Scalars['Int']>>;
|
|
4428
4594
|
onlyInvalid?: InputMaybe<Scalars['Boolean']>;
|
|
4429
4595
|
orderType?: InputMaybe<OrderType>;
|
|
4430
4596
|
sortBy?: InputMaybe<Array<OrderSortInput>>;
|
|
@@ -4451,7 +4617,6 @@ export type QueryListOrdersV2Args = {
|
|
|
4451
4617
|
marketplaceIds?: InputMaybe<Array<Scalars['String']>>;
|
|
4452
4618
|
marketplaces?: InputMaybe<Array<MarketPlaceType>>;
|
|
4453
4619
|
matchMode?: OrderMatchMode;
|
|
4454
|
-
nft?: InputMaybe<OrderForNft>;
|
|
4455
4620
|
nfts?: InputMaybe<Array<OrderForNft>>;
|
|
4456
4621
|
onlyInvalid?: InputMaybe<Scalars['Boolean']>;
|
|
4457
4622
|
orderTypes?: InputMaybe<Array<CollectionOrderType>>;
|
|
@@ -4513,23 +4678,19 @@ export type QueryListSourcesArgs = {
|
|
|
4513
4678
|
blockchains?: InputMaybe<Array<BlockchainEnum>>;
|
|
4514
4679
|
collections?: InputMaybe<Array<Scalars['Int']>>;
|
|
4515
4680
|
contractAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4516
|
-
currencyAddress?: InputMaybe<Scalars['Address']>;
|
|
4517
4681
|
currencyAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4518
4682
|
excludeAddresses?: InputMaybe<Array<Scalars['Address']>>;
|
|
4519
|
-
excludeOwn?: InputMaybe<Scalars['Boolean']>;
|
|
4520
4683
|
excludeSlugs?: InputMaybe<Array<Scalars['String']>>;
|
|
4521
4684
|
first?: Scalars['Int'];
|
|
4522
4685
|
hideEndLocked?: InputMaybe<Scalars['Boolean']>;
|
|
4523
4686
|
hideLocked?: InputMaybe<Scalars['Boolean']>;
|
|
4524
4687
|
includeLost?: InputMaybe<Scalars['Boolean']>;
|
|
4525
|
-
lenderAddress?: InputMaybe<Scalars['String']>;
|
|
4526
4688
|
lenders?: InputMaybe<Array<Scalars['String']>>;
|
|
4527
4689
|
loanPrincipal?: InputMaybe<Interval>;
|
|
4528
4690
|
slugs?: InputMaybe<Array<Scalars['String']>>;
|
|
4529
4691
|
sortBy?: InputMaybe<Array<SourceSortInput>>;
|
|
4530
4692
|
statuses?: InputMaybe<Array<LoanStatusType>>;
|
|
4531
4693
|
terms?: InputMaybe<TermsFilter>;
|
|
4532
|
-
withdrawalQueues?: InputMaybe<Array<Scalars['Int']>>;
|
|
4533
4694
|
};
|
|
4534
4695
|
/** Query for the lending module */
|
|
4535
4696
|
export type QueryListUsersArgs = {
|
|
@@ -4618,6 +4779,8 @@ export type Renegotiation = Event & Node & {
|
|
|
4618
4779
|
nft: Nft;
|
|
4619
4780
|
offerHash?: Maybe<Scalars['Hash']>;
|
|
4620
4781
|
principalAmount: Scalars['BigInt'];
|
|
4782
|
+
/** Whether only the loan's borrower and the lender see it. */
|
|
4783
|
+
private: Scalars['Boolean'];
|
|
4621
4784
|
renegotiationId: Scalars['BigInt'];
|
|
4622
4785
|
repayment: Scalars['BigInt'];
|
|
4623
4786
|
requiresLiquidation: Scalars['Boolean'];
|
|
@@ -4913,6 +5076,8 @@ export type SignedRenegotiationOfferInput = {
|
|
|
4913
5076
|
loanId: Scalars['String'];
|
|
4914
5077
|
offerHash: Scalars['Hash'];
|
|
4915
5078
|
principalAmount: Scalars['BigInt'];
|
|
5079
|
+
/** Only the loan's borrower and the lender see the offer. Allowed only for a principal worth at least the private minimum in USD. */
|
|
5080
|
+
private?: Scalars['Boolean'];
|
|
4916
5081
|
renegotiationId: Scalars['BigInt'];
|
|
4917
5082
|
requiresLiquidation?: InputMaybe<Scalars['Boolean']>;
|
|
4918
5083
|
signature: Scalars['Signature'];
|
|
@@ -7678,6 +7843,86 @@ export type ArtistHolderEdgeFieldPolicy = {
|
|
|
7678
7843
|
cursor?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7679
7844
|
node?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7680
7845
|
};
|
|
7846
|
+
export type ArtistHolderInsightsKeySpecifier = ('buckets' | 'editions' | 'everyTypeHolders' | 'holders' | 'items' | 'largestHolderAddress' | 'largestHolderItems' | 'majorityHolders' | 'multiCollectionHolders' | 'oneOfOnes' | 'pfps' | 'series' | 'singletonHolders' | 'topTenItems' | 'unclassified' | ArtistHolderInsightsKeySpecifier)[];
|
|
7847
|
+
export type ArtistHolderInsightsFieldPolicy = {
|
|
7848
|
+
buckets?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7849
|
+
editions?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7850
|
+
everyTypeHolders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7851
|
+
holders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7852
|
+
items?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7853
|
+
largestHolderAddress?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7854
|
+
largestHolderItems?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7855
|
+
majorityHolders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7856
|
+
multiCollectionHolders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7857
|
+
oneOfOnes?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7858
|
+
pfps?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7859
|
+
series?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7860
|
+
singletonHolders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7861
|
+
topTenItems?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7862
|
+
unclassified?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7863
|
+
};
|
|
7864
|
+
export type ArtistHolderPopulationConnectionKeySpecifier = ('edges' | 'insights' | 'pageInfo' | 'populationCount' | 'totalCount' | 'wallet' | ArtistHolderPopulationConnectionKeySpecifier)[];
|
|
7865
|
+
export type ArtistHolderPopulationConnectionFieldPolicy = {
|
|
7866
|
+
edges?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7867
|
+
insights?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7868
|
+
pageInfo?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7869
|
+
populationCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7870
|
+
totalCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7871
|
+
wallet?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7872
|
+
};
|
|
7873
|
+
export type ArtistHolderSizeBucketKeySpecifier = ('holders' | 'items' | 'maximum' | 'minimum' | ArtistHolderSizeBucketKeySpecifier)[];
|
|
7874
|
+
export type ArtistHolderSizeBucketFieldPolicy = {
|
|
7875
|
+
holders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7876
|
+
items?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7877
|
+
maximum?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7878
|
+
minimum?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7879
|
+
};
|
|
7880
|
+
export type ArtistHolderV2KeySpecifier = ('activity' | 'address' | 'addressType' | 'editionsOwned' | 'firstAcquired' | 'id' | 'lastAcquired' | 'name' | 'oneOfOnesOwned' | 'ownedAmount' | 'pfpsOwned' | 'previewItems' | 'profilePictureUrl' | 'seriesOwned' | 'unclassifiedOwned' | ArtistHolderV2KeySpecifier)[];
|
|
7881
|
+
export type ArtistHolderV2FieldPolicy = {
|
|
7882
|
+
activity?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7883
|
+
address?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7884
|
+
addressType?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7885
|
+
editionsOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7886
|
+
firstAcquired?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7887
|
+
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7888
|
+
lastAcquired?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7889
|
+
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7890
|
+
oneOfOnesOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7891
|
+
ownedAmount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7892
|
+
pfpsOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7893
|
+
previewItems?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7894
|
+
profilePictureUrl?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7895
|
+
seriesOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7896
|
+
unclassifiedOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7897
|
+
};
|
|
7898
|
+
export type ArtistHolderV2ConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | ArtistHolderV2ConnectionKeySpecifier)[];
|
|
7899
|
+
export type ArtistHolderV2ConnectionFieldPolicy = {
|
|
7900
|
+
edges?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7901
|
+
pageInfo?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7902
|
+
totalCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7903
|
+
};
|
|
7904
|
+
export type ArtistHolderV2EdgeKeySpecifier = ('cursor' | 'node' | ArtistHolderV2EdgeKeySpecifier)[];
|
|
7905
|
+
export type ArtistHolderV2EdgeFieldPolicy = {
|
|
7906
|
+
cursor?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7907
|
+
node?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7908
|
+
};
|
|
7909
|
+
export type ArtistHoldingKeySpecifier = ('itemType' | 'nft' | 'quantity' | ArtistHoldingKeySpecifier)[];
|
|
7910
|
+
export type ArtistHoldingFieldPolicy = {
|
|
7911
|
+
itemType?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7912
|
+
nft?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7913
|
+
quantity?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7914
|
+
};
|
|
7915
|
+
export type ArtistHoldingConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | ArtistHoldingConnectionKeySpecifier)[];
|
|
7916
|
+
export type ArtistHoldingConnectionFieldPolicy = {
|
|
7917
|
+
edges?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7918
|
+
pageInfo?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7919
|
+
totalCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7920
|
+
};
|
|
7921
|
+
export type ArtistHoldingEdgeKeySpecifier = ('cursor' | 'node' | ArtistHoldingEdgeKeySpecifier)[];
|
|
7922
|
+
export type ArtistHoldingEdgeFieldPolicy = {
|
|
7923
|
+
cursor?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7924
|
+
node?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7925
|
+
};
|
|
7681
7926
|
export type ArtistMarketStatsKeySpecifier = ('activeLoansCount' | 'outstandingDebtUsd' | 'salesCount7d' | 'salesCount30d' | 'salesCount365d' | 'salesVolumeUsd7d' | 'salesVolumeUsd30d' | 'salesVolumeUsd365d' | ArtistMarketStatsKeySpecifier)[];
|
|
7682
7927
|
export type ArtistMarketStatsFieldPolicy = {
|
|
7683
7928
|
activeLoansCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -7689,6 +7934,31 @@ export type ArtistMarketStatsFieldPolicy = {
|
|
|
7689
7934
|
salesVolumeUsd30d?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7690
7935
|
salesVolumeUsd365d?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7691
7936
|
};
|
|
7937
|
+
export type ArtistRankedHolderKeySpecifier = ('activity' | 'address' | 'addressType' | 'editionsOwned' | 'firstAcquired' | 'id' | 'lastAcquired' | 'name' | 'oneOfOnesOwned' | 'ownedAmount' | 'pageAfter' | 'pfpsOwned' | 'populationRank' | 'previewItems' | 'profilePictureUrl' | 'seriesOwned' | 'unclassifiedOwned' | ArtistRankedHolderKeySpecifier)[];
|
|
7938
|
+
export type ArtistRankedHolderFieldPolicy = {
|
|
7939
|
+
activity?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7940
|
+
address?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7941
|
+
addressType?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7942
|
+
editionsOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7943
|
+
firstAcquired?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7944
|
+
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7945
|
+
lastAcquired?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7946
|
+
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7947
|
+
oneOfOnesOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7948
|
+
ownedAmount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7949
|
+
pageAfter?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7950
|
+
pfpsOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7951
|
+
populationRank?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7952
|
+
previewItems?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7953
|
+
profilePictureUrl?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7954
|
+
seriesOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7955
|
+
unclassifiedOwned?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7956
|
+
};
|
|
7957
|
+
export type ArtistRankedHolderEdgeKeySpecifier = ('cursor' | 'node' | ArtistRankedHolderEdgeKeySpecifier)[];
|
|
7958
|
+
export type ArtistRankedHolderEdgeFieldPolicy = {
|
|
7959
|
+
cursor?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7960
|
+
node?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7961
|
+
};
|
|
7692
7962
|
export type AskCancelledNotificationKeySpecifier = ('createdOn' | 'id' | 'notificationType' | 'order' | 'orderId' | 'readOn' | 'user' | AskCancelledNotificationKeySpecifier)[];
|
|
7693
7963
|
export type AskCancelledNotificationFieldPolicy = {
|
|
7694
7964
|
createdOn?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -7911,7 +8181,7 @@ export type CancelTradeOrdersResultFieldPolicy = {
|
|
|
7911
8181
|
cancelledOrders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7912
8182
|
onChainOrderIds?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7913
8183
|
};
|
|
7914
|
-
export type CollectionKeySpecifier = ('actionsEnabled' | 'artistArtworksCount' | 'artistFloorPrice' | 'artistNumberOfSales1d' | 'artistTotalVolume1d' | 'artistUniqueCollectorsCount' | 'artists' | 'bannerImage' | 'collectionUrl' | 'contractData' | 'description' | 'discordUrl' | 'editionIds' | 'erc1155Supply' | 'externalUrl' | 'followersCount' | 'hasTransferValidator' | 'holderStatistics' | 'id' | 'image' | 'imageId' | 'isFollowed' | 'itemType' | 'maxNetPrincipalOffer' | 'name' | 'nftsCount' | 'previewNfts' | 'rarityEnabled' | 'royalties' | 'slug' | 'statistics' | 'supply' | 'traitOffersEnabled' | 'twitterUsername' | 'uniqueCollectors' | 'verified' | 'whitelistedSupply' | 'wrappedCollection' | 'wrappedCollectionId' | 'wrapperCollections' | CollectionKeySpecifier)[];
|
|
8184
|
+
export type CollectionKeySpecifier = ('actionsEnabled' | 'artistArtworksCount' | 'artistFloorPrice' | 'artistNumberOfSales1d' | 'artistTotalVolume1d' | 'artistUniqueCollectorsCount' | 'artists' | 'bannerImage' | 'collectionUrl' | 'contractData' | 'description' | 'discordUrl' | 'editionIds' | 'erc1155Supply' | 'externalUrl' | 'followersCount' | 'hasTransferValidator' | 'holderStatistics' | 'id' | 'image' | 'imageId' | 'isFollowed' | 'itemType' | 'loansEnabled' | 'maxNetPrincipalOffer' | 'name' | 'nftsCount' | 'platformFees' | 'previewNfts' | 'rarityEnabled' | 'royalties' | 'slug' | 'statistics' | 'supply' | 'traitOffersEnabled' | 'twitterUsername' | 'uniqueCollectors' | 'verified' | 'whitelistedSupply' | 'wrappedCollection' | 'wrappedCollectionId' | 'wrapperCollections' | CollectionKeySpecifier)[];
|
|
7915
8185
|
export type CollectionFieldPolicy = {
|
|
7916
8186
|
actionsEnabled?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7917
8187
|
artistArtworksCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -7936,9 +8206,11 @@ export type CollectionFieldPolicy = {
|
|
|
7936
8206
|
imageId?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7937
8207
|
isFollowed?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7938
8208
|
itemType?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
8209
|
+
loansEnabled?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7939
8210
|
maxNetPrincipalOffer?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7940
8211
|
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7941
8212
|
nftsCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
8213
|
+
platformFees?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7942
8214
|
previewNfts?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7943
8215
|
rarityEnabled?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
7944
8216
|
royalties?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -9201,7 +9473,7 @@ export type MultipleTraitOrderFieldPolicy = {
|
|
|
9201
9473
|
traits?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9202
9474
|
updatedDate?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9203
9475
|
};
|
|
9204
|
-
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' | 'setNftWatchNotifications' | 'setNotificationPreferences' | 'setReferral' | 'setWatchNotifications' | 'showOffer' | 'showOrder' | 'showRenegotiation' | 'signInWithEthereum' | 'startTwitterVerification' | 'unfollowArtist' | 'unfollowCollection' | 'unfollowEdition' | 'unfollowNft' | 'unfollowWallet' | 'uploadProfilePicture' | 'verifyMailValidationCode' | MutationKeySpecifier)[];
|
|
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)[];
|
|
9205
9477
|
export type MutationFieldPolicy = {
|
|
9206
9478
|
acceptLinkedWallets?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9207
9479
|
addListingsOfNftsFromUser?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -9251,6 +9523,7 @@ export type MutationFieldPolicy = {
|
|
|
9251
9523
|
saveSignedCollectionOffer?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9252
9524
|
saveSignedSingleNftOffer?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9253
9525
|
saveSignedTraitOffer?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9526
|
+
setMinimumOfferAmount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9254
9527
|
setNftWatchNotifications?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9255
9528
|
setNotificationPreferences?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9256
9529
|
setReferral?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -9639,7 +9912,7 @@ export type PointActivityEdgeFieldPolicy = {
|
|
|
9639
9912
|
cursor?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9640
9913
|
node?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9641
9914
|
};
|
|
9642
|
-
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' | 'listArtistHolders' | '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' | 'notificationPreferences' | 'previewItemLoanOfferCompetition' | 'previewRenegotiationCompetition' | QueryKeySpecifier)[];
|
|
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)[];
|
|
9643
9916
|
export type QueryFieldPolicy = {
|
|
9644
9917
|
collectionMarketDepth?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9645
9918
|
collectorsAlsoBought?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -9697,7 +9970,10 @@ export type QueryFieldPolicy = {
|
|
|
9697
9970
|
listApprovalExposures?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9698
9971
|
listArtistCatalog?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9699
9972
|
listArtistFollows?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9973
|
+
listArtistHolderItems?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9974
|
+
listArtistHolderPopulation?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9700
9975
|
listArtistHolders?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9976
|
+
listArtistHoldersV2?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9701
9977
|
listArtists?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9702
9978
|
listAuctions?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9703
9979
|
listBids?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -9746,6 +10022,7 @@ export type QueryFieldPolicy = {
|
|
|
9746
10022
|
loanDealCollections?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9747
10023
|
loanDeals?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9748
10024
|
me?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
10025
|
+
minimumOfferAmount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9749
10026
|
notificationPreferences?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9750
10027
|
previewItemLoanOfferCompetition?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9751
10028
|
previewRenegotiationCompetition?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -9757,7 +10034,7 @@ export type RealizedProfitDayFieldPolicy = {
|
|
|
9757
10034
|
netProfit?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9758
10035
|
profit?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9759
10036
|
};
|
|
9760
|
-
export type RenegotiationKeySpecifier = ('aprBps' | 'availablePrincipalAmount' | 'createdDate' | 'duration' | 'expirationTime' | 'fallbackOfferId' | 'feeAmount' | 'hidden' | 'id' | 'isAddNewTranche' | 'lenderAddress' | 'lenderName' | 'lenderProfilePictureUrl' | 'loan' | 'loanAddress' | 'loanId' | 'loanReferenceId' | 'nft' | 'offerHash' | 'principalAmount' | 'renegotiationId' | 'repayment' | 'requiresLiquidation' | 'signature' | 'signerAddress' | 'status' | 'strictImprovement' | 'timestamp' | RenegotiationKeySpecifier)[];
|
|
10037
|
+
export type RenegotiationKeySpecifier = ('aprBps' | 'availablePrincipalAmount' | 'createdDate' | 'duration' | 'expirationTime' | 'fallbackOfferId' | 'feeAmount' | 'hidden' | 'id' | 'isAddNewTranche' | 'lenderAddress' | 'lenderName' | 'lenderProfilePictureUrl' | 'loan' | 'loanAddress' | 'loanId' | 'loanReferenceId' | 'nft' | 'offerHash' | 'principalAmount' | 'private' | 'renegotiationId' | 'repayment' | 'requiresLiquidation' | 'signature' | 'signerAddress' | 'status' | 'strictImprovement' | 'timestamp' | RenegotiationKeySpecifier)[];
|
|
9761
10038
|
export type RenegotiationFieldPolicy = {
|
|
9762
10039
|
aprBps?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9763
10040
|
availablePrincipalAmount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -9779,6 +10056,7 @@ export type RenegotiationFieldPolicy = {
|
|
|
9779
10056
|
nft?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9780
10057
|
offerHash?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9781
10058
|
principalAmount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
10059
|
+
private?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9782
10060
|
renegotiationId?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9783
10061
|
repayment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
9784
10062
|
requiresLiquidation?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -10726,10 +11004,54 @@ export type StrictTypedTypePolicies = {
|
|
|
10726
11004
|
keyFields?: false | ArtistHolderEdgeKeySpecifier | (() => undefined | ArtistHolderEdgeKeySpecifier);
|
|
10727
11005
|
fields?: ArtistHolderEdgeFieldPolicy;
|
|
10728
11006
|
};
|
|
11007
|
+
ArtistHolderInsights?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11008
|
+
keyFields?: false | ArtistHolderInsightsKeySpecifier | (() => undefined | ArtistHolderInsightsKeySpecifier);
|
|
11009
|
+
fields?: ArtistHolderInsightsFieldPolicy;
|
|
11010
|
+
};
|
|
11011
|
+
ArtistHolderPopulationConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11012
|
+
keyFields?: false | ArtistHolderPopulationConnectionKeySpecifier | (() => undefined | ArtistHolderPopulationConnectionKeySpecifier);
|
|
11013
|
+
fields?: ArtistHolderPopulationConnectionFieldPolicy;
|
|
11014
|
+
};
|
|
11015
|
+
ArtistHolderSizeBucket?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11016
|
+
keyFields?: false | ArtistHolderSizeBucketKeySpecifier | (() => undefined | ArtistHolderSizeBucketKeySpecifier);
|
|
11017
|
+
fields?: ArtistHolderSizeBucketFieldPolicy;
|
|
11018
|
+
};
|
|
11019
|
+
ArtistHolderV2?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11020
|
+
keyFields?: false | ArtistHolderV2KeySpecifier | (() => undefined | ArtistHolderV2KeySpecifier);
|
|
11021
|
+
fields?: ArtistHolderV2FieldPolicy;
|
|
11022
|
+
};
|
|
11023
|
+
ArtistHolderV2Connection?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11024
|
+
keyFields?: false | ArtistHolderV2ConnectionKeySpecifier | (() => undefined | ArtistHolderV2ConnectionKeySpecifier);
|
|
11025
|
+
fields?: ArtistHolderV2ConnectionFieldPolicy;
|
|
11026
|
+
};
|
|
11027
|
+
ArtistHolderV2Edge?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11028
|
+
keyFields?: false | ArtistHolderV2EdgeKeySpecifier | (() => undefined | ArtistHolderV2EdgeKeySpecifier);
|
|
11029
|
+
fields?: ArtistHolderV2EdgeFieldPolicy;
|
|
11030
|
+
};
|
|
11031
|
+
ArtistHolding?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11032
|
+
keyFields?: false | ArtistHoldingKeySpecifier | (() => undefined | ArtistHoldingKeySpecifier);
|
|
11033
|
+
fields?: ArtistHoldingFieldPolicy;
|
|
11034
|
+
};
|
|
11035
|
+
ArtistHoldingConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11036
|
+
keyFields?: false | ArtistHoldingConnectionKeySpecifier | (() => undefined | ArtistHoldingConnectionKeySpecifier);
|
|
11037
|
+
fields?: ArtistHoldingConnectionFieldPolicy;
|
|
11038
|
+
};
|
|
11039
|
+
ArtistHoldingEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11040
|
+
keyFields?: false | ArtistHoldingEdgeKeySpecifier | (() => undefined | ArtistHoldingEdgeKeySpecifier);
|
|
11041
|
+
fields?: ArtistHoldingEdgeFieldPolicy;
|
|
11042
|
+
};
|
|
10729
11043
|
ArtistMarketStats?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
10730
11044
|
keyFields?: false | ArtistMarketStatsKeySpecifier | (() => undefined | ArtistMarketStatsKeySpecifier);
|
|
10731
11045
|
fields?: ArtistMarketStatsFieldPolicy;
|
|
10732
11046
|
};
|
|
11047
|
+
ArtistRankedHolder?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11048
|
+
keyFields?: false | ArtistRankedHolderKeySpecifier | (() => undefined | ArtistRankedHolderKeySpecifier);
|
|
11049
|
+
fields?: ArtistRankedHolderFieldPolicy;
|
|
11050
|
+
};
|
|
11051
|
+
ArtistRankedHolderEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
11052
|
+
keyFields?: false | ArtistRankedHolderEdgeKeySpecifier | (() => undefined | ArtistRankedHolderEdgeKeySpecifier);
|
|
11053
|
+
fields?: ArtistRankedHolderEdgeFieldPolicy;
|
|
11054
|
+
};
|
|
10733
11055
|
AskCancelledNotification?: Omit<TypePolicy, 'fields' | 'keyFields'> & {
|
|
10734
11056
|
keyFields?: false | AskCancelledNotificationKeySpecifier | (() => undefined | AskCancelledNotificationKeySpecifier);
|
|
10735
11057
|
fields?: AskCancelledNotificationFieldPolicy;
|