@agentbadge/database 0.6.4 → 0.6.6

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.
@@ -16,6 +16,14 @@
16
16
  "model": "A2ATask",
17
17
  "namespace": "public"
18
18
  },
19
+ "actor": {
20
+ "model": "Actor",
21
+ "namespace": "public"
22
+ },
23
+ "adminAction": {
24
+ "model": "AdminAction",
25
+ "namespace": "public"
26
+ },
19
27
  "agentQAPair": {
20
28
  "model": "AgentQAPair",
21
29
  "namespace": "public"
@@ -132,6 +140,10 @@
132
140
  "model": "EconomicEvent",
133
141
  "namespace": "public"
134
142
  },
143
+ "entitlement": {
144
+ "model": "Entitlement",
145
+ "namespace": "public"
146
+ },
135
147
  "event": {
136
148
  "model": "Event",
137
149
  "namespace": "public"
@@ -188,6 +200,18 @@
188
200
  "model": "PaymentReceipt",
189
201
  "namespace": "public"
190
202
  },
203
+ "reconciliationException": {
204
+ "model": "ReconciliationException",
205
+ "namespace": "public"
206
+ },
207
+ "refundIntent": {
208
+ "model": "RefundIntent",
209
+ "namespace": "public"
210
+ },
211
+ "reputationFact": {
212
+ "model": "ReputationFact",
213
+ "namespace": "public"
214
+ },
191
215
  "reputationWrite": {
192
216
  "model": "ReputationWrite",
193
217
  "namespace": "public"
@@ -496,6 +520,208 @@
496
520
  "table": "a2ATask"
497
521
  }
498
522
  },
523
+ "Actor": {
524
+ "fields": {
525
+ "agentId": {
526
+ "nullable": true,
527
+ "type": {
528
+ "codecId": "pg/text@1",
529
+ "kind": "scalar"
530
+ }
531
+ },
532
+ "createdAt": {
533
+ "nullable": false,
534
+ "type": {
535
+ "codecId": "pg/timestamptz-string@1",
536
+ "kind": "scalar"
537
+ }
538
+ },
539
+ "did": {
540
+ "nullable": true,
541
+ "type": {
542
+ "codecId": "pg/text@1",
543
+ "kind": "scalar"
544
+ }
545
+ },
546
+ "orgId": {
547
+ "nullable": true,
548
+ "type": {
549
+ "codecId": "pg/text@1",
550
+ "kind": "scalar"
551
+ }
552
+ },
553
+ "passportTokenId": {
554
+ "nullable": true,
555
+ "type": {
556
+ "codecId": "pg/text@1",
557
+ "kind": "scalar"
558
+ }
559
+ },
560
+ "payload": {
561
+ "nullable": false,
562
+ "type": {
563
+ "codecId": "pg/json@1",
564
+ "kind": "scalar"
565
+ }
566
+ },
567
+ "tier": {
568
+ "nullable": true,
569
+ "type": {
570
+ "codecId": "pg/text@1",
571
+ "kind": "scalar"
572
+ }
573
+ },
574
+ "type": {
575
+ "nullable": false,
576
+ "type": {
577
+ "codecId": "pg/text@1",
578
+ "kind": "scalar"
579
+ }
580
+ },
581
+ "updatedAt": {
582
+ "nullable": false,
583
+ "type": {
584
+ "codecId": "pg/timestamptz-string@1",
585
+ "kind": "scalar"
586
+ }
587
+ },
588
+ "wallet": {
589
+ "nullable": false,
590
+ "type": {
591
+ "codecId": "pg/text@1",
592
+ "kind": "scalar"
593
+ }
594
+ }
595
+ },
596
+ "relations": {},
597
+ "storage": {
598
+ "fields": {
599
+ "agentId": {
600
+ "column": "agentId"
601
+ },
602
+ "createdAt": {
603
+ "column": "createdAt"
604
+ },
605
+ "did": {
606
+ "column": "did"
607
+ },
608
+ "orgId": {
609
+ "column": "orgId"
610
+ },
611
+ "passportTokenId": {
612
+ "column": "passportTokenId"
613
+ },
614
+ "payload": {
615
+ "column": "payload"
616
+ },
617
+ "tier": {
618
+ "column": "tier"
619
+ },
620
+ "type": {
621
+ "column": "type"
622
+ },
623
+ "updatedAt": {
624
+ "column": "updatedAt"
625
+ },
626
+ "wallet": {
627
+ "column": "wallet"
628
+ }
629
+ },
630
+ "namespaceId": "public",
631
+ "table": "actor"
632
+ }
633
+ },
634
+ "AdminAction": {
635
+ "fields": {
636
+ "action": {
637
+ "nullable": false,
638
+ "type": {
639
+ "codecId": "pg/text@1",
640
+ "kind": "scalar"
641
+ }
642
+ },
643
+ "createdAt": {
644
+ "nullable": false,
645
+ "type": {
646
+ "codecId": "pg/timestamptz-string@1",
647
+ "kind": "scalar"
648
+ }
649
+ },
650
+ "createdAtMs": {
651
+ "nullable": false,
652
+ "type": {
653
+ "codecId": "pg/int8@1",
654
+ "kind": "scalar"
655
+ }
656
+ },
657
+ "evidence": {
658
+ "nullable": true,
659
+ "type": {
660
+ "codecId": "pg/json@1",
661
+ "kind": "scalar"
662
+ }
663
+ },
664
+ "id": {
665
+ "nullable": false,
666
+ "type": {
667
+ "codecId": "pg/text@1",
668
+ "kind": "scalar"
669
+ }
670
+ },
671
+ "operator": {
672
+ "nullable": false,
673
+ "type": {
674
+ "codecId": "pg/text@1",
675
+ "kind": "scalar"
676
+ }
677
+ },
678
+ "subjectId": {
679
+ "nullable": false,
680
+ "type": {
681
+ "codecId": "pg/text@1",
682
+ "kind": "scalar"
683
+ }
684
+ },
685
+ "subjectType": {
686
+ "nullable": false,
687
+ "type": {
688
+ "codecId": "pg/text@1",
689
+ "kind": "scalar"
690
+ }
691
+ }
692
+ },
693
+ "relations": {},
694
+ "storage": {
695
+ "fields": {
696
+ "action": {
697
+ "column": "action"
698
+ },
699
+ "createdAt": {
700
+ "column": "createdAt"
701
+ },
702
+ "createdAtMs": {
703
+ "column": "createdAtMs"
704
+ },
705
+ "evidence": {
706
+ "column": "evidence"
707
+ },
708
+ "id": {
709
+ "column": "id"
710
+ },
711
+ "operator": {
712
+ "column": "operator"
713
+ },
714
+ "subjectId": {
715
+ "column": "subjectId"
716
+ },
717
+ "subjectType": {
718
+ "column": "subjectType"
719
+ }
720
+ },
721
+ "namespaceId": "public",
722
+ "table": "adminAction"
723
+ }
724
+ },
499
725
  "AgentQAPair": {
500
726
  "fields": {
501
727
  "createdAt": {
@@ -3995,12 +4221,12 @@
3995
4221
  "table": "economicEvent"
3996
4222
  }
3997
4223
  },
3998
- "Event": {
4224
+ "Entitlement": {
3999
4225
  "fields": {
4000
- "at": {
4226
+ "activeSlot": {
4001
4227
  "nullable": true,
4002
4228
  "type": {
4003
- "codecId": "pg/int8@1",
4229
+ "codecId": "pg/text@1",
4004
4230
  "kind": "scalar"
4005
4231
  }
4006
4232
  },
@@ -4018,6 +4244,20 @@
4018
4244
  "kind": "scalar"
4019
4245
  }
4020
4246
  },
4247
+ "idempotencyKey": {
4248
+ "nullable": false,
4249
+ "type": {
4250
+ "codecId": "pg/text@1",
4251
+ "kind": "scalar"
4252
+ }
4253
+ },
4254
+ "ownerId": {
4255
+ "nullable": false,
4256
+ "type": {
4257
+ "codecId": "pg/text@1",
4258
+ "kind": "scalar"
4259
+ }
4260
+ },
4021
4261
  "payload": {
4022
4262
  "nullable": false,
4023
4263
  "type": {
@@ -4025,14 +4265,21 @@
4025
4265
  "kind": "scalar"
4026
4266
  }
4027
4267
  },
4028
- "source": {
4268
+ "productCode": {
4269
+ "nullable": false,
4270
+ "type": {
4271
+ "codecId": "pg/text@1",
4272
+ "kind": "scalar"
4273
+ }
4274
+ },
4275
+ "sourcePaymentId": {
4029
4276
  "nullable": true,
4030
4277
  "type": {
4031
4278
  "codecId": "pg/text@1",
4032
4279
  "kind": "scalar"
4033
4280
  }
4034
4281
  },
4035
- "type": {
4282
+ "status": {
4036
4283
  "nullable": false,
4037
4284
  "type": {
4038
4285
  "codecId": "pg/text@1",
@@ -4046,17 +4293,17 @@
4046
4293
  "kind": "scalar"
4047
4294
  }
4048
4295
  },
4049
- "venueId": {
4050
- "nullable": true,
4296
+ "validFromMs": {
4297
+ "nullable": false,
4051
4298
  "type": {
4052
- "codecId": "pg/text@1",
4299
+ "codecId": "pg/int8@1",
4053
4300
  "kind": "scalar"
4054
4301
  }
4055
4302
  },
4056
- "wallet": {
4303
+ "validUntilMs": {
4057
4304
  "nullable": true,
4058
4305
  "type": {
4059
- "codecId": "pg/text@1",
4306
+ "codecId": "pg/int8@1",
4060
4307
  "kind": "scalar"
4061
4308
  }
4062
4309
  }
@@ -4064,8 +4311,8 @@
4064
4311
  "relations": {},
4065
4312
  "storage": {
4066
4313
  "fields": {
4067
- "at": {
4068
- "column": "at"
4314
+ "activeSlot": {
4315
+ "column": "activeSlot"
4069
4316
  },
4070
4317
  "createdAt": {
4071
4318
  "column": "createdAt"
@@ -4073,35 +4320,51 @@
4073
4320
  "id": {
4074
4321
  "column": "id"
4075
4322
  },
4323
+ "idempotencyKey": {
4324
+ "column": "idempotencyKey"
4325
+ },
4326
+ "ownerId": {
4327
+ "column": "ownerId"
4328
+ },
4076
4329
  "payload": {
4077
4330
  "column": "payload"
4078
4331
  },
4079
- "source": {
4080
- "column": "source"
4332
+ "productCode": {
4333
+ "column": "productCode"
4081
4334
  },
4082
- "type": {
4083
- "column": "type"
4335
+ "sourcePaymentId": {
4336
+ "column": "sourcePaymentId"
4337
+ },
4338
+ "status": {
4339
+ "column": "status"
4084
4340
  },
4085
4341
  "updatedAt": {
4086
4342
  "column": "updatedAt"
4087
4343
  },
4088
- "venueId": {
4089
- "column": "venueId"
4344
+ "validFromMs": {
4345
+ "column": "validFromMs"
4090
4346
  },
4091
- "wallet": {
4092
- "column": "wallet"
4347
+ "validUntilMs": {
4348
+ "column": "validUntilMs"
4093
4349
  }
4094
4350
  },
4095
4351
  "namespaceId": "public",
4096
- "table": "event"
4352
+ "table": "entitlement"
4097
4353
  }
4098
4354
  },
4099
- "ForensicsCursor": {
4355
+ "Event": {
4100
4356
  "fields": {
4101
- "chain": {
4357
+ "at": {
4358
+ "nullable": true,
4359
+ "type": {
4360
+ "codecId": "pg/int8@1",
4361
+ "kind": "scalar"
4362
+ }
4363
+ },
4364
+ "createdAt": {
4102
4365
  "nullable": false,
4103
4366
  "type": {
4104
- "codecId": "pg/text@1",
4367
+ "codecId": "pg/timestamptz-string@1",
4105
4368
  "kind": "scalar"
4106
4369
  }
4107
4370
  },
@@ -4112,14 +4375,108 @@
4112
4375
  "kind": "scalar"
4113
4376
  }
4114
4377
  },
4115
- "lastBlock": {
4378
+ "payload": {
4116
4379
  "nullable": false,
4117
4380
  "type": {
4118
- "codecId": "pg/int8@1",
4381
+ "codecId": "pg/json@1",
4119
4382
  "kind": "scalar"
4120
4383
  }
4121
4384
  },
4122
- "updatedAt": {
4385
+ "source": {
4386
+ "nullable": true,
4387
+ "type": {
4388
+ "codecId": "pg/text@1",
4389
+ "kind": "scalar"
4390
+ }
4391
+ },
4392
+ "type": {
4393
+ "nullable": false,
4394
+ "type": {
4395
+ "codecId": "pg/text@1",
4396
+ "kind": "scalar"
4397
+ }
4398
+ },
4399
+ "updatedAt": {
4400
+ "nullable": false,
4401
+ "type": {
4402
+ "codecId": "pg/timestamptz-string@1",
4403
+ "kind": "scalar"
4404
+ }
4405
+ },
4406
+ "venueId": {
4407
+ "nullable": true,
4408
+ "type": {
4409
+ "codecId": "pg/text@1",
4410
+ "kind": "scalar"
4411
+ }
4412
+ },
4413
+ "wallet": {
4414
+ "nullable": true,
4415
+ "type": {
4416
+ "codecId": "pg/text@1",
4417
+ "kind": "scalar"
4418
+ }
4419
+ }
4420
+ },
4421
+ "relations": {},
4422
+ "storage": {
4423
+ "fields": {
4424
+ "at": {
4425
+ "column": "at"
4426
+ },
4427
+ "createdAt": {
4428
+ "column": "createdAt"
4429
+ },
4430
+ "id": {
4431
+ "column": "id"
4432
+ },
4433
+ "payload": {
4434
+ "column": "payload"
4435
+ },
4436
+ "source": {
4437
+ "column": "source"
4438
+ },
4439
+ "type": {
4440
+ "column": "type"
4441
+ },
4442
+ "updatedAt": {
4443
+ "column": "updatedAt"
4444
+ },
4445
+ "venueId": {
4446
+ "column": "venueId"
4447
+ },
4448
+ "wallet": {
4449
+ "column": "wallet"
4450
+ }
4451
+ },
4452
+ "namespaceId": "public",
4453
+ "table": "event"
4454
+ }
4455
+ },
4456
+ "ForensicsCursor": {
4457
+ "fields": {
4458
+ "chain": {
4459
+ "nullable": false,
4460
+ "type": {
4461
+ "codecId": "pg/text@1",
4462
+ "kind": "scalar"
4463
+ }
4464
+ },
4465
+ "id": {
4466
+ "nullable": false,
4467
+ "type": {
4468
+ "codecId": "pg/text@1",
4469
+ "kind": "scalar"
4470
+ }
4471
+ },
4472
+ "lastBlock": {
4473
+ "nullable": false,
4474
+ "type": {
4475
+ "codecId": "pg/int8@1",
4476
+ "kind": "scalar"
4477
+ }
4478
+ },
4479
+ "updatedAt": {
4123
4480
  "nullable": false,
4124
4481
  "type": {
4125
4482
  "codecId": "pg/timestamptz-string@1",
@@ -5479,22 +5836,8 @@
5479
5836
  "table": "paymentReceipt"
5480
5837
  }
5481
5838
  },
5482
- "ReputationWrite": {
5839
+ "ReconciliationException": {
5483
5840
  "fields": {
5484
- "agentId": {
5485
- "nullable": true,
5486
- "type": {
5487
- "codecId": "pg/text@1",
5488
- "kind": "scalar"
5489
- }
5490
- },
5491
- "attempts": {
5492
- "nullable": false,
5493
- "type": {
5494
- "codecId": "pg/int4@1",
5495
- "kind": "scalar"
5496
- }
5497
- },
5498
5841
  "createdAt": {
5499
5842
  "nullable": false,
5500
5843
  "type": {
@@ -5502,17 +5845,17 @@
5502
5845
  "kind": "scalar"
5503
5846
  }
5504
5847
  },
5505
- "feedbackHash": {
5506
- "nullable": true,
5848
+ "createdAtMs": {
5849
+ "nullable": false,
5507
5850
  "type": {
5508
- "codecId": "pg/text@1",
5851
+ "codecId": "pg/int8@1",
5509
5852
  "kind": "scalar"
5510
5853
  }
5511
5854
  },
5512
- "feedbackUri": {
5855
+ "details": {
5513
5856
  "nullable": true,
5514
5857
  "type": {
5515
- "codecId": "pg/text@1",
5858
+ "codecId": "pg/json@1",
5516
5859
  "kind": "scalar"
5517
5860
  }
5518
5861
  },
@@ -5523,57 +5866,43 @@
5523
5866
  "kind": "scalar"
5524
5867
  }
5525
5868
  },
5526
- "jobAttempt": {
5527
- "nullable": false,
5528
- "type": {
5529
- "codecId": "pg/int4@1",
5530
- "kind": "scalar"
5531
- }
5532
- },
5533
- "passportId": {
5534
- "nullable": false,
5869
+ "resolution": {
5870
+ "nullable": true,
5535
5871
  "type": {
5536
5872
  "codecId": "pg/text@1",
5537
5873
  "kind": "scalar"
5538
5874
  }
5539
5875
  },
5540
- "payload": {
5541
- "nullable": false,
5542
- "type": {
5543
- "codecId": "pg/json@1",
5544
- "kind": "scalar"
5545
- }
5546
- },
5547
- "score": {
5548
- "nullable": false,
5876
+ "resolvedAtMs": {
5877
+ "nullable": true,
5549
5878
  "type": {
5550
- "codecId": "pg/int4@1",
5879
+ "codecId": "pg/int8@1",
5551
5880
  "kind": "scalar"
5552
5881
  }
5553
5882
  },
5554
- "sourceId": {
5555
- "nullable": false,
5883
+ "resolvedBy": {
5884
+ "nullable": true,
5556
5885
  "type": {
5557
5886
  "codecId": "pg/text@1",
5558
5887
  "kind": "scalar"
5559
5888
  }
5560
5889
  },
5561
- "sourceType": {
5890
+ "status": {
5562
5891
  "nullable": false,
5563
5892
  "type": {
5564
5893
  "codecId": "pg/text@1",
5565
5894
  "kind": "scalar"
5566
5895
  }
5567
5896
  },
5568
- "status": {
5897
+ "subjectRef": {
5569
5898
  "nullable": false,
5570
5899
  "type": {
5571
5900
  "codecId": "pg/text@1",
5572
5901
  "kind": "scalar"
5573
5902
  }
5574
5903
  },
5575
- "txHash": {
5576
- "nullable": true,
5904
+ "type": {
5905
+ "nullable": false,
5577
5906
  "type": {
5578
5907
  "codecId": "pg/text@1",
5579
5908
  "kind": "scalar"
@@ -5590,74 +5919,62 @@
5590
5919
  "relations": {},
5591
5920
  "storage": {
5592
5921
  "fields": {
5593
- "agentId": {
5594
- "column": "agentId"
5595
- },
5596
- "attempts": {
5597
- "column": "attempts"
5598
- },
5599
5922
  "createdAt": {
5600
5923
  "column": "createdAt"
5601
5924
  },
5602
- "feedbackHash": {
5603
- "column": "feedbackHash"
5925
+ "createdAtMs": {
5926
+ "column": "createdAtMs"
5604
5927
  },
5605
- "feedbackUri": {
5606
- "column": "feedbackUri"
5928
+ "details": {
5929
+ "column": "details"
5607
5930
  },
5608
5931
  "id": {
5609
5932
  "column": "id"
5610
5933
  },
5611
- "jobAttempt": {
5612
- "column": "jobAttempt"
5613
- },
5614
- "passportId": {
5615
- "column": "passportId"
5616
- },
5617
- "payload": {
5618
- "column": "payload"
5619
- },
5620
- "score": {
5621
- "column": "score"
5934
+ "resolution": {
5935
+ "column": "resolution"
5622
5936
  },
5623
- "sourceId": {
5624
- "column": "sourceId"
5937
+ "resolvedAtMs": {
5938
+ "column": "resolvedAtMs"
5625
5939
  },
5626
- "sourceType": {
5627
- "column": "sourceType"
5940
+ "resolvedBy": {
5941
+ "column": "resolvedBy"
5628
5942
  },
5629
5943
  "status": {
5630
5944
  "column": "status"
5631
5945
  },
5632
- "txHash": {
5633
- "column": "txHash"
5946
+ "subjectRef": {
5947
+ "column": "subjectRef"
5948
+ },
5949
+ "type": {
5950
+ "column": "type"
5634
5951
  },
5635
5952
  "updatedAt": {
5636
5953
  "column": "updatedAt"
5637
5954
  }
5638
5955
  },
5639
5956
  "namespaceId": "public",
5640
- "table": "reputationWrite"
5957
+ "table": "reconciliationException"
5641
5958
  }
5642
5959
  },
5643
- "RescueTelemetryEvent": {
5960
+ "RefundIntent": {
5644
5961
  "fields": {
5645
- "amountUsdc": {
5962
+ "amount": {
5646
5963
  "nullable": false,
5647
5964
  "type": {
5648
- "codecId": "pg/text@1",
5965
+ "codecId": "pg/numeric@1",
5649
5966
  "kind": "scalar"
5650
5967
  }
5651
5968
  },
5652
- "asset": {
5653
- "nullable": false,
5969
+ "completedAtMs": {
5970
+ "nullable": true,
5654
5971
  "type": {
5655
- "codecId": "pg/text@1",
5972
+ "codecId": "pg/int8@1",
5656
5973
  "kind": "scalar"
5657
5974
  }
5658
5975
  },
5659
- "cliVersion": {
5660
- "nullable": false,
5976
+ "completedBy": {
5977
+ "nullable": true,
5661
5978
  "type": {
5662
5979
  "codecId": "pg/text@1",
5663
5980
  "kind": "scalar"
@@ -5670,13 +5987,27 @@
5670
5987
  "kind": "scalar"
5671
5988
  }
5672
5989
  },
5673
- "executionId": {
5674
- "nullable": true,
5990
+ "createdAtMs": {
5991
+ "nullable": false,
5992
+ "type": {
5993
+ "codecId": "pg/int8@1",
5994
+ "kind": "scalar"
5995
+ }
5996
+ },
5997
+ "currency": {
5998
+ "nullable": false,
5675
5999
  "type": {
5676
6000
  "codecId": "pg/text@1",
5677
6001
  "kind": "scalar"
5678
6002
  }
5679
6003
  },
6004
+ "evidence": {
6005
+ "nullable": true,
6006
+ "type": {
6007
+ "codecId": "pg/json@1",
6008
+ "kind": "scalar"
6009
+ }
6010
+ },
5680
6011
  "id": {
5681
6012
  "nullable": false,
5682
6013
  "type": {
@@ -5684,197 +6015,233 @@
5684
6015
  "kind": "scalar"
5685
6016
  }
5686
6017
  },
5687
- "ref": {
5688
- "nullable": true,
6018
+ "operator": {
6019
+ "nullable": false,
5689
6020
  "type": {
5690
6021
  "codecId": "pg/text@1",
5691
6022
  "kind": "scalar"
5692
6023
  }
5693
6024
  },
5694
- "routeFrom": {
6025
+ "payee": {
5695
6026
  "nullable": false,
5696
6027
  "type": {
5697
6028
  "codecId": "pg/text@1",
5698
6029
  "kind": "scalar"
5699
6030
  }
5700
6031
  },
5701
- "routeTo": {
6032
+ "payload": {
6033
+ "nullable": false,
6034
+ "type": {
6035
+ "codecId": "pg/json@1",
6036
+ "kind": "scalar"
6037
+ }
6038
+ },
6039
+ "paymentId": {
5702
6040
  "nullable": false,
5703
6041
  "type": {
5704
6042
  "codecId": "pg/text@1",
5705
6043
  "kind": "scalar"
5706
6044
  }
5707
6045
  },
5708
- "status": {
6046
+ "reason": {
5709
6047
  "nullable": false,
5710
6048
  "type": {
5711
6049
  "codecId": "pg/text@1",
5712
6050
  "kind": "scalar"
5713
6051
  }
5714
6052
  },
5715
- "txHashes": {
6053
+ "status": {
5716
6054
  "nullable": false,
5717
6055
  "type": {
5718
- "codecId": "pg/json@1",
6056
+ "codecId": "pg/text@1",
5719
6057
  "kind": "scalar"
5720
6058
  }
5721
6059
  },
5722
- "uaHash": {
6060
+ "txHash": {
5723
6061
  "nullable": true,
5724
6062
  "type": {
5725
6063
  "codecId": "pg/text@1",
5726
6064
  "kind": "scalar"
5727
6065
  }
6066
+ },
6067
+ "updatedAt": {
6068
+ "nullable": false,
6069
+ "type": {
6070
+ "codecId": "pg/timestamptz-string@1",
6071
+ "kind": "scalar"
6072
+ }
5728
6073
  }
5729
6074
  },
5730
6075
  "relations": {},
5731
6076
  "storage": {
5732
6077
  "fields": {
5733
- "amountUsdc": {
5734
- "column": "amountUsdc"
5735
- },
5736
- "asset": {
5737
- "column": "asset"
6078
+ "amount": {
6079
+ "column": "amount"
5738
6080
  },
5739
- "cliVersion": {
5740
- "column": "cliVersion"
6081
+ "completedAtMs": {
6082
+ "column": "completedAtMs"
6083
+ },
6084
+ "completedBy": {
6085
+ "column": "completedBy"
5741
6086
  },
5742
6087
  "createdAt": {
5743
6088
  "column": "createdAt"
5744
6089
  },
5745
- "executionId": {
5746
- "column": "executionId"
6090
+ "createdAtMs": {
6091
+ "column": "createdAtMs"
6092
+ },
6093
+ "currency": {
6094
+ "column": "currency"
6095
+ },
6096
+ "evidence": {
6097
+ "column": "evidence"
5747
6098
  },
5748
6099
  "id": {
5749
6100
  "column": "id"
5750
6101
  },
5751
- "ref": {
5752
- "column": "ref"
6102
+ "operator": {
6103
+ "column": "operator"
5753
6104
  },
5754
- "routeFrom": {
5755
- "column": "routeFrom"
6105
+ "payee": {
6106
+ "column": "payee"
5756
6107
  },
5757
- "routeTo": {
5758
- "column": "routeTo"
6108
+ "payload": {
6109
+ "column": "payload"
6110
+ },
6111
+ "paymentId": {
6112
+ "column": "paymentId"
6113
+ },
6114
+ "reason": {
6115
+ "column": "reason"
5759
6116
  },
5760
6117
  "status": {
5761
6118
  "column": "status"
5762
6119
  },
5763
- "txHashes": {
5764
- "column": "txHashes"
6120
+ "txHash": {
6121
+ "column": "txHash"
5765
6122
  },
5766
- "uaHash": {
5767
- "column": "uaHash"
6123
+ "updatedAt": {
6124
+ "column": "updatedAt"
5768
6125
  }
5769
6126
  },
5770
6127
  "namespaceId": "public",
5771
- "table": "rescueTelemetryEvent"
6128
+ "table": "refundIntent"
5772
6129
  }
5773
6130
  },
5774
- "ScanResult": {
6131
+ "ReputationFact": {
5775
6132
  "fields": {
5776
- "createdAt": {
6133
+ "actorWallet": {
5777
6134
  "nullable": false,
5778
6135
  "type": {
5779
- "codecId": "pg/timestamptz-string@1",
6136
+ "codecId": "pg/text@1",
5780
6137
  "kind": "scalar"
5781
6138
  }
5782
6139
  },
5783
- "domain": {
6140
+ "atMs": {
5784
6141
  "nullable": false,
5785
6142
  "type": {
5786
- "codecId": "pg/text@1",
6143
+ "codecId": "pg/int8@1",
5787
6144
  "kind": "scalar"
5788
6145
  }
5789
6146
  },
5790
- "id": {
6147
+ "createdAt": {
5791
6148
  "nullable": false,
5792
6149
  "type": {
5793
- "codecId": "pg/text@1",
6150
+ "codecId": "pg/timestamptz-string@1",
5794
6151
  "kind": "scalar"
5795
6152
  }
5796
6153
  },
5797
- "report": {
6154
+ "dedupeKey": {
5798
6155
  "nullable": false,
5799
6156
  "type": {
5800
- "codecId": "pg/json@1",
6157
+ "codecId": "pg/text@1",
5801
6158
  "kind": "scalar"
5802
6159
  }
5803
6160
  },
5804
- "rulesetVersion": {
5805
- "nullable": true,
6161
+ "factType": {
6162
+ "nullable": false,
5806
6163
  "type": {
5807
6164
  "codecId": "pg/text@1",
5808
6165
  "kind": "scalar"
5809
6166
  }
5810
6167
  },
5811
- "score": {
5812
- "nullable": true,
6168
+ "id": {
6169
+ "nullable": false,
5813
6170
  "type": {
5814
- "codecId": "pg/int4@1",
6171
+ "codecId": "pg/text@1",
5815
6172
  "kind": "scalar"
5816
6173
  }
5817
6174
  },
5818
- "updatedAt": {
6175
+ "payload": {
5819
6176
  "nullable": false,
5820
6177
  "type": {
5821
- "codecId": "pg/timestamptz-string@1",
6178
+ "codecId": "pg/json@1",
5822
6179
  "kind": "scalar"
5823
6180
  }
5824
6181
  },
5825
- "url": {
6182
+ "sourceRef": {
5826
6183
  "nullable": false,
5827
6184
  "type": {
5828
6185
  "codecId": "pg/text@1",
5829
6186
  "kind": "scalar"
5830
6187
  }
6188
+ },
6189
+ "subjectId": {
6190
+ "nullable": true,
6191
+ "type": {
6192
+ "codecId": "pg/text@1",
6193
+ "kind": "scalar"
6194
+ }
5831
6195
  }
5832
6196
  },
5833
6197
  "relations": {},
5834
6198
  "storage": {
5835
6199
  "fields": {
6200
+ "actorWallet": {
6201
+ "column": "actorWallet"
6202
+ },
6203
+ "atMs": {
6204
+ "column": "atMs"
6205
+ },
5836
6206
  "createdAt": {
5837
6207
  "column": "createdAt"
5838
6208
  },
5839
- "domain": {
5840
- "column": "domain"
6209
+ "dedupeKey": {
6210
+ "column": "dedupeKey"
6211
+ },
6212
+ "factType": {
6213
+ "column": "factType"
5841
6214
  },
5842
6215
  "id": {
5843
6216
  "column": "id"
5844
6217
  },
5845
- "report": {
5846
- "column": "report"
5847
- },
5848
- "rulesetVersion": {
5849
- "column": "rulesetVersion"
5850
- },
5851
- "score": {
5852
- "column": "score"
6218
+ "payload": {
6219
+ "column": "payload"
5853
6220
  },
5854
- "updatedAt": {
5855
- "column": "updatedAt"
6221
+ "sourceRef": {
6222
+ "column": "sourceRef"
5856
6223
  },
5857
- "url": {
5858
- "column": "url"
6224
+ "subjectId": {
6225
+ "column": "subjectId"
5859
6226
  }
5860
6227
  },
5861
6228
  "namespaceId": "public",
5862
- "table": "scanResult"
6229
+ "table": "reputationFact"
5863
6230
  }
5864
6231
  },
5865
- "SpendApproval": {
6232
+ "ReputationWrite": {
5866
6233
  "fields": {
5867
- "amountUsd": {
5868
- "nullable": false,
6234
+ "agentId": {
6235
+ "nullable": true,
5869
6236
  "type": {
5870
- "codecId": "pg/numeric@1",
6237
+ "codecId": "pg/text@1",
5871
6238
  "kind": "scalar"
5872
6239
  }
5873
6240
  },
5874
- "consumedAtMs": {
5875
- "nullable": true,
6241
+ "attempts": {
6242
+ "nullable": false,
5876
6243
  "type": {
5877
- "codecId": "pg/int8@1",
6244
+ "codecId": "pg/int4@1",
5878
6245
  "kind": "scalar"
5879
6246
  }
5880
6247
  },
@@ -5885,87 +6252,87 @@
5885
6252
  "kind": "scalar"
5886
6253
  }
5887
6254
  },
5888
- "createdAtMs": {
5889
- "nullable": false,
6255
+ "feedbackHash": {
6256
+ "nullable": true,
5890
6257
  "type": {
5891
- "codecId": "pg/int8@1",
6258
+ "codecId": "pg/text@1",
5892
6259
  "kind": "scalar"
5893
6260
  }
5894
6261
  },
5895
- "decidedAtMs": {
6262
+ "feedbackUri": {
5896
6263
  "nullable": true,
5897
6264
  "type": {
5898
- "codecId": "pg/int8@1",
6265
+ "codecId": "pg/text@1",
5899
6266
  "kind": "scalar"
5900
6267
  }
5901
6268
  },
5902
- "decidedBy": {
5903
- "nullable": true,
6269
+ "id": {
6270
+ "nullable": false,
5904
6271
  "type": {
5905
6272
  "codecId": "pg/text@1",
5906
6273
  "kind": "scalar"
5907
6274
  }
5908
6275
  },
5909
- "expiresAtMs": {
6276
+ "jobAttempt": {
5910
6277
  "nullable": false,
5911
6278
  "type": {
5912
- "codecId": "pg/int8@1",
6279
+ "codecId": "pg/int4@1",
5913
6280
  "kind": "scalar"
5914
6281
  }
5915
6282
  },
5916
- "id": {
6283
+ "passportId": {
5917
6284
  "nullable": false,
5918
6285
  "type": {
5919
6286
  "codecId": "pg/text@1",
5920
6287
  "kind": "scalar"
5921
6288
  }
5922
6289
  },
5923
- "kind": {
6290
+ "payload": {
5924
6291
  "nullable": false,
5925
6292
  "type": {
5926
- "codecId": "pg/text@1",
6293
+ "codecId": "pg/json@1",
5927
6294
  "kind": "scalar"
5928
6295
  }
5929
6296
  },
5930
- "payload": {
6297
+ "score": {
5931
6298
  "nullable": false,
5932
6299
  "type": {
5933
- "codecId": "pg/json@1",
6300
+ "codecId": "pg/int4@1",
5934
6301
  "kind": "scalar"
5935
6302
  }
5936
6303
  },
5937
- "refId": {
6304
+ "sourceId": {
5938
6305
  "nullable": false,
5939
6306
  "type": {
5940
6307
  "codecId": "pg/text@1",
5941
6308
  "kind": "scalar"
5942
6309
  }
5943
6310
  },
5944
- "state": {
6311
+ "sourceType": {
5945
6312
  "nullable": false,
5946
6313
  "type": {
5947
6314
  "codecId": "pg/text@1",
5948
6315
  "kind": "scalar"
5949
6316
  }
5950
6317
  },
5951
- "updatedAt": {
6318
+ "status": {
5952
6319
  "nullable": false,
5953
6320
  "type": {
5954
- "codecId": "pg/timestamptz-string@1",
6321
+ "codecId": "pg/text@1",
5955
6322
  "kind": "scalar"
5956
6323
  }
5957
6324
  },
5958
- "venueId": {
6325
+ "txHash": {
5959
6326
  "nullable": true,
5960
6327
  "type": {
5961
6328
  "codecId": "pg/text@1",
5962
6329
  "kind": "scalar"
5963
6330
  }
5964
6331
  },
5965
- "wallet": {
6332
+ "updatedAt": {
5966
6333
  "nullable": false,
5967
6334
  "type": {
5968
- "codecId": "pg/text@1",
6335
+ "codecId": "pg/timestamptz-string@1",
5969
6336
  "kind": "scalar"
5970
6337
  }
5971
6338
  }
@@ -5973,69 +6340,76 @@
5973
6340
  "relations": {},
5974
6341
  "storage": {
5975
6342
  "fields": {
5976
- "amountUsd": {
5977
- "column": "amountUsd"
6343
+ "agentId": {
6344
+ "column": "agentId"
5978
6345
  },
5979
- "consumedAtMs": {
5980
- "column": "consumedAtMs"
6346
+ "attempts": {
6347
+ "column": "attempts"
5981
6348
  },
5982
6349
  "createdAt": {
5983
6350
  "column": "createdAt"
5984
6351
  },
5985
- "createdAtMs": {
5986
- "column": "createdAtMs"
5987
- },
5988
- "decidedAtMs": {
5989
- "column": "decidedAtMs"
5990
- },
5991
- "decidedBy": {
5992
- "column": "decidedBy"
6352
+ "feedbackHash": {
6353
+ "column": "feedbackHash"
5993
6354
  },
5994
- "expiresAtMs": {
5995
- "column": "expiresAtMs"
6355
+ "feedbackUri": {
6356
+ "column": "feedbackUri"
5996
6357
  },
5997
6358
  "id": {
5998
6359
  "column": "id"
5999
6360
  },
6000
- "kind": {
6001
- "column": "kind"
6361
+ "jobAttempt": {
6362
+ "column": "jobAttempt"
6363
+ },
6364
+ "passportId": {
6365
+ "column": "passportId"
6002
6366
  },
6003
6367
  "payload": {
6004
6368
  "column": "payload"
6005
6369
  },
6006
- "refId": {
6007
- "column": "refId"
6370
+ "score": {
6371
+ "column": "score"
6008
6372
  },
6009
- "state": {
6010
- "column": "state"
6373
+ "sourceId": {
6374
+ "column": "sourceId"
6011
6375
  },
6012
- "updatedAt": {
6013
- "column": "updatedAt"
6376
+ "sourceType": {
6377
+ "column": "sourceType"
6014
6378
  },
6015
- "venueId": {
6016
- "column": "venueId"
6379
+ "status": {
6380
+ "column": "status"
6017
6381
  },
6018
- "wallet": {
6019
- "column": "wallet"
6382
+ "txHash": {
6383
+ "column": "txHash"
6384
+ },
6385
+ "updatedAt": {
6386
+ "column": "updatedAt"
6020
6387
  }
6021
6388
  },
6022
6389
  "namespaceId": "public",
6023
- "table": "spendApproval"
6390
+ "table": "reputationWrite"
6024
6391
  }
6025
6392
  },
6026
- "SpendEvent": {
6393
+ "RescueTelemetryEvent": {
6027
6394
  "fields": {
6028
- "amountUsd": {
6395
+ "amountUsdc": {
6029
6396
  "nullable": false,
6030
6397
  "type": {
6031
- "codecId": "pg/numeric@1",
6398
+ "codecId": "pg/text@1",
6032
6399
  "kind": "scalar"
6033
6400
  }
6034
6401
  },
6035
- "at": {
6402
+ "asset": {
6036
6403
  "nullable": false,
6037
6404
  "type": {
6038
- "codecId": "pg/int8@1",
6405
+ "codecId": "pg/text@1",
6406
+ "kind": "scalar"
6407
+ }
6408
+ },
6409
+ "cliVersion": {
6410
+ "nullable": false,
6411
+ "type": {
6412
+ "codecId": "pg/text@1",
6039
6413
  "kind": "scalar"
6040
6414
  }
6041
6415
  },
@@ -6046,7 +6420,7 @@
6046
6420
  "kind": "scalar"
6047
6421
  }
6048
6422
  },
6049
- "denialReason": {
6423
+ "executionId": {
6050
6424
  "nullable": true,
6051
6425
  "type": {
6052
6426
  "codecId": "pg/text@1",
@@ -6060,186 +6434,145 @@
6060
6434
  "kind": "scalar"
6061
6435
  }
6062
6436
  },
6063
- "kind": {
6064
- "nullable": false,
6437
+ "ref": {
6438
+ "nullable": true,
6065
6439
  "type": {
6066
6440
  "codecId": "pg/text@1",
6067
6441
  "kind": "scalar"
6068
6442
  }
6069
6443
  },
6070
- "payload": {
6444
+ "routeFrom": {
6071
6445
  "nullable": false,
6072
6446
  "type": {
6073
- "codecId": "pg/json@1",
6447
+ "codecId": "pg/text@1",
6074
6448
  "kind": "scalar"
6075
6449
  }
6076
6450
  },
6077
- "refId": {
6451
+ "routeTo": {
6078
6452
  "nullable": false,
6079
6453
  "type": {
6080
6454
  "codecId": "pg/text@1",
6081
6455
  "kind": "scalar"
6082
6456
  }
6083
6457
  },
6084
- "sourceChain": {
6085
- "nullable": true,
6458
+ "status": {
6459
+ "nullable": false,
6086
6460
  "type": {
6087
6461
  "codecId": "pg/text@1",
6088
6462
  "kind": "scalar"
6089
6463
  }
6090
6464
  },
6091
- "state": {
6465
+ "txHashes": {
6092
6466
  "nullable": false,
6093
6467
  "type": {
6094
- "codecId": "pg/text@1",
6468
+ "codecId": "pg/json@1",
6095
6469
  "kind": "scalar"
6096
6470
  }
6097
6471
  },
6098
- "txHash": {
6472
+ "uaHash": {
6099
6473
  "nullable": true,
6100
6474
  "type": {
6101
6475
  "codecId": "pg/text@1",
6102
6476
  "kind": "scalar"
6103
6477
  }
6104
- },
6105
- "updatedAt": {
6106
- "nullable": false,
6107
- "type": {
6108
- "codecId": "pg/timestamptz-string@1",
6109
- "kind": "scalar"
6110
- }
6111
- },
6112
- "venueId": {
6113
- "nullable": true,
6114
- "type": {
6115
- "codecId": "pg/text@1",
6116
- "kind": "scalar"
6117
- }
6118
- },
6119
- "wallet": {
6120
- "nullable": false,
6121
- "type": {
6122
- "codecId": "pg/text@1",
6123
- "kind": "scalar"
6124
- }
6125
6478
  }
6126
6479
  },
6127
6480
  "relations": {},
6128
6481
  "storage": {
6129
6482
  "fields": {
6130
- "amountUsd": {
6131
- "column": "amountUsd"
6483
+ "amountUsdc": {
6484
+ "column": "amountUsdc"
6132
6485
  },
6133
- "at": {
6134
- "column": "at"
6486
+ "asset": {
6487
+ "column": "asset"
6488
+ },
6489
+ "cliVersion": {
6490
+ "column": "cliVersion"
6135
6491
  },
6136
6492
  "createdAt": {
6137
6493
  "column": "createdAt"
6138
6494
  },
6139
- "denialReason": {
6140
- "column": "denialReason"
6495
+ "executionId": {
6496
+ "column": "executionId"
6141
6497
  },
6142
6498
  "id": {
6143
6499
  "column": "id"
6144
6500
  },
6145
- "kind": {
6146
- "column": "kind"
6147
- },
6148
- "payload": {
6149
- "column": "payload"
6150
- },
6151
- "refId": {
6152
- "column": "refId"
6153
- },
6154
- "sourceChain": {
6155
- "column": "sourceChain"
6501
+ "ref": {
6502
+ "column": "ref"
6156
6503
  },
6157
- "state": {
6158
- "column": "state"
6504
+ "routeFrom": {
6505
+ "column": "routeFrom"
6159
6506
  },
6160
- "txHash": {
6161
- "column": "txHash"
6507
+ "routeTo": {
6508
+ "column": "routeTo"
6162
6509
  },
6163
- "updatedAt": {
6164
- "column": "updatedAt"
6510
+ "status": {
6511
+ "column": "status"
6165
6512
  },
6166
- "venueId": {
6167
- "column": "venueId"
6513
+ "txHashes": {
6514
+ "column": "txHashes"
6168
6515
  },
6169
- "wallet": {
6170
- "column": "wallet"
6516
+ "uaHash": {
6517
+ "column": "uaHash"
6171
6518
  }
6172
6519
  },
6173
6520
  "namespaceId": "public",
6174
- "table": "spendEvent"
6521
+ "table": "rescueTelemetryEvent"
6175
6522
  }
6176
6523
  },
6177
- "SurveyAnswer": {
6524
+ "ScanResult": {
6178
6525
  "fields": {
6179
- "agentId": {
6180
- "nullable": true,
6526
+ "createdAt": {
6527
+ "nullable": false,
6181
6528
  "type": {
6182
- "codecId": "pg/text@1",
6529
+ "codecId": "pg/timestamptz-string@1",
6183
6530
  "kind": "scalar"
6184
6531
  }
6185
6532
  },
6186
- "answers": {
6533
+ "domain": {
6187
6534
  "nullable": false,
6188
6535
  "type": {
6189
- "codecId": "pg/json@1",
6536
+ "codecId": "pg/text@1",
6190
6537
  "kind": "scalar"
6191
6538
  }
6192
6539
  },
6193
- "createdAt": {
6540
+ "id": {
6194
6541
  "nullable": false,
6195
6542
  "type": {
6196
- "codecId": "pg/timestamptz-string@1",
6543
+ "codecId": "pg/text@1",
6197
6544
  "kind": "scalar"
6198
6545
  }
6199
6546
  },
6200
- "createdAtMs": {
6547
+ "report": {
6201
6548
  "nullable": false,
6202
6549
  "type": {
6203
- "codecId": "pg/int8@1",
6550
+ "codecId": "pg/json@1",
6204
6551
  "kind": "scalar"
6205
6552
  }
6206
6553
  },
6207
- "flag": {
6554
+ "rulesetVersion": {
6208
6555
  "nullable": true,
6209
6556
  "type": {
6210
6557
  "codecId": "pg/text@1",
6211
6558
  "kind": "scalar"
6212
6559
  }
6213
6560
  },
6214
- "fpHash": {
6561
+ "score": {
6215
6562
  "nullable": true,
6216
6563
  "type": {
6217
- "codecId": "pg/text@1",
6218
- "kind": "scalar"
6219
- }
6220
- },
6221
- "id": {
6222
- "nullable": false,
6223
- "type": {
6224
- "codecId": "pg/text@1",
6564
+ "codecId": "pg/int4@1",
6225
6565
  "kind": "scalar"
6226
6566
  }
6227
6567
  },
6228
- "rated": {
6568
+ "updatedAt": {
6229
6569
  "nullable": false,
6230
6570
  "type": {
6231
- "codecId": "pg/bool@1",
6232
- "kind": "scalar"
6233
- }
6234
- },
6235
- "softFpHash": {
6236
- "nullable": true,
6237
- "type": {
6238
- "codecId": "pg/text@1",
6571
+ "codecId": "pg/timestamptz-string@1",
6239
6572
  "kind": "scalar"
6240
6573
  }
6241
6574
  },
6242
- "surveyId": {
6575
+ "url": {
6243
6576
  "nullable": false,
6244
6577
  "type": {
6245
6578
  "codecId": "pg/text@1",
@@ -6250,54 +6583,48 @@
6250
6583
  "relations": {},
6251
6584
  "storage": {
6252
6585
  "fields": {
6253
- "agentId": {
6254
- "column": "agentId"
6255
- },
6256
- "answers": {
6257
- "column": "answers"
6258
- },
6259
6586
  "createdAt": {
6260
6587
  "column": "createdAt"
6261
6588
  },
6262
- "createdAtMs": {
6263
- "column": "createdAtMs"
6264
- },
6265
- "flag": {
6266
- "column": "flag"
6267
- },
6268
- "fpHash": {
6269
- "column": "fpHash"
6589
+ "domain": {
6590
+ "column": "domain"
6270
6591
  },
6271
6592
  "id": {
6272
6593
  "column": "id"
6273
6594
  },
6274
- "rated": {
6275
- "column": "rated"
6595
+ "report": {
6596
+ "column": "report"
6276
6597
  },
6277
- "softFpHash": {
6278
- "column": "softFpHash"
6598
+ "rulesetVersion": {
6599
+ "column": "rulesetVersion"
6279
6600
  },
6280
- "surveyId": {
6281
- "column": "surveyId"
6601
+ "score": {
6602
+ "column": "score"
6603
+ },
6604
+ "updatedAt": {
6605
+ "column": "updatedAt"
6606
+ },
6607
+ "url": {
6608
+ "column": "url"
6282
6609
  }
6283
6610
  },
6284
6611
  "namespaceId": "public",
6285
- "table": "surveyAnswer"
6612
+ "table": "scanResult"
6286
6613
  }
6287
6614
  },
6288
- "UsageRecord": {
6615
+ "SpendApproval": {
6289
6616
  "fields": {
6290
- "agentId": {
6291
- "nullable": true,
6617
+ "amountUsd": {
6618
+ "nullable": false,
6292
6619
  "type": {
6293
- "codecId": "pg/text@1",
6620
+ "codecId": "pg/numeric@1",
6294
6621
  "kind": "scalar"
6295
6622
  }
6296
6623
  },
6297
- "amount": {
6298
- "nullable": false,
6624
+ "consumedAtMs": {
6625
+ "nullable": true,
6299
6626
  "type": {
6300
- "codecId": "pg/numeric@1",
6627
+ "codecId": "pg/int8@1",
6301
6628
  "kind": "scalar"
6302
6629
  }
6303
6630
  },
@@ -6315,28 +6642,35 @@
6315
6642
  "kind": "scalar"
6316
6643
  }
6317
6644
  },
6318
- "currency": {
6319
- "nullable": false,
6645
+ "decidedAtMs": {
6646
+ "nullable": true,
6647
+ "type": {
6648
+ "codecId": "pg/int8@1",
6649
+ "kind": "scalar"
6650
+ }
6651
+ },
6652
+ "decidedBy": {
6653
+ "nullable": true,
6320
6654
  "type": {
6321
6655
  "codecId": "pg/text@1",
6322
6656
  "kind": "scalar"
6323
6657
  }
6324
6658
  },
6325
- "id": {
6659
+ "expiresAtMs": {
6326
6660
  "nullable": false,
6327
6661
  "type": {
6328
- "codecId": "pg/text@1",
6662
+ "codecId": "pg/int8@1",
6329
6663
  "kind": "scalar"
6330
6664
  }
6331
6665
  },
6332
- "network": {
6666
+ "id": {
6333
6667
  "nullable": false,
6334
6668
  "type": {
6335
6669
  "codecId": "pg/text@1",
6336
6670
  "kind": "scalar"
6337
6671
  }
6338
6672
  },
6339
- "payerAddress": {
6673
+ "kind": {
6340
6674
  "nullable": false,
6341
6675
  "type": {
6342
6676
  "codecId": "pg/text@1",
@@ -6350,43 +6684,50 @@
6350
6684
  "kind": "scalar"
6351
6685
  }
6352
6686
  },
6353
- "paymentId": {
6687
+ "refId": {
6354
6688
  "nullable": false,
6355
6689
  "type": {
6356
6690
  "codecId": "pg/text@1",
6357
6691
  "kind": "scalar"
6358
6692
  }
6359
6693
  },
6360
- "requestId": {
6694
+ "state": {
6361
6695
  "nullable": false,
6362
6696
  "type": {
6363
6697
  "codecId": "pg/text@1",
6364
6698
  "kind": "scalar"
6365
6699
  }
6366
6700
  },
6367
- "resource": {
6701
+ "updatedAt": {
6368
6702
  "nullable": false,
6369
6703
  "type": {
6370
- "codecId": "pg/text@1",
6704
+ "codecId": "pg/timestamptz-string@1",
6371
6705
  "kind": "scalar"
6372
6706
  }
6373
6707
  },
6374
- "txHash": {
6708
+ "venueId": {
6375
6709
  "nullable": true,
6376
6710
  "type": {
6377
6711
  "codecId": "pg/text@1",
6378
6712
  "kind": "scalar"
6379
6713
  }
6714
+ },
6715
+ "wallet": {
6716
+ "nullable": false,
6717
+ "type": {
6718
+ "codecId": "pg/text@1",
6719
+ "kind": "scalar"
6720
+ }
6380
6721
  }
6381
6722
  },
6382
6723
  "relations": {},
6383
6724
  "storage": {
6384
6725
  "fields": {
6385
- "agentId": {
6386
- "column": "agentId"
6726
+ "amountUsd": {
6727
+ "column": "amountUsd"
6387
6728
  },
6388
- "amount": {
6389
- "column": "amount"
6729
+ "consumedAtMs": {
6730
+ "column": "consumedAtMs"
6390
6731
  },
6391
6732
  "createdAt": {
6392
6733
  "column": "createdAt"
@@ -6394,63 +6735,83 @@
6394
6735
  "createdAtMs": {
6395
6736
  "column": "createdAtMs"
6396
6737
  },
6397
- "currency": {
6398
- "column": "currency"
6738
+ "decidedAtMs": {
6739
+ "column": "decidedAtMs"
6740
+ },
6741
+ "decidedBy": {
6742
+ "column": "decidedBy"
6743
+ },
6744
+ "expiresAtMs": {
6745
+ "column": "expiresAtMs"
6399
6746
  },
6400
6747
  "id": {
6401
6748
  "column": "id"
6402
6749
  },
6403
- "network": {
6404
- "column": "network"
6405
- },
6406
- "payerAddress": {
6407
- "column": "payerAddress"
6750
+ "kind": {
6751
+ "column": "kind"
6408
6752
  },
6409
6753
  "payload": {
6410
6754
  "column": "payload"
6411
6755
  },
6412
- "paymentId": {
6413
- "column": "paymentId"
6756
+ "refId": {
6757
+ "column": "refId"
6414
6758
  },
6415
- "requestId": {
6416
- "column": "requestId"
6759
+ "state": {
6760
+ "column": "state"
6417
6761
  },
6418
- "resource": {
6419
- "column": "resource"
6762
+ "updatedAt": {
6763
+ "column": "updatedAt"
6420
6764
  },
6421
- "txHash": {
6422
- "column": "txHash"
6765
+ "venueId": {
6766
+ "column": "venueId"
6767
+ },
6768
+ "wallet": {
6769
+ "column": "wallet"
6423
6770
  }
6424
6771
  },
6425
6772
  "namespaceId": "public",
6426
- "table": "usageRecord"
6773
+ "table": "spendApproval"
6427
6774
  }
6428
6775
  },
6429
- "VenueJob": {
6776
+ "SpendEvent": {
6430
6777
  "fields": {
6431
- "client": {
6778
+ "amountUsd": {
6432
6779
  "nullable": false,
6433
6780
  "type": {
6434
- "codecId": "pg/text@1",
6781
+ "codecId": "pg/numeric@1",
6435
6782
  "kind": "scalar"
6436
6783
  }
6437
6784
  },
6438
- "createdAt": {
6785
+ "at": {
6439
6786
  "nullable": false,
6440
6787
  "type": {
6441
- "codecId": "pg/timestamptz-string@1",
6788
+ "codecId": "pg/int8@1",
6442
6789
  "kind": "scalar"
6443
6790
  }
6444
6791
  },
6445
- "id": {
6792
+ "createdAt": {
6446
6793
  "nullable": false,
6447
6794
  "type": {
6448
- "codecId": "pg/text@1",
6795
+ "codecId": "pg/timestamptz-string@1",
6449
6796
  "kind": "scalar"
6450
6797
  }
6451
6798
  },
6452
- "jobId": {
6453
- "nullable": false,
6799
+ "denialReason": {
6800
+ "nullable": true,
6801
+ "type": {
6802
+ "codecId": "pg/text@1",
6803
+ "kind": "scalar"
6804
+ }
6805
+ },
6806
+ "id": {
6807
+ "nullable": false,
6808
+ "type": {
6809
+ "codecId": "pg/text@1",
6810
+ "kind": "scalar"
6811
+ }
6812
+ },
6813
+ "kind": {
6814
+ "nullable": false,
6454
6815
  "type": {
6455
6816
  "codecId": "pg/text@1",
6456
6817
  "kind": "scalar"
@@ -6463,80 +6824,175 @@
6463
6824
  "kind": "scalar"
6464
6825
  }
6465
6826
  },
6466
- "provider": {
6827
+ "refId": {
6828
+ "nullable": false,
6829
+ "type": {
6830
+ "codecId": "pg/text@1",
6831
+ "kind": "scalar"
6832
+ }
6833
+ },
6834
+ "sourceChain": {
6467
6835
  "nullable": true,
6468
6836
  "type": {
6469
6837
  "codecId": "pg/text@1",
6470
6838
  "kind": "scalar"
6471
6839
  }
6472
6840
  },
6473
- "status": {
6841
+ "state": {
6474
6842
  "nullable": false,
6475
6843
  "type": {
6476
6844
  "codecId": "pg/text@1",
6477
6845
  "kind": "scalar"
6478
6846
  }
6479
6847
  },
6848
+ "txHash": {
6849
+ "nullable": true,
6850
+ "type": {
6851
+ "codecId": "pg/text@1",
6852
+ "kind": "scalar"
6853
+ }
6854
+ },
6480
6855
  "updatedAt": {
6481
6856
  "nullable": false,
6482
6857
  "type": {
6483
6858
  "codecId": "pg/timestamptz-string@1",
6484
6859
  "kind": "scalar"
6485
6860
  }
6861
+ },
6862
+ "venueId": {
6863
+ "nullable": true,
6864
+ "type": {
6865
+ "codecId": "pg/text@1",
6866
+ "kind": "scalar"
6867
+ }
6868
+ },
6869
+ "wallet": {
6870
+ "nullable": false,
6871
+ "type": {
6872
+ "codecId": "pg/text@1",
6873
+ "kind": "scalar"
6874
+ }
6486
6875
  }
6487
6876
  },
6488
6877
  "relations": {},
6489
6878
  "storage": {
6490
6879
  "fields": {
6491
- "client": {
6492
- "column": "client"
6880
+ "amountUsd": {
6881
+ "column": "amountUsd"
6882
+ },
6883
+ "at": {
6884
+ "column": "at"
6493
6885
  },
6494
6886
  "createdAt": {
6495
6887
  "column": "createdAt"
6496
6888
  },
6889
+ "denialReason": {
6890
+ "column": "denialReason"
6891
+ },
6497
6892
  "id": {
6498
6893
  "column": "id"
6499
6894
  },
6500
- "jobId": {
6501
- "column": "jobId"
6895
+ "kind": {
6896
+ "column": "kind"
6502
6897
  },
6503
6898
  "payload": {
6504
6899
  "column": "payload"
6505
6900
  },
6506
- "provider": {
6507
- "column": "provider"
6901
+ "refId": {
6902
+ "column": "refId"
6508
6903
  },
6509
- "status": {
6510
- "column": "status"
6904
+ "sourceChain": {
6905
+ "column": "sourceChain"
6906
+ },
6907
+ "state": {
6908
+ "column": "state"
6909
+ },
6910
+ "txHash": {
6911
+ "column": "txHash"
6511
6912
  },
6512
6913
  "updatedAt": {
6513
6914
  "column": "updatedAt"
6915
+ },
6916
+ "venueId": {
6917
+ "column": "venueId"
6918
+ },
6919
+ "wallet": {
6920
+ "column": "wallet"
6514
6921
  }
6515
6922
  },
6516
6923
  "namespaceId": "public",
6517
- "table": "venueJob"
6924
+ "table": "spendEvent"
6518
6925
  }
6519
6926
  },
6520
- "VenueMeta": {
6927
+ "SurveyAnswer": {
6521
6928
  "fields": {
6522
- "key": {
6523
- "nullable": false,
6929
+ "agentId": {
6930
+ "nullable": true,
6524
6931
  "type": {
6525
6932
  "codecId": "pg/text@1",
6526
6933
  "kind": "scalar"
6527
6934
  }
6528
6935
  },
6529
- "updatedAt": {
6936
+ "answers": {
6937
+ "nullable": false,
6938
+ "type": {
6939
+ "codecId": "pg/json@1",
6940
+ "kind": "scalar"
6941
+ }
6942
+ },
6943
+ "createdAt": {
6530
6944
  "nullable": false,
6531
6945
  "type": {
6532
6946
  "codecId": "pg/timestamptz-string@1",
6533
6947
  "kind": "scalar"
6534
6948
  }
6535
6949
  },
6536
- "value": {
6950
+ "createdAtMs": {
6537
6951
  "nullable": false,
6538
6952
  "type": {
6539
- "codecId": "pg/json@1",
6953
+ "codecId": "pg/int8@1",
6954
+ "kind": "scalar"
6955
+ }
6956
+ },
6957
+ "flag": {
6958
+ "nullable": true,
6959
+ "type": {
6960
+ "codecId": "pg/text@1",
6961
+ "kind": "scalar"
6962
+ }
6963
+ },
6964
+ "fpHash": {
6965
+ "nullable": true,
6966
+ "type": {
6967
+ "codecId": "pg/text@1",
6968
+ "kind": "scalar"
6969
+ }
6970
+ },
6971
+ "id": {
6972
+ "nullable": false,
6973
+ "type": {
6974
+ "codecId": "pg/text@1",
6975
+ "kind": "scalar"
6976
+ }
6977
+ },
6978
+ "rated": {
6979
+ "nullable": false,
6980
+ "type": {
6981
+ "codecId": "pg/bool@1",
6982
+ "kind": "scalar"
6983
+ }
6984
+ },
6985
+ "softFpHash": {
6986
+ "nullable": true,
6987
+ "type": {
6988
+ "codecId": "pg/text@1",
6989
+ "kind": "scalar"
6990
+ }
6991
+ },
6992
+ "surveyId": {
6993
+ "nullable": false,
6994
+ "type": {
6995
+ "codecId": "pg/text@1",
6540
6996
  "kind": "scalar"
6541
6997
  }
6542
6998
  }
@@ -6544,26 +7000,54 @@
6544
7000
  "relations": {},
6545
7001
  "storage": {
6546
7002
  "fields": {
6547
- "key": {
6548
- "column": "key"
7003
+ "agentId": {
7004
+ "column": "agentId"
6549
7005
  },
6550
- "updatedAt": {
6551
- "column": "updatedAt"
7006
+ "answers": {
7007
+ "column": "answers"
6552
7008
  },
6553
- "value": {
6554
- "column": "value"
7009
+ "createdAt": {
7010
+ "column": "createdAt"
7011
+ },
7012
+ "createdAtMs": {
7013
+ "column": "createdAtMs"
7014
+ },
7015
+ "flag": {
7016
+ "column": "flag"
7017
+ },
7018
+ "fpHash": {
7019
+ "column": "fpHash"
7020
+ },
7021
+ "id": {
7022
+ "column": "id"
7023
+ },
7024
+ "rated": {
7025
+ "column": "rated"
7026
+ },
7027
+ "softFpHash": {
7028
+ "column": "softFpHash"
7029
+ },
7030
+ "surveyId": {
7031
+ "column": "surveyId"
6555
7032
  }
6556
7033
  },
6557
7034
  "namespaceId": "public",
6558
- "table": "venueMeta"
7035
+ "table": "surveyAnswer"
6559
7036
  }
6560
7037
  },
6561
- "VenueOffer": {
7038
+ "UsageRecord": {
6562
7039
  "fields": {
6563
- "active": {
7040
+ "agentId": {
7041
+ "nullable": true,
7042
+ "type": {
7043
+ "codecId": "pg/text@1",
7044
+ "kind": "scalar"
7045
+ }
7046
+ },
7047
+ "amount": {
6564
7048
  "nullable": false,
6565
7049
  "type": {
6566
- "codecId": "pg/bool@1",
7050
+ "codecId": "pg/numeric@1",
6567
7051
  "kind": "scalar"
6568
7052
  }
6569
7053
  },
@@ -6574,6 +7058,20 @@
6574
7058
  "kind": "scalar"
6575
7059
  }
6576
7060
  },
7061
+ "createdAtMs": {
7062
+ "nullable": false,
7063
+ "type": {
7064
+ "codecId": "pg/int8@1",
7065
+ "kind": "scalar"
7066
+ }
7067
+ },
7068
+ "currency": {
7069
+ "nullable": false,
7070
+ "type": {
7071
+ "codecId": "pg/text@1",
7072
+ "kind": "scalar"
7073
+ }
7074
+ },
6577
7075
  "id": {
6578
7076
  "nullable": false,
6579
7077
  "type": {
@@ -6581,6 +7079,20 @@
6581
7079
  "kind": "scalar"
6582
7080
  }
6583
7081
  },
7082
+ "network": {
7083
+ "nullable": false,
7084
+ "type": {
7085
+ "codecId": "pg/text@1",
7086
+ "kind": "scalar"
7087
+ }
7088
+ },
7089
+ "payerAddress": {
7090
+ "nullable": false,
7091
+ "type": {
7092
+ "codecId": "pg/text@1",
7093
+ "kind": "scalar"
7094
+ }
7095
+ },
6584
7096
  "payload": {
6585
7097
  "nullable": false,
6586
7098
  "type": {
@@ -6588,17 +7100,31 @@
6588
7100
  "kind": "scalar"
6589
7101
  }
6590
7102
  },
6591
- "providerAddress": {
7103
+ "paymentId": {
6592
7104
  "nullable": false,
6593
7105
  "type": {
6594
7106
  "codecId": "pg/text@1",
6595
7107
  "kind": "scalar"
6596
7108
  }
6597
7109
  },
6598
- "updatedAt": {
7110
+ "requestId": {
6599
7111
  "nullable": false,
6600
7112
  "type": {
6601
- "codecId": "pg/timestamptz-string@1",
7113
+ "codecId": "pg/text@1",
7114
+ "kind": "scalar"
7115
+ }
7116
+ },
7117
+ "resource": {
7118
+ "nullable": false,
7119
+ "type": {
7120
+ "codecId": "pg/text@1",
7121
+ "kind": "scalar"
7122
+ }
7123
+ },
7124
+ "txHash": {
7125
+ "nullable": true,
7126
+ "type": {
7127
+ "codecId": "pg/text@1",
6602
7128
  "kind": "scalar"
6603
7129
  }
6604
7130
  }
@@ -6606,17 +7132,241 @@
6606
7132
  "relations": {},
6607
7133
  "storage": {
6608
7134
  "fields": {
6609
- "active": {
6610
- "column": "active"
7135
+ "agentId": {
7136
+ "column": "agentId"
7137
+ },
7138
+ "amount": {
7139
+ "column": "amount"
6611
7140
  },
6612
7141
  "createdAt": {
6613
7142
  "column": "createdAt"
6614
7143
  },
7144
+ "createdAtMs": {
7145
+ "column": "createdAtMs"
7146
+ },
7147
+ "currency": {
7148
+ "column": "currency"
7149
+ },
6615
7150
  "id": {
6616
7151
  "column": "id"
6617
7152
  },
6618
- "payload": {
6619
- "column": "payload"
7153
+ "network": {
7154
+ "column": "network"
7155
+ },
7156
+ "payerAddress": {
7157
+ "column": "payerAddress"
7158
+ },
7159
+ "payload": {
7160
+ "column": "payload"
7161
+ },
7162
+ "paymentId": {
7163
+ "column": "paymentId"
7164
+ },
7165
+ "requestId": {
7166
+ "column": "requestId"
7167
+ },
7168
+ "resource": {
7169
+ "column": "resource"
7170
+ },
7171
+ "txHash": {
7172
+ "column": "txHash"
7173
+ }
7174
+ },
7175
+ "namespaceId": "public",
7176
+ "table": "usageRecord"
7177
+ }
7178
+ },
7179
+ "VenueJob": {
7180
+ "fields": {
7181
+ "client": {
7182
+ "nullable": false,
7183
+ "type": {
7184
+ "codecId": "pg/text@1",
7185
+ "kind": "scalar"
7186
+ }
7187
+ },
7188
+ "createdAt": {
7189
+ "nullable": false,
7190
+ "type": {
7191
+ "codecId": "pg/timestamptz-string@1",
7192
+ "kind": "scalar"
7193
+ }
7194
+ },
7195
+ "id": {
7196
+ "nullable": false,
7197
+ "type": {
7198
+ "codecId": "pg/text@1",
7199
+ "kind": "scalar"
7200
+ }
7201
+ },
7202
+ "jobId": {
7203
+ "nullable": false,
7204
+ "type": {
7205
+ "codecId": "pg/text@1",
7206
+ "kind": "scalar"
7207
+ }
7208
+ },
7209
+ "payload": {
7210
+ "nullable": false,
7211
+ "type": {
7212
+ "codecId": "pg/json@1",
7213
+ "kind": "scalar"
7214
+ }
7215
+ },
7216
+ "provider": {
7217
+ "nullable": true,
7218
+ "type": {
7219
+ "codecId": "pg/text@1",
7220
+ "kind": "scalar"
7221
+ }
7222
+ },
7223
+ "status": {
7224
+ "nullable": false,
7225
+ "type": {
7226
+ "codecId": "pg/text@1",
7227
+ "kind": "scalar"
7228
+ }
7229
+ },
7230
+ "updatedAt": {
7231
+ "nullable": false,
7232
+ "type": {
7233
+ "codecId": "pg/timestamptz-string@1",
7234
+ "kind": "scalar"
7235
+ }
7236
+ }
7237
+ },
7238
+ "relations": {},
7239
+ "storage": {
7240
+ "fields": {
7241
+ "client": {
7242
+ "column": "client"
7243
+ },
7244
+ "createdAt": {
7245
+ "column": "createdAt"
7246
+ },
7247
+ "id": {
7248
+ "column": "id"
7249
+ },
7250
+ "jobId": {
7251
+ "column": "jobId"
7252
+ },
7253
+ "payload": {
7254
+ "column": "payload"
7255
+ },
7256
+ "provider": {
7257
+ "column": "provider"
7258
+ },
7259
+ "status": {
7260
+ "column": "status"
7261
+ },
7262
+ "updatedAt": {
7263
+ "column": "updatedAt"
7264
+ }
7265
+ },
7266
+ "namespaceId": "public",
7267
+ "table": "venueJob"
7268
+ }
7269
+ },
7270
+ "VenueMeta": {
7271
+ "fields": {
7272
+ "key": {
7273
+ "nullable": false,
7274
+ "type": {
7275
+ "codecId": "pg/text@1",
7276
+ "kind": "scalar"
7277
+ }
7278
+ },
7279
+ "updatedAt": {
7280
+ "nullable": false,
7281
+ "type": {
7282
+ "codecId": "pg/timestamptz-string@1",
7283
+ "kind": "scalar"
7284
+ }
7285
+ },
7286
+ "value": {
7287
+ "nullable": false,
7288
+ "type": {
7289
+ "codecId": "pg/json@1",
7290
+ "kind": "scalar"
7291
+ }
7292
+ }
7293
+ },
7294
+ "relations": {},
7295
+ "storage": {
7296
+ "fields": {
7297
+ "key": {
7298
+ "column": "key"
7299
+ },
7300
+ "updatedAt": {
7301
+ "column": "updatedAt"
7302
+ },
7303
+ "value": {
7304
+ "column": "value"
7305
+ }
7306
+ },
7307
+ "namespaceId": "public",
7308
+ "table": "venueMeta"
7309
+ }
7310
+ },
7311
+ "VenueOffer": {
7312
+ "fields": {
7313
+ "active": {
7314
+ "nullable": false,
7315
+ "type": {
7316
+ "codecId": "pg/bool@1",
7317
+ "kind": "scalar"
7318
+ }
7319
+ },
7320
+ "createdAt": {
7321
+ "nullable": false,
7322
+ "type": {
7323
+ "codecId": "pg/timestamptz-string@1",
7324
+ "kind": "scalar"
7325
+ }
7326
+ },
7327
+ "id": {
7328
+ "nullable": false,
7329
+ "type": {
7330
+ "codecId": "pg/text@1",
7331
+ "kind": "scalar"
7332
+ }
7333
+ },
7334
+ "payload": {
7335
+ "nullable": false,
7336
+ "type": {
7337
+ "codecId": "pg/json@1",
7338
+ "kind": "scalar"
7339
+ }
7340
+ },
7341
+ "providerAddress": {
7342
+ "nullable": false,
7343
+ "type": {
7344
+ "codecId": "pg/text@1",
7345
+ "kind": "scalar"
7346
+ }
7347
+ },
7348
+ "updatedAt": {
7349
+ "nullable": false,
7350
+ "type": {
7351
+ "codecId": "pg/timestamptz-string@1",
7352
+ "kind": "scalar"
7353
+ }
7354
+ }
7355
+ },
7356
+ "relations": {},
7357
+ "storage": {
7358
+ "fields": {
7359
+ "active": {
7360
+ "column": "active"
7361
+ },
7362
+ "createdAt": {
7363
+ "column": "createdAt"
7364
+ },
7365
+ "id": {
7366
+ "column": "id"
7367
+ },
7368
+ "payload": {
7369
+ "column": "payload"
6620
7370
  },
6621
7371
  "providerAddress": {
6622
7372
  "column": "providerAddress"
@@ -6862,8 +7612,13 @@
6862
7612
  },
6863
7613
  "uniques": []
6864
7614
  },
6865
- "agentQAPair": {
7615
+ "actor": {
6866
7616
  "columns": {
7617
+ "agentId": {
7618
+ "codecId": "pg/text@1",
7619
+ "nativeType": "text",
7620
+ "nullable": true
7621
+ },
6867
7622
  "createdAt": {
6868
7623
  "codecId": "pg/timestamptz-string@1",
6869
7624
  "default": {
@@ -6873,32 +7628,32 @@
6873
7628
  "nativeType": "timestamptz",
6874
7629
  "nullable": false
6875
7630
  },
6876
- "createdAtMs": {
6877
- "codecId": "pg/int8@1",
6878
- "nativeType": "int8",
6879
- "nullable": false
6880
- },
6881
- "id": {
7631
+ "did": {
6882
7632
  "codecId": "pg/text@1",
6883
7633
  "nativeType": "text",
6884
- "nullable": false
7634
+ "nullable": true
6885
7635
  },
6886
- "question": {
7636
+ "orgId": {
6887
7637
  "codecId": "pg/text@1",
6888
7638
  "nativeType": "text",
6889
- "nullable": false
7639
+ "nullable": true
6890
7640
  },
6891
- "questionHash": {
7641
+ "passportTokenId": {
6892
7642
  "codecId": "pg/text@1",
6893
7643
  "nativeType": "text",
6894
- "nullable": false
7644
+ "nullable": true
6895
7645
  },
6896
- "response": {
7646
+ "payload": {
6897
7647
  "codecId": "pg/json@1",
6898
7648
  "nativeType": "json",
6899
7649
  "nullable": false
6900
7650
  },
6901
- "sourceRequestId": {
7651
+ "tier": {
7652
+ "codecId": "pg/text@1",
7653
+ "nativeType": "text",
7654
+ "nullable": true
7655
+ },
7656
+ "type": {
6902
7657
  "codecId": "pg/text@1",
6903
7658
  "nativeType": "text",
6904
7659
  "nullable": false
@@ -6908,13 +7663,9 @@
6908
7663
  "nativeType": "timestamptz",
6909
7664
  "nullable": false
6910
7665
  },
6911
- "uses": {
6912
- "codecId": "pg/int4@1",
6913
- "default": {
6914
- "kind": "literal",
6915
- "value": 0
6916
- },
6917
- "nativeType": "int4",
7666
+ "wallet": {
7667
+ "codecId": "pg/text@1",
7668
+ "nativeType": "text",
6918
7669
  "nullable": false
6919
7670
  }
6920
7671
  },
@@ -6922,7 +7673,183 @@
6922
7673
  "indexes": [
6923
7674
  {
6924
7675
  "columns": [
6925
- "question"
7676
+ "agentId"
7677
+ ],
7678
+ "name": "actor_agentId_idx_8d0ba4f0",
7679
+ "prefix": "actor_agentId_idx",
7680
+ "unique": false
7681
+ },
7682
+ {
7683
+ "columns": [
7684
+ "orgId"
7685
+ ],
7686
+ "name": "actor_orgId_idx_c5e5aabe",
7687
+ "prefix": "actor_orgId_idx",
7688
+ "unique": false
7689
+ },
7690
+ {
7691
+ "columns": [
7692
+ "type",
7693
+ "createdAt"
7694
+ ],
7695
+ "name": "actor_type_createdAt_idx_00d94001",
7696
+ "prefix": "actor_type_createdAt_idx",
7697
+ "unique": false
7698
+ }
7699
+ ],
7700
+ "primaryKey": {
7701
+ "columns": [
7702
+ "wallet"
7703
+ ]
7704
+ },
7705
+ "uniques": []
7706
+ },
7707
+ "adminAction": {
7708
+ "columns": {
7709
+ "action": {
7710
+ "codecId": "pg/text@1",
7711
+ "nativeType": "text",
7712
+ "nullable": false
7713
+ },
7714
+ "createdAt": {
7715
+ "codecId": "pg/timestamptz-string@1",
7716
+ "default": {
7717
+ "expression": "now()",
7718
+ "kind": "function"
7719
+ },
7720
+ "nativeType": "timestamptz",
7721
+ "nullable": false
7722
+ },
7723
+ "createdAtMs": {
7724
+ "codecId": "pg/int8@1",
7725
+ "nativeType": "int8",
7726
+ "nullable": false
7727
+ },
7728
+ "evidence": {
7729
+ "codecId": "pg/json@1",
7730
+ "nativeType": "json",
7731
+ "nullable": true
7732
+ },
7733
+ "id": {
7734
+ "codecId": "pg/text@1",
7735
+ "nativeType": "text",
7736
+ "nullable": false
7737
+ },
7738
+ "operator": {
7739
+ "codecId": "pg/text@1",
7740
+ "nativeType": "text",
7741
+ "nullable": false
7742
+ },
7743
+ "subjectId": {
7744
+ "codecId": "pg/text@1",
7745
+ "nativeType": "text",
7746
+ "nullable": false
7747
+ },
7748
+ "subjectType": {
7749
+ "codecId": "pg/text@1",
7750
+ "nativeType": "text",
7751
+ "nullable": false
7752
+ }
7753
+ },
7754
+ "foreignKeys": [],
7755
+ "indexes": [
7756
+ {
7757
+ "columns": [
7758
+ "action",
7759
+ "createdAtMs"
7760
+ ],
7761
+ "name": "adminAction_action_createdAtMs_idx_d9318111",
7762
+ "prefix": "adminAction_action_createdAtMs_idx",
7763
+ "unique": false
7764
+ },
7765
+ {
7766
+ "columns": [
7767
+ "operator",
7768
+ "createdAtMs"
7769
+ ],
7770
+ "name": "adminAction_operator_createdAtMs_idx_cb0bc76e",
7771
+ "prefix": "adminAction_operator_createdAtMs_idx",
7772
+ "unique": false
7773
+ },
7774
+ {
7775
+ "columns": [
7776
+ "subjectType",
7777
+ "subjectId",
7778
+ "createdAtMs"
7779
+ ],
7780
+ "name": "adminAction_subjectType_subjectId_createdAtMs_idx_15fe9106",
7781
+ "prefix": "adminAction_subjectType_subjectId_createdAtMs_idx",
7782
+ "unique": false
7783
+ }
7784
+ ],
7785
+ "primaryKey": {
7786
+ "columns": [
7787
+ "id"
7788
+ ]
7789
+ },
7790
+ "uniques": []
7791
+ },
7792
+ "agentQAPair": {
7793
+ "columns": {
7794
+ "createdAt": {
7795
+ "codecId": "pg/timestamptz-string@1",
7796
+ "default": {
7797
+ "expression": "now()",
7798
+ "kind": "function"
7799
+ },
7800
+ "nativeType": "timestamptz",
7801
+ "nullable": false
7802
+ },
7803
+ "createdAtMs": {
7804
+ "codecId": "pg/int8@1",
7805
+ "nativeType": "int8",
7806
+ "nullable": false
7807
+ },
7808
+ "id": {
7809
+ "codecId": "pg/text@1",
7810
+ "nativeType": "text",
7811
+ "nullable": false
7812
+ },
7813
+ "question": {
7814
+ "codecId": "pg/text@1",
7815
+ "nativeType": "text",
7816
+ "nullable": false
7817
+ },
7818
+ "questionHash": {
7819
+ "codecId": "pg/text@1",
7820
+ "nativeType": "text",
7821
+ "nullable": false
7822
+ },
7823
+ "response": {
7824
+ "codecId": "pg/json@1",
7825
+ "nativeType": "json",
7826
+ "nullable": false
7827
+ },
7828
+ "sourceRequestId": {
7829
+ "codecId": "pg/text@1",
7830
+ "nativeType": "text",
7831
+ "nullable": false
7832
+ },
7833
+ "updatedAt": {
7834
+ "codecId": "pg/timestamptz-string@1",
7835
+ "nativeType": "timestamptz",
7836
+ "nullable": false
7837
+ },
7838
+ "uses": {
7839
+ "codecId": "pg/int4@1",
7840
+ "default": {
7841
+ "kind": "literal",
7842
+ "value": 0
7843
+ },
7844
+ "nativeType": "int4",
7845
+ "nullable": false
7846
+ }
7847
+ },
7848
+ "foreignKeys": [],
7849
+ "indexes": [
7850
+ {
7851
+ "columns": [
7852
+ "question"
6926
7853
  ],
6927
7854
  "name": "agentQAPair_question_idx_191eccf6",
6928
7855
  "prefix": "agentQAPair_question_idx",
@@ -8398,6 +9325,13 @@
8398
9325
  "columns": [
8399
9326
  "eventSeq"
8400
9327
  ]
9328
+ },
9329
+ {
9330
+ "columns": [
9331
+ "entityType",
9332
+ "entityId",
9333
+ "prevHash"
9334
+ ]
8401
9335
  }
8402
9336
  ]
8403
9337
  },
@@ -9632,6 +10566,121 @@
9632
10566
  }
9633
10567
  ]
9634
10568
  },
10569
+ "entitlement": {
10570
+ "columns": {
10571
+ "activeSlot": {
10572
+ "codecId": "pg/text@1",
10573
+ "nativeType": "text",
10574
+ "nullable": true
10575
+ },
10576
+ "createdAt": {
10577
+ "codecId": "pg/timestamptz-string@1",
10578
+ "default": {
10579
+ "expression": "now()",
10580
+ "kind": "function"
10581
+ },
10582
+ "nativeType": "timestamptz",
10583
+ "nullable": false
10584
+ },
10585
+ "id": {
10586
+ "codecId": "pg/text@1",
10587
+ "nativeType": "text",
10588
+ "nullable": false
10589
+ },
10590
+ "idempotencyKey": {
10591
+ "codecId": "pg/text@1",
10592
+ "nativeType": "text",
10593
+ "nullable": false
10594
+ },
10595
+ "ownerId": {
10596
+ "codecId": "pg/text@1",
10597
+ "nativeType": "text",
10598
+ "nullable": false
10599
+ },
10600
+ "payload": {
10601
+ "codecId": "pg/json@1",
10602
+ "nativeType": "json",
10603
+ "nullable": false
10604
+ },
10605
+ "productCode": {
10606
+ "codecId": "pg/text@1",
10607
+ "nativeType": "text",
10608
+ "nullable": false
10609
+ },
10610
+ "sourcePaymentId": {
10611
+ "codecId": "pg/text@1",
10612
+ "nativeType": "text",
10613
+ "nullable": true
10614
+ },
10615
+ "status": {
10616
+ "codecId": "pg/text@1",
10617
+ "nativeType": "text",
10618
+ "nullable": false
10619
+ },
10620
+ "updatedAt": {
10621
+ "codecId": "pg/timestamptz-string@1",
10622
+ "nativeType": "timestamptz",
10623
+ "nullable": false
10624
+ },
10625
+ "validFromMs": {
10626
+ "codecId": "pg/int8@1",
10627
+ "nativeType": "int8",
10628
+ "nullable": false
10629
+ },
10630
+ "validUntilMs": {
10631
+ "codecId": "pg/int8@1",
10632
+ "nativeType": "int8",
10633
+ "nullable": true
10634
+ }
10635
+ },
10636
+ "foreignKeys": [],
10637
+ "indexes": [
10638
+ {
10639
+ "columns": [
10640
+ "ownerId",
10641
+ "productCode",
10642
+ "status"
10643
+ ],
10644
+ "name": "entitlement_ownerId_productCode_status_idx_d133f171",
10645
+ "prefix": "entitlement_ownerId_productCode_status_idx",
10646
+ "unique": false
10647
+ },
10648
+ {
10649
+ "columns": [
10650
+ "sourcePaymentId"
10651
+ ],
10652
+ "name": "entitlement_sourcePaymentId_idx_423bfc4f",
10653
+ "prefix": "entitlement_sourcePaymentId_idx",
10654
+ "unique": false
10655
+ },
10656
+ {
10657
+ "columns": [
10658
+ "status",
10659
+ "validUntilMs"
10660
+ ],
10661
+ "name": "entitlement_status_validUntilMs_idx_3dda2d9c",
10662
+ "prefix": "entitlement_status_validUntilMs_idx",
10663
+ "unique": false
10664
+ }
10665
+ ],
10666
+ "primaryKey": {
10667
+ "columns": [
10668
+ "id"
10669
+ ]
10670
+ },
10671
+ "uniques": [
10672
+ {
10673
+ "columns": [
10674
+ "idempotencyKey"
10675
+ ]
10676
+ },
10677
+ {
10678
+ "columns": [
10679
+ "activeSlot"
10680
+ ]
10681
+ }
10682
+ ]
10683
+ },
9635
10684
  "event": {
9636
10685
  "columns": {
9637
10686
  "at": {
@@ -10003,13 +11052,379 @@
10003
11052
  },
10004
11053
  "uniques": []
10005
11054
  },
10006
- "passportOwner": {
11055
+ "passportOwner": {
11056
+ "columns": {
11057
+ "blockNumber": {
11058
+ "codecId": "pg/int8@1",
11059
+ "nativeType": "int8",
11060
+ "nullable": false
11061
+ },
11062
+ "createdAt": {
11063
+ "codecId": "pg/timestamptz-string@1",
11064
+ "default": {
11065
+ "expression": "now()",
11066
+ "kind": "function"
11067
+ },
11068
+ "nativeType": "timestamptz",
11069
+ "nullable": false
11070
+ },
11071
+ "logIndex": {
11072
+ "codecId": "pg/int4@1",
11073
+ "nativeType": "int4",
11074
+ "nullable": true
11075
+ },
11076
+ "owner": {
11077
+ "codecId": "pg/text@1",
11078
+ "nativeType": "text",
11079
+ "nullable": false
11080
+ },
11081
+ "passportId": {
11082
+ "codecId": "pg/text@1",
11083
+ "nativeType": "text",
11084
+ "nullable": false
11085
+ },
11086
+ "payload": {
11087
+ "codecId": "pg/json@1",
11088
+ "nativeType": "json",
11089
+ "nullable": false
11090
+ },
11091
+ "updatedAt": {
11092
+ "codecId": "pg/timestamptz-string@1",
11093
+ "nativeType": "timestamptz",
11094
+ "nullable": false
11095
+ }
11096
+ },
11097
+ "foreignKeys": [],
11098
+ "indexes": [
11099
+ {
11100
+ "columns": [
11101
+ "owner"
11102
+ ],
11103
+ "name": "passportOwner_owner_idx_01158e2c",
11104
+ "prefix": "passportOwner_owner_idx",
11105
+ "unique": false
11106
+ }
11107
+ ],
11108
+ "primaryKey": {
11109
+ "columns": [
11110
+ "passportId"
11111
+ ]
11112
+ },
11113
+ "uniques": []
11114
+ },
11115
+ "payment": {
11116
+ "columns": {
11117
+ "agentId": {
11118
+ "codecId": "pg/text@1",
11119
+ "nativeType": "text",
11120
+ "nullable": true
11121
+ },
11122
+ "amount": {
11123
+ "codecId": "pg/numeric@1",
11124
+ "nativeType": "numeric",
11125
+ "nullable": false
11126
+ },
11127
+ "createdAt": {
11128
+ "codecId": "pg/timestamptz-string@1",
11129
+ "default": {
11130
+ "expression": "now()",
11131
+ "kind": "function"
11132
+ },
11133
+ "nativeType": "timestamptz",
11134
+ "nullable": false
11135
+ },
11136
+ "createdAtMs": {
11137
+ "codecId": "pg/int8@1",
11138
+ "nativeType": "int8",
11139
+ "nullable": false
11140
+ },
11141
+ "currency": {
11142
+ "codecId": "pg/text@1",
11143
+ "default": {
11144
+ "kind": "literal",
11145
+ "value": "USD"
11146
+ },
11147
+ "nativeType": "text",
11148
+ "nullable": false
11149
+ },
11150
+ "customerId": {
11151
+ "codecId": "pg/text@1",
11152
+ "nativeType": "text",
11153
+ "nullable": true
11154
+ },
11155
+ "expiresAtMs": {
11156
+ "codecId": "pg/int8@1",
11157
+ "nativeType": "int8",
11158
+ "nullable": true
11159
+ },
11160
+ "id": {
11161
+ "codecId": "pg/text@1",
11162
+ "nativeType": "text",
11163
+ "nullable": false
11164
+ },
11165
+ "idempotencyKey": {
11166
+ "codecId": "pg/text@1",
11167
+ "nativeType": "text",
11168
+ "nullable": true
11169
+ },
11170
+ "orderId": {
11171
+ "codecId": "pg/text@1",
11172
+ "nativeType": "text",
11173
+ "nullable": true
11174
+ },
11175
+ "payload": {
11176
+ "codecId": "pg/json@1",
11177
+ "nativeType": "json",
11178
+ "nullable": false
11179
+ },
11180
+ "productId": {
11181
+ "codecId": "pg/text@1",
11182
+ "nativeType": "text",
11183
+ "nullable": true
11184
+ },
11185
+ "purpose": {
11186
+ "codecId": "pg/text@1",
11187
+ "nativeType": "text",
11188
+ "nullable": false
11189
+ },
11190
+ "reference": {
11191
+ "codecId": "pg/text@1",
11192
+ "nativeType": "text",
11193
+ "nullable": false
11194
+ },
11195
+ "status": {
11196
+ "codecId": "pg/text@1",
11197
+ "nativeType": "text",
11198
+ "nullable": false
11199
+ },
11200
+ "updatedAt": {
11201
+ "codecId": "pg/timestamptz-string@1",
11202
+ "nativeType": "timestamptz",
11203
+ "nullable": false
11204
+ },
11205
+ "updatedAtMs": {
11206
+ "codecId": "pg/int8@1",
11207
+ "nativeType": "int8",
11208
+ "nullable": false
11209
+ }
11210
+ },
11211
+ "foreignKeys": [],
11212
+ "indexes": [
11213
+ {
11214
+ "columns": [
11215
+ "agentId"
11216
+ ],
11217
+ "name": "payment_agentId_idx_8d0ba4f0",
11218
+ "prefix": "payment_agentId_idx",
11219
+ "unique": false
11220
+ },
11221
+ {
11222
+ "columns": [
11223
+ "customerId"
11224
+ ],
11225
+ "name": "payment_customerId_idx_b2a8a46c",
11226
+ "prefix": "payment_customerId_idx",
11227
+ "unique": false
11228
+ },
11229
+ {
11230
+ "columns": [
11231
+ "expiresAtMs"
11232
+ ],
11233
+ "name": "payment_expiresAtMs_idx_89d46aa4",
11234
+ "prefix": "payment_expiresAtMs_idx",
11235
+ "unique": false
11236
+ },
11237
+ {
11238
+ "columns": [
11239
+ "orderId"
11240
+ ],
11241
+ "name": "payment_orderId_idx_d284871b",
11242
+ "prefix": "payment_orderId_idx",
11243
+ "unique": false
11244
+ },
11245
+ {
11246
+ "columns": [
11247
+ "productId"
11248
+ ],
11249
+ "name": "payment_productId_idx_5858600a",
11250
+ "prefix": "payment_productId_idx",
11251
+ "unique": false
11252
+ },
11253
+ {
11254
+ "columns": [
11255
+ "status",
11256
+ "createdAtMs"
11257
+ ],
11258
+ "name": "payment_status_createdAtMs_idx_95013a06",
11259
+ "prefix": "payment_status_createdAtMs_idx",
11260
+ "unique": false
11261
+ }
11262
+ ],
11263
+ "primaryKey": {
11264
+ "columns": [
11265
+ "id"
11266
+ ]
11267
+ },
11268
+ "uniques": [
11269
+ {
11270
+ "columns": [
11271
+ "reference"
11272
+ ]
11273
+ },
11274
+ {
11275
+ "columns": [
11276
+ "idempotencyKey"
11277
+ ]
11278
+ }
11279
+ ]
11280
+ },
11281
+ "paymentAttempt": {
11282
+ "columns": {
11283
+ "amount": {
11284
+ "codecId": "pg/numeric@1",
11285
+ "nativeType": "numeric",
11286
+ "nullable": false
11287
+ },
11288
+ "confirmedAtMs": {
11289
+ "codecId": "pg/int8@1",
11290
+ "nativeType": "int8",
11291
+ "nullable": true
11292
+ },
11293
+ "createdAt": {
11294
+ "codecId": "pg/timestamptz-string@1",
11295
+ "default": {
11296
+ "expression": "now()",
11297
+ "kind": "function"
11298
+ },
11299
+ "nativeType": "timestamptz",
11300
+ "nullable": false
11301
+ },
11302
+ "currency": {
11303
+ "codecId": "pg/text@1",
11304
+ "nativeType": "text",
11305
+ "nullable": false
11306
+ },
11307
+ "expiresAtMs": {
11308
+ "codecId": "pg/int8@1",
11309
+ "nativeType": "int8",
11310
+ "nullable": true
11311
+ },
11312
+ "id": {
11313
+ "codecId": "pg/text@1",
11314
+ "nativeType": "text",
11315
+ "nullable": false
11316
+ },
11317
+ "network": {
11318
+ "codecId": "pg/text@1",
11319
+ "nativeType": "text",
11320
+ "nullable": true
11321
+ },
11322
+ "payload": {
11323
+ "codecId": "pg/json@1",
11324
+ "nativeType": "json",
11325
+ "nullable": false
11326
+ },
11327
+ "paymentId": {
11328
+ "codecId": "pg/text@1",
11329
+ "nativeType": "text",
11330
+ "nullable": false
11331
+ },
11332
+ "provider": {
11333
+ "codecId": "pg/text@1",
11334
+ "nativeType": "text",
11335
+ "nullable": false
11336
+ },
11337
+ "providerReference": {
11338
+ "codecId": "pg/text@1",
11339
+ "nativeType": "text",
11340
+ "nullable": true
11341
+ },
11342
+ "status": {
11343
+ "codecId": "pg/text@1",
11344
+ "nativeType": "text",
11345
+ "nullable": false
11346
+ },
11347
+ "token": {
11348
+ "codecId": "pg/text@1",
11349
+ "nativeType": "text",
11350
+ "nullable": true
11351
+ },
11352
+ "transactionHash": {
11353
+ "codecId": "pg/text@1",
11354
+ "nativeType": "text",
11355
+ "nullable": true
11356
+ },
11357
+ "updatedAt": {
11358
+ "codecId": "pg/timestamptz-string@1",
11359
+ "nativeType": "timestamptz",
11360
+ "nullable": false
11361
+ }
11362
+ },
11363
+ "foreignKeys": [],
11364
+ "indexes": [
11365
+ {
11366
+ "columns": [
11367
+ "paymentId"
11368
+ ],
11369
+ "name": "paymentAttempt_paymentId_idx_b2fe9a10",
11370
+ "prefix": "paymentAttempt_paymentId_idx",
11371
+ "unique": false
11372
+ },
11373
+ {
11374
+ "columns": [
11375
+ "status",
11376
+ "expiresAtMs"
11377
+ ],
11378
+ "name": "paymentAttempt_status_expiresAtMs_idx_a69286ac",
11379
+ "prefix": "paymentAttempt_status_expiresAtMs_idx",
11380
+ "unique": false
11381
+ },
11382
+ {
11383
+ "columns": [
11384
+ "transactionHash"
11385
+ ],
11386
+ "name": "paymentAttempt_transactionHash_idx_42bd5811",
11387
+ "prefix": "paymentAttempt_transactionHash_idx",
11388
+ "unique": false
11389
+ }
11390
+ ],
11391
+ "primaryKey": {
11392
+ "columns": [
11393
+ "id"
11394
+ ]
11395
+ },
11396
+ "uniques": [
11397
+ {
11398
+ "columns": [
11399
+ "provider",
11400
+ "providerReference"
11401
+ ]
11402
+ },
11403
+ {
11404
+ "columns": [
11405
+ "provider",
11406
+ "transactionHash"
11407
+ ]
11408
+ }
11409
+ ]
11410
+ },
11411
+ "paymentEvent": {
10007
11412
  "columns": {
10008
- "blockNumber": {
11413
+ "actor": {
11414
+ "codecId": "pg/text@1",
11415
+ "nativeType": "text",
11416
+ "nullable": false
11417
+ },
11418
+ "atMs": {
10009
11419
  "codecId": "pg/int8@1",
10010
11420
  "nativeType": "int8",
10011
11421
  "nullable": false
10012
11422
  },
11423
+ "attemptId": {
11424
+ "codecId": "pg/text@1",
11425
+ "nativeType": "text",
11426
+ "nullable": true
11427
+ },
10013
11428
  "createdAt": {
10014
11429
  "codecId": "pg/timestamptz-string@1",
10015
11430
  "default": {
@@ -10019,17 +11434,17 @@
10019
11434
  "nativeType": "timestamptz",
10020
11435
  "nullable": false
10021
11436
  },
10022
- "logIndex": {
10023
- "codecId": "pg/int4@1",
10024
- "nativeType": "int4",
10025
- "nullable": true
11437
+ "entity": {
11438
+ "codecId": "pg/text@1",
11439
+ "nativeType": "text",
11440
+ "nullable": false
10026
11441
  },
10027
- "owner": {
11442
+ "from": {
10028
11443
  "codecId": "pg/text@1",
10029
11444
  "nativeType": "text",
10030
11445
  "nullable": false
10031
11446
  },
10032
- "passportId": {
11447
+ "id": {
10033
11448
  "codecId": "pg/text@1",
10034
11449
  "nativeType": "text",
10035
11450
  "nullable": false
@@ -10039,9 +11454,19 @@
10039
11454
  "nativeType": "json",
10040
11455
  "nullable": false
10041
11456
  },
10042
- "updatedAt": {
10043
- "codecId": "pg/timestamptz-string@1",
10044
- "nativeType": "timestamptz",
11457
+ "paymentId": {
11458
+ "codecId": "pg/text@1",
11459
+ "nativeType": "text",
11460
+ "nullable": false
11461
+ },
11462
+ "reason": {
11463
+ "codecId": "pg/text@1",
11464
+ "nativeType": "text",
11465
+ "nullable": true
11466
+ },
11467
+ "to": {
11468
+ "codecId": "pg/text@1",
11469
+ "nativeType": "text",
10045
11470
  "nullable": false
10046
11471
  }
10047
11472
  },
@@ -10049,32 +11474,46 @@
10049
11474
  "indexes": [
10050
11475
  {
10051
11476
  "columns": [
10052
- "owner"
11477
+ "attemptId",
11478
+ "atMs"
10053
11479
  ],
10054
- "name": "passportOwner_owner_idx_01158e2c",
10055
- "prefix": "passportOwner_owner_idx",
11480
+ "name": "paymentEvent_attemptId_atMs_idx_ea3be0a0",
11481
+ "prefix": "paymentEvent_attemptId_atMs_idx",
11482
+ "unique": false
11483
+ },
11484
+ {
11485
+ "columns": [
11486
+ "entity",
11487
+ "atMs"
11488
+ ],
11489
+ "name": "paymentEvent_entity_atMs_idx_45e980a0",
11490
+ "prefix": "paymentEvent_entity_atMs_idx",
11491
+ "unique": false
11492
+ },
11493
+ {
11494
+ "columns": [
11495
+ "paymentId",
11496
+ "atMs"
11497
+ ],
11498
+ "name": "paymentEvent_paymentId_atMs_idx_d0ad8de1",
11499
+ "prefix": "paymentEvent_paymentId_atMs_idx",
10056
11500
  "unique": false
10057
11501
  }
10058
11502
  ],
10059
11503
  "primaryKey": {
10060
11504
  "columns": [
10061
- "passportId"
11505
+ "id"
10062
11506
  ]
10063
11507
  },
10064
11508
  "uniques": []
10065
11509
  },
10066
- "payment": {
11510
+ "paymentException": {
10067
11511
  "columns": {
10068
- "agentId": {
11512
+ "attemptId": {
10069
11513
  "codecId": "pg/text@1",
10070
11514
  "nativeType": "text",
10071
11515
  "nullable": true
10072
11516
  },
10073
- "amount": {
10074
- "codecId": "pg/numeric@1",
10075
- "nativeType": "numeric",
10076
- "nullable": false
10077
- },
10078
11517
  "createdAt": {
10079
11518
  "codecId": "pg/timestamptz-string@1",
10080
11519
  "default": {
@@ -10089,23 +11528,9 @@
10089
11528
  "nativeType": "int8",
10090
11529
  "nullable": false
10091
11530
  },
10092
- "currency": {
10093
- "codecId": "pg/text@1",
10094
- "default": {
10095
- "kind": "literal",
10096
- "value": "USD"
10097
- },
10098
- "nativeType": "text",
10099
- "nullable": false
10100
- },
10101
- "customerId": {
10102
- "codecId": "pg/text@1",
10103
- "nativeType": "text",
10104
- "nullable": true
10105
- },
10106
- "expiresAtMs": {
10107
- "codecId": "pg/int8@1",
10108
- "nativeType": "int8",
11531
+ "details": {
11532
+ "codecId": "pg/json@1",
11533
+ "nativeType": "json",
10109
11534
  "nullable": true
10110
11535
  },
10111
11536
  "id": {
@@ -10113,32 +11538,27 @@
10113
11538
  "nativeType": "text",
10114
11539
  "nullable": false
10115
11540
  },
10116
- "idempotencyKey": {
11541
+ "kind": {
10117
11542
  "codecId": "pg/text@1",
10118
11543
  "nativeType": "text",
10119
- "nullable": true
11544
+ "nullable": false
10120
11545
  },
10121
- "orderId": {
11546
+ "paymentId": {
10122
11547
  "codecId": "pg/text@1",
10123
11548
  "nativeType": "text",
10124
11549
  "nullable": true
10125
11550
  },
10126
- "payload": {
10127
- "codecId": "pg/json@1",
10128
- "nativeType": "json",
10129
- "nullable": false
10130
- },
10131
- "productId": {
11551
+ "resolutionNote": {
10132
11552
  "codecId": "pg/text@1",
10133
11553
  "nativeType": "text",
10134
11554
  "nullable": true
10135
11555
  },
10136
- "purpose": {
10137
- "codecId": "pg/text@1",
10138
- "nativeType": "text",
10139
- "nullable": false
11556
+ "resolvedAtMs": {
11557
+ "codecId": "pg/int8@1",
11558
+ "nativeType": "int8",
11559
+ "nullable": true
10140
11560
  },
10141
- "reference": {
11561
+ "severity": {
10142
11562
  "codecId": "pg/text@1",
10143
11563
  "nativeType": "text",
10144
11564
  "nullable": false
@@ -10147,58 +11567,32 @@
10147
11567
  "codecId": "pg/text@1",
10148
11568
  "nativeType": "text",
10149
11569
  "nullable": false
10150
- },
10151
- "updatedAt": {
10152
- "codecId": "pg/timestamptz-string@1",
10153
- "nativeType": "timestamptz",
10154
- "nullable": false
10155
- },
10156
- "updatedAtMs": {
10157
- "codecId": "pg/int8@1",
10158
- "nativeType": "int8",
10159
- "nullable": false
10160
11570
  }
10161
11571
  },
10162
11572
  "foreignKeys": [],
10163
11573
  "indexes": [
10164
11574
  {
10165
11575
  "columns": [
10166
- "agentId"
10167
- ],
10168
- "name": "payment_agentId_idx_8d0ba4f0",
10169
- "prefix": "payment_agentId_idx",
10170
- "unique": false
10171
- },
10172
- {
10173
- "columns": [
10174
- "customerId"
10175
- ],
10176
- "name": "payment_customerId_idx_b2a8a46c",
10177
- "prefix": "payment_customerId_idx",
10178
- "unique": false
10179
- },
10180
- {
10181
- "columns": [
10182
- "expiresAtMs"
11576
+ "attemptId"
10183
11577
  ],
10184
- "name": "payment_expiresAtMs_idx_89d46aa4",
10185
- "prefix": "payment_expiresAtMs_idx",
11578
+ "name": "paymentException_attemptId_idx_94f50eb9",
11579
+ "prefix": "paymentException_attemptId_idx",
10186
11580
  "unique": false
10187
11581
  },
10188
11582
  {
10189
11583
  "columns": [
10190
- "orderId"
11584
+ "kind"
10191
11585
  ],
10192
- "name": "payment_orderId_idx_d284871b",
10193
- "prefix": "payment_orderId_idx",
11586
+ "name": "paymentException_kind_idx_c9ca668f",
11587
+ "prefix": "paymentException_kind_idx",
10194
11588
  "unique": false
10195
11589
  },
10196
11590
  {
10197
11591
  "columns": [
10198
- "productId"
11592
+ "paymentId"
10199
11593
  ],
10200
- "name": "payment_productId_idx_5858600a",
10201
- "prefix": "payment_productId_idx",
11594
+ "name": "paymentException_paymentId_idx_b2fe9a10",
11595
+ "prefix": "paymentException_paymentId_idx",
10202
11596
  "unique": false
10203
11597
  },
10204
11598
  {
@@ -10206,8 +11600,8 @@
10206
11600
  "status",
10207
11601
  "createdAtMs"
10208
11602
  ],
10209
- "name": "payment_status_createdAtMs_idx_95013a06",
10210
- "prefix": "payment_status_createdAtMs_idx",
11603
+ "name": "paymentException_status_createdAtMs_idx_95013a06",
11604
+ "prefix": "paymentException_status_createdAtMs_idx",
10211
11605
  "unique": false
10212
11606
  }
10213
11607
  ],
@@ -10216,30 +11610,28 @@
10216
11610
  "id"
10217
11611
  ]
10218
11612
  },
10219
- "uniques": [
10220
- {
10221
- "columns": [
10222
- "reference"
10223
- ]
10224
- },
10225
- {
10226
- "columns": [
10227
- "idempotencyKey"
10228
- ]
10229
- }
10230
- ]
11613
+ "uniques": []
10231
11614
  },
10232
- "paymentAttempt": {
11615
+ "paymentPrice": {
10233
11616
  "columns": {
11617
+ "active": {
11618
+ "codecId": "pg/bool@1",
11619
+ "default": {
11620
+ "kind": "literal",
11621
+ "value": true
11622
+ },
11623
+ "nativeType": "bool",
11624
+ "nullable": false
11625
+ },
10234
11626
  "amount": {
10235
11627
  "codecId": "pg/numeric@1",
10236
11628
  "nativeType": "numeric",
10237
11629
  "nullable": false
10238
11630
  },
10239
- "confirmedAtMs": {
10240
- "codecId": "pg/int8@1",
10241
- "nativeType": "int8",
10242
- "nullable": true
11631
+ "billingType": {
11632
+ "codecId": "pg/text@1",
11633
+ "nativeType": "text",
11634
+ "nullable": false
10243
11635
  },
10244
11636
  "createdAt": {
10245
11637
  "codecId": "pg/timestamptz-string@1",
@@ -10252,20 +11644,19 @@
10252
11644
  },
10253
11645
  "currency": {
10254
11646
  "codecId": "pg/text@1",
11647
+ "default": {
11648
+ "kind": "literal",
11649
+ "value": "USD"
11650
+ },
10255
11651
  "nativeType": "text",
10256
11652
  "nullable": false
10257
11653
  },
10258
- "expiresAtMs": {
10259
- "codecId": "pg/int8@1",
10260
- "nativeType": "int8",
10261
- "nullable": true
10262
- },
10263
11654
  "id": {
10264
11655
  "codecId": "pg/text@1",
10265
11656
  "nativeType": "text",
10266
11657
  "nullable": false
10267
11658
  },
10268
- "network": {
11659
+ "interval": {
10269
11660
  "codecId": "pg/text@1",
10270
11661
  "nativeType": "text",
10271
11662
  "nullable": true
@@ -10275,35 +11666,85 @@
10275
11666
  "nativeType": "json",
10276
11667
  "nullable": false
10277
11668
  },
10278
- "paymentId": {
11669
+ "productId": {
11670
+ "codecId": "pg/text@1",
11671
+ "nativeType": "text",
11672
+ "nullable": false
11673
+ },
11674
+ "updatedAt": {
11675
+ "codecId": "pg/timestamptz-string@1",
11676
+ "nativeType": "timestamptz",
11677
+ "nullable": false
11678
+ }
11679
+ },
11680
+ "foreignKeys": [],
11681
+ "indexes": [
11682
+ {
11683
+ "columns": [
11684
+ "productId",
11685
+ "active"
11686
+ ],
11687
+ "name": "paymentPrice_productId_active_idx_d401b859",
11688
+ "prefix": "paymentPrice_productId_active_idx",
11689
+ "unique": false
11690
+ }
11691
+ ],
11692
+ "primaryKey": {
11693
+ "columns": [
11694
+ "id"
11695
+ ]
11696
+ },
11697
+ "uniques": []
11698
+ },
11699
+ "paymentProduct": {
11700
+ "columns": {
11701
+ "active": {
11702
+ "codecId": "pg/bool@1",
11703
+ "default": {
11704
+ "kind": "literal",
11705
+ "value": true
11706
+ },
11707
+ "nativeType": "bool",
11708
+ "nullable": false
11709
+ },
11710
+ "category": {
10279
11711
  "codecId": "pg/text@1",
10280
11712
  "nativeType": "text",
10281
11713
  "nullable": false
10282
11714
  },
10283
- "provider": {
11715
+ "code": {
10284
11716
  "codecId": "pg/text@1",
10285
11717
  "nativeType": "text",
10286
11718
  "nullable": false
10287
11719
  },
10288
- "providerReference": {
11720
+ "createdAt": {
11721
+ "codecId": "pg/timestamptz-string@1",
11722
+ "default": {
11723
+ "expression": "now()",
11724
+ "kind": "function"
11725
+ },
11726
+ "nativeType": "timestamptz",
11727
+ "nullable": false
11728
+ },
11729
+ "description": {
10289
11730
  "codecId": "pg/text@1",
10290
11731
  "nativeType": "text",
10291
11732
  "nullable": true
10292
11733
  },
10293
- "status": {
11734
+ "id": {
10294
11735
  "codecId": "pg/text@1",
10295
11736
  "nativeType": "text",
10296
11737
  "nullable": false
10297
11738
  },
10298
- "token": {
11739
+ "name": {
10299
11740
  "codecId": "pg/text@1",
10300
11741
  "nativeType": "text",
10301
- "nullable": true
11742
+ "nullable": false
10302
11743
  },
10303
- "transactionHash": {
10304
- "codecId": "pg/text@1",
10305
- "nativeType": "text",
10306
- "nullable": true
11744
+ "payload": {
11745
+ "codecId": "pg/json@1",
11746
+ "nativeType": "json",
11747
+ "nullable": false
10307
11748
  },
10308
11749
  "updatedAt": {
10309
11750
  "codecId": "pg/timestamptz-string@1",
@@ -10315,27 +11756,19 @@
10315
11756
  "indexes": [
10316
11757
  {
10317
11758
  "columns": [
10318
- "paymentId"
10319
- ],
10320
- "name": "paymentAttempt_paymentId_idx_b2fe9a10",
10321
- "prefix": "paymentAttempt_paymentId_idx",
10322
- "unique": false
10323
- },
10324
- {
10325
- "columns": [
10326
- "status",
10327
- "expiresAtMs"
11759
+ "active"
10328
11760
  ],
10329
- "name": "paymentAttempt_status_expiresAtMs_idx_a69286ac",
10330
- "prefix": "paymentAttempt_status_expiresAtMs_idx",
11761
+ "name": "paymentProduct_active_idx_8af4daed",
11762
+ "prefix": "paymentProduct_active_idx",
10331
11763
  "unique": false
10332
11764
  },
10333
11765
  {
10334
11766
  "columns": [
10335
- "transactionHash"
11767
+ "category",
11768
+ "active"
10336
11769
  ],
10337
- "name": "paymentAttempt_transactionHash_idx_42bd5811",
10338
- "prefix": "paymentAttempt_transactionHash_idx",
11770
+ "name": "paymentProduct_category_active_idx_642db9a2",
11771
+ "prefix": "paymentProduct_category_active_idx",
10339
11772
  "unique": false
10340
11773
  }
10341
11774
  ],
@@ -10347,34 +11780,27 @@
10347
11780
  "uniques": [
10348
11781
  {
10349
11782
  "columns": [
10350
- "provider",
10351
- "providerReference"
10352
- ]
10353
- },
10354
- {
10355
- "columns": [
10356
- "provider",
10357
- "transactionHash"
11783
+ "code"
10358
11784
  ]
10359
11785
  }
10360
11786
  ]
10361
11787
  },
10362
- "paymentEvent": {
11788
+ "paymentReceipt": {
10363
11789
  "columns": {
10364
- "actor": {
10365
- "codecId": "pg/text@1",
10366
- "nativeType": "text",
11790
+ "amount": {
11791
+ "codecId": "pg/numeric@1",
11792
+ "nativeType": "numeric",
10367
11793
  "nullable": false
10368
11794
  },
10369
- "atMs": {
10370
- "codecId": "pg/int8@1",
10371
- "nativeType": "int8",
11795
+ "asset": {
11796
+ "codecId": "pg/text@1",
11797
+ "nativeType": "text",
10372
11798
  "nullable": false
10373
11799
  },
10374
11800
  "attemptId": {
10375
11801
  "codecId": "pg/text@1",
10376
11802
  "nativeType": "text",
10377
- "nullable": true
11803
+ "nullable": false
10378
11804
  },
10379
11805
  "createdAt": {
10380
11806
  "codecId": "pg/timestamptz-string@1",
@@ -10385,20 +11811,25 @@
10385
11811
  "nativeType": "timestamptz",
10386
11812
  "nullable": false
10387
11813
  },
10388
- "entity": {
11814
+ "externalReference": {
10389
11815
  "codecId": "pg/text@1",
10390
11816
  "nativeType": "text",
10391
11817
  "nullable": false
10392
11818
  },
10393
- "from": {
11819
+ "id": {
10394
11820
  "codecId": "pg/text@1",
10395
11821
  "nativeType": "text",
10396
11822
  "nullable": false
10397
11823
  },
10398
- "id": {
11824
+ "network": {
10399
11825
  "codecId": "pg/text@1",
10400
11826
  "nativeType": "text",
10401
- "nullable": false
11827
+ "nullable": true
11828
+ },
11829
+ "payer": {
11830
+ "codecId": "pg/text@1",
11831
+ "nativeType": "text",
11832
+ "nullable": true
10402
11833
  },
10403
11834
  "payload": {
10404
11835
  "codecId": "pg/json@1",
@@ -10410,14 +11841,24 @@
10410
11841
  "nativeType": "text",
10411
11842
  "nullable": false
10412
11843
  },
10413
- "reason": {
11844
+ "provider": {
11845
+ "codecId": "pg/text@1",
11846
+ "nativeType": "text",
11847
+ "nullable": false
11848
+ },
11849
+ "recipient": {
10414
11850
  "codecId": "pg/text@1",
10415
11851
  "nativeType": "text",
10416
11852
  "nullable": true
10417
11853
  },
10418
- "to": {
11854
+ "transactionHash": {
10419
11855
  "codecId": "pg/text@1",
10420
11856
  "nativeType": "text",
11857
+ "nullable": true
11858
+ },
11859
+ "verifiedAtMs": {
11860
+ "codecId": "pg/int8@1",
11861
+ "nativeType": "int8",
10421
11862
  "nullable": false
10422
11863
  }
10423
11864
  },
@@ -10425,29 +11866,26 @@
10425
11866
  "indexes": [
10426
11867
  {
10427
11868
  "columns": [
10428
- "attemptId",
10429
- "atMs"
11869
+ "attemptId"
10430
11870
  ],
10431
- "name": "paymentEvent_attemptId_atMs_idx_ea3be0a0",
10432
- "prefix": "paymentEvent_attemptId_atMs_idx",
11871
+ "name": "paymentReceipt_attemptId_idx_94f50eb9",
11872
+ "prefix": "paymentReceipt_attemptId_idx",
10433
11873
  "unique": false
10434
11874
  },
10435
11875
  {
10436
11876
  "columns": [
10437
- "entity",
10438
- "atMs"
11877
+ "paymentId"
10439
11878
  ],
10440
- "name": "paymentEvent_entity_atMs_idx_45e980a0",
10441
- "prefix": "paymentEvent_entity_atMs_idx",
11879
+ "name": "paymentReceipt_paymentId_idx_b2fe9a10",
11880
+ "prefix": "paymentReceipt_paymentId_idx",
10442
11881
  "unique": false
10443
11882
  },
10444
11883
  {
10445
11884
  "columns": [
10446
- "paymentId",
10447
- "atMs"
11885
+ "transactionHash"
10448
11886
  ],
10449
- "name": "paymentEvent_paymentId_atMs_idx_d0ad8de1",
10450
- "prefix": "paymentEvent_paymentId_atMs_idx",
11887
+ "name": "paymentReceipt_transactionHash_idx_42bd5811",
11888
+ "prefix": "paymentReceipt_transactionHash_idx",
10451
11889
  "unique": false
10452
11890
  }
10453
11891
  ],
@@ -10456,15 +11894,17 @@
10456
11894
  "id"
10457
11895
  ]
10458
11896
  },
10459
- "uniques": []
11897
+ "uniques": [
11898
+ {
11899
+ "columns": [
11900
+ "provider",
11901
+ "externalReference"
11902
+ ]
11903
+ }
11904
+ ]
10460
11905
  },
10461
- "paymentException": {
11906
+ "reconciliationException": {
10462
11907
  "columns": {
10463
- "attemptId": {
10464
- "codecId": "pg/text@1",
10465
- "nativeType": "text",
10466
- "nullable": true
10467
- },
10468
11908
  "createdAt": {
10469
11909
  "codecId": "pg/timestamptz-string@1",
10470
11910
  "default": {
@@ -10489,154 +11929,68 @@
10489
11929
  "nativeType": "text",
10490
11930
  "nullable": false
10491
11931
  },
10492
- "kind": {
11932
+ "resolution": {
10493
11933
  "codecId": "pg/text@1",
10494
11934
  "nativeType": "text",
10495
- "nullable": false
11935
+ "nullable": true
10496
11936
  },
10497
- "paymentId": {
10498
- "codecId": "pg/text@1",
10499
- "nativeType": "text",
11937
+ "resolvedAtMs": {
11938
+ "codecId": "pg/int8@1",
11939
+ "nativeType": "int8",
10500
11940
  "nullable": true
10501
11941
  },
10502
- "resolutionNote": {
11942
+ "resolvedBy": {
10503
11943
  "codecId": "pg/text@1",
10504
11944
  "nativeType": "text",
10505
11945
  "nullable": true
10506
11946
  },
10507
- "resolvedAtMs": {
10508
- "codecId": "pg/int8@1",
10509
- "nativeType": "int8",
10510
- "nullable": true
11947
+ "status": {
11948
+ "codecId": "pg/text@1",
11949
+ "nativeType": "text",
11950
+ "nullable": false
10511
11951
  },
10512
- "severity": {
11952
+ "subjectRef": {
10513
11953
  "codecId": "pg/text@1",
10514
11954
  "nativeType": "text",
10515
11955
  "nullable": false
10516
11956
  },
10517
- "status": {
11957
+ "type": {
10518
11958
  "codecId": "pg/text@1",
10519
11959
  "nativeType": "text",
10520
11960
  "nullable": false
11961
+ },
11962
+ "updatedAt": {
11963
+ "codecId": "pg/timestamptz-string@1",
11964
+ "nativeType": "timestamptz",
11965
+ "nullable": false
10521
11966
  }
10522
11967
  },
10523
11968
  "foreignKeys": [],
10524
11969
  "indexes": [
10525
11970
  {
10526
11971
  "columns": [
10527
- "attemptId"
10528
- ],
10529
- "name": "paymentException_attemptId_idx_94f50eb9",
10530
- "prefix": "paymentException_attemptId_idx",
10531
- "unique": false
10532
- },
10533
- {
10534
- "columns": [
10535
- "kind"
10536
- ],
10537
- "name": "paymentException_kind_idx_c9ca668f",
10538
- "prefix": "paymentException_kind_idx",
10539
- "unique": false
10540
- },
10541
- {
10542
- "columns": [
10543
- "paymentId"
11972
+ "status",
11973
+ "createdAtMs"
10544
11974
  ],
10545
- "name": "paymentException_paymentId_idx_b2fe9a10",
10546
- "prefix": "paymentException_paymentId_idx",
11975
+ "name": "reconciliationException_status_createdAtMs_idx_95013a06",
11976
+ "prefix": "reconciliationException_status_createdAtMs_idx",
10547
11977
  "unique": false
10548
11978
  },
10549
11979
  {
10550
11980
  "columns": [
10551
- "status",
10552
- "createdAtMs"
11981
+ "subjectRef"
10553
11982
  ],
10554
- "name": "paymentException_status_createdAtMs_idx_95013a06",
10555
- "prefix": "paymentException_status_createdAtMs_idx",
10556
- "unique": false
10557
- }
10558
- ],
10559
- "primaryKey": {
10560
- "columns": [
10561
- "id"
10562
- ]
10563
- },
10564
- "uniques": []
10565
- },
10566
- "paymentPrice": {
10567
- "columns": {
10568
- "active": {
10569
- "codecId": "pg/bool@1",
10570
- "default": {
10571
- "kind": "literal",
10572
- "value": true
10573
- },
10574
- "nativeType": "bool",
10575
- "nullable": false
10576
- },
10577
- "amount": {
10578
- "codecId": "pg/numeric@1",
10579
- "nativeType": "numeric",
10580
- "nullable": false
10581
- },
10582
- "billingType": {
10583
- "codecId": "pg/text@1",
10584
- "nativeType": "text",
10585
- "nullable": false
10586
- },
10587
- "createdAt": {
10588
- "codecId": "pg/timestamptz-string@1",
10589
- "default": {
10590
- "expression": "now()",
10591
- "kind": "function"
10592
- },
10593
- "nativeType": "timestamptz",
10594
- "nullable": false
10595
- },
10596
- "currency": {
10597
- "codecId": "pg/text@1",
10598
- "default": {
10599
- "kind": "literal",
10600
- "value": "USD"
10601
- },
10602
- "nativeType": "text",
10603
- "nullable": false
10604
- },
10605
- "id": {
10606
- "codecId": "pg/text@1",
10607
- "nativeType": "text",
10608
- "nullable": false
10609
- },
10610
- "interval": {
10611
- "codecId": "pg/text@1",
10612
- "nativeType": "text",
10613
- "nullable": true
10614
- },
10615
- "payload": {
10616
- "codecId": "pg/json@1",
10617
- "nativeType": "json",
10618
- "nullable": false
10619
- },
10620
- "productId": {
10621
- "codecId": "pg/text@1",
10622
- "nativeType": "text",
10623
- "nullable": false
11983
+ "name": "reconciliationException_subjectRef_idx_6307adf9",
11984
+ "prefix": "reconciliationException_subjectRef_idx",
11985
+ "unique": false
10624
11986
  },
10625
- "updatedAt": {
10626
- "codecId": "pg/timestamptz-string@1",
10627
- "nativeType": "timestamptz",
10628
- "nullable": false
10629
- }
10630
- },
10631
- "foreignKeys": [],
10632
- "indexes": [
10633
11987
  {
10634
11988
  "columns": [
10635
- "productId",
10636
- "active"
11989
+ "type",
11990
+ "createdAtMs"
10637
11991
  ],
10638
- "name": "paymentPrice_productId_active_idx_d401b859",
10639
- "prefix": "paymentPrice_productId_active_idx",
11992
+ "name": "reconciliationException_type_createdAtMs_idx_8d1ab589",
11993
+ "prefix": "reconciliationException_type_createdAtMs_idx",
10640
11994
  "unique": false
10641
11995
  }
10642
11996
  ],
@@ -10647,26 +12001,22 @@
10647
12001
  },
10648
12002
  "uniques": []
10649
12003
  },
10650
- "paymentProduct": {
12004
+ "refundIntent": {
10651
12005
  "columns": {
10652
- "active": {
10653
- "codecId": "pg/bool@1",
10654
- "default": {
10655
- "kind": "literal",
10656
- "value": true
10657
- },
10658
- "nativeType": "bool",
12006
+ "amount": {
12007
+ "codecId": "pg/numeric@1",
12008
+ "nativeType": "numeric",
10659
12009
  "nullable": false
10660
12010
  },
10661
- "category": {
10662
- "codecId": "pg/text@1",
10663
- "nativeType": "text",
10664
- "nullable": false
12011
+ "completedAtMs": {
12012
+ "codecId": "pg/int8@1",
12013
+ "nativeType": "int8",
12014
+ "nullable": true
10665
12015
  },
10666
- "code": {
12016
+ "completedBy": {
10667
12017
  "codecId": "pg/text@1",
10668
12018
  "nativeType": "text",
10669
- "nullable": false
12019
+ "nullable": true
10670
12020
  },
10671
12021
  "createdAt": {
10672
12022
  "codecId": "pg/timestamptz-string@1",
@@ -10677,9 +12027,23 @@
10677
12027
  "nativeType": "timestamptz",
10678
12028
  "nullable": false
10679
12029
  },
10680
- "description": {
12030
+ "createdAtMs": {
12031
+ "codecId": "pg/int8@1",
12032
+ "nativeType": "int8",
12033
+ "nullable": false
12034
+ },
12035
+ "currency": {
10681
12036
  "codecId": "pg/text@1",
12037
+ "default": {
12038
+ "kind": "literal",
12039
+ "value": "USDC"
12040
+ },
10682
12041
  "nativeType": "text",
12042
+ "nullable": false
12043
+ },
12044
+ "evidence": {
12045
+ "codecId": "pg/json@1",
12046
+ "nativeType": "json",
10683
12047
  "nullable": true
10684
12048
  },
10685
12049
  "id": {
@@ -10687,7 +12051,12 @@
10687
12051
  "nativeType": "text",
10688
12052
  "nullable": false
10689
12053
  },
10690
- "name": {
12054
+ "operator": {
12055
+ "codecId": "pg/text@1",
12056
+ "nativeType": "text",
12057
+ "nullable": false
12058
+ },
12059
+ "payee": {
10691
12060
  "codecId": "pg/text@1",
10692
12061
  "nativeType": "text",
10693
12062
  "nullable": false
@@ -10697,6 +12066,26 @@
10697
12066
  "nativeType": "json",
10698
12067
  "nullable": false
10699
12068
  },
12069
+ "paymentId": {
12070
+ "codecId": "pg/text@1",
12071
+ "nativeType": "text",
12072
+ "nullable": false
12073
+ },
12074
+ "reason": {
12075
+ "codecId": "pg/text@1",
12076
+ "nativeType": "text",
12077
+ "nullable": false
12078
+ },
12079
+ "status": {
12080
+ "codecId": "pg/text@1",
12081
+ "nativeType": "text",
12082
+ "nullable": false
12083
+ },
12084
+ "txHash": {
12085
+ "codecId": "pg/text@1",
12086
+ "nativeType": "text",
12087
+ "nullable": true
12088
+ },
10700
12089
  "updatedAt": {
10701
12090
  "codecId": "pg/timestamptz-string@1",
10702
12091
  "nativeType": "timestamptz",
@@ -10707,19 +12096,35 @@
10707
12096
  "indexes": [
10708
12097
  {
10709
12098
  "columns": [
10710
- "active"
12099
+ "payee"
10711
12100
  ],
10712
- "name": "paymentProduct_active_idx_8af4daed",
10713
- "prefix": "paymentProduct_active_idx",
12101
+ "name": "refundIntent_payee_idx_30918ee6",
12102
+ "prefix": "refundIntent_payee_idx",
10714
12103
  "unique": false
10715
12104
  },
10716
12105
  {
10717
12106
  "columns": [
10718
- "category",
10719
- "active"
12107
+ "paymentId"
10720
12108
  ],
10721
- "name": "paymentProduct_category_active_idx_642db9a2",
10722
- "prefix": "paymentProduct_category_active_idx",
12109
+ "name": "refundIntent_paymentId_idx_b2fe9a10",
12110
+ "prefix": "refundIntent_paymentId_idx",
12111
+ "unique": false
12112
+ },
12113
+ {
12114
+ "columns": [
12115
+ "status",
12116
+ "createdAtMs"
12117
+ ],
12118
+ "name": "refundIntent_status_createdAtMs_idx_95013a06",
12119
+ "prefix": "refundIntent_status_createdAtMs_idx",
12120
+ "unique": false
12121
+ },
12122
+ {
12123
+ "columns": [
12124
+ "txHash"
12125
+ ],
12126
+ "name": "refundIntent_txHash_idx_3fbe8b55",
12127
+ "prefix": "refundIntent_txHash_idx",
10723
12128
  "unique": false
10724
12129
  }
10725
12130
  ],
@@ -10728,29 +12133,18 @@
10728
12133
  "id"
10729
12134
  ]
10730
12135
  },
10731
- "uniques": [
10732
- {
10733
- "columns": [
10734
- "code"
10735
- ]
10736
- }
10737
- ]
12136
+ "uniques": []
10738
12137
  },
10739
- "paymentReceipt": {
12138
+ "reputationFact": {
10740
12139
  "columns": {
10741
- "amount": {
10742
- "codecId": "pg/numeric@1",
10743
- "nativeType": "numeric",
10744
- "nullable": false
10745
- },
10746
- "asset": {
12140
+ "actorWallet": {
10747
12141
  "codecId": "pg/text@1",
10748
12142
  "nativeType": "text",
10749
12143
  "nullable": false
10750
12144
  },
10751
- "attemptId": {
10752
- "codecId": "pg/text@1",
10753
- "nativeType": "text",
12145
+ "atMs": {
12146
+ "codecId": "pg/int8@1",
12147
+ "nativeType": "int8",
10754
12148
  "nullable": false
10755
12149
  },
10756
12150
  "createdAt": {
@@ -10762,81 +12156,63 @@
10762
12156
  "nativeType": "timestamptz",
10763
12157
  "nullable": false
10764
12158
  },
10765
- "externalReference": {
12159
+ "dedupeKey": {
10766
12160
  "codecId": "pg/text@1",
10767
12161
  "nativeType": "text",
10768
12162
  "nullable": false
10769
12163
  },
10770
- "id": {
12164
+ "factType": {
10771
12165
  "codecId": "pg/text@1",
10772
12166
  "nativeType": "text",
10773
12167
  "nullable": false
10774
12168
  },
10775
- "network": {
10776
- "codecId": "pg/text@1",
10777
- "nativeType": "text",
10778
- "nullable": true
10779
- },
10780
- "payer": {
12169
+ "id": {
10781
12170
  "codecId": "pg/text@1",
10782
12171
  "nativeType": "text",
10783
- "nullable": true
12172
+ "nullable": false
10784
12173
  },
10785
12174
  "payload": {
10786
12175
  "codecId": "pg/json@1",
10787
12176
  "nativeType": "json",
10788
12177
  "nullable": false
10789
12178
  },
10790
- "paymentId": {
10791
- "codecId": "pg/text@1",
10792
- "nativeType": "text",
10793
- "nullable": false
10794
- },
10795
- "provider": {
12179
+ "sourceRef": {
10796
12180
  "codecId": "pg/text@1",
10797
12181
  "nativeType": "text",
10798
12182
  "nullable": false
10799
12183
  },
10800
- "recipient": {
10801
- "codecId": "pg/text@1",
10802
- "nativeType": "text",
10803
- "nullable": true
10804
- },
10805
- "transactionHash": {
12184
+ "subjectId": {
10806
12185
  "codecId": "pg/text@1",
10807
12186
  "nativeType": "text",
10808
12187
  "nullable": true
10809
- },
10810
- "verifiedAtMs": {
10811
- "codecId": "pg/int8@1",
10812
- "nativeType": "int8",
10813
- "nullable": false
10814
12188
  }
10815
12189
  },
10816
12190
  "foreignKeys": [],
10817
12191
  "indexes": [
10818
12192
  {
10819
12193
  "columns": [
10820
- "attemptId"
12194
+ "actorWallet",
12195
+ "factType",
12196
+ "createdAt"
10821
12197
  ],
10822
- "name": "paymentReceipt_attemptId_idx_94f50eb9",
10823
- "prefix": "paymentReceipt_attemptId_idx",
12198
+ "name": "reputationFact_actorWallet_factType_createdAt_idx_0e9b7994",
12199
+ "prefix": "reputationFact_actorWallet_factType_createdAt_idx",
10824
12200
  "unique": false
10825
12201
  },
10826
12202
  {
10827
12203
  "columns": [
10828
- "paymentId"
12204
+ "sourceRef"
10829
12205
  ],
10830
- "name": "paymentReceipt_paymentId_idx_b2fe9a10",
10831
- "prefix": "paymentReceipt_paymentId_idx",
12206
+ "name": "reputationFact_sourceRef_idx_f97a6e5c",
12207
+ "prefix": "reputationFact_sourceRef_idx",
10832
12208
  "unique": false
10833
12209
  },
10834
12210
  {
10835
12211
  "columns": [
10836
- "transactionHash"
12212
+ "subjectId"
10837
12213
  ],
10838
- "name": "paymentReceipt_transactionHash_idx_42bd5811",
10839
- "prefix": "paymentReceipt_transactionHash_idx",
12214
+ "name": "reputationFact_subjectId_idx_84df2a1d",
12215
+ "prefix": "reputationFact_subjectId_idx",
10840
12216
  "unique": false
10841
12217
  }
10842
12218
  ],
@@ -10848,8 +12224,7 @@
10848
12224
  "uniques": [
10849
12225
  {
10850
12226
  "columns": [
10851
- "provider",
10852
- "externalReference"
12227
+ "dedupeKey"
10853
12228
  ]
10854
12229
  }
10855
12230
  ]
@@ -11797,10 +13172,10 @@
11797
13172
  "kind": "postgres-schema"
11798
13173
  }
11799
13174
  },
11800
- "storageHash": "54c2a5b26f1b3d894327cc5f3d46ddf6c1586d5fde50c92a2bd6b1ff0ceda73b"
13175
+ "storageHash": "174bbe13adcd8dd1ef05efb4b4ab5e7a9b30646347d508ceedf1f228d4298d7b"
11801
13176
  },
11802
13177
  "execution": {
11803
- "executionHash": "e71791f5422317f7461d372987109bdfee010244722f6deabdeb567fe4aa3538",
13178
+ "executionHash": "cda992afecb515ff2c2dd351b5c0b83fb88ef1603d7125472d90da7e198b024b",
11804
13179
  "mutations": {
11805
13180
  "defaults": [
11806
13181
  {
@@ -11851,6 +13226,32 @@
11851
13226
  "table": "a2ATask"
11852
13227
  }
11853
13228
  },
13229
+ {
13230
+ "onCreate": {
13231
+ "id": "timestampNow",
13232
+ "kind": "generator"
13233
+ },
13234
+ "onUpdate": {
13235
+ "id": "timestampNow",
13236
+ "kind": "generator"
13237
+ },
13238
+ "ref": {
13239
+ "column": "updatedAt",
13240
+ "namespace": "public",
13241
+ "table": "actor"
13242
+ }
13243
+ },
13244
+ {
13245
+ "onCreate": {
13246
+ "id": "uuidv4",
13247
+ "kind": "generator"
13248
+ },
13249
+ "ref": {
13250
+ "column": "id",
13251
+ "namespace": "public",
13252
+ "table": "adminAction"
13253
+ }
13254
+ },
11854
13255
  {
11855
13256
  "onCreate": {
11856
13257
  "id": "uuidv4",
@@ -12439,6 +13840,32 @@
12439
13840
  "table": "economicEvent"
12440
13841
  }
12441
13842
  },
13843
+ {
13844
+ "onCreate": {
13845
+ "id": "uuidv4",
13846
+ "kind": "generator"
13847
+ },
13848
+ "ref": {
13849
+ "column": "id",
13850
+ "namespace": "public",
13851
+ "table": "entitlement"
13852
+ }
13853
+ },
13854
+ {
13855
+ "onCreate": {
13856
+ "id": "timestampNow",
13857
+ "kind": "generator"
13858
+ },
13859
+ "onUpdate": {
13860
+ "id": "timestampNow",
13861
+ "kind": "generator"
13862
+ },
13863
+ "ref": {
13864
+ "column": "updatedAt",
13865
+ "namespace": "public",
13866
+ "table": "entitlement"
13867
+ }
13868
+ },
12442
13869
  {
12443
13870
  "onCreate": {
12444
13871
  "id": "uuidv4",
@@ -12625,6 +14052,58 @@
12625
14052
  "table": "paymentProduct"
12626
14053
  }
12627
14054
  },
14055
+ {
14056
+ "onCreate": {
14057
+ "id": "timestampNow",
14058
+ "kind": "generator"
14059
+ },
14060
+ "onUpdate": {
14061
+ "id": "timestampNow",
14062
+ "kind": "generator"
14063
+ },
14064
+ "ref": {
14065
+ "column": "updatedAt",
14066
+ "namespace": "public",
14067
+ "table": "reconciliationException"
14068
+ }
14069
+ },
14070
+ {
14071
+ "onCreate": {
14072
+ "id": "uuidv4",
14073
+ "kind": "generator"
14074
+ },
14075
+ "ref": {
14076
+ "column": "id",
14077
+ "namespace": "public",
14078
+ "table": "refundIntent"
14079
+ }
14080
+ },
14081
+ {
14082
+ "onCreate": {
14083
+ "id": "timestampNow",
14084
+ "kind": "generator"
14085
+ },
14086
+ "onUpdate": {
14087
+ "id": "timestampNow",
14088
+ "kind": "generator"
14089
+ },
14090
+ "ref": {
14091
+ "column": "updatedAt",
14092
+ "namespace": "public",
14093
+ "table": "refundIntent"
14094
+ }
14095
+ },
14096
+ {
14097
+ "onCreate": {
14098
+ "id": "uuidv4",
14099
+ "kind": "generator"
14100
+ },
14101
+ "ref": {
14102
+ "column": "id",
14103
+ "namespace": "public",
14104
+ "table": "reputationFact"
14105
+ }
14106
+ },
12628
14107
  {
12629
14108
  "onCreate": {
12630
14109
  "id": "uuidv4",