@agentbadge/database 0.6.16 → 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"
@@ -3444,6 +3468,177 @@
3444
3468
  "table": "delegateRecord"
3445
3469
  }
3446
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
+ },
3447
3642
  "EaasAnchor": {
3448
3643
  "fields": {
3449
3644
  "artifactHash": {
@@ -4838,12 +5033,19 @@
4838
5033
  "table": "marketplaceService"
4839
5034
  }
4840
5035
  },
4841
- "PassportOwner": {
5036
+ "Milestone": {
4842
5037
  "fields": {
4843
- "blockNumber": {
5038
+ "acceptanceCriteria": {
5039
+ "nullable": true,
5040
+ "type": {
5041
+ "codecId": "pg/text@1",
5042
+ "kind": "scalar"
5043
+ }
5044
+ },
5045
+ "amountUsd": {
4844
5046
  "nullable": false,
4845
5047
  "type": {
4846
- "codecId": "pg/int8@1",
5048
+ "codecId": "pg/numeric@1",
4847
5049
  "kind": "scalar"
4848
5050
  }
4849
5051
  },
@@ -4854,123 +5056,388 @@
4854
5056
  "kind": "scalar"
4855
5057
  }
4856
5058
  },
4857
- "logIndex": {
5059
+ "dueAtMs": {
4858
5060
  "nullable": true,
4859
5061
  "type": {
4860
- "codecId": "pg/int4@1",
5062
+ "codecId": "pg/int8@1",
4861
5063
  "kind": "scalar"
4862
5064
  }
4863
5065
  },
4864
- "owner": {
4865
- "nullable": false,
5066
+ "escrowRef": {
5067
+ "nullable": true,
4866
5068
  "type": {
4867
5069
  "codecId": "pg/text@1",
4868
5070
  "kind": "scalar"
4869
5071
  }
4870
5072
  },
4871
- "passportId": {
5073
+ "id": {
4872
5074
  "nullable": false,
4873
5075
  "type": {
4874
5076
  "codecId": "pg/text@1",
4875
5077
  "kind": "scalar"
4876
5078
  }
4877
5079
  },
4878
- "payload": {
5080
+ "milestoneId": {
4879
5081
  "nullable": false,
4880
5082
  "type": {
4881
- "codecId": "pg/json@1",
5083
+ "codecId": "pg/text@1",
4882
5084
  "kind": "scalar"
4883
5085
  }
4884
5086
  },
4885
- "updatedAt": {
5087
+ "payload": {
4886
5088
  "nullable": false,
4887
5089
  "type": {
4888
- "codecId": "pg/timestamptz-string@1",
4889
- "kind": "scalar"
4890
- }
4891
- }
4892
- },
4893
- "relations": {},
4894
- "storage": {
4895
- "fields": {
4896
- "blockNumber": {
4897
- "column": "blockNumber"
4898
- },
4899
- "createdAt": {
4900
- "column": "createdAt"
4901
- },
4902
- "logIndex": {
4903
- "column": "logIndex"
4904
- },
4905
- "owner": {
4906
- "column": "owner"
4907
- },
4908
- "passportId": {
4909
- "column": "passportId"
4910
- },
4911
- "payload": {
4912
- "column": "payload"
4913
- },
4914
- "updatedAt": {
4915
- "column": "updatedAt"
4916
- }
4917
- },
4918
- "namespaceId": "public",
4919
- "table": "passportOwner"
4920
- }
4921
- },
4922
- "Payment": {
4923
- "fields": {
4924
- "agentId": {
4925
- "nullable": true,
4926
- "type": {
4927
- "codecId": "pg/text@1",
5090
+ "codecId": "pg/json@1",
4928
5091
  "kind": "scalar"
4929
5092
  }
4930
5093
  },
4931
- "amount": {
5094
+ "planId": {
4932
5095
  "nullable": false,
4933
5096
  "type": {
4934
- "codecId": "pg/numeric@1",
5097
+ "codecId": "pg/text@1",
4935
5098
  "kind": "scalar"
4936
5099
  }
4937
5100
  },
4938
- "createdAt": {
5101
+ "releasePolicy": {
4939
5102
  "nullable": false,
4940
5103
  "type": {
4941
- "codecId": "pg/timestamptz-string@1",
5104
+ "codecId": "pg/text@1",
4942
5105
  "kind": "scalar"
4943
5106
  }
4944
5107
  },
4945
- "createdAtMs": {
5108
+ "seq": {
4946
5109
  "nullable": false,
4947
5110
  "type": {
4948
- "codecId": "pg/int8@1",
5111
+ "codecId": "pg/int4@1",
4949
5112
  "kind": "scalar"
4950
5113
  }
4951
5114
  },
4952
- "currency": {
5115
+ "status": {
4953
5116
  "nullable": false,
4954
5117
  "type": {
4955
5118
  "codecId": "pg/text@1",
4956
5119
  "kind": "scalar"
4957
5120
  }
4958
5121
  },
4959
- "customerId": {
5122
+ "submissionRef": {
4960
5123
  "nullable": true,
4961
5124
  "type": {
4962
5125
  "codecId": "pg/text@1",
4963
5126
  "kind": "scalar"
4964
5127
  }
4965
5128
  },
4966
- "expiresAtMs": {
4967
- "nullable": true,
5129
+ "title": {
5130
+ "nullable": false,
4968
5131
  "type": {
4969
- "codecId": "pg/int8@1",
5132
+ "codecId": "pg/text@1",
4970
5133
  "kind": "scalar"
4971
5134
  }
4972
5135
  },
4973
- "id": {
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",
5402
+ "kind": "scalar"
5403
+ }
5404
+ },
5405
+ "createdAt": {
5406
+ "nullable": false,
5407
+ "type": {
5408
+ "codecId": "pg/timestamptz-string@1",
5409
+ "kind": "scalar"
5410
+ }
5411
+ },
5412
+ "createdAtMs": {
5413
+ "nullable": false,
5414
+ "type": {
5415
+ "codecId": "pg/int8@1",
5416
+ "kind": "scalar"
5417
+ }
5418
+ },
5419
+ "currency": {
5420
+ "nullable": false,
5421
+ "type": {
5422
+ "codecId": "pg/text@1",
5423
+ "kind": "scalar"
5424
+ }
5425
+ },
5426
+ "customerId": {
5427
+ "nullable": true,
5428
+ "type": {
5429
+ "codecId": "pg/text@1",
5430
+ "kind": "scalar"
5431
+ }
5432
+ },
5433
+ "expiresAtMs": {
5434
+ "nullable": true,
5435
+ "type": {
5436
+ "codecId": "pg/int8@1",
5437
+ "kind": "scalar"
5438
+ }
5439
+ },
5440
+ "id": {
4974
5441
  "nullable": false,
4975
5442
  "type": {
4976
5443
  "codecId": "pg/text@1",
@@ -5611,41 +6078,293 @@
5611
6078
  }
5612
6079
  },
5613
6080
  "namespaceId": "public",
5614
- "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"
5615
6334
  }
5616
6335
  },
5617
- "PaymentProduct": {
6336
+ "PayoutIntent": {
5618
6337
  "fields": {
5619
- "active": {
5620
- "nullable": false,
6338
+ "completedAtMs": {
6339
+ "nullable": true,
5621
6340
  "type": {
5622
- "codecId": "pg/bool@1",
6341
+ "codecId": "pg/int8@1",
5623
6342
  "kind": "scalar"
5624
6343
  }
5625
6344
  },
5626
- "category": {
5627
- "nullable": false,
6345
+ "completedBy": {
6346
+ "nullable": true,
5628
6347
  "type": {
5629
6348
  "codecId": "pg/text@1",
5630
6349
  "kind": "scalar"
5631
6350
  }
5632
6351
  },
5633
- "code": {
6352
+ "createdAt": {
5634
6353
  "nullable": false,
5635
6354
  "type": {
5636
- "codecId": "pg/text@1",
6355
+ "codecId": "pg/timestamptz-string@1",
5637
6356
  "kind": "scalar"
5638
6357
  }
5639
6358
  },
5640
- "createdAt": {
6359
+ "createdAtMs": {
5641
6360
  "nullable": false,
5642
6361
  "type": {
5643
- "codecId": "pg/timestamptz-string@1",
6362
+ "codecId": "pg/int8@1",
5644
6363
  "kind": "scalar"
5645
6364
  }
5646
6365
  },
5647
- "description": {
5648
- "nullable": true,
6366
+ "executor": {
6367
+ "nullable": false,
5649
6368
  "type": {
5650
6369
  "codecId": "pg/text@1",
5651
6370
  "kind": "scalar"
@@ -5658,7 +6377,7 @@
5658
6377
  "kind": "scalar"
5659
6378
  }
5660
6379
  },
5661
- "name": {
6380
+ "milestoneRef": {
5662
6381
  "nullable": false,
5663
6382
  "type": {
5664
6383
  "codecId": "pg/text@1",
@@ -5672,6 +6391,13 @@
5672
6391
  "kind": "scalar"
5673
6392
  }
5674
6393
  },
6394
+ "status": {
6395
+ "nullable": false,
6396
+ "type": {
6397
+ "codecId": "pg/text@1",
6398
+ "kind": "scalar"
6399
+ }
6400
+ },
5675
6401
  "updatedAt": {
5676
6402
  "nullable": false,
5677
6403
  "type": {
@@ -5683,56 +6409,59 @@
5683
6409
  "relations": {},
5684
6410
  "storage": {
5685
6411
  "fields": {
5686
- "active": {
5687
- "column": "active"
5688
- },
5689
- "category": {
5690
- "column": "category"
6412
+ "completedAtMs": {
6413
+ "column": "completedAtMs"
5691
6414
  },
5692
- "code": {
5693
- "column": "code"
6415
+ "completedBy": {
6416
+ "column": "completedBy"
5694
6417
  },
5695
6418
  "createdAt": {
5696
6419
  "column": "createdAt"
5697
6420
  },
5698
- "description": {
5699
- "column": "description"
6421
+ "createdAtMs": {
6422
+ "column": "createdAtMs"
6423
+ },
6424
+ "executor": {
6425
+ "column": "executor"
5700
6426
  },
5701
6427
  "id": {
5702
6428
  "column": "id"
5703
6429
  },
5704
- "name": {
5705
- "column": "name"
6430
+ "milestoneRef": {
6431
+ "column": "milestoneRef"
5706
6432
  },
5707
6433
  "payload": {
5708
6434
  "column": "payload"
5709
6435
  },
6436
+ "status": {
6437
+ "column": "status"
6438
+ },
5710
6439
  "updatedAt": {
5711
6440
  "column": "updatedAt"
5712
6441
  }
5713
6442
  },
5714
6443
  "namespaceId": "public",
5715
- "table": "paymentProduct"
6444
+ "table": "payoutIntent"
5716
6445
  }
5717
6446
  },
5718
- "PaymentReceipt": {
6447
+ "PayoutLeg": {
5719
6448
  "fields": {
5720
- "amount": {
6449
+ "amountUsdc": {
5721
6450
  "nullable": false,
5722
6451
  "type": {
5723
6452
  "codecId": "pg/numeric@1",
5724
6453
  "kind": "scalar"
5725
6454
  }
5726
6455
  },
5727
- "asset": {
5728
- "nullable": false,
6456
+ "completedAtMs": {
6457
+ "nullable": true,
5729
6458
  "type": {
5730
- "codecId": "pg/text@1",
6459
+ "codecId": "pg/int8@1",
5731
6460
  "kind": "scalar"
5732
6461
  }
5733
6462
  },
5734
- "attemptId": {
5735
- "nullable": false,
6463
+ "completedBy": {
6464
+ "nullable": true,
5736
6465
  "type": {
5737
6466
  "codecId": "pg/text@1",
5738
6467
  "kind": "scalar"
@@ -5745,14 +6474,14 @@
5745
6474
  "kind": "scalar"
5746
6475
  }
5747
6476
  },
5748
- "externalReference": {
6477
+ "id": {
5749
6478
  "nullable": false,
5750
6479
  "type": {
5751
6480
  "codecId": "pg/text@1",
5752
6481
  "kind": "scalar"
5753
6482
  }
5754
6483
  },
5755
- "id": {
6484
+ "intentId": {
5756
6485
  "nullable": false,
5757
6486
  "type": {
5758
6487
  "codecId": "pg/text@1",
@@ -5760,14 +6489,14 @@
5760
6489
  }
5761
6490
  },
5762
6491
  "network": {
5763
- "nullable": true,
6492
+ "nullable": false,
5764
6493
  "type": {
5765
6494
  "codecId": "pg/text@1",
5766
6495
  "kind": "scalar"
5767
6496
  }
5768
6497
  },
5769
- "payer": {
5770
- "nullable": true,
6498
+ "payee": {
6499
+ "nullable": false,
5771
6500
  "type": {
5772
6501
  "codecId": "pg/text@1",
5773
6502
  "kind": "scalar"
@@ -5780,38 +6509,31 @@
5780
6509
  "kind": "scalar"
5781
6510
  }
5782
6511
  },
5783
- "paymentId": {
6512
+ "role": {
5784
6513
  "nullable": false,
5785
6514
  "type": {
5786
6515
  "codecId": "pg/text@1",
5787
6516
  "kind": "scalar"
5788
6517
  }
5789
6518
  },
5790
- "provider": {
6519
+ "status": {
5791
6520
  "nullable": false,
5792
6521
  "type": {
5793
6522
  "codecId": "pg/text@1",
5794
6523
  "kind": "scalar"
5795
6524
  }
5796
6525
  },
5797
- "recipient": {
5798
- "nullable": true,
5799
- "type": {
5800
- "codecId": "pg/text@1",
5801
- "kind": "scalar"
5802
- }
5803
- },
5804
- "transactionHash": {
6526
+ "txHash": {
5805
6527
  "nullable": true,
5806
6528
  "type": {
5807
6529
  "codecId": "pg/text@1",
5808
6530
  "kind": "scalar"
5809
6531
  }
5810
6532
  },
5811
- "verifiedAtMs": {
6533
+ "updatedAt": {
5812
6534
  "nullable": false,
5813
6535
  "type": {
5814
- "codecId": "pg/int8@1",
6536
+ "codecId": "pg/timestamptz-string@1",
5815
6537
  "kind": "scalar"
5816
6538
  }
5817
6539
  }
@@ -5819,51 +6541,48 @@
5819
6541
  "relations": {},
5820
6542
  "storage": {
5821
6543
  "fields": {
5822
- "amount": {
5823
- "column": "amount"
6544
+ "amountUsdc": {
6545
+ "column": "amountUsdc"
5824
6546
  },
5825
- "asset": {
5826
- "column": "asset"
6547
+ "completedAtMs": {
6548
+ "column": "completedAtMs"
5827
6549
  },
5828
- "attemptId": {
5829
- "column": "attemptId"
6550
+ "completedBy": {
6551
+ "column": "completedBy"
5830
6552
  },
5831
6553
  "createdAt": {
5832
6554
  "column": "createdAt"
5833
6555
  },
5834
- "externalReference": {
5835
- "column": "externalReference"
5836
- },
5837
6556
  "id": {
5838
6557
  "column": "id"
5839
6558
  },
6559
+ "intentId": {
6560
+ "column": "intentId"
6561
+ },
5840
6562
  "network": {
5841
6563
  "column": "network"
5842
6564
  },
5843
- "payer": {
5844
- "column": "payer"
6565
+ "payee": {
6566
+ "column": "payee"
5845
6567
  },
5846
6568
  "payload": {
5847
6569
  "column": "payload"
5848
6570
  },
5849
- "paymentId": {
5850
- "column": "paymentId"
5851
- },
5852
- "provider": {
5853
- "column": "provider"
6571
+ "role": {
6572
+ "column": "role"
5854
6573
  },
5855
- "recipient": {
5856
- "column": "recipient"
6574
+ "status": {
6575
+ "column": "status"
5857
6576
  },
5858
- "transactionHash": {
5859
- "column": "transactionHash"
6577
+ "txHash": {
6578
+ "column": "txHash"
5860
6579
  },
5861
- "verifiedAtMs": {
5862
- "column": "verifiedAtMs"
6580
+ "updatedAt": {
6581
+ "column": "updatedAt"
5863
6582
  }
5864
6583
  },
5865
6584
  "namespaceId": "public",
5866
- "table": "paymentReceipt"
6585
+ "table": "payoutLeg"
5867
6586
  }
5868
6587
  },
5869
6588
  "ReconciliationException": {
@@ -6628,18 +7347,149 @@
6628
7347
  "rulesetVersion": {
6629
7348
  "column": "rulesetVersion"
6630
7349
  },
6631
- "score": {
6632
- "column": "score"
7350
+ "score": {
7351
+ "column": "score"
7352
+ },
7353
+ "updatedAt": {
7354
+ "column": "updatedAt"
7355
+ },
7356
+ "url": {
7357
+ "column": "url"
7358
+ }
7359
+ },
7360
+ "namespaceId": "public",
7361
+ "table": "scanResult"
7362
+ }
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"
6633
7486
  },
6634
7487
  "updatedAt": {
6635
7488
  "column": "updatedAt"
6636
- },
6637
- "url": {
6638
- "column": "url"
6639
7489
  }
6640
7490
  },
6641
7491
  "namespaceId": "public",
6642
- "table": "scanResult"
7492
+ "table": "settlementAnchor"
6643
7493
  }
6644
7494
  },
6645
7495
  "SpendApproval": {
@@ -9985,6 +10835,121 @@
9985
10835
  },
9986
10836
  "uniques": []
9987
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
+ },
9988
10953
  "eaasAnchor": {
9989
10954
  "columns": {
9990
10955
  "artifactHash": {
@@ -11081,11 +12046,197 @@
11081
12046
  "nativeType": "json",
11082
12047
  "nullable": false
11083
12048
  },
11084
- "serviceId": {
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": {
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
+ },
12197
+ "createdAt": {
12198
+ "codecId": "pg/timestamptz-string@1",
12199
+ "default": {
12200
+ "expression": "now()",
12201
+ "kind": "function"
12202
+ },
12203
+ "nativeType": "timestamptz",
12204
+ "nullable": false
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
+ },
12220
+ "payload": {
12221
+ "codecId": "pg/json@1",
12222
+ "nativeType": "json",
12223
+ "nullable": false
12224
+ },
12225
+ "providerWallet": {
12226
+ "codecId": "pg/text@1",
12227
+ "nativeType": "text",
12228
+ "nullable": false
12229
+ },
12230
+ "status": {
11085
12231
  "codecId": "pg/text@1",
11086
12232
  "nativeType": "text",
11087
12233
  "nullable": false
11088
12234
  },
12235
+ "totalUsd": {
12236
+ "codecId": "pg/numeric@1",
12237
+ "nativeType": "numeric",
12238
+ "nullable": false
12239
+ },
11089
12240
  "updatedAt": {
11090
12241
  "codecId": "pg/timestamptz-string@1",
11091
12242
  "nativeType": "timestamptz",
@@ -11093,13 +12244,44 @@
11093
12244
  }
11094
12245
  },
11095
12246
  "foreignKeys": [],
11096
- "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
+ ],
11097
12273
  "primaryKey": {
11098
12274
  "columns": [
11099
- "serviceId"
12275
+ "id"
11100
12276
  ]
11101
12277
  },
11102
- "uniques": []
12278
+ "uniques": [
12279
+ {
12280
+ "columns": [
12281
+ "agreementRef"
12282
+ ]
12283
+ }
12284
+ ]
11103
12285
  },
11104
12286
  "passportOwner": {
11105
12287
  "columns": {
@@ -11898,16 +13080,219 @@
11898
13080
  "recipient": {
11899
13081
  "codecId": "pg/text@1",
11900
13082
  "nativeType": "text",
11901
- "nullable": true
13083
+ "nullable": true
13084
+ },
13085
+ "transactionHash": {
13086
+ "codecId": "pg/text@1",
13087
+ "nativeType": "text",
13088
+ "nullable": true
13089
+ },
13090
+ "verifiedAtMs": {
13091
+ "codecId": "pg/int8@1",
13092
+ "nativeType": "int8",
13093
+ "nullable": false
13094
+ }
13095
+ },
13096
+ "foreignKeys": [],
13097
+ "indexes": [
13098
+ {
13099
+ "columns": [
13100
+ "attemptId"
13101
+ ],
13102
+ "name": "paymentReceipt_attemptId_idx_94f50eb9",
13103
+ "prefix": "paymentReceipt_attemptId_idx",
13104
+ "unique": false
13105
+ },
13106
+ {
13107
+ "columns": [
13108
+ "paymentId"
13109
+ ],
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
11902
13287
  },
11903
- "transactionHash": {
13288
+ "txHash": {
11904
13289
  "codecId": "pg/text@1",
11905
13290
  "nativeType": "text",
11906
13291
  "nullable": true
11907
13292
  },
11908
- "verifiedAtMs": {
11909
- "codecId": "pg/int8@1",
11910
- "nativeType": "int8",
13293
+ "updatedAt": {
13294
+ "codecId": "pg/timestamptz-string@1",
13295
+ "nativeType": "timestamptz",
11911
13296
  "nullable": false
11912
13297
  }
11913
13298
  },
@@ -11915,26 +13300,26 @@
11915
13300
  "indexes": [
11916
13301
  {
11917
13302
  "columns": [
11918
- "attemptId"
13303
+ "intentId"
11919
13304
  ],
11920
- "name": "paymentReceipt_attemptId_idx_94f50eb9",
11921
- "prefix": "paymentReceipt_attemptId_idx",
13305
+ "name": "payoutLeg_intentId_idx_e8967b69",
13306
+ "prefix": "payoutLeg_intentId_idx",
11922
13307
  "unique": false
11923
13308
  },
11924
13309
  {
11925
13310
  "columns": [
11926
- "paymentId"
13311
+ "payee"
11927
13312
  ],
11928
- "name": "paymentReceipt_paymentId_idx_b2fe9a10",
11929
- "prefix": "paymentReceipt_paymentId_idx",
13313
+ "name": "payoutLeg_payee_idx_30918ee6",
13314
+ "prefix": "payoutLeg_payee_idx",
11930
13315
  "unique": false
11931
13316
  },
11932
13317
  {
11933
13318
  "columns": [
11934
- "transactionHash"
13319
+ "status"
11935
13320
  ],
11936
- "name": "paymentReceipt_transactionHash_idx_42bd5811",
11937
- "prefix": "paymentReceipt_transactionHash_idx",
13321
+ "name": "payoutLeg_status_idx_e98638ab",
13322
+ "prefix": "payoutLeg_status_idx",
11938
13323
  "unique": false
11939
13324
  }
11940
13325
  ],
@@ -11946,8 +13331,8 @@
11946
13331
  "uniques": [
11947
13332
  {
11948
13333
  "columns": [
11949
- "provider",
11950
- "externalReference"
13334
+ "network",
13335
+ "txHash"
11951
13336
  ]
11952
13337
  }
11953
13338
  ]
@@ -12571,6 +13956,101 @@
12571
13956
  },
12572
13957
  "uniques": []
12573
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
+ },
12574
14054
  "spendApproval": {
12575
14055
  "columns": {
12576
14056
  "amountUsd": {
@@ -13219,10 +14699,10 @@
13219
14699
  "kind": "postgres-schema"
13220
14700
  }
13221
14701
  },
13222
- "storageHash": "5cc05c7580b7916ed4b358c580b28b24d76b9c2825fbe72c359888fb6df0a582"
14702
+ "storageHash": "0a3ebb89baf34c26e2199b84f1b23ea0416e64efec0cd3f67a1405678aeda779"
13223
14703
  },
13224
14704
  "execution": {
13225
- "executionHash": "cda992afecb515ff2c2dd351b5c0b83fb88ef1603d7125472d90da7e198b024b",
14705
+ "executionHash": "c1d96fa5dc0fd50b864424442bd2c1efd0a624a783ed51f04011d30bc34f5c24",
13226
14706
  "mutations": {
13227
14707
  "defaults": [
13228
14708
  {
@@ -13782,6 +15262,32 @@
13782
15262
  "table": "delegateRecord"
13783
15263
  }
13784
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
+ },
13785
15291
  {
13786
15292
  "onCreate": {
13787
15293
  "id": "timestampNow",
@@ -14002,6 +15508,58 @@
14002
15508
  "table": "marketplaceService"
14003
15509
  }
14004
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
+ },
14005
15563
  {
14006
15564
  "onCreate": {
14007
15565
  "id": "timestampNow",
@@ -14099,6 +15657,58 @@
14099
15657
  "table": "paymentProduct"
14100
15658
  }
14101
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
+ },
14102
15712
  {
14103
15713
  "onCreate": {
14104
15714
  "id": "timestampNow",
@@ -14214,6 +15824,32 @@
14214
15824
  "table": "scanResult"
14215
15825
  }
14216
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
+ },
14217
15853
  {
14218
15854
  "onCreate": {
14219
15855
  "id": "timestampNow",