@highlightxyz/sdk 0.2.0 → 0.4.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/v1/gen/sdk.gen.d.ts +172 -71
- package/lib/v1/gen/sdk.gen.d.ts.map +1 -1
- package/lib/v1/gen/sdk.gen.js +289 -88
- package/lib/v1/gen/types.gen.d.ts +943 -325
- package/lib/v1/gen/types.gen.d.ts.map +1 -1
- package/lib/v1/gen/types.gen.js +18 -13
- package/lib/v1/media.d.ts +137 -1
- package/lib/v1/media.d.ts.map +1 -1
- package/lib/v1/media.js +243 -9
- package/package.json +4 -1
|
@@ -1,13 +1,22 @@
|
|
|
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"
|
|
7
14
|
}
|
|
8
|
-
export declare enum
|
|
15
|
+
export declare enum MediaNamespace {
|
|
9
16
|
Collection = "Collection",
|
|
10
|
-
User = "User"
|
|
17
|
+
User = "User",
|
|
18
|
+
Contract = "Contract",
|
|
19
|
+
System = "System"
|
|
11
20
|
}
|
|
12
21
|
export declare enum MediaProvenance {
|
|
13
22
|
UserUpload = "UserUpload",
|
|
@@ -42,7 +51,6 @@ export type MediaStorageLocation = {
|
|
|
42
51
|
provider: StorageProvider;
|
|
43
52
|
role: StorageRole;
|
|
44
53
|
reference: string;
|
|
45
|
-
url: string | null;
|
|
46
54
|
status: LocationStatus;
|
|
47
55
|
attempts: number;
|
|
48
56
|
lastError: string | null;
|
|
@@ -57,10 +65,10 @@ export type MediaAsset = {
|
|
|
57
65
|
id: string;
|
|
58
66
|
accountId: string;
|
|
59
67
|
kind: MediaKind;
|
|
60
|
-
|
|
68
|
+
namespace: MediaNamespace;
|
|
61
69
|
provenance: MediaProvenance;
|
|
62
70
|
status: MediaAssetStatus;
|
|
63
|
-
fileName: string;
|
|
71
|
+
fileName: string | null;
|
|
64
72
|
mimeType: string | null;
|
|
65
73
|
fileSize: number | null;
|
|
66
74
|
contentHash: string | null;
|
|
@@ -71,11 +79,6 @@ export type MediaAsset = {
|
|
|
71
79
|
createdAt: string;
|
|
72
80
|
updatedAt: string;
|
|
73
81
|
};
|
|
74
|
-
export declare enum RevealStrategy {
|
|
75
|
-
Noop = "Noop",
|
|
76
|
-
PreAssigned = "PreAssigned",
|
|
77
|
-
Generative = "Generative"
|
|
78
|
-
}
|
|
79
82
|
export declare enum CollectionSource {
|
|
80
83
|
Internal = "Internal",
|
|
81
84
|
External = "External"
|
|
@@ -183,7 +186,9 @@ export type SeriesPreviewEntry = {
|
|
|
183
186
|
metadataId: number;
|
|
184
187
|
name: string | null;
|
|
185
188
|
description: string | null;
|
|
189
|
+
image: MediaAsset | null;
|
|
186
190
|
imageUrl: string | null;
|
|
191
|
+
animation: MediaAsset | null;
|
|
187
192
|
animationUrl: string | null;
|
|
188
193
|
attributes: Array<{
|
|
189
194
|
traitType: string;
|
|
@@ -193,6 +198,33 @@ export type SeriesPreviewEntry = {
|
|
|
193
198
|
export type SeriesPreviewsResponse = {
|
|
194
199
|
items: Array<SeriesPreviewEntry>;
|
|
195
200
|
};
|
|
201
|
+
export type MediaUploadInstructions = {
|
|
202
|
+
url: string;
|
|
203
|
+
method: "PUT";
|
|
204
|
+
headers: {
|
|
205
|
+
[key: string]: string;
|
|
206
|
+
};
|
|
207
|
+
expiresAt: string;
|
|
208
|
+
};
|
|
209
|
+
export type MediaUploadSession = {
|
|
210
|
+
media: MediaAsset;
|
|
211
|
+
uploadMediaId: string;
|
|
212
|
+
upload: MediaUploadInstructions;
|
|
213
|
+
};
|
|
214
|
+
export declare enum MediaPurpose {
|
|
215
|
+
CollectionLogo = "CollectionLogo",
|
|
216
|
+
EditionImage = "EditionImage",
|
|
217
|
+
EditionAnimation = "EditionAnimation",
|
|
218
|
+
SeriesAssets = "SeriesAssets",
|
|
219
|
+
GenerativeCode = "GenerativeCode",
|
|
220
|
+
UserAvatar = "UserAvatar"
|
|
221
|
+
}
|
|
222
|
+
export type MediaContentHash = string;
|
|
223
|
+
export type CollectionUpdateMetadataInput = {
|
|
224
|
+
name?: string;
|
|
225
|
+
description?: string | null;
|
|
226
|
+
logoMediaId?: string;
|
|
227
|
+
};
|
|
196
228
|
export type EditionContractExecution = {
|
|
197
229
|
chainId: number;
|
|
198
230
|
to: string | null;
|
|
@@ -205,14 +237,13 @@ export type EditionUpdateResponse = {
|
|
|
205
237
|
collectionId: string | null;
|
|
206
238
|
name: string;
|
|
207
239
|
description: string | null;
|
|
208
|
-
logoMediaId: string;
|
|
209
|
-
logoMedia: MediaAsset;
|
|
240
|
+
logoMediaId: string | null;
|
|
241
|
+
logoMedia: MediaAsset | null;
|
|
210
242
|
baseUriId: string | null;
|
|
211
243
|
royaltyAddress: string | null;
|
|
212
244
|
royaltyAmount: number | null;
|
|
213
245
|
tokenManager: string | null;
|
|
214
246
|
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
215
|
-
revealStrategy: RevealStrategy;
|
|
216
247
|
source: CollectionSource;
|
|
217
248
|
type: CollectionType;
|
|
218
249
|
contract: {
|
|
@@ -225,6 +256,7 @@ export type EditionUpdateResponse = {
|
|
|
225
256
|
address: string | null;
|
|
226
257
|
symbol: string;
|
|
227
258
|
contractUri: string | null;
|
|
259
|
+
contractMetadataMediaId: string | null;
|
|
228
260
|
status: "Draft" | "Deploying" | "Live";
|
|
229
261
|
createdAt: string;
|
|
230
262
|
updatedAt: string;
|
|
@@ -262,6 +294,7 @@ export type EditionUpdateResponse = {
|
|
|
262
294
|
description?: string;
|
|
263
295
|
imageMediaId?: string;
|
|
264
296
|
animationMediaId?: string;
|
|
297
|
+
metadataMediaId?: string;
|
|
265
298
|
imageMedia?: MediaAsset | null;
|
|
266
299
|
animationMedia?: MediaAsset | null;
|
|
267
300
|
attributes?: Array<{
|
|
@@ -296,7 +329,6 @@ export type EditionUpdateResponse = {
|
|
|
296
329
|
paymentRecipient: string;
|
|
297
330
|
accessMode: SaleAccessMode;
|
|
298
331
|
gateId: string | null;
|
|
299
|
-
gasSponsored: boolean;
|
|
300
332
|
status: SaleStatus;
|
|
301
333
|
paused: boolean;
|
|
302
334
|
mechanicId: string | null;
|
|
@@ -323,6 +355,8 @@ export type RankedAuctionViewerStanding = {
|
|
|
323
355
|
numWinningBids: number;
|
|
324
356
|
numClaimed: number;
|
|
325
357
|
tokensLeftToClaim: number;
|
|
358
|
+
numBids: number;
|
|
359
|
+
rebateAmount: string;
|
|
326
360
|
};
|
|
327
361
|
export type RankedAuctionStandings = {
|
|
328
362
|
saleId: string;
|
|
@@ -331,6 +365,9 @@ export type RankedAuctionStandings = {
|
|
|
331
365
|
currency: SaleCurrency;
|
|
332
366
|
maxWinners: number;
|
|
333
367
|
totalBids: number;
|
|
368
|
+
endTimestamp: number;
|
|
369
|
+
rebatesEnabled: boolean;
|
|
370
|
+
maxBidsPerWallet: number;
|
|
334
371
|
bids: Array<RankedAuctionStandingBid>;
|
|
335
372
|
viewer: RankedAuctionViewerStanding | null;
|
|
336
373
|
};
|
|
@@ -354,6 +391,9 @@ export type EnglishAuctionStanding = {
|
|
|
354
391
|
creatorEarnings: string;
|
|
355
392
|
platformBps: number;
|
|
356
393
|
totalBids: number;
|
|
394
|
+
minBidIncrementBps: number;
|
|
395
|
+
bufferSeconds: number;
|
|
396
|
+
maxClaimsPerAccount: number;
|
|
357
397
|
viewer: EnglishAuctionViewerStanding | null;
|
|
358
398
|
};
|
|
359
399
|
export type EnglishAuctionBidEntry = {
|
|
@@ -369,6 +409,31 @@ export type EnglishAuctionBidHistory = {
|
|
|
369
409
|
currency: SaleCurrency;
|
|
370
410
|
bids: Array<EnglishAuctionBidEntry>;
|
|
371
411
|
};
|
|
412
|
+
export type DutchAuctionViewerStanding = {
|
|
413
|
+
address: string;
|
|
414
|
+
numTokensBought: number;
|
|
415
|
+
numRebates: number;
|
|
416
|
+
totalPosted: string;
|
|
417
|
+
rebateAmount: string;
|
|
418
|
+
rebateClaimable: boolean;
|
|
419
|
+
};
|
|
420
|
+
export type DutchAuctionStanding = {
|
|
421
|
+
saleId: string;
|
|
422
|
+
currency: SaleCurrency;
|
|
423
|
+
prices: Array<string>;
|
|
424
|
+
startTimestamp: number;
|
|
425
|
+
endTimestamp: number;
|
|
426
|
+
periodDuration: number;
|
|
427
|
+
clearingPrice: string;
|
|
428
|
+
currentSupply: number;
|
|
429
|
+
totalSales: string;
|
|
430
|
+
escrowedFunds: string;
|
|
431
|
+
fundsFinalized: boolean;
|
|
432
|
+
fundsWithdrawn: boolean;
|
|
433
|
+
auctionExhausted: boolean;
|
|
434
|
+
auctionInFPP: boolean;
|
|
435
|
+
viewer: DutchAuctionViewerStanding | null;
|
|
436
|
+
};
|
|
372
437
|
export declare enum TokenStatus {
|
|
373
438
|
PendingReveal = "PendingReveal",
|
|
374
439
|
PendingIndex = "PendingIndex",
|
|
@@ -391,6 +456,20 @@ export type TokenOwner = {
|
|
|
391
456
|
export type TokenOwnersResponse = {
|
|
392
457
|
owners: Array<TokenOwner>;
|
|
393
458
|
};
|
|
459
|
+
export type TokenRedriveSummary = {
|
|
460
|
+
candidates: number;
|
|
461
|
+
scheduled: number;
|
|
462
|
+
fromChain: number;
|
|
463
|
+
skippedRecent: number;
|
|
464
|
+
failed: number;
|
|
465
|
+
};
|
|
466
|
+
export type MediaHostsResponse = {
|
|
467
|
+
assets: string;
|
|
468
|
+
metadata: string;
|
|
469
|
+
legacyAssets: string;
|
|
470
|
+
arweaveGateway: string;
|
|
471
|
+
ipfsGateway: string;
|
|
472
|
+
};
|
|
394
473
|
export declare enum GateMatchMode {
|
|
395
474
|
All = "ALL",
|
|
396
475
|
Any = "ANY"
|
|
@@ -445,17 +524,6 @@ export type GateFarcasterUserPreview = {
|
|
|
445
524
|
displayName: string | null;
|
|
446
525
|
pfpUrl: string | null;
|
|
447
526
|
};
|
|
448
|
-
export type MediaUploadInstructions = {
|
|
449
|
-
url: string;
|
|
450
|
-
method: "PUT";
|
|
451
|
-
headers: {
|
|
452
|
-
[key: string]: string;
|
|
453
|
-
};
|
|
454
|
-
};
|
|
455
|
-
export type MediaUploadSession = {
|
|
456
|
-
media: MediaAsset;
|
|
457
|
-
upload: MediaUploadInstructions;
|
|
458
|
-
};
|
|
459
527
|
export type MediaChildrenList = {
|
|
460
528
|
items: Array<MediaAsset>;
|
|
461
529
|
nextCursor: string | null;
|
|
@@ -489,6 +557,7 @@ export declare enum TxUnitStatus {
|
|
|
489
557
|
export type TxUnit = {
|
|
490
558
|
id: string;
|
|
491
559
|
ref?: string;
|
|
560
|
+
detail?: string;
|
|
492
561
|
status: TxUnitStatus;
|
|
493
562
|
};
|
|
494
563
|
export type TxMilestone = {
|
|
@@ -504,6 +573,25 @@ export type TxStatusSnapshot = {
|
|
|
504
573
|
overall: TxOverallStatus;
|
|
505
574
|
milestones: Array<TxMilestone>;
|
|
506
575
|
};
|
|
576
|
+
export type UserProfile = {
|
|
577
|
+
id: string;
|
|
578
|
+
email: string | null;
|
|
579
|
+
displayName: string | null;
|
|
580
|
+
primaryAddress: string | null;
|
|
581
|
+
walletAddresses: Array<string>;
|
|
582
|
+
bio: string | null;
|
|
583
|
+
website: string | null;
|
|
584
|
+
avatarMediaId: string | null;
|
|
585
|
+
avatarMedia: MediaAsset | null;
|
|
586
|
+
};
|
|
587
|
+
export type PublicUserProfile = {
|
|
588
|
+
primaryAddress: string;
|
|
589
|
+
walletAddresses: Array<string>;
|
|
590
|
+
displayName: string | null;
|
|
591
|
+
bio: string | null;
|
|
592
|
+
website: string | null;
|
|
593
|
+
avatarMedia: MediaAsset | null;
|
|
594
|
+
};
|
|
507
595
|
export type ApiKey = {
|
|
508
596
|
id: string;
|
|
509
597
|
accountId: string;
|
|
@@ -540,8 +628,9 @@ export type CollectionListErrors = {
|
|
|
540
628
|
/**
|
|
541
629
|
* Unauthorized
|
|
542
630
|
*/
|
|
543
|
-
401:
|
|
631
|
+
401: ApiErrorResponse;
|
|
544
632
|
};
|
|
633
|
+
export type CollectionListError = CollectionListErrors[keyof CollectionListErrors];
|
|
545
634
|
export type CollectionListResponses = {
|
|
546
635
|
/**
|
|
547
636
|
* List of collections
|
|
@@ -552,14 +641,13 @@ export type CollectionListResponses = {
|
|
|
552
641
|
collectionId: string | null;
|
|
553
642
|
name: string;
|
|
554
643
|
description: string | null;
|
|
555
|
-
logoMediaId: string;
|
|
556
|
-
logoMedia: MediaAsset;
|
|
644
|
+
logoMediaId: string | null;
|
|
645
|
+
logoMedia: MediaAsset | null;
|
|
557
646
|
baseUriId: string | null;
|
|
558
647
|
royaltyAddress: string | null;
|
|
559
648
|
royaltyAmount: number | null;
|
|
560
649
|
tokenManager: string | null;
|
|
561
650
|
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
562
|
-
revealStrategy: RevealStrategy;
|
|
563
651
|
source: CollectionSource;
|
|
564
652
|
type: CollectionType;
|
|
565
653
|
contract: {
|
|
@@ -572,6 +660,7 @@ export type CollectionListResponses = {
|
|
|
572
660
|
address: string | null;
|
|
573
661
|
symbol: string;
|
|
574
662
|
contractUri: string | null;
|
|
663
|
+
contractMetadataMediaId: string | null;
|
|
575
664
|
status: "Draft" | "Deploying" | "Live";
|
|
576
665
|
createdAt: string;
|
|
577
666
|
updatedAt: string;
|
|
@@ -609,6 +698,7 @@ export type CollectionListResponses = {
|
|
|
609
698
|
description?: string;
|
|
610
699
|
imageMediaId?: string;
|
|
611
700
|
animationMediaId?: string;
|
|
701
|
+
metadataMediaId?: string;
|
|
612
702
|
imageMedia?: MediaAsset | null;
|
|
613
703
|
animationMedia?: MediaAsset | null;
|
|
614
704
|
attributes?: Array<{
|
|
@@ -643,7 +733,6 @@ export type CollectionListResponses = {
|
|
|
643
733
|
paymentRecipient: string;
|
|
644
734
|
accessMode: SaleAccessMode;
|
|
645
735
|
gateId: string | null;
|
|
646
|
-
gasSponsored: boolean;
|
|
647
736
|
status: SaleStatus;
|
|
648
737
|
paused: boolean;
|
|
649
738
|
mechanicId: string | null;
|
|
@@ -679,8 +768,6 @@ export type CollectionCreateData = {
|
|
|
679
768
|
symbol: string;
|
|
680
769
|
standard: ContractStandard;
|
|
681
770
|
};
|
|
682
|
-
logoMediaId: string;
|
|
683
|
-
image: string;
|
|
684
771
|
type: CollectionType;
|
|
685
772
|
royalty?: {
|
|
686
773
|
address: string;
|
|
@@ -696,20 +783,21 @@ export type CollectionCreateErrors = {
|
|
|
696
783
|
/**
|
|
697
784
|
* Invalid request
|
|
698
785
|
*/
|
|
699
|
-
400:
|
|
786
|
+
400: ApiErrorResponse;
|
|
700
787
|
/**
|
|
701
788
|
* Unauthorized
|
|
702
789
|
*/
|
|
703
|
-
401:
|
|
790
|
+
401: ApiErrorResponse;
|
|
704
791
|
/**
|
|
705
792
|
* Forbidden
|
|
706
793
|
*/
|
|
707
|
-
403:
|
|
794
|
+
403: ApiErrorResponse;
|
|
708
795
|
/**
|
|
709
796
|
* Not found
|
|
710
797
|
*/
|
|
711
|
-
404:
|
|
798
|
+
404: ApiErrorResponse;
|
|
712
799
|
};
|
|
800
|
+
export type CollectionCreateError = CollectionCreateErrors[keyof CollectionCreateErrors];
|
|
713
801
|
export type CollectionCreateResponses = {
|
|
714
802
|
/**
|
|
715
803
|
* Created collection
|
|
@@ -719,14 +807,13 @@ export type CollectionCreateResponses = {
|
|
|
719
807
|
collectionId: string | null;
|
|
720
808
|
name: string;
|
|
721
809
|
description: string | null;
|
|
722
|
-
logoMediaId: string;
|
|
723
|
-
logoMedia: MediaAsset;
|
|
810
|
+
logoMediaId: string | null;
|
|
811
|
+
logoMedia: MediaAsset | null;
|
|
724
812
|
baseUriId: string | null;
|
|
725
813
|
royaltyAddress: string | null;
|
|
726
814
|
royaltyAmount: number | null;
|
|
727
815
|
tokenManager: string | null;
|
|
728
816
|
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
729
|
-
revealStrategy: RevealStrategy;
|
|
730
817
|
source: CollectionSource;
|
|
731
818
|
type: CollectionType;
|
|
732
819
|
contract: {
|
|
@@ -739,6 +826,7 @@ export type CollectionCreateResponses = {
|
|
|
739
826
|
address: string | null;
|
|
740
827
|
symbol: string;
|
|
741
828
|
contractUri: string | null;
|
|
829
|
+
contractMetadataMediaId: string | null;
|
|
742
830
|
status: "Draft" | "Deploying" | "Live";
|
|
743
831
|
createdAt: string;
|
|
744
832
|
updatedAt: string;
|
|
@@ -776,6 +864,7 @@ export type CollectionCreateResponses = {
|
|
|
776
864
|
description?: string;
|
|
777
865
|
imageMediaId?: string;
|
|
778
866
|
animationMediaId?: string;
|
|
867
|
+
metadataMediaId?: string;
|
|
779
868
|
imageMedia?: MediaAsset | null;
|
|
780
869
|
animationMedia?: MediaAsset | null;
|
|
781
870
|
attributes?: Array<{
|
|
@@ -810,7 +899,6 @@ export type CollectionCreateResponses = {
|
|
|
810
899
|
paymentRecipient: string;
|
|
811
900
|
accessMode: SaleAccessMode;
|
|
812
901
|
gateId: string | null;
|
|
813
|
-
gasSponsored: boolean;
|
|
814
902
|
status: SaleStatus;
|
|
815
903
|
paused: boolean;
|
|
816
904
|
mechanicId: string | null;
|
|
@@ -840,8 +928,9 @@ export type CollectionTrendingErrors = {
|
|
|
840
928
|
/**
|
|
841
929
|
* Invalid request
|
|
842
930
|
*/
|
|
843
|
-
400:
|
|
931
|
+
400: ApiErrorResponse;
|
|
844
932
|
};
|
|
933
|
+
export type CollectionTrendingError = CollectionTrendingErrors[keyof CollectionTrendingErrors];
|
|
845
934
|
export type CollectionTrendingResponses = {
|
|
846
935
|
/**
|
|
847
936
|
* Ranked trending collections
|
|
@@ -862,8 +951,9 @@ export type CollectionFeaturedErrors = {
|
|
|
862
951
|
/**
|
|
863
952
|
* Invalid request
|
|
864
953
|
*/
|
|
865
|
-
400:
|
|
954
|
+
400: ApiErrorResponse;
|
|
866
955
|
};
|
|
956
|
+
export type CollectionFeaturedError = CollectionFeaturedErrors[keyof CollectionFeaturedErrors];
|
|
867
957
|
export type CollectionFeaturedResponses = {
|
|
868
958
|
/**
|
|
869
959
|
* Curated featured collections
|
|
@@ -883,12 +973,13 @@ export type CollectionGetErrors = {
|
|
|
883
973
|
/**
|
|
884
974
|
* Forbidden
|
|
885
975
|
*/
|
|
886
|
-
403:
|
|
976
|
+
403: ApiErrorResponse;
|
|
887
977
|
/**
|
|
888
978
|
* Not found
|
|
889
979
|
*/
|
|
890
|
-
404:
|
|
980
|
+
404: ApiErrorResponse;
|
|
891
981
|
};
|
|
982
|
+
export type CollectionGetError = CollectionGetErrors[keyof CollectionGetErrors];
|
|
892
983
|
export type CollectionGetResponses = {
|
|
893
984
|
/**
|
|
894
985
|
* Collection details
|
|
@@ -898,14 +989,13 @@ export type CollectionGetResponses = {
|
|
|
898
989
|
collectionId: string | null;
|
|
899
990
|
name: string;
|
|
900
991
|
description: string | null;
|
|
901
|
-
logoMediaId: string;
|
|
902
|
-
logoMedia: MediaAsset;
|
|
992
|
+
logoMediaId: string | null;
|
|
993
|
+
logoMedia: MediaAsset | null;
|
|
903
994
|
baseUriId: string | null;
|
|
904
995
|
royaltyAddress: string | null;
|
|
905
996
|
royaltyAmount: number | null;
|
|
906
997
|
tokenManager: string | null;
|
|
907
998
|
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
908
|
-
revealStrategy: RevealStrategy;
|
|
909
999
|
source: CollectionSource;
|
|
910
1000
|
type: CollectionType;
|
|
911
1001
|
contract: {
|
|
@@ -918,6 +1008,7 @@ export type CollectionGetResponses = {
|
|
|
918
1008
|
address: string | null;
|
|
919
1009
|
symbol: string;
|
|
920
1010
|
contractUri: string | null;
|
|
1011
|
+
contractMetadataMediaId: string | null;
|
|
921
1012
|
status: "Draft" | "Deploying" | "Live";
|
|
922
1013
|
createdAt: string;
|
|
923
1014
|
updatedAt: string;
|
|
@@ -955,6 +1046,7 @@ export type CollectionGetResponses = {
|
|
|
955
1046
|
description?: string;
|
|
956
1047
|
imageMediaId?: string;
|
|
957
1048
|
animationMediaId?: string;
|
|
1049
|
+
metadataMediaId?: string;
|
|
958
1050
|
imageMedia?: MediaAsset | null;
|
|
959
1051
|
animationMedia?: MediaAsset | null;
|
|
960
1052
|
attributes?: Array<{
|
|
@@ -989,7 +1081,6 @@ export type CollectionGetResponses = {
|
|
|
989
1081
|
paymentRecipient: string;
|
|
990
1082
|
accessMode: SaleAccessMode;
|
|
991
1083
|
gateId: string | null;
|
|
992
|
-
gasSponsored: boolean;
|
|
993
1084
|
status: SaleStatus;
|
|
994
1085
|
paused: boolean;
|
|
995
1086
|
mechanicId: string | null;
|
|
@@ -1019,12 +1110,13 @@ export type CollectionListPreviewsErrors = {
|
|
|
1019
1110
|
/**
|
|
1020
1111
|
* Forbidden
|
|
1021
1112
|
*/
|
|
1022
|
-
403:
|
|
1113
|
+
403: ApiErrorResponse;
|
|
1023
1114
|
/**
|
|
1024
1115
|
* Not found
|
|
1025
1116
|
*/
|
|
1026
|
-
404:
|
|
1117
|
+
404: ApiErrorResponse;
|
|
1027
1118
|
};
|
|
1119
|
+
export type CollectionListPreviewsError = CollectionListPreviewsErrors[keyof CollectionListPreviewsErrors];
|
|
1028
1120
|
export type CollectionListPreviewsResponses = {
|
|
1029
1121
|
/**
|
|
1030
1122
|
* Series previews
|
|
@@ -1032,37 +1124,42 @@ export type CollectionListPreviewsResponses = {
|
|
|
1032
1124
|
200: SeriesPreviewsResponse;
|
|
1033
1125
|
};
|
|
1034
1126
|
export type CollectionListPreviewsResponse = CollectionListPreviewsResponses[keyof CollectionListPreviewsResponses];
|
|
1035
|
-
export type
|
|
1127
|
+
export type CollectionArchiveBaseUriData = {
|
|
1036
1128
|
body?: never;
|
|
1037
1129
|
path: {
|
|
1038
1130
|
highlightId: string;
|
|
1039
1131
|
};
|
|
1040
1132
|
query?: never;
|
|
1041
|
-
url: "/collection/{highlightId}/
|
|
1133
|
+
url: "/collection/{highlightId}/archive-base-uri";
|
|
1042
1134
|
};
|
|
1043
|
-
export type
|
|
1135
|
+
export type CollectionArchiveBaseUriErrors = {
|
|
1044
1136
|
/**
|
|
1045
1137
|
* Base URI not set or directory empty
|
|
1046
1138
|
*/
|
|
1047
|
-
400:
|
|
1139
|
+
400: ApiErrorResponse;
|
|
1048
1140
|
/**
|
|
1049
1141
|
* Unauthorized
|
|
1050
1142
|
*/
|
|
1051
|
-
401:
|
|
1143
|
+
401: ApiErrorResponse;
|
|
1052
1144
|
/**
|
|
1053
1145
|
* Not the owner
|
|
1054
1146
|
*/
|
|
1055
|
-
403:
|
|
1147
|
+
403: ApiErrorResponse;
|
|
1056
1148
|
/**
|
|
1057
1149
|
* Collection not found
|
|
1058
1150
|
*/
|
|
1059
|
-
404:
|
|
1151
|
+
404: ApiErrorResponse;
|
|
1152
|
+
/**
|
|
1153
|
+
* Metadata bytes conflict with stored Media content
|
|
1154
|
+
*/
|
|
1155
|
+
409: ApiErrorResponse;
|
|
1060
1156
|
/**
|
|
1061
1157
|
* Archive provider unavailable
|
|
1062
1158
|
*/
|
|
1063
|
-
503:
|
|
1159
|
+
503: ApiErrorResponse;
|
|
1064
1160
|
};
|
|
1065
|
-
export type
|
|
1161
|
+
export type CollectionArchiveBaseUriError = CollectionArchiveBaseUriErrors[keyof CollectionArchiveBaseUriErrors];
|
|
1162
|
+
export type CollectionArchiveBaseUriResponses = {
|
|
1066
1163
|
/**
|
|
1067
1164
|
* Collection with Archive location on base URI
|
|
1068
1165
|
*/
|
|
@@ -1071,14 +1168,13 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
1071
1168
|
collectionId: string | null;
|
|
1072
1169
|
name: string;
|
|
1073
1170
|
description: string | null;
|
|
1074
|
-
logoMediaId: string;
|
|
1075
|
-
logoMedia: MediaAsset;
|
|
1171
|
+
logoMediaId: string | null;
|
|
1172
|
+
logoMedia: MediaAsset | null;
|
|
1076
1173
|
baseUriId: string | null;
|
|
1077
1174
|
royaltyAddress: string | null;
|
|
1078
1175
|
royaltyAmount: number | null;
|
|
1079
1176
|
tokenManager: string | null;
|
|
1080
1177
|
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
1081
|
-
revealStrategy: RevealStrategy;
|
|
1082
1178
|
source: CollectionSource;
|
|
1083
1179
|
type: CollectionType;
|
|
1084
1180
|
contract: {
|
|
@@ -1091,6 +1187,7 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
1091
1187
|
address: string | null;
|
|
1092
1188
|
symbol: string;
|
|
1093
1189
|
contractUri: string | null;
|
|
1190
|
+
contractMetadataMediaId: string | null;
|
|
1094
1191
|
status: "Draft" | "Deploying" | "Live";
|
|
1095
1192
|
createdAt: string;
|
|
1096
1193
|
updatedAt: string;
|
|
@@ -1128,6 +1225,7 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
1128
1225
|
description?: string;
|
|
1129
1226
|
imageMediaId?: string;
|
|
1130
1227
|
animationMediaId?: string;
|
|
1228
|
+
metadataMediaId?: string;
|
|
1131
1229
|
imageMedia?: MediaAsset | null;
|
|
1132
1230
|
animationMedia?: MediaAsset | null;
|
|
1133
1231
|
attributes?: Array<{
|
|
@@ -1162,7 +1260,6 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
1162
1260
|
paymentRecipient: string;
|
|
1163
1261
|
accessMode: SaleAccessMode;
|
|
1164
1262
|
gateId: string | null;
|
|
1165
|
-
gasSponsored: boolean;
|
|
1166
1263
|
status: SaleStatus;
|
|
1167
1264
|
paused: boolean;
|
|
1168
1265
|
mechanicId: string | null;
|
|
@@ -1177,7 +1274,198 @@ export type CollectionFinalizeBaseUriResponses = {
|
|
|
1177
1274
|
}>;
|
|
1178
1275
|
};
|
|
1179
1276
|
};
|
|
1180
|
-
export type
|
|
1277
|
+
export type CollectionArchiveBaseUriResponse = CollectionArchiveBaseUriResponses[keyof CollectionArchiveBaseUriResponses];
|
|
1278
|
+
export type CollectionCreateMediaUploadSessionData = {
|
|
1279
|
+
body: {
|
|
1280
|
+
purpose: MediaPurpose;
|
|
1281
|
+
fileName: string;
|
|
1282
|
+
mimeType: string;
|
|
1283
|
+
fileSize: number;
|
|
1284
|
+
contentHash: MediaContentHash;
|
|
1285
|
+
};
|
|
1286
|
+
path: {
|
|
1287
|
+
highlightId: string;
|
|
1288
|
+
};
|
|
1289
|
+
query?: never;
|
|
1290
|
+
url: "/collection/{highlightId}/media/upload-session";
|
|
1291
|
+
};
|
|
1292
|
+
export type CollectionCreateMediaUploadSessionErrors = {
|
|
1293
|
+
/**
|
|
1294
|
+
* Invalid request, unsupported content type, or file too large
|
|
1295
|
+
*/
|
|
1296
|
+
400: ApiErrorResponse;
|
|
1297
|
+
/**
|
|
1298
|
+
* Unauthorized
|
|
1299
|
+
*/
|
|
1300
|
+
401: ApiErrorResponse;
|
|
1301
|
+
/**
|
|
1302
|
+
* Forbidden
|
|
1303
|
+
*/
|
|
1304
|
+
403: ApiErrorResponse;
|
|
1305
|
+
/**
|
|
1306
|
+
* Collection not found
|
|
1307
|
+
*/
|
|
1308
|
+
404: ApiErrorResponse;
|
|
1309
|
+
/**
|
|
1310
|
+
* R2 upload signing is not configured
|
|
1311
|
+
*/
|
|
1312
|
+
500: ApiErrorResponse;
|
|
1313
|
+
/**
|
|
1314
|
+
* Storage unavailable
|
|
1315
|
+
*/
|
|
1316
|
+
503: ApiErrorResponse;
|
|
1317
|
+
};
|
|
1318
|
+
export type CollectionCreateMediaUploadSessionError = CollectionCreateMediaUploadSessionErrors[keyof CollectionCreateMediaUploadSessionErrors];
|
|
1319
|
+
export type CollectionCreateMediaUploadSessionResponses = {
|
|
1320
|
+
/**
|
|
1321
|
+
* Upload session
|
|
1322
|
+
*/
|
|
1323
|
+
200: MediaUploadSession;
|
|
1324
|
+
};
|
|
1325
|
+
export type CollectionCreateMediaUploadSessionResponse = CollectionCreateMediaUploadSessionResponses[keyof CollectionCreateMediaUploadSessionResponses];
|
|
1326
|
+
export type CollectionUpdateMetadataData = {
|
|
1327
|
+
body: CollectionUpdateMetadataInput;
|
|
1328
|
+
path: {
|
|
1329
|
+
highlightId: string;
|
|
1330
|
+
};
|
|
1331
|
+
query?: never;
|
|
1332
|
+
url: "/collection/{highlightId}/metadata";
|
|
1333
|
+
};
|
|
1334
|
+
export type CollectionUpdateMetadataErrors = {
|
|
1335
|
+
/**
|
|
1336
|
+
* Invalid request
|
|
1337
|
+
*/
|
|
1338
|
+
400: ApiErrorResponse;
|
|
1339
|
+
/**
|
|
1340
|
+
* Unauthorized
|
|
1341
|
+
*/
|
|
1342
|
+
401: ApiErrorResponse;
|
|
1343
|
+
/**
|
|
1344
|
+
* Forbidden
|
|
1345
|
+
*/
|
|
1346
|
+
403: ApiErrorResponse;
|
|
1347
|
+
/**
|
|
1348
|
+
* Not found
|
|
1349
|
+
*/
|
|
1350
|
+
404: ApiErrorResponse;
|
|
1351
|
+
};
|
|
1352
|
+
export type CollectionUpdateMetadataError = CollectionUpdateMetadataErrors[keyof CollectionUpdateMetadataErrors];
|
|
1353
|
+
export type CollectionUpdateMetadataResponses = {
|
|
1354
|
+
/**
|
|
1355
|
+
* Updated collection
|
|
1356
|
+
*/
|
|
1357
|
+
200: {
|
|
1358
|
+
highlightId: string;
|
|
1359
|
+
collectionId: string | null;
|
|
1360
|
+
name: string;
|
|
1361
|
+
description: string | null;
|
|
1362
|
+
logoMediaId: string | null;
|
|
1363
|
+
logoMedia: MediaAsset | null;
|
|
1364
|
+
baseUriId: string | null;
|
|
1365
|
+
royaltyAddress: string | null;
|
|
1366
|
+
royaltyAmount: number | null;
|
|
1367
|
+
tokenManager: string | null;
|
|
1368
|
+
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
1369
|
+
source: CollectionSource;
|
|
1370
|
+
type: CollectionType;
|
|
1371
|
+
contract: {
|
|
1372
|
+
id: string;
|
|
1373
|
+
chainId: number;
|
|
1374
|
+
type: "GenerativeSeries" | "Series" | "MultipleEditions" | "MultipleEditionsDFS" | "SingleEdition" | "SingleEditionDFS" | "EditionsDFS1155";
|
|
1375
|
+
standard: ContractStandard;
|
|
1376
|
+
creatorAddress: string;
|
|
1377
|
+
name: string;
|
|
1378
|
+
address: string | null;
|
|
1379
|
+
symbol: string;
|
|
1380
|
+
contractUri: string | null;
|
|
1381
|
+
contractMetadataMediaId: string | null;
|
|
1382
|
+
status: "Draft" | "Deploying" | "Live";
|
|
1383
|
+
createdAt: string;
|
|
1384
|
+
updatedAt: string;
|
|
1385
|
+
};
|
|
1386
|
+
createdAt: string;
|
|
1387
|
+
updatedAt: string;
|
|
1388
|
+
series: {
|
|
1389
|
+
size: number;
|
|
1390
|
+
isCollectorsChoice?: boolean;
|
|
1391
|
+
assetsMediaId?: string;
|
|
1392
|
+
assetsMedia?: MediaAsset | null;
|
|
1393
|
+
} | null;
|
|
1394
|
+
generative: {
|
|
1395
|
+
size: number;
|
|
1396
|
+
codeMediaId: string;
|
|
1397
|
+
codeMedia: MediaAsset;
|
|
1398
|
+
isCurated?: boolean;
|
|
1399
|
+
isGpuRendering?: boolean;
|
|
1400
|
+
editionType?: GenerativeEditionType;
|
|
1401
|
+
allowedHashes?: Array<string>;
|
|
1402
|
+
requiredParams?: Array<string>;
|
|
1403
|
+
captureSettings?: {
|
|
1404
|
+
trigger: CaptureSettingsTrigger;
|
|
1405
|
+
delay?: number;
|
|
1406
|
+
selector?: string;
|
|
1407
|
+
selectorType?: SelectorType;
|
|
1408
|
+
viewPortHeight?: number;
|
|
1409
|
+
viewPortWidth?: number;
|
|
1410
|
+
};
|
|
1411
|
+
} | null;
|
|
1412
|
+
edition: {
|
|
1413
|
+
editionId: string;
|
|
1414
|
+
size: number;
|
|
1415
|
+
name?: string;
|
|
1416
|
+
description?: string;
|
|
1417
|
+
imageMediaId?: string;
|
|
1418
|
+
animationMediaId?: string;
|
|
1419
|
+
metadataMediaId?: string;
|
|
1420
|
+
imageMedia?: MediaAsset | null;
|
|
1421
|
+
animationMedia?: MediaAsset | null;
|
|
1422
|
+
attributes?: Array<{
|
|
1423
|
+
traitType: string;
|
|
1424
|
+
value: string;
|
|
1425
|
+
}>;
|
|
1426
|
+
} | null;
|
|
1427
|
+
account: {
|
|
1428
|
+
id: string;
|
|
1429
|
+
displayName: string | null;
|
|
1430
|
+
primaryAddress: string | null;
|
|
1431
|
+
ensName: string | null;
|
|
1432
|
+
};
|
|
1433
|
+
stats: {
|
|
1434
|
+
ownerCount: number;
|
|
1435
|
+
tokenCount: number;
|
|
1436
|
+
volumeByCurrency: Array<CollectionCurrencyVolume>;
|
|
1437
|
+
updatedAt: string;
|
|
1438
|
+
} | null;
|
|
1439
|
+
sales: Array<{
|
|
1440
|
+
id: string;
|
|
1441
|
+
collectionId: string;
|
|
1442
|
+
name: string | null;
|
|
1443
|
+
type: SaleType;
|
|
1444
|
+
startAt: string;
|
|
1445
|
+
endAt: string | null;
|
|
1446
|
+
price: string;
|
|
1447
|
+
currency: SaleCurrency;
|
|
1448
|
+
maxPerTransaction: number;
|
|
1449
|
+
maxPerWallet: number;
|
|
1450
|
+
maxTotal: number;
|
|
1451
|
+
paymentRecipient: string;
|
|
1452
|
+
accessMode: SaleAccessMode;
|
|
1453
|
+
gateId: string | null;
|
|
1454
|
+
status: SaleStatus;
|
|
1455
|
+
paused: boolean;
|
|
1456
|
+
mechanicId: string | null;
|
|
1457
|
+
typeConfig: unknown | null;
|
|
1458
|
+
vectorId: string | null;
|
|
1459
|
+
customMintFee: string | null;
|
|
1460
|
+
collectorMessage: string | null;
|
|
1461
|
+
createdAt: string;
|
|
1462
|
+
updatedAt: string;
|
|
1463
|
+
stats: SaleStats | null;
|
|
1464
|
+
lifecycle: SaleLifecycle;
|
|
1465
|
+
}>;
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
export type CollectionUpdateMetadataResponse = CollectionUpdateMetadataResponses[keyof CollectionUpdateMetadataResponses];
|
|
1181
1469
|
export type CollectionUpdateGenerativeDetailsData = {
|
|
1182
1470
|
body: {
|
|
1183
1471
|
generative: {
|
|
@@ -1208,20 +1496,21 @@ export type CollectionUpdateGenerativeDetailsErrors = {
|
|
|
1208
1496
|
/**
|
|
1209
1497
|
* Invalid request
|
|
1210
1498
|
*/
|
|
1211
|
-
400:
|
|
1499
|
+
400: ApiErrorResponse;
|
|
1212
1500
|
/**
|
|
1213
1501
|
* Unauthorized
|
|
1214
1502
|
*/
|
|
1215
|
-
401:
|
|
1503
|
+
401: ApiErrorResponse;
|
|
1216
1504
|
/**
|
|
1217
1505
|
* Forbidden
|
|
1218
1506
|
*/
|
|
1219
|
-
403:
|
|
1507
|
+
403: ApiErrorResponse;
|
|
1220
1508
|
/**
|
|
1221
1509
|
* Not found
|
|
1222
1510
|
*/
|
|
1223
|
-
404:
|
|
1511
|
+
404: ApiErrorResponse;
|
|
1224
1512
|
};
|
|
1513
|
+
export type CollectionUpdateGenerativeDetailsError = CollectionUpdateGenerativeDetailsErrors[keyof CollectionUpdateGenerativeDetailsErrors];
|
|
1225
1514
|
export type CollectionUpdateGenerativeDetailsResponses = {
|
|
1226
1515
|
/**
|
|
1227
1516
|
* Updated generative draft details
|
|
@@ -1231,14 +1520,13 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
1231
1520
|
collectionId: string | null;
|
|
1232
1521
|
name: string;
|
|
1233
1522
|
description: string | null;
|
|
1234
|
-
logoMediaId: string;
|
|
1235
|
-
logoMedia: MediaAsset;
|
|
1523
|
+
logoMediaId: string | null;
|
|
1524
|
+
logoMedia: MediaAsset | null;
|
|
1236
1525
|
baseUriId: string | null;
|
|
1237
1526
|
royaltyAddress: string | null;
|
|
1238
1527
|
royaltyAmount: number | null;
|
|
1239
1528
|
tokenManager: string | null;
|
|
1240
1529
|
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
1241
|
-
revealStrategy: RevealStrategy;
|
|
1242
1530
|
source: CollectionSource;
|
|
1243
1531
|
type: CollectionType;
|
|
1244
1532
|
contract: {
|
|
@@ -1251,6 +1539,7 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
1251
1539
|
address: string | null;
|
|
1252
1540
|
symbol: string;
|
|
1253
1541
|
contractUri: string | null;
|
|
1542
|
+
contractMetadataMediaId: string | null;
|
|
1254
1543
|
status: "Draft" | "Deploying" | "Live";
|
|
1255
1544
|
createdAt: string;
|
|
1256
1545
|
updatedAt: string;
|
|
@@ -1288,6 +1577,7 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
1288
1577
|
description?: string;
|
|
1289
1578
|
imageMediaId?: string;
|
|
1290
1579
|
animationMediaId?: string;
|
|
1580
|
+
metadataMediaId?: string;
|
|
1291
1581
|
imageMedia?: MediaAsset | null;
|
|
1292
1582
|
animationMedia?: MediaAsset | null;
|
|
1293
1583
|
attributes?: Array<{
|
|
@@ -1322,7 +1612,6 @@ export type CollectionUpdateGenerativeDetailsResponses = {
|
|
|
1322
1612
|
paymentRecipient: string;
|
|
1323
1613
|
accessMode: SaleAccessMode;
|
|
1324
1614
|
gateId: string | null;
|
|
1325
|
-
gasSponsored: boolean;
|
|
1326
1615
|
status: SaleStatus;
|
|
1327
1616
|
paused: boolean;
|
|
1328
1617
|
mechanicId: string | null;
|
|
@@ -1356,20 +1645,21 @@ export type CollectionUpdateSeriesDetailsErrors = {
|
|
|
1356
1645
|
/**
|
|
1357
1646
|
* Invalid request
|
|
1358
1647
|
*/
|
|
1359
|
-
400:
|
|
1648
|
+
400: ApiErrorResponse;
|
|
1360
1649
|
/**
|
|
1361
1650
|
* Unauthorized
|
|
1362
1651
|
*/
|
|
1363
|
-
401:
|
|
1652
|
+
401: ApiErrorResponse;
|
|
1364
1653
|
/**
|
|
1365
1654
|
* Forbidden
|
|
1366
1655
|
*/
|
|
1367
|
-
403:
|
|
1656
|
+
403: ApiErrorResponse;
|
|
1368
1657
|
/**
|
|
1369
1658
|
* Not found
|
|
1370
1659
|
*/
|
|
1371
|
-
404:
|
|
1660
|
+
404: ApiErrorResponse;
|
|
1372
1661
|
};
|
|
1662
|
+
export type CollectionUpdateSeriesDetailsError = CollectionUpdateSeriesDetailsErrors[keyof CollectionUpdateSeriesDetailsErrors];
|
|
1373
1663
|
export type CollectionUpdateSeriesDetailsResponses = {
|
|
1374
1664
|
/**
|
|
1375
1665
|
* Updated series draft details
|
|
@@ -1379,14 +1669,13 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
1379
1669
|
collectionId: string | null;
|
|
1380
1670
|
name: string;
|
|
1381
1671
|
description: string | null;
|
|
1382
|
-
logoMediaId: string;
|
|
1383
|
-
logoMedia: MediaAsset;
|
|
1672
|
+
logoMediaId: string | null;
|
|
1673
|
+
logoMedia: MediaAsset | null;
|
|
1384
1674
|
baseUriId: string | null;
|
|
1385
1675
|
royaltyAddress: string | null;
|
|
1386
1676
|
royaltyAmount: number | null;
|
|
1387
1677
|
tokenManager: string | null;
|
|
1388
1678
|
status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
|
|
1389
|
-
revealStrategy: RevealStrategy;
|
|
1390
1679
|
source: CollectionSource;
|
|
1391
1680
|
type: CollectionType;
|
|
1392
1681
|
contract: {
|
|
@@ -1399,6 +1688,7 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
1399
1688
|
address: string | null;
|
|
1400
1689
|
symbol: string;
|
|
1401
1690
|
contractUri: string | null;
|
|
1691
|
+
contractMetadataMediaId: string | null;
|
|
1402
1692
|
status: "Draft" | "Deploying" | "Live";
|
|
1403
1693
|
createdAt: string;
|
|
1404
1694
|
updatedAt: string;
|
|
@@ -1436,6 +1726,7 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
1436
1726
|
description?: string;
|
|
1437
1727
|
imageMediaId?: string;
|
|
1438
1728
|
animationMediaId?: string;
|
|
1729
|
+
metadataMediaId?: string;
|
|
1439
1730
|
imageMedia?: MediaAsset | null;
|
|
1440
1731
|
animationMedia?: MediaAsset | null;
|
|
1441
1732
|
attributes?: Array<{
|
|
@@ -1470,7 +1761,6 @@ export type CollectionUpdateSeriesDetailsResponses = {
|
|
|
1470
1761
|
paymentRecipient: string;
|
|
1471
1762
|
accessMode: SaleAccessMode;
|
|
1472
1763
|
gateId: string | null;
|
|
1473
|
-
gasSponsored: boolean;
|
|
1474
1764
|
status: SaleStatus;
|
|
1475
1765
|
paused: boolean;
|
|
1476
1766
|
mechanicId: string | null;
|
|
@@ -1510,24 +1800,25 @@ export type CollectionUpdateEditionDetailsErrors = {
|
|
|
1510
1800
|
/**
|
|
1511
1801
|
* Invalid request
|
|
1512
1802
|
*/
|
|
1513
|
-
400:
|
|
1803
|
+
400: ApiErrorResponse;
|
|
1514
1804
|
/**
|
|
1515
1805
|
* Unauthorized
|
|
1516
1806
|
*/
|
|
1517
|
-
401:
|
|
1807
|
+
401: ApiErrorResponse;
|
|
1518
1808
|
/**
|
|
1519
1809
|
* Forbidden
|
|
1520
1810
|
*/
|
|
1521
|
-
403:
|
|
1811
|
+
403: ApiErrorResponse;
|
|
1522
1812
|
/**
|
|
1523
1813
|
* Not found
|
|
1524
1814
|
*/
|
|
1525
|
-
404:
|
|
1815
|
+
404: ApiErrorResponse;
|
|
1526
1816
|
/**
|
|
1527
1817
|
* Metadata archive provider unavailable
|
|
1528
1818
|
*/
|
|
1529
|
-
503:
|
|
1819
|
+
503: ApiErrorResponse;
|
|
1530
1820
|
};
|
|
1821
|
+
export type CollectionUpdateEditionDetailsError = CollectionUpdateEditionDetailsErrors[keyof CollectionUpdateEditionDetailsErrors];
|
|
1531
1822
|
export type CollectionUpdateEditionDetailsResponses = {
|
|
1532
1823
|
/**
|
|
1533
1824
|
* Updated edition details (draft) or a transaction to sign (live)
|
|
@@ -1547,16 +1838,17 @@ export type CollectionGetSalesErrors = {
|
|
|
1547
1838
|
/**
|
|
1548
1839
|
* Unauthorized
|
|
1549
1840
|
*/
|
|
1550
|
-
401:
|
|
1841
|
+
401: ApiErrorResponse;
|
|
1551
1842
|
/**
|
|
1552
1843
|
* Forbidden
|
|
1553
1844
|
*/
|
|
1554
|
-
403:
|
|
1845
|
+
403: ApiErrorResponse;
|
|
1555
1846
|
/**
|
|
1556
1847
|
* Not found
|
|
1557
1848
|
*/
|
|
1558
|
-
404:
|
|
1849
|
+
404: ApiErrorResponse;
|
|
1559
1850
|
};
|
|
1851
|
+
export type CollectionGetSalesError = CollectionGetSalesErrors[keyof CollectionGetSalesErrors];
|
|
1560
1852
|
export type CollectionGetSalesResponses = {
|
|
1561
1853
|
/**
|
|
1562
1854
|
* Collection sales
|
|
@@ -1576,7 +1868,6 @@ export type CollectionGetSalesResponses = {
|
|
|
1576
1868
|
paymentRecipient: string;
|
|
1577
1869
|
accessMode: SaleAccessMode;
|
|
1578
1870
|
gateId: string | null;
|
|
1579
|
-
gasSponsored: boolean;
|
|
1580
1871
|
status: SaleStatus;
|
|
1581
1872
|
paused: boolean;
|
|
1582
1873
|
mechanicId: string | null;
|
|
@@ -1605,7 +1896,6 @@ export type CollectionAddSaleData = {
|
|
|
1605
1896
|
paymentRecipient: string;
|
|
1606
1897
|
accessMode?: SaleAccessMode;
|
|
1607
1898
|
gateId?: string | null;
|
|
1608
|
-
gasSponsored?: boolean;
|
|
1609
1899
|
mechanicId?: string | null;
|
|
1610
1900
|
typeConfig?: unknown | null;
|
|
1611
1901
|
collectorMessage?: string | null;
|
|
@@ -1621,24 +1911,25 @@ export type CollectionAddSaleErrors = {
|
|
|
1621
1911
|
/**
|
|
1622
1912
|
* Invalid request
|
|
1623
1913
|
*/
|
|
1624
|
-
400:
|
|
1914
|
+
400: ApiErrorResponse;
|
|
1625
1915
|
/**
|
|
1626
1916
|
* Unauthorized
|
|
1627
1917
|
*/
|
|
1628
|
-
401:
|
|
1918
|
+
401: ApiErrorResponse;
|
|
1629
1919
|
/**
|
|
1630
1920
|
* Forbidden
|
|
1631
1921
|
*/
|
|
1632
|
-
403:
|
|
1922
|
+
403: ApiErrorResponse;
|
|
1633
1923
|
/**
|
|
1634
1924
|
* Not found
|
|
1635
1925
|
*/
|
|
1636
|
-
404:
|
|
1926
|
+
404: ApiErrorResponse;
|
|
1637
1927
|
/**
|
|
1638
1928
|
* Sale already exists
|
|
1639
1929
|
*/
|
|
1640
|
-
409:
|
|
1930
|
+
409: ApiErrorResponse;
|
|
1641
1931
|
};
|
|
1932
|
+
export type CollectionAddSaleError = CollectionAddSaleErrors[keyof CollectionAddSaleErrors];
|
|
1642
1933
|
export type CollectionAddSaleResponses = {
|
|
1643
1934
|
/**
|
|
1644
1935
|
* Sale added
|
|
@@ -1668,20 +1959,21 @@ export type CollectionDeleteSaleErrors = {
|
|
|
1668
1959
|
/**
|
|
1669
1960
|
* Invalid request
|
|
1670
1961
|
*/
|
|
1671
|
-
400:
|
|
1962
|
+
400: ApiErrorResponse;
|
|
1672
1963
|
/**
|
|
1673
1964
|
* Unauthorized
|
|
1674
1965
|
*/
|
|
1675
|
-
401:
|
|
1966
|
+
401: ApiErrorResponse;
|
|
1676
1967
|
/**
|
|
1677
1968
|
* Forbidden
|
|
1678
1969
|
*/
|
|
1679
|
-
403:
|
|
1970
|
+
403: ApiErrorResponse;
|
|
1680
1971
|
/**
|
|
1681
1972
|
* Not found
|
|
1682
1973
|
*/
|
|
1683
|
-
404:
|
|
1974
|
+
404: ApiErrorResponse;
|
|
1684
1975
|
};
|
|
1976
|
+
export type CollectionDeleteSaleError = CollectionDeleteSaleErrors[keyof CollectionDeleteSaleErrors];
|
|
1685
1977
|
export type CollectionDeleteSaleResponses = {
|
|
1686
1978
|
/**
|
|
1687
1979
|
* Sale deleted
|
|
@@ -1715,20 +2007,21 @@ export type CollectionUpdateSaleErrors = {
|
|
|
1715
2007
|
/**
|
|
1716
2008
|
* Invalid request
|
|
1717
2009
|
*/
|
|
1718
|
-
400:
|
|
2010
|
+
400: ApiErrorResponse;
|
|
1719
2011
|
/**
|
|
1720
2012
|
* Unauthorized
|
|
1721
2013
|
*/
|
|
1722
|
-
401:
|
|
2014
|
+
401: ApiErrorResponse;
|
|
1723
2015
|
/**
|
|
1724
2016
|
* Forbidden
|
|
1725
2017
|
*/
|
|
1726
|
-
403:
|
|
2018
|
+
403: ApiErrorResponse;
|
|
1727
2019
|
/**
|
|
1728
2020
|
* Not found
|
|
1729
2021
|
*/
|
|
1730
|
-
404:
|
|
2022
|
+
404: ApiErrorResponse;
|
|
1731
2023
|
};
|
|
2024
|
+
export type CollectionUpdateSaleError = CollectionUpdateSaleErrors[keyof CollectionUpdateSaleErrors];
|
|
1732
2025
|
export type CollectionUpdateSaleResponses = {
|
|
1733
2026
|
/**
|
|
1734
2027
|
* Sale updated
|
|
@@ -1761,20 +2054,21 @@ export type CollectionClaimSaleErrors = {
|
|
|
1761
2054
|
/**
|
|
1762
2055
|
* Invalid request
|
|
1763
2056
|
*/
|
|
1764
|
-
400:
|
|
2057
|
+
400: ApiErrorResponse;
|
|
1765
2058
|
/**
|
|
1766
2059
|
* Unauthorized
|
|
1767
2060
|
*/
|
|
1768
|
-
401:
|
|
2061
|
+
401: ApiErrorResponse;
|
|
1769
2062
|
/**
|
|
1770
2063
|
* Not found
|
|
1771
2064
|
*/
|
|
1772
|
-
404:
|
|
2065
|
+
404: ApiErrorResponse;
|
|
1773
2066
|
/**
|
|
1774
2067
|
* Internal server error
|
|
1775
2068
|
*/
|
|
1776
|
-
500:
|
|
2069
|
+
500: ApiErrorResponse;
|
|
1777
2070
|
};
|
|
2071
|
+
export type CollectionClaimSaleError = CollectionClaimSaleErrors[keyof CollectionClaimSaleErrors];
|
|
1778
2072
|
export type CollectionClaimSaleResponses = {
|
|
1779
2073
|
/**
|
|
1780
2074
|
* Claim transaction configuration
|
|
@@ -1804,16 +2098,17 @@ export type CollectionBidSaleErrors = {
|
|
|
1804
2098
|
/**
|
|
1805
2099
|
* Invalid request
|
|
1806
2100
|
*/
|
|
1807
|
-
400:
|
|
2101
|
+
400: ApiErrorResponse;
|
|
1808
2102
|
/**
|
|
1809
2103
|
* Unauthorized
|
|
1810
2104
|
*/
|
|
1811
|
-
401:
|
|
2105
|
+
401: ApiErrorResponse;
|
|
1812
2106
|
/**
|
|
1813
2107
|
* Not found
|
|
1814
2108
|
*/
|
|
1815
|
-
404:
|
|
2109
|
+
404: ApiErrorResponse;
|
|
1816
2110
|
};
|
|
2111
|
+
export type CollectionBidSaleError = CollectionBidSaleErrors[keyof CollectionBidSaleErrors];
|
|
1817
2112
|
export type CollectionBidSaleResponses = {
|
|
1818
2113
|
/**
|
|
1819
2114
|
* Bid transaction configuration
|
|
@@ -1841,20 +2136,21 @@ export type CollectionReclaimBidErrors = {
|
|
|
1841
2136
|
/**
|
|
1842
2137
|
* Invalid request
|
|
1843
2138
|
*/
|
|
1844
|
-
400:
|
|
2139
|
+
400: ApiErrorResponse;
|
|
1845
2140
|
/**
|
|
1846
2141
|
* Unauthorized
|
|
1847
2142
|
*/
|
|
1848
|
-
401:
|
|
2143
|
+
401: ApiErrorResponse;
|
|
1849
2144
|
/**
|
|
1850
2145
|
* Not found
|
|
1851
2146
|
*/
|
|
1852
|
-
404:
|
|
2147
|
+
404: ApiErrorResponse;
|
|
1853
2148
|
/**
|
|
1854
2149
|
* Internal server error
|
|
1855
2150
|
*/
|
|
1856
|
-
500:
|
|
2151
|
+
500: ApiErrorResponse;
|
|
1857
2152
|
};
|
|
2153
|
+
export type CollectionReclaimBidError = CollectionReclaimBidErrors[keyof CollectionReclaimBidErrors];
|
|
1858
2154
|
export type CollectionReclaimBidResponses = {
|
|
1859
2155
|
/**
|
|
1860
2156
|
* Reclaim transaction configuration
|
|
@@ -1881,24 +2177,25 @@ export type CollectionClaimAuctionEarningsErrors = {
|
|
|
1881
2177
|
/**
|
|
1882
2178
|
* Invalid request
|
|
1883
2179
|
*/
|
|
1884
|
-
400:
|
|
2180
|
+
400: ApiErrorResponse;
|
|
1885
2181
|
/**
|
|
1886
2182
|
* Unauthorized
|
|
1887
2183
|
*/
|
|
1888
|
-
401:
|
|
2184
|
+
401: ApiErrorResponse;
|
|
1889
2185
|
/**
|
|
1890
2186
|
* Not found
|
|
1891
2187
|
*/
|
|
1892
|
-
404:
|
|
2188
|
+
404: ApiErrorResponse;
|
|
1893
2189
|
/**
|
|
1894
2190
|
* Already claimed
|
|
1895
2191
|
*/
|
|
1896
|
-
409:
|
|
2192
|
+
409: ApiErrorResponse;
|
|
1897
2193
|
/**
|
|
1898
2194
|
* Internal server error
|
|
1899
2195
|
*/
|
|
1900
|
-
500:
|
|
2196
|
+
500: ApiErrorResponse;
|
|
1901
2197
|
};
|
|
2198
|
+
export type CollectionClaimAuctionEarningsError = CollectionClaimAuctionEarningsErrors[keyof CollectionClaimAuctionEarningsErrors];
|
|
1902
2199
|
export type CollectionClaimAuctionEarningsResponses = {
|
|
1903
2200
|
/**
|
|
1904
2201
|
* Earnings withdrawal transaction configuration
|
|
@@ -1924,12 +2221,13 @@ export type CollectionRankedAuctionStandingsErrors = {
|
|
|
1924
2221
|
/**
|
|
1925
2222
|
* Invalid request
|
|
1926
2223
|
*/
|
|
1927
|
-
400:
|
|
2224
|
+
400: ApiErrorResponse;
|
|
1928
2225
|
/**
|
|
1929
2226
|
* Not found
|
|
1930
2227
|
*/
|
|
1931
|
-
404:
|
|
2228
|
+
404: ApiErrorResponse;
|
|
1932
2229
|
};
|
|
2230
|
+
export type CollectionRankedAuctionStandingsError = CollectionRankedAuctionStandingsErrors[keyof CollectionRankedAuctionStandingsErrors];
|
|
1933
2231
|
export type CollectionRankedAuctionStandingsResponses = {
|
|
1934
2232
|
/**
|
|
1935
2233
|
* Ranked auction standings
|
|
@@ -1951,20 +2249,21 @@ export type CollectionFulfillEnglishAuctionErrors = {
|
|
|
1951
2249
|
/**
|
|
1952
2250
|
* Invalid request
|
|
1953
2251
|
*/
|
|
1954
|
-
400:
|
|
2252
|
+
400: ApiErrorResponse;
|
|
1955
2253
|
/**
|
|
1956
2254
|
* Unauthorized
|
|
1957
2255
|
*/
|
|
1958
|
-
401:
|
|
2256
|
+
401: ApiErrorResponse;
|
|
1959
2257
|
/**
|
|
1960
2258
|
* Not found
|
|
1961
2259
|
*/
|
|
1962
|
-
404:
|
|
2260
|
+
404: ApiErrorResponse;
|
|
1963
2261
|
/**
|
|
1964
2262
|
* Internal server error
|
|
1965
2263
|
*/
|
|
1966
|
-
500:
|
|
2264
|
+
500: ApiErrorResponse;
|
|
1967
2265
|
};
|
|
2266
|
+
export type CollectionFulfillEnglishAuctionError = CollectionFulfillEnglishAuctionErrors[keyof CollectionFulfillEnglishAuctionErrors];
|
|
1968
2267
|
export type CollectionFulfillEnglishAuctionResponses = {
|
|
1969
2268
|
/**
|
|
1970
2269
|
* Fulfill transaction configuration
|
|
@@ -1991,24 +2290,25 @@ export type CollectionCancelEnglishAuctionErrors = {
|
|
|
1991
2290
|
/**
|
|
1992
2291
|
* Invalid request
|
|
1993
2292
|
*/
|
|
1994
|
-
400:
|
|
2293
|
+
400: ApiErrorResponse;
|
|
1995
2294
|
/**
|
|
1996
2295
|
* Unauthorized
|
|
1997
2296
|
*/
|
|
1998
|
-
401:
|
|
2297
|
+
401: ApiErrorResponse;
|
|
1999
2298
|
/**
|
|
2000
2299
|
* Forbidden
|
|
2001
2300
|
*/
|
|
2002
|
-
403:
|
|
2301
|
+
403: ApiErrorResponse;
|
|
2003
2302
|
/**
|
|
2004
2303
|
* Not found
|
|
2005
2304
|
*/
|
|
2006
|
-
404:
|
|
2305
|
+
404: ApiErrorResponse;
|
|
2007
2306
|
/**
|
|
2008
2307
|
* Internal server error
|
|
2009
2308
|
*/
|
|
2010
|
-
500:
|
|
2309
|
+
500: ApiErrorResponse;
|
|
2011
2310
|
};
|
|
2311
|
+
export type CollectionCancelEnglishAuctionError = CollectionCancelEnglishAuctionErrors[keyof CollectionCancelEnglishAuctionErrors];
|
|
2012
2312
|
export type CollectionCancelEnglishAuctionResponses = {
|
|
2013
2313
|
/**
|
|
2014
2314
|
* Cancel transaction configuration
|
|
@@ -2034,12 +2334,13 @@ export type CollectionEnglishAuctionStandingErrors = {
|
|
|
2034
2334
|
/**
|
|
2035
2335
|
* Invalid request
|
|
2036
2336
|
*/
|
|
2037
|
-
400:
|
|
2337
|
+
400: ApiErrorResponse;
|
|
2038
2338
|
/**
|
|
2039
2339
|
* Not found
|
|
2040
2340
|
*/
|
|
2041
|
-
404:
|
|
2341
|
+
404: ApiErrorResponse;
|
|
2042
2342
|
};
|
|
2343
|
+
export type CollectionEnglishAuctionStandingError = CollectionEnglishAuctionStandingErrors[keyof CollectionEnglishAuctionStandingErrors];
|
|
2043
2344
|
export type CollectionEnglishAuctionStandingResponses = {
|
|
2044
2345
|
/**
|
|
2045
2346
|
* English auction standing
|
|
@@ -2060,12 +2361,13 @@ export type CollectionEnglishAuctionBidsErrors = {
|
|
|
2060
2361
|
/**
|
|
2061
2362
|
* Invalid request
|
|
2062
2363
|
*/
|
|
2063
|
-
400:
|
|
2364
|
+
400: ApiErrorResponse;
|
|
2064
2365
|
/**
|
|
2065
2366
|
* Not found
|
|
2066
2367
|
*/
|
|
2067
|
-
404:
|
|
2368
|
+
404: ApiErrorResponse;
|
|
2068
2369
|
};
|
|
2370
|
+
export type CollectionEnglishAuctionBidsError = CollectionEnglishAuctionBidsErrors[keyof CollectionEnglishAuctionBidsErrors];
|
|
2069
2371
|
export type CollectionEnglishAuctionBidsResponses = {
|
|
2070
2372
|
/**
|
|
2071
2373
|
* English auction bid history
|
|
@@ -2073,6 +2375,78 @@ export type CollectionEnglishAuctionBidsResponses = {
|
|
|
2073
2375
|
200: EnglishAuctionBidHistory;
|
|
2074
2376
|
};
|
|
2075
2377
|
export type CollectionEnglishAuctionBidsResponse = CollectionEnglishAuctionBidsResponses[keyof CollectionEnglishAuctionBidsResponses];
|
|
2378
|
+
export type CollectionDutchAuctionStandingData = {
|
|
2379
|
+
body?: never;
|
|
2380
|
+
path: {
|
|
2381
|
+
highlightId: string;
|
|
2382
|
+
saleId: string;
|
|
2383
|
+
};
|
|
2384
|
+
query?: never;
|
|
2385
|
+
url: "/collection/{highlightId}/sales/{saleId}/dutch";
|
|
2386
|
+
};
|
|
2387
|
+
export type CollectionDutchAuctionStandingErrors = {
|
|
2388
|
+
/**
|
|
2389
|
+
* Invalid request
|
|
2390
|
+
*/
|
|
2391
|
+
400: ApiErrorResponse;
|
|
2392
|
+
/**
|
|
2393
|
+
* Not found
|
|
2394
|
+
*/
|
|
2395
|
+
404: ApiErrorResponse;
|
|
2396
|
+
};
|
|
2397
|
+
export type CollectionDutchAuctionStandingError = CollectionDutchAuctionStandingErrors[keyof CollectionDutchAuctionStandingErrors];
|
|
2398
|
+
export type CollectionDutchAuctionStandingResponses = {
|
|
2399
|
+
/**
|
|
2400
|
+
* Dutch auction standing
|
|
2401
|
+
*/
|
|
2402
|
+
200: DutchAuctionStanding;
|
|
2403
|
+
};
|
|
2404
|
+
export type CollectionDutchAuctionStandingResponse = CollectionDutchAuctionStandingResponses[keyof CollectionDutchAuctionStandingResponses];
|
|
2405
|
+
export type CollectionClaimDutchRebateData = {
|
|
2406
|
+
body: {
|
|
2407
|
+
saleId: string;
|
|
2408
|
+
};
|
|
2409
|
+
path: {
|
|
2410
|
+
highlightId: string;
|
|
2411
|
+
};
|
|
2412
|
+
query?: never;
|
|
2413
|
+
url: "/collection/{highlightId}/sales/dutch/rebate";
|
|
2414
|
+
};
|
|
2415
|
+
export type CollectionClaimDutchRebateErrors = {
|
|
2416
|
+
/**
|
|
2417
|
+
* Invalid request
|
|
2418
|
+
*/
|
|
2419
|
+
400: ApiErrorResponse;
|
|
2420
|
+
/**
|
|
2421
|
+
* Unauthorized
|
|
2422
|
+
*/
|
|
2423
|
+
401: ApiErrorResponse;
|
|
2424
|
+
/**
|
|
2425
|
+
* Not found
|
|
2426
|
+
*/
|
|
2427
|
+
404: ApiErrorResponse;
|
|
2428
|
+
/**
|
|
2429
|
+
* No rebate owed
|
|
2430
|
+
*/
|
|
2431
|
+
409: ApiErrorResponse;
|
|
2432
|
+
/**
|
|
2433
|
+
* Internal server error
|
|
2434
|
+
*/
|
|
2435
|
+
500: ApiErrorResponse;
|
|
2436
|
+
};
|
|
2437
|
+
export type CollectionClaimDutchRebateError = CollectionClaimDutchRebateErrors[keyof CollectionClaimDutchRebateErrors];
|
|
2438
|
+
export type CollectionClaimDutchRebateResponses = {
|
|
2439
|
+
/**
|
|
2440
|
+
* Rebate transaction configuration
|
|
2441
|
+
*/
|
|
2442
|
+
200: {
|
|
2443
|
+
chainId: number;
|
|
2444
|
+
to: string | null;
|
|
2445
|
+
data: string;
|
|
2446
|
+
value: string;
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
export type CollectionClaimDutchRebateResponse = CollectionClaimDutchRebateResponses[keyof CollectionClaimDutchRebateResponses];
|
|
2076
2450
|
export type CollectionDeployData = {
|
|
2077
2451
|
body?: never;
|
|
2078
2452
|
path: {
|
|
@@ -2085,20 +2459,21 @@ export type CollectionDeployErrors = {
|
|
|
2085
2459
|
/**
|
|
2086
2460
|
* Invalid request
|
|
2087
2461
|
*/
|
|
2088
|
-
400:
|
|
2462
|
+
400: ApiErrorResponse;
|
|
2089
2463
|
/**
|
|
2090
2464
|
* Unauthorized
|
|
2091
2465
|
*/
|
|
2092
|
-
401:
|
|
2466
|
+
401: ApiErrorResponse;
|
|
2093
2467
|
/**
|
|
2094
2468
|
* Forbidden
|
|
2095
2469
|
*/
|
|
2096
|
-
403:
|
|
2470
|
+
403: ApiErrorResponse;
|
|
2097
2471
|
/**
|
|
2098
2472
|
* Not found
|
|
2099
2473
|
*/
|
|
2100
|
-
404:
|
|
2474
|
+
404: ApiErrorResponse;
|
|
2101
2475
|
};
|
|
2476
|
+
export type CollectionDeployError = CollectionDeployErrors[keyof CollectionDeployErrors];
|
|
2102
2477
|
export type CollectionDeployResponses = {
|
|
2103
2478
|
/**
|
|
2104
2479
|
* Deployment initiated
|
|
@@ -2136,16 +2511,17 @@ export type CollectionDeployStatusErrors = {
|
|
|
2136
2511
|
/**
|
|
2137
2512
|
* Unauthorized
|
|
2138
2513
|
*/
|
|
2139
|
-
401:
|
|
2514
|
+
401: ApiErrorResponse;
|
|
2140
2515
|
/**
|
|
2141
2516
|
* Forbidden
|
|
2142
2517
|
*/
|
|
2143
|
-
403:
|
|
2518
|
+
403: ApiErrorResponse;
|
|
2144
2519
|
/**
|
|
2145
2520
|
* Not found
|
|
2146
2521
|
*/
|
|
2147
|
-
404:
|
|
2522
|
+
404: ApiErrorResponse;
|
|
2148
2523
|
};
|
|
2524
|
+
export type CollectionDeployStatusError = CollectionDeployStatusErrors[keyof CollectionDeployStatusErrors];
|
|
2149
2525
|
export type CollectionDeployStatusResponses = {
|
|
2150
2526
|
/**
|
|
2151
2527
|
* Deployment status
|
|
@@ -2183,20 +2559,21 @@ export type CollectionDeployCancelErrors = {
|
|
|
2183
2559
|
/**
|
|
2184
2560
|
* Deployment cannot be cancelled from its current state
|
|
2185
2561
|
*/
|
|
2186
|
-
400:
|
|
2562
|
+
400: ApiErrorResponse;
|
|
2187
2563
|
/**
|
|
2188
2564
|
* Unauthorized
|
|
2189
2565
|
*/
|
|
2190
|
-
401:
|
|
2566
|
+
401: ApiErrorResponse;
|
|
2191
2567
|
/**
|
|
2192
2568
|
* Forbidden
|
|
2193
2569
|
*/
|
|
2194
|
-
403:
|
|
2570
|
+
403: ApiErrorResponse;
|
|
2195
2571
|
/**
|
|
2196
2572
|
* Not found
|
|
2197
2573
|
*/
|
|
2198
|
-
404:
|
|
2574
|
+
404: ApiErrorResponse;
|
|
2199
2575
|
};
|
|
2576
|
+
export type CollectionDeployCancelError = CollectionDeployCancelErrors[keyof CollectionDeployCancelErrors];
|
|
2200
2577
|
export type CollectionDeployCancelResponses = {
|
|
2201
2578
|
/**
|
|
2202
2579
|
* Deployment cancelled
|
|
@@ -2230,12 +2607,13 @@ export type TokenListErrors = {
|
|
|
2230
2607
|
/**
|
|
2231
2608
|
* Malformed attributes filter
|
|
2232
2609
|
*/
|
|
2233
|
-
400:
|
|
2610
|
+
400: ApiErrorResponse;
|
|
2234
2611
|
/**
|
|
2235
2612
|
* Collection not found or not public
|
|
2236
2613
|
*/
|
|
2237
|
-
404:
|
|
2614
|
+
404: ApiErrorResponse;
|
|
2238
2615
|
};
|
|
2616
|
+
export type TokenListError = TokenListErrors[keyof TokenListErrors];
|
|
2239
2617
|
export type TokenListResponses = {
|
|
2240
2618
|
/**
|
|
2241
2619
|
* List of tokens
|
|
@@ -2288,8 +2666,9 @@ export type TokenAttributeFacetsErrors = {
|
|
|
2288
2666
|
/**
|
|
2289
2667
|
* Collection not found or not public
|
|
2290
2668
|
*/
|
|
2291
|
-
404:
|
|
2669
|
+
404: ApiErrorResponse;
|
|
2292
2670
|
};
|
|
2671
|
+
export type TokenAttributeFacetsError = TokenAttributeFacetsErrors[keyof TokenAttributeFacetsErrors];
|
|
2293
2672
|
export type TokenAttributeFacetsResponses = {
|
|
2294
2673
|
/**
|
|
2295
2674
|
* Attribute facets
|
|
@@ -2312,8 +2691,9 @@ export type TokenGetErrors = {
|
|
|
2312
2691
|
/**
|
|
2313
2692
|
* Token or collection not found
|
|
2314
2693
|
*/
|
|
2315
|
-
404:
|
|
2694
|
+
404: ApiErrorResponse;
|
|
2316
2695
|
};
|
|
2696
|
+
export type TokenGetError = TokenGetErrors[keyof TokenGetErrors];
|
|
2317
2697
|
export type TokenGetResponses = {
|
|
2318
2698
|
/**
|
|
2319
2699
|
* Token details
|
|
@@ -2357,8 +2737,9 @@ export type TokenListOwnersErrors = {
|
|
|
2357
2737
|
/**
|
|
2358
2738
|
* Token or collection not found
|
|
2359
2739
|
*/
|
|
2360
|
-
404:
|
|
2740
|
+
404: ApiErrorResponse;
|
|
2361
2741
|
};
|
|
2742
|
+
export type TokenListOwnersError = TokenListOwnersErrors[keyof TokenListOwnersErrors];
|
|
2362
2743
|
export type TokenListOwnersResponses = {
|
|
2363
2744
|
/**
|
|
2364
2745
|
* Token owners
|
|
@@ -2366,6 +2747,32 @@ export type TokenListOwnersResponses = {
|
|
|
2366
2747
|
200: TokenOwnersResponse;
|
|
2367
2748
|
};
|
|
2368
2749
|
export type TokenListOwnersResponse = TokenListOwnersResponses[keyof TokenListOwnersResponses];
|
|
2750
|
+
export type TokenRedriveRevealsData = {
|
|
2751
|
+
body?: never;
|
|
2752
|
+
path: {
|
|
2753
|
+
highlightId: string;
|
|
2754
|
+
};
|
|
2755
|
+
query?: never;
|
|
2756
|
+
url: "/collection/{highlightId}/tokens/redrive-reveals";
|
|
2757
|
+
};
|
|
2758
|
+
export type TokenRedriveRevealsErrors = {
|
|
2759
|
+
/**
|
|
2760
|
+
* Authentication required
|
|
2761
|
+
*/
|
|
2762
|
+
401: ApiErrorResponse;
|
|
2763
|
+
/**
|
|
2764
|
+
* Collection not found
|
|
2765
|
+
*/
|
|
2766
|
+
404: ApiErrorResponse;
|
|
2767
|
+
};
|
|
2768
|
+
export type TokenRedriveRevealsError = TokenRedriveRevealsErrors[keyof TokenRedriveRevealsErrors];
|
|
2769
|
+
export type TokenRedriveRevealsResponses = {
|
|
2770
|
+
/**
|
|
2771
|
+
* Re-drive summary
|
|
2772
|
+
*/
|
|
2773
|
+
200: TokenRedriveSummary;
|
|
2774
|
+
};
|
|
2775
|
+
export type TokenRedriveRevealsResponse = TokenRedriveRevealsResponses[keyof TokenRedriveRevealsResponses];
|
|
2369
2776
|
export type ConfigChainsData = {
|
|
2370
2777
|
body?: never;
|
|
2371
2778
|
path?: never;
|
|
@@ -2396,6 +2803,19 @@ export type ConfigChainsResponses = {
|
|
|
2396
2803
|
};
|
|
2397
2804
|
};
|
|
2398
2805
|
export type ConfigChainsResponse = ConfigChainsResponses[keyof ConfigChainsResponses];
|
|
2806
|
+
export type ConfigMediaHostsData = {
|
|
2807
|
+
body?: never;
|
|
2808
|
+
path?: never;
|
|
2809
|
+
query?: never;
|
|
2810
|
+
url: "/config/media-hosts";
|
|
2811
|
+
};
|
|
2812
|
+
export type ConfigMediaHostsResponses = {
|
|
2813
|
+
/**
|
|
2814
|
+
* Media delivery hosts
|
|
2815
|
+
*/
|
|
2816
|
+
200: MediaHostsResponse;
|
|
2817
|
+
};
|
|
2818
|
+
export type ConfigMediaHostsResponse = ConfigMediaHostsResponses[keyof ConfigMediaHostsResponses];
|
|
2399
2819
|
export type ConfigSystemContractData = {
|
|
2400
2820
|
body?: never;
|
|
2401
2821
|
path?: never;
|
|
@@ -2409,12 +2829,13 @@ export type ConfigSystemContractErrors = {
|
|
|
2409
2829
|
/**
|
|
2410
2830
|
* Invalid request
|
|
2411
2831
|
*/
|
|
2412
|
-
400:
|
|
2832
|
+
400: ApiErrorResponse;
|
|
2413
2833
|
/**
|
|
2414
2834
|
* Configuration error
|
|
2415
2835
|
*/
|
|
2416
|
-
500:
|
|
2836
|
+
500: ApiErrorResponse;
|
|
2417
2837
|
};
|
|
2838
|
+
export type ConfigSystemContractError = ConfigSystemContractErrors[keyof ConfigSystemContractErrors];
|
|
2418
2839
|
export type ConfigSystemContractResponses = {
|
|
2419
2840
|
/**
|
|
2420
2841
|
* System contract address
|
|
@@ -2439,8 +2860,9 @@ export type ContractListErrors = {
|
|
|
2439
2860
|
/**
|
|
2440
2861
|
* Unauthorized
|
|
2441
2862
|
*/
|
|
2442
|
-
401:
|
|
2863
|
+
401: ApiErrorResponse;
|
|
2443
2864
|
};
|
|
2865
|
+
export type ContractListError = ContractListErrors[keyof ContractListErrors];
|
|
2444
2866
|
export type ContractListResponses = {
|
|
2445
2867
|
/**
|
|
2446
2868
|
* List of contracts
|
|
@@ -2456,6 +2878,7 @@ export type ContractListResponses = {
|
|
|
2456
2878
|
address: string | null;
|
|
2457
2879
|
symbol: string;
|
|
2458
2880
|
contractUri: string | null;
|
|
2881
|
+
contractMetadataMediaId: string | null;
|
|
2459
2882
|
status: "Draft" | "Deploying" | "Live";
|
|
2460
2883
|
createdAt: string;
|
|
2461
2884
|
updatedAt: string;
|
|
@@ -2479,12 +2902,13 @@ export type ContractGetErrors = {
|
|
|
2479
2902
|
/**
|
|
2480
2903
|
* Unauthorized
|
|
2481
2904
|
*/
|
|
2482
|
-
401:
|
|
2905
|
+
401: ApiErrorResponse;
|
|
2483
2906
|
/**
|
|
2484
2907
|
* Not found
|
|
2485
2908
|
*/
|
|
2486
|
-
404:
|
|
2909
|
+
404: ApiErrorResponse;
|
|
2487
2910
|
};
|
|
2911
|
+
export type ContractGetError = ContractGetErrors[keyof ContractGetErrors];
|
|
2488
2912
|
export type ContractGetResponses = {
|
|
2489
2913
|
/**
|
|
2490
2914
|
* Contract details
|
|
@@ -2499,6 +2923,7 @@ export type ContractGetResponses = {
|
|
|
2499
2923
|
address: string | null;
|
|
2500
2924
|
symbol: string;
|
|
2501
2925
|
contractUri: string | null;
|
|
2926
|
+
contractMetadataMediaId: string | null;
|
|
2502
2927
|
status: "Draft" | "Deploying" | "Live";
|
|
2503
2928
|
createdAt: string;
|
|
2504
2929
|
updatedAt: string;
|
|
@@ -2515,8 +2940,9 @@ export type GateListErrors = {
|
|
|
2515
2940
|
/**
|
|
2516
2941
|
* Unauthorized
|
|
2517
2942
|
*/
|
|
2518
|
-
401:
|
|
2943
|
+
401: ApiErrorResponse;
|
|
2519
2944
|
};
|
|
2945
|
+
export type GateListError = GateListErrors[keyof GateListErrors];
|
|
2520
2946
|
export type GateListResponses = {
|
|
2521
2947
|
/**
|
|
2522
2948
|
* List of gates
|
|
@@ -2594,12 +3020,13 @@ export type GateCreateErrors = {
|
|
|
2594
3020
|
/**
|
|
2595
3021
|
* Invalid request
|
|
2596
3022
|
*/
|
|
2597
|
-
400:
|
|
3023
|
+
400: ApiErrorResponse;
|
|
2598
3024
|
/**
|
|
2599
3025
|
* Unauthorized
|
|
2600
3026
|
*/
|
|
2601
|
-
401:
|
|
3027
|
+
401: ApiErrorResponse;
|
|
2602
3028
|
};
|
|
3029
|
+
export type GateCreateError = GateCreateErrors[keyof GateCreateErrors];
|
|
2603
3030
|
export type GateCreateResponses = {
|
|
2604
3031
|
/**
|
|
2605
3032
|
* Created gate
|
|
@@ -2633,16 +3060,17 @@ export type GateRemoveErrors = {
|
|
|
2633
3060
|
/**
|
|
2634
3061
|
* Unauthorized
|
|
2635
3062
|
*/
|
|
2636
|
-
401:
|
|
3063
|
+
401: ApiErrorResponse;
|
|
2637
3064
|
/**
|
|
2638
3065
|
* Forbidden
|
|
2639
3066
|
*/
|
|
2640
|
-
403:
|
|
3067
|
+
403: ApiErrorResponse;
|
|
2641
3068
|
/**
|
|
2642
3069
|
* Not found
|
|
2643
3070
|
*/
|
|
2644
|
-
404:
|
|
3071
|
+
404: ApiErrorResponse;
|
|
2645
3072
|
};
|
|
3073
|
+
export type GateRemoveError = GateRemoveErrors[keyof GateRemoveErrors];
|
|
2646
3074
|
export type GateRemoveResponses = {
|
|
2647
3075
|
/**
|
|
2648
3076
|
* Gate deleted
|
|
@@ -2664,16 +3092,17 @@ export type GateGetErrors = {
|
|
|
2664
3092
|
/**
|
|
2665
3093
|
* Unauthorized
|
|
2666
3094
|
*/
|
|
2667
|
-
401:
|
|
3095
|
+
401: ApiErrorResponse;
|
|
2668
3096
|
/**
|
|
2669
3097
|
* Forbidden
|
|
2670
3098
|
*/
|
|
2671
|
-
403:
|
|
3099
|
+
403: ApiErrorResponse;
|
|
2672
3100
|
/**
|
|
2673
3101
|
* Not found
|
|
2674
3102
|
*/
|
|
2675
|
-
404:
|
|
3103
|
+
404: ApiErrorResponse;
|
|
2676
3104
|
};
|
|
3105
|
+
export type GateGetError = GateGetErrors[keyof GateGetErrors];
|
|
2677
3106
|
export type GateGetResponses = {
|
|
2678
3107
|
/**
|
|
2679
3108
|
* Gate details
|
|
@@ -2753,20 +3182,21 @@ export type GateUpdateErrors = {
|
|
|
2753
3182
|
/**
|
|
2754
3183
|
* Invalid request
|
|
2755
3184
|
*/
|
|
2756
|
-
400:
|
|
3185
|
+
400: ApiErrorResponse;
|
|
2757
3186
|
/**
|
|
2758
3187
|
* Unauthorized
|
|
2759
3188
|
*/
|
|
2760
|
-
401:
|
|
3189
|
+
401: ApiErrorResponse;
|
|
2761
3190
|
/**
|
|
2762
3191
|
* Forbidden
|
|
2763
3192
|
*/
|
|
2764
|
-
403:
|
|
3193
|
+
403: ApiErrorResponse;
|
|
2765
3194
|
/**
|
|
2766
3195
|
* Not found
|
|
2767
3196
|
*/
|
|
2768
|
-
404:
|
|
3197
|
+
404: ApiErrorResponse;
|
|
2769
3198
|
};
|
|
3199
|
+
export type GateUpdateError = GateUpdateErrors[keyof GateUpdateErrors];
|
|
2770
3200
|
export type GateUpdateResponses = {
|
|
2771
3201
|
/**
|
|
2772
3202
|
* Updated gate
|
|
@@ -2801,20 +3231,21 @@ export type GatePreviewCollectionErrors = {
|
|
|
2801
3231
|
/**
|
|
2802
3232
|
* Unsupported chain
|
|
2803
3233
|
*/
|
|
2804
|
-
400:
|
|
3234
|
+
400: ApiErrorResponse;
|
|
2805
3235
|
/**
|
|
2806
3236
|
* Unauthorized
|
|
2807
3237
|
*/
|
|
2808
|
-
401:
|
|
3238
|
+
401: ApiErrorResponse;
|
|
2809
3239
|
/**
|
|
2810
3240
|
* No contract found at this address
|
|
2811
3241
|
*/
|
|
2812
|
-
404:
|
|
3242
|
+
404: ApiErrorResponse;
|
|
2813
3243
|
/**
|
|
2814
3244
|
* NFT data provider not configured
|
|
2815
3245
|
*/
|
|
2816
|
-
500:
|
|
3246
|
+
500: ApiErrorResponse;
|
|
2817
3247
|
};
|
|
3248
|
+
export type GatePreviewCollectionError = GatePreviewCollectionErrors[keyof GatePreviewCollectionErrors];
|
|
2818
3249
|
export type GatePreviewCollectionResponses = {
|
|
2819
3250
|
/**
|
|
2820
3251
|
* Collection preview
|
|
@@ -2835,16 +3266,17 @@ export type GatePreviewAttributesErrors = {
|
|
|
2835
3266
|
/**
|
|
2836
3267
|
* Unsupported chain
|
|
2837
3268
|
*/
|
|
2838
|
-
400:
|
|
3269
|
+
400: ApiErrorResponse;
|
|
2839
3270
|
/**
|
|
2840
3271
|
* Unauthorized
|
|
2841
3272
|
*/
|
|
2842
|
-
401:
|
|
3273
|
+
401: ApiErrorResponse;
|
|
2843
3274
|
/**
|
|
2844
3275
|
* NFT data provider not configured
|
|
2845
3276
|
*/
|
|
2846
|
-
500:
|
|
3277
|
+
500: ApiErrorResponse;
|
|
2847
3278
|
};
|
|
3279
|
+
export type GatePreviewAttributesError = GatePreviewAttributesErrors[keyof GatePreviewAttributesErrors];
|
|
2848
3280
|
export type GatePreviewAttributesResponses = {
|
|
2849
3281
|
/**
|
|
2850
3282
|
* Attribute facets
|
|
@@ -2868,16 +3300,17 @@ export type GatePreviewTokensErrors = {
|
|
|
2868
3300
|
/**
|
|
2869
3301
|
* Unsupported chain
|
|
2870
3302
|
*/
|
|
2871
|
-
400:
|
|
3303
|
+
400: ApiErrorResponse;
|
|
2872
3304
|
/**
|
|
2873
3305
|
* Unauthorized
|
|
2874
3306
|
*/
|
|
2875
|
-
401:
|
|
3307
|
+
401: ApiErrorResponse;
|
|
2876
3308
|
/**
|
|
2877
3309
|
* NFT data provider not configured
|
|
2878
3310
|
*/
|
|
2879
|
-
500:
|
|
3311
|
+
500: ApiErrorResponse;
|
|
2880
3312
|
};
|
|
3313
|
+
export type GatePreviewTokensError = GatePreviewTokensErrors[keyof GatePreviewTokensErrors];
|
|
2881
3314
|
export type GatePreviewTokensResponses = {
|
|
2882
3315
|
/**
|
|
2883
3316
|
* Token page
|
|
@@ -2899,20 +3332,21 @@ export type GatePreviewTokenErrors = {
|
|
|
2899
3332
|
/**
|
|
2900
3333
|
* Unsupported chain
|
|
2901
3334
|
*/
|
|
2902
|
-
400:
|
|
3335
|
+
400: ApiErrorResponse;
|
|
2903
3336
|
/**
|
|
2904
3337
|
* Unauthorized
|
|
2905
3338
|
*/
|
|
2906
|
-
401:
|
|
3339
|
+
401: ApiErrorResponse;
|
|
2907
3340
|
/**
|
|
2908
3341
|
* Token not found
|
|
2909
3342
|
*/
|
|
2910
|
-
404:
|
|
3343
|
+
404: ApiErrorResponse;
|
|
2911
3344
|
/**
|
|
2912
3345
|
* NFT data provider not configured
|
|
2913
3346
|
*/
|
|
2914
|
-
500:
|
|
3347
|
+
500: ApiErrorResponse;
|
|
2915
3348
|
};
|
|
3349
|
+
export type GatePreviewTokenError = GatePreviewTokenErrors[keyof GatePreviewTokenErrors];
|
|
2916
3350
|
export type GatePreviewTokenResponses = {
|
|
2917
3351
|
/**
|
|
2918
3352
|
* Token preview
|
|
@@ -2938,12 +3372,13 @@ export type GatePreviewCurrencyErrors = {
|
|
|
2938
3372
|
/**
|
|
2939
3373
|
* Unauthorized
|
|
2940
3374
|
*/
|
|
2941
|
-
401:
|
|
3375
|
+
401: ApiErrorResponse;
|
|
2942
3376
|
/**
|
|
2943
3377
|
* Address is not a readable ERC-20
|
|
2944
3378
|
*/
|
|
2945
|
-
404:
|
|
3379
|
+
404: ApiErrorResponse;
|
|
2946
3380
|
};
|
|
3381
|
+
export type GatePreviewCurrencyError = GatePreviewCurrencyErrors[keyof GatePreviewCurrencyErrors];
|
|
2947
3382
|
export type GatePreviewCurrencyResponses = {
|
|
2948
3383
|
/**
|
|
2949
3384
|
* Currency preview
|
|
@@ -2963,16 +3398,17 @@ export type GatePreviewFarcasterErrors = {
|
|
|
2963
3398
|
/**
|
|
2964
3399
|
* Unauthorized
|
|
2965
3400
|
*/
|
|
2966
|
-
401:
|
|
3401
|
+
401: ApiErrorResponse;
|
|
2967
3402
|
/**
|
|
2968
3403
|
* No Farcaster user found
|
|
2969
3404
|
*/
|
|
2970
|
-
404:
|
|
3405
|
+
404: ApiErrorResponse;
|
|
2971
3406
|
/**
|
|
2972
3407
|
* Farcaster provider not configured
|
|
2973
3408
|
*/
|
|
2974
|
-
500:
|
|
3409
|
+
500: ApiErrorResponse;
|
|
2975
3410
|
};
|
|
3411
|
+
export type GatePreviewFarcasterError = GatePreviewFarcasterErrors[keyof GatePreviewFarcasterErrors];
|
|
2976
3412
|
export type GatePreviewFarcasterResponses = {
|
|
2977
3413
|
/**
|
|
2978
3414
|
* Farcaster user
|
|
@@ -2988,7 +3424,21 @@ export type PostIndexerChainsByChainIdActivateData = {
|
|
|
2988
3424
|
query?: never;
|
|
2989
3425
|
url: "/indexer/chains/{chainId}/activate";
|
|
2990
3426
|
};
|
|
3427
|
+
export type PostIndexerChainsByChainIdActivateErrors = {
|
|
3428
|
+
/**
|
|
3429
|
+
* Unauthorized
|
|
3430
|
+
*/
|
|
3431
|
+
401: ApiErrorResponse;
|
|
3432
|
+
/**
|
|
3433
|
+
* Chain not found or disabled
|
|
3434
|
+
*/
|
|
3435
|
+
404: ApiErrorResponse;
|
|
3436
|
+
};
|
|
3437
|
+
export type PostIndexerChainsByChainIdActivateError = PostIndexerChainsByChainIdActivateErrors[keyof PostIndexerChainsByChainIdActivateErrors];
|
|
2991
3438
|
export type PostIndexerChainsByChainIdActivateResponses = {
|
|
3439
|
+
/**
|
|
3440
|
+
* Indexer activated
|
|
3441
|
+
*/
|
|
2992
3442
|
200: unknown;
|
|
2993
3443
|
};
|
|
2994
3444
|
export type PostIndexerChainsByChainIdResetData = {
|
|
@@ -3001,7 +3451,17 @@ export type PostIndexerChainsByChainIdResetData = {
|
|
|
3001
3451
|
query?: never;
|
|
3002
3452
|
url: "/indexer/chains/{chainId}/reset";
|
|
3003
3453
|
};
|
|
3454
|
+
export type PostIndexerChainsByChainIdResetErrors = {
|
|
3455
|
+
/**
|
|
3456
|
+
* Unauthorized
|
|
3457
|
+
*/
|
|
3458
|
+
401: ApiErrorResponse;
|
|
3459
|
+
};
|
|
3460
|
+
export type PostIndexerChainsByChainIdResetError = PostIndexerChainsByChainIdResetErrors[keyof PostIndexerChainsByChainIdResetErrors];
|
|
3004
3461
|
export type PostIndexerChainsByChainIdResetResponses = {
|
|
3462
|
+
/**
|
|
3463
|
+
* Indexer cursor reset
|
|
3464
|
+
*/
|
|
3005
3465
|
200: unknown;
|
|
3006
3466
|
};
|
|
3007
3467
|
export type PostIndexerChainsByChainIdPollData = {
|
|
@@ -3012,7 +3472,21 @@ export type PostIndexerChainsByChainIdPollData = {
|
|
|
3012
3472
|
query?: never;
|
|
3013
3473
|
url: "/indexer/chains/{chainId}/poll";
|
|
3014
3474
|
};
|
|
3475
|
+
export type PostIndexerChainsByChainIdPollErrors = {
|
|
3476
|
+
/**
|
|
3477
|
+
* Unauthorized
|
|
3478
|
+
*/
|
|
3479
|
+
401: ApiErrorResponse;
|
|
3480
|
+
/**
|
|
3481
|
+
* Poll failed
|
|
3482
|
+
*/
|
|
3483
|
+
500: ApiErrorResponse;
|
|
3484
|
+
};
|
|
3485
|
+
export type PostIndexerChainsByChainIdPollError = PostIndexerChainsByChainIdPollErrors[keyof PostIndexerChainsByChainIdPollErrors];
|
|
3015
3486
|
export type PostIndexerChainsByChainIdPollResponses = {
|
|
3487
|
+
/**
|
|
3488
|
+
* Poll completed
|
|
3489
|
+
*/
|
|
3016
3490
|
200: unknown;
|
|
3017
3491
|
};
|
|
3018
3492
|
export type MechanicListData = {
|
|
@@ -3020,7 +3494,7 @@ export type MechanicListData = {
|
|
|
3020
3494
|
path?: never;
|
|
3021
3495
|
query?: {
|
|
3022
3496
|
builtIn?: boolean | string;
|
|
3023
|
-
type?: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "
|
|
3497
|
+
type?: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "CUSTOM";
|
|
3024
3498
|
};
|
|
3025
3499
|
url: "/mechanic";
|
|
3026
3500
|
};
|
|
@@ -3032,7 +3506,7 @@ export type MechanicListResponses = {
|
|
|
3032
3506
|
id: string;
|
|
3033
3507
|
slug: string;
|
|
3034
3508
|
name: string;
|
|
3035
|
-
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "
|
|
3509
|
+
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "CUSTOM";
|
|
3036
3510
|
description: string | null;
|
|
3037
3511
|
configSchema: unknown | null;
|
|
3038
3512
|
encodingAbi: unknown | null;
|
|
@@ -3064,12 +3538,13 @@ export type MechanicCreateErrors = {
|
|
|
3064
3538
|
/**
|
|
3065
3539
|
* Invalid request
|
|
3066
3540
|
*/
|
|
3067
|
-
400:
|
|
3541
|
+
400: ApiErrorResponse;
|
|
3068
3542
|
/**
|
|
3069
3543
|
* Unauthorized
|
|
3070
3544
|
*/
|
|
3071
|
-
401:
|
|
3545
|
+
401: ApiErrorResponse;
|
|
3072
3546
|
};
|
|
3547
|
+
export type MechanicCreateError = MechanicCreateErrors[keyof MechanicCreateErrors];
|
|
3073
3548
|
export type MechanicCreateResponses = {
|
|
3074
3549
|
/**
|
|
3075
3550
|
* Created mechanic
|
|
@@ -3078,7 +3553,7 @@ export type MechanicCreateResponses = {
|
|
|
3078
3553
|
id: string;
|
|
3079
3554
|
slug: string;
|
|
3080
3555
|
name: string;
|
|
3081
|
-
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "
|
|
3556
|
+
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "CUSTOM";
|
|
3082
3557
|
description: string | null;
|
|
3083
3558
|
configSchema: unknown | null;
|
|
3084
3559
|
encodingAbi: unknown | null;
|
|
@@ -3106,8 +3581,9 @@ export type MechanicGetErrors = {
|
|
|
3106
3581
|
/**
|
|
3107
3582
|
* Not found
|
|
3108
3583
|
*/
|
|
3109
|
-
404:
|
|
3584
|
+
404: ApiErrorResponse;
|
|
3110
3585
|
};
|
|
3586
|
+
export type MechanicGetError = MechanicGetErrors[keyof MechanicGetErrors];
|
|
3111
3587
|
export type MechanicGetResponses = {
|
|
3112
3588
|
/**
|
|
3113
3589
|
* Mechanic details
|
|
@@ -3116,7 +3592,7 @@ export type MechanicGetResponses = {
|
|
|
3116
3592
|
id: string;
|
|
3117
3593
|
slug: string;
|
|
3118
3594
|
name: string;
|
|
3119
|
-
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "
|
|
3595
|
+
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "CUSTOM";
|
|
3120
3596
|
description: string | null;
|
|
3121
3597
|
configSchema: unknown | null;
|
|
3122
3598
|
encodingAbi: unknown | null;
|
|
@@ -3149,20 +3625,21 @@ export type MechanicUpdateErrors = {
|
|
|
3149
3625
|
/**
|
|
3150
3626
|
* Invalid request
|
|
3151
3627
|
*/
|
|
3152
|
-
400:
|
|
3628
|
+
400: ApiErrorResponse;
|
|
3153
3629
|
/**
|
|
3154
3630
|
* Unauthorized
|
|
3155
3631
|
*/
|
|
3156
|
-
401:
|
|
3632
|
+
401: ApiErrorResponse;
|
|
3157
3633
|
/**
|
|
3158
3634
|
* Forbidden
|
|
3159
3635
|
*/
|
|
3160
|
-
403:
|
|
3636
|
+
403: ApiErrorResponse;
|
|
3161
3637
|
/**
|
|
3162
3638
|
* Not found
|
|
3163
3639
|
*/
|
|
3164
|
-
404:
|
|
3640
|
+
404: ApiErrorResponse;
|
|
3165
3641
|
};
|
|
3642
|
+
export type MechanicUpdateError = MechanicUpdateErrors[keyof MechanicUpdateErrors];
|
|
3166
3643
|
export type MechanicUpdateResponses = {
|
|
3167
3644
|
/**
|
|
3168
3645
|
* Updated mechanic
|
|
@@ -3171,7 +3648,7 @@ export type MechanicUpdateResponses = {
|
|
|
3171
3648
|
id: string;
|
|
3172
3649
|
slug: string;
|
|
3173
3650
|
name: string;
|
|
3174
|
-
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "
|
|
3651
|
+
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "CUSTOM";
|
|
3175
3652
|
description: string | null;
|
|
3176
3653
|
configSchema: unknown | null;
|
|
3177
3654
|
encodingAbi: unknown | null;
|
|
@@ -3201,20 +3678,21 @@ export type MechanicRemoveDeploymentErrors = {
|
|
|
3201
3678
|
/**
|
|
3202
3679
|
* Invalid request
|
|
3203
3680
|
*/
|
|
3204
|
-
400:
|
|
3681
|
+
400: ApiErrorResponse;
|
|
3205
3682
|
/**
|
|
3206
3683
|
* Unauthorized
|
|
3207
3684
|
*/
|
|
3208
|
-
401:
|
|
3685
|
+
401: ApiErrorResponse;
|
|
3209
3686
|
/**
|
|
3210
3687
|
* Forbidden
|
|
3211
3688
|
*/
|
|
3212
|
-
403:
|
|
3689
|
+
403: ApiErrorResponse;
|
|
3213
3690
|
/**
|
|
3214
3691
|
* Not found
|
|
3215
3692
|
*/
|
|
3216
|
-
404:
|
|
3693
|
+
404: ApiErrorResponse;
|
|
3217
3694
|
};
|
|
3695
|
+
export type MechanicRemoveDeploymentError = MechanicRemoveDeploymentErrors[keyof MechanicRemoveDeploymentErrors];
|
|
3218
3696
|
export type MechanicRemoveDeploymentResponses = {
|
|
3219
3697
|
/**
|
|
3220
3698
|
* Updated mechanic without the removed deployment
|
|
@@ -3223,7 +3701,7 @@ export type MechanicRemoveDeploymentResponses = {
|
|
|
3223
3701
|
id: string;
|
|
3224
3702
|
slug: string;
|
|
3225
3703
|
name: string;
|
|
3226
|
-
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "
|
|
3704
|
+
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "CUSTOM";
|
|
3227
3705
|
description: string | null;
|
|
3228
3706
|
configSchema: unknown | null;
|
|
3229
3707
|
encodingAbi: unknown | null;
|
|
@@ -3254,20 +3732,21 @@ export type MechanicAddDeploymentErrors = {
|
|
|
3254
3732
|
/**
|
|
3255
3733
|
* Invalid request
|
|
3256
3734
|
*/
|
|
3257
|
-
400:
|
|
3735
|
+
400: ApiErrorResponse;
|
|
3258
3736
|
/**
|
|
3259
3737
|
* Unauthorized
|
|
3260
3738
|
*/
|
|
3261
|
-
401:
|
|
3739
|
+
401: ApiErrorResponse;
|
|
3262
3740
|
/**
|
|
3263
3741
|
* Forbidden
|
|
3264
3742
|
*/
|
|
3265
|
-
403:
|
|
3743
|
+
403: ApiErrorResponse;
|
|
3266
3744
|
/**
|
|
3267
3745
|
* Not found
|
|
3268
3746
|
*/
|
|
3269
|
-
404:
|
|
3747
|
+
404: ApiErrorResponse;
|
|
3270
3748
|
};
|
|
3749
|
+
export type MechanicAddDeploymentError = MechanicAddDeploymentErrors[keyof MechanicAddDeploymentErrors];
|
|
3271
3750
|
export type MechanicAddDeploymentResponses = {
|
|
3272
3751
|
/**
|
|
3273
3752
|
* Updated mechanic with new deployment
|
|
@@ -3276,7 +3755,7 @@ export type MechanicAddDeploymentResponses = {
|
|
|
3276
3755
|
id: string;
|
|
3277
3756
|
slug: string;
|
|
3278
3757
|
name: string;
|
|
3279
|
-
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "
|
|
3758
|
+
type: "SEED_BASED_MINT" | "DISCRETE_DUTCH_AUCTION" | "RANKED_AUCTION" | "CUSTOM";
|
|
3280
3759
|
description: string | null;
|
|
3281
3760
|
configSchema: unknown | null;
|
|
3282
3761
|
encodingAbi: unknown | null;
|
|
@@ -3292,117 +3771,52 @@ export type MechanicAddDeploymentResponses = {
|
|
|
3292
3771
|
};
|
|
3293
3772
|
};
|
|
3294
3773
|
export type MechanicAddDeploymentResponse = MechanicAddDeploymentResponses[keyof MechanicAddDeploymentResponses];
|
|
3295
|
-
export type
|
|
3296
|
-
body: {
|
|
3297
|
-
kind: MediaKind;
|
|
3298
|
-
scope?: MediaScope;
|
|
3299
|
-
fileName: string;
|
|
3300
|
-
mimeType: string;
|
|
3301
|
-
fileSize: number;
|
|
3302
|
-
};
|
|
3303
|
-
path?: never;
|
|
3304
|
-
query?: never;
|
|
3305
|
-
url: "/media/upload-session";
|
|
3306
|
-
};
|
|
3307
|
-
export type MediaCreateUploadSessionErrors = {
|
|
3308
|
-
/**
|
|
3309
|
-
* Invalid request
|
|
3310
|
-
*/
|
|
3311
|
-
400: unknown;
|
|
3312
|
-
/**
|
|
3313
|
-
* Unauthorized
|
|
3314
|
-
*/
|
|
3315
|
-
401: unknown;
|
|
3316
|
-
/**
|
|
3317
|
-
* Forbidden
|
|
3318
|
-
*/
|
|
3319
|
-
403: unknown;
|
|
3320
|
-
/**
|
|
3321
|
-
* Storage unavailable
|
|
3322
|
-
*/
|
|
3323
|
-
503: unknown;
|
|
3324
|
-
};
|
|
3325
|
-
export type MediaCreateUploadSessionResponses = {
|
|
3326
|
-
/**
|
|
3327
|
-
* Upload session
|
|
3328
|
-
*/
|
|
3329
|
-
200: MediaUploadSession;
|
|
3330
|
-
};
|
|
3331
|
-
export type MediaCreateUploadSessionResponse = MediaCreateUploadSessionResponses[keyof MediaCreateUploadSessionResponses];
|
|
3332
|
-
export type MediaUploadData = {
|
|
3774
|
+
export type MediaFinalizeUploadData = {
|
|
3333
3775
|
body?: never;
|
|
3334
3776
|
path: {
|
|
3335
3777
|
mediaId: string;
|
|
3336
3778
|
};
|
|
3337
3779
|
query?: never;
|
|
3338
|
-
url: "/media/{mediaId}/
|
|
3780
|
+
url: "/media/{mediaId}/finalize";
|
|
3339
3781
|
};
|
|
3340
|
-
export type
|
|
3782
|
+
export type MediaFinalizeUploadErrors = {
|
|
3341
3783
|
/**
|
|
3342
3784
|
* Invalid request
|
|
3343
3785
|
*/
|
|
3344
|
-
400:
|
|
3786
|
+
400: ApiErrorResponse;
|
|
3345
3787
|
/**
|
|
3346
3788
|
* Unauthorized
|
|
3347
3789
|
*/
|
|
3348
|
-
401:
|
|
3790
|
+
401: ApiErrorResponse;
|
|
3349
3791
|
/**
|
|
3350
3792
|
* Forbidden
|
|
3351
3793
|
*/
|
|
3352
|
-
403:
|
|
3353
|
-
/**
|
|
3354
|
-
* Not found
|
|
3355
|
-
*/
|
|
3356
|
-
404: unknown;
|
|
3794
|
+
403: ApiErrorResponse;
|
|
3357
3795
|
/**
|
|
3358
|
-
*
|
|
3359
|
-
*/
|
|
3360
|
-
503: unknown;
|
|
3361
|
-
};
|
|
3362
|
-
export type MediaUploadResponses = {
|
|
3363
|
-
/**
|
|
3364
|
-
* Upload accepted and processed
|
|
3365
|
-
*/
|
|
3366
|
-
200: MediaAsset;
|
|
3367
|
-
};
|
|
3368
|
-
export type MediaUploadResponse = MediaUploadResponses[keyof MediaUploadResponses];
|
|
3369
|
-
export type MediaProcessData = {
|
|
3370
|
-
body?: never;
|
|
3371
|
-
path: {
|
|
3372
|
-
mediaId: string;
|
|
3373
|
-
};
|
|
3374
|
-
query?: never;
|
|
3375
|
-
url: "/media/{mediaId}/process";
|
|
3376
|
-
};
|
|
3377
|
-
export type MediaProcessErrors = {
|
|
3378
|
-
/**
|
|
3379
|
-
* Invalid request
|
|
3380
|
-
*/
|
|
3381
|
-
400: unknown;
|
|
3382
|
-
/**
|
|
3383
|
-
* Unauthorized
|
|
3796
|
+
* Media or uploaded object not found
|
|
3384
3797
|
*/
|
|
3385
|
-
|
|
3798
|
+
404: ApiErrorResponse;
|
|
3386
3799
|
/**
|
|
3387
|
-
*
|
|
3800
|
+
* Uploaded object does not match its session
|
|
3388
3801
|
*/
|
|
3389
|
-
|
|
3802
|
+
409: ApiErrorResponse;
|
|
3390
3803
|
/**
|
|
3391
|
-
*
|
|
3804
|
+
* Unexpected storage reference
|
|
3392
3805
|
*/
|
|
3393
|
-
|
|
3806
|
+
500: ApiErrorResponse;
|
|
3394
3807
|
/**
|
|
3395
3808
|
* Storage unavailable
|
|
3396
3809
|
*/
|
|
3397
|
-
503:
|
|
3810
|
+
503: ApiErrorResponse;
|
|
3398
3811
|
};
|
|
3399
|
-
export type
|
|
3812
|
+
export type MediaFinalizeUploadError = MediaFinalizeUploadErrors[keyof MediaFinalizeUploadErrors];
|
|
3813
|
+
export type MediaFinalizeUploadResponses = {
|
|
3400
3814
|
/**
|
|
3401
|
-
*
|
|
3815
|
+
* Finalized media asset
|
|
3402
3816
|
*/
|
|
3403
3817
|
200: MediaAsset;
|
|
3404
3818
|
};
|
|
3405
|
-
export type
|
|
3819
|
+
export type MediaFinalizeUploadResponse = MediaFinalizeUploadResponses[keyof MediaFinalizeUploadResponses];
|
|
3406
3820
|
export type MediaListChildrenData = {
|
|
3407
3821
|
body?: never;
|
|
3408
3822
|
path: {
|
|
@@ -3418,20 +3832,21 @@ export type MediaListChildrenErrors = {
|
|
|
3418
3832
|
/**
|
|
3419
3833
|
* Not a Directory
|
|
3420
3834
|
*/
|
|
3421
|
-
400:
|
|
3835
|
+
400: ApiErrorResponse;
|
|
3422
3836
|
/**
|
|
3423
3837
|
* Unauthorized
|
|
3424
3838
|
*/
|
|
3425
|
-
401:
|
|
3839
|
+
401: ApiErrorResponse;
|
|
3426
3840
|
/**
|
|
3427
3841
|
* Forbidden
|
|
3428
3842
|
*/
|
|
3429
|
-
403:
|
|
3843
|
+
403: ApiErrorResponse;
|
|
3430
3844
|
/**
|
|
3431
3845
|
* Not found
|
|
3432
3846
|
*/
|
|
3433
|
-
404:
|
|
3847
|
+
404: ApiErrorResponse;
|
|
3434
3848
|
};
|
|
3849
|
+
export type MediaListChildrenError = MediaListChildrenErrors[keyof MediaListChildrenErrors];
|
|
3435
3850
|
export type MediaListChildrenResponses = {
|
|
3436
3851
|
/**
|
|
3437
3852
|
* Children page
|
|
@@ -3451,20 +3866,21 @@ export type MediaDeleteErrors = {
|
|
|
3451
3866
|
/**
|
|
3452
3867
|
* Unauthorized
|
|
3453
3868
|
*/
|
|
3454
|
-
401:
|
|
3869
|
+
401: ApiErrorResponse;
|
|
3455
3870
|
/**
|
|
3456
3871
|
* Forbidden
|
|
3457
3872
|
*/
|
|
3458
|
-
403:
|
|
3873
|
+
403: ApiErrorResponse;
|
|
3459
3874
|
/**
|
|
3460
3875
|
* Not found
|
|
3461
3876
|
*/
|
|
3462
|
-
404:
|
|
3877
|
+
404: ApiErrorResponse;
|
|
3463
3878
|
/**
|
|
3464
|
-
*
|
|
3879
|
+
* Media is in use and cannot be deleted
|
|
3465
3880
|
*/
|
|
3466
|
-
409:
|
|
3881
|
+
409: ApiErrorResponse;
|
|
3467
3882
|
};
|
|
3883
|
+
export type MediaDeleteError = MediaDeleteErrors[keyof MediaDeleteErrors];
|
|
3468
3884
|
export type MediaDeleteResponses = {
|
|
3469
3885
|
/**
|
|
3470
3886
|
* Deleted
|
|
@@ -3484,20 +3900,21 @@ export type MediaGetErrors = {
|
|
|
3484
3900
|
/**
|
|
3485
3901
|
* Invalid request
|
|
3486
3902
|
*/
|
|
3487
|
-
400:
|
|
3903
|
+
400: ApiErrorResponse;
|
|
3488
3904
|
/**
|
|
3489
3905
|
* Unauthorized
|
|
3490
3906
|
*/
|
|
3491
|
-
401:
|
|
3907
|
+
401: ApiErrorResponse;
|
|
3492
3908
|
/**
|
|
3493
3909
|
* Forbidden
|
|
3494
3910
|
*/
|
|
3495
|
-
403:
|
|
3911
|
+
403: ApiErrorResponse;
|
|
3496
3912
|
/**
|
|
3497
3913
|
* Not found
|
|
3498
3914
|
*/
|
|
3499
|
-
404:
|
|
3915
|
+
404: ApiErrorResponse;
|
|
3500
3916
|
};
|
|
3917
|
+
export type MediaGetError = MediaGetErrors[keyof MediaGetErrors];
|
|
3501
3918
|
export type MediaGetResponses = {
|
|
3502
3919
|
/**
|
|
3503
3920
|
* Media asset
|
|
@@ -3517,24 +3934,29 @@ export type MediaPublishErrors = {
|
|
|
3517
3934
|
/**
|
|
3518
3935
|
* Invalid request
|
|
3519
3936
|
*/
|
|
3520
|
-
400:
|
|
3937
|
+
400: ApiErrorResponse;
|
|
3521
3938
|
/**
|
|
3522
3939
|
* Unauthorized
|
|
3523
3940
|
*/
|
|
3524
|
-
401:
|
|
3941
|
+
401: ApiErrorResponse;
|
|
3525
3942
|
/**
|
|
3526
3943
|
* Forbidden
|
|
3527
3944
|
*/
|
|
3528
|
-
403:
|
|
3945
|
+
403: ApiErrorResponse;
|
|
3529
3946
|
/**
|
|
3530
3947
|
* Not found
|
|
3531
3948
|
*/
|
|
3532
|
-
404:
|
|
3949
|
+
404: ApiErrorResponse;
|
|
3950
|
+
/**
|
|
3951
|
+
* Origin bytes conflict with immutable Media content
|
|
3952
|
+
*/
|
|
3953
|
+
409: ApiErrorResponse;
|
|
3533
3954
|
/**
|
|
3534
3955
|
* Archive provider unavailable
|
|
3535
3956
|
*/
|
|
3536
|
-
503:
|
|
3957
|
+
503: ApiErrorResponse;
|
|
3537
3958
|
};
|
|
3959
|
+
export type MediaPublishError = MediaPublishErrors[keyof MediaPublishErrors];
|
|
3538
3960
|
export type MediaPublishResponses = {
|
|
3539
3961
|
/**
|
|
3540
3962
|
* Media with Archive location
|
|
@@ -3555,23 +3977,24 @@ export type MediaGetChildErrors = {
|
|
|
3555
3977
|
/**
|
|
3556
3978
|
* Parent is not a Directory
|
|
3557
3979
|
*/
|
|
3558
|
-
400:
|
|
3980
|
+
400: ApiErrorResponse;
|
|
3559
3981
|
/**
|
|
3560
3982
|
* Unauthorized
|
|
3561
3983
|
*/
|
|
3562
|
-
401:
|
|
3984
|
+
401: ApiErrorResponse;
|
|
3563
3985
|
/**
|
|
3564
3986
|
* Forbidden
|
|
3565
3987
|
*/
|
|
3566
|
-
403:
|
|
3988
|
+
403: ApiErrorResponse;
|
|
3567
3989
|
/**
|
|
3568
3990
|
* Child not found
|
|
3569
3991
|
*/
|
|
3570
|
-
404:
|
|
3992
|
+
404: ApiErrorResponse;
|
|
3571
3993
|
};
|
|
3994
|
+
export type MediaGetChildError = MediaGetChildErrors[keyof MediaGetChildErrors];
|
|
3572
3995
|
export type MediaGetChildResponses = {
|
|
3573
3996
|
/**
|
|
3574
|
-
* Child
|
|
3997
|
+
* Child media file
|
|
3575
3998
|
*/
|
|
3576
3999
|
200: MediaAsset;
|
|
3577
4000
|
};
|
|
@@ -3589,8 +4012,9 @@ export type TxStatusErrors = {
|
|
|
3589
4012
|
/**
|
|
3590
4013
|
* Unauthorized
|
|
3591
4014
|
*/
|
|
3592
|
-
401:
|
|
4015
|
+
401: ApiErrorResponse;
|
|
3593
4016
|
};
|
|
4017
|
+
export type TxStatusError = TxStatusErrors[keyof TxStatusErrors];
|
|
3594
4018
|
export type TxStatusResponses = {
|
|
3595
4019
|
/**
|
|
3596
4020
|
* Current transaction status snapshot
|
|
@@ -3611,8 +4035,9 @@ export type TxSubmitErrors = {
|
|
|
3611
4035
|
/**
|
|
3612
4036
|
* Unauthorized
|
|
3613
4037
|
*/
|
|
3614
|
-
401:
|
|
4038
|
+
401: ApiErrorResponse;
|
|
3615
4039
|
};
|
|
4040
|
+
export type TxSubmitError = TxSubmitErrors[keyof TxSubmitErrors];
|
|
3616
4041
|
export type TxSubmitResponses = {
|
|
3617
4042
|
/**
|
|
3618
4043
|
* Transaction accepted for processing
|
|
@@ -3620,6 +4045,189 @@ export type TxSubmitResponses = {
|
|
|
3620
4045
|
202: TxStatusSnapshot;
|
|
3621
4046
|
};
|
|
3622
4047
|
export type TxSubmitResponse = TxSubmitResponses[keyof TxSubmitResponses];
|
|
4048
|
+
export type UserCreateMediaUploadSessionData = {
|
|
4049
|
+
body: {
|
|
4050
|
+
purpose: MediaPurpose;
|
|
4051
|
+
fileName: string;
|
|
4052
|
+
mimeType: string;
|
|
4053
|
+
fileSize: number;
|
|
4054
|
+
contentHash: MediaContentHash;
|
|
4055
|
+
};
|
|
4056
|
+
path?: never;
|
|
4057
|
+
query?: never;
|
|
4058
|
+
url: "/user/media/upload-session";
|
|
4059
|
+
};
|
|
4060
|
+
export type UserCreateMediaUploadSessionErrors = {
|
|
4061
|
+
/**
|
|
4062
|
+
* Invalid request, unsupported content type, or file too large
|
|
4063
|
+
*/
|
|
4064
|
+
400: ApiErrorResponse;
|
|
4065
|
+
/**
|
|
4066
|
+
* Unauthorized
|
|
4067
|
+
*/
|
|
4068
|
+
401: ApiErrorResponse;
|
|
4069
|
+
/**
|
|
4070
|
+
* R2 upload signing is not configured
|
|
4071
|
+
*/
|
|
4072
|
+
500: ApiErrorResponse;
|
|
4073
|
+
/**
|
|
4074
|
+
* Storage unavailable
|
|
4075
|
+
*/
|
|
4076
|
+
503: ApiErrorResponse;
|
|
4077
|
+
};
|
|
4078
|
+
export type UserCreateMediaUploadSessionError = UserCreateMediaUploadSessionErrors[keyof UserCreateMediaUploadSessionErrors];
|
|
4079
|
+
export type UserCreateMediaUploadSessionResponses = {
|
|
4080
|
+
/**
|
|
4081
|
+
* Upload session
|
|
4082
|
+
*/
|
|
4083
|
+
200: MediaUploadSession;
|
|
4084
|
+
};
|
|
4085
|
+
export type UserCreateMediaUploadSessionResponse = UserCreateMediaUploadSessionResponses[keyof UserCreateMediaUploadSessionResponses];
|
|
4086
|
+
export type ProfileGetData = {
|
|
4087
|
+
body?: never;
|
|
4088
|
+
path?: never;
|
|
4089
|
+
query?: never;
|
|
4090
|
+
url: "/user/profile";
|
|
4091
|
+
};
|
|
4092
|
+
export type ProfileGetErrors = {
|
|
4093
|
+
/**
|
|
4094
|
+
* Unauthorized
|
|
4095
|
+
*/
|
|
4096
|
+
401: ApiErrorResponse;
|
|
4097
|
+
/**
|
|
4098
|
+
* Profile not found
|
|
4099
|
+
*/
|
|
4100
|
+
404: ApiErrorResponse;
|
|
4101
|
+
};
|
|
4102
|
+
export type ProfileGetError = ProfileGetErrors[keyof ProfileGetErrors];
|
|
4103
|
+
export type ProfileGetResponses = {
|
|
4104
|
+
/**
|
|
4105
|
+
* Authenticated user profile
|
|
4106
|
+
*/
|
|
4107
|
+
200: UserProfile;
|
|
4108
|
+
};
|
|
4109
|
+
export type ProfileGetResponse = ProfileGetResponses[keyof ProfileGetResponses];
|
|
4110
|
+
export type ProfileUpdateData = {
|
|
4111
|
+
body: {
|
|
4112
|
+
displayName?: string | null;
|
|
4113
|
+
bio?: string | null;
|
|
4114
|
+
website?: string | null;
|
|
4115
|
+
avatarMediaId?: string | null;
|
|
4116
|
+
};
|
|
4117
|
+
path?: never;
|
|
4118
|
+
query?: never;
|
|
4119
|
+
url: "/user/profile";
|
|
4120
|
+
};
|
|
4121
|
+
export type ProfileUpdateErrors = {
|
|
4122
|
+
/**
|
|
4123
|
+
* Invalid profile update
|
|
4124
|
+
*/
|
|
4125
|
+
400: ApiErrorResponse;
|
|
4126
|
+
/**
|
|
4127
|
+
* Unauthorized
|
|
4128
|
+
*/
|
|
4129
|
+
401: ApiErrorResponse;
|
|
4130
|
+
/**
|
|
4131
|
+
* Avatar media is not owned by the authenticated account
|
|
4132
|
+
*/
|
|
4133
|
+
403: ApiErrorResponse;
|
|
4134
|
+
/**
|
|
4135
|
+
* Profile or avatar media not found
|
|
4136
|
+
*/
|
|
4137
|
+
404: ApiErrorResponse;
|
|
4138
|
+
};
|
|
4139
|
+
export type ProfileUpdateError = ProfileUpdateErrors[keyof ProfileUpdateErrors];
|
|
4140
|
+
export type ProfileUpdateResponses = {
|
|
4141
|
+
/**
|
|
4142
|
+
* Updated authenticated user profile
|
|
4143
|
+
*/
|
|
4144
|
+
200: UserProfile;
|
|
4145
|
+
};
|
|
4146
|
+
export type ProfileUpdateResponse = ProfileUpdateResponses[keyof ProfileUpdateResponses];
|
|
4147
|
+
export type ProfilePublicData = {
|
|
4148
|
+
body?: never;
|
|
4149
|
+
path: {
|
|
4150
|
+
walletAddress: string;
|
|
4151
|
+
};
|
|
4152
|
+
query?: never;
|
|
4153
|
+
url: "/user/{walletAddress}/profile";
|
|
4154
|
+
};
|
|
4155
|
+
export type ProfilePublicErrors = {
|
|
4156
|
+
/**
|
|
4157
|
+
* Invalid EVM wallet address
|
|
4158
|
+
*/
|
|
4159
|
+
400: ApiErrorResponse;
|
|
4160
|
+
};
|
|
4161
|
+
export type ProfilePublicError = ProfilePublicErrors[keyof ProfilePublicErrors];
|
|
4162
|
+
export type ProfilePublicResponses = {
|
|
4163
|
+
/**
|
|
4164
|
+
* Public user profile
|
|
4165
|
+
*/
|
|
4166
|
+
200: PublicUserProfile;
|
|
4167
|
+
};
|
|
4168
|
+
export type ProfilePublicResponse = ProfilePublicResponses[keyof ProfilePublicResponses];
|
|
4169
|
+
export type ProfileTokensData = {
|
|
4170
|
+
body?: never;
|
|
4171
|
+
path: {
|
|
4172
|
+
walletAddress: string;
|
|
4173
|
+
};
|
|
4174
|
+
query?: {
|
|
4175
|
+
page?: number;
|
|
4176
|
+
limit?: number;
|
|
4177
|
+
sort?: "tokenId" | "name" | "mintedAt";
|
|
4178
|
+
order?: "asc" | "desc";
|
|
4179
|
+
collectionId?: string;
|
|
4180
|
+
search?: string;
|
|
4181
|
+
};
|
|
4182
|
+
url: "/user/{walletAddress}/tokens";
|
|
4183
|
+
};
|
|
4184
|
+
export type ProfileTokensErrors = {
|
|
4185
|
+
/**
|
|
4186
|
+
* Invalid EVM wallet address or query parameters
|
|
4187
|
+
*/
|
|
4188
|
+
400: ApiErrorResponse;
|
|
4189
|
+
};
|
|
4190
|
+
export type ProfileTokensError = ProfileTokensErrors[keyof ProfileTokensErrors];
|
|
4191
|
+
export type ProfileTokensResponses = {
|
|
4192
|
+
/**
|
|
4193
|
+
* Paginated wallet token holdings
|
|
4194
|
+
*/
|
|
4195
|
+
200: {
|
|
4196
|
+
items: Array<{
|
|
4197
|
+
id: string;
|
|
4198
|
+
collectionId: string;
|
|
4199
|
+
tokenId: string;
|
|
4200
|
+
status: TokenStatus;
|
|
4201
|
+
name: string | null;
|
|
4202
|
+
description: string | null;
|
|
4203
|
+
externalUrl: string | null;
|
|
4204
|
+
attributes: Array<{
|
|
4205
|
+
trait_type: string;
|
|
4206
|
+
value: string | number;
|
|
4207
|
+
display_type?: string;
|
|
4208
|
+
}> | null;
|
|
4209
|
+
properties: {
|
|
4210
|
+
[key: string]: unknown;
|
|
4211
|
+
} | null;
|
|
4212
|
+
imageMediaId: string | null;
|
|
4213
|
+
imageMedia: MediaAsset | null;
|
|
4214
|
+
animationMediaId: string | null;
|
|
4215
|
+
animationMedia: MediaAsset | null;
|
|
4216
|
+
mintedAt: string | null;
|
|
4217
|
+
createdAt: string;
|
|
4218
|
+
updatedAt: string;
|
|
4219
|
+
}>;
|
|
4220
|
+
pageInfo: {
|
|
4221
|
+
page: number;
|
|
4222
|
+
limit: number;
|
|
4223
|
+
totalCount: number;
|
|
4224
|
+
totalPages: number;
|
|
4225
|
+
hasNextPage: boolean;
|
|
4226
|
+
hasPreviousPage: boolean;
|
|
4227
|
+
};
|
|
4228
|
+
};
|
|
4229
|
+
};
|
|
4230
|
+
export type ProfileTokensResponse = ProfileTokensResponses[keyof ProfileTokensResponses];
|
|
3623
4231
|
export type UserSiweNonceData = {
|
|
3624
4232
|
body?: never;
|
|
3625
4233
|
path?: never;
|
|
@@ -3630,8 +4238,9 @@ export type UserSiweNonceErrors = {
|
|
|
3630
4238
|
/**
|
|
3631
4239
|
* SIWE configuration is missing
|
|
3632
4240
|
*/
|
|
3633
|
-
500:
|
|
4241
|
+
500: ApiErrorResponse;
|
|
3634
4242
|
};
|
|
4243
|
+
export type UserSiweNonceError = UserSiweNonceErrors[keyof UserSiweNonceErrors];
|
|
3635
4244
|
export type UserSiweNonceResponses = {
|
|
3636
4245
|
/**
|
|
3637
4246
|
* Issued nonce with issuedAt and expiresAt timestamps
|
|
@@ -3660,8 +4269,9 @@ export type UserSigninErrors = {
|
|
|
3660
4269
|
/**
|
|
3661
4270
|
* Server configuration error (JWT secret or SIWE config missing)
|
|
3662
4271
|
*/
|
|
3663
|
-
500:
|
|
4272
|
+
500: ApiErrorResponse;
|
|
3664
4273
|
};
|
|
4274
|
+
export type UserSigninError = UserSigninErrors[keyof UserSigninErrors];
|
|
3665
4275
|
export type UserSigninResponses = {
|
|
3666
4276
|
/**
|
|
3667
4277
|
* Sign-in result
|
|
@@ -3676,6 +4286,11 @@ export type UserSigninResponses = {
|
|
|
3676
4286
|
email: string | null;
|
|
3677
4287
|
displayName: string | null;
|
|
3678
4288
|
primaryAddress: string | null;
|
|
4289
|
+
walletAddresses: Array<string>;
|
|
4290
|
+
bio: string | null;
|
|
4291
|
+
website: string | null;
|
|
4292
|
+
avatarMediaId: string | null;
|
|
4293
|
+
avatarMedia: MediaAsset | null;
|
|
3679
4294
|
};
|
|
3680
4295
|
};
|
|
3681
4296
|
};
|
|
@@ -3690,8 +4305,9 @@ export type ApiKeyListErrors = {
|
|
|
3690
4305
|
/**
|
|
3691
4306
|
* Unauthorized
|
|
3692
4307
|
*/
|
|
3693
|
-
401:
|
|
4308
|
+
401: ApiErrorResponse;
|
|
3694
4309
|
};
|
|
4310
|
+
export type ApiKeyListError = ApiKeyListErrors[keyof ApiKeyListErrors];
|
|
3695
4311
|
export type ApiKeyListResponses = {
|
|
3696
4312
|
/**
|
|
3697
4313
|
* List of API keys
|
|
@@ -3712,16 +4328,17 @@ export type ApiKeyCreateErrors = {
|
|
|
3712
4328
|
/**
|
|
3713
4329
|
* Invalid request
|
|
3714
4330
|
*/
|
|
3715
|
-
400:
|
|
4331
|
+
400: ApiErrorResponse;
|
|
3716
4332
|
/**
|
|
3717
4333
|
* Unauthorized
|
|
3718
4334
|
*/
|
|
3719
|
-
401:
|
|
4335
|
+
401: ApiErrorResponse;
|
|
3720
4336
|
/**
|
|
3721
4337
|
* Forbidden
|
|
3722
4338
|
*/
|
|
3723
|
-
403:
|
|
4339
|
+
403: ApiErrorResponse;
|
|
3724
4340
|
};
|
|
4341
|
+
export type ApiKeyCreateError = ApiKeyCreateErrors[keyof ApiKeyCreateErrors];
|
|
3725
4342
|
export type ApiKeyCreateResponses = {
|
|
3726
4343
|
/**
|
|
3727
4344
|
* Created API key with one-time plaintext value
|
|
@@ -3741,16 +4358,17 @@ export type ApiKeyRevokeErrors = {
|
|
|
3741
4358
|
/**
|
|
3742
4359
|
* Unauthorized
|
|
3743
4360
|
*/
|
|
3744
|
-
401:
|
|
4361
|
+
401: ApiErrorResponse;
|
|
3745
4362
|
/**
|
|
3746
4363
|
* Forbidden
|
|
3747
4364
|
*/
|
|
3748
|
-
403:
|
|
4365
|
+
403: ApiErrorResponse;
|
|
3749
4366
|
/**
|
|
3750
4367
|
* Not found
|
|
3751
4368
|
*/
|
|
3752
|
-
404:
|
|
4369
|
+
404: ApiErrorResponse;
|
|
3753
4370
|
};
|
|
4371
|
+
export type ApiKeyRevokeError = ApiKeyRevokeErrors[keyof ApiKeyRevokeErrors];
|
|
3754
4372
|
export type ApiKeyRevokeResponses = {
|
|
3755
4373
|
/**
|
|
3756
4374
|
* Revoked API key
|