@hypercerts-org/marketplace-sdk 0.3.1 → 0.3.3

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.
@@ -2,361 +2,93 @@ import { Maker, QuoteType, StrategyType } from "../types";
2
2
  import { Database as HypercertsDatabase } from "./hypercerts-database-types";
3
3
  export declare const supabaseHypercerts: import("@supabase/supabase-js").SupabaseClient<HypercertsDatabase, "public", {
4
4
  Tables: {
5
- allowlistCache: {
6
- Row: {
7
- address: string | null;
8
- claimId: string | null;
9
- created_at: string | null;
10
- fractionCounter: number | null;
11
- hidden: boolean;
12
- id: number;
13
- };
14
- Insert: {
15
- address?: string | null | undefined;
16
- claimId?: string | null | undefined;
17
- created_at?: string | null | undefined;
18
- fractionCounter?: number | null | undefined;
19
- hidden?: boolean | undefined;
20
- id?: number | undefined;
21
- };
22
- Update: {
23
- address?: string | null | undefined;
24
- claimId?: string | null | undefined;
25
- created_at?: string | null | undefined;
26
- fractionCounter?: number | null | undefined;
27
- hidden?: boolean | undefined;
28
- id?: number | undefined;
29
- };
30
- Relationships: [];
31
- };
32
- "allowlistCache-chainId": {
33
- Row: {
34
- address: string | null;
35
- chainId: number;
36
- claimId: string | null;
37
- created_at: string | null;
38
- fractionCounter: number | null;
39
- hidden: boolean;
40
- id: number;
41
- };
42
- Insert: {
43
- address?: string | null | undefined;
44
- chainId: number;
45
- claimId?: string | null | undefined;
46
- created_at?: string | null | undefined;
47
- fractionCounter?: number | null | undefined;
48
- hidden?: boolean | undefined;
49
- id?: number | undefined;
50
- };
51
- Update: {
52
- address?: string | null | undefined;
53
- chainId?: number | undefined;
54
- claimId?: string | null | undefined;
55
- created_at?: string | null | undefined;
56
- fractionCounter?: number | null | undefined;
57
- hidden?: boolean | undefined;
58
- id?: number | undefined;
59
- };
60
- Relationships: [];
61
- };
62
- "allowlistCache-goerli": {
63
- Row: {
64
- address: string | null;
65
- claimId: string | null;
66
- created_at: string | null;
67
- fractionCounter: number | null;
68
- hidden: boolean;
69
- id: number;
70
- };
71
- Insert: {
72
- address?: string | null | undefined;
73
- claimId?: string | null | undefined;
74
- created_at?: string | null | undefined;
75
- fractionCounter?: number | null | undefined;
76
- hidden?: boolean | undefined;
77
- id?: number | undefined;
78
- };
79
- Update: {
80
- address?: string | null | undefined;
81
- claimId?: string | null | undefined;
82
- created_at?: string | null | undefined;
83
- fractionCounter?: number | null | undefined;
84
- hidden?: boolean | undefined;
85
- id?: number | undefined;
86
- };
87
- Relationships: [];
88
- };
89
- "allowlistCache-optimism": {
90
- Row: {
91
- address: string | null;
92
- claimId: string | null;
93
- created_at: string | null;
94
- fractionCounter: number | null;
95
- hidden: boolean;
96
- id: number;
97
- };
98
- Insert: {
99
- address?: string | null | undefined;
100
- claimId?: string | null | undefined;
101
- created_at?: string | null | undefined;
102
- fractionCounter?: number | null | undefined;
103
- hidden?: boolean | undefined;
104
- id?: number | undefined;
105
- };
106
- Update: {
107
- address?: string | null | undefined;
108
- claimId?: string | null | undefined;
109
- created_at?: string | null | undefined;
110
- fractionCounter?: number | null | undefined;
111
- hidden?: boolean | undefined;
112
- id?: number | undefined;
113
- };
114
- Relationships: [];
115
- };
116
- "allowlistCache-sepolia": {
117
- Row: {
118
- address: string | null;
119
- claimId: string | null;
120
- created_at: string | null;
121
- fractionCounter: number | null;
122
- hidden: boolean;
123
- id: number;
124
- };
125
- Insert: {
126
- address?: string | null | undefined;
127
- claimId?: string | null | undefined;
128
- created_at?: string | null | undefined;
129
- fractionCounter?: number | null | undefined;
130
- hidden?: boolean | undefined;
131
- id?: number | undefined;
132
- };
133
- Update: {
134
- address?: string | null | undefined;
135
- claimId?: string | null | undefined;
136
- created_at?: string | null | undefined;
137
- fractionCounter?: number | null | undefined;
138
- hidden?: boolean | undefined;
139
- id?: number | undefined;
140
- };
141
- Relationships: [];
142
- };
143
- "claim-blueprints-optimism": {
5
+ blueprints: {
144
6
  Row: {
7
+ admin_id: string;
145
8
  created_at: string;
146
- form_values: string;
147
- id: string;
9
+ display_size: number;
10
+ form_values: import("./hypercerts-database-types").Json;
11
+ id: number;
148
12
  minter_address: string;
149
13
  registry_id: string;
150
14
  };
151
15
  Insert: {
16
+ admin_id: string;
152
17
  created_at?: string | undefined;
153
- form_values: string;
154
- id?: string | undefined;
18
+ display_size?: number | undefined;
19
+ form_values: import("./hypercerts-database-types").Json;
20
+ id?: number | undefined;
155
21
  minter_address: string;
156
22
  registry_id: string;
157
23
  };
158
24
  Update: {
25
+ admin_id?: string | undefined;
159
26
  created_at?: string | undefined;
160
- form_values?: string | undefined;
161
- id?: string | undefined;
27
+ display_size?: number | undefined;
28
+ form_values?: import("./hypercerts-database-types").Json | undefined;
29
+ id?: number | undefined;
162
30
  minter_address?: string | undefined;
163
31
  registry_id?: string | undefined;
164
32
  };
165
33
  Relationships: [{
166
- foreignKeyName: "claim-blueprints-optimism_registry_id_fkey";
34
+ foreignKeyName: "blueprints_admin_id_fkey";
35
+ columns: ["admin_id"];
36
+ isOneToOne: false;
37
+ referencedRelation: "users";
38
+ referencedColumns: ["address"];
39
+ }, {
40
+ foreignKeyName: "blueprints_registry_id_fkey";
167
41
  columns: ["registry_id"];
168
42
  isOneToOne: false;
169
- referencedRelation: "registries-optimism";
43
+ referencedRelation: "registries";
170
44
  referencedColumns: ["id"];
171
45
  }];
172
46
  };
173
- "claims-metadata-mapping": {
174
- Row: {
175
- chainId: number | null;
176
- claimId: string;
177
- collectionName: string | null;
178
- collision: string | null;
179
- createdAt: number | null;
180
- creatorAddress: string | null;
181
- date: string | null;
182
- featured: boolean | null;
183
- hidden: boolean;
184
- hypercert: import("./hypercerts-database-types").Json;
185
- id: number;
186
- properties: import("./hypercerts-database-types").Json;
187
- title: string | null;
188
- totalPrice: number | null;
189
- totalUnits: number | null;
190
- };
191
- Insert: {
192
- chainId?: number | null | undefined;
193
- claimId: string;
194
- collectionName?: string | null | undefined;
195
- collision?: string | null | undefined;
196
- createdAt?: number | null | undefined;
197
- creatorAddress?: string | null | undefined;
198
- date?: string | null | undefined;
199
- featured?: boolean | null | undefined;
200
- hidden?: boolean | undefined;
201
- hypercert?: import("./hypercerts-database-types").Json | undefined;
202
- id?: number | undefined;
203
- properties?: import("./hypercerts-database-types").Json | undefined;
204
- title?: string | null | undefined;
205
- totalPrice?: number | null | undefined;
206
- totalUnits?: number | null | undefined;
207
- };
208
- Update: {
209
- chainId?: number | null | undefined;
210
- claimId?: string | undefined;
211
- collectionName?: string | null | undefined;
212
- collision?: string | null | undefined;
213
- createdAt?: number | null | undefined;
214
- creatorAddress?: string | null | undefined;
215
- date?: string | null | undefined;
216
- featured?: boolean | null | undefined;
217
- hidden?: boolean | undefined;
218
- hypercert?: import("./hypercerts-database-types").Json | undefined;
219
- id?: number | undefined;
220
- properties?: import("./hypercerts-database-types").Json | undefined;
221
- title?: string | null | undefined;
222
- totalPrice?: number | null | undefined;
223
- totalUnits?: number | null | undefined;
224
- };
225
- Relationships: [];
226
- };
227
- collections: {
228
- Row: {
229
- chainId: number | null;
230
- claimId: string | null;
231
- collectionName: string | null;
232
- created_at: string | null;
233
- featured: boolean | null;
234
- id: number;
235
- };
236
- Insert: {
237
- chainId?: number | null | undefined;
238
- claimId?: string | null | undefined;
239
- collectionName?: string | null | undefined;
240
- created_at?: string | null | undefined;
241
- featured?: boolean | null | undefined;
242
- id?: number | undefined;
243
- };
244
- Update: {
245
- chainId?: number | null | undefined;
246
- claimId?: string | null | undefined;
247
- collectionName?: string | null | undefined;
248
- created_at?: string | null | undefined;
249
- featured?: boolean | null | undefined;
250
- id?: number | undefined;
251
- };
252
- Relationships: [];
253
- };
254
- "ftc-purchase": {
255
- Row: {
256
- address: string;
257
- ethValue: number;
258
- id: number;
259
- textForSponsor: string | null;
260
- timestamp: string;
261
- values: import("./hypercerts-database-types").Json;
262
- };
263
- Insert: {
264
- address: string;
265
- ethValue: number;
266
- id?: number | undefined;
267
- textForSponsor?: string | null | undefined;
268
- timestamp?: string | undefined;
269
- values: import("./hypercerts-database-types").Json;
270
- };
271
- Update: {
272
- address?: string | undefined;
273
- ethValue?: number | undefined;
274
- id?: number | undefined;
275
- textForSponsor?: string | null | undefined;
276
- timestamp?: string | undefined;
277
- values?: import("./hypercerts-database-types").Json | undefined;
278
- };
279
- Relationships: [];
280
- };
281
- "gtc-alpha-allowlist": {
282
- Row: {
283
- address: string | null;
284
- id: number;
285
- project: string | null;
286
- units: number | null;
287
- };
288
- Insert: {
289
- address?: string | null | undefined;
290
- id: number;
291
- project?: string | null | undefined;
292
- units?: number | null | undefined;
293
- };
294
- Update: {
295
- address?: string | null | undefined;
296
- id?: number | undefined;
297
- project?: string | null | undefined;
298
- units?: number | null | undefined;
299
- };
300
- Relationships: [];
301
- };
302
- "hidden-hypercerts": {
303
- Row: {
304
- chainId: number | null;
305
- claimId: string | null;
306
- entry_created_at: string;
307
- hidden: boolean;
308
- id: number;
309
- };
310
- Insert: {
311
- chainId?: number | null | undefined;
312
- claimId?: string | null | undefined;
313
- entry_created_at?: string | undefined;
314
- hidden?: boolean | undefined;
315
- id?: number | undefined;
316
- };
317
- Update: {
318
- chainId?: number | null | undefined;
319
- claimId?: string | null | undefined;
320
- entry_created_at?: string | undefined;
321
- hidden?: boolean | undefined;
322
- id?: number | undefined;
323
- };
324
- Relationships: [];
325
- };
326
- "hyperboard-claims": {
47
+ claims: {
327
48
  Row: {
49
+ admin_id: string;
50
+ chain_id: number;
328
51
  created_at: string;
52
+ display_size: number;
329
53
  hypercert_id: string;
330
54
  id: string;
55
+ owner_id: string;
331
56
  registry_id: string;
332
57
  };
333
58
  Insert: {
59
+ admin_id: string;
60
+ chain_id: number;
334
61
  created_at?: string | undefined;
62
+ display_size?: number | undefined;
335
63
  hypercert_id: string;
336
64
  id?: string | undefined;
65
+ owner_id: string;
337
66
  registry_id: string;
338
67
  };
339
68
  Update: {
69
+ admin_id?: string | undefined;
70
+ chain_id?: number | undefined;
340
71
  created_at?: string | undefined;
72
+ display_size?: number | undefined;
341
73
  hypercert_id?: string | undefined;
342
74
  id?: string | undefined;
75
+ owner_id?: string | undefined;
343
76
  registry_id?: string | undefined;
344
77
  };
345
78
  Relationships: [{
346
- foreignKeyName: "hyperboard-claims_registry_id_fkey";
79
+ foreignKeyName: "claims_registry_id_fkey";
347
80
  columns: ["registry_id"];
348
81
  isOneToOne: false;
349
- referencedRelation: "registries-optimism";
82
+ referencedRelation: "registries";
350
83
  referencedColumns: ["id"];
351
84
  }];
352
85
  };
353
- "hyperboard-sponsor-metadata": {
86
+ default_sponsor_metadata: {
354
87
  Row: {
355
88
  address: string;
356
89
  companyName: string | null;
357
90
  created_at: string;
358
91
  firstName: string | null;
359
- id: string;
360
92
  image: string;
361
93
  lastName: string | null;
362
94
  type: string;
@@ -366,7 +98,6 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
366
98
  companyName?: string | null | undefined;
367
99
  created_at?: string | undefined;
368
100
  firstName?: string | null | undefined;
369
- id?: string | undefined;
370
101
  image: string;
371
102
  lastName?: string | null | undefined;
372
103
  type: string;
@@ -376,89 +107,127 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
376
107
  companyName?: string | null | undefined;
377
108
  created_at?: string | undefined;
378
109
  firstName?: string | null | undefined;
379
- id?: string | undefined;
380
110
  image?: string | undefined;
381
111
  lastName?: string | null | undefined;
382
112
  type?: string | undefined;
383
113
  };
384
114
  Relationships: [];
385
115
  };
386
- "hypercert-projects": {
116
+ fraction_sponsor_metadata: {
387
117
  Row: {
388
- date_to_order: string | null;
389
- description: string | null;
390
- hidden: boolean;
391
- id: number;
392
- link: string | null;
393
- link_display_text: string | null;
394
- name: string | null;
395
- organization: string | null;
396
- stage: string | null;
397
- time_created: string | null;
398
- type: string | null;
399
- visible_date: string | null;
118
+ chain_id: number;
119
+ companyName: string | null;
120
+ created_at: string;
121
+ firstName: string | null;
122
+ fraction_id: string;
123
+ hypercert_id: string;
124
+ id: string;
125
+ image: string;
126
+ lastName: string | null;
127
+ strategy: string;
128
+ type: string;
129
+ value: string;
400
130
  };
401
131
  Insert: {
402
- date_to_order?: string | null | undefined;
403
- description?: string | null | undefined;
404
- hidden?: boolean | undefined;
405
- id?: number | undefined;
406
- link?: string | null | undefined;
407
- link_display_text?: string | null | undefined;
408
- name?: string | null | undefined;
409
- organization?: string | null | undefined;
410
- stage?: string | null | undefined;
411
- time_created?: string | null | undefined;
412
- type?: string | null | undefined;
413
- visible_date?: string | null | undefined;
132
+ chain_id: number;
133
+ companyName?: string | null | undefined;
134
+ created_at?: string | undefined;
135
+ firstName?: string | null | undefined;
136
+ fraction_id: string;
137
+ hypercert_id: string;
138
+ id?: string | undefined;
139
+ image: string;
140
+ lastName?: string | null | undefined;
141
+ strategy: string;
142
+ type: string;
143
+ value: string;
414
144
  };
415
145
  Update: {
416
- date_to_order?: string | null | undefined;
417
- description?: string | null | undefined;
418
- hidden?: boolean | undefined;
419
- id?: number | undefined;
420
- link?: string | null | undefined;
421
- link_display_text?: string | null | undefined;
422
- name?: string | null | undefined;
423
- organization?: string | null | undefined;
424
- stage?: string | null | undefined;
425
- time_created?: string | null | undefined;
426
- type?: string | null | undefined;
427
- visible_date?: string | null | undefined;
146
+ chain_id?: number | undefined;
147
+ companyName?: string | null | undefined;
148
+ created_at?: string | undefined;
149
+ firstName?: string | null | undefined;
150
+ fraction_id?: string | undefined;
151
+ hypercert_id?: string | undefined;
152
+ id?: string | undefined;
153
+ image?: string | undefined;
154
+ lastName?: string | null | undefined;
155
+ strategy?: string | undefined;
156
+ type?: string | undefined;
157
+ value?: string | undefined;
428
158
  };
429
159
  Relationships: [];
430
160
  };
431
- "hypercerts-store": {
161
+ hyperboard_registries: {
432
162
  Row: {
433
- chainId: number | null;
434
- claimId: string | null;
435
- collectionName: string | null;
436
- created_at: string;
437
- hidden: boolean;
438
- id: number;
439
- maxPurchase: number;
163
+ created_at: string | null;
164
+ hyperboard_id: string;
165
+ label: string | null;
166
+ registry_id: string;
167
+ render_method: string;
440
168
  };
441
169
  Insert: {
442
- chainId?: number | null | undefined;
443
- claimId?: string | null | undefined;
444
- collectionName?: string | null | undefined;
445
- created_at?: string | undefined;
446
- hidden?: boolean | undefined;
447
- id?: number | undefined;
448
- maxPurchase?: number | undefined;
170
+ created_at?: string | null | undefined;
171
+ hyperboard_id: string;
172
+ label?: string | null | undefined;
173
+ registry_id: string;
174
+ render_method?: string | undefined;
449
175
  };
450
176
  Update: {
451
- chainId?: number | null | undefined;
452
- claimId?: string | null | undefined;
453
- collectionName?: string | null | undefined;
454
- created_at?: string | undefined;
455
- hidden?: boolean | undefined;
456
- id?: number | undefined;
457
- maxPurchase?: number | undefined;
177
+ created_at?: string | null | undefined;
178
+ hyperboard_id?: string | undefined;
179
+ label?: string | null | undefined;
180
+ registry_id?: string | undefined;
181
+ render_method?: string | undefined;
182
+ };
183
+ Relationships: [{
184
+ foreignKeyName: "hyperboard_registries_hyperboard_id_fkey";
185
+ columns: ["hyperboard_id"];
186
+ isOneToOne: false;
187
+ referencedRelation: "hyperboards";
188
+ referencedColumns: ["id"];
189
+ }, {
190
+ foreignKeyName: "hyperboard_registries_registries_id_fk";
191
+ columns: ["registry_id"];
192
+ isOneToOne: false;
193
+ referencedRelation: "registries";
194
+ referencedColumns: ["id"];
195
+ }];
196
+ };
197
+ hyperboards: {
198
+ Row: {
199
+ admin_id: string;
200
+ background_image: string | null;
201
+ chain_id: number;
202
+ created_at: string | null;
203
+ grayscale_images: boolean;
204
+ id: string;
205
+ name: string;
206
+ tile_border_color: string | null;
207
+ };
208
+ Insert: {
209
+ admin_id: string;
210
+ background_image?: string | null | undefined;
211
+ chain_id: number;
212
+ created_at?: string | null | undefined;
213
+ grayscale_images?: boolean | undefined;
214
+ id?: string | undefined;
215
+ name: string;
216
+ tile_border_color?: string | null | undefined;
217
+ };
218
+ Update: {
219
+ admin_id?: string | undefined;
220
+ background_image?: string | null | undefined;
221
+ chain_id?: number | undefined;
222
+ created_at?: string | null | undefined;
223
+ grayscale_images?: boolean | undefined;
224
+ id?: string | undefined;
225
+ name?: string | undefined;
226
+ tile_border_color?: string | null | undefined;
458
227
  };
459
228
  Relationships: [];
460
229
  };
461
- "marketplace-order-nonces": {
230
+ marketplace_order_nonces: {
462
231
  Row: {
463
232
  address: string;
464
233
  chain_id: number;
@@ -479,7 +248,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
479
248
  };
480
249
  Relationships: [];
481
250
  };
482
- "marketplace-orders": {
251
+ marketplace_orders: {
483
252
  Row: {
484
253
  additionalParameters: string;
485
254
  amounts: number[];
@@ -545,9 +314,10 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
545
314
  };
546
315
  Relationships: [];
547
316
  };
548
- "registries-optimism": {
317
+ registries: {
549
318
  Row: {
550
319
  admin_id: string;
320
+ chain_id: number;
551
321
  created_at: string;
552
322
  description: string;
553
323
  hidden: boolean;
@@ -556,6 +326,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
556
326
  };
557
327
  Insert: {
558
328
  admin_id: string;
329
+ chain_id: number;
559
330
  created_at?: string | undefined;
560
331
  description: string;
561
332
  hidden?: boolean | undefined;
@@ -564,6 +335,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
564
335
  };
565
336
  Update: {
566
337
  admin_id?: string | undefined;
338
+ chain_id?: number | undefined;
567
339
  created_at?: string | undefined;
568
340
  description?: string | undefined;
569
341
  hidden?: boolean | undefined;
@@ -572,153 +344,158 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
572
344
  };
573
345
  Relationships: [];
574
346
  };
575
- "zuconnect-funders": {
347
+ users: {
576
348
  Row: {
577
- budget: number | null;
349
+ address: string;
350
+ auth: import("./hypercerts-database-types").Json;
578
351
  created_at: string;
579
- fid: string | null;
580
- id: number;
352
+ email: string | null;
353
+ id: string | null;
581
354
  };
582
355
  Insert: {
583
- budget?: number | null | undefined;
356
+ address: string;
357
+ auth?: import("./hypercerts-database-types").Json | undefined;
584
358
  created_at?: string | undefined;
585
- fid?: string | null | undefined;
586
- id?: number | undefined;
359
+ email?: string | null | undefined;
360
+ id?: string | null | undefined;
587
361
  };
588
362
  Update: {
589
- budget?: number | null | undefined;
363
+ address?: string | undefined;
364
+ auth?: import("./hypercerts-database-types").Json | undefined;
590
365
  created_at?: string | undefined;
591
- fid?: string | null | undefined;
592
- id?: number | undefined;
366
+ email?: string | null | undefined;
367
+ id?: string | null | undefined;
593
368
  };
594
369
  Relationships: [];
595
370
  };
596
- "zuzalu-community-hypercerts": {
371
+ zuconnect_voting: {
597
372
  Row: {
598
- chainId: number | null;
599
- claimId: string;
600
- collectionName: string | null;
601
- collision: string | null;
602
- createdAt: number | null;
603
- creatorAddress: string | null;
604
- date: string | null;
605
- featured: boolean | null;
606
- hidden: boolean;
607
- hypercert: import("./hypercerts-database-types").Json;
373
+ allocation_hc01: number | null;
374
+ allocation_hc02: number | null;
375
+ allocation_hc03: number | null;
376
+ allocation_hc04: number | null;
377
+ allocation_hc05: number | null;
378
+ allocation_hc06: number | null;
379
+ allocation_hc07: number | null;
380
+ allocation_hc08: number | null;
381
+ created_at: string;
382
+ feedback: string | null;
383
+ fid: string | null;
608
384
  id: number;
609
- properties: import("./hypercerts-database-types").Json;
610
- title: string | null;
611
- totalUnits: number | null;
385
+ link_to_image: string | null;
386
+ percent_core_team: number | null;
387
+ percent_direct_allocation: number | null;
388
+ percent_matching_fund: number | null;
612
389
  };
613
390
  Insert: {
614
- chainId?: number | null | undefined;
615
- claimId: string;
616
- collectionName?: string | null | undefined;
617
- collision?: string | null | undefined;
618
- createdAt?: number | null | undefined;
619
- creatorAddress?: string | null | undefined;
620
- date?: string | null | undefined;
621
- featured?: boolean | null | undefined;
622
- hidden?: boolean | undefined;
623
- hypercert?: import("./hypercerts-database-types").Json | undefined;
391
+ allocation_hc01?: number | null | undefined;
392
+ allocation_hc02?: number | null | undefined;
393
+ allocation_hc03?: number | null | undefined;
394
+ allocation_hc04?: number | null | undefined;
395
+ allocation_hc05?: number | null | undefined;
396
+ allocation_hc06?: number | null | undefined;
397
+ allocation_hc07?: number | null | undefined;
398
+ allocation_hc08?: number | null | undefined;
399
+ created_at?: string | undefined;
400
+ feedback?: string | null | undefined;
401
+ fid?: string | null | undefined;
624
402
  id?: number | undefined;
625
- properties?: import("./hypercerts-database-types").Json | undefined;
626
- title?: string | null | undefined;
627
- totalUnits?: number | null | undefined;
403
+ link_to_image?: string | null | undefined;
404
+ percent_core_team?: number | null | undefined;
405
+ percent_direct_allocation?: number | null | undefined;
406
+ percent_matching_fund?: number | null | undefined;
628
407
  };
629
408
  Update: {
630
- chainId?: number | null | undefined;
631
- claimId?: string | undefined;
632
- collectionName?: string | null | undefined;
633
- collision?: string | null | undefined;
634
- createdAt?: number | null | undefined;
635
- creatorAddress?: string | null | undefined;
636
- date?: string | null | undefined;
637
- featured?: boolean | null | undefined;
638
- hidden?: boolean | undefined;
639
- hypercert?: import("./hypercerts-database-types").Json | undefined;
409
+ allocation_hc01?: number | null | undefined;
410
+ allocation_hc02?: number | null | undefined;
411
+ allocation_hc03?: number | null | undefined;
412
+ allocation_hc04?: number | null | undefined;
413
+ allocation_hc05?: number | null | undefined;
414
+ allocation_hc06?: number | null | undefined;
415
+ allocation_hc07?: number | null | undefined;
416
+ allocation_hc08?: number | null | undefined;
417
+ created_at?: string | undefined;
418
+ feedback?: string | null | undefined;
419
+ fid?: string | null | undefined;
640
420
  id?: number | undefined;
641
- properties?: import("./hypercerts-database-types").Json | undefined;
642
- title?: string | null | undefined;
643
- totalUnits?: number | null | undefined;
421
+ link_to_image?: string | null | undefined;
422
+ percent_core_team?: number | null | undefined;
423
+ percent_direct_allocation?: number | null | undefined;
424
+ percent_matching_fund?: number | null | undefined;
644
425
  };
645
426
  Relationships: [];
646
427
  };
647
- "zuzalu-purchase": {
428
+ zuzalu_donations: {
648
429
  Row: {
649
430
  address: string;
650
- ethValue: number;
431
+ amount: string | null;
432
+ created_at: string;
433
+ email: string;
651
434
  id: number;
652
- textForSponsor: string | null;
653
- timestamp: string;
654
- values: import("./hypercerts-database-types").Json;
655
435
  };
656
436
  Insert: {
657
437
  address: string;
658
- ethValue: number;
438
+ amount?: string | null | undefined;
439
+ created_at?: string | undefined;
440
+ email: string;
659
441
  id?: number | undefined;
660
- textForSponsor?: string | null | undefined;
661
- timestamp?: string | undefined;
662
- values: import("./hypercerts-database-types").Json;
663
442
  };
664
443
  Update: {
665
444
  address?: string | undefined;
666
- ethValue?: number | undefined;
445
+ amount?: string | null | undefined;
446
+ created_at?: string | undefined;
447
+ email?: string | undefined;
667
448
  id?: number | undefined;
668
- textForSponsor?: string | null | undefined;
669
- timestamp?: string | undefined;
670
- values?: import("./hypercerts-database-types").Json | undefined;
671
449
  };
672
450
  Relationships: [];
673
451
  };
674
452
  };
675
453
  Views: {};
676
454
  Functions: {
677
- citext: {
455
+ add_claim_from_blueprint: {
678
456
  Args: {
679
- "": boolean;
680
- };
681
- Returns: string;
682
- } | {
683
- Args: {
684
- "": string;
685
- };
686
- Returns: string;
687
- } | {
688
- Args: {
689
- "": unknown;
690
- };
691
- Returns: string;
692
- };
693
- citext_hash: {
694
- Args: {
695
- "": string;
696
- };
697
- Returns: number;
698
- };
699
- citextin: {
700
- Args: {
701
- "": unknown;
457
+ registry_id: string;
458
+ hypercert_id: string;
459
+ chain_id: number;
460
+ admin_id: string;
461
+ owner_id: string;
462
+ blueprint_id: number;
702
463
  };
703
464
  Returns: string;
704
465
  };
705
- citextout: {
706
- Args: {
707
- "": string;
708
- };
709
- Returns: unknown;
710
- };
711
- citextrecv: {
466
+ default_sponsor_metadata_by_address: {
712
467
  Args: {
713
- "": unknown;
468
+ addresses: string[];
714
469
  };
715
- Returns: string;
470
+ Returns: {
471
+ address: string;
472
+ companyName: string | null;
473
+ created_at: string;
474
+ firstName: string | null;
475
+ image: string;
476
+ lastName: string | null;
477
+ type: string;
478
+ }[];
716
479
  };
717
- citextsend: {
480
+ fraction_sponsor_metadata_by_fraction_id: {
718
481
  Args: {
719
- "": string;
482
+ fractions: string[];
483
+ chain: number;
720
484
  };
721
- Returns: string;
485
+ Returns: {
486
+ chain_id: number;
487
+ companyName: string | null;
488
+ created_at: string;
489
+ firstName: string | null;
490
+ fraction_id: string;
491
+ hypercert_id: string;
492
+ id: string;
493
+ image: string;
494
+ lastName: string | null;
495
+ strategy: string;
496
+ type: string;
497
+ value: string;
498
+ }[];
722
499
  };
723
500
  };
724
501
  Enums: {};
@@ -765,16 +542,55 @@ export declare class ApiClient {
765
542
  * @param chainId chain id for the order
766
543
  * @param strategy strategy for the order
767
544
  */
768
- fetchOrders: ({ signer, claimTokenIds, chainId, strategy }: Partial<FetchOrderArgs>) => Promise<import("@supabase/supabase-js").PostgrestSingleResponse<any[]>>;
545
+ fetchOrders: ({ signer, claimTokenIds, chainId, strategy }: Partial<FetchOrderArgs>) => Promise<import("@supabase/supabase-js").PostgrestSingleResponse<{
546
+ additionalParameters: string;
547
+ amounts: number[];
548
+ chainId: number;
549
+ collection: string;
550
+ collectionType: number;
551
+ createdAt: string;
552
+ currency: string;
553
+ endTime: number;
554
+ globalNonce: string;
555
+ id: string;
556
+ itemIds: string[];
557
+ orderNonce: string;
558
+ price: string;
559
+ quoteType: number;
560
+ signature: string;
561
+ signer: string;
562
+ startTime: number;
563
+ strategyId: number;
564
+ subsetNonce: number;
565
+ }[]>>;
769
566
  /**
770
567
  * Fetches orders from api by hypercert ID
771
568
  * @param hypercertId Hypercert ID
772
569
  * @param chainId Chain ID
773
570
  */
774
- fetchOrdersByHypercertId: ({ hypercertId, chainId }: {
571
+ fetchOrdersByHypercertId: ({ hypercertId }: {
775
572
  hypercertId: string;
573
+ }) => Promise<import("@supabase/supabase-js").PostgrestSingleResponse<{
574
+ additionalParameters: string;
575
+ amounts: number[];
776
576
  chainId: number;
777
- }) => Promise<import("@supabase/supabase-js").PostgrestSingleResponse<any[]>>;
577
+ collection: string;
578
+ collectionType: number;
579
+ createdAt: string;
580
+ currency: string;
581
+ endTime: number;
582
+ globalNonce: string;
583
+ id: string;
584
+ itemIds: string[];
585
+ orderNonce: string;
586
+ price: string;
587
+ quoteType: number;
588
+ signature: string;
589
+ signer: string;
590
+ startTime: number;
591
+ strategyId: number;
592
+ subsetNonce: number;
593
+ }[]>>;
778
594
  handleResponse: <T>(res: Response) => Promise<T>;
779
595
  }
780
596
  interface FetchOrderArgs {