@highlightxyz/sdk 0.1.1 → 0.3.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/lib/client.d.ts +7 -0
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +9 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/v1/gen/sdk.gen.d.ts +288 -56
- package/lib/v1/gen/sdk.gen.d.ts.map +1 -1
- package/lib/v1/gen/sdk.gen.js +512 -63
- package/lib/v1/gen/types.gen.d.ts +1525 -467
- package/lib/v1/gen/types.gen.d.ts.map +1 -1
- package/lib/v1/gen/types.gen.js +45 -0
- package/lib/v1/media.d.ts +31 -0
- package/lib/v1/media.d.ts.map +1 -0
- package/lib/v1/media.js +76 -0
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
+
export type ApiErrorResponse = {
|
|
5
|
+
name: string;
|
|
6
|
+
message: string;
|
|
7
|
+
data: {
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
4
11
|
export declare enum MediaKind {
|
|
5
12
|
File = "File",
|
|
6
13
|
Directory = "Directory"
|
|
@@ -23,7 +30,8 @@ export declare enum StorageProvider {
|
|
|
23
30
|
R2 = "R2",
|
|
24
31
|
Arweave = "Arweave",
|
|
25
32
|
S3 = "S3",
|
|
26
|
-
Ipfs = "IPFS"
|
|
33
|
+
Ipfs = "IPFS",
|
|
34
|
+
External = "External"
|
|
27
35
|
}
|
|
28
36
|
export declare enum StorageRole {
|
|
29
37
|
Origin = "Origin",
|
|
@@ -41,6 +49,7 @@ export type MediaStorageLocation = {
|
|
|
41
49
|
provider: StorageProvider;
|
|
42
50
|
role: StorageRole;
|
|
43
51
|
reference: string;
|
|
52
|
+
url: string | null;
|
|
44
53
|
status: LocationStatus;
|
|
45
54
|
attempts: number;
|
|
46
55
|
lastError: string | null;
|
|
@@ -66,7 +75,6 @@ export type MediaAsset = {
|
|
|
66
75
|
path: string | null;
|
|
67
76
|
uploadedAt: string | null;
|
|
68
77
|
locations: Array<MediaStorageLocation>;
|
|
69
|
-
url: string | null;
|
|
70
78
|
createdAt: string;
|
|
71
79
|
updatedAt: string;
|
|
72
80
|
};
|
|
@@ -102,12 +110,26 @@ export declare enum SelectorType {
|
|
|
102
110
|
Svg = "SVG",
|
|
103
111
|
Element = "ELEMENT"
|
|
104
112
|
}
|
|
113
|
+
export type CollectionCurrencyVolume = {
|
|
114
|
+
currency: string;
|
|
115
|
+
volume: string;
|
|
116
|
+
};
|
|
105
117
|
export declare enum SaleType {
|
|
106
118
|
FixedPrice = "FIXED_PRICE",
|
|
107
119
|
DutchAuction = "DUTCH_AUCTION",
|
|
108
120
|
RankedAuction = "RANKED_AUCTION",
|
|
121
|
+
EnglishAuction = "ENGLISH_AUCTION",
|
|
109
122
|
Custom = "CUSTOM"
|
|
110
123
|
}
|
|
124
|
+
export type SaleCurrency = {
|
|
125
|
+
id: string;
|
|
126
|
+
chainId: number;
|
|
127
|
+
address: string;
|
|
128
|
+
symbol: string;
|
|
129
|
+
decimals: number;
|
|
130
|
+
type: "NATIVE" | "ERC20";
|
|
131
|
+
mintFee: string;
|
|
132
|
+
};
|
|
111
133
|
export declare enum SaleAccessMode {
|
|
112
134
|
Public = "PUBLIC",
|
|
113
135
|
Gated = "GATED"
|
|
@@ -116,6 +138,244 @@ export declare enum SaleStatus {
|
|
|
116
138
|
Draft = "Draft",
|
|
117
139
|
Live = "Live"
|
|
118
140
|
}
|
|
141
|
+
export type SaleStats = {
|
|
142
|
+
minted: number;
|
|
143
|
+
volume: string;
|
|
144
|
+
currency: SaleCurrency;
|
|
145
|
+
};
|
|
146
|
+
export declare enum SaleLifecycle {
|
|
147
|
+
Scheduled = "Scheduled",
|
|
148
|
+
Live = "Live",
|
|
149
|
+
SoldOut = "SoldOut",
|
|
150
|
+
Ended = "Ended",
|
|
151
|
+
Paused = "Paused"
|
|
152
|
+
}
|
|
153
|
+
export type CollectionTrendingItem = {
|
|
154
|
+
rank: number;
|
|
155
|
+
highlightId: string;
|
|
156
|
+
collectionId: string | null;
|
|
157
|
+
name: string;
|
|
158
|
+
imageMedia: MediaAsset | null;
|
|
159
|
+
creator: {
|
|
160
|
+
id: string;
|
|
161
|
+
displayName: string | null;
|
|
162
|
+
primaryAddress: string | null;
|
|
163
|
+
ensName: string | null;
|
|
164
|
+
};
|
|
165
|
+
chainId: number;
|
|
166
|
+
price: string | null;
|
|
167
|
+
currency: SaleCurrency | null;
|
|
168
|
+
mintCount: number;
|
|
169
|
+
};
|
|
170
|
+
export type CollectionTrendingResponse = {
|
|
171
|
+
items: Array<CollectionTrendingItem>;
|
|
172
|
+
};
|
|
173
|
+
export type CollectionFeaturedItem = {
|
|
174
|
+
highlightId: string;
|
|
175
|
+
name: string;
|
|
176
|
+
imageMedia: MediaAsset | null;
|
|
177
|
+
creator: {
|
|
178
|
+
id: string;
|
|
179
|
+
displayName: string | null;
|
|
180
|
+
primaryAddress: string | null;
|
|
181
|
+
ensName: string | null;
|
|
182
|
+
};
|
|
183
|
+
note: string | null;
|
|
184
|
+
};
|
|
185
|
+
export type CollectionFeaturedResponse = {
|
|
186
|
+
items: Array<CollectionFeaturedItem>;
|
|
187
|
+
nextCursor: string | null;
|
|
188
|
+
};
|
|
189
|
+
export type SeriesPreviewEntry = {
|
|
190
|
+
metadataId: number;
|
|
191
|
+
name: string | null;
|
|
192
|
+
description: string | null;
|
|
193
|
+
imageUrl: string | null;
|
|
194
|
+
animationUrl: string | null;
|
|
195
|
+
attributes: Array<{
|
|
196
|
+
traitType: string;
|
|
197
|
+
value: string | number;
|
|
198
|
+
}>;
|
|
199
|
+
};
|
|
200
|
+
export type SeriesPreviewsResponse = {
|
|
201
|
+
items: Array<SeriesPreviewEntry>;
|
|
202
|
+
};
|
|
203
|
+
export type EditionContractExecution = {
|
|
204
|
+
chainId: number;
|
|
205
|
+
to: string | null;
|
|
206
|
+
data: string;
|
|
207
|
+
value: string;
|
|
208
|
+
};
|
|
209
|
+
export type EditionUpdateResponse = {
|
|
210
|
+
collection: {
|
|
211
|
+
highlightId: string;
|
|
212
|
+
collectionId: string | null;
|
|
213
|
+
name: string;
|
|
214
|
+
description: string | null;
|
|
215
|
+
logoMediaId: string;
|
|
216
|
+
logoMedia: MediaAsset;
|
|
217
|
+
baseUriId: string | null;
|
|
218
|
+
royaltyAddress: string | null;
|
|
219
|
+
royaltyAmount: number | null;
|
|
220
|
+
tokenManager: string | null;
|
|
221
|
+
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
222
|
+
revealStrategy: RevealStrategy;
|
|
223
|
+
source: CollectionSource;
|
|
224
|
+
type: CollectionType;
|
|
225
|
+
contract: {
|
|
226
|
+
id: string;
|
|
227
|
+
chainId: number;
|
|
228
|
+
type: "GenerativeSeries" | "Series" | "MultipleEditions" | "MultipleEditionsDFS" | "SingleEdition" | "SingleEditionDFS" | "EditionsDFS1155";
|
|
229
|
+
standard: ContractStandard;
|
|
230
|
+
creatorAddress: string;
|
|
231
|
+
name: string;
|
|
232
|
+
address: string | null;
|
|
233
|
+
symbol: string;
|
|
234
|
+
contractUri: string | null;
|
|
235
|
+
status: "Draft" | "Deploying" | "Live";
|
|
236
|
+
createdAt: string;
|
|
237
|
+
updatedAt: string;
|
|
238
|
+
};
|
|
239
|
+
createdAt: string;
|
|
240
|
+
updatedAt: string;
|
|
241
|
+
series: {
|
|
242
|
+
size: number;
|
|
243
|
+
isCollectorsChoice?: boolean;
|
|
244
|
+
assetsMediaId?: string;
|
|
245
|
+
assetsMedia?: MediaAsset | null;
|
|
246
|
+
} | null;
|
|
247
|
+
generative: {
|
|
248
|
+
size: number;
|
|
249
|
+
codeMediaId: string;
|
|
250
|
+
codeMedia: MediaAsset;
|
|
251
|
+
isCurated?: boolean;
|
|
252
|
+
isGpuRendering?: boolean;
|
|
253
|
+
editionType?: GenerativeEditionType;
|
|
254
|
+
allowedHashes?: Array<string>;
|
|
255
|
+
requiredParams?: Array<string>;
|
|
256
|
+
captureSettings?: {
|
|
257
|
+
trigger: CaptureSettingsTrigger;
|
|
258
|
+
delay?: number;
|
|
259
|
+
selector?: string;
|
|
260
|
+
selectorType?: SelectorType;
|
|
261
|
+
viewPortHeight?: number;
|
|
262
|
+
viewPortWidth?: number;
|
|
263
|
+
};
|
|
264
|
+
} | null;
|
|
265
|
+
edition: {
|
|
266
|
+
editionId: string;
|
|
267
|
+
size: number;
|
|
268
|
+
name?: string;
|
|
269
|
+
description?: string;
|
|
270
|
+
imageMediaId?: string;
|
|
271
|
+
animationMediaId?: string;
|
|
272
|
+
imageMedia?: MediaAsset | null;
|
|
273
|
+
animationMedia?: MediaAsset | null;
|
|
274
|
+
attributes?: Array<{
|
|
275
|
+
traitType: string;
|
|
276
|
+
value: string;
|
|
277
|
+
}>;
|
|
278
|
+
} | null;
|
|
279
|
+
account: {
|
|
280
|
+
id: string;
|
|
281
|
+
displayName: string | null;
|
|
282
|
+
primaryAddress: string | null;
|
|
283
|
+
ensName: string | null;
|
|
284
|
+
};
|
|
285
|
+
stats: {
|
|
286
|
+
ownerCount: number;
|
|
287
|
+
tokenCount: number;
|
|
288
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
289
|
+
updatedAt: string;
|
|
290
|
+
} | null;
|
|
291
|
+
sales: Array<{
|
|
292
|
+
id: string;
|
|
293
|
+
collectionId: string;
|
|
294
|
+
name: string | null;
|
|
295
|
+
type: SaleType;
|
|
296
|
+
startAt: string;
|
|
297
|
+
endAt: string | null;
|
|
298
|
+
price: string;
|
|
299
|
+
currency: SaleCurrency;
|
|
300
|
+
maxPerTransaction: number;
|
|
301
|
+
maxPerWallet: number;
|
|
302
|
+
maxTotal: number;
|
|
303
|
+
paymentRecipient: string;
|
|
304
|
+
accessMode: SaleAccessMode;
|
|
305
|
+
gateId: string | null;
|
|
306
|
+
gasSponsored: boolean;
|
|
307
|
+
status: SaleStatus;
|
|
308
|
+
paused: boolean;
|
|
309
|
+
mechanicId: string | null;
|
|
310
|
+
typeConfig: unknown | null;
|
|
311
|
+
vectorId: string | null;
|
|
312
|
+
customMintFee: string | null;
|
|
313
|
+
collectorMessage: string | null;
|
|
314
|
+
createdAt: string;
|
|
315
|
+
updatedAt: string;
|
|
316
|
+
stats: SaleStats | null;
|
|
317
|
+
lifecycle: SaleLifecycle;
|
|
318
|
+
}>;
|
|
319
|
+
};
|
|
320
|
+
contractExecution: EditionContractExecution | null;
|
|
321
|
+
};
|
|
322
|
+
export type RankedAuctionStandingBid = {
|
|
323
|
+
bidId: number;
|
|
324
|
+
bidderAddress: string;
|
|
325
|
+
bidAmount: string;
|
|
326
|
+
won: boolean;
|
|
327
|
+
};
|
|
328
|
+
export type RankedAuctionViewerStanding = {
|
|
329
|
+
address: string;
|
|
330
|
+
numWinningBids: number;
|
|
331
|
+
numClaimed: number;
|
|
332
|
+
tokensLeftToClaim: number;
|
|
333
|
+
};
|
|
334
|
+
export type RankedAuctionStandings = {
|
|
335
|
+
saleId: string;
|
|
336
|
+
settled: boolean;
|
|
337
|
+
clearingBidAmount: string | null;
|
|
338
|
+
currency: SaleCurrency;
|
|
339
|
+
maxWinners: number;
|
|
340
|
+
totalBids: number;
|
|
341
|
+
bids: Array<RankedAuctionStandingBid>;
|
|
342
|
+
viewer: RankedAuctionViewerStanding | null;
|
|
343
|
+
};
|
|
344
|
+
export type EnglishAuctionViewerStanding = {
|
|
345
|
+
address: string;
|
|
346
|
+
isHighestBidder: boolean;
|
|
347
|
+
};
|
|
348
|
+
export type EnglishAuctionStanding = {
|
|
349
|
+
saleId: string;
|
|
350
|
+
state: number;
|
|
351
|
+
live: boolean;
|
|
352
|
+
fulfilled: boolean;
|
|
353
|
+
cancelled: boolean;
|
|
354
|
+
currency: SaleCurrency;
|
|
355
|
+
reservePrice: string;
|
|
356
|
+
highestBidder: string | null;
|
|
357
|
+
highestBidAmount: string;
|
|
358
|
+
preferredNftRecipient: string | null;
|
|
359
|
+
endTime: number;
|
|
360
|
+
tokenId: string | null;
|
|
361
|
+
creatorEarnings: string;
|
|
362
|
+
platformBps: number;
|
|
363
|
+
totalBids: number;
|
|
364
|
+
viewer: EnglishAuctionViewerStanding | null;
|
|
365
|
+
};
|
|
366
|
+
export type EnglishAuctionBidEntry = {
|
|
367
|
+
bidderAddress: string;
|
|
368
|
+
bidAmount: string;
|
|
369
|
+
firstBid: boolean;
|
|
370
|
+
txHash: string;
|
|
371
|
+
blockNumber: number;
|
|
372
|
+
createdAt: string;
|
|
373
|
+
};
|
|
374
|
+
export type EnglishAuctionBidHistory = {
|
|
375
|
+
saleId: string;
|
|
376
|
+
currency: SaleCurrency;
|
|
377
|
+
bids: Array<EnglishAuctionBidEntry>;
|
|
378
|
+
};
|
|
119
379
|
export declare enum TokenStatus {
|
|
120
380
|
PendingReveal = "PendingReveal",
|
|
121
381
|
PendingIndex = "PendingIndex",
|
|
@@ -123,6 +383,28 @@ export declare enum TokenStatus {
|
|
|
123
383
|
FailedReveal = "FailedReveal",
|
|
124
384
|
FailedIndex = "FailedIndex"
|
|
125
385
|
}
|
|
386
|
+
export type TokenAttributeFacet = {
|
|
387
|
+
traitType: string;
|
|
388
|
+
values: Array<{
|
|
389
|
+
value: string;
|
|
390
|
+
count: number;
|
|
391
|
+
}>;
|
|
392
|
+
};
|
|
393
|
+
export type TokenOwner = {
|
|
394
|
+
ownerAddress: string;
|
|
395
|
+
balance: string;
|
|
396
|
+
firstAcquiredAt: string;
|
|
397
|
+
};
|
|
398
|
+
export type TokenOwnersResponse = {
|
|
399
|
+
owners: Array<TokenOwner>;
|
|
400
|
+
};
|
|
401
|
+
export type TokenRedriveSummary = {
|
|
402
|
+
candidates: number;
|
|
403
|
+
scheduled: number;
|
|
404
|
+
indexOnly: number;
|
|
405
|
+
skippedRecent: number;
|
|
406
|
+
failed: number;
|
|
407
|
+
};
|
|
126
408
|
export declare enum GateMatchMode {
|
|
127
409
|
All = "ALL",
|
|
128
410
|
Any = "ANY"
|
|
@@ -135,6 +417,48 @@ export declare enum GateConditionType {
|
|
|
135
417
|
CurrencyBalance = "CURRENCY_BALANCE",
|
|
136
418
|
FarcasterFollow = "FARCASTER_FOLLOW"
|
|
137
419
|
}
|
|
420
|
+
export type GateCollectionPreview = {
|
|
421
|
+
source: "highlight" | "external";
|
|
422
|
+
chainId: number;
|
|
423
|
+
contractAddress: string;
|
|
424
|
+
name: string | null;
|
|
425
|
+
symbol: string | null;
|
|
426
|
+
standard: "ERC721" | "ERC1155" | null;
|
|
427
|
+
tokenCount: number | null;
|
|
428
|
+
imageUrl: string | null;
|
|
429
|
+
};
|
|
430
|
+
export type GateAttributesPreview = {
|
|
431
|
+
source: "highlight" | "external";
|
|
432
|
+
attributes: Array<{
|
|
433
|
+
traitType: string;
|
|
434
|
+
values: Array<{
|
|
435
|
+
value: string;
|
|
436
|
+
count: number | null;
|
|
437
|
+
}>;
|
|
438
|
+
}>;
|
|
439
|
+
};
|
|
440
|
+
export type GateTokensPreview = {
|
|
441
|
+
source: "highlight" | "external";
|
|
442
|
+
tokens: Array<{
|
|
443
|
+
tokenId: string;
|
|
444
|
+
name: string | null;
|
|
445
|
+
imageUrl: string | null;
|
|
446
|
+
}>;
|
|
447
|
+
nextCursor: string | null;
|
|
448
|
+
};
|
|
449
|
+
export type GateCurrencyPreview = {
|
|
450
|
+
chainId: number;
|
|
451
|
+
contractAddress: string | null;
|
|
452
|
+
isNative: boolean;
|
|
453
|
+
symbol: string;
|
|
454
|
+
decimals: number;
|
|
455
|
+
};
|
|
456
|
+
export type GateFarcasterUserPreview = {
|
|
457
|
+
fid: number;
|
|
458
|
+
username: string | null;
|
|
459
|
+
displayName: string | null;
|
|
460
|
+
pfpUrl: string | null;
|
|
461
|
+
};
|
|
138
462
|
export type MediaUploadInstructions = {
|
|
139
463
|
url: string;
|
|
140
464
|
method: "PUT";
|
|
@@ -150,6 +474,70 @@ export type MediaChildrenList = {
|
|
|
150
474
|
items: Array<MediaAsset>;
|
|
151
475
|
nextCursor: string | null;
|
|
152
476
|
};
|
|
477
|
+
export declare enum TxOverallStatus {
|
|
478
|
+
Pending = "Pending",
|
|
479
|
+
Finalizing = "Finalizing",
|
|
480
|
+
Ready = "Ready",
|
|
481
|
+
Failed = "Failed"
|
|
482
|
+
}
|
|
483
|
+
export declare enum TxMilestoneKey {
|
|
484
|
+
CollectionLive = "collection:live",
|
|
485
|
+
SaleLive = "sale:live",
|
|
486
|
+
SaleUpdated = "sale:updated",
|
|
487
|
+
BidRecorded = "bid:recorded",
|
|
488
|
+
DutchSynced = "dutch:synced",
|
|
489
|
+
AuctionSynced = "auction:synced",
|
|
490
|
+
EditionUpdated = "edition:updated",
|
|
491
|
+
TokensReady = "tokens:ready"
|
|
492
|
+
}
|
|
493
|
+
export declare enum TxMilestoneStatus {
|
|
494
|
+
Pending = "Pending",
|
|
495
|
+
Done = "Done",
|
|
496
|
+
Failed = "Failed"
|
|
497
|
+
}
|
|
498
|
+
export declare enum TxUnitStatus {
|
|
499
|
+
Pending = "Pending",
|
|
500
|
+
Done = "Done",
|
|
501
|
+
Failed = "Failed"
|
|
502
|
+
}
|
|
503
|
+
export type TxUnit = {
|
|
504
|
+
id: string;
|
|
505
|
+
ref?: string;
|
|
506
|
+
detail?: string;
|
|
507
|
+
status: TxUnitStatus;
|
|
508
|
+
};
|
|
509
|
+
export type TxMilestone = {
|
|
510
|
+
key: TxMilestoneKey;
|
|
511
|
+
status: TxMilestoneStatus;
|
|
512
|
+
units?: Array<TxUnit>;
|
|
513
|
+
};
|
|
514
|
+
export type TxStatusSnapshot = {
|
|
515
|
+
chainId: number;
|
|
516
|
+
txHash: string;
|
|
517
|
+
initialized: boolean;
|
|
518
|
+
finalized: boolean;
|
|
519
|
+
overall: TxOverallStatus;
|
|
520
|
+
milestones: Array<TxMilestone>;
|
|
521
|
+
};
|
|
522
|
+
export type UserProfile = {
|
|
523
|
+
id: string;
|
|
524
|
+
email: string | null;
|
|
525
|
+
displayName: string | null;
|
|
526
|
+
primaryAddress: string | null;
|
|
527
|
+
walletAddresses: Array<string>;
|
|
528
|
+
bio: string | null;
|
|
529
|
+
website: string | null;
|
|
530
|
+
avatarMediaId: string | null;
|
|
531
|
+
avatarMedia: MediaAsset | null;
|
|
532
|
+
};
|
|
533
|
+
export type PublicUserProfile = {
|
|
534
|
+
primaryAddress: string;
|
|
535
|
+
walletAddresses: Array<string>;
|
|
536
|
+
displayName: string | null;
|
|
537
|
+
bio: string | null;
|
|
538
|
+
website: string | null;
|
|
539
|
+
avatarMedia: MediaAsset | null;
|
|
540
|
+
};
|
|
153
541
|
export type ApiKey = {
|
|
154
542
|
id: string;
|
|
155
543
|
accountId: string;
|
|
@@ -170,15 +558,15 @@ export type ApiKeyCreateResponse = {
|
|
|
170
558
|
export type CollectionListData = {
|
|
171
559
|
body?: never;
|
|
172
560
|
path?: never;
|
|
173
|
-
query
|
|
561
|
+
query?: {
|
|
174
562
|
page?: number;
|
|
175
563
|
limit?: number;
|
|
176
564
|
sortBy?: "CREATED_DATE" | "NAME";
|
|
177
565
|
sortDirection?: "ASC" | "DESC";
|
|
178
566
|
status?: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled";
|
|
179
|
-
blockchains
|
|
180
|
-
testnet
|
|
181
|
-
types
|
|
567
|
+
blockchains?: Array<number>;
|
|
568
|
+
testnet?: boolean;
|
|
569
|
+
types?: Array<"OpenEdition" | "LimitedEdition" | "OneOfOne" | "Series" | "GenerativeSeries">;
|
|
182
570
|
};
|
|
183
571
|
url: "/collection";
|
|
184
572
|
};
|
|
@@ -186,8 +574,9 @@ export type CollectionListErrors = {
|
|
|
186
574
|
/**
|
|
187
575
|
* Unauthorized
|
|
188
576
|
*/
|
|
189
|
-
401:
|
|
577
|
+
401: ApiErrorResponse;
|
|
190
578
|
};
|
|
579
|
+
export type CollectionListError = CollectionListErrors[keyof CollectionListErrors];
|
|
191
580
|
export type CollectionListResponses = {
|
|
192
581
|
/**
|
|
193
582
|
* List of collections
|
|
@@ -249,6 +638,7 @@ export type CollectionListResponses = {
|
|
|
249
638
|
};
|
|
250
639
|
} | null;
|
|
251
640
|
edition: {
|
|
641
|
+
editionId: string;
|
|
252
642
|
size: number;
|
|
253
643
|
name?: string;
|
|
254
644
|
description?: string;
|
|
@@ -268,10 +658,9 @@ export type CollectionListResponses = {
|
|
|
268
658
|
ensName: string | null;
|
|
269
659
|
};
|
|
270
660
|
stats: {
|
|
271
|
-
volume: string;
|
|
272
|
-
volumeUsd: string | null;
|
|
273
661
|
ownerCount: number;
|
|
274
662
|
tokenCount: number;
|
|
663
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
275
664
|
updatedAt: string;
|
|
276
665
|
} | null;
|
|
277
666
|
sales: Array<{
|
|
@@ -282,7 +671,7 @@ export type CollectionListResponses = {
|
|
|
282
671
|
startAt: string;
|
|
283
672
|
endAt: string | null;
|
|
284
673
|
price: string;
|
|
285
|
-
currency:
|
|
674
|
+
currency: SaleCurrency;
|
|
286
675
|
maxPerTransaction: number;
|
|
287
676
|
maxPerWallet: number;
|
|
288
677
|
maxTotal: number;
|
|
@@ -299,6 +688,8 @@ export type CollectionListResponses = {
|
|
|
299
688
|
collectorMessage: string | null;
|
|
300
689
|
createdAt: string;
|
|
301
690
|
updatedAt: string;
|
|
691
|
+
stats: SaleStats | null;
|
|
692
|
+
lifecycle: SaleLifecycle;
|
|
302
693
|
}>;
|
|
303
694
|
}>;
|
|
304
695
|
pageInfo: {
|
|
@@ -340,20 +731,21 @@ export type CollectionCreateErrors = {
|
|
|
340
731
|
/**
|
|
341
732
|
* Invalid request
|
|
342
733
|
*/
|
|
343
|
-
400:
|
|
734
|
+
400: ApiErrorResponse;
|
|
344
735
|
/**
|
|
345
736
|
* Unauthorized
|
|
346
737
|
*/
|
|
347
|
-
401:
|
|
738
|
+
401: ApiErrorResponse;
|
|
348
739
|
/**
|
|
349
740
|
* Forbidden
|
|
350
741
|
*/
|
|
351
|
-
403:
|
|
742
|
+
403: ApiErrorResponse;
|
|
352
743
|
/**
|
|
353
744
|
* Not found
|
|
354
745
|
*/
|
|
355
|
-
404:
|
|
746
|
+
404: ApiErrorResponse;
|
|
356
747
|
};
|
|
748
|
+
export type CollectionCreateError = CollectionCreateErrors[keyof CollectionCreateErrors];
|
|
357
749
|
export type CollectionCreateResponses = {
|
|
358
750
|
/**
|
|
359
751
|
* Created collection
|
|
@@ -414,6 +806,7 @@ export type CollectionCreateResponses = {
|
|
|
414
806
|
};
|
|
415
807
|
} | null;
|
|
416
808
|
edition: {
|
|
809
|
+
editionId: string;
|
|
417
810
|
size: number;
|
|
418
811
|
name?: string;
|
|
419
812
|
description?: string;
|
|
@@ -433,10 +826,9 @@ export type CollectionCreateResponses = {
|
|
|
433
826
|
ensName: string | null;
|
|
434
827
|
};
|
|
435
828
|
stats: {
|
|
436
|
-
volume: string;
|
|
437
|
-
volumeUsd: string | null;
|
|
438
829
|
ownerCount: number;
|
|
439
830
|
tokenCount: number;
|
|
831
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
440
832
|
updatedAt: string;
|
|
441
833
|
} | null;
|
|
442
834
|
sales: Array<{
|
|
@@ -447,7 +839,7 @@ export type CollectionCreateResponses = {
|
|
|
447
839
|
startAt: string;
|
|
448
840
|
endAt: string | null;
|
|
449
841
|
price: string;
|
|
450
|
-
currency:
|
|
842
|
+
currency: SaleCurrency;
|
|
451
843
|
maxPerTransaction: number;
|
|
452
844
|
maxPerWallet: number;
|
|
453
845
|
maxTotal: number;
|
|
@@ -464,14 +856,63 @@ export type CollectionCreateResponses = {
|
|
|
464
856
|
collectorMessage: string | null;
|
|
465
857
|
createdAt: string;
|
|
466
858
|
updatedAt: string;
|
|
859
|
+
stats: SaleStats | null;
|
|
860
|
+
lifecycle: SaleLifecycle;
|
|
467
861
|
}>;
|
|
468
862
|
};
|
|
469
863
|
};
|
|
470
864
|
export type CollectionCreateResponse = CollectionCreateResponses[keyof CollectionCreateResponses];
|
|
865
|
+
export type CollectionTrendingData = {
|
|
866
|
+
body?: never;
|
|
867
|
+
path?: never;
|
|
868
|
+
query?: {
|
|
869
|
+
window?: "24h" | "7d" | "28d";
|
|
870
|
+
chainId?: number;
|
|
871
|
+
limit?: number;
|
|
872
|
+
};
|
|
873
|
+
url: "/collection/trending";
|
|
874
|
+
};
|
|
875
|
+
export type CollectionTrendingErrors = {
|
|
876
|
+
/**
|
|
877
|
+
* Invalid request
|
|
878
|
+
*/
|
|
879
|
+
400: ApiErrorResponse;
|
|
880
|
+
};
|
|
881
|
+
export type CollectionTrendingError = CollectionTrendingErrors[keyof CollectionTrendingErrors];
|
|
882
|
+
export type CollectionTrendingResponses = {
|
|
883
|
+
/**
|
|
884
|
+
* Ranked trending collections
|
|
885
|
+
*/
|
|
886
|
+
200: CollectionTrendingResponse;
|
|
887
|
+
};
|
|
888
|
+
export type CollectionTrendingResponse2 = CollectionTrendingResponses[keyof CollectionTrendingResponses];
|
|
889
|
+
export type CollectionFeaturedData = {
|
|
890
|
+
body?: never;
|
|
891
|
+
path?: never;
|
|
892
|
+
query?: {
|
|
893
|
+
limit?: number;
|
|
894
|
+
cursor?: string;
|
|
895
|
+
};
|
|
896
|
+
url: "/collection/featured";
|
|
897
|
+
};
|
|
898
|
+
export type CollectionFeaturedErrors = {
|
|
899
|
+
/**
|
|
900
|
+
* Invalid request
|
|
901
|
+
*/
|
|
902
|
+
400: ApiErrorResponse;
|
|
903
|
+
};
|
|
904
|
+
export type CollectionFeaturedError = CollectionFeaturedErrors[keyof CollectionFeaturedErrors];
|
|
905
|
+
export type CollectionFeaturedResponses = {
|
|
906
|
+
/**
|
|
907
|
+
* Curated featured collections
|
|
908
|
+
*/
|
|
909
|
+
200: CollectionFeaturedResponse;
|
|
910
|
+
};
|
|
911
|
+
export type CollectionFeaturedResponse2 = CollectionFeaturedResponses[keyof CollectionFeaturedResponses];
|
|
471
912
|
export type CollectionGetData = {
|
|
472
913
|
body?: never;
|
|
473
914
|
path: {
|
|
474
|
-
highlightId: string;
|
|
915
|
+
highlightId: string | string;
|
|
475
916
|
};
|
|
476
917
|
query?: never;
|
|
477
918
|
url: "/collection/{highlightId}";
|
|
@@ -480,12 +921,13 @@ export type CollectionGetErrors = {
|
|
|
480
921
|
/**
|
|
481
922
|
* Forbidden
|
|
482
923
|
*/
|
|
483
|
-
403:
|
|
924
|
+
403: ApiErrorResponse;
|
|
484
925
|
/**
|
|
485
926
|
* Not found
|
|
486
927
|
*/
|
|
487
|
-
404:
|
|
928
|
+
404: ApiErrorResponse;
|
|
488
929
|
};
|
|
930
|
+
export type CollectionGetError = CollectionGetErrors[keyof CollectionGetErrors];
|
|
489
931
|
export type CollectionGetResponses = {
|
|
490
932
|
/**
|
|
491
933
|
* Collection details
|
|
@@ -546,6 +988,7 @@ export type CollectionGetResponses = {
|
|
|
546
988
|
};
|
|
547
989
|
} | null;
|
|
548
990
|
edition: {
|
|
991
|
+
editionId: string;
|
|
549
992
|
size: number;
|
|
550
993
|
name?: string;
|
|
551
994
|
description?: string;
|
|
@@ -565,10 +1008,9 @@ export type CollectionGetResponses = {
|
|
|
565
1008
|
ensName: string | null;
|
|
566
1009
|
};
|
|
567
1010
|
stats: {
|
|
568
|
-
volume: string;
|
|
569
|
-
volumeUsd: string | null;
|
|
570
1011
|
ownerCount: number;
|
|
571
1012
|
tokenCount: number;
|
|
1013
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
572
1014
|
updatedAt: string;
|
|
573
1015
|
} | null;
|
|
574
1016
|
sales: Array<{
|
|
@@ -579,7 +1021,7 @@ export type CollectionGetResponses = {
|
|
|
579
1021
|
startAt: string;
|
|
580
1022
|
endAt: string | null;
|
|
581
1023
|
price: string;
|
|
582
|
-
currency:
|
|
1024
|
+
currency: SaleCurrency;
|
|
583
1025
|
maxPerTransaction: number;
|
|
584
1026
|
maxPerWallet: number;
|
|
585
1027
|
maxTotal: number;
|
|
@@ -596,10 +1038,40 @@ export type CollectionGetResponses = {
|
|
|
596
1038
|
collectorMessage: string | null;
|
|
597
1039
|
createdAt: string;
|
|
598
1040
|
updatedAt: string;
|
|
1041
|
+
stats: SaleStats | null;
|
|
1042
|
+
lifecycle: SaleLifecycle;
|
|
599
1043
|
}>;
|
|
600
1044
|
};
|
|
601
1045
|
};
|
|
602
1046
|
export type CollectionGetResponse = CollectionGetResponses[keyof CollectionGetResponses];
|
|
1047
|
+
export type CollectionListPreviewsData = {
|
|
1048
|
+
body?: never;
|
|
1049
|
+
path: {
|
|
1050
|
+
highlightId: string;
|
|
1051
|
+
};
|
|
1052
|
+
query?: {
|
|
1053
|
+
limit?: number;
|
|
1054
|
+
};
|
|
1055
|
+
url: "/collection/{highlightId}/previews";
|
|
1056
|
+
};
|
|
1057
|
+
export type CollectionListPreviewsErrors = {
|
|
1058
|
+
/**
|
|
1059
|
+
* Forbidden
|
|
1060
|
+
*/
|
|
1061
|
+
403: ApiErrorResponse;
|
|
1062
|
+
/**
|
|
1063
|
+
* Not found
|
|
1064
|
+
*/
|
|
1065
|
+
404: ApiErrorResponse;
|
|
1066
|
+
};
|
|
1067
|
+
export type CollectionListPreviewsError = CollectionListPreviewsErrors[keyof CollectionListPreviewsErrors];
|
|
1068
|
+
export type CollectionListPreviewsResponses = {
|
|
1069
|
+
/**
|
|
1070
|
+
* Series previews
|
|
1071
|
+
*/
|
|
1072
|
+
200: SeriesPreviewsResponse;
|
|
1073
|
+
};
|
|
1074
|
+
export type CollectionListPreviewsResponse = CollectionListPreviewsResponses[keyof CollectionListPreviewsResponses];
|
|
603
1075
|
export type CollectionFinalizeBaseUriData = {
|
|
604
1076
|
body?: never;
|
|
605
1077
|
path: {
|
|
@@ -612,24 +1084,25 @@ export type CollectionFinalizeBaseUriErrors = {
|
|
|
612
1084
|
/**
|
|
613
1085
|
* Base URI not set or directory empty
|
|
614
1086
|
*/
|
|
615
|
-
400:
|
|
1087
|
+
400: ApiErrorResponse;
|
|
616
1088
|
/**
|
|
617
1089
|
* Unauthorized
|
|
618
1090
|
*/
|
|
619
|
-
401:
|
|
1091
|
+
401: ApiErrorResponse;
|
|
620
1092
|
/**
|
|
621
1093
|
* Not the owner
|
|
622
1094
|
*/
|
|
623
|
-
403:
|
|
1095
|
+
403: ApiErrorResponse;
|
|
624
1096
|
/**
|
|
625
1097
|
* Collection not found
|
|
626
1098
|
*/
|
|
627
|
-
404:
|
|
1099
|
+
404: ApiErrorResponse;
|
|
628
1100
|
/**
|
|
629
1101
|
* Archive provider unavailable
|
|
630
1102
|
*/
|
|
631
|
-
503:
|
|
1103
|
+
503: ApiErrorResponse;
|
|
632
1104
|
};
|
|
1105
|
+
export type CollectionFinalizeBaseUriError = CollectionFinalizeBaseUriErrors[keyof CollectionFinalizeBaseUriErrors];
|
|
633
1106
|
export type CollectionFinalizeBaseUriResponses = {
|
|
634
1107
|
/**
|
|
635
1108
|
* Collection with Archive location on base URI
|
|
@@ -690,6 +1163,7 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
690
1163
|
};
|
|
691
1164
|
} | null;
|
|
692
1165
|
edition: {
|
|
1166
|
+
editionId: string;
|
|
693
1167
|
size: number;
|
|
694
1168
|
name?: string;
|
|
695
1169
|
description?: string;
|
|
@@ -709,10 +1183,9 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
709
1183
|
ensName: string | null;
|
|
710
1184
|
};
|
|
711
1185
|
stats: {
|
|
712
|
-
volume: string;
|
|
713
|
-
volumeUsd: string | null;
|
|
714
1186
|
ownerCount: number;
|
|
715
1187
|
tokenCount: number;
|
|
1188
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
716
1189
|
updatedAt: string;
|
|
717
1190
|
} | null;
|
|
718
1191
|
sales: Array<{
|
|
@@ -723,7 +1196,7 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
723
1196
|
startAt: string;
|
|
724
1197
|
endAt: string | null;
|
|
725
1198
|
price: string;
|
|
726
|
-
currency:
|
|
1199
|
+
currency: SaleCurrency;
|
|
727
1200
|
maxPerTransaction: number;
|
|
728
1201
|
maxPerWallet: number;
|
|
729
1202
|
maxTotal: number;
|
|
@@ -740,6 +1213,8 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
740
1213
|
collectorMessage: string | null;
|
|
741
1214
|
createdAt: string;
|
|
742
1215
|
updatedAt: string;
|
|
1216
|
+
stats: SaleStats | null;
|
|
1217
|
+
lifecycle: SaleLifecycle;
|
|
743
1218
|
}>;
|
|
744
1219
|
};
|
|
745
1220
|
};
|
|
@@ -774,20 +1249,21 @@ export type CollectionUpdateGenerativeDetailsErrors = {
|
|
|
774
1249
|
/**
|
|
775
1250
|
* Invalid request
|
|
776
1251
|
*/
|
|
777
|
-
400:
|
|
1252
|
+
400: ApiErrorResponse;
|
|
778
1253
|
/**
|
|
779
1254
|
* Unauthorized
|
|
780
1255
|
*/
|
|
781
|
-
401:
|
|
1256
|
+
401: ApiErrorResponse;
|
|
782
1257
|
/**
|
|
783
1258
|
* Forbidden
|
|
784
1259
|
*/
|
|
785
|
-
403:
|
|
1260
|
+
403: ApiErrorResponse;
|
|
786
1261
|
/**
|
|
787
1262
|
* Not found
|
|
788
1263
|
*/
|
|
789
|
-
404:
|
|
1264
|
+
404: ApiErrorResponse;
|
|
790
1265
|
};
|
|
1266
|
+
export type CollectionUpdateGenerativeDetailsError = CollectionUpdateGenerativeDetailsErrors[keyof CollectionUpdateGenerativeDetailsErrors];
|
|
791
1267
|
export type CollectionUpdateGenerativeDetailsResponses = {
|
|
792
1268
|
/**
|
|
793
1269
|
* Updated generative draft details
|
|
@@ -848,6 +1324,7 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
848
1324
|
};
|
|
849
1325
|
} | null;
|
|
850
1326
|
edition: {
|
|
1327
|
+
editionId: string;
|
|
851
1328
|
size: number;
|
|
852
1329
|
name?: string;
|
|
853
1330
|
description?: string;
|
|
@@ -867,10 +1344,9 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
867
1344
|
ensName: string | null;
|
|
868
1345
|
};
|
|
869
1346
|
stats: {
|
|
870
|
-
volume: string;
|
|
871
|
-
volumeUsd: string | null;
|
|
872
1347
|
ownerCount: number;
|
|
873
1348
|
tokenCount: number;
|
|
1349
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
874
1350
|
updatedAt: string;
|
|
875
1351
|
} | null;
|
|
876
1352
|
sales: Array<{
|
|
@@ -881,7 +1357,7 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
881
1357
|
startAt: string;
|
|
882
1358
|
endAt: string | null;
|
|
883
1359
|
price: string;
|
|
884
|
-
currency:
|
|
1360
|
+
currency: SaleCurrency;
|
|
885
1361
|
maxPerTransaction: number;
|
|
886
1362
|
maxPerWallet: number;
|
|
887
1363
|
maxTotal: number;
|
|
@@ -898,6 +1374,8 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
898
1374
|
collectorMessage: string | null;
|
|
899
1375
|
createdAt: string;
|
|
900
1376
|
updatedAt: string;
|
|
1377
|
+
stats: SaleStats | null;
|
|
1378
|
+
lifecycle: SaleLifecycle;
|
|
901
1379
|
}>;
|
|
902
1380
|
};
|
|
903
1381
|
};
|
|
@@ -920,20 +1398,21 @@ export type CollectionUpdateSeriesDetailsErrors = {
|
|
|
920
1398
|
/**
|
|
921
1399
|
* Invalid request
|
|
922
1400
|
*/
|
|
923
|
-
400:
|
|
1401
|
+
400: ApiErrorResponse;
|
|
924
1402
|
/**
|
|
925
1403
|
* Unauthorized
|
|
926
1404
|
*/
|
|
927
|
-
401:
|
|
1405
|
+
401: ApiErrorResponse;
|
|
928
1406
|
/**
|
|
929
1407
|
* Forbidden
|
|
930
1408
|
*/
|
|
931
|
-
403:
|
|
1409
|
+
403: ApiErrorResponse;
|
|
932
1410
|
/**
|
|
933
1411
|
* Not found
|
|
934
1412
|
*/
|
|
935
|
-
404:
|
|
1413
|
+
404: ApiErrorResponse;
|
|
936
1414
|
};
|
|
1415
|
+
export type CollectionUpdateSeriesDetailsError = CollectionUpdateSeriesDetailsErrors[keyof CollectionUpdateSeriesDetailsErrors];
|
|
937
1416
|
export type CollectionUpdateSeriesDetailsResponses = {
|
|
938
1417
|
/**
|
|
939
1418
|
* Updated series draft details
|
|
@@ -994,6 +1473,7 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
994
1473
|
};
|
|
995
1474
|
} | null;
|
|
996
1475
|
edition: {
|
|
1476
|
+
editionId: string;
|
|
997
1477
|
size: number;
|
|
998
1478
|
name?: string;
|
|
999
1479
|
description?: string;
|
|
@@ -1013,10 +1493,9 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
1013
1493
|
ensName: string | null;
|
|
1014
1494
|
};
|
|
1015
1495
|
stats: {
|
|
1016
|
-
volume: string;
|
|
1017
|
-
volumeUsd: string | null;
|
|
1018
1496
|
ownerCount: number;
|
|
1019
1497
|
tokenCount: number;
|
|
1498
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
1020
1499
|
updatedAt: string;
|
|
1021
1500
|
} | null;
|
|
1022
1501
|
sales: Array<{
|
|
@@ -1027,7 +1506,7 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
1027
1506
|
startAt: string;
|
|
1028
1507
|
endAt: string | null;
|
|
1029
1508
|
price: string;
|
|
1030
|
-
currency:
|
|
1509
|
+
currency: SaleCurrency;
|
|
1031
1510
|
maxPerTransaction: number;
|
|
1032
1511
|
maxPerWallet: number;
|
|
1033
1512
|
maxTotal: number;
|
|
@@ -1044,6 +1523,8 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
1044
1523
|
collectorMessage: string | null;
|
|
1045
1524
|
createdAt: string;
|
|
1046
1525
|
updatedAt: string;
|
|
1526
|
+
stats: SaleStats | null;
|
|
1527
|
+
lifecycle: SaleLifecycle;
|
|
1047
1528
|
}>;
|
|
1048
1529
|
};
|
|
1049
1530
|
};
|
|
@@ -1072,137 +1553,35 @@ export type CollectionUpdateEditionDetailsErrors = {
|
|
|
1072
1553
|
/**
|
|
1073
1554
|
* Invalid request
|
|
1074
1555
|
*/
|
|
1075
|
-
400:
|
|
1556
|
+
400: ApiErrorResponse;
|
|
1076
1557
|
/**
|
|
1077
1558
|
* Unauthorized
|
|
1078
1559
|
*/
|
|
1079
|
-
401:
|
|
1560
|
+
401: ApiErrorResponse;
|
|
1080
1561
|
/**
|
|
1081
1562
|
* Forbidden
|
|
1082
1563
|
*/
|
|
1083
|
-
403:
|
|
1564
|
+
403: ApiErrorResponse;
|
|
1084
1565
|
/**
|
|
1085
1566
|
* Not found
|
|
1086
1567
|
*/
|
|
1087
|
-
404:
|
|
1568
|
+
404: ApiErrorResponse;
|
|
1569
|
+
/**
|
|
1570
|
+
* Metadata archive provider unavailable
|
|
1571
|
+
*/
|
|
1572
|
+
503: ApiErrorResponse;
|
|
1088
1573
|
};
|
|
1574
|
+
export type CollectionUpdateEditionDetailsError = CollectionUpdateEditionDetailsErrors[keyof CollectionUpdateEditionDetailsErrors];
|
|
1089
1575
|
export type CollectionUpdateEditionDetailsResponses = {
|
|
1090
1576
|
/**
|
|
1091
|
-
* Updated edition draft
|
|
1577
|
+
* Updated edition details (draft) or a transaction to sign (live)
|
|
1092
1578
|
*/
|
|
1093
|
-
200:
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
logoMedia: MediaAsset;
|
|
1100
|
-
baseUriId: string | null;
|
|
1101
|
-
royaltyAddress: string | null;
|
|
1102
|
-
royaltyAmount: number | null;
|
|
1103
|
-
tokenManager: string | null;
|
|
1104
|
-
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
1105
|
-
revealStrategy: RevealStrategy;
|
|
1106
|
-
source: CollectionSource;
|
|
1107
|
-
type: CollectionType;
|
|
1108
|
-
contract: {
|
|
1109
|
-
id: string;
|
|
1110
|
-
chainId: number;
|
|
1111
|
-
type: "GenerativeSeries" | "Series" | "MultipleEditions" | "MultipleEditionsDFS" | "SingleEdition" | "SingleEditionDFS" | "EditionsDFS1155";
|
|
1112
|
-
standard: ContractStandard;
|
|
1113
|
-
creatorAddress: string;
|
|
1114
|
-
name: string;
|
|
1115
|
-
address: string | null;
|
|
1116
|
-
symbol: string;
|
|
1117
|
-
contractUri: string | null;
|
|
1118
|
-
status: "Draft" | "Deploying" | "Live";
|
|
1119
|
-
createdAt: string;
|
|
1120
|
-
updatedAt: string;
|
|
1121
|
-
};
|
|
1122
|
-
createdAt: string;
|
|
1123
|
-
updatedAt: string;
|
|
1124
|
-
series: {
|
|
1125
|
-
size: number;
|
|
1126
|
-
isCollectorsChoice?: boolean;
|
|
1127
|
-
assetsMediaId?: string;
|
|
1128
|
-
assetsMedia?: MediaAsset | null;
|
|
1129
|
-
} | null;
|
|
1130
|
-
generative: {
|
|
1131
|
-
size: number;
|
|
1132
|
-
codeMediaId: string;
|
|
1133
|
-
codeMedia: MediaAsset;
|
|
1134
|
-
isCurated?: boolean;
|
|
1135
|
-
isGpuRendering?: boolean;
|
|
1136
|
-
editionType?: GenerativeEditionType;
|
|
1137
|
-
allowedHashes?: Array<string>;
|
|
1138
|
-
requiredParams?: Array<string>;
|
|
1139
|
-
captureSettings?: {
|
|
1140
|
-
trigger: CaptureSettingsTrigger;
|
|
1141
|
-
delay?: number;
|
|
1142
|
-
selector?: string;
|
|
1143
|
-
selectorType?: SelectorType;
|
|
1144
|
-
viewPortHeight?: number;
|
|
1145
|
-
viewPortWidth?: number;
|
|
1146
|
-
};
|
|
1147
|
-
} | null;
|
|
1148
|
-
edition: {
|
|
1149
|
-
size: number;
|
|
1150
|
-
name?: string;
|
|
1151
|
-
description?: string;
|
|
1152
|
-
imageMediaId?: string;
|
|
1153
|
-
animationMediaId?: string;
|
|
1154
|
-
imageMedia?: MediaAsset | null;
|
|
1155
|
-
animationMedia?: MediaAsset | null;
|
|
1156
|
-
attributes?: Array<{
|
|
1157
|
-
traitType: string;
|
|
1158
|
-
value: string;
|
|
1159
|
-
}>;
|
|
1160
|
-
} | null;
|
|
1161
|
-
account: {
|
|
1162
|
-
id: string;
|
|
1163
|
-
displayName: string | null;
|
|
1164
|
-
primaryAddress: string | null;
|
|
1165
|
-
ensName: string | null;
|
|
1166
|
-
};
|
|
1167
|
-
stats: {
|
|
1168
|
-
volume: string;
|
|
1169
|
-
volumeUsd: string | null;
|
|
1170
|
-
ownerCount: number;
|
|
1171
|
-
tokenCount: number;
|
|
1172
|
-
updatedAt: string;
|
|
1173
|
-
} | null;
|
|
1174
|
-
sales: Array<{
|
|
1175
|
-
id: string;
|
|
1176
|
-
collectionId: string;
|
|
1177
|
-
name: string | null;
|
|
1178
|
-
type: SaleType;
|
|
1179
|
-
startAt: string;
|
|
1180
|
-
endAt: string | null;
|
|
1181
|
-
price: string;
|
|
1182
|
-
currency: string;
|
|
1183
|
-
maxPerTransaction: number;
|
|
1184
|
-
maxPerWallet: number;
|
|
1185
|
-
maxTotal: number;
|
|
1186
|
-
paymentRecipient: string;
|
|
1187
|
-
accessMode: SaleAccessMode;
|
|
1188
|
-
gateId: string | null;
|
|
1189
|
-
gasSponsored: boolean;
|
|
1190
|
-
status: SaleStatus;
|
|
1191
|
-
paused: boolean;
|
|
1192
|
-
mechanicId: string | null;
|
|
1193
|
-
typeConfig: unknown | null;
|
|
1194
|
-
vectorId: string | null;
|
|
1195
|
-
customMintFee: string | null;
|
|
1196
|
-
collectorMessage: string | null;
|
|
1197
|
-
createdAt: string;
|
|
1198
|
-
updatedAt: string;
|
|
1199
|
-
}>;
|
|
1200
|
-
};
|
|
1201
|
-
};
|
|
1202
|
-
export type CollectionUpdateEditionDetailsResponse = CollectionUpdateEditionDetailsResponses[keyof CollectionUpdateEditionDetailsResponses];
|
|
1203
|
-
export type CollectionGetSalesData = {
|
|
1204
|
-
body?: never;
|
|
1205
|
-
path: {
|
|
1579
|
+
200: EditionUpdateResponse;
|
|
1580
|
+
};
|
|
1581
|
+
export type CollectionUpdateEditionDetailsResponse = CollectionUpdateEditionDetailsResponses[keyof CollectionUpdateEditionDetailsResponses];
|
|
1582
|
+
export type CollectionGetSalesData = {
|
|
1583
|
+
body?: never;
|
|
1584
|
+
path: {
|
|
1206
1585
|
highlightId: string;
|
|
1207
1586
|
};
|
|
1208
1587
|
query?: never;
|
|
@@ -1212,16 +1591,17 @@ export type CollectionGetSalesErrors = {
|
|
|
1212
1591
|
/**
|
|
1213
1592
|
* Unauthorized
|
|
1214
1593
|
*/
|
|
1215
|
-
401:
|
|
1594
|
+
401: ApiErrorResponse;
|
|
1216
1595
|
/**
|
|
1217
1596
|
* Forbidden
|
|
1218
1597
|
*/
|
|
1219
|
-
403:
|
|
1598
|
+
403: ApiErrorResponse;
|
|
1220
1599
|
/**
|
|
1221
1600
|
* Not found
|
|
1222
1601
|
*/
|
|
1223
|
-
404:
|
|
1602
|
+
404: ApiErrorResponse;
|
|
1224
1603
|
};
|
|
1604
|
+
export type CollectionGetSalesError = CollectionGetSalesErrors[keyof CollectionGetSalesErrors];
|
|
1225
1605
|
export type CollectionGetSalesResponses = {
|
|
1226
1606
|
/**
|
|
1227
1607
|
* Collection sales
|
|
@@ -1234,7 +1614,7 @@ export type CollectionGetSalesResponses = {
|
|
|
1234
1614
|
startAt: string;
|
|
1235
1615
|
endAt: string | null;
|
|
1236
1616
|
price: string;
|
|
1237
|
-
currency:
|
|
1617
|
+
currency: SaleCurrency;
|
|
1238
1618
|
maxPerTransaction: number;
|
|
1239
1619
|
maxPerWallet: number;
|
|
1240
1620
|
maxTotal: number;
|
|
@@ -1251,6 +1631,8 @@ export type CollectionGetSalesResponses = {
|
|
|
1251
1631
|
collectorMessage: string | null;
|
|
1252
1632
|
createdAt: string;
|
|
1253
1633
|
updatedAt: string;
|
|
1634
|
+
stats: SaleStats | null;
|
|
1635
|
+
lifecycle: SaleLifecycle;
|
|
1254
1636
|
}>;
|
|
1255
1637
|
};
|
|
1256
1638
|
export type CollectionGetSalesResponse = CollectionGetSalesResponses[keyof CollectionGetSalesResponses];
|
|
@@ -1284,24 +1666,25 @@ export type CollectionAddSaleErrors = {
|
|
|
1284
1666
|
/**
|
|
1285
1667
|
* Invalid request
|
|
1286
1668
|
*/
|
|
1287
|
-
400:
|
|
1669
|
+
400: ApiErrorResponse;
|
|
1288
1670
|
/**
|
|
1289
1671
|
* Unauthorized
|
|
1290
1672
|
*/
|
|
1291
|
-
401:
|
|
1673
|
+
401: ApiErrorResponse;
|
|
1292
1674
|
/**
|
|
1293
1675
|
* Forbidden
|
|
1294
1676
|
*/
|
|
1295
|
-
403:
|
|
1677
|
+
403: ApiErrorResponse;
|
|
1296
1678
|
/**
|
|
1297
1679
|
* Not found
|
|
1298
1680
|
*/
|
|
1299
|
-
404:
|
|
1681
|
+
404: ApiErrorResponse;
|
|
1300
1682
|
/**
|
|
1301
1683
|
* Sale already exists
|
|
1302
1684
|
*/
|
|
1303
|
-
409:
|
|
1685
|
+
409: ApiErrorResponse;
|
|
1304
1686
|
};
|
|
1687
|
+
export type CollectionAddSaleError = CollectionAddSaleErrors[keyof CollectionAddSaleErrors];
|
|
1305
1688
|
export type CollectionAddSaleResponses = {
|
|
1306
1689
|
/**
|
|
1307
1690
|
* Sale added
|
|
@@ -1331,20 +1714,21 @@ export type CollectionDeleteSaleErrors = {
|
|
|
1331
1714
|
/**
|
|
1332
1715
|
* Invalid request
|
|
1333
1716
|
*/
|
|
1334
|
-
400:
|
|
1717
|
+
400: ApiErrorResponse;
|
|
1335
1718
|
/**
|
|
1336
1719
|
* Unauthorized
|
|
1337
1720
|
*/
|
|
1338
|
-
401:
|
|
1721
|
+
401: ApiErrorResponse;
|
|
1339
1722
|
/**
|
|
1340
1723
|
* Forbidden
|
|
1341
1724
|
*/
|
|
1342
|
-
403:
|
|
1725
|
+
403: ApiErrorResponse;
|
|
1343
1726
|
/**
|
|
1344
1727
|
* Not found
|
|
1345
1728
|
*/
|
|
1346
|
-
404:
|
|
1729
|
+
404: ApiErrorResponse;
|
|
1347
1730
|
};
|
|
1731
|
+
export type CollectionDeleteSaleError = CollectionDeleteSaleErrors[keyof CollectionDeleteSaleErrors];
|
|
1348
1732
|
export type CollectionDeleteSaleResponses = {
|
|
1349
1733
|
/**
|
|
1350
1734
|
* Sale deleted
|
|
@@ -1378,20 +1762,21 @@ export type CollectionUpdateSaleErrors = {
|
|
|
1378
1762
|
/**
|
|
1379
1763
|
* Invalid request
|
|
1380
1764
|
*/
|
|
1381
|
-
400:
|
|
1765
|
+
400: ApiErrorResponse;
|
|
1382
1766
|
/**
|
|
1383
1767
|
* Unauthorized
|
|
1384
1768
|
*/
|
|
1385
|
-
401:
|
|
1769
|
+
401: ApiErrorResponse;
|
|
1386
1770
|
/**
|
|
1387
1771
|
* Forbidden
|
|
1388
1772
|
*/
|
|
1389
|
-
403:
|
|
1773
|
+
403: ApiErrorResponse;
|
|
1390
1774
|
/**
|
|
1391
1775
|
* Not found
|
|
1392
1776
|
*/
|
|
1393
|
-
404:
|
|
1777
|
+
404: ApiErrorResponse;
|
|
1394
1778
|
};
|
|
1779
|
+
export type CollectionUpdateSaleError = CollectionUpdateSaleErrors[keyof CollectionUpdateSaleErrors];
|
|
1395
1780
|
export type CollectionUpdateSaleResponses = {
|
|
1396
1781
|
/**
|
|
1397
1782
|
* Sale updated
|
|
@@ -1424,20 +1809,21 @@ export type CollectionClaimSaleErrors = {
|
|
|
1424
1809
|
/**
|
|
1425
1810
|
* Invalid request
|
|
1426
1811
|
*/
|
|
1427
|
-
400:
|
|
1812
|
+
400: ApiErrorResponse;
|
|
1428
1813
|
/**
|
|
1429
1814
|
* Unauthorized
|
|
1430
1815
|
*/
|
|
1431
|
-
401:
|
|
1816
|
+
401: ApiErrorResponse;
|
|
1432
1817
|
/**
|
|
1433
1818
|
* Not found
|
|
1434
1819
|
*/
|
|
1435
|
-
404:
|
|
1820
|
+
404: ApiErrorResponse;
|
|
1436
1821
|
/**
|
|
1437
1822
|
* Internal server error
|
|
1438
1823
|
*/
|
|
1439
|
-
500:
|
|
1824
|
+
500: ApiErrorResponse;
|
|
1440
1825
|
};
|
|
1826
|
+
export type CollectionClaimSaleError = CollectionClaimSaleErrors[keyof CollectionClaimSaleErrors];
|
|
1441
1827
|
export type CollectionClaimSaleResponses = {
|
|
1442
1828
|
/**
|
|
1443
1829
|
* Claim transaction configuration
|
|
@@ -1455,6 +1841,7 @@ export type CollectionBidSaleData = {
|
|
|
1455
1841
|
saleId: string;
|
|
1456
1842
|
bidAmount: string;
|
|
1457
1843
|
bidId?: number;
|
|
1844
|
+
preferredNftRecipient?: string;
|
|
1458
1845
|
};
|
|
1459
1846
|
path: {
|
|
1460
1847
|
highlightId: string;
|
|
@@ -1466,16 +1853,17 @@ export type CollectionBidSaleErrors = {
|
|
|
1466
1853
|
/**
|
|
1467
1854
|
* Invalid request
|
|
1468
1855
|
*/
|
|
1469
|
-
400:
|
|
1856
|
+
400: ApiErrorResponse;
|
|
1470
1857
|
/**
|
|
1471
1858
|
* Unauthorized
|
|
1472
1859
|
*/
|
|
1473
|
-
401:
|
|
1860
|
+
401: ApiErrorResponse;
|
|
1474
1861
|
/**
|
|
1475
1862
|
* Not found
|
|
1476
1863
|
*/
|
|
1477
|
-
404:
|
|
1864
|
+
404: ApiErrorResponse;
|
|
1478
1865
|
};
|
|
1866
|
+
export type CollectionBidSaleError = CollectionBidSaleErrors[keyof CollectionBidSaleErrors];
|
|
1479
1867
|
export type CollectionBidSaleResponses = {
|
|
1480
1868
|
/**
|
|
1481
1869
|
* Bid transaction configuration
|
|
@@ -1488,82 +1876,260 @@ export type CollectionBidSaleResponses = {
|
|
|
1488
1876
|
};
|
|
1489
1877
|
};
|
|
1490
1878
|
export type CollectionBidSaleResponse = CollectionBidSaleResponses[keyof CollectionBidSaleResponses];
|
|
1491
|
-
export type
|
|
1879
|
+
export type CollectionReclaimBidData = {
|
|
1492
1880
|
body: {
|
|
1493
1881
|
saleId: string;
|
|
1494
|
-
|
|
1882
|
+
bidId: number;
|
|
1495
1883
|
};
|
|
1496
1884
|
path: {
|
|
1497
1885
|
highlightId: string;
|
|
1498
1886
|
};
|
|
1499
1887
|
query?: never;
|
|
1500
|
-
url: "/collection/{highlightId}/sales/
|
|
1888
|
+
url: "/collection/{highlightId}/sales/reclaim";
|
|
1501
1889
|
};
|
|
1502
|
-
export type
|
|
1890
|
+
export type CollectionReclaimBidErrors = {
|
|
1503
1891
|
/**
|
|
1504
1892
|
* Invalid request
|
|
1505
1893
|
*/
|
|
1506
|
-
400:
|
|
1894
|
+
400: ApiErrorResponse;
|
|
1507
1895
|
/**
|
|
1508
1896
|
* Unauthorized
|
|
1509
1897
|
*/
|
|
1510
|
-
401:
|
|
1898
|
+
401: ApiErrorResponse;
|
|
1511
1899
|
/**
|
|
1512
1900
|
* Not found
|
|
1513
1901
|
*/
|
|
1514
|
-
404:
|
|
1902
|
+
404: ApiErrorResponse;
|
|
1515
1903
|
/**
|
|
1516
1904
|
* Internal server error
|
|
1517
1905
|
*/
|
|
1518
|
-
500:
|
|
1906
|
+
500: ApiErrorResponse;
|
|
1519
1907
|
};
|
|
1520
|
-
export type
|
|
1908
|
+
export type CollectionReclaimBidError = CollectionReclaimBidErrors[keyof CollectionReclaimBidErrors];
|
|
1909
|
+
export type CollectionReclaimBidResponses = {
|
|
1521
1910
|
/**
|
|
1522
|
-
*
|
|
1911
|
+
* Reclaim transaction configuration
|
|
1523
1912
|
*/
|
|
1524
1913
|
200: {
|
|
1525
|
-
|
|
1914
|
+
chainId: number;
|
|
1915
|
+
to: string | null;
|
|
1916
|
+
data: string;
|
|
1917
|
+
value: string;
|
|
1526
1918
|
};
|
|
1527
1919
|
};
|
|
1528
|
-
export type
|
|
1529
|
-
export type
|
|
1920
|
+
export type CollectionReclaimBidResponse = CollectionReclaimBidResponses[keyof CollectionReclaimBidResponses];
|
|
1921
|
+
export type CollectionClaimAuctionEarningsData = {
|
|
1530
1922
|
body: {
|
|
1531
|
-
|
|
1923
|
+
saleId: string;
|
|
1924
|
+
};
|
|
1925
|
+
path: {
|
|
1926
|
+
highlightId: string;
|
|
1927
|
+
};
|
|
1928
|
+
query?: never;
|
|
1929
|
+
url: "/collection/{highlightId}/sales/earnings";
|
|
1930
|
+
};
|
|
1931
|
+
export type CollectionClaimAuctionEarningsErrors = {
|
|
1932
|
+
/**
|
|
1933
|
+
* Invalid request
|
|
1934
|
+
*/
|
|
1935
|
+
400: ApiErrorResponse;
|
|
1936
|
+
/**
|
|
1937
|
+
* Unauthorized
|
|
1938
|
+
*/
|
|
1939
|
+
401: ApiErrorResponse;
|
|
1940
|
+
/**
|
|
1941
|
+
* Not found
|
|
1942
|
+
*/
|
|
1943
|
+
404: ApiErrorResponse;
|
|
1944
|
+
/**
|
|
1945
|
+
* Already claimed
|
|
1946
|
+
*/
|
|
1947
|
+
409: ApiErrorResponse;
|
|
1948
|
+
/**
|
|
1949
|
+
* Internal server error
|
|
1950
|
+
*/
|
|
1951
|
+
500: ApiErrorResponse;
|
|
1952
|
+
};
|
|
1953
|
+
export type CollectionClaimAuctionEarningsError = CollectionClaimAuctionEarningsErrors[keyof CollectionClaimAuctionEarningsErrors];
|
|
1954
|
+
export type CollectionClaimAuctionEarningsResponses = {
|
|
1955
|
+
/**
|
|
1956
|
+
* Earnings withdrawal transaction configuration
|
|
1957
|
+
*/
|
|
1958
|
+
200: {
|
|
1959
|
+
chainId: number;
|
|
1960
|
+
to: string | null;
|
|
1961
|
+
data: string;
|
|
1962
|
+
value: string;
|
|
1963
|
+
};
|
|
1964
|
+
};
|
|
1965
|
+
export type CollectionClaimAuctionEarningsResponse = CollectionClaimAuctionEarningsResponses[keyof CollectionClaimAuctionEarningsResponses];
|
|
1966
|
+
export type CollectionRankedAuctionStandingsData = {
|
|
1967
|
+
body?: never;
|
|
1968
|
+
path: {
|
|
1969
|
+
highlightId: string;
|
|
1970
|
+
saleId: string;
|
|
1971
|
+
};
|
|
1972
|
+
query?: never;
|
|
1973
|
+
url: "/collection/{highlightId}/sales/{saleId}/standings";
|
|
1974
|
+
};
|
|
1975
|
+
export type CollectionRankedAuctionStandingsErrors = {
|
|
1976
|
+
/**
|
|
1977
|
+
* Invalid request
|
|
1978
|
+
*/
|
|
1979
|
+
400: ApiErrorResponse;
|
|
1980
|
+
/**
|
|
1981
|
+
* Not found
|
|
1982
|
+
*/
|
|
1983
|
+
404: ApiErrorResponse;
|
|
1984
|
+
};
|
|
1985
|
+
export type CollectionRankedAuctionStandingsError = CollectionRankedAuctionStandingsErrors[keyof CollectionRankedAuctionStandingsErrors];
|
|
1986
|
+
export type CollectionRankedAuctionStandingsResponses = {
|
|
1987
|
+
/**
|
|
1988
|
+
* Ranked auction standings
|
|
1989
|
+
*/
|
|
1990
|
+
200: RankedAuctionStandings;
|
|
1991
|
+
};
|
|
1992
|
+
export type CollectionRankedAuctionStandingsResponse = CollectionRankedAuctionStandingsResponses[keyof CollectionRankedAuctionStandingsResponses];
|
|
1993
|
+
export type CollectionFulfillEnglishAuctionData = {
|
|
1994
|
+
body: {
|
|
1995
|
+
saleId: string;
|
|
1532
1996
|
};
|
|
1533
1997
|
path: {
|
|
1534
1998
|
highlightId: string;
|
|
1999
|
+
};
|
|
2000
|
+
query?: never;
|
|
2001
|
+
url: "/collection/{highlightId}/sales/auction/fulfill";
|
|
2002
|
+
};
|
|
2003
|
+
export type CollectionFulfillEnglishAuctionErrors = {
|
|
2004
|
+
/**
|
|
2005
|
+
* Invalid request
|
|
2006
|
+
*/
|
|
2007
|
+
400: ApiErrorResponse;
|
|
2008
|
+
/**
|
|
2009
|
+
* Unauthorized
|
|
2010
|
+
*/
|
|
2011
|
+
401: ApiErrorResponse;
|
|
2012
|
+
/**
|
|
2013
|
+
* Not found
|
|
2014
|
+
*/
|
|
2015
|
+
404: ApiErrorResponse;
|
|
2016
|
+
/**
|
|
2017
|
+
* Internal server error
|
|
2018
|
+
*/
|
|
2019
|
+
500: ApiErrorResponse;
|
|
2020
|
+
};
|
|
2021
|
+
export type CollectionFulfillEnglishAuctionError = CollectionFulfillEnglishAuctionErrors[keyof CollectionFulfillEnglishAuctionErrors];
|
|
2022
|
+
export type CollectionFulfillEnglishAuctionResponses = {
|
|
2023
|
+
/**
|
|
2024
|
+
* Fulfill transaction configuration
|
|
2025
|
+
*/
|
|
2026
|
+
200: {
|
|
2027
|
+
chainId: number;
|
|
2028
|
+
to: string | null;
|
|
2029
|
+
data: string;
|
|
2030
|
+
value: string;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
export type CollectionFulfillEnglishAuctionResponse = CollectionFulfillEnglishAuctionResponses[keyof CollectionFulfillEnglishAuctionResponses];
|
|
2034
|
+
export type CollectionCancelEnglishAuctionData = {
|
|
2035
|
+
body: {
|
|
1535
2036
|
saleId: string;
|
|
1536
2037
|
};
|
|
2038
|
+
path: {
|
|
2039
|
+
highlightId: string;
|
|
2040
|
+
};
|
|
1537
2041
|
query?: never;
|
|
1538
|
-
url: "/collection/{highlightId}/sales/
|
|
2042
|
+
url: "/collection/{highlightId}/sales/auction/cancel";
|
|
1539
2043
|
};
|
|
1540
|
-
export type
|
|
2044
|
+
export type CollectionCancelEnglishAuctionErrors = {
|
|
1541
2045
|
/**
|
|
1542
2046
|
* Invalid request
|
|
1543
2047
|
*/
|
|
1544
|
-
400:
|
|
2048
|
+
400: ApiErrorResponse;
|
|
1545
2049
|
/**
|
|
1546
2050
|
* Unauthorized
|
|
1547
2051
|
*/
|
|
1548
|
-
401:
|
|
2052
|
+
401: ApiErrorResponse;
|
|
1549
2053
|
/**
|
|
1550
2054
|
* Forbidden
|
|
1551
2055
|
*/
|
|
1552
|
-
403:
|
|
2056
|
+
403: ApiErrorResponse;
|
|
1553
2057
|
/**
|
|
1554
2058
|
* Not found
|
|
1555
2059
|
*/
|
|
1556
|
-
404:
|
|
2060
|
+
404: ApiErrorResponse;
|
|
2061
|
+
/**
|
|
2062
|
+
* Internal server error
|
|
2063
|
+
*/
|
|
2064
|
+
500: ApiErrorResponse;
|
|
1557
2065
|
};
|
|
1558
|
-
export type
|
|
2066
|
+
export type CollectionCancelEnglishAuctionError = CollectionCancelEnglishAuctionErrors[keyof CollectionCancelEnglishAuctionErrors];
|
|
2067
|
+
export type CollectionCancelEnglishAuctionResponses = {
|
|
1559
2068
|
/**
|
|
1560
|
-
*
|
|
2069
|
+
* Cancel transaction configuration
|
|
1561
2070
|
*/
|
|
1562
2071
|
200: {
|
|
1563
|
-
|
|
2072
|
+
chainId: number;
|
|
2073
|
+
to: string | null;
|
|
2074
|
+
data: string;
|
|
2075
|
+
value: string;
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
2078
|
+
export type CollectionCancelEnglishAuctionResponse = CollectionCancelEnglishAuctionResponses[keyof CollectionCancelEnglishAuctionResponses];
|
|
2079
|
+
export type CollectionEnglishAuctionStandingData = {
|
|
2080
|
+
body?: never;
|
|
2081
|
+
path: {
|
|
2082
|
+
highlightId: string;
|
|
2083
|
+
saleId: string;
|
|
2084
|
+
};
|
|
2085
|
+
query?: never;
|
|
2086
|
+
url: "/collection/{highlightId}/sales/{saleId}/auction";
|
|
2087
|
+
};
|
|
2088
|
+
export type CollectionEnglishAuctionStandingErrors = {
|
|
2089
|
+
/**
|
|
2090
|
+
* Invalid request
|
|
2091
|
+
*/
|
|
2092
|
+
400: ApiErrorResponse;
|
|
2093
|
+
/**
|
|
2094
|
+
* Not found
|
|
2095
|
+
*/
|
|
2096
|
+
404: ApiErrorResponse;
|
|
2097
|
+
};
|
|
2098
|
+
export type CollectionEnglishAuctionStandingError = CollectionEnglishAuctionStandingErrors[keyof CollectionEnglishAuctionStandingErrors];
|
|
2099
|
+
export type CollectionEnglishAuctionStandingResponses = {
|
|
2100
|
+
/**
|
|
2101
|
+
* English auction standing
|
|
2102
|
+
*/
|
|
2103
|
+
200: EnglishAuctionStanding;
|
|
2104
|
+
};
|
|
2105
|
+
export type CollectionEnglishAuctionStandingResponse = CollectionEnglishAuctionStandingResponses[keyof CollectionEnglishAuctionStandingResponses];
|
|
2106
|
+
export type CollectionEnglishAuctionBidsData = {
|
|
2107
|
+
body?: never;
|
|
2108
|
+
path: {
|
|
2109
|
+
highlightId: string;
|
|
2110
|
+
saleId: string;
|
|
1564
2111
|
};
|
|
2112
|
+
query?: never;
|
|
2113
|
+
url: "/collection/{highlightId}/sales/{saleId}/auction/bids";
|
|
1565
2114
|
};
|
|
1566
|
-
export type
|
|
2115
|
+
export type CollectionEnglishAuctionBidsErrors = {
|
|
2116
|
+
/**
|
|
2117
|
+
* Invalid request
|
|
2118
|
+
*/
|
|
2119
|
+
400: ApiErrorResponse;
|
|
2120
|
+
/**
|
|
2121
|
+
* Not found
|
|
2122
|
+
*/
|
|
2123
|
+
404: ApiErrorResponse;
|
|
2124
|
+
};
|
|
2125
|
+
export type CollectionEnglishAuctionBidsError = CollectionEnglishAuctionBidsErrors[keyof CollectionEnglishAuctionBidsErrors];
|
|
2126
|
+
export type CollectionEnglishAuctionBidsResponses = {
|
|
2127
|
+
/**
|
|
2128
|
+
* English auction bid history
|
|
2129
|
+
*/
|
|
2130
|
+
200: EnglishAuctionBidHistory;
|
|
2131
|
+
};
|
|
2132
|
+
export type CollectionEnglishAuctionBidsResponse = CollectionEnglishAuctionBidsResponses[keyof CollectionEnglishAuctionBidsResponses];
|
|
1567
2133
|
export type CollectionDeployData = {
|
|
1568
2134
|
body?: never;
|
|
1569
2135
|
path: {
|
|
@@ -1576,20 +2142,21 @@ export type CollectionDeployErrors = {
|
|
|
1576
2142
|
/**
|
|
1577
2143
|
* Invalid request
|
|
1578
2144
|
*/
|
|
1579
|
-
400:
|
|
2145
|
+
400: ApiErrorResponse;
|
|
1580
2146
|
/**
|
|
1581
2147
|
* Unauthorized
|
|
1582
2148
|
*/
|
|
1583
|
-
401:
|
|
2149
|
+
401: ApiErrorResponse;
|
|
1584
2150
|
/**
|
|
1585
2151
|
* Forbidden
|
|
1586
2152
|
*/
|
|
1587
|
-
403:
|
|
2153
|
+
403: ApiErrorResponse;
|
|
1588
2154
|
/**
|
|
1589
2155
|
* Not found
|
|
1590
2156
|
*/
|
|
1591
|
-
404:
|
|
2157
|
+
404: ApiErrorResponse;
|
|
1592
2158
|
};
|
|
2159
|
+
export type CollectionDeployError = CollectionDeployErrors[keyof CollectionDeployErrors];
|
|
1593
2160
|
export type CollectionDeployResponses = {
|
|
1594
2161
|
/**
|
|
1595
2162
|
* Deployment initiated
|
|
@@ -1627,16 +2194,17 @@ export type CollectionDeployStatusErrors = {
|
|
|
1627
2194
|
/**
|
|
1628
2195
|
* Unauthorized
|
|
1629
2196
|
*/
|
|
1630
|
-
401:
|
|
2197
|
+
401: ApiErrorResponse;
|
|
1631
2198
|
/**
|
|
1632
2199
|
* Forbidden
|
|
1633
2200
|
*/
|
|
1634
|
-
403:
|
|
2201
|
+
403: ApiErrorResponse;
|
|
1635
2202
|
/**
|
|
1636
2203
|
* Not found
|
|
1637
2204
|
*/
|
|
1638
|
-
404:
|
|
2205
|
+
404: ApiErrorResponse;
|
|
1639
2206
|
};
|
|
2207
|
+
export type CollectionDeployStatusError = CollectionDeployStatusErrors[keyof CollectionDeployStatusErrors];
|
|
1640
2208
|
export type CollectionDeployStatusResponses = {
|
|
1641
2209
|
/**
|
|
1642
2210
|
* Deployment status
|
|
@@ -1674,20 +2242,21 @@ export type CollectionDeployCancelErrors = {
|
|
|
1674
2242
|
/**
|
|
1675
2243
|
* Deployment cannot be cancelled from its current state
|
|
1676
2244
|
*/
|
|
1677
|
-
400:
|
|
2245
|
+
400: ApiErrorResponse;
|
|
1678
2246
|
/**
|
|
1679
2247
|
* Unauthorized
|
|
1680
2248
|
*/
|
|
1681
|
-
401:
|
|
2249
|
+
401: ApiErrorResponse;
|
|
1682
2250
|
/**
|
|
1683
2251
|
* Forbidden
|
|
1684
2252
|
*/
|
|
1685
|
-
403:
|
|
2253
|
+
403: ApiErrorResponse;
|
|
1686
2254
|
/**
|
|
1687
2255
|
* Not found
|
|
1688
2256
|
*/
|
|
1689
|
-
404:
|
|
2257
|
+
404: ApiErrorResponse;
|
|
1690
2258
|
};
|
|
2259
|
+
export type CollectionDeployCancelError = CollectionDeployCancelErrors[keyof CollectionDeployCancelErrors];
|
|
1691
2260
|
export type CollectionDeployCancelResponses = {
|
|
1692
2261
|
/**
|
|
1693
2262
|
* Deployment cancelled
|
|
@@ -1698,59 +2267,6 @@ export type CollectionDeployCancelResponses = {
|
|
|
1698
2267
|
};
|
|
1699
2268
|
};
|
|
1700
2269
|
export type CollectionDeployCancelResponse = CollectionDeployCancelResponses[keyof CollectionDeployCancelResponses];
|
|
1701
|
-
export type CollectionDeployConfirmData = {
|
|
1702
|
-
body: {
|
|
1703
|
-
txHash: string;
|
|
1704
|
-
};
|
|
1705
|
-
path: {
|
|
1706
|
-
highlightId: string;
|
|
1707
|
-
};
|
|
1708
|
-
query?: never;
|
|
1709
|
-
url: "/collection/{highlightId}/deploy/confirm";
|
|
1710
|
-
};
|
|
1711
|
-
export type CollectionDeployConfirmErrors = {
|
|
1712
|
-
/**
|
|
1713
|
-
* Invalid request
|
|
1714
|
-
*/
|
|
1715
|
-
400: unknown;
|
|
1716
|
-
/**
|
|
1717
|
-
* Unauthorized
|
|
1718
|
-
*/
|
|
1719
|
-
401: unknown;
|
|
1720
|
-
/**
|
|
1721
|
-
* Forbidden
|
|
1722
|
-
*/
|
|
1723
|
-
403: unknown;
|
|
1724
|
-
/**
|
|
1725
|
-
* Not found
|
|
1726
|
-
*/
|
|
1727
|
-
404: unknown;
|
|
1728
|
-
};
|
|
1729
|
-
export type CollectionDeployConfirmResponses = {
|
|
1730
|
-
/**
|
|
1731
|
-
* Transaction confirmed
|
|
1732
|
-
*/
|
|
1733
|
-
200: {
|
|
1734
|
-
status: "Pending" | "InProgress" | "Completed" | "Failed";
|
|
1735
|
-
currentStep: "Validate" | "UploadMetadata" | "UploadCode" | "GenerateTransaction" | "AwaitTransaction" | "RecordTransaction";
|
|
1736
|
-
steps: Array<{
|
|
1737
|
-
step: string;
|
|
1738
|
-
status: string;
|
|
1739
|
-
error?: string;
|
|
1740
|
-
}>;
|
|
1741
|
-
contractConfig: {
|
|
1742
|
-
chainId: number;
|
|
1743
|
-
to: string | null;
|
|
1744
|
-
data: string;
|
|
1745
|
-
value: string;
|
|
1746
|
-
} | null;
|
|
1747
|
-
txHash: string | null;
|
|
1748
|
-
error: string | null;
|
|
1749
|
-
deploymentId: string;
|
|
1750
|
-
highlightId: string;
|
|
1751
|
-
};
|
|
1752
|
-
};
|
|
1753
|
-
export type CollectionDeployConfirmResponse = CollectionDeployConfirmResponses[keyof CollectionDeployConfirmResponses];
|
|
1754
2270
|
export type TokenListData = {
|
|
1755
2271
|
body?: never;
|
|
1756
2272
|
path: {
|
|
@@ -1763,15 +2279,24 @@ export type TokenListData = {
|
|
|
1763
2279
|
order?: "asc" | "desc";
|
|
1764
2280
|
ownerAddress?: string;
|
|
1765
2281
|
search?: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* Trait filter as a JSON-encoded array of { traitType, values }. AND across entries, OR within a trait's values. Example: [{"traitType":"Background","values":["Blue","Red"]}].
|
|
2284
|
+
*/
|
|
2285
|
+
attributes?: string;
|
|
1766
2286
|
};
|
|
1767
2287
|
url: "/collection/{highlightId}/tokens";
|
|
1768
2288
|
};
|
|
1769
2289
|
export type TokenListErrors = {
|
|
2290
|
+
/**
|
|
2291
|
+
* Malformed attributes filter
|
|
2292
|
+
*/
|
|
2293
|
+
400: ApiErrorResponse;
|
|
1770
2294
|
/**
|
|
1771
2295
|
* Collection not found or not public
|
|
1772
2296
|
*/
|
|
1773
|
-
404:
|
|
2297
|
+
404: ApiErrorResponse;
|
|
1774
2298
|
};
|
|
2299
|
+
export type TokenListError = TokenListErrors[keyof TokenListErrors];
|
|
1775
2300
|
export type TokenListResponses = {
|
|
1776
2301
|
/**
|
|
1777
2302
|
* List of tokens
|
|
@@ -1812,6 +2337,30 @@ export type TokenListResponses = {
|
|
|
1812
2337
|
};
|
|
1813
2338
|
};
|
|
1814
2339
|
export type TokenListResponse = TokenListResponses[keyof TokenListResponses];
|
|
2340
|
+
export type TokenAttributeFacetsData = {
|
|
2341
|
+
body?: never;
|
|
2342
|
+
path: {
|
|
2343
|
+
highlightId: string;
|
|
2344
|
+
};
|
|
2345
|
+
query?: never;
|
|
2346
|
+
url: "/collection/{highlightId}/tokens/attributes";
|
|
2347
|
+
};
|
|
2348
|
+
export type TokenAttributeFacetsErrors = {
|
|
2349
|
+
/**
|
|
2350
|
+
* Collection not found or not public
|
|
2351
|
+
*/
|
|
2352
|
+
404: ApiErrorResponse;
|
|
2353
|
+
};
|
|
2354
|
+
export type TokenAttributeFacetsError = TokenAttributeFacetsErrors[keyof TokenAttributeFacetsErrors];
|
|
2355
|
+
export type TokenAttributeFacetsResponses = {
|
|
2356
|
+
/**
|
|
2357
|
+
* Attribute facets
|
|
2358
|
+
*/
|
|
2359
|
+
200: {
|
|
2360
|
+
facets: Array<TokenAttributeFacet>;
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
export type TokenAttributeFacetsResponse = TokenAttributeFacetsResponses[keyof TokenAttributeFacetsResponses];
|
|
1815
2364
|
export type TokenGetData = {
|
|
1816
2365
|
body?: never;
|
|
1817
2366
|
path: {
|
|
@@ -1825,8 +2374,9 @@ export type TokenGetErrors = {
|
|
|
1825
2374
|
/**
|
|
1826
2375
|
* Token or collection not found
|
|
1827
2376
|
*/
|
|
1828
|
-
404:
|
|
2377
|
+
404: ApiErrorResponse;
|
|
1829
2378
|
};
|
|
2379
|
+
export type TokenGetError = TokenGetErrors[keyof TokenGetErrors];
|
|
1830
2380
|
export type TokenGetResponses = {
|
|
1831
2381
|
/**
|
|
1832
2382
|
* Token details
|
|
@@ -1857,6 +2407,55 @@ export type TokenGetResponses = {
|
|
|
1857
2407
|
};
|
|
1858
2408
|
};
|
|
1859
2409
|
export type TokenGetResponse = TokenGetResponses[keyof TokenGetResponses];
|
|
2410
|
+
export type TokenListOwnersData = {
|
|
2411
|
+
body?: never;
|
|
2412
|
+
path: {
|
|
2413
|
+
highlightId: string;
|
|
2414
|
+
tokenId: string;
|
|
2415
|
+
};
|
|
2416
|
+
query?: never;
|
|
2417
|
+
url: "/collection/{highlightId}/tokens/{tokenId}/owners";
|
|
2418
|
+
};
|
|
2419
|
+
export type TokenListOwnersErrors = {
|
|
2420
|
+
/**
|
|
2421
|
+
* Token or collection not found
|
|
2422
|
+
*/
|
|
2423
|
+
404: ApiErrorResponse;
|
|
2424
|
+
};
|
|
2425
|
+
export type TokenListOwnersError = TokenListOwnersErrors[keyof TokenListOwnersErrors];
|
|
2426
|
+
export type TokenListOwnersResponses = {
|
|
2427
|
+
/**
|
|
2428
|
+
* Token owners
|
|
2429
|
+
*/
|
|
2430
|
+
200: TokenOwnersResponse;
|
|
2431
|
+
};
|
|
2432
|
+
export type TokenListOwnersResponse = TokenListOwnersResponses[keyof TokenListOwnersResponses];
|
|
2433
|
+
export type TokenRedriveRevealsData = {
|
|
2434
|
+
body?: never;
|
|
2435
|
+
path: {
|
|
2436
|
+
highlightId: string;
|
|
2437
|
+
};
|
|
2438
|
+
query?: never;
|
|
2439
|
+
url: "/collection/{highlightId}/tokens/redrive-reveals";
|
|
2440
|
+
};
|
|
2441
|
+
export type TokenRedriveRevealsErrors = {
|
|
2442
|
+
/**
|
|
2443
|
+
* Authentication required
|
|
2444
|
+
*/
|
|
2445
|
+
401: ApiErrorResponse;
|
|
2446
|
+
/**
|
|
2447
|
+
* Collection not found
|
|
2448
|
+
*/
|
|
2449
|
+
404: ApiErrorResponse;
|
|
2450
|
+
};
|
|
2451
|
+
export type TokenRedriveRevealsError = TokenRedriveRevealsErrors[keyof TokenRedriveRevealsErrors];
|
|
2452
|
+
export type TokenRedriveRevealsResponses = {
|
|
2453
|
+
/**
|
|
2454
|
+
* Re-drive summary
|
|
2455
|
+
*/
|
|
2456
|
+
200: TokenRedriveSummary;
|
|
2457
|
+
};
|
|
2458
|
+
export type TokenRedriveRevealsResponse = TokenRedriveRevealsResponses[keyof TokenRedriveRevealsResponses];
|
|
1860
2459
|
export type ConfigChainsData = {
|
|
1861
2460
|
body?: never;
|
|
1862
2461
|
path?: never;
|
|
@@ -1874,11 +2473,6 @@ export type ConfigChainsResponses = {
|
|
|
1874
2473
|
network: string;
|
|
1875
2474
|
testnet: boolean;
|
|
1876
2475
|
mintFee: string;
|
|
1877
|
-
wrappedCurrency: {
|
|
1878
|
-
address: string;
|
|
1879
|
-
decimals: number;
|
|
1880
|
-
symbol: string;
|
|
1881
|
-
} | null;
|
|
1882
2476
|
supportedFeatures: Array<string>;
|
|
1883
2477
|
supportedCurrencies: Array<{
|
|
1884
2478
|
address: string;
|
|
@@ -1905,12 +2499,13 @@ export type ConfigSystemContractErrors = {
|
|
|
1905
2499
|
/**
|
|
1906
2500
|
* Invalid request
|
|
1907
2501
|
*/
|
|
1908
|
-
400:
|
|
2502
|
+
400: ApiErrorResponse;
|
|
1909
2503
|
/**
|
|
1910
2504
|
* Configuration error
|
|
1911
2505
|
*/
|
|
1912
|
-
500:
|
|
2506
|
+
500: ApiErrorResponse;
|
|
1913
2507
|
};
|
|
2508
|
+
export type ConfigSystemContractError = ConfigSystemContractErrors[keyof ConfigSystemContractErrors];
|
|
1914
2509
|
export type ConfigSystemContractResponses = {
|
|
1915
2510
|
/**
|
|
1916
2511
|
* System contract address
|
|
@@ -1935,8 +2530,9 @@ export type ContractListErrors = {
|
|
|
1935
2530
|
/**
|
|
1936
2531
|
* Unauthorized
|
|
1937
2532
|
*/
|
|
1938
|
-
401:
|
|
2533
|
+
401: ApiErrorResponse;
|
|
1939
2534
|
};
|
|
2535
|
+
export type ContractListError = ContractListErrors[keyof ContractListErrors];
|
|
1940
2536
|
export type ContractListResponses = {
|
|
1941
2537
|
/**
|
|
1942
2538
|
* List of contracts
|
|
@@ -1975,12 +2571,13 @@ export type ContractGetErrors = {
|
|
|
1975
2571
|
/**
|
|
1976
2572
|
* Unauthorized
|
|
1977
2573
|
*/
|
|
1978
|
-
401:
|
|
2574
|
+
401: ApiErrorResponse;
|
|
1979
2575
|
/**
|
|
1980
2576
|
* Not found
|
|
1981
2577
|
*/
|
|
1982
|
-
404:
|
|
2578
|
+
404: ApiErrorResponse;
|
|
1983
2579
|
};
|
|
2580
|
+
export type ContractGetError = ContractGetErrors[keyof ContractGetErrors];
|
|
1984
2581
|
export type ContractGetResponses = {
|
|
1985
2582
|
/**
|
|
1986
2583
|
* Contract details
|
|
@@ -2011,8 +2608,9 @@ export type GateListErrors = {
|
|
|
2011
2608
|
/**
|
|
2012
2609
|
* Unauthorized
|
|
2013
2610
|
*/
|
|
2014
|
-
401:
|
|
2611
|
+
401: ApiErrorResponse;
|
|
2015
2612
|
};
|
|
2613
|
+
export type GateListError = GateListErrors[keyof GateListErrors];
|
|
2016
2614
|
export type GateListResponses = {
|
|
2017
2615
|
/**
|
|
2018
2616
|
* List of gates
|
|
@@ -2076,6 +2674,9 @@ export type GateCreateData = {
|
|
|
2076
2674
|
type: "FARCASTER_FOLLOW";
|
|
2077
2675
|
config: {
|
|
2078
2676
|
fid: number;
|
|
2677
|
+
username?: string;
|
|
2678
|
+
displayName?: string;
|
|
2679
|
+
pfpUrl?: string;
|
|
2079
2680
|
};
|
|
2080
2681
|
}>;
|
|
2081
2682
|
};
|
|
@@ -2087,12 +2688,13 @@ export type GateCreateErrors = {
|
|
|
2087
2688
|
/**
|
|
2088
2689
|
* Invalid request
|
|
2089
2690
|
*/
|
|
2090
|
-
400:
|
|
2691
|
+
400: ApiErrorResponse;
|
|
2091
2692
|
/**
|
|
2092
2693
|
* Unauthorized
|
|
2093
2694
|
*/
|
|
2094
|
-
401:
|
|
2695
|
+
401: ApiErrorResponse;
|
|
2095
2696
|
};
|
|
2697
|
+
export type GateCreateError = GateCreateErrors[keyof GateCreateErrors];
|
|
2096
2698
|
export type GateCreateResponses = {
|
|
2097
2699
|
/**
|
|
2098
2700
|
* Created gate
|
|
@@ -2126,158 +2728,362 @@ export type GateRemoveErrors = {
|
|
|
2126
2728
|
/**
|
|
2127
2729
|
* Unauthorized
|
|
2128
2730
|
*/
|
|
2129
|
-
401:
|
|
2731
|
+
401: ApiErrorResponse;
|
|
2732
|
+
/**
|
|
2733
|
+
* Forbidden
|
|
2734
|
+
*/
|
|
2735
|
+
403: ApiErrorResponse;
|
|
2736
|
+
/**
|
|
2737
|
+
* Not found
|
|
2738
|
+
*/
|
|
2739
|
+
404: ApiErrorResponse;
|
|
2740
|
+
};
|
|
2741
|
+
export type GateRemoveError = GateRemoveErrors[keyof GateRemoveErrors];
|
|
2742
|
+
export type GateRemoveResponses = {
|
|
2743
|
+
/**
|
|
2744
|
+
* Gate deleted
|
|
2745
|
+
*/
|
|
2746
|
+
200: {
|
|
2747
|
+
success: boolean;
|
|
2748
|
+
};
|
|
2749
|
+
};
|
|
2750
|
+
export type GateRemoveResponse = GateRemoveResponses[keyof GateRemoveResponses];
|
|
2751
|
+
export type GateGetData = {
|
|
2752
|
+
body?: never;
|
|
2753
|
+
path: {
|
|
2754
|
+
gateId: string;
|
|
2755
|
+
};
|
|
2756
|
+
query?: never;
|
|
2757
|
+
url: "/gate/{gateId}";
|
|
2758
|
+
};
|
|
2759
|
+
export type GateGetErrors = {
|
|
2760
|
+
/**
|
|
2761
|
+
* Unauthorized
|
|
2762
|
+
*/
|
|
2763
|
+
401: ApiErrorResponse;
|
|
2764
|
+
/**
|
|
2765
|
+
* Forbidden
|
|
2766
|
+
*/
|
|
2767
|
+
403: ApiErrorResponse;
|
|
2768
|
+
/**
|
|
2769
|
+
* Not found
|
|
2770
|
+
*/
|
|
2771
|
+
404: ApiErrorResponse;
|
|
2772
|
+
};
|
|
2773
|
+
export type GateGetError = GateGetErrors[keyof GateGetErrors];
|
|
2774
|
+
export type GateGetResponses = {
|
|
2775
|
+
/**
|
|
2776
|
+
* Gate details
|
|
2777
|
+
*/
|
|
2778
|
+
200: {
|
|
2779
|
+
id: string;
|
|
2780
|
+
name: string;
|
|
2781
|
+
matchMode: GateMatchMode;
|
|
2782
|
+
conditions: Array<{
|
|
2783
|
+
id: string;
|
|
2784
|
+
type: GateConditionType;
|
|
2785
|
+
position: number;
|
|
2786
|
+
config: unknown;
|
|
2787
|
+
createdAt: string;
|
|
2788
|
+
updatedAt: string;
|
|
2789
|
+
}>;
|
|
2790
|
+
createdAt: string;
|
|
2791
|
+
updatedAt: string;
|
|
2792
|
+
};
|
|
2793
|
+
};
|
|
2794
|
+
export type GateGetResponse = GateGetResponses[keyof GateGetResponses];
|
|
2795
|
+
export type GateUpdateData = {
|
|
2796
|
+
body: {
|
|
2797
|
+
name?: string;
|
|
2798
|
+
matchMode?: GateMatchMode;
|
|
2799
|
+
conditions?: Array<{
|
|
2800
|
+
type: "ALLOWLIST";
|
|
2801
|
+
config: {
|
|
2802
|
+
addresses: Array<string>;
|
|
2803
|
+
};
|
|
2804
|
+
} | {
|
|
2805
|
+
type: "TOKEN_OWNERSHIP";
|
|
2806
|
+
config: {
|
|
2807
|
+
contractAddress: string;
|
|
2808
|
+
chainId: number;
|
|
2809
|
+
minAmount?: number;
|
|
2810
|
+
};
|
|
2811
|
+
} | {
|
|
2812
|
+
type: "SPECIFIC_TOKEN";
|
|
2813
|
+
config: {
|
|
2814
|
+
contractAddress: string;
|
|
2815
|
+
chainId: number;
|
|
2816
|
+
tokenId: string;
|
|
2817
|
+
};
|
|
2818
|
+
} | {
|
|
2819
|
+
type: "TOKEN_ATTRIBUTE";
|
|
2820
|
+
config: {
|
|
2821
|
+
contractAddress: string;
|
|
2822
|
+
chainId: number;
|
|
2823
|
+
traitType: string;
|
|
2824
|
+
traitValue: string;
|
|
2825
|
+
};
|
|
2826
|
+
} | {
|
|
2827
|
+
type: "CURRENCY_BALANCE";
|
|
2828
|
+
config: {
|
|
2829
|
+
chainId: number;
|
|
2830
|
+
contractAddress?: string;
|
|
2831
|
+
minBalance: string;
|
|
2832
|
+
};
|
|
2833
|
+
} | {
|
|
2834
|
+
type: "FARCASTER_FOLLOW";
|
|
2835
|
+
config: {
|
|
2836
|
+
fid: number;
|
|
2837
|
+
username?: string;
|
|
2838
|
+
displayName?: string;
|
|
2839
|
+
pfpUrl?: string;
|
|
2840
|
+
};
|
|
2841
|
+
}>;
|
|
2842
|
+
};
|
|
2843
|
+
path: {
|
|
2844
|
+
gateId: string;
|
|
2845
|
+
};
|
|
2846
|
+
query?: never;
|
|
2847
|
+
url: "/gate/{gateId}";
|
|
2848
|
+
};
|
|
2849
|
+
export type GateUpdateErrors = {
|
|
2850
|
+
/**
|
|
2851
|
+
* Invalid request
|
|
2852
|
+
*/
|
|
2853
|
+
400: ApiErrorResponse;
|
|
2854
|
+
/**
|
|
2855
|
+
* Unauthorized
|
|
2856
|
+
*/
|
|
2857
|
+
401: ApiErrorResponse;
|
|
2858
|
+
/**
|
|
2859
|
+
* Forbidden
|
|
2860
|
+
*/
|
|
2861
|
+
403: ApiErrorResponse;
|
|
2862
|
+
/**
|
|
2863
|
+
* Not found
|
|
2864
|
+
*/
|
|
2865
|
+
404: ApiErrorResponse;
|
|
2866
|
+
};
|
|
2867
|
+
export type GateUpdateError = GateUpdateErrors[keyof GateUpdateErrors];
|
|
2868
|
+
export type GateUpdateResponses = {
|
|
2869
|
+
/**
|
|
2870
|
+
* Updated gate
|
|
2871
|
+
*/
|
|
2872
|
+
200: {
|
|
2873
|
+
id: string;
|
|
2874
|
+
name: string;
|
|
2875
|
+
matchMode: GateMatchMode;
|
|
2876
|
+
conditions: Array<{
|
|
2877
|
+
id: string;
|
|
2878
|
+
type: GateConditionType;
|
|
2879
|
+
position: number;
|
|
2880
|
+
config: unknown;
|
|
2881
|
+
createdAt: string;
|
|
2882
|
+
updatedAt: string;
|
|
2883
|
+
}>;
|
|
2884
|
+
createdAt: string;
|
|
2885
|
+
updatedAt: string;
|
|
2886
|
+
};
|
|
2887
|
+
};
|
|
2888
|
+
export type GateUpdateResponse = GateUpdateResponses[keyof GateUpdateResponses];
|
|
2889
|
+
export type GatePreviewCollectionData = {
|
|
2890
|
+
body?: never;
|
|
2891
|
+
path: {
|
|
2892
|
+
chainId: number;
|
|
2893
|
+
address: string;
|
|
2894
|
+
};
|
|
2895
|
+
query?: never;
|
|
2896
|
+
url: "/gate/preview/collection/{chainId}/{address}";
|
|
2897
|
+
};
|
|
2898
|
+
export type GatePreviewCollectionErrors = {
|
|
2899
|
+
/**
|
|
2900
|
+
* Unsupported chain
|
|
2901
|
+
*/
|
|
2902
|
+
400: ApiErrorResponse;
|
|
2903
|
+
/**
|
|
2904
|
+
* Unauthorized
|
|
2905
|
+
*/
|
|
2906
|
+
401: ApiErrorResponse;
|
|
2907
|
+
/**
|
|
2908
|
+
* No contract found at this address
|
|
2909
|
+
*/
|
|
2910
|
+
404: ApiErrorResponse;
|
|
2911
|
+
/**
|
|
2912
|
+
* NFT data provider not configured
|
|
2913
|
+
*/
|
|
2914
|
+
500: ApiErrorResponse;
|
|
2915
|
+
};
|
|
2916
|
+
export type GatePreviewCollectionError = GatePreviewCollectionErrors[keyof GatePreviewCollectionErrors];
|
|
2917
|
+
export type GatePreviewCollectionResponses = {
|
|
2918
|
+
/**
|
|
2919
|
+
* Collection preview
|
|
2920
|
+
*/
|
|
2921
|
+
200: GateCollectionPreview;
|
|
2922
|
+
};
|
|
2923
|
+
export type GatePreviewCollectionResponse = GatePreviewCollectionResponses[keyof GatePreviewCollectionResponses];
|
|
2924
|
+
export type GatePreviewAttributesData = {
|
|
2925
|
+
body?: never;
|
|
2926
|
+
path: {
|
|
2927
|
+
chainId: number;
|
|
2928
|
+
address: string;
|
|
2929
|
+
};
|
|
2930
|
+
query?: never;
|
|
2931
|
+
url: "/gate/preview/collection/{chainId}/{address}/attributes";
|
|
2932
|
+
};
|
|
2933
|
+
export type GatePreviewAttributesErrors = {
|
|
2934
|
+
/**
|
|
2935
|
+
* Unsupported chain
|
|
2936
|
+
*/
|
|
2937
|
+
400: ApiErrorResponse;
|
|
2938
|
+
/**
|
|
2939
|
+
* Unauthorized
|
|
2940
|
+
*/
|
|
2941
|
+
401: ApiErrorResponse;
|
|
2942
|
+
/**
|
|
2943
|
+
* NFT data provider not configured
|
|
2944
|
+
*/
|
|
2945
|
+
500: ApiErrorResponse;
|
|
2946
|
+
};
|
|
2947
|
+
export type GatePreviewAttributesError = GatePreviewAttributesErrors[keyof GatePreviewAttributesErrors];
|
|
2948
|
+
export type GatePreviewAttributesResponses = {
|
|
2949
|
+
/**
|
|
2950
|
+
* Attribute facets
|
|
2951
|
+
*/
|
|
2952
|
+
200: GateAttributesPreview;
|
|
2953
|
+
};
|
|
2954
|
+
export type GatePreviewAttributesResponse = GatePreviewAttributesResponses[keyof GatePreviewAttributesResponses];
|
|
2955
|
+
export type GatePreviewTokensData = {
|
|
2956
|
+
body?: never;
|
|
2957
|
+
path: {
|
|
2958
|
+
chainId: number;
|
|
2959
|
+
address: string;
|
|
2960
|
+
};
|
|
2961
|
+
query?: {
|
|
2962
|
+
cursor?: string;
|
|
2963
|
+
limit?: number;
|
|
2964
|
+
};
|
|
2965
|
+
url: "/gate/preview/collection/{chainId}/{address}/tokens";
|
|
2966
|
+
};
|
|
2967
|
+
export type GatePreviewTokensErrors = {
|
|
2968
|
+
/**
|
|
2969
|
+
* Unsupported chain
|
|
2970
|
+
*/
|
|
2971
|
+
400: ApiErrorResponse;
|
|
2972
|
+
/**
|
|
2973
|
+
* Unauthorized
|
|
2974
|
+
*/
|
|
2975
|
+
401: ApiErrorResponse;
|
|
2976
|
+
/**
|
|
2977
|
+
* NFT data provider not configured
|
|
2978
|
+
*/
|
|
2979
|
+
500: ApiErrorResponse;
|
|
2980
|
+
};
|
|
2981
|
+
export type GatePreviewTokensError = GatePreviewTokensErrors[keyof GatePreviewTokensErrors];
|
|
2982
|
+
export type GatePreviewTokensResponses = {
|
|
2983
|
+
/**
|
|
2984
|
+
* Token page
|
|
2985
|
+
*/
|
|
2986
|
+
200: GateTokensPreview;
|
|
2987
|
+
};
|
|
2988
|
+
export type GatePreviewTokensResponse = GatePreviewTokensResponses[keyof GatePreviewTokensResponses];
|
|
2989
|
+
export type GatePreviewTokenData = {
|
|
2990
|
+
body?: never;
|
|
2991
|
+
path: {
|
|
2992
|
+
chainId: number;
|
|
2993
|
+
address: string;
|
|
2994
|
+
tokenId: string;
|
|
2995
|
+
};
|
|
2996
|
+
query?: never;
|
|
2997
|
+
url: "/gate/preview/collection/{chainId}/{address}/token/{tokenId}";
|
|
2998
|
+
};
|
|
2999
|
+
export type GatePreviewTokenErrors = {
|
|
3000
|
+
/**
|
|
3001
|
+
* Unsupported chain
|
|
3002
|
+
*/
|
|
3003
|
+
400: ApiErrorResponse;
|
|
3004
|
+
/**
|
|
3005
|
+
* Unauthorized
|
|
3006
|
+
*/
|
|
3007
|
+
401: ApiErrorResponse;
|
|
2130
3008
|
/**
|
|
2131
|
-
*
|
|
3009
|
+
* Token not found
|
|
2132
3010
|
*/
|
|
2133
|
-
|
|
3011
|
+
404: ApiErrorResponse;
|
|
2134
3012
|
/**
|
|
2135
|
-
*
|
|
3013
|
+
* NFT data provider not configured
|
|
2136
3014
|
*/
|
|
2137
|
-
|
|
3015
|
+
500: ApiErrorResponse;
|
|
2138
3016
|
};
|
|
2139
|
-
export type
|
|
3017
|
+
export type GatePreviewTokenError = GatePreviewTokenErrors[keyof GatePreviewTokenErrors];
|
|
3018
|
+
export type GatePreviewTokenResponses = {
|
|
2140
3019
|
/**
|
|
2141
|
-
*
|
|
3020
|
+
* Token preview
|
|
2142
3021
|
*/
|
|
2143
3022
|
200: {
|
|
2144
|
-
|
|
3023
|
+
tokenId: string;
|
|
3024
|
+
name: string | null;
|
|
3025
|
+
imageUrl: string | null;
|
|
2145
3026
|
};
|
|
2146
3027
|
};
|
|
2147
|
-
export type
|
|
2148
|
-
export type
|
|
3028
|
+
export type GatePreviewTokenResponse = GatePreviewTokenResponses[keyof GatePreviewTokenResponses];
|
|
3029
|
+
export type GatePreviewCurrencyData = {
|
|
2149
3030
|
body?: never;
|
|
2150
3031
|
path: {
|
|
2151
|
-
|
|
3032
|
+
chainId: number;
|
|
2152
3033
|
};
|
|
2153
|
-
query?:
|
|
2154
|
-
|
|
3034
|
+
query?: {
|
|
3035
|
+
contractAddress?: string;
|
|
3036
|
+
};
|
|
3037
|
+
url: "/gate/preview/currency/{chainId}";
|
|
2155
3038
|
};
|
|
2156
|
-
export type
|
|
3039
|
+
export type GatePreviewCurrencyErrors = {
|
|
2157
3040
|
/**
|
|
2158
3041
|
* Unauthorized
|
|
2159
3042
|
*/
|
|
2160
|
-
401:
|
|
3043
|
+
401: ApiErrorResponse;
|
|
2161
3044
|
/**
|
|
2162
|
-
*
|
|
2163
|
-
*/
|
|
2164
|
-
403: unknown;
|
|
2165
|
-
/**
|
|
2166
|
-
* Not found
|
|
3045
|
+
* Address is not a readable ERC-20
|
|
2167
3046
|
*/
|
|
2168
|
-
404:
|
|
3047
|
+
404: ApiErrorResponse;
|
|
2169
3048
|
};
|
|
2170
|
-
export type
|
|
3049
|
+
export type GatePreviewCurrencyError = GatePreviewCurrencyErrors[keyof GatePreviewCurrencyErrors];
|
|
3050
|
+
export type GatePreviewCurrencyResponses = {
|
|
2171
3051
|
/**
|
|
2172
|
-
*
|
|
3052
|
+
* Currency preview
|
|
2173
3053
|
*/
|
|
2174
|
-
200:
|
|
2175
|
-
id: string;
|
|
2176
|
-
name: string;
|
|
2177
|
-
matchMode: GateMatchMode;
|
|
2178
|
-
conditions: Array<{
|
|
2179
|
-
id: string;
|
|
2180
|
-
type: GateConditionType;
|
|
2181
|
-
position: number;
|
|
2182
|
-
config: unknown;
|
|
2183
|
-
createdAt: string;
|
|
2184
|
-
updatedAt: string;
|
|
2185
|
-
}>;
|
|
2186
|
-
createdAt: string;
|
|
2187
|
-
updatedAt: string;
|
|
2188
|
-
};
|
|
3054
|
+
200: GateCurrencyPreview;
|
|
2189
3055
|
};
|
|
2190
|
-
export type
|
|
2191
|
-
export type
|
|
2192
|
-
body
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
type: "ALLOWLIST";
|
|
2197
|
-
config: {
|
|
2198
|
-
addresses: Array<string>;
|
|
2199
|
-
};
|
|
2200
|
-
} | {
|
|
2201
|
-
type: "TOKEN_OWNERSHIP";
|
|
2202
|
-
config: {
|
|
2203
|
-
contractAddress: string;
|
|
2204
|
-
chainId: number;
|
|
2205
|
-
minAmount?: number;
|
|
2206
|
-
};
|
|
2207
|
-
} | {
|
|
2208
|
-
type: "SPECIFIC_TOKEN";
|
|
2209
|
-
config: {
|
|
2210
|
-
contractAddress: string;
|
|
2211
|
-
chainId: number;
|
|
2212
|
-
tokenId: string;
|
|
2213
|
-
};
|
|
2214
|
-
} | {
|
|
2215
|
-
type: "TOKEN_ATTRIBUTE";
|
|
2216
|
-
config: {
|
|
2217
|
-
contractAddress: string;
|
|
2218
|
-
chainId: number;
|
|
2219
|
-
traitType: string;
|
|
2220
|
-
traitValue: string;
|
|
2221
|
-
};
|
|
2222
|
-
} | {
|
|
2223
|
-
type: "CURRENCY_BALANCE";
|
|
2224
|
-
config: {
|
|
2225
|
-
chainId: number;
|
|
2226
|
-
contractAddress?: string;
|
|
2227
|
-
minBalance: string;
|
|
2228
|
-
};
|
|
2229
|
-
} | {
|
|
2230
|
-
type: "FARCASTER_FOLLOW";
|
|
2231
|
-
config: {
|
|
2232
|
-
fid: number;
|
|
2233
|
-
};
|
|
2234
|
-
}>;
|
|
2235
|
-
};
|
|
2236
|
-
path: {
|
|
2237
|
-
gateId: string;
|
|
3056
|
+
export type GatePreviewCurrencyResponse = GatePreviewCurrencyResponses[keyof GatePreviewCurrencyResponses];
|
|
3057
|
+
export type GatePreviewFarcasterData = {
|
|
3058
|
+
body?: never;
|
|
3059
|
+
path?: never;
|
|
3060
|
+
query: {
|
|
3061
|
+
query: string;
|
|
2238
3062
|
};
|
|
2239
|
-
|
|
2240
|
-
url: "/gate/{gateId}";
|
|
3063
|
+
url: "/gate/preview/farcaster/user";
|
|
2241
3064
|
};
|
|
2242
|
-
export type
|
|
2243
|
-
/**
|
|
2244
|
-
* Invalid request
|
|
2245
|
-
*/
|
|
2246
|
-
400: unknown;
|
|
3065
|
+
export type GatePreviewFarcasterErrors = {
|
|
2247
3066
|
/**
|
|
2248
3067
|
* Unauthorized
|
|
2249
3068
|
*/
|
|
2250
|
-
401:
|
|
3069
|
+
401: ApiErrorResponse;
|
|
2251
3070
|
/**
|
|
2252
|
-
*
|
|
3071
|
+
* No Farcaster user found
|
|
2253
3072
|
*/
|
|
2254
|
-
|
|
3073
|
+
404: ApiErrorResponse;
|
|
2255
3074
|
/**
|
|
2256
|
-
*
|
|
3075
|
+
* Farcaster provider not configured
|
|
2257
3076
|
*/
|
|
2258
|
-
|
|
3077
|
+
500: ApiErrorResponse;
|
|
2259
3078
|
};
|
|
2260
|
-
export type
|
|
3079
|
+
export type GatePreviewFarcasterError = GatePreviewFarcasterErrors[keyof GatePreviewFarcasterErrors];
|
|
3080
|
+
export type GatePreviewFarcasterResponses = {
|
|
2261
3081
|
/**
|
|
2262
|
-
*
|
|
3082
|
+
* Farcaster user
|
|
2263
3083
|
*/
|
|
2264
|
-
200:
|
|
2265
|
-
id: string;
|
|
2266
|
-
name: string;
|
|
2267
|
-
matchMode: GateMatchMode;
|
|
2268
|
-
conditions: Array<{
|
|
2269
|
-
id: string;
|
|
2270
|
-
type: GateConditionType;
|
|
2271
|
-
position: number;
|
|
2272
|
-
config: unknown;
|
|
2273
|
-
createdAt: string;
|
|
2274
|
-
updatedAt: string;
|
|
2275
|
-
}>;
|
|
2276
|
-
createdAt: string;
|
|
2277
|
-
updatedAt: string;
|
|
2278
|
-
};
|
|
3084
|
+
200: GateFarcasterUserPreview;
|
|
2279
3085
|
};
|
|
2280
|
-
export type
|
|
3086
|
+
export type GatePreviewFarcasterResponse = GatePreviewFarcasterResponses[keyof GatePreviewFarcasterResponses];
|
|
2281
3087
|
export type PostIndexerChainsByChainIdActivateData = {
|
|
2282
3088
|
body?: never;
|
|
2283
3089
|
path: {
|
|
@@ -2286,7 +3092,21 @@ export type PostIndexerChainsByChainIdActivateData = {
|
|
|
2286
3092
|
query?: never;
|
|
2287
3093
|
url: "/indexer/chains/{chainId}/activate";
|
|
2288
3094
|
};
|
|
3095
|
+
export type PostIndexerChainsByChainIdActivateErrors = {
|
|
3096
|
+
/**
|
|
3097
|
+
* Unauthorized
|
|
3098
|
+
*/
|
|
3099
|
+
401: ApiErrorResponse;
|
|
3100
|
+
/**
|
|
3101
|
+
* Chain not found or disabled
|
|
3102
|
+
*/
|
|
3103
|
+
404: ApiErrorResponse;
|
|
3104
|
+
};
|
|
3105
|
+
export type PostIndexerChainsByChainIdActivateError = PostIndexerChainsByChainIdActivateErrors[keyof PostIndexerChainsByChainIdActivateErrors];
|
|
2289
3106
|
export type PostIndexerChainsByChainIdActivateResponses = {
|
|
3107
|
+
/**
|
|
3108
|
+
* Indexer activated
|
|
3109
|
+
*/
|
|
2290
3110
|
200: unknown;
|
|
2291
3111
|
};
|
|
2292
3112
|
export type PostIndexerChainsByChainIdResetData = {
|
|
@@ -2299,7 +3119,17 @@ export type PostIndexerChainsByChainIdResetData = {
|
|
|
2299
3119
|
query?: never;
|
|
2300
3120
|
url: "/indexer/chains/{chainId}/reset";
|
|
2301
3121
|
};
|
|
3122
|
+
export type PostIndexerChainsByChainIdResetErrors = {
|
|
3123
|
+
/**
|
|
3124
|
+
* Unauthorized
|
|
3125
|
+
*/
|
|
3126
|
+
401: ApiErrorResponse;
|
|
3127
|
+
};
|
|
3128
|
+
export type PostIndexerChainsByChainIdResetError = PostIndexerChainsByChainIdResetErrors[keyof PostIndexerChainsByChainIdResetErrors];
|
|
2302
3129
|
export type PostIndexerChainsByChainIdResetResponses = {
|
|
3130
|
+
/**
|
|
3131
|
+
* Indexer cursor reset
|
|
3132
|
+
*/
|
|
2303
3133
|
200: unknown;
|
|
2304
3134
|
};
|
|
2305
3135
|
export type PostIndexerChainsByChainIdPollData = {
|
|
@@ -2310,7 +3140,21 @@ export type PostIndexerChainsByChainIdPollData = {
|
|
|
2310
3140
|
query?: never;
|
|
2311
3141
|
url: "/indexer/chains/{chainId}/poll";
|
|
2312
3142
|
};
|
|
3143
|
+
export type PostIndexerChainsByChainIdPollErrors = {
|
|
3144
|
+
/**
|
|
3145
|
+
* Unauthorized
|
|
3146
|
+
*/
|
|
3147
|
+
401: ApiErrorResponse;
|
|
3148
|
+
/**
|
|
3149
|
+
* Poll failed
|
|
3150
|
+
*/
|
|
3151
|
+
500: ApiErrorResponse;
|
|
3152
|
+
};
|
|
3153
|
+
export type PostIndexerChainsByChainIdPollError = PostIndexerChainsByChainIdPollErrors[keyof PostIndexerChainsByChainIdPollErrors];
|
|
2313
3154
|
export type PostIndexerChainsByChainIdPollResponses = {
|
|
3155
|
+
/**
|
|
3156
|
+
* Poll completed
|
|
3157
|
+
*/
|
|
2314
3158
|
200: unknown;
|
|
2315
3159
|
};
|
|
2316
3160
|
export type MechanicListData = {
|
|
@@ -2362,12 +3206,13 @@ export type MechanicCreateErrors = {
|
|
|
2362
3206
|
/**
|
|
2363
3207
|
* Invalid request
|
|
2364
3208
|
*/
|
|
2365
|
-
400:
|
|
3209
|
+
400: ApiErrorResponse;
|
|
2366
3210
|
/**
|
|
2367
3211
|
* Unauthorized
|
|
2368
3212
|
*/
|
|
2369
|
-
401:
|
|
3213
|
+
401: ApiErrorResponse;
|
|
2370
3214
|
};
|
|
3215
|
+
export type MechanicCreateError = MechanicCreateErrors[keyof MechanicCreateErrors];
|
|
2371
3216
|
export type MechanicCreateResponses = {
|
|
2372
3217
|
/**
|
|
2373
3218
|
* Created mechanic
|
|
@@ -2404,8 +3249,9 @@ export type MechanicGetErrors = {
|
|
|
2404
3249
|
/**
|
|
2405
3250
|
* Not found
|
|
2406
3251
|
*/
|
|
2407
|
-
404:
|
|
3252
|
+
404: ApiErrorResponse;
|
|
2408
3253
|
};
|
|
3254
|
+
export type MechanicGetError = MechanicGetErrors[keyof MechanicGetErrors];
|
|
2409
3255
|
export type MechanicGetResponses = {
|
|
2410
3256
|
/**
|
|
2411
3257
|
* Mechanic details
|
|
@@ -2447,20 +3293,21 @@ export type MechanicUpdateErrors = {
|
|
|
2447
3293
|
/**
|
|
2448
3294
|
* Invalid request
|
|
2449
3295
|
*/
|
|
2450
|
-
400:
|
|
3296
|
+
400: ApiErrorResponse;
|
|
2451
3297
|
/**
|
|
2452
3298
|
* Unauthorized
|
|
2453
3299
|
*/
|
|
2454
|
-
401:
|
|
3300
|
+
401: ApiErrorResponse;
|
|
2455
3301
|
/**
|
|
2456
3302
|
* Forbidden
|
|
2457
3303
|
*/
|
|
2458
|
-
403:
|
|
3304
|
+
403: ApiErrorResponse;
|
|
2459
3305
|
/**
|
|
2460
3306
|
* Not found
|
|
2461
3307
|
*/
|
|
2462
|
-
404:
|
|
3308
|
+
404: ApiErrorResponse;
|
|
2463
3309
|
};
|
|
3310
|
+
export type MechanicUpdateError = MechanicUpdateErrors[keyof MechanicUpdateErrors];
|
|
2464
3311
|
export type MechanicUpdateResponses = {
|
|
2465
3312
|
/**
|
|
2466
3313
|
* Updated mechanic
|
|
@@ -2499,20 +3346,21 @@ export type MechanicRemoveDeploymentErrors = {
|
|
|
2499
3346
|
/**
|
|
2500
3347
|
* Invalid request
|
|
2501
3348
|
*/
|
|
2502
|
-
400:
|
|
3349
|
+
400: ApiErrorResponse;
|
|
2503
3350
|
/**
|
|
2504
3351
|
* Unauthorized
|
|
2505
3352
|
*/
|
|
2506
|
-
401:
|
|
3353
|
+
401: ApiErrorResponse;
|
|
2507
3354
|
/**
|
|
2508
3355
|
* Forbidden
|
|
2509
3356
|
*/
|
|
2510
|
-
403:
|
|
3357
|
+
403: ApiErrorResponse;
|
|
2511
3358
|
/**
|
|
2512
3359
|
* Not found
|
|
2513
3360
|
*/
|
|
2514
|
-
404:
|
|
3361
|
+
404: ApiErrorResponse;
|
|
2515
3362
|
};
|
|
3363
|
+
export type MechanicRemoveDeploymentError = MechanicRemoveDeploymentErrors[keyof MechanicRemoveDeploymentErrors];
|
|
2516
3364
|
export type MechanicRemoveDeploymentResponses = {
|
|
2517
3365
|
/**
|
|
2518
3366
|
* Updated mechanic without the removed deployment
|
|
@@ -2552,20 +3400,21 @@ export type MechanicAddDeploymentErrors = {
|
|
|
2552
3400
|
/**
|
|
2553
3401
|
* Invalid request
|
|
2554
3402
|
*/
|
|
2555
|
-
400:
|
|
3403
|
+
400: ApiErrorResponse;
|
|
2556
3404
|
/**
|
|
2557
3405
|
* Unauthorized
|
|
2558
3406
|
*/
|
|
2559
|
-
401:
|
|
3407
|
+
401: ApiErrorResponse;
|
|
2560
3408
|
/**
|
|
2561
3409
|
* Forbidden
|
|
2562
3410
|
*/
|
|
2563
|
-
403:
|
|
3411
|
+
403: ApiErrorResponse;
|
|
2564
3412
|
/**
|
|
2565
3413
|
* Not found
|
|
2566
3414
|
*/
|
|
2567
|
-
404:
|
|
3415
|
+
404: ApiErrorResponse;
|
|
2568
3416
|
};
|
|
3417
|
+
export type MechanicAddDeploymentError = MechanicAddDeploymentErrors[keyof MechanicAddDeploymentErrors];
|
|
2569
3418
|
export type MechanicAddDeploymentResponses = {
|
|
2570
3419
|
/**
|
|
2571
3420
|
* Updated mechanic with new deployment
|
|
@@ -2606,20 +3455,21 @@ export type MediaCreateUploadSessionErrors = {
|
|
|
2606
3455
|
/**
|
|
2607
3456
|
* Invalid request
|
|
2608
3457
|
*/
|
|
2609
|
-
400:
|
|
3458
|
+
400: ApiErrorResponse;
|
|
2610
3459
|
/**
|
|
2611
3460
|
* Unauthorized
|
|
2612
3461
|
*/
|
|
2613
|
-
401:
|
|
3462
|
+
401: ApiErrorResponse;
|
|
2614
3463
|
/**
|
|
2615
3464
|
* Forbidden
|
|
2616
3465
|
*/
|
|
2617
|
-
403:
|
|
3466
|
+
403: ApiErrorResponse;
|
|
2618
3467
|
/**
|
|
2619
3468
|
* Storage unavailable
|
|
2620
3469
|
*/
|
|
2621
|
-
503:
|
|
3470
|
+
503: ApiErrorResponse;
|
|
2622
3471
|
};
|
|
3472
|
+
export type MediaCreateUploadSessionError = MediaCreateUploadSessionErrors[keyof MediaCreateUploadSessionErrors];
|
|
2623
3473
|
export type MediaCreateUploadSessionResponses = {
|
|
2624
3474
|
/**
|
|
2625
3475
|
* Upload session
|
|
@@ -2639,24 +3489,25 @@ export type MediaUploadErrors = {
|
|
|
2639
3489
|
/**
|
|
2640
3490
|
* Invalid request
|
|
2641
3491
|
*/
|
|
2642
|
-
400:
|
|
3492
|
+
400: ApiErrorResponse;
|
|
2643
3493
|
/**
|
|
2644
3494
|
* Unauthorized
|
|
2645
3495
|
*/
|
|
2646
|
-
401:
|
|
3496
|
+
401: ApiErrorResponse;
|
|
2647
3497
|
/**
|
|
2648
3498
|
* Forbidden
|
|
2649
3499
|
*/
|
|
2650
|
-
403:
|
|
3500
|
+
403: ApiErrorResponse;
|
|
2651
3501
|
/**
|
|
2652
3502
|
* Not found
|
|
2653
3503
|
*/
|
|
2654
|
-
404:
|
|
3504
|
+
404: ApiErrorResponse;
|
|
2655
3505
|
/**
|
|
2656
3506
|
* Storage unavailable
|
|
2657
3507
|
*/
|
|
2658
|
-
503:
|
|
3508
|
+
503: ApiErrorResponse;
|
|
2659
3509
|
};
|
|
3510
|
+
export type MediaUploadError = MediaUploadErrors[keyof MediaUploadErrors];
|
|
2660
3511
|
export type MediaUploadResponses = {
|
|
2661
3512
|
/**
|
|
2662
3513
|
* Upload accepted and processed
|
|
@@ -2676,24 +3527,25 @@ export type MediaProcessErrors = {
|
|
|
2676
3527
|
/**
|
|
2677
3528
|
* Invalid request
|
|
2678
3529
|
*/
|
|
2679
|
-
400:
|
|
3530
|
+
400: ApiErrorResponse;
|
|
2680
3531
|
/**
|
|
2681
3532
|
* Unauthorized
|
|
2682
3533
|
*/
|
|
2683
|
-
401:
|
|
3534
|
+
401: ApiErrorResponse;
|
|
2684
3535
|
/**
|
|
2685
3536
|
* Forbidden
|
|
2686
3537
|
*/
|
|
2687
|
-
403:
|
|
3538
|
+
403: ApiErrorResponse;
|
|
2688
3539
|
/**
|
|
2689
3540
|
* Media or uploaded object not found
|
|
2690
3541
|
*/
|
|
2691
|
-
404:
|
|
3542
|
+
404: ApiErrorResponse;
|
|
2692
3543
|
/**
|
|
2693
3544
|
* Storage unavailable
|
|
2694
3545
|
*/
|
|
2695
|
-
503:
|
|
3546
|
+
503: ApiErrorResponse;
|
|
2696
3547
|
};
|
|
3548
|
+
export type MediaProcessError = MediaProcessErrors[keyof MediaProcessErrors];
|
|
2697
3549
|
export type MediaProcessResponses = {
|
|
2698
3550
|
/**
|
|
2699
3551
|
* Media asset with updated status
|
|
@@ -2716,20 +3568,21 @@ export type MediaListChildrenErrors = {
|
|
|
2716
3568
|
/**
|
|
2717
3569
|
* Not a Directory
|
|
2718
3570
|
*/
|
|
2719
|
-
400:
|
|
3571
|
+
400: ApiErrorResponse;
|
|
2720
3572
|
/**
|
|
2721
3573
|
* Unauthorized
|
|
2722
3574
|
*/
|
|
2723
|
-
401:
|
|
3575
|
+
401: ApiErrorResponse;
|
|
2724
3576
|
/**
|
|
2725
3577
|
* Forbidden
|
|
2726
3578
|
*/
|
|
2727
|
-
403:
|
|
3579
|
+
403: ApiErrorResponse;
|
|
2728
3580
|
/**
|
|
2729
3581
|
* Not found
|
|
2730
3582
|
*/
|
|
2731
|
-
404:
|
|
3583
|
+
404: ApiErrorResponse;
|
|
2732
3584
|
};
|
|
3585
|
+
export type MediaListChildrenError = MediaListChildrenErrors[keyof MediaListChildrenErrors];
|
|
2733
3586
|
export type MediaListChildrenResponses = {
|
|
2734
3587
|
/**
|
|
2735
3588
|
* Children page
|
|
@@ -2749,20 +3602,21 @@ export type MediaDeleteErrors = {
|
|
|
2749
3602
|
/**
|
|
2750
3603
|
* Unauthorized
|
|
2751
3604
|
*/
|
|
2752
|
-
401:
|
|
3605
|
+
401: ApiErrorResponse;
|
|
2753
3606
|
/**
|
|
2754
3607
|
* Forbidden
|
|
2755
3608
|
*/
|
|
2756
|
-
403:
|
|
3609
|
+
403: ApiErrorResponse;
|
|
2757
3610
|
/**
|
|
2758
3611
|
* Not found
|
|
2759
3612
|
*/
|
|
2760
|
-
404:
|
|
3613
|
+
404: ApiErrorResponse;
|
|
2761
3614
|
/**
|
|
2762
|
-
*
|
|
3615
|
+
* Media is in use and cannot be deleted
|
|
2763
3616
|
*/
|
|
2764
|
-
409:
|
|
3617
|
+
409: ApiErrorResponse;
|
|
2765
3618
|
};
|
|
3619
|
+
export type MediaDeleteError = MediaDeleteErrors[keyof MediaDeleteErrors];
|
|
2766
3620
|
export type MediaDeleteResponses = {
|
|
2767
3621
|
/**
|
|
2768
3622
|
* Deleted
|
|
@@ -2782,20 +3636,21 @@ export type MediaGetErrors = {
|
|
|
2782
3636
|
/**
|
|
2783
3637
|
* Invalid request
|
|
2784
3638
|
*/
|
|
2785
|
-
400:
|
|
3639
|
+
400: ApiErrorResponse;
|
|
2786
3640
|
/**
|
|
2787
3641
|
* Unauthorized
|
|
2788
3642
|
*/
|
|
2789
|
-
401:
|
|
3643
|
+
401: ApiErrorResponse;
|
|
2790
3644
|
/**
|
|
2791
3645
|
* Forbidden
|
|
2792
3646
|
*/
|
|
2793
|
-
403:
|
|
3647
|
+
403: ApiErrorResponse;
|
|
2794
3648
|
/**
|
|
2795
3649
|
* Not found
|
|
2796
3650
|
*/
|
|
2797
|
-
404:
|
|
3651
|
+
404: ApiErrorResponse;
|
|
2798
3652
|
};
|
|
3653
|
+
export type MediaGetError = MediaGetErrors[keyof MediaGetErrors];
|
|
2799
3654
|
export type MediaGetResponses = {
|
|
2800
3655
|
/**
|
|
2801
3656
|
* Media asset
|
|
@@ -2815,24 +3670,25 @@ export type MediaPublishErrors = {
|
|
|
2815
3670
|
/**
|
|
2816
3671
|
* Invalid request
|
|
2817
3672
|
*/
|
|
2818
|
-
400:
|
|
3673
|
+
400: ApiErrorResponse;
|
|
2819
3674
|
/**
|
|
2820
3675
|
* Unauthorized
|
|
2821
3676
|
*/
|
|
2822
|
-
401:
|
|
3677
|
+
401: ApiErrorResponse;
|
|
2823
3678
|
/**
|
|
2824
3679
|
* Forbidden
|
|
2825
3680
|
*/
|
|
2826
|
-
403:
|
|
3681
|
+
403: ApiErrorResponse;
|
|
2827
3682
|
/**
|
|
2828
3683
|
* Not found
|
|
2829
3684
|
*/
|
|
2830
|
-
404:
|
|
3685
|
+
404: ApiErrorResponse;
|
|
2831
3686
|
/**
|
|
2832
3687
|
* Archive provider unavailable
|
|
2833
3688
|
*/
|
|
2834
|
-
503:
|
|
3689
|
+
503: ApiErrorResponse;
|
|
2835
3690
|
};
|
|
3691
|
+
export type MediaPublishError = MediaPublishErrors[keyof MediaPublishErrors];
|
|
2836
3692
|
export type MediaPublishResponses = {
|
|
2837
3693
|
/**
|
|
2838
3694
|
* Media with Archive location
|
|
@@ -2853,27 +3709,219 @@ export type MediaGetChildErrors = {
|
|
|
2853
3709
|
/**
|
|
2854
3710
|
* Parent is not a Directory
|
|
2855
3711
|
*/
|
|
2856
|
-
400:
|
|
3712
|
+
400: ApiErrorResponse;
|
|
2857
3713
|
/**
|
|
2858
3714
|
* Unauthorized
|
|
2859
3715
|
*/
|
|
2860
|
-
401:
|
|
3716
|
+
401: ApiErrorResponse;
|
|
2861
3717
|
/**
|
|
2862
3718
|
* Forbidden
|
|
2863
3719
|
*/
|
|
2864
|
-
403:
|
|
3720
|
+
403: ApiErrorResponse;
|
|
2865
3721
|
/**
|
|
2866
3722
|
* Child not found
|
|
2867
3723
|
*/
|
|
2868
|
-
404:
|
|
3724
|
+
404: ApiErrorResponse;
|
|
2869
3725
|
};
|
|
3726
|
+
export type MediaGetChildError = MediaGetChildErrors[keyof MediaGetChildErrors];
|
|
2870
3727
|
export type MediaGetChildResponses = {
|
|
2871
3728
|
/**
|
|
2872
|
-
* Child
|
|
3729
|
+
* Child media file
|
|
2873
3730
|
*/
|
|
2874
3731
|
200: MediaAsset;
|
|
2875
3732
|
};
|
|
2876
3733
|
export type MediaGetChildResponse = MediaGetChildResponses[keyof MediaGetChildResponses];
|
|
3734
|
+
export type TxStatusData = {
|
|
3735
|
+
body?: never;
|
|
3736
|
+
path: {
|
|
3737
|
+
chainId: number;
|
|
3738
|
+
txHash: string;
|
|
3739
|
+
};
|
|
3740
|
+
query?: never;
|
|
3741
|
+
url: "/tx/{chainId}/{txHash}";
|
|
3742
|
+
};
|
|
3743
|
+
export type TxStatusErrors = {
|
|
3744
|
+
/**
|
|
3745
|
+
* Unauthorized
|
|
3746
|
+
*/
|
|
3747
|
+
401: ApiErrorResponse;
|
|
3748
|
+
};
|
|
3749
|
+
export type TxStatusError = TxStatusErrors[keyof TxStatusErrors];
|
|
3750
|
+
export type TxStatusResponses = {
|
|
3751
|
+
/**
|
|
3752
|
+
* Current transaction status snapshot
|
|
3753
|
+
*/
|
|
3754
|
+
200: TxStatusSnapshot;
|
|
3755
|
+
};
|
|
3756
|
+
export type TxStatusResponse = TxStatusResponses[keyof TxStatusResponses];
|
|
3757
|
+
export type TxSubmitData = {
|
|
3758
|
+
body?: never;
|
|
3759
|
+
path: {
|
|
3760
|
+
chainId: number;
|
|
3761
|
+
txHash: string;
|
|
3762
|
+
};
|
|
3763
|
+
query?: never;
|
|
3764
|
+
url: "/tx/{chainId}/{txHash}";
|
|
3765
|
+
};
|
|
3766
|
+
export type TxSubmitErrors = {
|
|
3767
|
+
/**
|
|
3768
|
+
* Unauthorized
|
|
3769
|
+
*/
|
|
3770
|
+
401: ApiErrorResponse;
|
|
3771
|
+
};
|
|
3772
|
+
export type TxSubmitError = TxSubmitErrors[keyof TxSubmitErrors];
|
|
3773
|
+
export type TxSubmitResponses = {
|
|
3774
|
+
/**
|
|
3775
|
+
* Transaction accepted for processing
|
|
3776
|
+
*/
|
|
3777
|
+
202: TxStatusSnapshot;
|
|
3778
|
+
};
|
|
3779
|
+
export type TxSubmitResponse = TxSubmitResponses[keyof TxSubmitResponses];
|
|
3780
|
+
export type ProfileGetData = {
|
|
3781
|
+
body?: never;
|
|
3782
|
+
path?: never;
|
|
3783
|
+
query?: never;
|
|
3784
|
+
url: "/user/profile";
|
|
3785
|
+
};
|
|
3786
|
+
export type ProfileGetErrors = {
|
|
3787
|
+
/**
|
|
3788
|
+
* Unauthorized
|
|
3789
|
+
*/
|
|
3790
|
+
401: ApiErrorResponse;
|
|
3791
|
+
/**
|
|
3792
|
+
* Profile not found
|
|
3793
|
+
*/
|
|
3794
|
+
404: ApiErrorResponse;
|
|
3795
|
+
};
|
|
3796
|
+
export type ProfileGetError = ProfileGetErrors[keyof ProfileGetErrors];
|
|
3797
|
+
export type ProfileGetResponses = {
|
|
3798
|
+
/**
|
|
3799
|
+
* Authenticated user profile
|
|
3800
|
+
*/
|
|
3801
|
+
200: UserProfile;
|
|
3802
|
+
};
|
|
3803
|
+
export type ProfileGetResponse = ProfileGetResponses[keyof ProfileGetResponses];
|
|
3804
|
+
export type ProfileUpdateData = {
|
|
3805
|
+
body: {
|
|
3806
|
+
displayName?: string | null;
|
|
3807
|
+
bio?: string | null;
|
|
3808
|
+
website?: string | null;
|
|
3809
|
+
avatarMediaId?: string | null;
|
|
3810
|
+
};
|
|
3811
|
+
path?: never;
|
|
3812
|
+
query?: never;
|
|
3813
|
+
url: "/user/profile";
|
|
3814
|
+
};
|
|
3815
|
+
export type ProfileUpdateErrors = {
|
|
3816
|
+
/**
|
|
3817
|
+
* Invalid profile update
|
|
3818
|
+
*/
|
|
3819
|
+
400: ApiErrorResponse;
|
|
3820
|
+
/**
|
|
3821
|
+
* Unauthorized
|
|
3822
|
+
*/
|
|
3823
|
+
401: ApiErrorResponse;
|
|
3824
|
+
/**
|
|
3825
|
+
* Avatar media is not owned by the authenticated account
|
|
3826
|
+
*/
|
|
3827
|
+
403: ApiErrorResponse;
|
|
3828
|
+
/**
|
|
3829
|
+
* Profile or avatar media not found
|
|
3830
|
+
*/
|
|
3831
|
+
404: ApiErrorResponse;
|
|
3832
|
+
};
|
|
3833
|
+
export type ProfileUpdateError = ProfileUpdateErrors[keyof ProfileUpdateErrors];
|
|
3834
|
+
export type ProfileUpdateResponses = {
|
|
3835
|
+
/**
|
|
3836
|
+
* Updated authenticated user profile
|
|
3837
|
+
*/
|
|
3838
|
+
200: UserProfile;
|
|
3839
|
+
};
|
|
3840
|
+
export type ProfileUpdateResponse = ProfileUpdateResponses[keyof ProfileUpdateResponses];
|
|
3841
|
+
export type ProfilePublicData = {
|
|
3842
|
+
body?: never;
|
|
3843
|
+
path: {
|
|
3844
|
+
walletAddress: string;
|
|
3845
|
+
};
|
|
3846
|
+
query?: never;
|
|
3847
|
+
url: "/user/{walletAddress}/profile";
|
|
3848
|
+
};
|
|
3849
|
+
export type ProfilePublicErrors = {
|
|
3850
|
+
/**
|
|
3851
|
+
* Invalid EVM wallet address
|
|
3852
|
+
*/
|
|
3853
|
+
400: ApiErrorResponse;
|
|
3854
|
+
};
|
|
3855
|
+
export type ProfilePublicError = ProfilePublicErrors[keyof ProfilePublicErrors];
|
|
3856
|
+
export type ProfilePublicResponses = {
|
|
3857
|
+
/**
|
|
3858
|
+
* Public user profile
|
|
3859
|
+
*/
|
|
3860
|
+
200: PublicUserProfile;
|
|
3861
|
+
};
|
|
3862
|
+
export type ProfilePublicResponse = ProfilePublicResponses[keyof ProfilePublicResponses];
|
|
3863
|
+
export type ProfileTokensData = {
|
|
3864
|
+
body?: never;
|
|
3865
|
+
path: {
|
|
3866
|
+
walletAddress: string;
|
|
3867
|
+
};
|
|
3868
|
+
query?: {
|
|
3869
|
+
page?: number;
|
|
3870
|
+
limit?: number;
|
|
3871
|
+
sort?: "tokenId" | "name" | "mintedAt";
|
|
3872
|
+
order?: "asc" | "desc";
|
|
3873
|
+
collectionId?: string;
|
|
3874
|
+
search?: string;
|
|
3875
|
+
};
|
|
3876
|
+
url: "/user/{walletAddress}/tokens";
|
|
3877
|
+
};
|
|
3878
|
+
export type ProfileTokensErrors = {
|
|
3879
|
+
/**
|
|
3880
|
+
* Invalid EVM wallet address or query parameters
|
|
3881
|
+
*/
|
|
3882
|
+
400: ApiErrorResponse;
|
|
3883
|
+
};
|
|
3884
|
+
export type ProfileTokensError = ProfileTokensErrors[keyof ProfileTokensErrors];
|
|
3885
|
+
export type ProfileTokensResponses = {
|
|
3886
|
+
/**
|
|
3887
|
+
* Paginated wallet token holdings
|
|
3888
|
+
*/
|
|
3889
|
+
200: {
|
|
3890
|
+
items: Array<{
|
|
3891
|
+
id: string;
|
|
3892
|
+
collectionId: string;
|
|
3893
|
+
tokenId: string;
|
|
3894
|
+
status: TokenStatus;
|
|
3895
|
+
name: string | null;
|
|
3896
|
+
description: string | null;
|
|
3897
|
+
externalUrl: string | null;
|
|
3898
|
+
attributes: Array<{
|
|
3899
|
+
trait_type: string;
|
|
3900
|
+
value: string | number;
|
|
3901
|
+
display_type?: string;
|
|
3902
|
+
}> | null;
|
|
3903
|
+
properties: {
|
|
3904
|
+
[key: string]: unknown;
|
|
3905
|
+
} | null;
|
|
3906
|
+
imageMediaId: string | null;
|
|
3907
|
+
imageMedia: MediaAsset | null;
|
|
3908
|
+
animationMediaId: string | null;
|
|
3909
|
+
animationMedia: MediaAsset | null;
|
|
3910
|
+
mintedAt: string | null;
|
|
3911
|
+
createdAt: string;
|
|
3912
|
+
updatedAt: string;
|
|
3913
|
+
}>;
|
|
3914
|
+
pageInfo: {
|
|
3915
|
+
page: number;
|
|
3916
|
+
limit: number;
|
|
3917
|
+
totalCount: number;
|
|
3918
|
+
totalPages: number;
|
|
3919
|
+
hasNextPage: boolean;
|
|
3920
|
+
hasPreviousPage: boolean;
|
|
3921
|
+
};
|
|
3922
|
+
};
|
|
3923
|
+
};
|
|
3924
|
+
export type ProfileTokensResponse = ProfileTokensResponses[keyof ProfileTokensResponses];
|
|
2877
3925
|
export type UserSiweNonceData = {
|
|
2878
3926
|
body?: never;
|
|
2879
3927
|
path?: never;
|
|
@@ -2884,8 +3932,9 @@ export type UserSiweNonceErrors = {
|
|
|
2884
3932
|
/**
|
|
2885
3933
|
* SIWE configuration is missing
|
|
2886
3934
|
*/
|
|
2887
|
-
500:
|
|
3935
|
+
500: ApiErrorResponse;
|
|
2888
3936
|
};
|
|
3937
|
+
export type UserSiweNonceError = UserSiweNonceErrors[keyof UserSiweNonceErrors];
|
|
2889
3938
|
export type UserSiweNonceResponses = {
|
|
2890
3939
|
/**
|
|
2891
3940
|
* Issued nonce with issuedAt and expiresAt timestamps
|
|
@@ -2914,8 +3963,9 @@ export type UserSigninErrors = {
|
|
|
2914
3963
|
/**
|
|
2915
3964
|
* Server configuration error (JWT secret or SIWE config missing)
|
|
2916
3965
|
*/
|
|
2917
|
-
500:
|
|
3966
|
+
500: ApiErrorResponse;
|
|
2918
3967
|
};
|
|
3968
|
+
export type UserSigninError = UserSigninErrors[keyof UserSigninErrors];
|
|
2919
3969
|
export type UserSigninResponses = {
|
|
2920
3970
|
/**
|
|
2921
3971
|
* Sign-in result
|
|
@@ -2930,6 +3980,11 @@ export type UserSigninResponses = {
|
|
|
2930
3980
|
email: string | null;
|
|
2931
3981
|
displayName: string | null;
|
|
2932
3982
|
primaryAddress: string | null;
|
|
3983
|
+
walletAddresses: Array<string>;
|
|
3984
|
+
bio: string | null;
|
|
3985
|
+
website: string | null;
|
|
3986
|
+
avatarMediaId: string | null;
|
|
3987
|
+
avatarMedia: MediaAsset | null;
|
|
2933
3988
|
};
|
|
2934
3989
|
};
|
|
2935
3990
|
};
|
|
@@ -2944,8 +3999,9 @@ export type ApiKeyListErrors = {
|
|
|
2944
3999
|
/**
|
|
2945
4000
|
* Unauthorized
|
|
2946
4001
|
*/
|
|
2947
|
-
401:
|
|
4002
|
+
401: ApiErrorResponse;
|
|
2948
4003
|
};
|
|
4004
|
+
export type ApiKeyListError = ApiKeyListErrors[keyof ApiKeyListErrors];
|
|
2949
4005
|
export type ApiKeyListResponses = {
|
|
2950
4006
|
/**
|
|
2951
4007
|
* List of API keys
|
|
@@ -2966,16 +4022,17 @@ export type ApiKeyCreateErrors = {
|
|
|
2966
4022
|
/**
|
|
2967
4023
|
* Invalid request
|
|
2968
4024
|
*/
|
|
2969
|
-
400:
|
|
4025
|
+
400: ApiErrorResponse;
|
|
2970
4026
|
/**
|
|
2971
4027
|
* Unauthorized
|
|
2972
4028
|
*/
|
|
2973
|
-
401:
|
|
4029
|
+
401: ApiErrorResponse;
|
|
2974
4030
|
/**
|
|
2975
4031
|
* Forbidden
|
|
2976
4032
|
*/
|
|
2977
|
-
403:
|
|
4033
|
+
403: ApiErrorResponse;
|
|
2978
4034
|
};
|
|
4035
|
+
export type ApiKeyCreateError = ApiKeyCreateErrors[keyof ApiKeyCreateErrors];
|
|
2979
4036
|
export type ApiKeyCreateResponses = {
|
|
2980
4037
|
/**
|
|
2981
4038
|
* Created API key with one-time plaintext value
|
|
@@ -2995,16 +4052,17 @@ export type ApiKeyRevokeErrors = {
|
|
|
2995
4052
|
/**
|
|
2996
4053
|
* Unauthorized
|
|
2997
4054
|
*/
|
|
2998
|
-
401:
|
|
4055
|
+
401: ApiErrorResponse;
|
|
2999
4056
|
/**
|
|
3000
4057
|
* Forbidden
|
|
3001
4058
|
*/
|
|
3002
|
-
403:
|
|
4059
|
+
403: ApiErrorResponse;
|
|
3003
4060
|
/**
|
|
3004
4061
|
* Not found
|
|
3005
4062
|
*/
|
|
3006
|
-
404:
|
|
4063
|
+
404: ApiErrorResponse;
|
|
3007
4064
|
};
|
|
4065
|
+
export type ApiKeyRevokeError = ApiKeyRevokeErrors[keyof ApiKeyRevokeErrors];
|
|
3008
4066
|
export type ApiKeyRevokeResponses = {
|
|
3009
4067
|
/**
|
|
3010
4068
|
* Revoked API key
|