@zoralabs/protocol-sdk 0.3.4 → 0.3.5

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.
@@ -1,2131 +0,0 @@
1
- /**
2
- * This file was auto-generated by openapi-typescript.
3
- * Do not make direct changes to the file.
4
- */
5
- export interface paths {
6
- "/": {
7
- /** Root */
8
- get: operations["root__get"];
9
- };
10
- "/feed": {
11
- /** Get Feed */
12
- get: operations["get_feed_feed_get"];
13
- };
14
- "/relevant_mintables/{chain_name}/{collection_address}/{token_id}": {
15
- /** Gen Relevant Mintables */
16
- get: operations["gen_relevant_mintables_relevant_mintables__chain_name___collection_address___token_id__get"];
17
- };
18
- "/relevant_mintables/{chain_name}/{collection_address}": {
19
- /** Gen Relevant Mintables */
20
- get: operations["gen_relevant_mintables_relevant_mintables__chain_name___collection_address__get"];
21
- };
22
- "/feed_item_check/{chain_name}/{collection_address}/{token_id}": {
23
- /** Gen Feed Item Check */
24
- get: operations["gen_feed_item_check_feed_item_check__chain_name___collection_address___token_id__get"];
25
- };
26
- "/feed_item_check/{chain_name}/{collection_address}": {
27
- /** Gen Feed Item Check */
28
- get: operations["gen_feed_item_check_feed_item_check__chain_name___collection_address__get"];
29
- };
30
- "/mintables/{chain_name}/{collection_address}/{token_id}": {
31
- /** Gen Mintable */
32
- get: operations["gen_mintable_mintables__chain_name___collection_address___token_id__get"];
33
- };
34
- "/mintables/{chain_name}/{collection_address}": {
35
- /** Gen Mintable */
36
- get: operations["gen_mintable_mintables__chain_name___collection_address__get"];
37
- };
38
- "/premints/{chain_name}": {
39
- /** Gen All Mintables */
40
- get: operations["gen_all_mintables_premints__chain_name__get"];
41
- };
42
- "/mintables_v2/{chain_name}/{collection_address}": {
43
- /** Gen Mintable V2 */
44
- get: operations["gen_mintable_v2_mintables_v2__chain_name___collection_address__get"];
45
- };
46
- "/contract/backfill": {
47
- /** Gen Backfill Contract */
48
- post: operations["gen_backfill_contract_contract_backfill_post"];
49
- };
50
- "/contract/{chain_name}/{collection_address}": {
51
- /** Get Contract */
52
- get: operations["get_contract_contract__chain_name___collection_address__get"];
53
- };
54
- "/contract_summaries": {
55
- /** Gen Contract Summaries */
56
- post: operations["gen_contract_summaries_contract_summaries_post"];
57
- };
58
- "/mint_counts": {
59
- /**
60
- * Gen Mint Counts
61
- * @deprecated
62
- * @description Use /contract_summaries instead
63
- */
64
- post: operations["gen_mint_counts_mint_counts_post"];
65
- };
66
- "/contracts": {
67
- /** Gen Contracts */
68
- post: operations["gen_contracts_contracts_post"];
69
- };
70
- "/tokens/{chain_name}/{collection_address}": {
71
- /** Gen Contract Tokens */
72
- get: operations["gen_contract_tokens_tokens__chain_name___collection_address__get"];
73
- };
74
- "/user/{wallet}": {
75
- /** Get User */
76
- get: operations["get_user_user__wallet__get"];
77
- };
78
- "/user/{wallet_address}/tokens": {
79
- /** Gen User Tokens */
80
- get: operations["gen_user_tokens_user__wallet_address__tokens_get"];
81
- };
82
- "/user/{wallet_address}/contracts": {
83
- /** Gen User Contracts */
84
- get: operations["gen_user_contracts_user__wallet_address__contracts_get"];
85
- };
86
- "/trending": {
87
- /** Gen Trending */
88
- get: operations["gen_trending_trending_get"];
89
- };
90
- "/trending_feed": {
91
- /** Gen Trending Feed */
92
- get: operations["gen_trending_feed_trending_feed_get"];
93
- };
94
- "/search": {
95
- /** Gen Search */
96
- get: operations["gen_search_search_get"];
97
- };
98
- "/stream/token_mint/{chain_name}/{collection_address}": {
99
- /** Stream Token Mint */
100
- get: operations["stream_token_mint_stream_token_mint__chain_name___collection_address__get"];
101
- };
102
- "/token_mints/{chain_name}/{collection_address}": {
103
- /** Gen Token Mints */
104
- get: operations["gen_token_mints_token_mints__chain_name___collection_address__get"];
105
- };
106
- "/stream/mint_comment/{chain_name}/{collection_address}": {
107
- /** Stream Mint Comment */
108
- get: operations["stream_mint_comment_stream_mint_comment__chain_name___collection_address__get"];
109
- };
110
- "/mint_comments/{chain_name}/{collection_address}": {
111
- /** Gen Mint Comments */
112
- get: operations["gen_mint_comments_mint_comments__chain_name___collection_address__get"];
113
- };
114
- "/notifications": {
115
- /** Gen Notifications */
116
- get: operations["gen_notifications_notifications_get"];
117
- };
118
- "/stream/notifications": {
119
- /** Stream Notification */
120
- get: operations["stream_notification_stream_notifications_get"];
121
- };
122
- "/refresh-blocklist": {
123
- /** Refresh Blocklist */
124
- get: operations["refresh_blocklist_refresh_blocklist_get"];
125
- };
126
- "/schema": {
127
- /** Schema */
128
- get: operations["schema_schema_get"];
129
- };
130
- }
131
- export type webhooks = Record<string, never>;
132
- export interface components {
133
- schemas: {
134
- /** BaseModel */
135
- BaseModel: Record<string, never>;
136
- /**
137
- * Chain
138
- * @description An enumeration.
139
- * @enum {string}
140
- */
141
- Chain: "ETHEREUM" | "ZORA";
142
- /**
143
- * ChainName
144
- * @description An enumeration.
145
- * @enum {string}
146
- */
147
- ChainName: "ETHEREUM-MAINNET" | "ETHEREUM-ROPSTEN" | "ETHEREUM-RINKEBY" | "ETHEREUM-GOERLI" | "ETHEREUM-SEPOLIA" | "OPTIMISM-MAINNET" | "OPTIMISM-GOERLI" | "ZORA-GOERLI" | "ZORA-MAINNET" | "BASE-MAINNET" | "BASE-GOERLI" | "PGN-MAINNET";
148
- /** Collection */
149
- Collection: {
150
- /** Address */
151
- address: string;
152
- /** Name */
153
- name?: string;
154
- /** Symbol */
155
- symbol?: string;
156
- token_standard?: components["schemas"]["TokenStandard"];
157
- /** Description */
158
- description?: string;
159
- /** Image */
160
- image?: string;
161
- };
162
- /**
163
- * CollectionCreationConfig
164
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
165
- * (store_as, override_name), as well as provides other convinience methods.
166
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
167
- * complex type we include on a stored entity.
168
- *
169
- * Example::
170
- * >>> class Foo(ObjectBase):
171
- * ...: found_at_height: int = field(override_name="address", store_as=str)
172
- * ...: other: str = "default"
173
- */
174
- CollectionCreationConfig: {
175
- /** Contractadmin */
176
- contractAdmin: string;
177
- /** Contracturi */
178
- contractURI: string;
179
- /** Contractname */
180
- contractName: string;
181
- };
182
- /** CollectionTokenId */
183
- CollectionTokenId: {
184
- chain_name: components["schemas"]["ChainName"];
185
- /** Collection Address */
186
- collection_address: string;
187
- /** Token Id */
188
- token_id?: number | string;
189
- };
190
- /** Collector */
191
- Collector: {
192
- /** Address */
193
- address: string;
194
- /** Ens Name */
195
- ens_name?: string;
196
- };
197
- /** CollectorSummary */
198
- CollectorSummary: {
199
- /** Num Unique Collectors */
200
- num_unique_collectors: number;
201
- /** Collector Previews */
202
- collector_previews: components["schemas"]["Collector"][];
203
- };
204
- /** ContractBackfillResponse */
205
- ContractBackfillResponse: {
206
- /** Success */
207
- success: boolean;
208
- /** Message */
209
- message: string;
210
- };
211
- /** ContractQueryPayload */
212
- ContractQueryPayload: {
213
- chain_name: components["schemas"]["ChainName"];
214
- /** Collection Address */
215
- collection_address: string;
216
- /** Token Id */
217
- token_id?: string;
218
- };
219
- /** ContractQueryResponse */
220
- ContractQueryResponse: {
221
- chain_name: components["schemas"]["ChainName"];
222
- /** Collection Address */
223
- collection_address: string;
224
- /** Token Id */
225
- token_id?: string;
226
- contract_result?: components["schemas"]["ContractResult"];
227
- /**
228
- * Err Code
229
- * @default 0
230
- */
231
- err_code?: number;
232
- /**
233
- * Err Msg
234
- * @default
235
- */
236
- err_msg?: string;
237
- };
238
- /** ContractResult */
239
- ContractResult: {
240
- /** Chain Name */
241
- chain_name: string;
242
- /** Collection Address */
243
- collection_address: string;
244
- /** Token Id */
245
- token_id?: string;
246
- collection: components["schemas"]["Collection"];
247
- contract_type: components["schemas"]["MintableType"];
248
- /** Creator Address */
249
- creator_address?: string;
250
- mintable?: components["schemas"]["Mintable"];
251
- media?: components["schemas"]["Media"];
252
- metadata?: components["schemas"]["zora__collect__contract__models__metadata__Metadata"];
253
- /** Owner */
254
- owner?: string;
255
- /** Total Minted */
256
- total_minted?: number;
257
- };
258
- /** ContractSummary */
259
- ContractSummary: {
260
- chain_name: components["schemas"]["ChainName"];
261
- /** Collection Address */
262
- collection_address: string;
263
- /** Token Id */
264
- token_id?: string;
265
- /** Mint Count */
266
- mint_count: number;
267
- /** Comment Count */
268
- comment_count: number;
269
- /** Unique Collector Count */
270
- unique_collector_count: number;
271
- };
272
- /** ContractSummaryResponse */
273
- ContractSummaryResponse: {
274
- /** Contract Summary List */
275
- contract_summary_list: components["schemas"]["ContractSummary"][];
276
- };
277
- /** ContractsQueryOutput */
278
- ContractsQueryOutput: {
279
- /** Contract Results */
280
- contract_results: components["schemas"]["ContractQueryResponse"][];
281
- };
282
- /** ContractsResponse */
283
- ContractsResponse: {
284
- /** Results */
285
- results: components["schemas"]["ContractResult"][];
286
- /** Limit */
287
- limit: number;
288
- /** Offset */
289
- offset: number;
290
- /** Has Next Page */
291
- has_next_page: boolean;
292
- /**
293
- * Api Version
294
- * @default 1
295
- */
296
- api_version?: number;
297
- };
298
- /**
299
- * Cursor
300
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
301
- * (store_as, override_name), as well as provides other convinience methods.
302
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
303
- * complex type we include on a stored entity.
304
- *
305
- * Example::
306
- * >>> class Foo(ObjectBase):
307
- * ...: found_at_height: int = field(override_name="address", store_as=str)
308
- * ...: other: str = "default"
309
- */
310
- Cursor: {
311
- /** First */
312
- first?: string;
313
- /** Last */
314
- last?: string;
315
- };
316
- /** ENSRecord */
317
- ENSRecord: {
318
- /** Address */
319
- address: string;
320
- /** Ens Name */
321
- ens_name: string;
322
- text_records: components["schemas"]["ENSTextRecords"];
323
- };
324
- /** ENSTextRecords */
325
- ENSTextRecords: {
326
- /** Avatar */
327
- avatar?: string;
328
- /** Url */
329
- url?: string;
330
- /** Description */
331
- description?: string;
332
- /** Github */
333
- github?: string;
334
- /** Twitter */
335
- twitter?: string;
336
- /** Instagram */
337
- instagram?: string;
338
- /** Discord */
339
- discord?: string;
340
- /** Tiktok */
341
- tiktok?: string;
342
- };
343
- /**
344
- * EntityType
345
- * @description An enumeration.
346
- * @enum {string}
347
- */
348
- EntityType: "Collection" | "Token";
349
- /** FeedItemCheck */
350
- FeedItemCheck: {
351
- feed_item?: components["schemas"]["FeedResult"];
352
- /**
353
- * Err Msgs
354
- * @default []
355
- */
356
- err_msgs?: string[];
357
- };
358
- /**
359
- * FeedItemType
360
- * @description An enumeration.
361
- * @enum {string}
362
- */
363
- FeedItemType: "MINTABLE";
364
- /** FeedResponse */
365
- FeedResponse: {
366
- /** Results */
367
- results: components["schemas"]["FeedResult"][];
368
- /** Limit */
369
- limit: number;
370
- /** Offset */
371
- offset: number;
372
- /** Has Next Page */
373
- has_next_page: boolean;
374
- /**
375
- * Api Version
376
- * @default 1
377
- */
378
- api_version?: number;
379
- feed_type?: components["schemas"]["FeedType"];
380
- };
381
- /** FeedResult */
382
- FeedResult: {
383
- feed_item_type: components["schemas"]["FeedItemType"];
384
- /** Uuid */
385
- uuid?: string;
386
- feed_item: components["schemas"]["Mintable"];
387
- media?: components["schemas"]["Media"];
388
- };
389
- /**
390
- * FeedType
391
- * @description An enumeration.
392
- * @enum {string}
393
- */
394
- FeedType: "curated" | "most_recent" | "heuristic" | "trending" | "recommendations";
395
- /**
396
- * FixedPrice
397
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
398
- * (store_as, override_name), as well as provides other convinience methods.
399
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
400
- * complex type we include on a stored entity.
401
- *
402
- * Example::
403
- * >>> class Foo(ObjectBase):
404
- * ...: found_at_height: int = field(override_name="address", store_as=str)
405
- * ...: other: str = "default"
406
- */
407
- FixedPrice: {
408
- /** Token Id */
409
- token_id?: number;
410
- /** Sale Start */
411
- sale_start?: string;
412
- /** Sale End */
413
- sale_end?: string;
414
- /** Max Tokens Per Address */
415
- max_tokens_per_address?: string;
416
- /** Price Per Token */
417
- price_per_token?: string;
418
- /** Funds Recipient */
419
- funds_recipient?: string;
420
- };
421
- /** FoundationMintContext */
422
- FoundationMintContext: {
423
- /**
424
- * Mint Context Type
425
- * @default foundation
426
- * @enum {string}
427
- */
428
- mint_context_type?: "foundation";
429
- };
430
- /** HTTPValidationError */
431
- HTTPValidationError: {
432
- /** Detail */
433
- detail?: components["schemas"]["ValidationError"][];
434
- };
435
- /**
436
- * InferredMintContext
437
- * @description Mint context passed to feed via mintables
438
- *
439
- * Corresponds to the following TypeScript type:
440
- * interface InferredMintContext {
441
- * price_per_token: string
442
- * function_abi: any
443
- * function_name: string
444
- * contract_address: string
445
- * default_eth_value: string
446
- * default_args: (string | number)[]
447
- * quantity_arg_index: number | null
448
- * use_proxy_contract: boolean
449
- * }
450
- */
451
- InferredMintContext: {
452
- /** Reference Tx */
453
- reference_tx?: string;
454
- /** Price Per Token */
455
- price_per_token: string;
456
- /** Function Abi */
457
- function_abi: Record<string, never>;
458
- /** Function Name */
459
- function_name: string;
460
- /** Contract Address */
461
- contract_address: string;
462
- /** Default Eth Value */
463
- default_eth_value: string;
464
- /** Default Args */
465
- default_args: (string | number)[];
466
- /** Expected Tokens Returned */
467
- expected_tokens_returned: number;
468
- /** User Address Arg Index */
469
- user_address_arg_index?: number;
470
- /** Quantity Arg Index */
471
- quantity_arg_index?: number;
472
- /**
473
- * Use Proxy Contract
474
- * @default false
475
- */
476
- use_proxy_contract?: boolean;
477
- /**
478
- * Mint Context Type
479
- * @default inferred
480
- * @enum {string}
481
- */
482
- mint_context_type?: "inferred";
483
- };
484
- /**
485
- * InfinitePageWithTotal[MintComment]
486
- * @description This is a generic model for pagination in an infitite scrolling context.
487
- */
488
- InfinitePageWithTotal_MintComment_: {
489
- /** Data */
490
- data: components["schemas"]["MintComment"][];
491
- /** Limit */
492
- limit: number;
493
- /** Has More */
494
- has_more: boolean;
495
- cursor: components["schemas"]["Cursor"];
496
- /** Total */
497
- total: number;
498
- };
499
- /**
500
- * InfinitePageWithTotal[TokenMint]
501
- * @description This is a generic model for pagination in an infitite scrolling context.
502
- */
503
- InfinitePageWithTotal_TokenMint_: {
504
- /** Data */
505
- data: components["schemas"]["TokenMint"][];
506
- /** Limit */
507
- limit: number;
508
- /** Has More */
509
- has_more: boolean;
510
- cursor: components["schemas"]["Cursor"];
511
- /** Total */
512
- total: number;
513
- };
514
- /**
515
- * InfinitePage[Mintable]
516
- * @description This is a generic model for pagination in an infitite scrolling context.
517
- */
518
- InfinitePage_Mintable_: {
519
- /** Data */
520
- data: components["schemas"]["Mintable"][];
521
- /** Limit */
522
- limit: number;
523
- /** Has More */
524
- has_more: boolean;
525
- cursor: components["schemas"]["Cursor"];
526
- };
527
- /** ManifoldMintContext */
528
- ManifoldMintContext: {
529
- /**
530
- * Mint Context Type
531
- * @default manifold
532
- * @enum {string}
533
- */
534
- mint_context_type?: "manifold";
535
- /** Creator Contract Address */
536
- creator_contract_address: string;
537
- /** Claim Index */
538
- claim_index: number;
539
- /** Mint Index */
540
- mint_index: number;
541
- /**
542
- * Merkle Proof
543
- * Format: binary
544
- */
545
- merkle_proof: string;
546
- };
547
- /** Media */
548
- Media: {
549
- image_preview?: components["schemas"]["zora__media_encoding__media__MediaURI"];
550
- /** Image Carousel */
551
- image_carousel?: components["schemas"]["zora__media_encoding__media__MediaURI"][];
552
- content_preview?: components["schemas"]["zora__media_encoding__media__MediaURI"];
553
- /** Content Carousel */
554
- content_carousel?: components["schemas"]["zora__media_encoding__media__MediaURI"][];
555
- /** Mime Type */
556
- mime_type?: string;
557
- };
558
- /** MediaAttribute */
559
- MediaAttribute: {
560
- /** Trait Type */
561
- trait_type?: string;
562
- /** Value */
563
- value?: string;
564
- /** Display Type */
565
- display_type?: string;
566
- };
567
- /** Mint */
568
- Mint: {
569
- image_preview: components["schemas"]["zora__collect__trending__models__models__MediaURI"];
570
- content_preview?: components["schemas"]["zora__collect__trending__models__models__MediaURI"];
571
- /** Collection Name */
572
- collection_name: string;
573
- /** Token Name */
574
- token_name?: string;
575
- /** Token Id */
576
- token_id: string;
577
- minter: components["schemas"]["Wallet"];
578
- /**
579
- * Mint Time
580
- * Format: date-time
581
- */
582
- mint_time: string;
583
- /** Chain Name */
584
- chain_name: string;
585
- };
586
- /** MintComment */
587
- MintComment: {
588
- chain_name: components["schemas"]["ChainName"];
589
- /** Collection Address */
590
- collection_address: string;
591
- /** Token Id */
592
- token_id?: string;
593
- token_standard?: components["schemas"]["TokenStandard"];
594
- /** From Address */
595
- from_address: string;
596
- /** Comment */
597
- comment: string;
598
- /** Quantity */
599
- quantity: number;
600
- transaction_info: components["schemas"]["TransactionInfo"];
601
- };
602
- /** MintCommentNotification */
603
- MintCommentNotification: {
604
- chain_name: components["schemas"]["ChainName"];
605
- /** Collection Address */
606
- collection_address: string;
607
- /** Token Id */
608
- token_id?: string;
609
- token_standard?: components["schemas"]["TokenStandard"];
610
- /**
611
- * Notification Type
612
- * @default MINT_COMMENT
613
- * @enum {string}
614
- */
615
- notification_type?: "MINT_COMMENT";
616
- /**
617
- * Timestamp
618
- * Format: date-time
619
- */
620
- timestamp: string;
621
- /** Read */
622
- read: boolean;
623
- /** Minter Address */
624
- minter_address: string;
625
- /** Comment */
626
- comment: string;
627
- metadata?: components["schemas"]["zora__ethereum__models__metadata__Metadata"];
628
- media?: components["schemas"]["zora__media_encoding__media__MediaURI"];
629
- };
630
- /** MintCountResponse */
631
- MintCountResponse: {
632
- chain_name: components["schemas"]["ChainName"];
633
- /** Collection Address */
634
- collection_address: string;
635
- /** Token Id */
636
- token_id?: string;
637
- /** Mint Count */
638
- mint_count: number;
639
- };
640
- /** MintCountsOutput */
641
- MintCountsOutput: {
642
- /** Mint Count Results */
643
- mint_count_results: components["schemas"]["MintCountResponse"][];
644
- };
645
- /** MintNotification */
646
- MintNotification: {
647
- chain_name: components["schemas"]["ChainName"];
648
- /** Collection Address */
649
- collection_address: string;
650
- /** Token Id */
651
- token_id?: string;
652
- token_standard?: components["schemas"]["TokenStandard"];
653
- /**
654
- * Notification Type
655
- * @default MINT
656
- * @enum {string}
657
- */
658
- notification_type?: "MINT";
659
- /**
660
- * Timestamp
661
- * Format: date-time
662
- */
663
- timestamp: string;
664
- /** Read */
665
- read: boolean;
666
- /** Minter Address */
667
- minter_address: string;
668
- /** Value */
669
- value: number;
670
- metadata?: components["schemas"]["zora__ethereum__models__metadata__Metadata"];
671
- media?: components["schemas"]["zora__media_encoding__media__MediaURI"];
672
- };
673
- /** Mintable */
674
- Mintable: {
675
- chain_name: components["schemas"]["ChainName"];
676
- mintable_type: components["schemas"]["MintableType"];
677
- token_standard: components["schemas"]["TokenStandard"];
678
- /** Contract Address */
679
- contract_address: string;
680
- /** Creator Address */
681
- creator_address?: string;
682
- /** Token Creator */
683
- token_creator?: string;
684
- collection: components["schemas"]["Collection"];
685
- /** Token Id */
686
- token_id?: string;
687
- /** Token Name */
688
- token_name?: string;
689
- /** Mint Context */
690
- mint_context?: components["schemas"]["ManifoldMintContext"] | components["schemas"]["ZoraCreateMintContext"] | components["schemas"]["FoundationMintContext"] | components["schemas"]["ZoraCreate1155MintContext"] | components["schemas"]["ZoraCreatePremintContext"] | components["schemas"]["InferredMintContext"];
691
- /** Is Active */
692
- is_active: boolean;
693
- cost: components["schemas"]["zora__collect__feed__models__price_at_time__PriceAtTime"];
694
- total_mint_volume: components["schemas"]["zora__collect__feed__models__price_at_time__PriceAtTime"];
695
- /** Total Supply */
696
- total_supply?: number;
697
- /** Total Minted */
698
- total_minted: number;
699
- /** Wallet Max */
700
- wallet_max?: number;
701
- /**
702
- * Start Datetime
703
- * Format: date-time
704
- */
705
- start_datetime?: string;
706
- /**
707
- * End Datetime
708
- * Format: date-time
709
- */
710
- end_datetime?: string;
711
- collector_summary: components["schemas"]["CollectorSummary"];
712
- metadata?: components["schemas"]["zora__collect__contract__models__metadata__Metadata"];
713
- status?: components["schemas"]["MintableStatus"];
714
- /** Uuid */
715
- uuid?: string;
716
- };
717
- /**
718
- * MintableSortKey
719
- * @description An enumeration.
720
- * @enum {string}
721
- */
722
- MintableSortKey: "CREATED" | "MINTED";
723
- /**
724
- * MintableStatus
725
- * @description An enumeration.
726
- * @enum {string}
727
- */
728
- MintableStatus: "ACTIVE" | "BLOCKED" | "EXPIRED" | "INVALID_MEDIA" | "MINTED_OUT" | "DELETED";
729
- /**
730
- * MintableType
731
- * @description An enumeration.
732
- * @enum {string}
733
- */
734
- MintableType: "FOUNDATION_DROP_COLLECTION" | "FOUNDATION_TIMED_EDITION" | "MANIFOLD_ERC1155" | "MANIFOLD_ERC721" | "ZORA_CREATE" | "ZORA_CREATE_1155" | "ZORA_CREATE_1155_B2R_REDEEM_TOKEN" | "ZORA_CREATE_1155_PREMINT_TOKEN" | "ZORA_EDITION" | "ZORA_DROP" | "INFERRED";
735
- /**
736
- * Network
737
- * @description An enumeration.
738
- * @enum {string}
739
- */
740
- Network: "MAINNET" | "GOERLI";
741
- /** Notification */
742
- Notification: components["schemas"]["MintNotification"] | components["schemas"]["MintCommentNotification"];
743
- /**
744
- * NotificationsResponse
745
- * @description This is a generic model for pagination in an infitite scrolling context.
746
- */
747
- NotificationsResponse: {
748
- /** Data */
749
- data: components["schemas"]["Notification"][];
750
- /** Limit */
751
- limit: number;
752
- /** Has More */
753
- has_more: boolean;
754
- cursor: components["schemas"]["Cursor"];
755
- /** Total Unread */
756
- total_unread: number;
757
- };
758
- /**
759
- * Platform
760
- * @description An enumeration.
761
- * @enum {string}
762
- */
763
- Platform: "FOUNDATION" | "ZORA" | "MANIFOLD" | "INFERRED";
764
- /**
765
- * PremintConfig
766
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
767
- * (store_as, override_name), as well as provides other convinience methods.
768
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
769
- * complex type we include on a stored entity.
770
- *
771
- * Example::
772
- * >>> class Foo(ObjectBase):
773
- * ...: found_at_height: int = field(override_name="address", store_as=str)
774
- * ...: other: str = "default"
775
- */
776
- PremintConfig: {
777
- tokenConfig: components["schemas"]["TokenCreationConfig"];
778
- /** Uid */
779
- uid: number;
780
- /** Version */
781
- version: number;
782
- /** Deleted */
783
- deleted: boolean;
784
- };
785
- /**
786
- * Presale
787
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
788
- * (store_as, override_name), as well as provides other convinience methods.
789
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
790
- * complex type we include on a stored entity.
791
- *
792
- * Example::
793
- * >>> class Foo(ObjectBase):
794
- * ...: found_at_height: int = field(override_name="address", store_as=str)
795
- * ...: other: str = "default"
796
- */
797
- Presale: {
798
- /** Token Id */
799
- token_id?: number;
800
- /** Presale Start */
801
- presale_start?: string;
802
- /** Presale End */
803
- presale_end?: string;
804
- /** Merkle Root */
805
- merkle_root?: string;
806
- /** Funds Recipient */
807
- funds_recipient?: string;
808
- };
809
- /** Price */
810
- Price: {
811
- /** Value */
812
- value: string;
813
- };
814
- /**
815
- * Royalties
816
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
817
- * (store_as, override_name), as well as provides other convinience methods.
818
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
819
- * complex type we include on a stored entity.
820
- *
821
- * Example::
822
- * >>> class Foo(ObjectBase):
823
- * ...: found_at_height: int = field(override_name="address", store_as=str)
824
- * ...: other: str = "default"
825
- */
826
- Royalties: {
827
- /** Token Id */
828
- token_id?: number;
829
- /** User */
830
- user?: string;
831
- /** Royalty Bps */
832
- royalty_bps?: string;
833
- /** Royaltyrecipient */
834
- royaltyRecipient?: string;
835
- /** Royalty Mint Schedule */
836
- royalty_mint_schedule?: number;
837
- };
838
- /**
839
- * SaleStrategies
840
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
841
- * (store_as, override_name), as well as provides other convinience methods.
842
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
843
- * complex type we include on a stored entity.
844
- *
845
- * Example::
846
- * >>> class Foo(ObjectBase):
847
- * ...: found_at_height: int = field(override_name="address", store_as=str)
848
- * ...: other: str = "default"
849
- */
850
- SaleStrategies: {
851
- /** Sale Strategies Type */
852
- sale_strategies_type?: string;
853
- fixed_price?: components["schemas"]["FixedPrice"];
854
- presale?: components["schemas"]["Presale"];
855
- /** Redeem Minter */
856
- redeem_minter?: boolean;
857
- };
858
- /** SearchCollection */
859
- SearchCollection: {
860
- /**
861
- * Entity Type
862
- * @default Collection
863
- * @enum {string}
864
- */
865
- entity_type?: "Collection";
866
- chain_name: components["schemas"]["ChainName"];
867
- /** Collection Address */
868
- collection_address: string;
869
- /** Token Id */
870
- token_id?: string;
871
- /** Name */
872
- name?: string;
873
- /** Description */
874
- description?: string;
875
- /** Creator Address */
876
- creator_address?: string;
877
- /** Total Minted */
878
- total_minted?: number;
879
- };
880
- /** SearchResponse */
881
- SearchResponse: {
882
- /** Results */
883
- results: components["schemas"]["SearchResult"][];
884
- /** Total Results */
885
- total_results: number;
886
- /** Blocked Results */
887
- blocked_results: number;
888
- /** Limit */
889
- limit: number;
890
- /** Offset */
891
- offset: number;
892
- /** Has Next Page */
893
- has_next_page: boolean;
894
- /**
895
- * Api Version
896
- * @default 1
897
- */
898
- api_version?: number;
899
- /** Search Id */
900
- search_id: string;
901
- };
902
- /** SearchResult */
903
- SearchResult: {
904
- /** Name */
905
- name?: string;
906
- /** Description */
907
- description?: string;
908
- entity_type: components["schemas"]["EntityType"];
909
- /** Entity */
910
- entity: components["schemas"]["SearchCollection"] | components["schemas"]["SearchToken"];
911
- media?: components["schemas"]["Media"];
912
- /**
913
- * Rank
914
- * @default 0
915
- */
916
- rank?: number;
917
- };
918
- /**
919
- * SearchSortKey
920
- * @description An enumeration.
921
- * @enum {string}
922
- */
923
- SearchSortKey: "CREATED" | "POPULARITY";
924
- /** SearchToken */
925
- SearchToken: {
926
- /**
927
- * Entity Type
928
- * @default Token
929
- * @enum {string}
930
- */
931
- entity_type?: "Token";
932
- chain_name: components["schemas"]["ChainName"];
933
- /** Collection Address */
934
- collection_address: string;
935
- /** Token Id */
936
- token_id: string;
937
- /** Name */
938
- name?: string;
939
- /** Description */
940
- description?: string;
941
- /** Owner */
942
- owner?: string;
943
- };
944
- /**
945
- * SimpleResponse
946
- * @description A simple wrapper for data
947
- */
948
- SimpleResponse: {
949
- data: components["schemas"]["BaseModel"];
950
- };
951
- /**
952
- * SortDirection
953
- * @description An enumeration.
954
- * @enum {string}
955
- */
956
- SortDirection: "ASC" | "DESC";
957
- /**
958
- * TokenCreationConfig
959
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
960
- * (store_as, override_name), as well as provides other convinience methods.
961
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
962
- * complex type we include on a stored entity.
963
- *
964
- * Example::
965
- * >>> class Foo(ObjectBase):
966
- * ...: found_at_height: int = field(override_name="address", store_as=str)
967
- * ...: other: str = "default"
968
- */
969
- TokenCreationConfig: {
970
- /** Tokenuri */
971
- tokenURI: string;
972
- /** Maxsupply */
973
- maxSupply: string;
974
- /** Maxtokensperaddress */
975
- maxTokensPerAddress: string;
976
- /** Pricepertoken */
977
- pricePerToken: string;
978
- /** Mintstart */
979
- mintStart: string;
980
- /** Mintduration */
981
- mintDuration: string;
982
- /** Royaltymintschedule */
983
- royaltyMintSchedule: number;
984
- /** Royaltybps */
985
- royaltyBPS: number;
986
- /** Royaltyrecipient */
987
- royaltyRecipient: string;
988
- /** Fixedpriceminter */
989
- fixedPriceMinter: string;
990
- };
991
- /** TokenMint */
992
- TokenMint: {
993
- chain_name: components["schemas"]["ChainName"];
994
- /** Collection Address */
995
- collection_address: string;
996
- /** Token Id */
997
- token_id?: string;
998
- token_standard?: components["schemas"]["TokenStandard"];
999
- /** Originator Address */
1000
- originator_address?: string;
1001
- /** To Address */
1002
- to_address: string;
1003
- fee: components["schemas"]["Price"];
1004
- /** Value */
1005
- value?: number;
1006
- transaction_info: components["schemas"]["TransactionInfo"];
1007
- };
1008
- /** TokenResult */
1009
- TokenResult: {
1010
- chain_name: components["schemas"]["ChainName"];
1011
- /** Collection Address */
1012
- collection_address: string;
1013
- /** Token Id */
1014
- token_id: string;
1015
- token_standard?: components["schemas"]["TokenStandard"];
1016
- /** Owner */
1017
- owner?: string;
1018
- metadata?: components["schemas"]["zora__collect__contract__models__metadata__Metadata"];
1019
- mintable?: components["schemas"]["Mintable"];
1020
- media?: components["schemas"]["Media"];
1021
- };
1022
- /**
1023
- * TokenStandard
1024
- * @description An enumeration.
1025
- * @enum {string}
1026
- */
1027
- TokenStandard: "ERC721" | "ERC1155";
1028
- /** TokensResponse */
1029
- TokensResponse: {
1030
- /** Results */
1031
- results: components["schemas"]["TokenResult"][];
1032
- /** Limit */
1033
- limit: number;
1034
- /** Offset */
1035
- offset: number;
1036
- /** Has Next Page */
1037
- has_next_page: boolean;
1038
- /**
1039
- * Api Version
1040
- * @default 1
1041
- */
1042
- api_version?: number;
1043
- };
1044
- /** Transaction */
1045
- Transaction: {
1046
- /** Chain Name */
1047
- chain_name: string;
1048
- /** Transaction Hash */
1049
- transaction_hash: string;
1050
- /** Block Number */
1051
- block_number: number;
1052
- /** Block Timestamp */
1053
- block_timestamp: string;
1054
- };
1055
- /** TransactionInfo */
1056
- TransactionInfo: {
1057
- /** Block Number */
1058
- block_number: number;
1059
- /**
1060
- * Block Timestamp
1061
- * Format: date-time
1062
- */
1063
- block_timestamp: string;
1064
- /** Transaction Hash */
1065
- transaction_hash: string;
1066
- };
1067
- /** TrendingItem */
1068
- TrendingItem: {
1069
- /** Uuid */
1070
- uuid: string;
1071
- platform: components["schemas"]["Platform"];
1072
- /** Collection Address */
1073
- collection_address: string;
1074
- /** Token Id */
1075
- token_id?: string;
1076
- /** Name */
1077
- name: string;
1078
- /** Token Name */
1079
- token_name?: string;
1080
- /** Num Mints Last Hour */
1081
- num_mints_last_hour: number;
1082
- /**
1083
- * End Datetime
1084
- * Format: date-time
1085
- */
1086
- end_datetime?: string;
1087
- creator: components["schemas"]["Wallet"];
1088
- /** Num Mints */
1089
- num_mints: number;
1090
- /**
1091
- * Num Unique Minters In Window
1092
- * @default 0
1093
- */
1094
- num_unique_minters_in_window?: number;
1095
- /** Total Supply */
1096
- total_supply?: number;
1097
- /** Total Num Unique Collectors */
1098
- total_num_unique_collectors: number;
1099
- cost: components["schemas"]["zora__collect__trending__models__price_at_time__PriceAtTime"];
1100
- /** Latest Mints */
1101
- latest_mints: components["schemas"]["Mint"][];
1102
- /** Rank */
1103
- rank: number;
1104
- /** Trending Duration */
1105
- trending_duration: number;
1106
- chain_name?: components["schemas"]["ChainName"];
1107
- };
1108
- /** TrendingResponse */
1109
- TrendingResponse: {
1110
- /** Trending Items */
1111
- trending_items: components["schemas"]["TrendingItem"][];
1112
- };
1113
- /**
1114
- * TrendingWindow
1115
- * @description An enumeration.
1116
- * @enum {string}
1117
- */
1118
- TrendingWindow: "now" | "1h" | "1d" | "7d";
1119
- /** User */
1120
- User: {
1121
- /** Address */
1122
- address: string;
1123
- /** Total Minted */
1124
- total_minted: number;
1125
- /** Total Created */
1126
- total_created: number;
1127
- /** Total Owned */
1128
- total_owned: number;
1129
- first_transaction?: components["schemas"]["Transaction"];
1130
- ens_record?: components["schemas"]["ENSRecord"];
1131
- };
1132
- /** UserOwnedToken */
1133
- UserOwnedToken: {
1134
- /** Balance */
1135
- balance: number;
1136
- token: components["schemas"]["TokenResult"];
1137
- };
1138
- /** UserTokensResponse */
1139
- UserTokensResponse: {
1140
- /** Results */
1141
- results: components["schemas"]["UserOwnedToken"][];
1142
- /** Limit */
1143
- limit: number;
1144
- /** Offset */
1145
- offset: number;
1146
- /** Has Next Page */
1147
- has_next_page: boolean;
1148
- /**
1149
- * Api Version
1150
- * @default 1
1151
- */
1152
- api_version?: number;
1153
- };
1154
- /** ValidationError */
1155
- ValidationError: {
1156
- /** Location */
1157
- loc: (string | number)[];
1158
- /** Message */
1159
- msg: string;
1160
- /** Error Type */
1161
- type: string;
1162
- };
1163
- /** Wallet */
1164
- Wallet: {
1165
- /** Address */
1166
- address: string;
1167
- /** Ens */
1168
- ens?: string;
1169
- };
1170
- /** ZoraCreate1155MintContext */
1171
- ZoraCreate1155MintContext: {
1172
- /**
1173
- * Mint Context Type
1174
- * @default zora_create_1155
1175
- * @enum {string}
1176
- */
1177
- mint_context_type?: "zora_create_1155";
1178
- /** Renderer Contract */
1179
- renderer_contract?: string;
1180
- /** Permissions */
1181
- permissions: components["schemas"]["ZoraCreatePermissions"][];
1182
- /** Sale Strategies */
1183
- sale_strategies: components["schemas"]["SaleStrategies"][];
1184
- /** Royalties */
1185
- royalties: components["schemas"]["Royalties"][];
1186
- /** Contract Version */
1187
- contract_version: string;
1188
- /** Created At Block */
1189
- created_at_block: number;
1190
- /** Uri */
1191
- uri?: string;
1192
- /** B2R Redeemable */
1193
- b2r_redeemable?: boolean;
1194
- };
1195
- /** ZoraCreateMintContext */
1196
- ZoraCreateMintContext: {
1197
- /**
1198
- * Mint Context Type
1199
- * @default zora_create
1200
- * @enum {string}
1201
- */
1202
- mint_context_type?: "zora_create";
1203
- /** Purchase */
1204
- purchase: string;
1205
- /** Price Per Token */
1206
- price_per_token?: string;
1207
- /** Purchase Presale */
1208
- purchase_presale?: number;
1209
- /** Presale Merkle Root */
1210
- presale_merkle_root?: string;
1211
- /** Max Sale Purchase Per Address */
1212
- max_sale_purchase_per_address?: string;
1213
- /** Contract Version */
1214
- contract_version?: string;
1215
- };
1216
- /**
1217
- * ZoraCreatePermissions
1218
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
1219
- * (store_as, override_name), as well as provides other convinience methods.
1220
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
1221
- * complex type we include on a stored entity.
1222
- *
1223
- * Example::
1224
- * >>> class Foo(ObjectBase):
1225
- * ...: found_at_height: int = field(override_name="address", store_as=str)
1226
- * ...: other: str = "default"
1227
- */
1228
- ZoraCreatePermissions: {
1229
- /** User */
1230
- user?: string;
1231
- /** Token Id */
1232
- token_id?: number;
1233
- /** Is Admin */
1234
- is_admin?: boolean;
1235
- /** Is Minter */
1236
- is_minter?: boolean;
1237
- /** Is Sales Manager */
1238
- is_sales_manager?: boolean;
1239
- /** Is Metadata Manager */
1240
- is_metadata_manager?: boolean;
1241
- /** Is Funds Manager */
1242
- is_funds_manager?: boolean;
1243
- };
1244
- /**
1245
- * ZoraCreatePremintContext
1246
- * @description ObjectBase extends Pydantic's BaseModel class to support extra functionality
1247
- * (store_as, override_name), as well as provides other convinience methods.
1248
- * ObjectBase allows for validation and type enforcement, and should be used inheritedfor any
1249
- * complex type we include on a stored entity.
1250
- *
1251
- * Example::
1252
- * >>> class Foo(ObjectBase):
1253
- * ...: found_at_height: int = field(override_name="address", store_as=str)
1254
- * ...: other: str = "default"
1255
- */
1256
- ZoraCreatePremintContext: {
1257
- /**
1258
- * Mint Context Type
1259
- * @default zora_create_premint
1260
- * @enum {string}
1261
- */
1262
- mint_context_type?: "zora_create_premint";
1263
- collection: components["schemas"]["CollectionCreationConfig"];
1264
- premint: components["schemas"]["PremintConfig"];
1265
- chain_name: components["schemas"]["ChainName"];
1266
- /** Signature */
1267
- signature: string;
1268
- };
1269
- /** Metadata */
1270
- zora__collect__contract__models__metadata__Metadata: {
1271
- /** Name */
1272
- name?: string;
1273
- /** Description */
1274
- description?: string;
1275
- /** Attributes */
1276
- attributes: components["schemas"]["MediaAttribute"][];
1277
- };
1278
- /** Currency */
1279
- zora__collect__feed__models__price_at_time__Currency: {
1280
- /** Name */
1281
- name?: string;
1282
- /** Address */
1283
- address: string;
1284
- /**
1285
- * Decimals
1286
- * @default 18
1287
- */
1288
- decimals?: number;
1289
- };
1290
- /** CurrencyAmount */
1291
- zora__collect__feed__models__price_at_time__CurrencyAmount: {
1292
- currency: components["schemas"]["zora__collect__feed__models__price_at_time__Currency"];
1293
- /** Raw */
1294
- raw: string;
1295
- /** Decimal */
1296
- decimal: number;
1297
- };
1298
- /** PriceAtTime */
1299
- zora__collect__feed__models__price_at_time__PriceAtTime: {
1300
- native_price: components["schemas"]["zora__collect__feed__models__price_at_time__CurrencyAmount"];
1301
- /** Block Number */
1302
- block_number: number;
1303
- eth_price?: components["schemas"]["zora__collect__feed__models__price_at_time__CurrencyAmount"];
1304
- usdc_price?: components["schemas"]["zora__collect__feed__models__price_at_time__CurrencyAmount"];
1305
- };
1306
- /** MediaURI */
1307
- zora__collect__trending__models__models__MediaURI: {
1308
- /** Raw */
1309
- raw: string;
1310
- /** Mime Type */
1311
- mime_type?: string;
1312
- /** Encoded Large */
1313
- encoded_large?: string;
1314
- /** Encoded Preview */
1315
- encoded_preview?: string;
1316
- };
1317
- /** Currency */
1318
- zora__collect__trending__models__price_at_time__Currency: {
1319
- /** Name */
1320
- name?: string;
1321
- /** Address */
1322
- address: string;
1323
- /**
1324
- * Decimals
1325
- * @default 18
1326
- */
1327
- decimals?: number;
1328
- };
1329
- /** CurrencyAmount */
1330
- zora__collect__trending__models__price_at_time__CurrencyAmount: {
1331
- currency: components["schemas"]["zora__collect__trending__models__price_at_time__Currency"];
1332
- /** Raw */
1333
- raw: string;
1334
- /** Decimal */
1335
- decimal: number;
1336
- };
1337
- /** PriceAtTime */
1338
- zora__collect__trending__models__price_at_time__PriceAtTime: {
1339
- native_price: components["schemas"]["zora__collect__trending__models__price_at_time__CurrencyAmount"];
1340
- /** Block Number */
1341
- block_number: number;
1342
- eth_price?: components["schemas"]["zora__collect__trending__models__price_at_time__CurrencyAmount"];
1343
- usdc_price?: components["schemas"]["zora__collect__trending__models__price_at_time__CurrencyAmount"];
1344
- };
1345
- /** Metadata */
1346
- zora__ethereum__models__metadata__Metadata: {
1347
- /** Name */
1348
- name: string;
1349
- };
1350
- /** MediaURI */
1351
- zora__media_encoding__media__MediaURI: {
1352
- /** Raw */
1353
- raw: string;
1354
- /** Mime Type */
1355
- mime_type?: string;
1356
- /** Encoded Large */
1357
- encoded_large?: string;
1358
- /** Encoded Preview */
1359
- encoded_preview?: string;
1360
- /** Encoded Thumbnail */
1361
- encoded_thumbnail?: string;
1362
- };
1363
- };
1364
- responses: never;
1365
- parameters: never;
1366
- requestBodies: never;
1367
- headers: never;
1368
- pathItems: never;
1369
- }
1370
- export type $defs = Record<string, never>;
1371
- export type external = Record<string, never>;
1372
- export interface operations {
1373
- /** Root */
1374
- root__get: {
1375
- responses: {
1376
- /** @description Successful Response */
1377
- 200: {
1378
- content: {
1379
- "application/json": unknown;
1380
- };
1381
- };
1382
- };
1383
- };
1384
- /** Get Feed */
1385
- get_feed_feed_get: {
1386
- parameters: {
1387
- query?: {
1388
- offset?: number;
1389
- limit?: number;
1390
- mintable_types?: components["schemas"]["MintableType"][];
1391
- feed_type?: components["schemas"]["FeedType"];
1392
- allow_expired?: boolean;
1393
- chain?: components["schemas"]["Chain"];
1394
- network?: components["schemas"]["Network"];
1395
- };
1396
- cookie?: {
1397
- device_id?: string;
1398
- session_id?: string;
1399
- wallet_address?: string;
1400
- };
1401
- };
1402
- responses: {
1403
- /** @description Successful Response */
1404
- 200: {
1405
- content: {
1406
- "application/json": components["schemas"]["FeedResponse"];
1407
- };
1408
- };
1409
- /** @description Validation Error */
1410
- 422: {
1411
- content: {
1412
- "application/json": components["schemas"]["HTTPValidationError"];
1413
- };
1414
- };
1415
- };
1416
- };
1417
- /** Gen Relevant Mintables */
1418
- gen_relevant_mintables_relevant_mintables__chain_name___collection_address___token_id__get: {
1419
- parameters: {
1420
- path: {
1421
- chain_name: components["schemas"]["ChainName"];
1422
- collection_address: string;
1423
- token_id: string;
1424
- };
1425
- };
1426
- responses: {
1427
- /** @description Successful Response */
1428
- 200: {
1429
- content: {
1430
- "application/json": components["schemas"]["FeedResponse"];
1431
- };
1432
- };
1433
- /** @description Validation Error */
1434
- 422: {
1435
- content: {
1436
- "application/json": components["schemas"]["HTTPValidationError"];
1437
- };
1438
- };
1439
- };
1440
- };
1441
- /** Gen Relevant Mintables */
1442
- gen_relevant_mintables_relevant_mintables__chain_name___collection_address__get: {
1443
- parameters: {
1444
- query?: {
1445
- token_id?: string;
1446
- };
1447
- path: {
1448
- chain_name: components["schemas"]["ChainName"];
1449
- collection_address: string;
1450
- };
1451
- };
1452
- responses: {
1453
- /** @description Successful Response */
1454
- 200: {
1455
- content: {
1456
- "application/json": components["schemas"]["FeedResponse"];
1457
- };
1458
- };
1459
- /** @description Validation Error */
1460
- 422: {
1461
- content: {
1462
- "application/json": components["schemas"]["HTTPValidationError"];
1463
- };
1464
- };
1465
- };
1466
- };
1467
- /** Gen Feed Item Check */
1468
- gen_feed_item_check_feed_item_check__chain_name___collection_address___token_id__get: {
1469
- parameters: {
1470
- path: {
1471
- chain_name: components["schemas"]["ChainName"];
1472
- collection_address: string;
1473
- token_id: string;
1474
- };
1475
- };
1476
- responses: {
1477
- /** @description Successful Response */
1478
- 200: {
1479
- content: {
1480
- "application/json": components["schemas"]["FeedItemCheck"];
1481
- };
1482
- };
1483
- /** @description Validation Error */
1484
- 422: {
1485
- content: {
1486
- "application/json": components["schemas"]["HTTPValidationError"];
1487
- };
1488
- };
1489
- };
1490
- };
1491
- /** Gen Feed Item Check */
1492
- gen_feed_item_check_feed_item_check__chain_name___collection_address__get: {
1493
- parameters: {
1494
- query?: {
1495
- token_id?: string;
1496
- };
1497
- path: {
1498
- chain_name: components["schemas"]["ChainName"];
1499
- collection_address: string;
1500
- };
1501
- };
1502
- responses: {
1503
- /** @description Successful Response */
1504
- 200: {
1505
- content: {
1506
- "application/json": components["schemas"]["FeedItemCheck"];
1507
- };
1508
- };
1509
- /** @description Validation Error */
1510
- 422: {
1511
- content: {
1512
- "application/json": components["schemas"]["HTTPValidationError"];
1513
- };
1514
- };
1515
- };
1516
- };
1517
- /** Gen Mintable */
1518
- gen_mintable_mintables__chain_name___collection_address___token_id__get: {
1519
- parameters: {
1520
- query?: {
1521
- mintable_type?: string;
1522
- };
1523
- path: {
1524
- chain_name: components["schemas"]["ChainName"];
1525
- collection_address: string;
1526
- token_id: string;
1527
- };
1528
- cookie?: {
1529
- device_id?: string;
1530
- session_id?: string;
1531
- wallet_address?: string;
1532
- };
1533
- };
1534
- responses: {
1535
- /** @description Successful Response */
1536
- 200: {
1537
- content: {
1538
- "application/json": components["schemas"]["Mintable"];
1539
- };
1540
- };
1541
- /** @description Validation Error */
1542
- 422: {
1543
- content: {
1544
- "application/json": components["schemas"]["HTTPValidationError"];
1545
- };
1546
- };
1547
- };
1548
- };
1549
- /** Gen Mintable */
1550
- gen_mintable_mintables__chain_name___collection_address__get: {
1551
- parameters: {
1552
- query?: {
1553
- token_id?: string;
1554
- mintable_type?: string;
1555
- };
1556
- path: {
1557
- chain_name: components["schemas"]["ChainName"];
1558
- collection_address: string;
1559
- };
1560
- cookie?: {
1561
- device_id?: string;
1562
- session_id?: string;
1563
- wallet_address?: string;
1564
- };
1565
- };
1566
- responses: {
1567
- /** @description Successful Response */
1568
- 200: {
1569
- content: {
1570
- "application/json": components["schemas"]["Mintable"];
1571
- };
1572
- };
1573
- /** @description Validation Error */
1574
- 422: {
1575
- content: {
1576
- "application/json": components["schemas"]["HTTPValidationError"];
1577
- };
1578
- };
1579
- };
1580
- };
1581
- /** Gen All Mintables */
1582
- gen_all_mintables_premints__chain_name__get: {
1583
- parameters: {
1584
- query?: {
1585
- limit?: number;
1586
- sort_direction?: components["schemas"]["SortDirection"];
1587
- signer?: string;
1588
- cursor?: string;
1589
- };
1590
- path: {
1591
- chain_name: components["schemas"]["ChainName"];
1592
- };
1593
- };
1594
- responses: {
1595
- /** @description Successful Response */
1596
- 200: {
1597
- content: {
1598
- "application/json": components["schemas"]["InfinitePage_Mintable_"];
1599
- };
1600
- };
1601
- /** @description Validation Error */
1602
- 422: {
1603
- content: {
1604
- "application/json": components["schemas"]["HTTPValidationError"];
1605
- };
1606
- };
1607
- };
1608
- };
1609
- /** Gen Mintable V2 */
1610
- gen_mintable_v2_mintables_v2__chain_name___collection_address__get: {
1611
- parameters: {
1612
- query?: {
1613
- token_id?: string;
1614
- };
1615
- path: {
1616
- chain_name: components["schemas"]["ChainName"];
1617
- collection_address: string;
1618
- };
1619
- };
1620
- responses: {
1621
- /** @description Successful Response */
1622
- 200: {
1623
- content: {
1624
- "application/json": components["schemas"]["FeedResult"];
1625
- };
1626
- };
1627
- /** @description Validation Error */
1628
- 422: {
1629
- content: {
1630
- "application/json": components["schemas"]["HTTPValidationError"];
1631
- };
1632
- };
1633
- };
1634
- };
1635
- /** Gen Backfill Contract */
1636
- gen_backfill_contract_contract_backfill_post: {
1637
- parameters: {
1638
- query: {
1639
- chain_name: components["schemas"]["ChainName"];
1640
- collection_address: string;
1641
- };
1642
- };
1643
- responses: {
1644
- /** @description Successful Response */
1645
- 200: {
1646
- content: {
1647
- "application/json": components["schemas"]["ContractBackfillResponse"];
1648
- };
1649
- };
1650
- /** @description Validation Error */
1651
- 422: {
1652
- content: {
1653
- "application/json": components["schemas"]["HTTPValidationError"];
1654
- };
1655
- };
1656
- };
1657
- };
1658
- /** Get Contract */
1659
- get_contract_contract__chain_name___collection_address__get: {
1660
- parameters: {
1661
- query?: {
1662
- token_id?: string;
1663
- };
1664
- path: {
1665
- chain_name: components["schemas"]["ChainName"];
1666
- collection_address: string;
1667
- };
1668
- };
1669
- responses: {
1670
- /** @description Successful Response */
1671
- 200: {
1672
- content: {
1673
- "application/json": components["schemas"]["ContractResult"];
1674
- };
1675
- };
1676
- /** @description Validation Error */
1677
- 422: {
1678
- content: {
1679
- "application/json": components["schemas"]["HTTPValidationError"];
1680
- };
1681
- };
1682
- };
1683
- };
1684
- /** Gen Contract Summaries */
1685
- gen_contract_summaries_contract_summaries_post: {
1686
- requestBody: {
1687
- content: {
1688
- "application/json": components["schemas"]["CollectionTokenId"][];
1689
- };
1690
- };
1691
- responses: {
1692
- /** @description Successful Response */
1693
- 200: {
1694
- content: {
1695
- "application/json": components["schemas"]["ContractSummaryResponse"];
1696
- };
1697
- };
1698
- /** @description Validation Error */
1699
- 422: {
1700
- content: {
1701
- "application/json": components["schemas"]["HTTPValidationError"];
1702
- };
1703
- };
1704
- };
1705
- };
1706
- /**
1707
- * Gen Mint Counts
1708
- * @deprecated
1709
- * @description Use /contract_summaries instead
1710
- */
1711
- gen_mint_counts_mint_counts_post: {
1712
- requestBody: {
1713
- content: {
1714
- "application/json": components["schemas"]["ContractQueryPayload"][];
1715
- };
1716
- };
1717
- responses: {
1718
- /** @description Successful Response */
1719
- 200: {
1720
- content: {
1721
- "application/json": components["schemas"]["MintCountsOutput"];
1722
- };
1723
- };
1724
- /** @description Validation Error */
1725
- 422: {
1726
- content: {
1727
- "application/json": components["schemas"]["HTTPValidationError"];
1728
- };
1729
- };
1730
- };
1731
- };
1732
- /** Gen Contracts */
1733
- gen_contracts_contracts_post: {
1734
- requestBody: {
1735
- content: {
1736
- "application/json": components["schemas"]["ContractQueryPayload"][];
1737
- };
1738
- };
1739
- responses: {
1740
- /** @description Successful Response */
1741
- 200: {
1742
- content: {
1743
- "application/json": components["schemas"]["ContractsQueryOutput"];
1744
- };
1745
- };
1746
- /** @description Validation Error */
1747
- 422: {
1748
- content: {
1749
- "application/json": components["schemas"]["HTTPValidationError"];
1750
- };
1751
- };
1752
- };
1753
- };
1754
- /** Gen Contract Tokens */
1755
- gen_contract_tokens_tokens__chain_name___collection_address__get: {
1756
- parameters: {
1757
- query?: {
1758
- offset?: number;
1759
- limit?: number;
1760
- sort_key?: components["schemas"]["MintableSortKey"];
1761
- sort_direction?: components["schemas"]["SortDirection"];
1762
- };
1763
- path: {
1764
- chain_name: components["schemas"]["ChainName"];
1765
- collection_address: string;
1766
- };
1767
- };
1768
- responses: {
1769
- /** @description Successful Response */
1770
- 200: {
1771
- content: {
1772
- "application/json": components["schemas"]["TokensResponse"];
1773
- };
1774
- };
1775
- /** @description Validation Error */
1776
- 422: {
1777
- content: {
1778
- "application/json": components["schemas"]["HTTPValidationError"];
1779
- };
1780
- };
1781
- };
1782
- };
1783
- /** Get User */
1784
- get_user_user__wallet__get: {
1785
- parameters: {
1786
- query?: {
1787
- chain_names?: components["schemas"]["ChainName"][];
1788
- ens_chain_name?: components["schemas"]["ChainName"];
1789
- chain_name?: components["schemas"]["ChainName"];
1790
- };
1791
- path: {
1792
- wallet: string;
1793
- };
1794
- };
1795
- responses: {
1796
- /** @description Successful Response */
1797
- 200: {
1798
- content: {
1799
- "application/json": components["schemas"]["User"];
1800
- };
1801
- };
1802
- /** @description Validation Error */
1803
- 422: {
1804
- content: {
1805
- "application/json": components["schemas"]["HTTPValidationError"];
1806
- };
1807
- };
1808
- };
1809
- };
1810
- /** Gen User Tokens */
1811
- gen_user_tokens_user__wallet_address__tokens_get: {
1812
- parameters: {
1813
- query?: {
1814
- chain_names?: components["schemas"]["ChainName"][];
1815
- offset?: number;
1816
- limit?: number;
1817
- sort_direction?: components["schemas"]["SortDirection"];
1818
- };
1819
- path: {
1820
- wallet_address: string;
1821
- };
1822
- };
1823
- responses: {
1824
- /** @description Successful Response */
1825
- 200: {
1826
- content: {
1827
- "application/json": components["schemas"]["UserTokensResponse"];
1828
- };
1829
- };
1830
- /** @description Validation Error */
1831
- 422: {
1832
- content: {
1833
- "application/json": components["schemas"]["HTTPValidationError"];
1834
- };
1835
- };
1836
- };
1837
- };
1838
- /** Gen User Contracts */
1839
- gen_user_contracts_user__wallet_address__contracts_get: {
1840
- parameters: {
1841
- query?: {
1842
- chain_names?: components["schemas"]["ChainName"][];
1843
- offset?: number;
1844
- limit?: number;
1845
- sort_direction?: components["schemas"]["SortDirection"];
1846
- };
1847
- path: {
1848
- wallet_address: string;
1849
- };
1850
- };
1851
- responses: {
1852
- /** @description Successful Response */
1853
- 200: {
1854
- content: {
1855
- "application/json": components["schemas"]["ContractsResponse"];
1856
- };
1857
- };
1858
- /** @description Validation Error */
1859
- 422: {
1860
- content: {
1861
- "application/json": components["schemas"]["HTTPValidationError"];
1862
- };
1863
- };
1864
- };
1865
- };
1866
- /** Gen Trending */
1867
- gen_trending_trending_get: {
1868
- parameters: {
1869
- query?: {
1870
- trending_window?: components["schemas"]["TrendingWindow"];
1871
- chain_names?: unknown;
1872
- multichain?: unknown;
1873
- };
1874
- cookie?: {
1875
- wallet_address?: string;
1876
- };
1877
- };
1878
- responses: {
1879
- /** @description Successful Response */
1880
- 200: {
1881
- content: {
1882
- "application/json": components["schemas"]["TrendingResponse"];
1883
- };
1884
- };
1885
- /** @description Validation Error */
1886
- 422: {
1887
- content: {
1888
- "application/json": components["schemas"]["HTTPValidationError"];
1889
- };
1890
- };
1891
- };
1892
- };
1893
- /** Gen Trending Feed */
1894
- gen_trending_feed_trending_feed_get: {
1895
- parameters: {
1896
- query?: {
1897
- trending_window?: components["schemas"]["TrendingWindow"];
1898
- chain_names?: unknown;
1899
- multichain?: unknown;
1900
- };
1901
- };
1902
- responses: {
1903
- /** @description Successful Response */
1904
- 200: {
1905
- content: {
1906
- "application/json": components["schemas"]["FeedResponse"];
1907
- };
1908
- };
1909
- /** @description Validation Error */
1910
- 422: {
1911
- content: {
1912
- "application/json": components["schemas"]["HTTPValidationError"];
1913
- };
1914
- };
1915
- };
1916
- };
1917
- /** Gen Search */
1918
- gen_search_search_get: {
1919
- parameters: {
1920
- query: {
1921
- text: string;
1922
- chain_names?: components["schemas"]["ChainName"][];
1923
- offset?: number;
1924
- limit?: number;
1925
- sort_key?: components["schemas"]["SearchSortKey"];
1926
- };
1927
- cookie?: {
1928
- device_id?: string;
1929
- session_id?: string;
1930
- wallet_address?: string;
1931
- };
1932
- };
1933
- responses: {
1934
- /** @description Successful Response */
1935
- 200: {
1936
- content: {
1937
- "application/json": components["schemas"]["SearchResponse"];
1938
- };
1939
- };
1940
- /** @description Validation Error */
1941
- 422: {
1942
- content: {
1943
- "application/json": components["schemas"]["HTTPValidationError"];
1944
- };
1945
- };
1946
- };
1947
- };
1948
- /** Stream Token Mint */
1949
- stream_token_mint_stream_token_mint__chain_name___collection_address__get: {
1950
- parameters: {
1951
- query?: {
1952
- token_id?: string;
1953
- timeout?: number;
1954
- };
1955
- path: {
1956
- chain_name: components["schemas"]["ChainName"];
1957
- collection_address: string;
1958
- };
1959
- };
1960
- responses: {
1961
- /** @description Successful Response */
1962
- 200: {
1963
- content: {
1964
- "application/json": components["schemas"]["SimpleResponse"];
1965
- };
1966
- };
1967
- /** @description Validation Error */
1968
- 422: {
1969
- content: {
1970
- "application/json": components["schemas"]["HTTPValidationError"];
1971
- };
1972
- };
1973
- };
1974
- };
1975
- /** Gen Token Mints */
1976
- gen_token_mints_token_mints__chain_name___collection_address__get: {
1977
- parameters: {
1978
- query?: {
1979
- token_id?: string;
1980
- limit?: number;
1981
- sort_direction?: components["schemas"]["SortDirection"];
1982
- cursor?: string;
1983
- };
1984
- path: {
1985
- chain_name: components["schemas"]["ChainName"];
1986
- collection_address: string;
1987
- };
1988
- };
1989
- responses: {
1990
- /** @description Successful Response */
1991
- 200: {
1992
- content: {
1993
- "application/json": components["schemas"]["InfinitePageWithTotal_TokenMint_"];
1994
- };
1995
- };
1996
- /** @description Validation Error */
1997
- 422: {
1998
- content: {
1999
- "application/json": components["schemas"]["HTTPValidationError"];
2000
- };
2001
- };
2002
- };
2003
- };
2004
- /** Stream Mint Comment */
2005
- stream_mint_comment_stream_mint_comment__chain_name___collection_address__get: {
2006
- parameters: {
2007
- query?: {
2008
- token_id?: string;
2009
- timeout?: number;
2010
- };
2011
- path: {
2012
- chain_name: components["schemas"]["ChainName"];
2013
- collection_address: string;
2014
- };
2015
- };
2016
- responses: {
2017
- /** @description Successful Response */
2018
- 200: {
2019
- content: {
2020
- "application/json": components["schemas"]["SimpleResponse"];
2021
- };
2022
- };
2023
- /** @description Validation Error */
2024
- 422: {
2025
- content: {
2026
- "application/json": components["schemas"]["HTTPValidationError"];
2027
- };
2028
- };
2029
- };
2030
- };
2031
- /** Gen Mint Comments */
2032
- gen_mint_comments_mint_comments__chain_name___collection_address__get: {
2033
- parameters: {
2034
- query?: {
2035
- token_id?: string;
2036
- limit?: number;
2037
- sort_direction?: components["schemas"]["SortDirection"];
2038
- cursor?: string;
2039
- };
2040
- path: {
2041
- chain_name: components["schemas"]["ChainName"];
2042
- collection_address: string;
2043
- };
2044
- };
2045
- responses: {
2046
- /** @description Successful Response */
2047
- 200: {
2048
- content: {
2049
- "application/json": components["schemas"]["InfinitePageWithTotal_MintComment_"];
2050
- };
2051
- };
2052
- /** @description Validation Error */
2053
- 422: {
2054
- content: {
2055
- "application/json": components["schemas"]["HTTPValidationError"];
2056
- };
2057
- };
2058
- };
2059
- };
2060
- /** Gen Notifications */
2061
- gen_notifications_notifications_get: {
2062
- parameters: {
2063
- query?: {
2064
- chain_names?: components["schemas"]["ChainName"][];
2065
- limit?: number;
2066
- sort_direction?: components["schemas"]["SortDirection"];
2067
- cursor?: string;
2068
- };
2069
- };
2070
- responses: {
2071
- /** @description Successful Response */
2072
- 200: {
2073
- content: {
2074
- "application/json": components["schemas"]["NotificationsResponse"];
2075
- };
2076
- };
2077
- /** @description Validation Error */
2078
- 422: {
2079
- content: {
2080
- "application/json": components["schemas"]["HTTPValidationError"];
2081
- };
2082
- };
2083
- };
2084
- };
2085
- /** Stream Notification */
2086
- stream_notification_stream_notifications_get: {
2087
- parameters: {
2088
- query?: {
2089
- chain_names?: components["schemas"]["ChainName"][];
2090
- timeout?: number;
2091
- };
2092
- };
2093
- responses: {
2094
- /** @description Successful Response */
2095
- 200: {
2096
- content: {
2097
- "application/json": components["schemas"]["SimpleResponse"];
2098
- };
2099
- };
2100
- /** @description Validation Error */
2101
- 422: {
2102
- content: {
2103
- "application/json": components["schemas"]["HTTPValidationError"];
2104
- };
2105
- };
2106
- };
2107
- };
2108
- /** Refresh Blocklist */
2109
- refresh_blocklist_refresh_blocklist_get: {
2110
- responses: {
2111
- /** @description Successful Response */
2112
- 200: {
2113
- content: {
2114
- "application/json": unknown;
2115
- };
2116
- };
2117
- };
2118
- };
2119
- /** Schema */
2120
- schema_schema_get: {
2121
- responses: {
2122
- /** @description Successful Response */
2123
- 200: {
2124
- content: {
2125
- "application/json": unknown;
2126
- };
2127
- };
2128
- };
2129
- };
2130
- }
2131
- //# sourceMappingURL=discover-api-types.d.ts.map