@agentbadge/database 0.3.0 → 0.5.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 (28) hide show
  1. package/dist/database.d.ts +20 -0
  2. package/dist/database.js +30 -0
  3. package/dist/index.d.ts +19 -0
  4. package/dist/index.js +10 -0
  5. package/dist/prisma/contract.json +2179 -171
  6. package/dist/repositories/delegate-repository.d.ts +23 -0
  7. package/dist/repositories/delegate-repository.js +58 -0
  8. package/dist/repositories/eaas-anchor-repository.d.ts +32 -0
  9. package/dist/repositories/eaas-anchor-repository.js +41 -0
  10. package/dist/repositories/eaas-contract-repository.d.ts +21 -0
  11. package/dist/repositories/eaas-contract-repository.js +45 -0
  12. package/dist/repositories/eaas-eval-job-repository.d.ts +22 -0
  13. package/dist/repositories/eaas-eval-job-repository.js +33 -0
  14. package/dist/repositories/eaas-request-repository.d.ts +32 -0
  15. package/dist/repositories/eaas-request-repository.js +48 -0
  16. package/dist/repositories/eaas-subscription-repository.d.ts +22 -0
  17. package/dist/repositories/eaas-subscription-repository.js +39 -0
  18. package/dist/repositories/eaas-verdict-repository.d.ts +20 -0
  19. package/dist/repositories/eaas-verdict-repository.js +37 -0
  20. package/dist/repositories/marketplace-repository.d.ts +17 -0
  21. package/dist/repositories/marketplace-repository.js +40 -0
  22. package/dist/repositories/spend-alert-repository.d.ts +25 -0
  23. package/dist/repositories/spend-alert-repository.js +39 -0
  24. package/dist/repositories/spend-ledger-repository.d.ts +32 -0
  25. package/dist/repositories/spend-ledger-repository.js +69 -0
  26. package/dist/store.d.ts +3 -0
  27. package/dist/store.js +3 -0
  28. package/package.json +1 -1
@@ -12,14 +12,54 @@
12
12
  "model": "ChatSubscription",
13
13
  "namespace": "public"
14
14
  },
15
+ "delegateRecord": {
16
+ "model": "DelegateRecord",
17
+ "namespace": "public"
18
+ },
19
+ "eaasAnchor": {
20
+ "model": "EaasAnchor",
21
+ "namespace": "public"
22
+ },
23
+ "eaasContract": {
24
+ "model": "EaasContract",
25
+ "namespace": "public"
26
+ },
27
+ "eaasEvalJob": {
28
+ "model": "EaasEvalJob",
29
+ "namespace": "public"
30
+ },
31
+ "eaasRequest": {
32
+ "model": "EaasRequest",
33
+ "namespace": "public"
34
+ },
35
+ "eaasSubscription": {
36
+ "model": "EaasSubscription",
37
+ "namespace": "public"
38
+ },
39
+ "eaasVerdict": {
40
+ "model": "EaasVerdict",
41
+ "namespace": "public"
42
+ },
15
43
  "event": {
16
44
  "model": "Event",
17
45
  "namespace": "public"
18
46
  },
47
+ "marketplaceMeta": {
48
+ "model": "MarketplaceMeta",
49
+ "namespace": "public"
50
+ },
51
+ "marketplaceService": {
52
+ "model": "MarketplaceService",
53
+ "namespace": "public"
54
+ },
19
55
  "scanResult": {
20
56
  "model": "ScanResult",
21
57
  "namespace": "public"
22
58
  },
59
+ "spendEvent": {
60
+ "model": "SpendEvent",
61
+ "namespace": "public"
62
+ },
23
63
  "venueJob": {
24
64
  "model": "VenueJob",
25
65
  "namespace": "public"
@@ -219,8 +259,22 @@
219
259
  "table": "chatSubscription"
220
260
  }
221
261
  },
222
- "Event": {
262
+ "DelegateRecord": {
223
263
  "fields": {
264
+ "authorizedAt": {
265
+ "nullable": false,
266
+ "type": {
267
+ "codecId": "pg/int8@1",
268
+ "kind": "scalar"
269
+ }
270
+ },
271
+ "chain": {
272
+ "nullable": false,
273
+ "type": {
274
+ "codecId": "pg/text@1",
275
+ "kind": "scalar"
276
+ }
277
+ },
224
278
  "createdAt": {
225
279
  "nullable": false,
226
280
  "type": {
@@ -228,6 +282,13 @@
228
282
  "kind": "scalar"
229
283
  }
230
284
  },
285
+ "delegate": {
286
+ "nullable": false,
287
+ "type": {
288
+ "codecId": "pg/text@1",
289
+ "kind": "scalar"
290
+ }
291
+ },
231
292
  "id": {
232
293
  "nullable": false,
233
294
  "type": {
@@ -235,6 +296,13 @@
235
296
  "kind": "scalar"
236
297
  }
237
298
  },
299
+ "ownerWallet": {
300
+ "nullable": false,
301
+ "type": {
302
+ "codecId": "pg/text@1",
303
+ "kind": "scalar"
304
+ }
305
+ },
238
306
  "payload": {
239
307
  "nullable": false,
240
308
  "type": {
@@ -242,17 +310,17 @@
242
310
  "kind": "scalar"
243
311
  }
244
312
  },
245
- "source": {
313
+ "revokedAt": {
246
314
  "nullable": true,
247
315
  "type": {
248
- "codecId": "pg/text@1",
316
+ "codecId": "pg/int8@1",
249
317
  "kind": "scalar"
250
318
  }
251
319
  },
252
- "type": {
320
+ "spendCapUsd": {
253
321
  "nullable": false,
254
322
  "type": {
255
- "codecId": "pg/text@1",
323
+ "codecId": "pg/numeric@1",
256
324
  "kind": "scalar"
257
325
  }
258
326
  },
@@ -267,31 +335,64 @@
267
335
  "relations": {},
268
336
  "storage": {
269
337
  "fields": {
338
+ "authorizedAt": {
339
+ "column": "authorizedAt"
340
+ },
341
+ "chain": {
342
+ "column": "chain"
343
+ },
270
344
  "createdAt": {
271
345
  "column": "createdAt"
272
346
  },
347
+ "delegate": {
348
+ "column": "delegate"
349
+ },
273
350
  "id": {
274
351
  "column": "id"
275
352
  },
353
+ "ownerWallet": {
354
+ "column": "ownerWallet"
355
+ },
276
356
  "payload": {
277
357
  "column": "payload"
278
358
  },
279
- "source": {
280
- "column": "source"
359
+ "revokedAt": {
360
+ "column": "revokedAt"
281
361
  },
282
- "type": {
283
- "column": "type"
362
+ "spendCapUsd": {
363
+ "column": "spendCapUsd"
284
364
  },
285
365
  "updatedAt": {
286
366
  "column": "updatedAt"
287
367
  }
288
368
  },
289
369
  "namespaceId": "public",
290
- "table": "event"
370
+ "table": "delegateRecord"
291
371
  }
292
372
  },
293
- "ScanResult": {
373
+ "EaasAnchor": {
294
374
  "fields": {
375
+ "artifactHash": {
376
+ "nullable": false,
377
+ "type": {
378
+ "codecId": "pg/text@1",
379
+ "kind": "scalar"
380
+ }
381
+ },
382
+ "attempts": {
383
+ "nullable": false,
384
+ "type": {
385
+ "codecId": "pg/int4@1",
386
+ "kind": "scalar"
387
+ }
388
+ },
389
+ "blockNumber": {
390
+ "nullable": true,
391
+ "type": {
392
+ "codecId": "pg/text@1",
393
+ "kind": "scalar"
394
+ }
395
+ },
295
396
  "createdAt": {
296
397
  "nullable": false,
297
398
  "type": {
@@ -299,38 +400,38 @@
299
400
  "kind": "scalar"
300
401
  }
301
402
  },
302
- "domain": {
303
- "nullable": false,
403
+ "lastError": {
404
+ "nullable": true,
304
405
  "type": {
305
406
  "codecId": "pg/text@1",
306
407
  "kind": "scalar"
307
408
  }
308
409
  },
309
- "id": {
410
+ "memoId": {
310
411
  "nullable": false,
311
412
  "type": {
312
413
  "codecId": "pg/text@1",
313
414
  "kind": "scalar"
314
415
  }
315
416
  },
316
- "report": {
417
+ "payload": {
317
418
  "nullable": false,
318
419
  "type": {
319
420
  "codecId": "pg/json@1",
320
421
  "kind": "scalar"
321
422
  }
322
423
  },
323
- "rulesetVersion": {
324
- "nullable": true,
424
+ "status": {
425
+ "nullable": false,
325
426
  "type": {
326
427
  "codecId": "pg/text@1",
327
428
  "kind": "scalar"
328
429
  }
329
430
  },
330
- "score": {
431
+ "txHash": {
331
432
  "nullable": true,
332
433
  "type": {
333
- "codecId": "pg/int4@1",
434
+ "codecId": "pg/text@1",
334
435
  "kind": "scalar"
335
436
  }
336
437
  },
@@ -341,7 +442,7 @@
341
442
  "kind": "scalar"
342
443
  }
343
444
  },
344
- "url": {
445
+ "verdictId": {
345
446
  "nullable": false,
346
447
  "type": {
347
448
  "codecId": "pg/text@1",
@@ -352,44 +453,67 @@
352
453
  "relations": {},
353
454
  "storage": {
354
455
  "fields": {
456
+ "artifactHash": {
457
+ "column": "artifactHash"
458
+ },
459
+ "attempts": {
460
+ "column": "attempts"
461
+ },
462
+ "blockNumber": {
463
+ "column": "blockNumber"
464
+ },
355
465
  "createdAt": {
356
466
  "column": "createdAt"
357
467
  },
358
- "domain": {
359
- "column": "domain"
468
+ "lastError": {
469
+ "column": "lastError"
360
470
  },
361
- "id": {
362
- "column": "id"
471
+ "memoId": {
472
+ "column": "memoId"
363
473
  },
364
- "report": {
365
- "column": "report"
474
+ "payload": {
475
+ "column": "payload"
366
476
  },
367
- "rulesetVersion": {
368
- "column": "rulesetVersion"
477
+ "status": {
478
+ "column": "status"
369
479
  },
370
- "score": {
371
- "column": "score"
480
+ "txHash": {
481
+ "column": "txHash"
372
482
  },
373
483
  "updatedAt": {
374
484
  "column": "updatedAt"
375
485
  },
376
- "url": {
377
- "column": "url"
486
+ "verdictId": {
487
+ "column": "verdictId"
378
488
  }
379
489
  },
380
490
  "namespaceId": "public",
381
- "table": "scanResult"
491
+ "table": "eaasAnchor"
382
492
  }
383
493
  },
384
- "VenueJob": {
494
+ "EaasContract": {
385
495
  "fields": {
386
- "client": {
496
+ "active": {
497
+ "nullable": false,
498
+ "type": {
499
+ "codecId": "pg/bool@1",
500
+ "kind": "scalar"
501
+ }
502
+ },
503
+ "address": {
387
504
  "nullable": false,
388
505
  "type": {
389
506
  "codecId": "pg/text@1",
390
507
  "kind": "scalar"
391
508
  }
392
509
  },
510
+ "chainId": {
511
+ "nullable": false,
512
+ "type": {
513
+ "codecId": "pg/int4@1",
514
+ "kind": "scalar"
515
+ }
516
+ },
393
517
  "createdAt": {
394
518
  "nullable": false,
395
519
  "type": {
@@ -404,7 +528,7 @@
404
528
  "kind": "scalar"
405
529
  }
406
530
  },
407
- "jobId": {
531
+ "ownerWallet": {
408
532
  "nullable": false,
409
533
  "type": {
410
534
  "codecId": "pg/text@1",
@@ -418,17 +542,10 @@
418
542
  "kind": "scalar"
419
543
  }
420
544
  },
421
- "provider": {
422
- "nullable": true,
423
- "type": {
424
- "codecId": "pg/text@1",
425
- "kind": "scalar"
426
- }
427
- },
428
- "status": {
545
+ "probedAt": {
429
546
  "nullable": false,
430
547
  "type": {
431
- "codecId": "pg/text@1",
548
+ "codecId": "pg/int8@1",
432
549
  "kind": "scalar"
433
550
  }
434
551
  },
@@ -443,8 +560,14 @@
443
560
  "relations": {},
444
561
  "storage": {
445
562
  "fields": {
446
- "client": {
447
- "column": "client"
563
+ "active": {
564
+ "column": "active"
565
+ },
566
+ "address": {
567
+ "column": "address"
568
+ },
569
+ "chainId": {
570
+ "column": "chainId"
448
571
  },
449
572
  "createdAt": {
450
573
  "column": "createdAt"
@@ -452,28 +575,60 @@
452
575
  "id": {
453
576
  "column": "id"
454
577
  },
455
- "jobId": {
456
- "column": "jobId"
578
+ "ownerWallet": {
579
+ "column": "ownerWallet"
457
580
  },
458
581
  "payload": {
459
582
  "column": "payload"
460
583
  },
461
- "provider": {
462
- "column": "provider"
463
- },
464
- "status": {
465
- "column": "status"
584
+ "probedAt": {
585
+ "column": "probedAt"
466
586
  },
467
587
  "updatedAt": {
468
588
  "column": "updatedAt"
469
589
  }
470
590
  },
471
591
  "namespaceId": "public",
472
- "table": "venueJob"
592
+ "table": "eaasContract"
473
593
  }
474
594
  },
475
- "VenueMeta": {
595
+ "EaasEvalJob": {
476
596
  "fields": {
597
+ "chainId": {
598
+ "nullable": false,
599
+ "type": {
600
+ "codecId": "pg/int4@1",
601
+ "kind": "scalar"
602
+ }
603
+ },
604
+ "contract": {
605
+ "nullable": false,
606
+ "type": {
607
+ "codecId": "pg/text@1",
608
+ "kind": "scalar"
609
+ }
610
+ },
611
+ "createdAt": {
612
+ "nullable": false,
613
+ "type": {
614
+ "codecId": "pg/timestamptz-string@1",
615
+ "kind": "scalar"
616
+ }
617
+ },
618
+ "feedbackTx": {
619
+ "nullable": true,
620
+ "type": {
621
+ "codecId": "pg/text@1",
622
+ "kind": "scalar"
623
+ }
624
+ },
625
+ "jobId": {
626
+ "nullable": false,
627
+ "type": {
628
+ "codecId": "pg/text@1",
629
+ "kind": "scalar"
630
+ }
631
+ },
477
632
  "key": {
478
633
  "nullable": false,
479
634
  "type": {
@@ -481,6 +636,20 @@
481
636
  "kind": "scalar"
482
637
  }
483
638
  },
639
+ "payload": {
640
+ "nullable": false,
641
+ "type": {
642
+ "codecId": "pg/json@1",
643
+ "kind": "scalar"
644
+ }
645
+ },
646
+ "paymentTx": {
647
+ "nullable": true,
648
+ "type": {
649
+ "codecId": "pg/text@1",
650
+ "kind": "scalar"
651
+ }
652
+ },
484
653
  "updatedAt": {
485
654
  "nullable": false,
486
655
  "type": {
@@ -488,10 +657,10 @@
488
657
  "kind": "scalar"
489
658
  }
490
659
  },
491
- "value": {
660
+ "verdictId": {
492
661
  "nullable": false,
493
662
  "type": {
494
- "codecId": "pg/json@1",
663
+ "codecId": "pg/text@1",
495
664
  "kind": "scalar"
496
665
  }
497
666
  }
@@ -499,26 +668,54 @@
499
668
  "relations": {},
500
669
  "storage": {
501
670
  "fields": {
671
+ "chainId": {
672
+ "column": "chainId"
673
+ },
674
+ "contract": {
675
+ "column": "contract"
676
+ },
677
+ "createdAt": {
678
+ "column": "createdAt"
679
+ },
680
+ "feedbackTx": {
681
+ "column": "feedbackTx"
682
+ },
683
+ "jobId": {
684
+ "column": "jobId"
685
+ },
502
686
  "key": {
503
687
  "column": "key"
504
688
  },
689
+ "payload": {
690
+ "column": "payload"
691
+ },
692
+ "paymentTx": {
693
+ "column": "paymentTx"
694
+ },
505
695
  "updatedAt": {
506
696
  "column": "updatedAt"
507
697
  },
508
- "value": {
509
- "column": "value"
698
+ "verdictId": {
699
+ "column": "verdictId"
510
700
  }
511
701
  },
512
702
  "namespaceId": "public",
513
- "table": "venueMeta"
703
+ "table": "eaasEvalJob"
514
704
  }
515
705
  },
516
- "VenueOffer": {
706
+ "EaasRequest": {
517
707
  "fields": {
518
- "active": {
708
+ "attempts": {
519
709
  "nullable": false,
520
710
  "type": {
521
- "codecId": "pg/bool@1",
711
+ "codecId": "pg/int4@1",
712
+ "kind": "scalar"
713
+ }
714
+ },
715
+ "completedAt": {
716
+ "nullable": true,
717
+ "type": {
718
+ "codecId": "pg/text@1",
522
719
  "kind": "scalar"
523
720
  }
524
721
  },
@@ -536,6 +733,13 @@
536
733
  "kind": "scalar"
537
734
  }
538
735
  },
736
+ "kind": {
737
+ "nullable": false,
738
+ "type": {
739
+ "codecId": "pg/text@1",
740
+ "kind": "scalar"
741
+ }
742
+ },
539
743
  "payload": {
540
744
  "nullable": false,
541
745
  "type": {
@@ -543,7 +747,14 @@
543
747
  "kind": "scalar"
544
748
  }
545
749
  },
546
- "providerAddress": {
750
+ "reqCreatedAt": {
751
+ "nullable": false,
752
+ "type": {
753
+ "codecId": "pg/text@1",
754
+ "kind": "scalar"
755
+ }
756
+ },
757
+ "status": {
547
758
  "nullable": false,
548
759
  "type": {
549
760
  "codecId": "pg/text@1",
@@ -556,60 +767,1568 @@
556
767
  "codecId": "pg/timestamptz-string@1",
557
768
  "kind": "scalar"
558
769
  }
559
- }
560
- },
561
- "relations": {},
562
- "storage": {
563
- "fields": {
564
- "active": {
565
- "column": "active"
566
- },
567
- "createdAt": {
568
- "column": "createdAt"
569
- },
770
+ },
771
+ "wallet": {
772
+ "nullable": true,
773
+ "type": {
774
+ "codecId": "pg/text@1",
775
+ "kind": "scalar"
776
+ }
777
+ },
778
+ "webhookStatus": {
779
+ "nullable": true,
780
+ "type": {
781
+ "codecId": "pg/text@1",
782
+ "kind": "scalar"
783
+ }
784
+ }
785
+ },
786
+ "relations": {},
787
+ "storage": {
788
+ "fields": {
789
+ "attempts": {
790
+ "column": "attempts"
791
+ },
792
+ "completedAt": {
793
+ "column": "completedAt"
794
+ },
795
+ "createdAt": {
796
+ "column": "createdAt"
797
+ },
798
+ "id": {
799
+ "column": "id"
800
+ },
801
+ "kind": {
802
+ "column": "kind"
803
+ },
804
+ "payload": {
805
+ "column": "payload"
806
+ },
807
+ "reqCreatedAt": {
808
+ "column": "reqCreatedAt"
809
+ },
810
+ "status": {
811
+ "column": "status"
812
+ },
813
+ "updatedAt": {
814
+ "column": "updatedAt"
815
+ },
816
+ "wallet": {
817
+ "column": "wallet"
818
+ },
819
+ "webhookStatus": {
820
+ "column": "webhookStatus"
821
+ }
822
+ },
823
+ "namespaceId": "public",
824
+ "table": "eaasRequest"
825
+ }
826
+ },
827
+ "EaasSubscription": {
828
+ "fields": {
829
+ "createdAt": {
830
+ "nullable": false,
831
+ "type": {
832
+ "codecId": "pg/timestamptz-string@1",
833
+ "kind": "scalar"
834
+ }
835
+ },
836
+ "expiresAt": {
837
+ "nullable": false,
838
+ "type": {
839
+ "codecId": "pg/int8@1",
840
+ "kind": "scalar"
841
+ }
842
+ },
843
+ "mintTx": {
844
+ "nullable": true,
845
+ "type": {
846
+ "codecId": "pg/text@1",
847
+ "kind": "scalar"
848
+ }
849
+ },
850
+ "payload": {
851
+ "nullable": false,
852
+ "type": {
853
+ "codecId": "pg/json@1",
854
+ "kind": "scalar"
855
+ }
856
+ },
857
+ "paymentTx": {
858
+ "nullable": true,
859
+ "type": {
860
+ "codecId": "pg/text@1",
861
+ "kind": "scalar"
862
+ }
863
+ },
864
+ "quotaUsed": {
865
+ "nullable": false,
866
+ "type": {
867
+ "codecId": "pg/int4@1",
868
+ "kind": "scalar"
869
+ }
870
+ },
871
+ "resetAt": {
872
+ "nullable": false,
873
+ "type": {
874
+ "codecId": "pg/int8@1",
875
+ "kind": "scalar"
876
+ }
877
+ },
878
+ "tier": {
879
+ "nullable": false,
880
+ "type": {
881
+ "codecId": "pg/text@1",
882
+ "kind": "scalar"
883
+ }
884
+ },
885
+ "updatedAt": {
886
+ "nullable": false,
887
+ "type": {
888
+ "codecId": "pg/timestamptz-string@1",
889
+ "kind": "scalar"
890
+ }
891
+ },
892
+ "wallet": {
893
+ "nullable": false,
894
+ "type": {
895
+ "codecId": "pg/text@1",
896
+ "kind": "scalar"
897
+ }
898
+ }
899
+ },
900
+ "relations": {},
901
+ "storage": {
902
+ "fields": {
903
+ "createdAt": {
904
+ "column": "createdAt"
905
+ },
906
+ "expiresAt": {
907
+ "column": "expiresAt"
908
+ },
909
+ "mintTx": {
910
+ "column": "mintTx"
911
+ },
912
+ "payload": {
913
+ "column": "payload"
914
+ },
915
+ "paymentTx": {
916
+ "column": "paymentTx"
917
+ },
918
+ "quotaUsed": {
919
+ "column": "quotaUsed"
920
+ },
921
+ "resetAt": {
922
+ "column": "resetAt"
923
+ },
924
+ "tier": {
925
+ "column": "tier"
926
+ },
927
+ "updatedAt": {
928
+ "column": "updatedAt"
929
+ },
930
+ "wallet": {
931
+ "column": "wallet"
932
+ }
933
+ },
934
+ "namespaceId": "public",
935
+ "table": "eaasSubscription"
936
+ }
937
+ },
938
+ "EaasVerdict": {
939
+ "fields": {
940
+ "consumerWallet": {
941
+ "nullable": true,
942
+ "type": {
943
+ "codecId": "pg/text@1",
944
+ "kind": "scalar"
945
+ }
946
+ },
947
+ "createdAt": {
948
+ "nullable": false,
949
+ "type": {
950
+ "codecId": "pg/timestamptz-string@1",
951
+ "kind": "scalar"
952
+ }
953
+ },
954
+ "deliverableHash": {
955
+ "nullable": true,
956
+ "type": {
957
+ "codecId": "pg/text@1",
958
+ "kind": "scalar"
959
+ }
960
+ },
961
+ "payload": {
962
+ "nullable": false,
963
+ "type": {
964
+ "codecId": "pg/json@1",
965
+ "kind": "scalar"
966
+ }
967
+ },
968
+ "paymentTx": {
969
+ "nullable": true,
970
+ "type": {
971
+ "codecId": "pg/text@1",
972
+ "kind": "scalar"
973
+ }
974
+ },
975
+ "updatedAt": {
976
+ "nullable": false,
977
+ "type": {
978
+ "codecId": "pg/timestamptz-string@1",
979
+ "kind": "scalar"
980
+ }
981
+ },
982
+ "verdictId": {
983
+ "nullable": false,
984
+ "type": {
985
+ "codecId": "pg/text@1",
986
+ "kind": "scalar"
987
+ }
988
+ }
989
+ },
990
+ "relations": {},
991
+ "storage": {
992
+ "fields": {
993
+ "consumerWallet": {
994
+ "column": "consumerWallet"
995
+ },
996
+ "createdAt": {
997
+ "column": "createdAt"
998
+ },
999
+ "deliverableHash": {
1000
+ "column": "deliverableHash"
1001
+ },
1002
+ "payload": {
1003
+ "column": "payload"
1004
+ },
1005
+ "paymentTx": {
1006
+ "column": "paymentTx"
1007
+ },
1008
+ "updatedAt": {
1009
+ "column": "updatedAt"
1010
+ },
1011
+ "verdictId": {
1012
+ "column": "verdictId"
1013
+ }
1014
+ },
1015
+ "namespaceId": "public",
1016
+ "table": "eaasVerdict"
1017
+ }
1018
+ },
1019
+ "Event": {
1020
+ "fields": {
1021
+ "at": {
1022
+ "nullable": true,
1023
+ "type": {
1024
+ "codecId": "pg/int8@1",
1025
+ "kind": "scalar"
1026
+ }
1027
+ },
1028
+ "createdAt": {
1029
+ "nullable": false,
1030
+ "type": {
1031
+ "codecId": "pg/timestamptz-string@1",
1032
+ "kind": "scalar"
1033
+ }
1034
+ },
1035
+ "id": {
1036
+ "nullable": false,
1037
+ "type": {
1038
+ "codecId": "pg/text@1",
1039
+ "kind": "scalar"
1040
+ }
1041
+ },
1042
+ "payload": {
1043
+ "nullable": false,
1044
+ "type": {
1045
+ "codecId": "pg/json@1",
1046
+ "kind": "scalar"
1047
+ }
1048
+ },
1049
+ "source": {
1050
+ "nullable": true,
1051
+ "type": {
1052
+ "codecId": "pg/text@1",
1053
+ "kind": "scalar"
1054
+ }
1055
+ },
1056
+ "type": {
1057
+ "nullable": false,
1058
+ "type": {
1059
+ "codecId": "pg/text@1",
1060
+ "kind": "scalar"
1061
+ }
1062
+ },
1063
+ "updatedAt": {
1064
+ "nullable": false,
1065
+ "type": {
1066
+ "codecId": "pg/timestamptz-string@1",
1067
+ "kind": "scalar"
1068
+ }
1069
+ },
1070
+ "venueId": {
1071
+ "nullable": true,
1072
+ "type": {
1073
+ "codecId": "pg/text@1",
1074
+ "kind": "scalar"
1075
+ }
1076
+ },
1077
+ "wallet": {
1078
+ "nullable": true,
1079
+ "type": {
1080
+ "codecId": "pg/text@1",
1081
+ "kind": "scalar"
1082
+ }
1083
+ }
1084
+ },
1085
+ "relations": {},
1086
+ "storage": {
1087
+ "fields": {
1088
+ "at": {
1089
+ "column": "at"
1090
+ },
1091
+ "createdAt": {
1092
+ "column": "createdAt"
1093
+ },
1094
+ "id": {
1095
+ "column": "id"
1096
+ },
1097
+ "payload": {
1098
+ "column": "payload"
1099
+ },
1100
+ "source": {
1101
+ "column": "source"
1102
+ },
1103
+ "type": {
1104
+ "column": "type"
1105
+ },
1106
+ "updatedAt": {
1107
+ "column": "updatedAt"
1108
+ },
1109
+ "venueId": {
1110
+ "column": "venueId"
1111
+ },
1112
+ "wallet": {
1113
+ "column": "wallet"
1114
+ }
1115
+ },
1116
+ "namespaceId": "public",
1117
+ "table": "event"
1118
+ }
1119
+ },
1120
+ "MarketplaceMeta": {
1121
+ "fields": {
1122
+ "createdAt": {
1123
+ "nullable": false,
1124
+ "type": {
1125
+ "codecId": "pg/timestamptz-string@1",
1126
+ "kind": "scalar"
1127
+ }
1128
+ },
1129
+ "hash": {
1130
+ "nullable": false,
1131
+ "type": {
1132
+ "codecId": "pg/text@1",
1133
+ "kind": "scalar"
1134
+ }
1135
+ },
1136
+ "payload": {
1137
+ "nullable": false,
1138
+ "type": {
1139
+ "codecId": "pg/json@1",
1140
+ "kind": "scalar"
1141
+ }
1142
+ }
1143
+ },
1144
+ "relations": {},
1145
+ "storage": {
1146
+ "fields": {
1147
+ "createdAt": {
1148
+ "column": "createdAt"
1149
+ },
1150
+ "hash": {
1151
+ "column": "hash"
1152
+ },
1153
+ "payload": {
1154
+ "column": "payload"
1155
+ }
1156
+ },
1157
+ "namespaceId": "public",
1158
+ "table": "marketplaceMeta"
1159
+ }
1160
+ },
1161
+ "MarketplaceService": {
1162
+ "fields": {
1163
+ "createdAt": {
1164
+ "nullable": false,
1165
+ "type": {
1166
+ "codecId": "pg/timestamptz-string@1",
1167
+ "kind": "scalar"
1168
+ }
1169
+ },
1170
+ "payload": {
1171
+ "nullable": false,
1172
+ "type": {
1173
+ "codecId": "pg/json@1",
1174
+ "kind": "scalar"
1175
+ }
1176
+ },
1177
+ "serviceId": {
1178
+ "nullable": false,
1179
+ "type": {
1180
+ "codecId": "pg/text@1",
1181
+ "kind": "scalar"
1182
+ }
1183
+ },
1184
+ "updatedAt": {
1185
+ "nullable": false,
1186
+ "type": {
1187
+ "codecId": "pg/timestamptz-string@1",
1188
+ "kind": "scalar"
1189
+ }
1190
+ }
1191
+ },
1192
+ "relations": {},
1193
+ "storage": {
1194
+ "fields": {
1195
+ "createdAt": {
1196
+ "column": "createdAt"
1197
+ },
1198
+ "payload": {
1199
+ "column": "payload"
1200
+ },
1201
+ "serviceId": {
1202
+ "column": "serviceId"
1203
+ },
1204
+ "updatedAt": {
1205
+ "column": "updatedAt"
1206
+ }
1207
+ },
1208
+ "namespaceId": "public",
1209
+ "table": "marketplaceService"
1210
+ }
1211
+ },
1212
+ "ScanResult": {
1213
+ "fields": {
1214
+ "createdAt": {
1215
+ "nullable": false,
1216
+ "type": {
1217
+ "codecId": "pg/timestamptz-string@1",
1218
+ "kind": "scalar"
1219
+ }
1220
+ },
1221
+ "domain": {
1222
+ "nullable": false,
1223
+ "type": {
1224
+ "codecId": "pg/text@1",
1225
+ "kind": "scalar"
1226
+ }
1227
+ },
1228
+ "id": {
1229
+ "nullable": false,
1230
+ "type": {
1231
+ "codecId": "pg/text@1",
1232
+ "kind": "scalar"
1233
+ }
1234
+ },
1235
+ "report": {
1236
+ "nullable": false,
1237
+ "type": {
1238
+ "codecId": "pg/json@1",
1239
+ "kind": "scalar"
1240
+ }
1241
+ },
1242
+ "rulesetVersion": {
1243
+ "nullable": true,
1244
+ "type": {
1245
+ "codecId": "pg/text@1",
1246
+ "kind": "scalar"
1247
+ }
1248
+ },
1249
+ "score": {
1250
+ "nullable": true,
1251
+ "type": {
1252
+ "codecId": "pg/int4@1",
1253
+ "kind": "scalar"
1254
+ }
1255
+ },
1256
+ "updatedAt": {
1257
+ "nullable": false,
1258
+ "type": {
1259
+ "codecId": "pg/timestamptz-string@1",
1260
+ "kind": "scalar"
1261
+ }
1262
+ },
1263
+ "url": {
1264
+ "nullable": false,
1265
+ "type": {
1266
+ "codecId": "pg/text@1",
1267
+ "kind": "scalar"
1268
+ }
1269
+ }
1270
+ },
1271
+ "relations": {},
1272
+ "storage": {
1273
+ "fields": {
1274
+ "createdAt": {
1275
+ "column": "createdAt"
1276
+ },
1277
+ "domain": {
1278
+ "column": "domain"
1279
+ },
1280
+ "id": {
1281
+ "column": "id"
1282
+ },
1283
+ "report": {
1284
+ "column": "report"
1285
+ },
1286
+ "rulesetVersion": {
1287
+ "column": "rulesetVersion"
1288
+ },
1289
+ "score": {
1290
+ "column": "score"
1291
+ },
1292
+ "updatedAt": {
1293
+ "column": "updatedAt"
1294
+ },
1295
+ "url": {
1296
+ "column": "url"
1297
+ }
1298
+ },
1299
+ "namespaceId": "public",
1300
+ "table": "scanResult"
1301
+ }
1302
+ },
1303
+ "SpendEvent": {
1304
+ "fields": {
1305
+ "amountUsd": {
1306
+ "nullable": false,
1307
+ "type": {
1308
+ "codecId": "pg/numeric@1",
1309
+ "kind": "scalar"
1310
+ }
1311
+ },
1312
+ "at": {
1313
+ "nullable": false,
1314
+ "type": {
1315
+ "codecId": "pg/int8@1",
1316
+ "kind": "scalar"
1317
+ }
1318
+ },
1319
+ "createdAt": {
1320
+ "nullable": false,
1321
+ "type": {
1322
+ "codecId": "pg/timestamptz-string@1",
1323
+ "kind": "scalar"
1324
+ }
1325
+ },
1326
+ "denialReason": {
1327
+ "nullable": true,
1328
+ "type": {
1329
+ "codecId": "pg/text@1",
1330
+ "kind": "scalar"
1331
+ }
1332
+ },
1333
+ "id": {
1334
+ "nullable": false,
1335
+ "type": {
1336
+ "codecId": "pg/text@1",
1337
+ "kind": "scalar"
1338
+ }
1339
+ },
1340
+ "kind": {
1341
+ "nullable": false,
1342
+ "type": {
1343
+ "codecId": "pg/text@1",
1344
+ "kind": "scalar"
1345
+ }
1346
+ },
1347
+ "payload": {
1348
+ "nullable": false,
1349
+ "type": {
1350
+ "codecId": "pg/json@1",
1351
+ "kind": "scalar"
1352
+ }
1353
+ },
1354
+ "refId": {
1355
+ "nullable": false,
1356
+ "type": {
1357
+ "codecId": "pg/text@1",
1358
+ "kind": "scalar"
1359
+ }
1360
+ },
1361
+ "sourceChain": {
1362
+ "nullable": true,
1363
+ "type": {
1364
+ "codecId": "pg/text@1",
1365
+ "kind": "scalar"
1366
+ }
1367
+ },
1368
+ "state": {
1369
+ "nullable": false,
1370
+ "type": {
1371
+ "codecId": "pg/text@1",
1372
+ "kind": "scalar"
1373
+ }
1374
+ },
1375
+ "txHash": {
1376
+ "nullable": true,
1377
+ "type": {
1378
+ "codecId": "pg/text@1",
1379
+ "kind": "scalar"
1380
+ }
1381
+ },
1382
+ "updatedAt": {
1383
+ "nullable": false,
1384
+ "type": {
1385
+ "codecId": "pg/timestamptz-string@1",
1386
+ "kind": "scalar"
1387
+ }
1388
+ },
1389
+ "venueId": {
1390
+ "nullable": true,
1391
+ "type": {
1392
+ "codecId": "pg/text@1",
1393
+ "kind": "scalar"
1394
+ }
1395
+ },
1396
+ "wallet": {
1397
+ "nullable": false,
1398
+ "type": {
1399
+ "codecId": "pg/text@1",
1400
+ "kind": "scalar"
1401
+ }
1402
+ }
1403
+ },
1404
+ "relations": {},
1405
+ "storage": {
1406
+ "fields": {
1407
+ "amountUsd": {
1408
+ "column": "amountUsd"
1409
+ },
1410
+ "at": {
1411
+ "column": "at"
1412
+ },
1413
+ "createdAt": {
1414
+ "column": "createdAt"
1415
+ },
1416
+ "denialReason": {
1417
+ "column": "denialReason"
1418
+ },
1419
+ "id": {
1420
+ "column": "id"
1421
+ },
1422
+ "kind": {
1423
+ "column": "kind"
1424
+ },
1425
+ "payload": {
1426
+ "column": "payload"
1427
+ },
1428
+ "refId": {
1429
+ "column": "refId"
1430
+ },
1431
+ "sourceChain": {
1432
+ "column": "sourceChain"
1433
+ },
1434
+ "state": {
1435
+ "column": "state"
1436
+ },
1437
+ "txHash": {
1438
+ "column": "txHash"
1439
+ },
1440
+ "updatedAt": {
1441
+ "column": "updatedAt"
1442
+ },
1443
+ "venueId": {
1444
+ "column": "venueId"
1445
+ },
1446
+ "wallet": {
1447
+ "column": "wallet"
1448
+ }
1449
+ },
1450
+ "namespaceId": "public",
1451
+ "table": "spendEvent"
1452
+ }
1453
+ },
1454
+ "VenueJob": {
1455
+ "fields": {
1456
+ "client": {
1457
+ "nullable": false,
1458
+ "type": {
1459
+ "codecId": "pg/text@1",
1460
+ "kind": "scalar"
1461
+ }
1462
+ },
1463
+ "createdAt": {
1464
+ "nullable": false,
1465
+ "type": {
1466
+ "codecId": "pg/timestamptz-string@1",
1467
+ "kind": "scalar"
1468
+ }
1469
+ },
1470
+ "id": {
1471
+ "nullable": false,
1472
+ "type": {
1473
+ "codecId": "pg/text@1",
1474
+ "kind": "scalar"
1475
+ }
1476
+ },
1477
+ "jobId": {
1478
+ "nullable": false,
1479
+ "type": {
1480
+ "codecId": "pg/text@1",
1481
+ "kind": "scalar"
1482
+ }
1483
+ },
1484
+ "payload": {
1485
+ "nullable": false,
1486
+ "type": {
1487
+ "codecId": "pg/json@1",
1488
+ "kind": "scalar"
1489
+ }
1490
+ },
1491
+ "provider": {
1492
+ "nullable": true,
1493
+ "type": {
1494
+ "codecId": "pg/text@1",
1495
+ "kind": "scalar"
1496
+ }
1497
+ },
1498
+ "status": {
1499
+ "nullable": false,
1500
+ "type": {
1501
+ "codecId": "pg/text@1",
1502
+ "kind": "scalar"
1503
+ }
1504
+ },
1505
+ "updatedAt": {
1506
+ "nullable": false,
1507
+ "type": {
1508
+ "codecId": "pg/timestamptz-string@1",
1509
+ "kind": "scalar"
1510
+ }
1511
+ }
1512
+ },
1513
+ "relations": {},
1514
+ "storage": {
1515
+ "fields": {
1516
+ "client": {
1517
+ "column": "client"
1518
+ },
1519
+ "createdAt": {
1520
+ "column": "createdAt"
1521
+ },
1522
+ "id": {
1523
+ "column": "id"
1524
+ },
1525
+ "jobId": {
1526
+ "column": "jobId"
1527
+ },
1528
+ "payload": {
1529
+ "column": "payload"
1530
+ },
1531
+ "provider": {
1532
+ "column": "provider"
1533
+ },
1534
+ "status": {
1535
+ "column": "status"
1536
+ },
1537
+ "updatedAt": {
1538
+ "column": "updatedAt"
1539
+ }
1540
+ },
1541
+ "namespaceId": "public",
1542
+ "table": "venueJob"
1543
+ }
1544
+ },
1545
+ "VenueMeta": {
1546
+ "fields": {
1547
+ "key": {
1548
+ "nullable": false,
1549
+ "type": {
1550
+ "codecId": "pg/text@1",
1551
+ "kind": "scalar"
1552
+ }
1553
+ },
1554
+ "updatedAt": {
1555
+ "nullable": false,
1556
+ "type": {
1557
+ "codecId": "pg/timestamptz-string@1",
1558
+ "kind": "scalar"
1559
+ }
1560
+ },
1561
+ "value": {
1562
+ "nullable": false,
1563
+ "type": {
1564
+ "codecId": "pg/json@1",
1565
+ "kind": "scalar"
1566
+ }
1567
+ }
1568
+ },
1569
+ "relations": {},
1570
+ "storage": {
1571
+ "fields": {
1572
+ "key": {
1573
+ "column": "key"
1574
+ },
1575
+ "updatedAt": {
1576
+ "column": "updatedAt"
1577
+ },
1578
+ "value": {
1579
+ "column": "value"
1580
+ }
1581
+ },
1582
+ "namespaceId": "public",
1583
+ "table": "venueMeta"
1584
+ }
1585
+ },
1586
+ "VenueOffer": {
1587
+ "fields": {
1588
+ "active": {
1589
+ "nullable": false,
1590
+ "type": {
1591
+ "codecId": "pg/bool@1",
1592
+ "kind": "scalar"
1593
+ }
1594
+ },
1595
+ "createdAt": {
1596
+ "nullable": false,
1597
+ "type": {
1598
+ "codecId": "pg/timestamptz-string@1",
1599
+ "kind": "scalar"
1600
+ }
1601
+ },
1602
+ "id": {
1603
+ "nullable": false,
1604
+ "type": {
1605
+ "codecId": "pg/text@1",
1606
+ "kind": "scalar"
1607
+ }
1608
+ },
1609
+ "payload": {
1610
+ "nullable": false,
1611
+ "type": {
1612
+ "codecId": "pg/json@1",
1613
+ "kind": "scalar"
1614
+ }
1615
+ },
1616
+ "providerAddress": {
1617
+ "nullable": false,
1618
+ "type": {
1619
+ "codecId": "pg/text@1",
1620
+ "kind": "scalar"
1621
+ }
1622
+ },
1623
+ "updatedAt": {
1624
+ "nullable": false,
1625
+ "type": {
1626
+ "codecId": "pg/timestamptz-string@1",
1627
+ "kind": "scalar"
1628
+ }
1629
+ }
1630
+ },
1631
+ "relations": {},
1632
+ "storage": {
1633
+ "fields": {
1634
+ "active": {
1635
+ "column": "active"
1636
+ },
1637
+ "createdAt": {
1638
+ "column": "createdAt"
1639
+ },
1640
+ "id": {
1641
+ "column": "id"
1642
+ },
1643
+ "payload": {
1644
+ "column": "payload"
1645
+ },
1646
+ "providerAddress": {
1647
+ "column": "providerAddress"
1648
+ },
1649
+ "updatedAt": {
1650
+ "column": "updatedAt"
1651
+ }
1652
+ },
1653
+ "namespaceId": "public",
1654
+ "table": "venueOffer"
1655
+ }
1656
+ }
1657
+ }
1658
+ }
1659
+ }
1660
+ },
1661
+ "storage": {
1662
+ "namespaces": {
1663
+ "public": {
1664
+ "entries": {
1665
+ "table": {
1666
+ "agentWallet": {
1667
+ "columns": {
1668
+ "active": {
1669
+ "codecId": "pg/bool@1",
1670
+ "default": {
1671
+ "kind": "literal",
1672
+ "value": true
1673
+ },
1674
+ "nativeType": "bool",
1675
+ "nullable": false
1676
+ },
1677
+ "address": {
1678
+ "codecId": "pg/text@1",
1679
+ "nativeType": "text",
1680
+ "nullable": false
1681
+ },
1682
+ "agentId": {
1683
+ "codecId": "pg/text@1",
1684
+ "nativeType": "text",
1685
+ "nullable": true
1686
+ },
1687
+ "createdAt": {
1688
+ "codecId": "pg/timestamptz-string@1",
1689
+ "default": {
1690
+ "expression": "now()",
1691
+ "kind": "function"
1692
+ },
1693
+ "nativeType": "timestamptz",
1694
+ "nullable": false
1695
+ },
1696
+ "id": {
1697
+ "codecId": "pg/text@1",
1698
+ "nativeType": "text",
1699
+ "nullable": false
1700
+ },
1701
+ "kind": {
1702
+ "codecId": "pg/text@1",
1703
+ "nativeType": "text",
1704
+ "nullable": false
1705
+ },
1706
+ "label": {
1707
+ "codecId": "pg/text@1",
1708
+ "nativeType": "text",
1709
+ "nullable": false
1710
+ },
1711
+ "payload": {
1712
+ "codecId": "pg/json@1",
1713
+ "nativeType": "json",
1714
+ "nullable": false
1715
+ },
1716
+ "registeredBy": {
1717
+ "codecId": "pg/text@1",
1718
+ "nativeType": "text",
1719
+ "nullable": false
1720
+ },
1721
+ "updatedAt": {
1722
+ "codecId": "pg/timestamptz-string@1",
1723
+ "nativeType": "timestamptz",
1724
+ "nullable": false
1725
+ },
1726
+ "venueId": {
1727
+ "codecId": "pg/text@1",
1728
+ "nativeType": "text",
1729
+ "nullable": true
1730
+ }
1731
+ },
1732
+ "foreignKeys": [],
1733
+ "indexes": [
1734
+ {
1735
+ "columns": [
1736
+ "active",
1737
+ "createdAt"
1738
+ ],
1739
+ "name": "agentWallet_active_createdAt_idx_7cd57621",
1740
+ "prefix": "agentWallet_active_createdAt_idx",
1741
+ "unique": false
1742
+ },
1743
+ {
1744
+ "columns": [
1745
+ "agentId"
1746
+ ],
1747
+ "name": "agentWallet_agentId_idx_8d0ba4f0",
1748
+ "prefix": "agentWallet_agentId_idx",
1749
+ "unique": false
1750
+ },
1751
+ {
1752
+ "columns": [
1753
+ "venueId",
1754
+ "active"
1755
+ ],
1756
+ "name": "agentWallet_venueId_active_idx_51915f5b",
1757
+ "prefix": "agentWallet_venueId_active_idx",
1758
+ "unique": false
1759
+ }
1760
+ ],
1761
+ "primaryKey": {
1762
+ "columns": [
1763
+ "id"
1764
+ ]
1765
+ },
1766
+ "uniques": [
1767
+ {
1768
+ "columns": [
1769
+ "address"
1770
+ ]
1771
+ }
1772
+ ]
1773
+ },
1774
+ "chatSubscription": {
1775
+ "columns": {
1776
+ "chatId": {
1777
+ "codecId": "pg/int8@1",
1778
+ "nativeType": "int8",
1779
+ "nullable": false
1780
+ },
1781
+ "createdAt": {
1782
+ "codecId": "pg/timestamptz-string@1",
1783
+ "default": {
1784
+ "expression": "now()",
1785
+ "kind": "function"
1786
+ },
1787
+ "nativeType": "timestamptz",
1788
+ "nullable": false
1789
+ },
1790
+ "id": {
1791
+ "codecId": "pg/text@1",
1792
+ "nativeType": "text",
1793
+ "nullable": false
1794
+ },
1795
+ "updatedAt": {
1796
+ "codecId": "pg/timestamptz-string@1",
1797
+ "nativeType": "timestamptz",
1798
+ "nullable": false
1799
+ },
1800
+ "username": {
1801
+ "codecId": "pg/text@1",
1802
+ "nativeType": "text",
1803
+ "nullable": false
1804
+ }
1805
+ },
1806
+ "foreignKeys": [],
1807
+ "indexes": [],
1808
+ "primaryKey": {
1809
+ "columns": [
1810
+ "id"
1811
+ ]
1812
+ },
1813
+ "uniques": [
1814
+ {
1815
+ "columns": [
1816
+ "chatId"
1817
+ ]
1818
+ },
1819
+ {
1820
+ "columns": [
1821
+ "username"
1822
+ ]
1823
+ }
1824
+ ]
1825
+ },
1826
+ "delegateRecord": {
1827
+ "columns": {
1828
+ "authorizedAt": {
1829
+ "codecId": "pg/int8@1",
1830
+ "nativeType": "int8",
1831
+ "nullable": false
1832
+ },
1833
+ "chain": {
1834
+ "codecId": "pg/text@1",
1835
+ "nativeType": "text",
1836
+ "nullable": false
1837
+ },
1838
+ "createdAt": {
1839
+ "codecId": "pg/timestamptz-string@1",
1840
+ "default": {
1841
+ "expression": "now()",
1842
+ "kind": "function"
1843
+ },
1844
+ "nativeType": "timestamptz",
1845
+ "nullable": false
1846
+ },
1847
+ "delegate": {
1848
+ "codecId": "pg/text@1",
1849
+ "nativeType": "text",
1850
+ "nullable": false
1851
+ },
1852
+ "id": {
1853
+ "codecId": "pg/text@1",
1854
+ "nativeType": "text",
1855
+ "nullable": false
1856
+ },
1857
+ "ownerWallet": {
1858
+ "codecId": "pg/text@1",
1859
+ "nativeType": "text",
1860
+ "nullable": false
1861
+ },
1862
+ "payload": {
1863
+ "codecId": "pg/json@1",
1864
+ "nativeType": "json",
1865
+ "nullable": false
1866
+ },
1867
+ "revokedAt": {
1868
+ "codecId": "pg/int8@1",
1869
+ "nativeType": "int8",
1870
+ "nullable": true
1871
+ },
1872
+ "spendCapUsd": {
1873
+ "codecId": "pg/numeric@1",
1874
+ "nativeType": "numeric",
1875
+ "nullable": false
1876
+ },
1877
+ "updatedAt": {
1878
+ "codecId": "pg/timestamptz-string@1",
1879
+ "nativeType": "timestamptz",
1880
+ "nullable": false
1881
+ }
1882
+ },
1883
+ "foreignKeys": [],
1884
+ "indexes": [
1885
+ {
1886
+ "columns": [
1887
+ "ownerWallet"
1888
+ ],
1889
+ "name": "delegateRecord_ownerWallet_idx_63c6ac04",
1890
+ "prefix": "delegateRecord_ownerWallet_idx",
1891
+ "unique": false
1892
+ },
1893
+ {
1894
+ "columns": [
1895
+ "revokedAt"
1896
+ ],
1897
+ "name": "delegateRecord_revokedAt_idx_f1d8e6b3",
1898
+ "prefix": "delegateRecord_revokedAt_idx",
1899
+ "unique": false
1900
+ }
1901
+ ],
1902
+ "primaryKey": {
1903
+ "columns": [
1904
+ "id"
1905
+ ]
1906
+ },
1907
+ "uniques": []
1908
+ },
1909
+ "eaasAnchor": {
1910
+ "columns": {
1911
+ "artifactHash": {
1912
+ "codecId": "pg/text@1",
1913
+ "nativeType": "text",
1914
+ "nullable": false
1915
+ },
1916
+ "attempts": {
1917
+ "codecId": "pg/int4@1",
1918
+ "default": {
1919
+ "kind": "literal",
1920
+ "value": 0
1921
+ },
1922
+ "nativeType": "int4",
1923
+ "nullable": false
1924
+ },
1925
+ "blockNumber": {
1926
+ "codecId": "pg/text@1",
1927
+ "nativeType": "text",
1928
+ "nullable": true
1929
+ },
1930
+ "createdAt": {
1931
+ "codecId": "pg/timestamptz-string@1",
1932
+ "default": {
1933
+ "expression": "now()",
1934
+ "kind": "function"
1935
+ },
1936
+ "nativeType": "timestamptz",
1937
+ "nullable": false
1938
+ },
1939
+ "lastError": {
1940
+ "codecId": "pg/text@1",
1941
+ "nativeType": "text",
1942
+ "nullable": true
1943
+ },
1944
+ "memoId": {
1945
+ "codecId": "pg/text@1",
1946
+ "nativeType": "text",
1947
+ "nullable": false
1948
+ },
1949
+ "payload": {
1950
+ "codecId": "pg/json@1",
1951
+ "nativeType": "json",
1952
+ "nullable": false
1953
+ },
1954
+ "status": {
1955
+ "codecId": "pg/text@1",
1956
+ "nativeType": "text",
1957
+ "nullable": false
1958
+ },
1959
+ "txHash": {
1960
+ "codecId": "pg/text@1",
1961
+ "nativeType": "text",
1962
+ "nullable": true
1963
+ },
1964
+ "updatedAt": {
1965
+ "codecId": "pg/timestamptz-string@1",
1966
+ "nativeType": "timestamptz",
1967
+ "nullable": false
1968
+ },
1969
+ "verdictId": {
1970
+ "codecId": "pg/text@1",
1971
+ "nativeType": "text",
1972
+ "nullable": false
1973
+ }
1974
+ },
1975
+ "foreignKeys": [],
1976
+ "indexes": [
1977
+ {
1978
+ "columns": [
1979
+ "status"
1980
+ ],
1981
+ "name": "eaasAnchor_status_idx_e98638ab",
1982
+ "prefix": "eaasAnchor_status_idx",
1983
+ "unique": false
1984
+ }
1985
+ ],
1986
+ "primaryKey": {
1987
+ "columns": [
1988
+ "verdictId"
1989
+ ]
1990
+ },
1991
+ "uniques": []
1992
+ },
1993
+ "eaasContract": {
1994
+ "columns": {
1995
+ "active": {
1996
+ "codecId": "pg/bool@1",
1997
+ "default": {
1998
+ "kind": "literal",
1999
+ "value": true
2000
+ },
2001
+ "nativeType": "bool",
2002
+ "nullable": false
2003
+ },
2004
+ "address": {
2005
+ "codecId": "pg/text@1",
2006
+ "nativeType": "text",
2007
+ "nullable": false
2008
+ },
2009
+ "chainId": {
2010
+ "codecId": "pg/int4@1",
2011
+ "nativeType": "int4",
2012
+ "nullable": false
2013
+ },
2014
+ "createdAt": {
2015
+ "codecId": "pg/timestamptz-string@1",
2016
+ "default": {
2017
+ "expression": "now()",
2018
+ "kind": "function"
2019
+ },
2020
+ "nativeType": "timestamptz",
2021
+ "nullable": false
2022
+ },
2023
+ "id": {
2024
+ "codecId": "pg/text@1",
2025
+ "nativeType": "text",
2026
+ "nullable": false
2027
+ },
2028
+ "ownerWallet": {
2029
+ "codecId": "pg/text@1",
2030
+ "nativeType": "text",
2031
+ "nullable": false
2032
+ },
2033
+ "payload": {
2034
+ "codecId": "pg/json@1",
2035
+ "nativeType": "json",
2036
+ "nullable": false
2037
+ },
2038
+ "probedAt": {
2039
+ "codecId": "pg/int8@1",
2040
+ "nativeType": "int8",
2041
+ "nullable": false
2042
+ },
2043
+ "updatedAt": {
2044
+ "codecId": "pg/timestamptz-string@1",
2045
+ "nativeType": "timestamptz",
2046
+ "nullable": false
2047
+ }
2048
+ },
2049
+ "foreignKeys": [],
2050
+ "indexes": [
2051
+ {
2052
+ "columns": [
2053
+ "active"
2054
+ ],
2055
+ "name": "eaasContract_active_idx_8af4daed",
2056
+ "prefix": "eaasContract_active_idx",
2057
+ "unique": false
2058
+ },
2059
+ {
2060
+ "columns": [
2061
+ "ownerWallet"
2062
+ ],
2063
+ "name": "eaasContract_ownerWallet_idx_63c6ac04",
2064
+ "prefix": "eaasContract_ownerWallet_idx",
2065
+ "unique": false
2066
+ }
2067
+ ],
2068
+ "primaryKey": {
2069
+ "columns": [
2070
+ "id"
2071
+ ]
2072
+ },
2073
+ "uniques": []
2074
+ },
2075
+ "eaasEvalJob": {
2076
+ "columns": {
2077
+ "chainId": {
2078
+ "codecId": "pg/int4@1",
2079
+ "nativeType": "int4",
2080
+ "nullable": false
2081
+ },
2082
+ "contract": {
2083
+ "codecId": "pg/text@1",
2084
+ "nativeType": "text",
2085
+ "nullable": false
2086
+ },
2087
+ "createdAt": {
2088
+ "codecId": "pg/timestamptz-string@1",
2089
+ "default": {
2090
+ "expression": "now()",
2091
+ "kind": "function"
2092
+ },
2093
+ "nativeType": "timestamptz",
2094
+ "nullable": false
2095
+ },
2096
+ "feedbackTx": {
2097
+ "codecId": "pg/text@1",
2098
+ "nativeType": "text",
2099
+ "nullable": true
2100
+ },
2101
+ "jobId": {
2102
+ "codecId": "pg/text@1",
2103
+ "nativeType": "text",
2104
+ "nullable": false
2105
+ },
2106
+ "key": {
2107
+ "codecId": "pg/text@1",
2108
+ "nativeType": "text",
2109
+ "nullable": false
2110
+ },
2111
+ "payload": {
2112
+ "codecId": "pg/json@1",
2113
+ "nativeType": "json",
2114
+ "nullable": false
2115
+ },
2116
+ "paymentTx": {
2117
+ "codecId": "pg/text@1",
2118
+ "nativeType": "text",
2119
+ "nullable": true
2120
+ },
2121
+ "updatedAt": {
2122
+ "codecId": "pg/timestamptz-string@1",
2123
+ "nativeType": "timestamptz",
2124
+ "nullable": false
2125
+ },
2126
+ "verdictId": {
2127
+ "codecId": "pg/text@1",
2128
+ "nativeType": "text",
2129
+ "nullable": false
2130
+ }
2131
+ },
2132
+ "foreignKeys": [],
2133
+ "indexes": [
2134
+ {
2135
+ "columns": [
2136
+ "contract"
2137
+ ],
2138
+ "name": "eaasEvalJob_contract_idx_b7d987ca",
2139
+ "prefix": "eaasEvalJob_contract_idx",
2140
+ "unique": false
2141
+ },
2142
+ {
2143
+ "columns": [
2144
+ "verdictId"
2145
+ ],
2146
+ "name": "eaasEvalJob_verdictId_idx_49590bc8",
2147
+ "prefix": "eaasEvalJob_verdictId_idx",
2148
+ "unique": false
2149
+ }
2150
+ ],
2151
+ "primaryKey": {
2152
+ "columns": [
2153
+ "key"
2154
+ ]
2155
+ },
2156
+ "uniques": []
2157
+ },
2158
+ "eaasRequest": {
2159
+ "columns": {
2160
+ "attempts": {
2161
+ "codecId": "pg/int4@1",
2162
+ "default": {
2163
+ "kind": "literal",
2164
+ "value": 0
2165
+ },
2166
+ "nativeType": "int4",
2167
+ "nullable": false
2168
+ },
2169
+ "completedAt": {
2170
+ "codecId": "pg/text@1",
2171
+ "nativeType": "text",
2172
+ "nullable": true
2173
+ },
2174
+ "createdAt": {
2175
+ "codecId": "pg/timestamptz-string@1",
2176
+ "default": {
2177
+ "expression": "now()",
2178
+ "kind": "function"
2179
+ },
2180
+ "nativeType": "timestamptz",
2181
+ "nullable": false
2182
+ },
570
2183
  "id": {
571
- "column": "id"
2184
+ "codecId": "pg/text@1",
2185
+ "nativeType": "text",
2186
+ "nullable": false
2187
+ },
2188
+ "kind": {
2189
+ "codecId": "pg/text@1",
2190
+ "nativeType": "text",
2191
+ "nullable": false
572
2192
  },
573
2193
  "payload": {
574
- "column": "payload"
2194
+ "codecId": "pg/json@1",
2195
+ "nativeType": "json",
2196
+ "nullable": false
575
2197
  },
576
- "providerAddress": {
577
- "column": "providerAddress"
2198
+ "reqCreatedAt": {
2199
+ "codecId": "pg/text@1",
2200
+ "nativeType": "text",
2201
+ "nullable": false
2202
+ },
2203
+ "status": {
2204
+ "codecId": "pg/text@1",
2205
+ "nativeType": "text",
2206
+ "nullable": false
578
2207
  },
579
2208
  "updatedAt": {
580
- "column": "updatedAt"
2209
+ "codecId": "pg/timestamptz-string@1",
2210
+ "nativeType": "timestamptz",
2211
+ "nullable": false
2212
+ },
2213
+ "wallet": {
2214
+ "codecId": "pg/text@1",
2215
+ "nativeType": "text",
2216
+ "nullable": true
2217
+ },
2218
+ "webhookStatus": {
2219
+ "codecId": "pg/text@1",
2220
+ "nativeType": "text",
2221
+ "nullable": true
581
2222
  }
582
2223
  },
583
- "namespaceId": "public",
584
- "table": "venueOffer"
585
- }
586
- }
587
- }
588
- }
589
- }
590
- },
591
- "storage": {
592
- "namespaces": {
593
- "public": {
594
- "entries": {
595
- "table": {
596
- "agentWallet": {
2224
+ "foreignKeys": [],
2225
+ "indexes": [
2226
+ {
2227
+ "columns": [
2228
+ "status"
2229
+ ],
2230
+ "name": "eaasRequest_status_idx_e98638ab",
2231
+ "prefix": "eaasRequest_status_idx",
2232
+ "unique": false
2233
+ },
2234
+ {
2235
+ "columns": [
2236
+ "wallet"
2237
+ ],
2238
+ "name": "eaasRequest_wallet_idx_df52cf87",
2239
+ "prefix": "eaasRequest_wallet_idx",
2240
+ "unique": false
2241
+ }
2242
+ ],
2243
+ "primaryKey": {
2244
+ "columns": [
2245
+ "id"
2246
+ ]
2247
+ },
2248
+ "uniques": []
2249
+ },
2250
+ "eaasSubscription": {
597
2251
  "columns": {
598
- "active": {
599
- "codecId": "pg/bool@1",
2252
+ "createdAt": {
2253
+ "codecId": "pg/timestamptz-string@1",
2254
+ "default": {
2255
+ "expression": "now()",
2256
+ "kind": "function"
2257
+ },
2258
+ "nativeType": "timestamptz",
2259
+ "nullable": false
2260
+ },
2261
+ "expiresAt": {
2262
+ "codecId": "pg/int8@1",
2263
+ "nativeType": "int8",
2264
+ "nullable": false
2265
+ },
2266
+ "mintTx": {
2267
+ "codecId": "pg/text@1",
2268
+ "nativeType": "text",
2269
+ "nullable": true
2270
+ },
2271
+ "payload": {
2272
+ "codecId": "pg/json@1",
2273
+ "nativeType": "json",
2274
+ "nullable": false
2275
+ },
2276
+ "paymentTx": {
2277
+ "codecId": "pg/text@1",
2278
+ "nativeType": "text",
2279
+ "nullable": true
2280
+ },
2281
+ "quotaUsed": {
2282
+ "codecId": "pg/int4@1",
600
2283
  "default": {
601
2284
  "kind": "literal",
602
- "value": true
2285
+ "value": 0
603
2286
  },
604
- "nativeType": "bool",
2287
+ "nativeType": "int4",
605
2288
  "nullable": false
606
2289
  },
607
- "address": {
2290
+ "resetAt": {
2291
+ "codecId": "pg/int8@1",
2292
+ "nativeType": "int8",
2293
+ "nullable": false
2294
+ },
2295
+ "tier": {
608
2296
  "codecId": "pg/text@1",
609
2297
  "nativeType": "text",
610
2298
  "nullable": false
611
2299
  },
612
- "agentId": {
2300
+ "updatedAt": {
2301
+ "codecId": "pg/timestamptz-string@1",
2302
+ "nativeType": "timestamptz",
2303
+ "nullable": false
2304
+ },
2305
+ "wallet": {
2306
+ "codecId": "pg/text@1",
2307
+ "nativeType": "text",
2308
+ "nullable": false
2309
+ }
2310
+ },
2311
+ "foreignKeys": [],
2312
+ "indexes": [
2313
+ {
2314
+ "columns": [
2315
+ "expiresAt"
2316
+ ],
2317
+ "name": "eaasSubscription_expiresAt_idx_6b6b8c10",
2318
+ "prefix": "eaasSubscription_expiresAt_idx",
2319
+ "unique": false
2320
+ }
2321
+ ],
2322
+ "primaryKey": {
2323
+ "columns": [
2324
+ "wallet"
2325
+ ]
2326
+ },
2327
+ "uniques": []
2328
+ },
2329
+ "eaasVerdict": {
2330
+ "columns": {
2331
+ "consumerWallet": {
613
2332
  "codecId": "pg/text@1",
614
2333
  "nativeType": "text",
615
2334
  "nullable": true
@@ -623,17 +2342,76 @@
623
2342
  "nativeType": "timestamptz",
624
2343
  "nullable": false
625
2344
  },
626
- "id": {
2345
+ "deliverableHash": {
627
2346
  "codecId": "pg/text@1",
628
2347
  "nativeType": "text",
2348
+ "nullable": true
2349
+ },
2350
+ "payload": {
2351
+ "codecId": "pg/json@1",
2352
+ "nativeType": "json",
629
2353
  "nullable": false
630
2354
  },
631
- "kind": {
2355
+ "paymentTx": {
2356
+ "codecId": "pg/text@1",
2357
+ "nativeType": "text",
2358
+ "nullable": true
2359
+ },
2360
+ "updatedAt": {
2361
+ "codecId": "pg/timestamptz-string@1",
2362
+ "nativeType": "timestamptz",
2363
+ "nullable": false
2364
+ },
2365
+ "verdictId": {
632
2366
  "codecId": "pg/text@1",
633
2367
  "nativeType": "text",
634
2368
  "nullable": false
2369
+ }
2370
+ },
2371
+ "foreignKeys": [],
2372
+ "indexes": [
2373
+ {
2374
+ "columns": [
2375
+ "consumerWallet",
2376
+ "createdAt"
2377
+ ],
2378
+ "name": "eaasVerdict_consumerWallet_createdAt_idx_6aaca527",
2379
+ "prefix": "eaasVerdict_consumerWallet_createdAt_idx",
2380
+ "unique": false
635
2381
  },
636
- "label": {
2382
+ {
2383
+ "columns": [
2384
+ "deliverableHash"
2385
+ ],
2386
+ "name": "eaasVerdict_deliverableHash_idx_ed37c457",
2387
+ "prefix": "eaasVerdict_deliverableHash_idx",
2388
+ "unique": false
2389
+ }
2390
+ ],
2391
+ "primaryKey": {
2392
+ "columns": [
2393
+ "verdictId"
2394
+ ]
2395
+ },
2396
+ "uniques": []
2397
+ },
2398
+ "event": {
2399
+ "columns": {
2400
+ "at": {
2401
+ "codecId": "pg/int8@1",
2402
+ "nativeType": "int8",
2403
+ "nullable": true
2404
+ },
2405
+ "createdAt": {
2406
+ "codecId": "pg/timestamptz-string@1",
2407
+ "default": {
2408
+ "expression": "now()",
2409
+ "kind": "function"
2410
+ },
2411
+ "nativeType": "timestamptz",
2412
+ "nullable": false
2413
+ },
2414
+ "id": {
637
2415
  "codecId": "pg/text@1",
638
2416
  "nativeType": "text",
639
2417
  "nullable": false
@@ -643,7 +2421,12 @@
643
2421
  "nativeType": "json",
644
2422
  "nullable": false
645
2423
  },
646
- "registeredBy": {
2424
+ "source": {
2425
+ "codecId": "pg/text@1",
2426
+ "nativeType": "text",
2427
+ "nullable": true
2428
+ },
2429
+ "type": {
647
2430
  "codecId": "pg/text@1",
648
2431
  "nativeType": "text",
649
2432
  "nullable": false
@@ -657,34 +2440,40 @@
657
2440
  "codecId": "pg/text@1",
658
2441
  "nativeType": "text",
659
2442
  "nullable": true
2443
+ },
2444
+ "wallet": {
2445
+ "codecId": "pg/text@1",
2446
+ "nativeType": "text",
2447
+ "nullable": true
660
2448
  }
661
2449
  },
662
2450
  "foreignKeys": [],
663
2451
  "indexes": [
664
2452
  {
665
2453
  "columns": [
666
- "active",
2454
+ "type",
667
2455
  "createdAt"
668
2456
  ],
669
- "name": "agentWallet_active_createdAt_idx_7cd57621",
670
- "prefix": "agentWallet_active_createdAt_idx",
2457
+ "name": "event_type_createdAt_idx_00d94001",
2458
+ "prefix": "event_type_createdAt_idx",
671
2459
  "unique": false
672
2460
  },
673
2461
  {
674
2462
  "columns": [
675
- "agentId"
2463
+ "venueId",
2464
+ "at"
676
2465
  ],
677
- "name": "agentWallet_agentId_idx_8d0ba4f0",
678
- "prefix": "agentWallet_agentId_idx",
2466
+ "name": "event_venueId_at_idx_6ab90d05",
2467
+ "prefix": "event_venueId_at_idx",
679
2468
  "unique": false
680
2469
  },
681
2470
  {
682
2471
  "columns": [
683
- "venueId",
684
- "active"
2472
+ "wallet",
2473
+ "at"
685
2474
  ],
686
- "name": "agentWallet_venueId_active_idx_51915f5b",
687
- "prefix": "agentWallet_venueId_active_idx",
2475
+ "name": "event_wallet_at_idx_b76ec1ce",
2476
+ "prefix": "event_wallet_at_idx",
688
2477
  "unique": false
689
2478
  }
690
2479
  ],
@@ -693,21 +2482,41 @@
693
2482
  "id"
694
2483
  ]
695
2484
  },
696
- "uniques": [
697
- {
698
- "columns": [
699
- "address"
700
- ]
2485
+ "uniques": []
2486
+ },
2487
+ "marketplaceMeta": {
2488
+ "columns": {
2489
+ "createdAt": {
2490
+ "codecId": "pg/timestamptz-string@1",
2491
+ "default": {
2492
+ "expression": "now()",
2493
+ "kind": "function"
2494
+ },
2495
+ "nativeType": "timestamptz",
2496
+ "nullable": false
2497
+ },
2498
+ "hash": {
2499
+ "codecId": "pg/text@1",
2500
+ "nativeType": "text",
2501
+ "nullable": false
2502
+ },
2503
+ "payload": {
2504
+ "codecId": "pg/json@1",
2505
+ "nativeType": "json",
2506
+ "nullable": false
701
2507
  }
702
- ]
2508
+ },
2509
+ "foreignKeys": [],
2510
+ "indexes": [],
2511
+ "primaryKey": {
2512
+ "columns": [
2513
+ "hash"
2514
+ ]
2515
+ },
2516
+ "uniques": []
703
2517
  },
704
- "chatSubscription": {
2518
+ "marketplaceService": {
705
2519
  "columns": {
706
- "chatId": {
707
- "codecId": "pg/int8@1",
708
- "nativeType": "int8",
709
- "nullable": false
710
- },
711
2520
  "createdAt": {
712
2521
  "codecId": "pg/timestamptz-string@1",
713
2522
  "default": {
@@ -717,7 +2526,12 @@
717
2526
  "nativeType": "timestamptz",
718
2527
  "nullable": false
719
2528
  },
720
- "id": {
2529
+ "payload": {
2530
+ "codecId": "pg/json@1",
2531
+ "nativeType": "json",
2532
+ "nullable": false
2533
+ },
2534
+ "serviceId": {
721
2535
  "codecId": "pg/text@1",
722
2536
  "nativeType": "text",
723
2537
  "nullable": false
@@ -726,34 +2540,18 @@
726
2540
  "codecId": "pg/timestamptz-string@1",
727
2541
  "nativeType": "timestamptz",
728
2542
  "nullable": false
729
- },
730
- "username": {
731
- "codecId": "pg/text@1",
732
- "nativeType": "text",
733
- "nullable": false
734
2543
  }
735
2544
  },
736
2545
  "foreignKeys": [],
737
2546
  "indexes": [],
738
2547
  "primaryKey": {
739
2548
  "columns": [
740
- "id"
2549
+ "serviceId"
741
2550
  ]
742
2551
  },
743
- "uniques": [
744
- {
745
- "columns": [
746
- "chatId"
747
- ]
748
- },
749
- {
750
- "columns": [
751
- "username"
752
- ]
753
- }
754
- ]
2552
+ "uniques": []
755
2553
  },
756
- "event": {
2554
+ "scanResult": {
757
2555
  "columns": {
758
2556
  "createdAt": {
759
2557
  "codecId": "pg/timestamptz-string@1",
@@ -764,41 +2562,51 @@
764
2562
  "nativeType": "timestamptz",
765
2563
  "nullable": false
766
2564
  },
2565
+ "domain": {
2566
+ "codecId": "pg/text@1",
2567
+ "nativeType": "text",
2568
+ "nullable": false
2569
+ },
767
2570
  "id": {
768
2571
  "codecId": "pg/text@1",
769
2572
  "nativeType": "text",
770
2573
  "nullable": false
771
2574
  },
772
- "payload": {
2575
+ "report": {
773
2576
  "codecId": "pg/json@1",
774
2577
  "nativeType": "json",
775
2578
  "nullable": false
776
2579
  },
777
- "source": {
2580
+ "rulesetVersion": {
778
2581
  "codecId": "pg/text@1",
779
2582
  "nativeType": "text",
780
2583
  "nullable": true
781
2584
  },
782
- "type": {
783
- "codecId": "pg/text@1",
784
- "nativeType": "text",
785
- "nullable": false
2585
+ "score": {
2586
+ "codecId": "pg/int4@1",
2587
+ "nativeType": "int4",
2588
+ "nullable": true
786
2589
  },
787
2590
  "updatedAt": {
788
2591
  "codecId": "pg/timestamptz-string@1",
789
2592
  "nativeType": "timestamptz",
790
2593
  "nullable": false
2594
+ },
2595
+ "url": {
2596
+ "codecId": "pg/text@1",
2597
+ "nativeType": "text",
2598
+ "nullable": false
791
2599
  }
792
2600
  },
793
2601
  "foreignKeys": [],
794
2602
  "indexes": [
795
2603
  {
796
2604
  "columns": [
797
- "type",
2605
+ "domain",
798
2606
  "createdAt"
799
2607
  ],
800
- "name": "event_type_createdAt_idx_00d94001",
801
- "prefix": "event_type_createdAt_idx",
2608
+ "name": "scanResult_domain_createdAt_idx_c5bd4696",
2609
+ "prefix": "scanResult_domain_createdAt_idx",
802
2610
  "unique": false
803
2611
  }
804
2612
  ],
@@ -809,8 +2617,18 @@
809
2617
  },
810
2618
  "uniques": []
811
2619
  },
812
- "scanResult": {
2620
+ "spendEvent": {
813
2621
  "columns": {
2622
+ "amountUsd": {
2623
+ "codecId": "pg/numeric@1",
2624
+ "nativeType": "numeric",
2625
+ "nullable": false
2626
+ },
2627
+ "at": {
2628
+ "codecId": "pg/int8@1",
2629
+ "nativeType": "int8",
2630
+ "nullable": false
2631
+ },
814
2632
  "createdAt": {
815
2633
  "codecId": "pg/timestamptz-string@1",
816
2634
  "default": {
@@ -820,29 +2638,44 @@
820
2638
  "nativeType": "timestamptz",
821
2639
  "nullable": false
822
2640
  },
823
- "domain": {
2641
+ "denialReason": {
824
2642
  "codecId": "pg/text@1",
825
2643
  "nativeType": "text",
826
- "nullable": false
2644
+ "nullable": true
827
2645
  },
828
2646
  "id": {
829
2647
  "codecId": "pg/text@1",
830
2648
  "nativeType": "text",
831
2649
  "nullable": false
832
2650
  },
833
- "report": {
2651
+ "kind": {
2652
+ "codecId": "pg/text@1",
2653
+ "nativeType": "text",
2654
+ "nullable": false
2655
+ },
2656
+ "payload": {
834
2657
  "codecId": "pg/json@1",
835
2658
  "nativeType": "json",
836
2659
  "nullable": false
837
2660
  },
838
- "rulesetVersion": {
2661
+ "refId": {
2662
+ "codecId": "pg/text@1",
2663
+ "nativeType": "text",
2664
+ "nullable": false
2665
+ },
2666
+ "sourceChain": {
839
2667
  "codecId": "pg/text@1",
840
2668
  "nativeType": "text",
841
2669
  "nullable": true
842
2670
  },
843
- "score": {
844
- "codecId": "pg/int4@1",
845
- "nativeType": "int4",
2671
+ "state": {
2672
+ "codecId": "pg/text@1",
2673
+ "nativeType": "text",
2674
+ "nullable": false
2675
+ },
2676
+ "txHash": {
2677
+ "codecId": "pg/text@1",
2678
+ "nativeType": "text",
846
2679
  "nullable": true
847
2680
  },
848
2681
  "updatedAt": {
@@ -850,7 +2683,12 @@
850
2683
  "nativeType": "timestamptz",
851
2684
  "nullable": false
852
2685
  },
853
- "url": {
2686
+ "venueId": {
2687
+ "codecId": "pg/text@1",
2688
+ "nativeType": "text",
2689
+ "nullable": true
2690
+ },
2691
+ "wallet": {
854
2692
  "codecId": "pg/text@1",
855
2693
  "nativeType": "text",
856
2694
  "nullable": false
@@ -860,11 +2698,46 @@
860
2698
  "indexes": [
861
2699
  {
862
2700
  "columns": [
863
- "domain",
864
- "createdAt"
2701
+ "denialReason",
2702
+ "at"
865
2703
  ],
866
- "name": "scanResult_domain_createdAt_idx_c5bd4696",
867
- "prefix": "scanResult_domain_createdAt_idx",
2704
+ "name": "spendEvent_denialReason_at_idx_84ea573f",
2705
+ "prefix": "spendEvent_denialReason_at_idx",
2706
+ "unique": false
2707
+ },
2708
+ {
2709
+ "columns": [
2710
+ "state",
2711
+ "at"
2712
+ ],
2713
+ "name": "spendEvent_state_at_idx_b570e6ae",
2714
+ "prefix": "spendEvent_state_at_idx",
2715
+ "unique": false
2716
+ },
2717
+ {
2718
+ "columns": [
2719
+ "txHash"
2720
+ ],
2721
+ "name": "spendEvent_txHash_idx_3fbe8b55",
2722
+ "prefix": "spendEvent_txHash_idx",
2723
+ "unique": false
2724
+ },
2725
+ {
2726
+ "columns": [
2727
+ "venueId",
2728
+ "at"
2729
+ ],
2730
+ "name": "spendEvent_venueId_at_idx_6ab90d05",
2731
+ "prefix": "spendEvent_venueId_at_idx",
2732
+ "unique": false
2733
+ },
2734
+ {
2735
+ "columns": [
2736
+ "wallet",
2737
+ "at"
2738
+ ],
2739
+ "name": "spendEvent_wallet_at_idx_b76ec1ce",
2740
+ "prefix": "spendEvent_wallet_at_idx",
868
2741
  "unique": false
869
2742
  }
870
2743
  ],
@@ -1048,10 +2921,10 @@
1048
2921
  "kind": "postgres-schema"
1049
2922
  }
1050
2923
  },
1051
- "storageHash": "b8e32f5ce86590030c6c80c1f24c199aae7daf9a6869951a0b1af2903d31f177"
2924
+ "storageHash": "0f835062304d587ab0193284ffd553d6e21cc9287c5c6034050dcec9548b5fa9"
1052
2925
  },
1053
2926
  "execution": {
1054
- "executionHash": "44a1f33983dd3b516b7a09d20036645e5dd41f325ead0441f78cf5b6647741a6",
2927
+ "executionHash": "17c77dc31dfeba93bb11fbb0b8d0d156d9f58ee8d3db073359617bf0abcca5b7",
1055
2928
  "mutations": {
1056
2929
  "defaults": [
1057
2930
  {
@@ -1106,6 +2979,111 @@
1106
2979
  "table": "chatSubscription"
1107
2980
  }
1108
2981
  },
2982
+ {
2983
+ "onCreate": {
2984
+ "id": "timestampNow",
2985
+ "kind": "generator"
2986
+ },
2987
+ "onUpdate": {
2988
+ "id": "timestampNow",
2989
+ "kind": "generator"
2990
+ },
2991
+ "ref": {
2992
+ "column": "updatedAt",
2993
+ "namespace": "public",
2994
+ "table": "delegateRecord"
2995
+ }
2996
+ },
2997
+ {
2998
+ "onCreate": {
2999
+ "id": "timestampNow",
3000
+ "kind": "generator"
3001
+ },
3002
+ "onUpdate": {
3003
+ "id": "timestampNow",
3004
+ "kind": "generator"
3005
+ },
3006
+ "ref": {
3007
+ "column": "updatedAt",
3008
+ "namespace": "public",
3009
+ "table": "eaasAnchor"
3010
+ }
3011
+ },
3012
+ {
3013
+ "onCreate": {
3014
+ "id": "timestampNow",
3015
+ "kind": "generator"
3016
+ },
3017
+ "onUpdate": {
3018
+ "id": "timestampNow",
3019
+ "kind": "generator"
3020
+ },
3021
+ "ref": {
3022
+ "column": "updatedAt",
3023
+ "namespace": "public",
3024
+ "table": "eaasContract"
3025
+ }
3026
+ },
3027
+ {
3028
+ "onCreate": {
3029
+ "id": "timestampNow",
3030
+ "kind": "generator"
3031
+ },
3032
+ "onUpdate": {
3033
+ "id": "timestampNow",
3034
+ "kind": "generator"
3035
+ },
3036
+ "ref": {
3037
+ "column": "updatedAt",
3038
+ "namespace": "public",
3039
+ "table": "eaasEvalJob"
3040
+ }
3041
+ },
3042
+ {
3043
+ "onCreate": {
3044
+ "id": "timestampNow",
3045
+ "kind": "generator"
3046
+ },
3047
+ "onUpdate": {
3048
+ "id": "timestampNow",
3049
+ "kind": "generator"
3050
+ },
3051
+ "ref": {
3052
+ "column": "updatedAt",
3053
+ "namespace": "public",
3054
+ "table": "eaasRequest"
3055
+ }
3056
+ },
3057
+ {
3058
+ "onCreate": {
3059
+ "id": "timestampNow",
3060
+ "kind": "generator"
3061
+ },
3062
+ "onUpdate": {
3063
+ "id": "timestampNow",
3064
+ "kind": "generator"
3065
+ },
3066
+ "ref": {
3067
+ "column": "updatedAt",
3068
+ "namespace": "public",
3069
+ "table": "eaasSubscription"
3070
+ }
3071
+ },
3072
+ {
3073
+ "onCreate": {
3074
+ "id": "timestampNow",
3075
+ "kind": "generator"
3076
+ },
3077
+ "onUpdate": {
3078
+ "id": "timestampNow",
3079
+ "kind": "generator"
3080
+ },
3081
+ "ref": {
3082
+ "column": "updatedAt",
3083
+ "namespace": "public",
3084
+ "table": "eaasVerdict"
3085
+ }
3086
+ },
1109
3087
  {
1110
3088
  "onCreate": {
1111
3089
  "id": "uuidv4",
@@ -1132,6 +3110,21 @@
1132
3110
  "table": "event"
1133
3111
  }
1134
3112
  },
3113
+ {
3114
+ "onCreate": {
3115
+ "id": "timestampNow",
3116
+ "kind": "generator"
3117
+ },
3118
+ "onUpdate": {
3119
+ "id": "timestampNow",
3120
+ "kind": "generator"
3121
+ },
3122
+ "ref": {
3123
+ "column": "updatedAt",
3124
+ "namespace": "public",
3125
+ "table": "marketplaceService"
3126
+ }
3127
+ },
1135
3128
  {
1136
3129
  "onCreate": {
1137
3130
  "id": "uuidv4",
@@ -1158,6 +3151,21 @@
1158
3151
  "table": "scanResult"
1159
3152
  }
1160
3153
  },
3154
+ {
3155
+ "onCreate": {
3156
+ "id": "timestampNow",
3157
+ "kind": "generator"
3158
+ },
3159
+ "onUpdate": {
3160
+ "id": "timestampNow",
3161
+ "kind": "generator"
3162
+ },
3163
+ "ref": {
3164
+ "column": "updatedAt",
3165
+ "namespace": "public",
3166
+ "table": "spendEvent"
3167
+ }
3168
+ },
1161
3169
  {
1162
3170
  "onCreate": {
1163
3171
  "id": "uuidv4",