@medialane/ui 0.311.0 → 0.312.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 (41) hide show
  1. package/dist/components/account/input-otp.d.cts +2 -2
  2. package/dist/components/account/input-otp.d.ts +2 -2
  3. package/dist/components/button.d.cts +2 -2
  4. package/dist/components/button.d.ts +2 -2
  5. package/dist/components/launchpad/edition-mint-schema.d.cts +19 -19
  6. package/dist/components/launchpad/edition-mint-schema.d.ts +19 -19
  7. package/dist/components/launchpad/pop-create-schema.d.cts +10 -10
  8. package/dist/components/launchpad/pop-create-schema.d.ts +10 -10
  9. package/dist/components/media-wallet/media-wallet-send.cjs +2 -5
  10. package/dist/components/media-wallet/media-wallet-send.cjs.map +1 -1
  11. package/dist/components/media-wallet/media-wallet-send.js +2 -5
  12. package/dist/components/media-wallet/media-wallet-send.js.map +1 -1
  13. package/dist/components/transfer-collection-ownership.cjs +1 -1
  14. package/dist/components/transfer-collection-ownership.cjs.map +1 -1
  15. package/dist/components/transfer-collection-ownership.js +1 -1
  16. package/dist/components/transfer-collection-ownership.js.map +1 -1
  17. package/dist/index.d.cts +0 -1
  18. package/dist/index.d.ts +0 -1
  19. package/dist/utils/media-wallet/use-erc20-balance.d.cts +1 -1
  20. package/dist/utils/media-wallet/use-erc20-balance.d.ts +1 -1
  21. package/dist/utils/send-token.cjs +40 -0
  22. package/dist/utils/send-token.cjs.map +1 -0
  23. package/dist/utils/send-token.d.cts +19 -0
  24. package/dist/utils/send-token.d.ts +19 -0
  25. package/dist/utils/send-token.js +16 -0
  26. package/dist/utils/send-token.js.map +1 -0
  27. package/dist/utils/use-collection-settings.d.cts +19 -19
  28. package/dist/utils/use-collection-settings.d.ts +19 -19
  29. package/dist/utils/use-collections.d.cts +212 -205
  30. package/dist/utils/use-collections.d.ts +212 -205
  31. package/dist/utils/use-orders.d.cts +299 -299
  32. package/dist/utils/use-orders.d.ts +299 -299
  33. package/dist/utils/use-pop.d.cts +57 -55
  34. package/dist/utils/use-pop.d.ts +57 -55
  35. package/dist/utils/use-tiers.d.cts +76 -73
  36. package/dist/utils/use-tiers.d.ts +76 -73
  37. package/dist/utils/use-tokens-by-ip-type.d.cts +78 -77
  38. package/dist/utils/use-tokens-by-ip-type.d.ts +78 -77
  39. package/dist/utils/use-tokens.d.cts +234 -229
  40. package/dist/utils/use-tokens.d.ts +234 -229
  41. package/package.json +3 -3
@@ -1,91 +1,91 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import * as _medialane_sdk from '@medialane/sdk';
3
3
  import * as swr from 'swr';
4
- import * as zod from 'zod';
5
4
 
6
5
  declare function useToken(contract: string | null, tokenId: string | null): {
7
6
  token: {
7
+ id: string;
8
8
  chain: string;
9
+ contractAddress: string;
9
10
  tokenId: string;
10
11
  owner: string | null;
11
12
  tokenUri: string | null;
12
- contractAddress: string;
13
- id: string;
14
- createdAt: string;
15
- updatedAt: string;
16
13
  metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
17
14
  standard: "ERC721" | "ERC1155" | null;
18
15
  metadata: {
19
16
  name: string | null;
20
17
  description: string | null;
21
18
  image: string | null;
22
- author: string | null;
23
19
  animationUrl: string | null;
24
- attributes: zod.objectOutputType<{
25
- trait_type: zod.ZodString;
26
- value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
27
- display_type: zod.ZodOptional<zod.ZodString>;
28
- }, zod.ZodTypeAny, "passthrough">[] | null;
20
+ attributes: {
21
+ [x: string]: unknown;
22
+ trait_type: string;
23
+ value: string | number | boolean;
24
+ display_type?: string | undefined;
25
+ }[] | null;
29
26
  ipType: string | null;
30
27
  licenseType: string | null;
31
28
  commercialUse: boolean | null;
29
+ author: string | null;
32
30
  externalUrl: string | null;
33
31
  };
34
32
  balances: {
35
- amount: string;
36
33
  owner: string;
34
+ amount: string;
37
35
  }[] | null;
38
36
  activeOrders: {
39
- status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
37
+ id: string;
40
38
  chain: string;
41
- offerer: string;
42
- nftContract: string | null;
43
- price: {
44
- currency: string | null;
45
- raw: string | null;
46
- formatted: string | null;
47
- decimals: number;
48
- };
49
- endTime: string;
50
- fulfiller: string | null;
51
39
  orderHash: string;
52
- startTime: string;
53
- txHash: {
54
- created: string | null;
55
- fulfilled: string | null;
56
- cancelled: string | null;
57
- };
58
- token: {
59
- name: string | null;
60
- description: string | null;
61
- image: string | null;
62
- animationUrl: string | null;
63
- } | null;
40
+ offerer: string;
64
41
  offer: {
65
- token: string;
66
42
  itemType: string;
43
+ token: string;
67
44
  identifier: string;
68
45
  startAmount: string;
69
46
  endAmount: string;
70
47
  };
71
- id: string;
72
48
  consideration: {
73
- recipient: string;
74
- token: string;
75
49
  itemType: string;
50
+ token: string;
76
51
  identifier: string;
77
52
  startAmount: string;
78
53
  endAmount: string;
54
+ recipient: string;
79
55
  };
56
+ startTime: string;
57
+ endTime: string;
58
+ status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
59
+ fulfiller: string | null;
60
+ nftContract: string | null;
80
61
  nftTokenId: string | null;
62
+ price: {
63
+ raw: string | null;
64
+ formatted: string | null;
65
+ currency: string | null;
66
+ decimals: number;
67
+ };
68
+ txHash: {
69
+ created: string | null;
70
+ fulfilled: string | null;
71
+ cancelled: string | null;
72
+ };
81
73
  createdBlockNumber: string;
82
74
  remainingAmount: string | null;
83
75
  createdAt: string;
84
76
  updatedAt: string;
77
+ token: {
78
+ name: string | null;
79
+ image: string | null;
80
+ description: string | null;
81
+ animationUrl: string | null;
82
+ } | null;
85
83
  parentOrderHash?: string | null | undefined;
86
84
  counterOfferMessage?: string | null | undefined;
87
85
  hasActiveCounterOffer?: boolean | undefined;
88
86
  }[];
87
+ createdAt: string;
88
+ updatedAt: string;
89
89
  holderCount?: number | undefined;
90
90
  supply?: string | undefined;
91
91
  } | null;
@@ -93,87 +93,88 @@ declare function useToken(contract: string | null, tokenId: string | null): {
93
93
  isIndexing: boolean;
94
94
  error: any;
95
95
  mutate: swr.KeyedMutator<{
96
+ id: string;
96
97
  chain: string;
98
+ contractAddress: string;
97
99
  tokenId: string;
98
100
  owner: string | null;
99
101
  tokenUri: string | null;
100
- contractAddress: string;
101
- id: string;
102
- createdAt: string;
103
- updatedAt: string;
104
102
  metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
105
103
  standard: "ERC721" | "ERC1155" | null;
106
104
  metadata: {
107
105
  name: string | null;
108
106
  description: string | null;
109
107
  image: string | null;
110
- author: string | null;
111
108
  animationUrl: string | null;
112
- attributes: zod.objectOutputType<{
113
- trait_type: zod.ZodString;
114
- value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
115
- display_type: zod.ZodOptional<zod.ZodString>;
116
- }, zod.ZodTypeAny, "passthrough">[] | null;
109
+ attributes: {
110
+ [x: string]: unknown;
111
+ trait_type: string;
112
+ value: string | number | boolean;
113
+ display_type?: string | undefined;
114
+ }[] | null;
117
115
  ipType: string | null;
118
116
  licenseType: string | null;
119
117
  commercialUse: boolean | null;
118
+ author: string | null;
120
119
  externalUrl: string | null;
121
120
  };
122
121
  balances: {
123
- amount: string;
124
122
  owner: string;
123
+ amount: string;
125
124
  }[] | null;
126
125
  activeOrders: {
127
- status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
126
+ id: string;
128
127
  chain: string;
129
- offerer: string;
130
- nftContract: string | null;
131
- price: {
132
- currency: string | null;
133
- raw: string | null;
134
- formatted: string | null;
135
- decimals: number;
136
- };
137
- endTime: string;
138
- fulfiller: string | null;
139
128
  orderHash: string;
140
- startTime: string;
141
- txHash: {
142
- created: string | null;
143
- fulfilled: string | null;
144
- cancelled: string | null;
145
- };
146
- token: {
147
- name: string | null;
148
- description: string | null;
149
- image: string | null;
150
- animationUrl: string | null;
151
- } | null;
129
+ offerer: string;
152
130
  offer: {
153
- token: string;
154
131
  itemType: string;
132
+ token: string;
155
133
  identifier: string;
156
134
  startAmount: string;
157
135
  endAmount: string;
158
136
  };
159
- id: string;
160
137
  consideration: {
161
- recipient: string;
162
- token: string;
163
138
  itemType: string;
139
+ token: string;
164
140
  identifier: string;
165
141
  startAmount: string;
166
142
  endAmount: string;
143
+ recipient: string;
167
144
  };
145
+ startTime: string;
146
+ endTime: string;
147
+ status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
148
+ fulfiller: string | null;
149
+ nftContract: string | null;
168
150
  nftTokenId: string | null;
151
+ price: {
152
+ raw: string | null;
153
+ formatted: string | null;
154
+ currency: string | null;
155
+ decimals: number;
156
+ };
157
+ txHash: {
158
+ created: string | null;
159
+ fulfilled: string | null;
160
+ cancelled: string | null;
161
+ };
169
162
  createdBlockNumber: string;
170
163
  remainingAmount: string | null;
171
164
  createdAt: string;
172
165
  updatedAt: string;
166
+ token: {
167
+ name: string | null;
168
+ image: string | null;
169
+ description: string | null;
170
+ animationUrl: string | null;
171
+ } | null;
173
172
  parentOrderHash?: string | null | undefined;
174
173
  counterOfferMessage?: string | null | undefined;
175
174
  hasActiveCounterOffer?: boolean | undefined;
176
175
  }[];
176
+ createdAt: string;
177
+ updatedAt: string;
177
178
  holderCount?: number | undefined;
178
179
  supply?: string | undefined;
179
180
  }>;
@@ -184,87 +185,88 @@ declare function useTokenBalance(contract: string | null, tokenId: string | null
184
185
  };
185
186
  declare function useTokensByOwner(address: string | null, page?: number, limit?: number, refreshMs?: number): {
186
187
  tokens: {
188
+ id: string;
187
189
  chain: string;
190
+ contractAddress: string;
188
191
  tokenId: string;
189
192
  owner: string | null;
190
193
  tokenUri: string | null;
191
- contractAddress: string;
192
- id: string;
193
- createdAt: string;
194
- updatedAt: string;
195
194
  metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
196
195
  standard: "ERC721" | "ERC1155" | null;
197
196
  metadata: {
198
197
  name: string | null;
199
198
  description: string | null;
200
199
  image: string | null;
201
- author: string | null;
202
200
  animationUrl: string | null;
203
- attributes: zod.objectOutputType<{
204
- trait_type: zod.ZodString;
205
- value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
206
- display_type: zod.ZodOptional<zod.ZodString>;
207
- }, zod.ZodTypeAny, "passthrough">[] | null;
201
+ attributes: {
202
+ [x: string]: unknown;
203
+ trait_type: string;
204
+ value: string | number | boolean;
205
+ display_type?: string | undefined;
206
+ }[] | null;
208
207
  ipType: string | null;
209
208
  licenseType: string | null;
210
209
  commercialUse: boolean | null;
210
+ author: string | null;
211
211
  externalUrl: string | null;
212
212
  };
213
213
  balances: {
214
- amount: string;
215
214
  owner: string;
215
+ amount: string;
216
216
  }[] | null;
217
217
  activeOrders: {
218
- status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
218
+ id: string;
219
219
  chain: string;
220
- offerer: string;
221
- nftContract: string | null;
222
- price: {
223
- currency: string | null;
224
- raw: string | null;
225
- formatted: string | null;
226
- decimals: number;
227
- };
228
- endTime: string;
229
- fulfiller: string | null;
230
220
  orderHash: string;
231
- startTime: string;
232
- txHash: {
233
- created: string | null;
234
- fulfilled: string | null;
235
- cancelled: string | null;
236
- };
237
- token: {
238
- name: string | null;
239
- description: string | null;
240
- image: string | null;
241
- animationUrl: string | null;
242
- } | null;
221
+ offerer: string;
243
222
  offer: {
244
- token: string;
245
223
  itemType: string;
224
+ token: string;
246
225
  identifier: string;
247
226
  startAmount: string;
248
227
  endAmount: string;
249
228
  };
250
- id: string;
251
229
  consideration: {
252
- recipient: string;
253
- token: string;
254
230
  itemType: string;
231
+ token: string;
255
232
  identifier: string;
256
233
  startAmount: string;
257
234
  endAmount: string;
235
+ recipient: string;
258
236
  };
237
+ startTime: string;
238
+ endTime: string;
239
+ status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
240
+ fulfiller: string | null;
241
+ nftContract: string | null;
259
242
  nftTokenId: string | null;
243
+ price: {
244
+ raw: string | null;
245
+ formatted: string | null;
246
+ currency: string | null;
247
+ decimals: number;
248
+ };
249
+ txHash: {
250
+ created: string | null;
251
+ fulfilled: string | null;
252
+ cancelled: string | null;
253
+ };
260
254
  createdBlockNumber: string;
261
255
  remainingAmount: string | null;
262
256
  createdAt: string;
263
257
  updatedAt: string;
258
+ token: {
259
+ name: string | null;
260
+ image: string | null;
261
+ description: string | null;
262
+ animationUrl: string | null;
263
+ } | null;
264
264
  parentOrderHash?: string | null | undefined;
265
265
  counterOfferMessage?: string | null | undefined;
266
266
  hasActiveCounterOffer?: boolean | undefined;
267
267
  }[];
268
+ createdAt: string;
269
+ updatedAt: string;
268
270
  holderCount?: number | undefined;
269
271
  supply?: string | undefined;
270
272
  }[];
@@ -272,174 +274,176 @@ declare function useTokensByOwner(address: string | null, page?: number, limit?:
272
274
  isLoading: boolean;
273
275
  error: any;
274
276
  mutate: swr.KeyedMutator<_medialane_sdk.ApiResponse<{
277
+ id: string;
275
278
  chain: string;
279
+ contractAddress: string;
276
280
  tokenId: string;
277
281
  owner: string | null;
278
282
  tokenUri: string | null;
279
- contractAddress: string;
280
- id: string;
281
- createdAt: string;
282
- updatedAt: string;
283
283
  metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
284
284
  standard: "ERC721" | "ERC1155" | null;
285
285
  metadata: {
286
286
  name: string | null;
287
287
  description: string | null;
288
288
  image: string | null;
289
- author: string | null;
290
289
  animationUrl: string | null;
291
- attributes: zod.objectOutputType<{
292
- trait_type: zod.ZodString;
293
- value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
294
- display_type: zod.ZodOptional<zod.ZodString>;
295
- }, zod.ZodTypeAny, "passthrough">[] | null;
290
+ attributes: {
291
+ [x: string]: unknown;
292
+ trait_type: string;
293
+ value: string | number | boolean;
294
+ display_type?: string | undefined;
295
+ }[] | null;
296
296
  ipType: string | null;
297
297
  licenseType: string | null;
298
298
  commercialUse: boolean | null;
299
+ author: string | null;
299
300
  externalUrl: string | null;
300
301
  };
301
302
  balances: {
302
- amount: string;
303
303
  owner: string;
304
+ amount: string;
304
305
  }[] | null;
305
306
  activeOrders: {
306
- status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
307
+ id: string;
307
308
  chain: string;
308
- offerer: string;
309
- nftContract: string | null;
310
- price: {
311
- currency: string | null;
312
- raw: string | null;
313
- formatted: string | null;
314
- decimals: number;
315
- };
316
- endTime: string;
317
- fulfiller: string | null;
318
309
  orderHash: string;
319
- startTime: string;
320
- txHash: {
321
- created: string | null;
322
- fulfilled: string | null;
323
- cancelled: string | null;
324
- };
325
- token: {
326
- name: string | null;
327
- description: string | null;
328
- image: string | null;
329
- animationUrl: string | null;
330
- } | null;
310
+ offerer: string;
331
311
  offer: {
332
- token: string;
333
312
  itemType: string;
313
+ token: string;
334
314
  identifier: string;
335
315
  startAmount: string;
336
316
  endAmount: string;
337
317
  };
338
- id: string;
339
318
  consideration: {
340
- recipient: string;
341
- token: string;
342
319
  itemType: string;
320
+ token: string;
343
321
  identifier: string;
344
322
  startAmount: string;
345
323
  endAmount: string;
324
+ recipient: string;
346
325
  };
326
+ startTime: string;
327
+ endTime: string;
328
+ status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
329
+ fulfiller: string | null;
330
+ nftContract: string | null;
347
331
  nftTokenId: string | null;
332
+ price: {
333
+ raw: string | null;
334
+ formatted: string | null;
335
+ currency: string | null;
336
+ decimals: number;
337
+ };
338
+ txHash: {
339
+ created: string | null;
340
+ fulfilled: string | null;
341
+ cancelled: string | null;
342
+ };
348
343
  createdBlockNumber: string;
349
344
  remainingAmount: string | null;
350
345
  createdAt: string;
351
346
  updatedAt: string;
347
+ token: {
348
+ name: string | null;
349
+ image: string | null;
350
+ description: string | null;
351
+ animationUrl: string | null;
352
+ } | null;
352
353
  parentOrderHash?: string | null | undefined;
353
354
  counterOfferMessage?: string | null | undefined;
354
355
  hasActiveCounterOffer?: boolean | undefined;
355
356
  }[];
357
+ createdAt: string;
358
+ updatedAt: string;
356
359
  holderCount?: number | undefined;
357
360
  supply?: string | undefined;
358
361
  }[]>>;
359
362
  };
360
363
  declare function useOwnedTokens(address: string | null, limit?: number): {
361
364
  tokens: {
365
+ id: string;
362
366
  chain: string;
367
+ contractAddress: string;
363
368
  tokenId: string;
364
369
  owner: string | null;
365
370
  tokenUri: string | null;
366
- contractAddress: string;
367
- id: string;
368
- createdAt: string;
369
- updatedAt: string;
370
371
  metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
371
372
  standard: "ERC721" | "ERC1155" | null;
372
373
  metadata: {
373
374
  name: string | null;
374
375
  description: string | null;
375
376
  image: string | null;
376
- author: string | null;
377
377
  animationUrl: string | null;
378
- attributes: zod.objectOutputType<{
379
- trait_type: zod.ZodString;
380
- value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
381
- display_type: zod.ZodOptional<zod.ZodString>;
382
- }, zod.ZodTypeAny, "passthrough">[] | null;
378
+ attributes: {
379
+ [x: string]: unknown;
380
+ trait_type: string;
381
+ value: string | number | boolean;
382
+ display_type?: string | undefined;
383
+ }[] | null;
383
384
  ipType: string | null;
384
385
  licenseType: string | null;
385
386
  commercialUse: boolean | null;
387
+ author: string | null;
386
388
  externalUrl: string | null;
387
389
  };
388
390
  balances: {
389
- amount: string;
390
391
  owner: string;
392
+ amount: string;
391
393
  }[] | null;
392
394
  activeOrders: {
393
- status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
395
+ id: string;
394
396
  chain: string;
395
- offerer: string;
396
- nftContract: string | null;
397
- price: {
398
- currency: string | null;
399
- raw: string | null;
400
- formatted: string | null;
401
- decimals: number;
402
- };
403
- endTime: string;
404
- fulfiller: string | null;
405
397
  orderHash: string;
406
- startTime: string;
407
- txHash: {
408
- created: string | null;
409
- fulfilled: string | null;
410
- cancelled: string | null;
411
- };
412
- token: {
413
- name: string | null;
414
- description: string | null;
415
- image: string | null;
416
- animationUrl: string | null;
417
- } | null;
398
+ offerer: string;
418
399
  offer: {
419
- token: string;
420
400
  itemType: string;
401
+ token: string;
421
402
  identifier: string;
422
403
  startAmount: string;
423
404
  endAmount: string;
424
405
  };
425
- id: string;
426
406
  consideration: {
427
- recipient: string;
428
- token: string;
429
407
  itemType: string;
408
+ token: string;
430
409
  identifier: string;
431
410
  startAmount: string;
432
411
  endAmount: string;
412
+ recipient: string;
433
413
  };
414
+ startTime: string;
415
+ endTime: string;
416
+ status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
417
+ fulfiller: string | null;
418
+ nftContract: string | null;
434
419
  nftTokenId: string | null;
420
+ price: {
421
+ raw: string | null;
422
+ formatted: string | null;
423
+ currency: string | null;
424
+ decimals: number;
425
+ };
426
+ txHash: {
427
+ created: string | null;
428
+ fulfilled: string | null;
429
+ cancelled: string | null;
430
+ };
435
431
  createdBlockNumber: string;
436
432
  remainingAmount: string | null;
437
433
  createdAt: string;
438
434
  updatedAt: string;
435
+ token: {
436
+ name: string | null;
437
+ image: string | null;
438
+ description: string | null;
439
+ animationUrl: string | null;
440
+ } | null;
439
441
  parentOrderHash?: string | null | undefined;
440
442
  counterOfferMessage?: string | null | undefined;
441
443
  hasActiveCounterOffer?: boolean | undefined;
442
444
  }[];
445
+ createdAt: string;
446
+ updatedAt: string;
443
447
  holderCount?: number | undefined;
444
448
  supply?: string | undefined;
445
449
  }[];
@@ -450,87 +454,88 @@ declare function useOwnedTokens(address: string | null, limit?: number): {
450
454
  loadMore: () => undefined;
451
455
  error: any;
452
456
  mutate: swr_infinite.SWRInfiniteKeyedMutator<_medialane_sdk.ApiResponse<{
457
+ id: string;
453
458
  chain: string;
459
+ contractAddress: string;
454
460
  tokenId: string;
455
461
  owner: string | null;
456
462
  tokenUri: string | null;
457
- contractAddress: string;
458
- id: string;
459
- createdAt: string;
460
- updatedAt: string;
461
463
  metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
462
464
  standard: "ERC721" | "ERC1155" | null;
463
465
  metadata: {
464
466
  name: string | null;
465
467
  description: string | null;
466
468
  image: string | null;
467
- author: string | null;
468
469
  animationUrl: string | null;
469
- attributes: zod.objectOutputType<{
470
- trait_type: zod.ZodString;
471
- value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
472
- display_type: zod.ZodOptional<zod.ZodString>;
473
- }, zod.ZodTypeAny, "passthrough">[] | null;
470
+ attributes: {
471
+ [x: string]: unknown;
472
+ trait_type: string;
473
+ value: string | number | boolean;
474
+ display_type?: string | undefined;
475
+ }[] | null;
474
476
  ipType: string | null;
475
477
  licenseType: string | null;
476
478
  commercialUse: boolean | null;
479
+ author: string | null;
477
480
  externalUrl: string | null;
478
481
  };
479
482
  balances: {
480
- amount: string;
481
483
  owner: string;
484
+ amount: string;
482
485
  }[] | null;
483
486
  activeOrders: {
484
- status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
487
+ id: string;
485
488
  chain: string;
486
- offerer: string;
487
- nftContract: string | null;
488
- price: {
489
- currency: string | null;
490
- raw: string | null;
491
- formatted: string | null;
492
- decimals: number;
493
- };
494
- endTime: string;
495
- fulfiller: string | null;
496
489
  orderHash: string;
497
- startTime: string;
498
- txHash: {
499
- created: string | null;
500
- fulfilled: string | null;
501
- cancelled: string | null;
502
- };
503
- token: {
504
- name: string | null;
505
- description: string | null;
506
- image: string | null;
507
- animationUrl: string | null;
508
- } | null;
490
+ offerer: string;
509
491
  offer: {
510
- token: string;
511
492
  itemType: string;
493
+ token: string;
512
494
  identifier: string;
513
495
  startAmount: string;
514
496
  endAmount: string;
515
497
  };
516
- id: string;
517
498
  consideration: {
518
- recipient: string;
519
- token: string;
520
499
  itemType: string;
500
+ token: string;
521
501
  identifier: string;
522
502
  startAmount: string;
523
503
  endAmount: string;
504
+ recipient: string;
524
505
  };
506
+ startTime: string;
507
+ endTime: string;
508
+ status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
509
+ fulfiller: string | null;
510
+ nftContract: string | null;
525
511
  nftTokenId: string | null;
512
+ price: {
513
+ raw: string | null;
514
+ formatted: string | null;
515
+ currency: string | null;
516
+ decimals: number;
517
+ };
518
+ txHash: {
519
+ created: string | null;
520
+ fulfilled: string | null;
521
+ cancelled: string | null;
522
+ };
526
523
  createdBlockNumber: string;
527
524
  remainingAmount: string | null;
528
525
  createdAt: string;
529
526
  updatedAt: string;
527
+ token: {
528
+ name: string | null;
529
+ image: string | null;
530
+ description: string | null;
531
+ animationUrl: string | null;
532
+ } | null;
530
533
  parentOrderHash?: string | null | undefined;
531
534
  counterOfferMessage?: string | null | undefined;
532
535
  hasActiveCounterOffer?: boolean | undefined;
533
536
  }[];
537
+ createdAt: string;
538
+ updatedAt: string;
534
539
  holderCount?: number | undefined;
535
540
  supply?: string | undefined;
536
541
  }[]>[]>;