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