@agentbadge/database 0.6.15 → 0.6.17

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.
@@ -112,6 +112,10 @@
112
112
  "model": "DelegateRecord",
113
113
  "namespace": "public"
114
114
  },
115
+ "dispute": {
116
+ "model": "Dispute",
117
+ "namespace": "public"
118
+ },
115
119
  "eaasAnchor": {
116
120
  "model": "EaasAnchor",
117
121
  "namespace": "public"
@@ -168,6 +172,14 @@
168
172
  "model": "MarketplaceService",
169
173
  "namespace": "public"
170
174
  },
175
+ "milestone": {
176
+ "model": "Milestone",
177
+ "namespace": "public"
178
+ },
179
+ "milestonePlan": {
180
+ "model": "MilestonePlan",
181
+ "namespace": "public"
182
+ },
171
183
  "passportOwner": {
172
184
  "model": "PassportOwner",
173
185
  "namespace": "public"
@@ -200,6 +212,14 @@
200
212
  "model": "PaymentReceipt",
201
213
  "namespace": "public"
202
214
  },
215
+ "payoutIntent": {
216
+ "model": "PayoutIntent",
217
+ "namespace": "public"
218
+ },
219
+ "payoutLeg": {
220
+ "model": "PayoutLeg",
221
+ "namespace": "public"
222
+ },
203
223
  "reconciliationException": {
204
224
  "model": "ReconciliationException",
205
225
  "namespace": "public"
@@ -224,6 +244,10 @@
224
244
  "model": "ScanResult",
225
245
  "namespace": "public"
226
246
  },
247
+ "settlementAnchor": {
248
+ "model": "SettlementAnchor",
249
+ "namespace": "public"
250
+ },
227
251
  "spendApproval": {
228
252
  "model": "SpendApproval",
229
253
  "namespace": "public"
@@ -766,6 +790,20 @@
766
790
  "kind": "scalar"
767
791
  }
768
792
  },
793
+ "retractReason": {
794
+ "nullable": true,
795
+ "type": {
796
+ "codecId": "pg/text@1",
797
+ "kind": "scalar"
798
+ }
799
+ },
800
+ "retractedAtMs": {
801
+ "nullable": true,
802
+ "type": {
803
+ "codecId": "pg/int8@1",
804
+ "kind": "scalar"
805
+ }
806
+ },
769
807
  "sourceRequestId": {
770
808
  "nullable": false,
771
809
  "type": {
@@ -809,6 +847,12 @@
809
847
  "response": {
810
848
  "column": "response"
811
849
  },
850
+ "retractReason": {
851
+ "column": "retractReason"
852
+ },
853
+ "retractedAtMs": {
854
+ "column": "retractedAtMs"
855
+ },
812
856
  "sourceRequestId": {
813
857
  "column": "sourceRequestId"
814
858
  },
@@ -895,6 +939,13 @@
895
939
  "kind": "scalar"
896
940
  }
897
941
  },
942
+ "publishToQa": {
943
+ "nullable": false,
944
+ "type": {
945
+ "codecId": "pg/bool@1",
946
+ "kind": "scalar"
947
+ }
948
+ },
898
949
  "respondedAtMs": {
899
950
  "nullable": true,
900
951
  "type": {
@@ -971,6 +1022,9 @@
971
1022
  "payload": {
972
1023
  "column": "payload"
973
1024
  },
1025
+ "publishToQa": {
1026
+ "column": "publishToQa"
1027
+ },
974
1028
  "respondedAtMs": {
975
1029
  "column": "respondedAtMs"
976
1030
  },
@@ -3414,6 +3468,177 @@
3414
3468
  "table": "delegateRecord"
3415
3469
  }
3416
3470
  },
3471
+ "Dispute": {
3472
+ "fields": {
3473
+ "createdAt": {
3474
+ "nullable": false,
3475
+ "type": {
3476
+ "codecId": "pg/timestamptz-string@1",
3477
+ "kind": "scalar"
3478
+ }
3479
+ },
3480
+ "createdAtMs": {
3481
+ "nullable": false,
3482
+ "type": {
3483
+ "codecId": "pg/int8@1",
3484
+ "kind": "scalar"
3485
+ }
3486
+ },
3487
+ "evidenceRefs": {
3488
+ "nullable": false,
3489
+ "type": {
3490
+ "codecId": "pg/json@1",
3491
+ "kind": "scalar"
3492
+ }
3493
+ },
3494
+ "id": {
3495
+ "nullable": false,
3496
+ "type": {
3497
+ "codecId": "pg/text@1",
3498
+ "kind": "scalar"
3499
+ }
3500
+ },
3501
+ "payload": {
3502
+ "nullable": false,
3503
+ "type": {
3504
+ "codecId": "pg/json@1",
3505
+ "kind": "scalar"
3506
+ }
3507
+ },
3508
+ "raisedBy": {
3509
+ "nullable": false,
3510
+ "type": {
3511
+ "codecId": "pg/text@1",
3512
+ "kind": "scalar"
3513
+ }
3514
+ },
3515
+ "reason": {
3516
+ "nullable": false,
3517
+ "type": {
3518
+ "codecId": "pg/text@1",
3519
+ "kind": "scalar"
3520
+ }
3521
+ },
3522
+ "resolution": {
3523
+ "nullable": true,
3524
+ "type": {
3525
+ "codecId": "pg/text@1",
3526
+ "kind": "scalar"
3527
+ }
3528
+ },
3529
+ "resolvedAtMs": {
3530
+ "nullable": true,
3531
+ "type": {
3532
+ "codecId": "pg/int8@1",
3533
+ "kind": "scalar"
3534
+ }
3535
+ },
3536
+ "resolvedBy": {
3537
+ "nullable": true,
3538
+ "type": {
3539
+ "codecId": "pg/text@1",
3540
+ "kind": "scalar"
3541
+ }
3542
+ },
3543
+ "resolverRef": {
3544
+ "nullable": true,
3545
+ "type": {
3546
+ "codecId": "pg/text@1",
3547
+ "kind": "scalar"
3548
+ }
3549
+ },
3550
+ "splitAmounts": {
3551
+ "nullable": true,
3552
+ "type": {
3553
+ "codecId": "pg/json@1",
3554
+ "kind": "scalar"
3555
+ }
3556
+ },
3557
+ "status": {
3558
+ "nullable": false,
3559
+ "type": {
3560
+ "codecId": "pg/text@1",
3561
+ "kind": "scalar"
3562
+ }
3563
+ },
3564
+ "subjectRef": {
3565
+ "nullable": false,
3566
+ "type": {
3567
+ "codecId": "pg/text@1",
3568
+ "kind": "scalar"
3569
+ }
3570
+ },
3571
+ "subjectType": {
3572
+ "nullable": false,
3573
+ "type": {
3574
+ "codecId": "pg/text@1",
3575
+ "kind": "scalar"
3576
+ }
3577
+ },
3578
+ "updatedAt": {
3579
+ "nullable": false,
3580
+ "type": {
3581
+ "codecId": "pg/timestamptz-string@1",
3582
+ "kind": "scalar"
3583
+ }
3584
+ }
3585
+ },
3586
+ "relations": {},
3587
+ "storage": {
3588
+ "fields": {
3589
+ "createdAt": {
3590
+ "column": "createdAt"
3591
+ },
3592
+ "createdAtMs": {
3593
+ "column": "createdAtMs"
3594
+ },
3595
+ "evidenceRefs": {
3596
+ "column": "evidenceRefs"
3597
+ },
3598
+ "id": {
3599
+ "column": "id"
3600
+ },
3601
+ "payload": {
3602
+ "column": "payload"
3603
+ },
3604
+ "raisedBy": {
3605
+ "column": "raisedBy"
3606
+ },
3607
+ "reason": {
3608
+ "column": "reason"
3609
+ },
3610
+ "resolution": {
3611
+ "column": "resolution"
3612
+ },
3613
+ "resolvedAtMs": {
3614
+ "column": "resolvedAtMs"
3615
+ },
3616
+ "resolvedBy": {
3617
+ "column": "resolvedBy"
3618
+ },
3619
+ "resolverRef": {
3620
+ "column": "resolverRef"
3621
+ },
3622
+ "splitAmounts": {
3623
+ "column": "splitAmounts"
3624
+ },
3625
+ "status": {
3626
+ "column": "status"
3627
+ },
3628
+ "subjectRef": {
3629
+ "column": "subjectRef"
3630
+ },
3631
+ "subjectType": {
3632
+ "column": "subjectType"
3633
+ },
3634
+ "updatedAt": {
3635
+ "column": "updatedAt"
3636
+ }
3637
+ },
3638
+ "namespaceId": "public",
3639
+ "table": "dispute"
3640
+ }
3641
+ },
3417
3642
  "EaasAnchor": {
3418
3643
  "fields": {
3419
3644
  "artifactHash": {
@@ -4808,12 +5033,19 @@
4808
5033
  "table": "marketplaceService"
4809
5034
  }
4810
5035
  },
4811
- "PassportOwner": {
5036
+ "Milestone": {
4812
5037
  "fields": {
4813
- "blockNumber": {
5038
+ "acceptanceCriteria": {
5039
+ "nullable": true,
5040
+ "type": {
5041
+ "codecId": "pg/text@1",
5042
+ "kind": "scalar"
5043
+ }
5044
+ },
5045
+ "amountUsd": {
4814
5046
  "nullable": false,
4815
5047
  "type": {
4816
- "codecId": "pg/int8@1",
5048
+ "codecId": "pg/numeric@1",
4817
5049
  "kind": "scalar"
4818
5050
  }
4819
5051
  },
@@ -4824,21 +5056,28 @@
4824
5056
  "kind": "scalar"
4825
5057
  }
4826
5058
  },
4827
- "logIndex": {
5059
+ "dueAtMs": {
4828
5060
  "nullable": true,
4829
5061
  "type": {
4830
- "codecId": "pg/int4@1",
5062
+ "codecId": "pg/int8@1",
4831
5063
  "kind": "scalar"
4832
5064
  }
4833
5065
  },
4834
- "owner": {
5066
+ "escrowRef": {
5067
+ "nullable": true,
5068
+ "type": {
5069
+ "codecId": "pg/text@1",
5070
+ "kind": "scalar"
5071
+ }
5072
+ },
5073
+ "id": {
4835
5074
  "nullable": false,
4836
5075
  "type": {
4837
5076
  "codecId": "pg/text@1",
4838
5077
  "kind": "scalar"
4839
5078
  }
4840
5079
  },
4841
- "passportId": {
5080
+ "milestoneId": {
4842
5081
  "nullable": false,
4843
5082
  "type": {
4844
5083
  "codecId": "pg/text@1",
@@ -4852,56 +5091,314 @@
4852
5091
  "kind": "scalar"
4853
5092
  }
4854
5093
  },
4855
- "updatedAt": {
5094
+ "planId": {
4856
5095
  "nullable": false,
4857
5096
  "type": {
4858
- "codecId": "pg/timestamptz-string@1",
5097
+ "codecId": "pg/text@1",
4859
5098
  "kind": "scalar"
4860
5099
  }
4861
- }
4862
- },
4863
- "relations": {},
4864
- "storage": {
4865
- "fields": {
4866
- "blockNumber": {
4867
- "column": "blockNumber"
4868
- },
4869
- "createdAt": {
4870
- "column": "createdAt"
4871
- },
4872
- "logIndex": {
4873
- "column": "logIndex"
4874
- },
4875
- "owner": {
4876
- "column": "owner"
4877
- },
4878
- "passportId": {
4879
- "column": "passportId"
4880
- },
4881
- "payload": {
4882
- "column": "payload"
4883
- },
4884
- "updatedAt": {
4885
- "column": "updatedAt"
4886
- }
4887
5100
  },
4888
- "namespaceId": "public",
4889
- "table": "passportOwner"
4890
- }
4891
- },
4892
- "Payment": {
4893
- "fields": {
4894
- "agentId": {
4895
- "nullable": true,
5101
+ "releasePolicy": {
5102
+ "nullable": false,
4896
5103
  "type": {
4897
5104
  "codecId": "pg/text@1",
4898
5105
  "kind": "scalar"
4899
5106
  }
4900
5107
  },
4901
- "amount": {
5108
+ "seq": {
4902
5109
  "nullable": false,
4903
5110
  "type": {
4904
- "codecId": "pg/numeric@1",
5111
+ "codecId": "pg/int4@1",
5112
+ "kind": "scalar"
5113
+ }
5114
+ },
5115
+ "status": {
5116
+ "nullable": false,
5117
+ "type": {
5118
+ "codecId": "pg/text@1",
5119
+ "kind": "scalar"
5120
+ }
5121
+ },
5122
+ "submissionRef": {
5123
+ "nullable": true,
5124
+ "type": {
5125
+ "codecId": "pg/text@1",
5126
+ "kind": "scalar"
5127
+ }
5128
+ },
5129
+ "title": {
5130
+ "nullable": false,
5131
+ "type": {
5132
+ "codecId": "pg/text@1",
5133
+ "kind": "scalar"
5134
+ }
5135
+ },
5136
+ "updatedAt": {
5137
+ "nullable": false,
5138
+ "type": {
5139
+ "codecId": "pg/timestamptz-string@1",
5140
+ "kind": "scalar"
5141
+ }
5142
+ }
5143
+ },
5144
+ "relations": {},
5145
+ "storage": {
5146
+ "fields": {
5147
+ "acceptanceCriteria": {
5148
+ "column": "acceptanceCriteria"
5149
+ },
5150
+ "amountUsd": {
5151
+ "column": "amountUsd"
5152
+ },
5153
+ "createdAt": {
5154
+ "column": "createdAt"
5155
+ },
5156
+ "dueAtMs": {
5157
+ "column": "dueAtMs"
5158
+ },
5159
+ "escrowRef": {
5160
+ "column": "escrowRef"
5161
+ },
5162
+ "id": {
5163
+ "column": "id"
5164
+ },
5165
+ "milestoneId": {
5166
+ "column": "milestoneId"
5167
+ },
5168
+ "payload": {
5169
+ "column": "payload"
5170
+ },
5171
+ "planId": {
5172
+ "column": "planId"
5173
+ },
5174
+ "releasePolicy": {
5175
+ "column": "releasePolicy"
5176
+ },
5177
+ "seq": {
5178
+ "column": "seq"
5179
+ },
5180
+ "status": {
5181
+ "column": "status"
5182
+ },
5183
+ "submissionRef": {
5184
+ "column": "submissionRef"
5185
+ },
5186
+ "title": {
5187
+ "column": "title"
5188
+ },
5189
+ "updatedAt": {
5190
+ "column": "updatedAt"
5191
+ }
5192
+ },
5193
+ "namespaceId": "public",
5194
+ "table": "milestone"
5195
+ }
5196
+ },
5197
+ "MilestonePlan": {
5198
+ "fields": {
5199
+ "agreementRef": {
5200
+ "nullable": false,
5201
+ "type": {
5202
+ "codecId": "pg/text@1",
5203
+ "kind": "scalar"
5204
+ }
5205
+ },
5206
+ "buyerWallet": {
5207
+ "nullable": false,
5208
+ "type": {
5209
+ "codecId": "pg/text@1",
5210
+ "kind": "scalar"
5211
+ }
5212
+ },
5213
+ "createdAt": {
5214
+ "nullable": false,
5215
+ "type": {
5216
+ "codecId": "pg/timestamptz-string@1",
5217
+ "kind": "scalar"
5218
+ }
5219
+ },
5220
+ "currency": {
5221
+ "nullable": false,
5222
+ "type": {
5223
+ "codecId": "pg/text@1",
5224
+ "kind": "scalar"
5225
+ }
5226
+ },
5227
+ "id": {
5228
+ "nullable": false,
5229
+ "type": {
5230
+ "codecId": "pg/text@1",
5231
+ "kind": "scalar"
5232
+ }
5233
+ },
5234
+ "payload": {
5235
+ "nullable": false,
5236
+ "type": {
5237
+ "codecId": "pg/json@1",
5238
+ "kind": "scalar"
5239
+ }
5240
+ },
5241
+ "providerWallet": {
5242
+ "nullable": false,
5243
+ "type": {
5244
+ "codecId": "pg/text@1",
5245
+ "kind": "scalar"
5246
+ }
5247
+ },
5248
+ "status": {
5249
+ "nullable": false,
5250
+ "type": {
5251
+ "codecId": "pg/text@1",
5252
+ "kind": "scalar"
5253
+ }
5254
+ },
5255
+ "totalUsd": {
5256
+ "nullable": false,
5257
+ "type": {
5258
+ "codecId": "pg/numeric@1",
5259
+ "kind": "scalar"
5260
+ }
5261
+ },
5262
+ "updatedAt": {
5263
+ "nullable": false,
5264
+ "type": {
5265
+ "codecId": "pg/timestamptz-string@1",
5266
+ "kind": "scalar"
5267
+ }
5268
+ }
5269
+ },
5270
+ "relations": {},
5271
+ "storage": {
5272
+ "fields": {
5273
+ "agreementRef": {
5274
+ "column": "agreementRef"
5275
+ },
5276
+ "buyerWallet": {
5277
+ "column": "buyerWallet"
5278
+ },
5279
+ "createdAt": {
5280
+ "column": "createdAt"
5281
+ },
5282
+ "currency": {
5283
+ "column": "currency"
5284
+ },
5285
+ "id": {
5286
+ "column": "id"
5287
+ },
5288
+ "payload": {
5289
+ "column": "payload"
5290
+ },
5291
+ "providerWallet": {
5292
+ "column": "providerWallet"
5293
+ },
5294
+ "status": {
5295
+ "column": "status"
5296
+ },
5297
+ "totalUsd": {
5298
+ "column": "totalUsd"
5299
+ },
5300
+ "updatedAt": {
5301
+ "column": "updatedAt"
5302
+ }
5303
+ },
5304
+ "namespaceId": "public",
5305
+ "table": "milestonePlan"
5306
+ }
5307
+ },
5308
+ "PassportOwner": {
5309
+ "fields": {
5310
+ "blockNumber": {
5311
+ "nullable": false,
5312
+ "type": {
5313
+ "codecId": "pg/int8@1",
5314
+ "kind": "scalar"
5315
+ }
5316
+ },
5317
+ "createdAt": {
5318
+ "nullable": false,
5319
+ "type": {
5320
+ "codecId": "pg/timestamptz-string@1",
5321
+ "kind": "scalar"
5322
+ }
5323
+ },
5324
+ "logIndex": {
5325
+ "nullable": true,
5326
+ "type": {
5327
+ "codecId": "pg/int4@1",
5328
+ "kind": "scalar"
5329
+ }
5330
+ },
5331
+ "owner": {
5332
+ "nullable": false,
5333
+ "type": {
5334
+ "codecId": "pg/text@1",
5335
+ "kind": "scalar"
5336
+ }
5337
+ },
5338
+ "passportId": {
5339
+ "nullable": false,
5340
+ "type": {
5341
+ "codecId": "pg/text@1",
5342
+ "kind": "scalar"
5343
+ }
5344
+ },
5345
+ "payload": {
5346
+ "nullable": false,
5347
+ "type": {
5348
+ "codecId": "pg/json@1",
5349
+ "kind": "scalar"
5350
+ }
5351
+ },
5352
+ "updatedAt": {
5353
+ "nullable": false,
5354
+ "type": {
5355
+ "codecId": "pg/timestamptz-string@1",
5356
+ "kind": "scalar"
5357
+ }
5358
+ }
5359
+ },
5360
+ "relations": {},
5361
+ "storage": {
5362
+ "fields": {
5363
+ "blockNumber": {
5364
+ "column": "blockNumber"
5365
+ },
5366
+ "createdAt": {
5367
+ "column": "createdAt"
5368
+ },
5369
+ "logIndex": {
5370
+ "column": "logIndex"
5371
+ },
5372
+ "owner": {
5373
+ "column": "owner"
5374
+ },
5375
+ "passportId": {
5376
+ "column": "passportId"
5377
+ },
5378
+ "payload": {
5379
+ "column": "payload"
5380
+ },
5381
+ "updatedAt": {
5382
+ "column": "updatedAt"
5383
+ }
5384
+ },
5385
+ "namespaceId": "public",
5386
+ "table": "passportOwner"
5387
+ }
5388
+ },
5389
+ "Payment": {
5390
+ "fields": {
5391
+ "agentId": {
5392
+ "nullable": true,
5393
+ "type": {
5394
+ "codecId": "pg/text@1",
5395
+ "kind": "scalar"
5396
+ }
5397
+ },
5398
+ "amount": {
5399
+ "nullable": false,
5400
+ "type": {
5401
+ "codecId": "pg/numeric@1",
4905
5402
  "kind": "scalar"
4906
5403
  }
4907
5404
  },
@@ -5581,41 +6078,293 @@
5581
6078
  }
5582
6079
  },
5583
6080
  "namespaceId": "public",
5584
- "table": "paymentPrice"
6081
+ "table": "paymentPrice"
6082
+ }
6083
+ },
6084
+ "PaymentProduct": {
6085
+ "fields": {
6086
+ "active": {
6087
+ "nullable": false,
6088
+ "type": {
6089
+ "codecId": "pg/bool@1",
6090
+ "kind": "scalar"
6091
+ }
6092
+ },
6093
+ "category": {
6094
+ "nullable": false,
6095
+ "type": {
6096
+ "codecId": "pg/text@1",
6097
+ "kind": "scalar"
6098
+ }
6099
+ },
6100
+ "code": {
6101
+ "nullable": false,
6102
+ "type": {
6103
+ "codecId": "pg/text@1",
6104
+ "kind": "scalar"
6105
+ }
6106
+ },
6107
+ "createdAt": {
6108
+ "nullable": false,
6109
+ "type": {
6110
+ "codecId": "pg/timestamptz-string@1",
6111
+ "kind": "scalar"
6112
+ }
6113
+ },
6114
+ "description": {
6115
+ "nullable": true,
6116
+ "type": {
6117
+ "codecId": "pg/text@1",
6118
+ "kind": "scalar"
6119
+ }
6120
+ },
6121
+ "id": {
6122
+ "nullable": false,
6123
+ "type": {
6124
+ "codecId": "pg/text@1",
6125
+ "kind": "scalar"
6126
+ }
6127
+ },
6128
+ "name": {
6129
+ "nullable": false,
6130
+ "type": {
6131
+ "codecId": "pg/text@1",
6132
+ "kind": "scalar"
6133
+ }
6134
+ },
6135
+ "payload": {
6136
+ "nullable": false,
6137
+ "type": {
6138
+ "codecId": "pg/json@1",
6139
+ "kind": "scalar"
6140
+ }
6141
+ },
6142
+ "updatedAt": {
6143
+ "nullable": false,
6144
+ "type": {
6145
+ "codecId": "pg/timestamptz-string@1",
6146
+ "kind": "scalar"
6147
+ }
6148
+ }
6149
+ },
6150
+ "relations": {},
6151
+ "storage": {
6152
+ "fields": {
6153
+ "active": {
6154
+ "column": "active"
6155
+ },
6156
+ "category": {
6157
+ "column": "category"
6158
+ },
6159
+ "code": {
6160
+ "column": "code"
6161
+ },
6162
+ "createdAt": {
6163
+ "column": "createdAt"
6164
+ },
6165
+ "description": {
6166
+ "column": "description"
6167
+ },
6168
+ "id": {
6169
+ "column": "id"
6170
+ },
6171
+ "name": {
6172
+ "column": "name"
6173
+ },
6174
+ "payload": {
6175
+ "column": "payload"
6176
+ },
6177
+ "updatedAt": {
6178
+ "column": "updatedAt"
6179
+ }
6180
+ },
6181
+ "namespaceId": "public",
6182
+ "table": "paymentProduct"
6183
+ }
6184
+ },
6185
+ "PaymentReceipt": {
6186
+ "fields": {
6187
+ "amount": {
6188
+ "nullable": false,
6189
+ "type": {
6190
+ "codecId": "pg/numeric@1",
6191
+ "kind": "scalar"
6192
+ }
6193
+ },
6194
+ "asset": {
6195
+ "nullable": false,
6196
+ "type": {
6197
+ "codecId": "pg/text@1",
6198
+ "kind": "scalar"
6199
+ }
6200
+ },
6201
+ "attemptId": {
6202
+ "nullable": false,
6203
+ "type": {
6204
+ "codecId": "pg/text@1",
6205
+ "kind": "scalar"
6206
+ }
6207
+ },
6208
+ "createdAt": {
6209
+ "nullable": false,
6210
+ "type": {
6211
+ "codecId": "pg/timestamptz-string@1",
6212
+ "kind": "scalar"
6213
+ }
6214
+ },
6215
+ "externalReference": {
6216
+ "nullable": false,
6217
+ "type": {
6218
+ "codecId": "pg/text@1",
6219
+ "kind": "scalar"
6220
+ }
6221
+ },
6222
+ "id": {
6223
+ "nullable": false,
6224
+ "type": {
6225
+ "codecId": "pg/text@1",
6226
+ "kind": "scalar"
6227
+ }
6228
+ },
6229
+ "network": {
6230
+ "nullable": true,
6231
+ "type": {
6232
+ "codecId": "pg/text@1",
6233
+ "kind": "scalar"
6234
+ }
6235
+ },
6236
+ "payer": {
6237
+ "nullable": true,
6238
+ "type": {
6239
+ "codecId": "pg/text@1",
6240
+ "kind": "scalar"
6241
+ }
6242
+ },
6243
+ "payload": {
6244
+ "nullable": false,
6245
+ "type": {
6246
+ "codecId": "pg/json@1",
6247
+ "kind": "scalar"
6248
+ }
6249
+ },
6250
+ "paymentId": {
6251
+ "nullable": false,
6252
+ "type": {
6253
+ "codecId": "pg/text@1",
6254
+ "kind": "scalar"
6255
+ }
6256
+ },
6257
+ "provider": {
6258
+ "nullable": false,
6259
+ "type": {
6260
+ "codecId": "pg/text@1",
6261
+ "kind": "scalar"
6262
+ }
6263
+ },
6264
+ "recipient": {
6265
+ "nullable": true,
6266
+ "type": {
6267
+ "codecId": "pg/text@1",
6268
+ "kind": "scalar"
6269
+ }
6270
+ },
6271
+ "transactionHash": {
6272
+ "nullable": true,
6273
+ "type": {
6274
+ "codecId": "pg/text@1",
6275
+ "kind": "scalar"
6276
+ }
6277
+ },
6278
+ "verifiedAtMs": {
6279
+ "nullable": false,
6280
+ "type": {
6281
+ "codecId": "pg/int8@1",
6282
+ "kind": "scalar"
6283
+ }
6284
+ }
6285
+ },
6286
+ "relations": {},
6287
+ "storage": {
6288
+ "fields": {
6289
+ "amount": {
6290
+ "column": "amount"
6291
+ },
6292
+ "asset": {
6293
+ "column": "asset"
6294
+ },
6295
+ "attemptId": {
6296
+ "column": "attemptId"
6297
+ },
6298
+ "createdAt": {
6299
+ "column": "createdAt"
6300
+ },
6301
+ "externalReference": {
6302
+ "column": "externalReference"
6303
+ },
6304
+ "id": {
6305
+ "column": "id"
6306
+ },
6307
+ "network": {
6308
+ "column": "network"
6309
+ },
6310
+ "payer": {
6311
+ "column": "payer"
6312
+ },
6313
+ "payload": {
6314
+ "column": "payload"
6315
+ },
6316
+ "paymentId": {
6317
+ "column": "paymentId"
6318
+ },
6319
+ "provider": {
6320
+ "column": "provider"
6321
+ },
6322
+ "recipient": {
6323
+ "column": "recipient"
6324
+ },
6325
+ "transactionHash": {
6326
+ "column": "transactionHash"
6327
+ },
6328
+ "verifiedAtMs": {
6329
+ "column": "verifiedAtMs"
6330
+ }
6331
+ },
6332
+ "namespaceId": "public",
6333
+ "table": "paymentReceipt"
5585
6334
  }
5586
6335
  },
5587
- "PaymentProduct": {
6336
+ "PayoutIntent": {
5588
6337
  "fields": {
5589
- "active": {
5590
- "nullable": false,
6338
+ "completedAtMs": {
6339
+ "nullable": true,
5591
6340
  "type": {
5592
- "codecId": "pg/bool@1",
6341
+ "codecId": "pg/int8@1",
5593
6342
  "kind": "scalar"
5594
6343
  }
5595
6344
  },
5596
- "category": {
5597
- "nullable": false,
6345
+ "completedBy": {
6346
+ "nullable": true,
5598
6347
  "type": {
5599
6348
  "codecId": "pg/text@1",
5600
6349
  "kind": "scalar"
5601
6350
  }
5602
6351
  },
5603
- "code": {
6352
+ "createdAt": {
5604
6353
  "nullable": false,
5605
6354
  "type": {
5606
- "codecId": "pg/text@1",
6355
+ "codecId": "pg/timestamptz-string@1",
5607
6356
  "kind": "scalar"
5608
6357
  }
5609
6358
  },
5610
- "createdAt": {
6359
+ "createdAtMs": {
5611
6360
  "nullable": false,
5612
6361
  "type": {
5613
- "codecId": "pg/timestamptz-string@1",
6362
+ "codecId": "pg/int8@1",
5614
6363
  "kind": "scalar"
5615
6364
  }
5616
6365
  },
5617
- "description": {
5618
- "nullable": true,
6366
+ "executor": {
6367
+ "nullable": false,
5619
6368
  "type": {
5620
6369
  "codecId": "pg/text@1",
5621
6370
  "kind": "scalar"
@@ -5628,7 +6377,7 @@
5628
6377
  "kind": "scalar"
5629
6378
  }
5630
6379
  },
5631
- "name": {
6380
+ "milestoneRef": {
5632
6381
  "nullable": false,
5633
6382
  "type": {
5634
6383
  "codecId": "pg/text@1",
@@ -5642,6 +6391,13 @@
5642
6391
  "kind": "scalar"
5643
6392
  }
5644
6393
  },
6394
+ "status": {
6395
+ "nullable": false,
6396
+ "type": {
6397
+ "codecId": "pg/text@1",
6398
+ "kind": "scalar"
6399
+ }
6400
+ },
5645
6401
  "updatedAt": {
5646
6402
  "nullable": false,
5647
6403
  "type": {
@@ -5653,56 +6409,59 @@
5653
6409
  "relations": {},
5654
6410
  "storage": {
5655
6411
  "fields": {
5656
- "active": {
5657
- "column": "active"
5658
- },
5659
- "category": {
5660
- "column": "category"
6412
+ "completedAtMs": {
6413
+ "column": "completedAtMs"
5661
6414
  },
5662
- "code": {
5663
- "column": "code"
6415
+ "completedBy": {
6416
+ "column": "completedBy"
5664
6417
  },
5665
6418
  "createdAt": {
5666
6419
  "column": "createdAt"
5667
6420
  },
5668
- "description": {
5669
- "column": "description"
6421
+ "createdAtMs": {
6422
+ "column": "createdAtMs"
6423
+ },
6424
+ "executor": {
6425
+ "column": "executor"
5670
6426
  },
5671
6427
  "id": {
5672
6428
  "column": "id"
5673
6429
  },
5674
- "name": {
5675
- "column": "name"
6430
+ "milestoneRef": {
6431
+ "column": "milestoneRef"
5676
6432
  },
5677
6433
  "payload": {
5678
6434
  "column": "payload"
5679
6435
  },
6436
+ "status": {
6437
+ "column": "status"
6438
+ },
5680
6439
  "updatedAt": {
5681
6440
  "column": "updatedAt"
5682
6441
  }
5683
6442
  },
5684
6443
  "namespaceId": "public",
5685
- "table": "paymentProduct"
6444
+ "table": "payoutIntent"
5686
6445
  }
5687
6446
  },
5688
- "PaymentReceipt": {
6447
+ "PayoutLeg": {
5689
6448
  "fields": {
5690
- "amount": {
6449
+ "amountUsdc": {
5691
6450
  "nullable": false,
5692
6451
  "type": {
5693
6452
  "codecId": "pg/numeric@1",
5694
6453
  "kind": "scalar"
5695
6454
  }
5696
6455
  },
5697
- "asset": {
5698
- "nullable": false,
6456
+ "completedAtMs": {
6457
+ "nullable": true,
5699
6458
  "type": {
5700
- "codecId": "pg/text@1",
6459
+ "codecId": "pg/int8@1",
5701
6460
  "kind": "scalar"
5702
6461
  }
5703
6462
  },
5704
- "attemptId": {
5705
- "nullable": false,
6463
+ "completedBy": {
6464
+ "nullable": true,
5706
6465
  "type": {
5707
6466
  "codecId": "pg/text@1",
5708
6467
  "kind": "scalar"
@@ -5715,14 +6474,14 @@
5715
6474
  "kind": "scalar"
5716
6475
  }
5717
6476
  },
5718
- "externalReference": {
6477
+ "id": {
5719
6478
  "nullable": false,
5720
6479
  "type": {
5721
6480
  "codecId": "pg/text@1",
5722
6481
  "kind": "scalar"
5723
6482
  }
5724
6483
  },
5725
- "id": {
6484
+ "intentId": {
5726
6485
  "nullable": false,
5727
6486
  "type": {
5728
6487
  "codecId": "pg/text@1",
@@ -5730,14 +6489,14 @@
5730
6489
  }
5731
6490
  },
5732
6491
  "network": {
5733
- "nullable": true,
6492
+ "nullable": false,
5734
6493
  "type": {
5735
6494
  "codecId": "pg/text@1",
5736
6495
  "kind": "scalar"
5737
6496
  }
5738
6497
  },
5739
- "payer": {
5740
- "nullable": true,
6498
+ "payee": {
6499
+ "nullable": false,
5741
6500
  "type": {
5742
6501
  "codecId": "pg/text@1",
5743
6502
  "kind": "scalar"
@@ -5750,38 +6509,31 @@
5750
6509
  "kind": "scalar"
5751
6510
  }
5752
6511
  },
5753
- "paymentId": {
6512
+ "role": {
5754
6513
  "nullable": false,
5755
6514
  "type": {
5756
6515
  "codecId": "pg/text@1",
5757
6516
  "kind": "scalar"
5758
6517
  }
5759
6518
  },
5760
- "provider": {
6519
+ "status": {
5761
6520
  "nullable": false,
5762
6521
  "type": {
5763
6522
  "codecId": "pg/text@1",
5764
6523
  "kind": "scalar"
5765
6524
  }
5766
6525
  },
5767
- "recipient": {
5768
- "nullable": true,
5769
- "type": {
5770
- "codecId": "pg/text@1",
5771
- "kind": "scalar"
5772
- }
5773
- },
5774
- "transactionHash": {
6526
+ "txHash": {
5775
6527
  "nullable": true,
5776
6528
  "type": {
5777
6529
  "codecId": "pg/text@1",
5778
6530
  "kind": "scalar"
5779
6531
  }
5780
6532
  },
5781
- "verifiedAtMs": {
6533
+ "updatedAt": {
5782
6534
  "nullable": false,
5783
6535
  "type": {
5784
- "codecId": "pg/int8@1",
6536
+ "codecId": "pg/timestamptz-string@1",
5785
6537
  "kind": "scalar"
5786
6538
  }
5787
6539
  }
@@ -5789,51 +6541,48 @@
5789
6541
  "relations": {},
5790
6542
  "storage": {
5791
6543
  "fields": {
5792
- "amount": {
5793
- "column": "amount"
6544
+ "amountUsdc": {
6545
+ "column": "amountUsdc"
5794
6546
  },
5795
- "asset": {
5796
- "column": "asset"
6547
+ "completedAtMs": {
6548
+ "column": "completedAtMs"
5797
6549
  },
5798
- "attemptId": {
5799
- "column": "attemptId"
6550
+ "completedBy": {
6551
+ "column": "completedBy"
5800
6552
  },
5801
6553
  "createdAt": {
5802
6554
  "column": "createdAt"
5803
6555
  },
5804
- "externalReference": {
5805
- "column": "externalReference"
5806
- },
5807
6556
  "id": {
5808
6557
  "column": "id"
5809
6558
  },
6559
+ "intentId": {
6560
+ "column": "intentId"
6561
+ },
5810
6562
  "network": {
5811
6563
  "column": "network"
5812
6564
  },
5813
- "payer": {
5814
- "column": "payer"
6565
+ "payee": {
6566
+ "column": "payee"
5815
6567
  },
5816
6568
  "payload": {
5817
6569
  "column": "payload"
5818
6570
  },
5819
- "paymentId": {
5820
- "column": "paymentId"
5821
- },
5822
- "provider": {
5823
- "column": "provider"
6571
+ "role": {
6572
+ "column": "role"
5824
6573
  },
5825
- "recipient": {
5826
- "column": "recipient"
6574
+ "status": {
6575
+ "column": "status"
5827
6576
  },
5828
- "transactionHash": {
5829
- "column": "transactionHash"
6577
+ "txHash": {
6578
+ "column": "txHash"
5830
6579
  },
5831
- "verifiedAtMs": {
5832
- "column": "verifiedAtMs"
6580
+ "updatedAt": {
6581
+ "column": "updatedAt"
5833
6582
  }
5834
6583
  },
5835
6584
  "namespaceId": "public",
5836
- "table": "paymentReceipt"
6585
+ "table": "payoutLeg"
5837
6586
  }
5838
6587
  },
5839
6588
  "ReconciliationException": {
@@ -6612,6 +7361,137 @@
6612
7361
  "table": "scanResult"
6613
7362
  }
6614
7363
  },
7364
+ "SettlementAnchor": {
7365
+ "fields": {
7366
+ "anchoredAtMs": {
7367
+ "nullable": true,
7368
+ "type": {
7369
+ "codecId": "pg/int8@1",
7370
+ "kind": "scalar"
7371
+ }
7372
+ },
7373
+ "attempts": {
7374
+ "nullable": false,
7375
+ "type": {
7376
+ "codecId": "pg/int4@1",
7377
+ "kind": "scalar"
7378
+ }
7379
+ },
7380
+ "chainId": {
7381
+ "nullable": false,
7382
+ "type": {
7383
+ "codecId": "pg/text@1",
7384
+ "kind": "scalar"
7385
+ }
7386
+ },
7387
+ "createdAt": {
7388
+ "nullable": false,
7389
+ "type": {
7390
+ "codecId": "pg/timestamptz-string@1",
7391
+ "kind": "scalar"
7392
+ }
7393
+ },
7394
+ "id": {
7395
+ "nullable": false,
7396
+ "type": {
7397
+ "codecId": "pg/text@1",
7398
+ "kind": "scalar"
7399
+ }
7400
+ },
7401
+ "lastError": {
7402
+ "nullable": true,
7403
+ "type": {
7404
+ "codecId": "pg/text@1",
7405
+ "kind": "scalar"
7406
+ }
7407
+ },
7408
+ "payload": {
7409
+ "nullable": false,
7410
+ "type": {
7411
+ "codecId": "pg/json@1",
7412
+ "kind": "scalar"
7413
+ }
7414
+ },
7415
+ "receiptHash": {
7416
+ "nullable": false,
7417
+ "type": {
7418
+ "codecId": "pg/text@1",
7419
+ "kind": "scalar"
7420
+ }
7421
+ },
7422
+ "receiptRef": {
7423
+ "nullable": false,
7424
+ "type": {
7425
+ "codecId": "pg/text@1",
7426
+ "kind": "scalar"
7427
+ }
7428
+ },
7429
+ "status": {
7430
+ "nullable": false,
7431
+ "type": {
7432
+ "codecId": "pg/text@1",
7433
+ "kind": "scalar"
7434
+ }
7435
+ },
7436
+ "txHash": {
7437
+ "nullable": true,
7438
+ "type": {
7439
+ "codecId": "pg/text@1",
7440
+ "kind": "scalar"
7441
+ }
7442
+ },
7443
+ "updatedAt": {
7444
+ "nullable": false,
7445
+ "type": {
7446
+ "codecId": "pg/timestamptz-string@1",
7447
+ "kind": "scalar"
7448
+ }
7449
+ }
7450
+ },
7451
+ "relations": {},
7452
+ "storage": {
7453
+ "fields": {
7454
+ "anchoredAtMs": {
7455
+ "column": "anchoredAtMs"
7456
+ },
7457
+ "attempts": {
7458
+ "column": "attempts"
7459
+ },
7460
+ "chainId": {
7461
+ "column": "chainId"
7462
+ },
7463
+ "createdAt": {
7464
+ "column": "createdAt"
7465
+ },
7466
+ "id": {
7467
+ "column": "id"
7468
+ },
7469
+ "lastError": {
7470
+ "column": "lastError"
7471
+ },
7472
+ "payload": {
7473
+ "column": "payload"
7474
+ },
7475
+ "receiptHash": {
7476
+ "column": "receiptHash"
7477
+ },
7478
+ "receiptRef": {
7479
+ "column": "receiptRef"
7480
+ },
7481
+ "status": {
7482
+ "column": "status"
7483
+ },
7484
+ "txHash": {
7485
+ "column": "txHash"
7486
+ },
7487
+ "updatedAt": {
7488
+ "column": "updatedAt"
7489
+ }
7490
+ },
7491
+ "namespaceId": "public",
7492
+ "table": "settlementAnchor"
7493
+ }
7494
+ },
6615
7495
  "SpendApproval": {
6616
7496
  "fields": {
6617
7497
  "amountUsd": {
@@ -7825,6 +8705,16 @@
7825
8705
  "nativeType": "json",
7826
8706
  "nullable": false
7827
8707
  },
8708
+ "retractReason": {
8709
+ "codecId": "pg/text@1",
8710
+ "nativeType": "text",
8711
+ "nullable": true
8712
+ },
8713
+ "retractedAtMs": {
8714
+ "codecId": "pg/int8@1",
8715
+ "nativeType": "int8",
8716
+ "nullable": true
8717
+ },
7828
8718
  "sourceRequestId": {
7829
8719
  "codecId": "pg/text@1",
7830
8720
  "nativeType": "text",
@@ -7933,6 +8823,15 @@
7933
8823
  "nativeType": "json",
7934
8824
  "nullable": true
7935
8825
  },
8826
+ "publishToQa": {
8827
+ "codecId": "pg/bool@1",
8828
+ "default": {
8829
+ "kind": "literal",
8830
+ "value": false
8831
+ },
8832
+ "nativeType": "bool",
8833
+ "nullable": false
8834
+ },
7936
8835
  "respondedAtMs": {
7937
8836
  "codecId": "pg/int8@1",
7938
8837
  "nativeType": "int8",
@@ -9936,6 +10835,121 @@
9936
10835
  },
9937
10836
  "uniques": []
9938
10837
  },
10838
+ "dispute": {
10839
+ "columns": {
10840
+ "createdAt": {
10841
+ "codecId": "pg/timestamptz-string@1",
10842
+ "default": {
10843
+ "expression": "now()",
10844
+ "kind": "function"
10845
+ },
10846
+ "nativeType": "timestamptz",
10847
+ "nullable": false
10848
+ },
10849
+ "createdAtMs": {
10850
+ "codecId": "pg/int8@1",
10851
+ "nativeType": "int8",
10852
+ "nullable": false
10853
+ },
10854
+ "evidenceRefs": {
10855
+ "codecId": "pg/json@1",
10856
+ "nativeType": "json",
10857
+ "nullable": false
10858
+ },
10859
+ "id": {
10860
+ "codecId": "pg/text@1",
10861
+ "nativeType": "text",
10862
+ "nullable": false
10863
+ },
10864
+ "payload": {
10865
+ "codecId": "pg/json@1",
10866
+ "nativeType": "json",
10867
+ "nullable": false
10868
+ },
10869
+ "raisedBy": {
10870
+ "codecId": "pg/text@1",
10871
+ "nativeType": "text",
10872
+ "nullable": false
10873
+ },
10874
+ "reason": {
10875
+ "codecId": "pg/text@1",
10876
+ "nativeType": "text",
10877
+ "nullable": false
10878
+ },
10879
+ "resolution": {
10880
+ "codecId": "pg/text@1",
10881
+ "nativeType": "text",
10882
+ "nullable": true
10883
+ },
10884
+ "resolvedAtMs": {
10885
+ "codecId": "pg/int8@1",
10886
+ "nativeType": "int8",
10887
+ "nullable": true
10888
+ },
10889
+ "resolvedBy": {
10890
+ "codecId": "pg/text@1",
10891
+ "nativeType": "text",
10892
+ "nullable": true
10893
+ },
10894
+ "resolverRef": {
10895
+ "codecId": "pg/text@1",
10896
+ "nativeType": "text",
10897
+ "nullable": true
10898
+ },
10899
+ "splitAmounts": {
10900
+ "codecId": "pg/json@1",
10901
+ "nativeType": "json",
10902
+ "nullable": true
10903
+ },
10904
+ "status": {
10905
+ "codecId": "pg/text@1",
10906
+ "nativeType": "text",
10907
+ "nullable": false
10908
+ },
10909
+ "subjectRef": {
10910
+ "codecId": "pg/text@1",
10911
+ "nativeType": "text",
10912
+ "nullable": false
10913
+ },
10914
+ "subjectType": {
10915
+ "codecId": "pg/text@1",
10916
+ "nativeType": "text",
10917
+ "nullable": false
10918
+ },
10919
+ "updatedAt": {
10920
+ "codecId": "pg/timestamptz-string@1",
10921
+ "nativeType": "timestamptz",
10922
+ "nullable": false
10923
+ }
10924
+ },
10925
+ "foreignKeys": [],
10926
+ "indexes": [
10927
+ {
10928
+ "columns": [
10929
+ "status",
10930
+ "createdAtMs"
10931
+ ],
10932
+ "name": "dispute_status_createdAtMs_idx_95013a06",
10933
+ "prefix": "dispute_status_createdAtMs_idx",
10934
+ "unique": false
10935
+ },
10936
+ {
10937
+ "columns": [
10938
+ "subjectType",
10939
+ "subjectRef"
10940
+ ],
10941
+ "name": "dispute_subjectType_subjectRef_idx_aacae306",
10942
+ "prefix": "dispute_subjectType_subjectRef_idx",
10943
+ "unique": false
10944
+ }
10945
+ ],
10946
+ "primaryKey": {
10947
+ "columns": [
10948
+ "id"
10949
+ ]
10950
+ },
10951
+ "uniques": []
10952
+ },
9939
10953
  "eaasAnchor": {
9940
10954
  "columns": {
9941
10955
  "artifactHash": {
@@ -11016,8 +12030,170 @@
11016
12030
  },
11017
12031
  "uniques": []
11018
12032
  },
11019
- "marketplaceService": {
12033
+ "marketplaceService": {
12034
+ "columns": {
12035
+ "createdAt": {
12036
+ "codecId": "pg/timestamptz-string@1",
12037
+ "default": {
12038
+ "expression": "now()",
12039
+ "kind": "function"
12040
+ },
12041
+ "nativeType": "timestamptz",
12042
+ "nullable": false
12043
+ },
12044
+ "payload": {
12045
+ "codecId": "pg/json@1",
12046
+ "nativeType": "json",
12047
+ "nullable": false
12048
+ },
12049
+ "serviceId": {
12050
+ "codecId": "pg/text@1",
12051
+ "nativeType": "text",
12052
+ "nullable": false
12053
+ },
12054
+ "updatedAt": {
12055
+ "codecId": "pg/timestamptz-string@1",
12056
+ "nativeType": "timestamptz",
12057
+ "nullable": false
12058
+ }
12059
+ },
12060
+ "foreignKeys": [],
12061
+ "indexes": [],
12062
+ "primaryKey": {
12063
+ "columns": [
12064
+ "serviceId"
12065
+ ]
12066
+ },
12067
+ "uniques": []
12068
+ },
12069
+ "milestone": {
12070
+ "columns": {
12071
+ "acceptanceCriteria": {
12072
+ "codecId": "pg/text@1",
12073
+ "nativeType": "text",
12074
+ "nullable": true
12075
+ },
12076
+ "amountUsd": {
12077
+ "codecId": "pg/numeric@1",
12078
+ "nativeType": "numeric",
12079
+ "nullable": false
12080
+ },
12081
+ "createdAt": {
12082
+ "codecId": "pg/timestamptz-string@1",
12083
+ "default": {
12084
+ "expression": "now()",
12085
+ "kind": "function"
12086
+ },
12087
+ "nativeType": "timestamptz",
12088
+ "nullable": false
12089
+ },
12090
+ "dueAtMs": {
12091
+ "codecId": "pg/int8@1",
12092
+ "nativeType": "int8",
12093
+ "nullable": true
12094
+ },
12095
+ "escrowRef": {
12096
+ "codecId": "pg/text@1",
12097
+ "nativeType": "text",
12098
+ "nullable": true
12099
+ },
12100
+ "id": {
12101
+ "codecId": "pg/text@1",
12102
+ "nativeType": "text",
12103
+ "nullable": false
12104
+ },
12105
+ "milestoneId": {
12106
+ "codecId": "pg/text@1",
12107
+ "nativeType": "text",
12108
+ "nullable": false
12109
+ },
12110
+ "payload": {
12111
+ "codecId": "pg/json@1",
12112
+ "nativeType": "json",
12113
+ "nullable": false
12114
+ },
12115
+ "planId": {
12116
+ "codecId": "pg/text@1",
12117
+ "nativeType": "text",
12118
+ "nullable": false
12119
+ },
12120
+ "releasePolicy": {
12121
+ "codecId": "pg/text@1",
12122
+ "nativeType": "text",
12123
+ "nullable": false
12124
+ },
12125
+ "seq": {
12126
+ "codecId": "pg/int4@1",
12127
+ "nativeType": "int4",
12128
+ "nullable": false
12129
+ },
12130
+ "status": {
12131
+ "codecId": "pg/text@1",
12132
+ "nativeType": "text",
12133
+ "nullable": false
12134
+ },
12135
+ "submissionRef": {
12136
+ "codecId": "pg/text@1",
12137
+ "nativeType": "text",
12138
+ "nullable": true
12139
+ },
12140
+ "title": {
12141
+ "codecId": "pg/text@1",
12142
+ "nativeType": "text",
12143
+ "nullable": false
12144
+ },
12145
+ "updatedAt": {
12146
+ "codecId": "pg/timestamptz-string@1",
12147
+ "nativeType": "timestamptz",
12148
+ "nullable": false
12149
+ }
12150
+ },
12151
+ "foreignKeys": [],
12152
+ "indexes": [
12153
+ {
12154
+ "columns": [
12155
+ "planId",
12156
+ "seq"
12157
+ ],
12158
+ "name": "milestone_planId_seq_idx_67ae955b",
12159
+ "prefix": "milestone_planId_seq_idx",
12160
+ "unique": false
12161
+ },
12162
+ {
12163
+ "columns": [
12164
+ "status"
12165
+ ],
12166
+ "name": "milestone_status_idx_e98638ab",
12167
+ "prefix": "milestone_status_idx",
12168
+ "unique": false
12169
+ }
12170
+ ],
12171
+ "primaryKey": {
12172
+ "columns": [
12173
+ "id"
12174
+ ]
12175
+ },
12176
+ "uniques": [
12177
+ {
12178
+ "columns": [
12179
+ "planId",
12180
+ "milestoneId"
12181
+ ]
12182
+ }
12183
+ ]
12184
+ },
12185
+ "milestonePlan": {
11020
12186
  "columns": {
12187
+ "agreementRef": {
12188
+ "codecId": "pg/text@1",
12189
+ "nativeType": "text",
12190
+ "nullable": false
12191
+ },
12192
+ "buyerWallet": {
12193
+ "codecId": "pg/text@1",
12194
+ "nativeType": "text",
12195
+ "nullable": false
12196
+ },
11021
12197
  "createdAt": {
11022
12198
  "codecId": "pg/timestamptz-string@1",
11023
12199
  "default": {
@@ -11027,16 +12203,40 @@
11027
12203
  "nativeType": "timestamptz",
11028
12204
  "nullable": false
11029
12205
  },
12206
+ "currency": {
12207
+ "codecId": "pg/text@1",
12208
+ "default": {
12209
+ "kind": "literal",
12210
+ "value": "USDC"
12211
+ },
12212
+ "nativeType": "text",
12213
+ "nullable": false
12214
+ },
12215
+ "id": {
12216
+ "codecId": "pg/text@1",
12217
+ "nativeType": "text",
12218
+ "nullable": false
12219
+ },
11030
12220
  "payload": {
11031
12221
  "codecId": "pg/json@1",
11032
12222
  "nativeType": "json",
11033
12223
  "nullable": false
11034
12224
  },
11035
- "serviceId": {
12225
+ "providerWallet": {
12226
+ "codecId": "pg/text@1",
12227
+ "nativeType": "text",
12228
+ "nullable": false
12229
+ },
12230
+ "status": {
11036
12231
  "codecId": "pg/text@1",
11037
12232
  "nativeType": "text",
11038
12233
  "nullable": false
11039
12234
  },
12235
+ "totalUsd": {
12236
+ "codecId": "pg/numeric@1",
12237
+ "nativeType": "numeric",
12238
+ "nullable": false
12239
+ },
11040
12240
  "updatedAt": {
11041
12241
  "codecId": "pg/timestamptz-string@1",
11042
12242
  "nativeType": "timestamptz",
@@ -11044,13 +12244,44 @@
11044
12244
  }
11045
12245
  },
11046
12246
  "foreignKeys": [],
11047
- "indexes": [],
12247
+ "indexes": [
12248
+ {
12249
+ "columns": [
12250
+ "buyerWallet"
12251
+ ],
12252
+ "name": "milestonePlan_buyerWallet_idx_1d31fe7c",
12253
+ "prefix": "milestonePlan_buyerWallet_idx",
12254
+ "unique": false
12255
+ },
12256
+ {
12257
+ "columns": [
12258
+ "providerWallet"
12259
+ ],
12260
+ "name": "milestonePlan_providerWallet_idx_fa866d84",
12261
+ "prefix": "milestonePlan_providerWallet_idx",
12262
+ "unique": false
12263
+ },
12264
+ {
12265
+ "columns": [
12266
+ "status"
12267
+ ],
12268
+ "name": "milestonePlan_status_idx_e98638ab",
12269
+ "prefix": "milestonePlan_status_idx",
12270
+ "unique": false
12271
+ }
12272
+ ],
11048
12273
  "primaryKey": {
11049
12274
  "columns": [
11050
- "serviceId"
12275
+ "id"
11051
12276
  ]
11052
12277
  },
11053
- "uniques": []
12278
+ "uniques": [
12279
+ {
12280
+ "columns": [
12281
+ "agreementRef"
12282
+ ]
12283
+ }
12284
+ ]
11054
12285
  },
11055
12286
  "passportOwner": {
11056
12287
  "columns": {
@@ -11876,16 +13107,219 @@
11876
13107
  "columns": [
11877
13108
  "paymentId"
11878
13109
  ],
11879
- "name": "paymentReceipt_paymentId_idx_b2fe9a10",
11880
- "prefix": "paymentReceipt_paymentId_idx",
13110
+ "name": "paymentReceipt_paymentId_idx_b2fe9a10",
13111
+ "prefix": "paymentReceipt_paymentId_idx",
13112
+ "unique": false
13113
+ },
13114
+ {
13115
+ "columns": [
13116
+ "transactionHash"
13117
+ ],
13118
+ "name": "paymentReceipt_transactionHash_idx_42bd5811",
13119
+ "prefix": "paymentReceipt_transactionHash_idx",
13120
+ "unique": false
13121
+ }
13122
+ ],
13123
+ "primaryKey": {
13124
+ "columns": [
13125
+ "id"
13126
+ ]
13127
+ },
13128
+ "uniques": [
13129
+ {
13130
+ "columns": [
13131
+ "provider",
13132
+ "externalReference"
13133
+ ]
13134
+ }
13135
+ ]
13136
+ },
13137
+ "payoutIntent": {
13138
+ "columns": {
13139
+ "completedAtMs": {
13140
+ "codecId": "pg/int8@1",
13141
+ "nativeType": "int8",
13142
+ "nullable": true
13143
+ },
13144
+ "completedBy": {
13145
+ "codecId": "pg/text@1",
13146
+ "nativeType": "text",
13147
+ "nullable": true
13148
+ },
13149
+ "createdAt": {
13150
+ "codecId": "pg/timestamptz-string@1",
13151
+ "default": {
13152
+ "expression": "now()",
13153
+ "kind": "function"
13154
+ },
13155
+ "nativeType": "timestamptz",
13156
+ "nullable": false
13157
+ },
13158
+ "createdAtMs": {
13159
+ "codecId": "pg/int8@1",
13160
+ "nativeType": "int8",
13161
+ "nullable": false
13162
+ },
13163
+ "executor": {
13164
+ "codecId": "pg/text@1",
13165
+ "default": {
13166
+ "kind": "literal",
13167
+ "value": "MANUAL"
13168
+ },
13169
+ "nativeType": "text",
13170
+ "nullable": false
13171
+ },
13172
+ "id": {
13173
+ "codecId": "pg/text@1",
13174
+ "nativeType": "text",
13175
+ "nullable": false
13176
+ },
13177
+ "milestoneRef": {
13178
+ "codecId": "pg/text@1",
13179
+ "nativeType": "text",
13180
+ "nullable": false
13181
+ },
13182
+ "payload": {
13183
+ "codecId": "pg/json@1",
13184
+ "nativeType": "json",
13185
+ "nullable": false
13186
+ },
13187
+ "status": {
13188
+ "codecId": "pg/text@1",
13189
+ "nativeType": "text",
13190
+ "nullable": false
13191
+ },
13192
+ "updatedAt": {
13193
+ "codecId": "pg/timestamptz-string@1",
13194
+ "nativeType": "timestamptz",
13195
+ "nullable": false
13196
+ }
13197
+ },
13198
+ "foreignKeys": [],
13199
+ "indexes": [
13200
+ {
13201
+ "columns": [
13202
+ "status",
13203
+ "createdAtMs"
13204
+ ],
13205
+ "name": "payoutIntent_status_createdAtMs_idx_95013a06",
13206
+ "prefix": "payoutIntent_status_createdAtMs_idx",
13207
+ "unique": false
13208
+ }
13209
+ ],
13210
+ "primaryKey": {
13211
+ "columns": [
13212
+ "id"
13213
+ ]
13214
+ },
13215
+ "uniques": [
13216
+ {
13217
+ "columns": [
13218
+ "milestoneRef"
13219
+ ]
13220
+ }
13221
+ ]
13222
+ },
13223
+ "payoutLeg": {
13224
+ "columns": {
13225
+ "amountUsdc": {
13226
+ "codecId": "pg/numeric@1",
13227
+ "nativeType": "numeric",
13228
+ "nullable": false
13229
+ },
13230
+ "completedAtMs": {
13231
+ "codecId": "pg/int8@1",
13232
+ "nativeType": "int8",
13233
+ "nullable": true
13234
+ },
13235
+ "completedBy": {
13236
+ "codecId": "pg/text@1",
13237
+ "nativeType": "text",
13238
+ "nullable": true
13239
+ },
13240
+ "createdAt": {
13241
+ "codecId": "pg/timestamptz-string@1",
13242
+ "default": {
13243
+ "expression": "now()",
13244
+ "kind": "function"
13245
+ },
13246
+ "nativeType": "timestamptz",
13247
+ "nullable": false
13248
+ },
13249
+ "id": {
13250
+ "codecId": "pg/text@1",
13251
+ "nativeType": "text",
13252
+ "nullable": false
13253
+ },
13254
+ "intentId": {
13255
+ "codecId": "pg/text@1",
13256
+ "nativeType": "text",
13257
+ "nullable": false
13258
+ },
13259
+ "network": {
13260
+ "codecId": "pg/text@1",
13261
+ "default": {
13262
+ "kind": "literal",
13263
+ "value": "arc"
13264
+ },
13265
+ "nativeType": "text",
13266
+ "nullable": false
13267
+ },
13268
+ "payee": {
13269
+ "codecId": "pg/text@1",
13270
+ "nativeType": "text",
13271
+ "nullable": false
13272
+ },
13273
+ "payload": {
13274
+ "codecId": "pg/json@1",
13275
+ "nativeType": "json",
13276
+ "nullable": false
13277
+ },
13278
+ "role": {
13279
+ "codecId": "pg/text@1",
13280
+ "nativeType": "text",
13281
+ "nullable": false
13282
+ },
13283
+ "status": {
13284
+ "codecId": "pg/text@1",
13285
+ "nativeType": "text",
13286
+ "nullable": false
13287
+ },
13288
+ "txHash": {
13289
+ "codecId": "pg/text@1",
13290
+ "nativeType": "text",
13291
+ "nullable": true
13292
+ },
13293
+ "updatedAt": {
13294
+ "codecId": "pg/timestamptz-string@1",
13295
+ "nativeType": "timestamptz",
13296
+ "nullable": false
13297
+ }
13298
+ },
13299
+ "foreignKeys": [],
13300
+ "indexes": [
13301
+ {
13302
+ "columns": [
13303
+ "intentId"
13304
+ ],
13305
+ "name": "payoutLeg_intentId_idx_e8967b69",
13306
+ "prefix": "payoutLeg_intentId_idx",
13307
+ "unique": false
13308
+ },
13309
+ {
13310
+ "columns": [
13311
+ "payee"
13312
+ ],
13313
+ "name": "payoutLeg_payee_idx_30918ee6",
13314
+ "prefix": "payoutLeg_payee_idx",
11881
13315
  "unique": false
11882
13316
  },
11883
13317
  {
11884
13318
  "columns": [
11885
- "transactionHash"
13319
+ "status"
11886
13320
  ],
11887
- "name": "paymentReceipt_transactionHash_idx_42bd5811",
11888
- "prefix": "paymentReceipt_transactionHash_idx",
13321
+ "name": "payoutLeg_status_idx_e98638ab",
13322
+ "prefix": "payoutLeg_status_idx",
11889
13323
  "unique": false
11890
13324
  }
11891
13325
  ],
@@ -11897,8 +13331,8 @@
11897
13331
  "uniques": [
11898
13332
  {
11899
13333
  "columns": [
11900
- "provider",
11901
- "externalReference"
13334
+ "network",
13335
+ "txHash"
11902
13336
  ]
11903
13337
  }
11904
13338
  ]
@@ -12118,14 +13552,6 @@
12118
13552
  "name": "refundIntent_status_createdAtMs_idx_95013a06",
12119
13553
  "prefix": "refundIntent_status_createdAtMs_idx",
12120
13554
  "unique": false
12121
- },
12122
- {
12123
- "columns": [
12124
- "txHash"
12125
- ],
12126
- "name": "refundIntent_txHash_idx_3fbe8b55",
12127
- "prefix": "refundIntent_txHash_idx",
12128
- "unique": false
12129
13555
  }
12130
13556
  ],
12131
13557
  "primaryKey": {
@@ -12133,7 +13559,13 @@
12133
13559
  "id"
12134
13560
  ]
12135
13561
  },
12136
- "uniques": []
13562
+ "uniques": [
13563
+ {
13564
+ "columns": [
13565
+ "txHash"
13566
+ ]
13567
+ }
13568
+ ]
12137
13569
  },
12138
13570
  "reputationFact": {
12139
13571
  "columns": {
@@ -12524,6 +13956,101 @@
12524
13956
  },
12525
13957
  "uniques": []
12526
13958
  },
13959
+ "settlementAnchor": {
13960
+ "columns": {
13961
+ "anchoredAtMs": {
13962
+ "codecId": "pg/int8@1",
13963
+ "nativeType": "int8",
13964
+ "nullable": true
13965
+ },
13966
+ "attempts": {
13967
+ "codecId": "pg/int4@1",
13968
+ "default": {
13969
+ "kind": "literal",
13970
+ "value": 0
13971
+ },
13972
+ "nativeType": "int4",
13973
+ "nullable": false
13974
+ },
13975
+ "chainId": {
13976
+ "codecId": "pg/text@1",
13977
+ "nativeType": "text",
13978
+ "nullable": false
13979
+ },
13980
+ "createdAt": {
13981
+ "codecId": "pg/timestamptz-string@1",
13982
+ "default": {
13983
+ "expression": "now()",
13984
+ "kind": "function"
13985
+ },
13986
+ "nativeType": "timestamptz",
13987
+ "nullable": false
13988
+ },
13989
+ "id": {
13990
+ "codecId": "pg/text@1",
13991
+ "nativeType": "text",
13992
+ "nullable": false
13993
+ },
13994
+ "lastError": {
13995
+ "codecId": "pg/text@1",
13996
+ "nativeType": "text",
13997
+ "nullable": true
13998
+ },
13999
+ "payload": {
14000
+ "codecId": "pg/json@1",
14001
+ "nativeType": "json",
14002
+ "nullable": false
14003
+ },
14004
+ "receiptHash": {
14005
+ "codecId": "pg/text@1",
14006
+ "nativeType": "text",
14007
+ "nullable": false
14008
+ },
14009
+ "receiptRef": {
14010
+ "codecId": "pg/text@1",
14011
+ "nativeType": "text",
14012
+ "nullable": false
14013
+ },
14014
+ "status": {
14015
+ "codecId": "pg/text@1",
14016
+ "nativeType": "text",
14017
+ "nullable": false
14018
+ },
14019
+ "txHash": {
14020
+ "codecId": "pg/text@1",
14021
+ "nativeType": "text",
14022
+ "nullable": true
14023
+ },
14024
+ "updatedAt": {
14025
+ "codecId": "pg/timestamptz-string@1",
14026
+ "nativeType": "timestamptz",
14027
+ "nullable": false
14028
+ }
14029
+ },
14030
+ "foreignKeys": [],
14031
+ "indexes": [
14032
+ {
14033
+ "columns": [
14034
+ "status"
14035
+ ],
14036
+ "name": "settlementAnchor_status_idx_e98638ab",
14037
+ "prefix": "settlementAnchor_status_idx",
14038
+ "unique": false
14039
+ }
14040
+ ],
14041
+ "primaryKey": {
14042
+ "columns": [
14043
+ "id"
14044
+ ]
14045
+ },
14046
+ "uniques": [
14047
+ {
14048
+ "columns": [
14049
+ "receiptRef"
14050
+ ]
14051
+ }
14052
+ ]
14053
+ },
12527
14054
  "spendApproval": {
12528
14055
  "columns": {
12529
14056
  "amountUsd": {
@@ -13172,10 +14699,10 @@
13172
14699
  "kind": "postgres-schema"
13173
14700
  }
13174
14701
  },
13175
- "storageHash": "174bbe13adcd8dd1ef05efb4b4ab5e7a9b30646347d508ceedf1f228d4298d7b"
14702
+ "storageHash": "0a3ebb89baf34c26e2199b84f1b23ea0416e64efec0cd3f67a1405678aeda779"
13176
14703
  },
13177
14704
  "execution": {
13178
- "executionHash": "cda992afecb515ff2c2dd351b5c0b83fb88ef1603d7125472d90da7e198b024b",
14705
+ "executionHash": "c1d96fa5dc0fd50b864424442bd2c1efd0a624a783ed51f04011d30bc34f5c24",
13179
14706
  "mutations": {
13180
14707
  "defaults": [
13181
14708
  {
@@ -13735,6 +15262,32 @@
13735
15262
  "table": "delegateRecord"
13736
15263
  }
13737
15264
  },
15265
+ {
15266
+ "onCreate": {
15267
+ "id": "uuidv4",
15268
+ "kind": "generator"
15269
+ },
15270
+ "ref": {
15271
+ "column": "id",
15272
+ "namespace": "public",
15273
+ "table": "dispute"
15274
+ }
15275
+ },
15276
+ {
15277
+ "onCreate": {
15278
+ "id": "timestampNow",
15279
+ "kind": "generator"
15280
+ },
15281
+ "onUpdate": {
15282
+ "id": "timestampNow",
15283
+ "kind": "generator"
15284
+ },
15285
+ "ref": {
15286
+ "column": "updatedAt",
15287
+ "namespace": "public",
15288
+ "table": "dispute"
15289
+ }
15290
+ },
13738
15291
  {
13739
15292
  "onCreate": {
13740
15293
  "id": "timestampNow",
@@ -13955,6 +15508,58 @@
13955
15508
  "table": "marketplaceService"
13956
15509
  }
13957
15510
  },
15511
+ {
15512
+ "onCreate": {
15513
+ "id": "uuidv4",
15514
+ "kind": "generator"
15515
+ },
15516
+ "ref": {
15517
+ "column": "id",
15518
+ "namespace": "public",
15519
+ "table": "milestone"
15520
+ }
15521
+ },
15522
+ {
15523
+ "onCreate": {
15524
+ "id": "timestampNow",
15525
+ "kind": "generator"
15526
+ },
15527
+ "onUpdate": {
15528
+ "id": "timestampNow",
15529
+ "kind": "generator"
15530
+ },
15531
+ "ref": {
15532
+ "column": "updatedAt",
15533
+ "namespace": "public",
15534
+ "table": "milestone"
15535
+ }
15536
+ },
15537
+ {
15538
+ "onCreate": {
15539
+ "id": "uuidv4",
15540
+ "kind": "generator"
15541
+ },
15542
+ "ref": {
15543
+ "column": "id",
15544
+ "namespace": "public",
15545
+ "table": "milestonePlan"
15546
+ }
15547
+ },
15548
+ {
15549
+ "onCreate": {
15550
+ "id": "timestampNow",
15551
+ "kind": "generator"
15552
+ },
15553
+ "onUpdate": {
15554
+ "id": "timestampNow",
15555
+ "kind": "generator"
15556
+ },
15557
+ "ref": {
15558
+ "column": "updatedAt",
15559
+ "namespace": "public",
15560
+ "table": "milestonePlan"
15561
+ }
15562
+ },
13958
15563
  {
13959
15564
  "onCreate": {
13960
15565
  "id": "timestampNow",
@@ -14052,6 +15657,58 @@
14052
15657
  "table": "paymentProduct"
14053
15658
  }
14054
15659
  },
15660
+ {
15661
+ "onCreate": {
15662
+ "id": "uuidv4",
15663
+ "kind": "generator"
15664
+ },
15665
+ "ref": {
15666
+ "column": "id",
15667
+ "namespace": "public",
15668
+ "table": "payoutIntent"
15669
+ }
15670
+ },
15671
+ {
15672
+ "onCreate": {
15673
+ "id": "timestampNow",
15674
+ "kind": "generator"
15675
+ },
15676
+ "onUpdate": {
15677
+ "id": "timestampNow",
15678
+ "kind": "generator"
15679
+ },
15680
+ "ref": {
15681
+ "column": "updatedAt",
15682
+ "namespace": "public",
15683
+ "table": "payoutIntent"
15684
+ }
15685
+ },
15686
+ {
15687
+ "onCreate": {
15688
+ "id": "uuidv4",
15689
+ "kind": "generator"
15690
+ },
15691
+ "ref": {
15692
+ "column": "id",
15693
+ "namespace": "public",
15694
+ "table": "payoutLeg"
15695
+ }
15696
+ },
15697
+ {
15698
+ "onCreate": {
15699
+ "id": "timestampNow",
15700
+ "kind": "generator"
15701
+ },
15702
+ "onUpdate": {
15703
+ "id": "timestampNow",
15704
+ "kind": "generator"
15705
+ },
15706
+ "ref": {
15707
+ "column": "updatedAt",
15708
+ "namespace": "public",
15709
+ "table": "payoutLeg"
15710
+ }
15711
+ },
14055
15712
  {
14056
15713
  "onCreate": {
14057
15714
  "id": "timestampNow",
@@ -14167,6 +15824,32 @@
14167
15824
  "table": "scanResult"
14168
15825
  }
14169
15826
  },
15827
+ {
15828
+ "onCreate": {
15829
+ "id": "uuidv4",
15830
+ "kind": "generator"
15831
+ },
15832
+ "ref": {
15833
+ "column": "id",
15834
+ "namespace": "public",
15835
+ "table": "settlementAnchor"
15836
+ }
15837
+ },
15838
+ {
15839
+ "onCreate": {
15840
+ "id": "timestampNow",
15841
+ "kind": "generator"
15842
+ },
15843
+ "onUpdate": {
15844
+ "id": "timestampNow",
15845
+ "kind": "generator"
15846
+ },
15847
+ "ref": {
15848
+ "column": "updatedAt",
15849
+ "namespace": "public",
15850
+ "table": "settlementAnchor"
15851
+ }
15852
+ },
14170
15853
  {
14171
15854
  "onCreate": {
14172
15855
  "id": "timestampNow",