@agentbadge/database 0.6.18 → 0.6.21

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.
@@ -164,6 +164,18 @@
164
164
  "model": "ForensicsFunding",
165
165
  "namespace": "public"
166
166
  },
167
+ "interactionEvent": {
168
+ "model": "InteractionEvent",
169
+ "namespace": "public"
170
+ },
171
+ "interactionResponse": {
172
+ "model": "InteractionResponse",
173
+ "namespace": "public"
174
+ },
175
+ "interactionSession": {
176
+ "model": "InteractionSession",
177
+ "namespace": "public"
178
+ },
167
179
  "marketplaceMeta": {
168
180
  "model": "MarketplaceMeta",
169
181
  "namespace": "public"
@@ -869,6 +881,20 @@
869
881
  },
870
882
  "AgentRequest": {
871
883
  "fields": {
884
+ "actorRef": {
885
+ "nullable": true,
886
+ "type": {
887
+ "codecId": "pg/text@1",
888
+ "kind": "scalar"
889
+ }
890
+ },
891
+ "actorResolution": {
892
+ "nullable": true,
893
+ "type": {
894
+ "codecId": "pg/text@1",
895
+ "kind": "scalar"
896
+ }
897
+ },
872
898
  "agentId": {
873
899
  "nullable": true,
874
900
  "type": {
@@ -876,6 +902,20 @@
876
902
  "kind": "scalar"
877
903
  }
878
904
  },
905
+ "channel": {
906
+ "nullable": true,
907
+ "type": {
908
+ "codecId": "pg/text@1",
909
+ "kind": "scalar"
910
+ }
911
+ },
912
+ "classifiedBy": {
913
+ "nullable": true,
914
+ "type": {
915
+ "codecId": "pg/text@1",
916
+ "kind": "scalar"
917
+ }
918
+ },
879
919
  "createdAt": {
880
920
  "nullable": false,
881
921
  "type": {
@@ -890,6 +930,20 @@
890
930
  "kind": "scalar"
891
931
  }
892
932
  },
933
+ "demandSignals": {
934
+ "nullable": true,
935
+ "type": {
936
+ "codecId": "pg/json@1",
937
+ "kind": "scalar"
938
+ }
939
+ },
940
+ "entities": {
941
+ "nullable": true,
942
+ "type": {
943
+ "codecId": "pg/json@1",
944
+ "kind": "scalar"
945
+ }
946
+ },
893
947
  "expiresAtMs": {
894
948
  "nullable": false,
895
949
  "type": {
@@ -925,6 +979,13 @@
925
979
  "kind": "scalar"
926
980
  }
927
981
  },
982
+ "intent": {
983
+ "nullable": true,
984
+ "type": {
985
+ "codecId": "pg/text@1",
986
+ "kind": "scalar"
987
+ }
988
+ },
928
989
  "kind": {
929
990
  "nullable": true,
930
991
  "type": {
@@ -932,6 +993,20 @@
932
993
  "kind": "scalar"
933
994
  }
934
995
  },
996
+ "knowledgeGap": {
997
+ "nullable": false,
998
+ "type": {
999
+ "codecId": "pg/bool@1",
1000
+ "kind": "scalar"
1001
+ }
1002
+ },
1003
+ "outcome": {
1004
+ "nullable": true,
1005
+ "type": {
1006
+ "codecId": "pg/text@1",
1007
+ "kind": "scalar"
1008
+ }
1009
+ },
935
1010
  "payload": {
936
1011
  "nullable": true,
937
1012
  "type": {
@@ -960,6 +1035,20 @@
960
1035
  "kind": "scalar"
961
1036
  }
962
1037
  },
1038
+ "sessionId": {
1039
+ "nullable": true,
1040
+ "type": {
1041
+ "codecId": "pg/text@1",
1042
+ "kind": "scalar"
1043
+ }
1044
+ },
1045
+ "signalType": {
1046
+ "nullable": true,
1047
+ "type": {
1048
+ "codecId": "pg/text@1",
1049
+ "kind": "scalar"
1050
+ }
1051
+ },
963
1052
  "spamFlag": {
964
1053
  "nullable": false,
965
1054
  "type": {
@@ -974,6 +1063,13 @@
974
1063
  "kind": "scalar"
975
1064
  }
976
1065
  },
1066
+ "topics": {
1067
+ "nullable": true,
1068
+ "type": {
1069
+ "codecId": "pg/json@1",
1070
+ "kind": "scalar"
1071
+ }
1072
+ },
977
1073
  "updatedAt": {
978
1074
  "nullable": false,
979
1075
  "type": {
@@ -992,15 +1088,33 @@
992
1088
  "relations": {},
993
1089
  "storage": {
994
1090
  "fields": {
1091
+ "actorRef": {
1092
+ "column": "actorRef"
1093
+ },
1094
+ "actorResolution": {
1095
+ "column": "actorResolution"
1096
+ },
995
1097
  "agentId": {
996
1098
  "column": "agentId"
997
1099
  },
1100
+ "channel": {
1101
+ "column": "channel"
1102
+ },
1103
+ "classifiedBy": {
1104
+ "column": "classifiedBy"
1105
+ },
998
1106
  "createdAt": {
999
1107
  "column": "createdAt"
1000
1108
  },
1001
1109
  "createdAtMs": {
1002
1110
  "column": "createdAtMs"
1003
1111
  },
1112
+ "demandSignals": {
1113
+ "column": "demandSignals"
1114
+ },
1115
+ "entities": {
1116
+ "column": "entities"
1117
+ },
1004
1118
  "expiresAtMs": {
1005
1119
  "column": "expiresAtMs"
1006
1120
  },
@@ -1016,9 +1130,18 @@
1016
1130
  "idempotencyKey": {
1017
1131
  "column": "idempotencyKey"
1018
1132
  },
1133
+ "intent": {
1134
+ "column": "intent"
1135
+ },
1019
1136
  "kind": {
1020
1137
  "column": "kind"
1021
1138
  },
1139
+ "knowledgeGap": {
1140
+ "column": "knowledgeGap"
1141
+ },
1142
+ "outcome": {
1143
+ "column": "outcome"
1144
+ },
1022
1145
  "payload": {
1023
1146
  "column": "payload"
1024
1147
  },
@@ -1031,12 +1154,21 @@
1031
1154
  "response": {
1032
1155
  "column": "response"
1033
1156
  },
1157
+ "sessionId": {
1158
+ "column": "sessionId"
1159
+ },
1160
+ "signalType": {
1161
+ "column": "signalType"
1162
+ },
1034
1163
  "spamFlag": {
1035
1164
  "column": "spamFlag"
1036
1165
  },
1037
1166
  "state": {
1038
1167
  "column": "state"
1039
1168
  },
1169
+ "topics": {
1170
+ "column": "topics"
1171
+ },
1040
1172
  "updatedAt": {
1041
1173
  "column": "updatedAt"
1042
1174
  },
@@ -3108,6 +3240,13 @@
3108
3240
  "kind": "scalar"
3109
3241
  }
3110
3242
  },
3243
+ "milestoneRef": {
3244
+ "nullable": true,
3245
+ "type": {
3246
+ "codecId": "pg/text@1",
3247
+ "kind": "scalar"
3248
+ }
3249
+ },
3111
3250
  "payload": {
3112
3251
  "nullable": false,
3113
3252
  "type": {
@@ -3184,6 +3323,9 @@
3184
3323
  "id": {
3185
3324
  "column": "id"
3186
3325
  },
3326
+ "milestoneRef": {
3327
+ "column": "milestoneRef"
3328
+ },
3187
3329
  "payload": {
3188
3330
  "column": "payload"
3189
3331
  },
@@ -3274,6 +3416,13 @@
3274
3416
  "kind": "scalar"
3275
3417
  }
3276
3418
  },
3419
+ "maxProviders": {
3420
+ "nullable": false,
3421
+ "type": {
3422
+ "codecId": "pg/int4@1",
3423
+ "kind": "scalar"
3424
+ }
3425
+ },
3277
3426
  "payload": {
3278
3427
  "nullable": false,
3279
3428
  "type": {
@@ -3337,6 +3486,9 @@
3337
3486
  "id": {
3338
3487
  "column": "id"
3339
3488
  },
3489
+ "maxProviders": {
3490
+ "column": "maxProviders"
3491
+ },
3340
3492
  "payload": {
3341
3493
  "column": "payload"
3342
3494
  },
@@ -4941,6 +5093,249 @@
4941
5093
  "table": "forensicsFunding"
4942
5094
  }
4943
5095
  },
5096
+ "InteractionEvent": {
5097
+ "fields": {
5098
+ "createdAt": {
5099
+ "nullable": false,
5100
+ "type": {
5101
+ "codecId": "pg/timestamptz-string@1",
5102
+ "kind": "scalar"
5103
+ }
5104
+ },
5105
+ "createdAtMs": {
5106
+ "nullable": false,
5107
+ "type": {
5108
+ "codecId": "pg/int8@1",
5109
+ "kind": "scalar"
5110
+ }
5111
+ },
5112
+ "id": {
5113
+ "nullable": false,
5114
+ "type": {
5115
+ "codecId": "pg/text@1",
5116
+ "kind": "scalar"
5117
+ }
5118
+ },
5119
+ "kind": {
5120
+ "nullable": false,
5121
+ "type": {
5122
+ "codecId": "pg/text@1",
5123
+ "kind": "scalar"
5124
+ }
5125
+ },
5126
+ "payload": {
5127
+ "nullable": false,
5128
+ "type": {
5129
+ "codecId": "pg/json@1",
5130
+ "kind": "scalar"
5131
+ }
5132
+ },
5133
+ "requestId": {
5134
+ "nullable": false,
5135
+ "type": {
5136
+ "codecId": "pg/text@1",
5137
+ "kind": "scalar"
5138
+ }
5139
+ },
5140
+ "seq": {
5141
+ "nullable": false,
5142
+ "type": {
5143
+ "codecId": "pg/int4@1",
5144
+ "kind": "scalar"
5145
+ }
5146
+ },
5147
+ "visibility": {
5148
+ "nullable": false,
5149
+ "type": {
5150
+ "codecId": "pg/text@1",
5151
+ "kind": "scalar"
5152
+ }
5153
+ }
5154
+ },
5155
+ "relations": {},
5156
+ "storage": {
5157
+ "fields": {
5158
+ "createdAt": {
5159
+ "column": "createdAt"
5160
+ },
5161
+ "createdAtMs": {
5162
+ "column": "createdAtMs"
5163
+ },
5164
+ "id": {
5165
+ "column": "id"
5166
+ },
5167
+ "kind": {
5168
+ "column": "kind"
5169
+ },
5170
+ "payload": {
5171
+ "column": "payload"
5172
+ },
5173
+ "requestId": {
5174
+ "column": "requestId"
5175
+ },
5176
+ "seq": {
5177
+ "column": "seq"
5178
+ },
5179
+ "visibility": {
5180
+ "column": "visibility"
5181
+ }
5182
+ },
5183
+ "namespaceId": "public",
5184
+ "table": "interactionEvent"
5185
+ }
5186
+ },
5187
+ "InteractionResponse": {
5188
+ "fields": {
5189
+ "body": {
5190
+ "nullable": false,
5191
+ "type": {
5192
+ "codecId": "pg/text@1",
5193
+ "kind": "scalar"
5194
+ }
5195
+ },
5196
+ "createdAt": {
5197
+ "nullable": false,
5198
+ "type": {
5199
+ "codecId": "pg/timestamptz-string@1",
5200
+ "kind": "scalar"
5201
+ }
5202
+ },
5203
+ "createdAtMs": {
5204
+ "nullable": false,
5205
+ "type": {
5206
+ "codecId": "pg/int8@1",
5207
+ "kind": "scalar"
5208
+ }
5209
+ },
5210
+ "id": {
5211
+ "nullable": false,
5212
+ "type": {
5213
+ "codecId": "pg/text@1",
5214
+ "kind": "scalar"
5215
+ }
5216
+ },
5217
+ "operatorRef": {
5218
+ "nullable": false,
5219
+ "type": {
5220
+ "codecId": "pg/text@1",
5221
+ "kind": "scalar"
5222
+ }
5223
+ },
5224
+ "requestId": {
5225
+ "nullable": false,
5226
+ "type": {
5227
+ "codecId": "pg/text@1",
5228
+ "kind": "scalar"
5229
+ }
5230
+ }
5231
+ },
5232
+ "relations": {},
5233
+ "storage": {
5234
+ "fields": {
5235
+ "body": {
5236
+ "column": "body"
5237
+ },
5238
+ "createdAt": {
5239
+ "column": "createdAt"
5240
+ },
5241
+ "createdAtMs": {
5242
+ "column": "createdAtMs"
5243
+ },
5244
+ "id": {
5245
+ "column": "id"
5246
+ },
5247
+ "operatorRef": {
5248
+ "column": "operatorRef"
5249
+ },
5250
+ "requestId": {
5251
+ "column": "requestId"
5252
+ }
5253
+ },
5254
+ "namespaceId": "public",
5255
+ "table": "interactionResponse"
5256
+ }
5257
+ },
5258
+ "InteractionSession": {
5259
+ "fields": {
5260
+ "actorRef": {
5261
+ "nullable": true,
5262
+ "type": {
5263
+ "codecId": "pg/text@1",
5264
+ "kind": "scalar"
5265
+ }
5266
+ },
5267
+ "createdAt": {
5268
+ "nullable": false,
5269
+ "type": {
5270
+ "codecId": "pg/timestamptz-string@1",
5271
+ "kind": "scalar"
5272
+ }
5273
+ },
5274
+ "firstSeenAtMs": {
5275
+ "nullable": false,
5276
+ "type": {
5277
+ "codecId": "pg/int8@1",
5278
+ "kind": "scalar"
5279
+ }
5280
+ },
5281
+ "id": {
5282
+ "nullable": false,
5283
+ "type": {
5284
+ "codecId": "pg/text@1",
5285
+ "kind": "scalar"
5286
+ }
5287
+ },
5288
+ "lastSeenAtMs": {
5289
+ "nullable": false,
5290
+ "type": {
5291
+ "codecId": "pg/int8@1",
5292
+ "kind": "scalar"
5293
+ }
5294
+ },
5295
+ "requestCount": {
5296
+ "nullable": false,
5297
+ "type": {
5298
+ "codecId": "pg/int4@1",
5299
+ "kind": "scalar"
5300
+ }
5301
+ },
5302
+ "updatedAt": {
5303
+ "nullable": false,
5304
+ "type": {
5305
+ "codecId": "pg/timestamptz-string@1",
5306
+ "kind": "scalar"
5307
+ }
5308
+ }
5309
+ },
5310
+ "relations": {},
5311
+ "storage": {
5312
+ "fields": {
5313
+ "actorRef": {
5314
+ "column": "actorRef"
5315
+ },
5316
+ "createdAt": {
5317
+ "column": "createdAt"
5318
+ },
5319
+ "firstSeenAtMs": {
5320
+ "column": "firstSeenAtMs"
5321
+ },
5322
+ "id": {
5323
+ "column": "id"
5324
+ },
5325
+ "lastSeenAtMs": {
5326
+ "column": "lastSeenAtMs"
5327
+ },
5328
+ "requestCount": {
5329
+ "column": "requestCount"
5330
+ },
5331
+ "updatedAt": {
5332
+ "column": "updatedAt"
5333
+ }
5334
+ },
5335
+ "namespaceId": "public",
5336
+ "table": "interactionSession"
5337
+ }
5338
+ },
4944
5339
  "MarketplaceMeta": {
4945
5340
  "fields": {
4946
5341
  "createdAt": {
@@ -7522,6 +7917,13 @@
7522
7917
  "kind": "scalar"
7523
7918
  }
7524
7919
  },
7920
+ "dealFingerprint": {
7921
+ "nullable": true,
7922
+ "type": {
7923
+ "codecId": "pg/text@1",
7924
+ "kind": "scalar"
7925
+ }
7926
+ },
7525
7927
  "decidedAtMs": {
7526
7928
  "nullable": true,
7527
7929
  "type": {
@@ -7615,6 +8017,9 @@
7615
8017
  "createdAtMs": {
7616
8018
  "column": "createdAtMs"
7617
8019
  },
8020
+ "dealFingerprint": {
8021
+ "column": "dealFingerprint"
8022
+ },
7618
8023
  "decidedAtMs": {
7619
8024
  "column": "decidedAtMs"
7620
8025
  },
@@ -8769,11 +9174,31 @@
8769
9174
  },
8770
9175
  "agentRequest": {
8771
9176
  "columns": {
9177
+ "actorRef": {
9178
+ "codecId": "pg/text@1",
9179
+ "nativeType": "text",
9180
+ "nullable": true
9181
+ },
9182
+ "actorResolution": {
9183
+ "codecId": "pg/text@1",
9184
+ "nativeType": "text",
9185
+ "nullable": true
9186
+ },
8772
9187
  "agentId": {
8773
9188
  "codecId": "pg/text@1",
8774
9189
  "nativeType": "text",
8775
9190
  "nullable": true
8776
9191
  },
9192
+ "channel": {
9193
+ "codecId": "pg/text@1",
9194
+ "nativeType": "text",
9195
+ "nullable": true
9196
+ },
9197
+ "classifiedBy": {
9198
+ "codecId": "pg/text@1",
9199
+ "nativeType": "text",
9200
+ "nullable": true
9201
+ },
8777
9202
  "createdAt": {
8778
9203
  "codecId": "pg/timestamptz-string@1",
8779
9204
  "default": {
@@ -8788,6 +9213,16 @@
8788
9213
  "nativeType": "int8",
8789
9214
  "nullable": false
8790
9215
  },
9216
+ "demandSignals": {
9217
+ "codecId": "pg/json@1",
9218
+ "nativeType": "json",
9219
+ "nullable": true
9220
+ },
9221
+ "entities": {
9222
+ "codecId": "pg/json@1",
9223
+ "nativeType": "json",
9224
+ "nullable": true
9225
+ },
8791
9226
  "expiresAtMs": {
8792
9227
  "codecId": "pg/int8@1",
8793
9228
  "nativeType": "int8",
@@ -8813,11 +9248,30 @@
8813
9248
  "nativeType": "text",
8814
9249
  "nullable": true
8815
9250
  },
9251
+ "intent": {
9252
+ "codecId": "pg/text@1",
9253
+ "nativeType": "text",
9254
+ "nullable": true
9255
+ },
8816
9256
  "kind": {
8817
9257
  "codecId": "pg/text@1",
8818
9258
  "nativeType": "text",
8819
9259
  "nullable": true
8820
9260
  },
9261
+ "knowledgeGap": {
9262
+ "codecId": "pg/bool@1",
9263
+ "default": {
9264
+ "kind": "literal",
9265
+ "value": false
9266
+ },
9267
+ "nativeType": "bool",
9268
+ "nullable": false
9269
+ },
9270
+ "outcome": {
9271
+ "codecId": "pg/text@1",
9272
+ "nativeType": "text",
9273
+ "nullable": true
9274
+ },
8821
9275
  "payload": {
8822
9276
  "codecId": "pg/json@1",
8823
9277
  "nativeType": "json",
@@ -8842,6 +9296,16 @@
8842
9296
  "nativeType": "json",
8843
9297
  "nullable": true
8844
9298
  },
9299
+ "sessionId": {
9300
+ "codecId": "pg/text@1",
9301
+ "nativeType": "text",
9302
+ "nullable": true
9303
+ },
9304
+ "signalType": {
9305
+ "codecId": "pg/text@1",
9306
+ "nativeType": "text",
9307
+ "nullable": true
9308
+ },
8845
9309
  "spamFlag": {
8846
9310
  "codecId": "pg/bool@1",
8847
9311
  "default": {
@@ -8856,6 +9320,11 @@
8856
9320
  "nativeType": "text",
8857
9321
  "nullable": false
8858
9322
  },
9323
+ "topics": {
9324
+ "codecId": "pg/json@1",
9325
+ "nativeType": "json",
9326
+ "nullable": true
9327
+ },
8859
9328
  "updatedAt": {
8860
9329
  "codecId": "pg/timestamptz-string@1",
8861
9330
  "nativeType": "timestamptz",
@@ -8873,6 +9342,22 @@
8873
9342
  },
8874
9343
  "foreignKeys": [],
8875
9344
  "indexes": [
9345
+ {
9346
+ "columns": [
9347
+ "actorRef"
9348
+ ],
9349
+ "name": "agentRequest_actorRef_idx_da577f54",
9350
+ "prefix": "agentRequest_actorRef_idx",
9351
+ "unique": false
9352
+ },
9353
+ {
9354
+ "columns": [
9355
+ "actorResolution"
9356
+ ],
9357
+ "name": "agentRequest_actorResolution_idx_42e62734",
9358
+ "prefix": "agentRequest_actorResolution_idx",
9359
+ "unique": false
9360
+ },
8876
9361
  {
8877
9362
  "columns": [
8878
9363
  "agentId"
@@ -8897,6 +9382,14 @@
8897
9382
  "prefix": "agentRequest_fpHash_idx",
8898
9383
  "unique": false
8899
9384
  },
9385
+ {
9386
+ "columns": [
9387
+ "sessionId"
9388
+ ],
9389
+ "name": "agentRequest_sessionId_idx_29f415d4",
9390
+ "prefix": "agentRequest_sessionId_idx",
9391
+ "unique": false
9392
+ },
8900
9393
  {
8901
9394
  "columns": [
8902
9395
  "state",
@@ -10103,6 +10596,14 @@
10103
10596
  "name": "commerceAgreement_status_idx_e98638ab",
10104
10597
  "prefix": "commerceAgreement_status_idx",
10105
10598
  "unique": false
10599
+ },
10600
+ {
10601
+ "columns": [
10602
+ "taskId"
10603
+ ],
10604
+ "name": "commerceAgreement_taskId_idx_4965c936",
10605
+ "prefix": "commerceAgreement_taskId_idx",
10606
+ "unique": false
10106
10607
  }
10107
10608
  ],
10108
10609
  "primaryKey": {
@@ -10111,11 +10612,6 @@
10111
10612
  ]
10112
10613
  },
10113
10614
  "uniques": [
10114
- {
10115
- "columns": [
10116
- "taskId"
10117
- ]
10118
- },
10119
10615
  {
10120
10616
  "columns": [
10121
10617
  "offerId"
@@ -10559,6 +11055,11 @@
10559
11055
  "nativeType": "text",
10560
11056
  "nullable": false
10561
11057
  },
11058
+ "milestoneRef": {
11059
+ "codecId": "pg/text@1",
11060
+ "nativeType": "text",
11061
+ "nullable": true
11062
+ },
10562
11063
  "payload": {
10563
11064
  "codecId": "pg/json@1",
10564
11065
  "nativeType": "json",
@@ -10616,6 +11117,14 @@
10616
11117
  "prefix": "commerceSubmission_agreementId_createdAt_idx",
10617
11118
  "unique": false
10618
11119
  },
11120
+ {
11121
+ "columns": [
11122
+ "milestoneRef"
11123
+ ],
11124
+ "name": "commerceSubmission_milestoneRef_idx_47b89f34",
11125
+ "prefix": "commerceSubmission_milestoneRef_idx",
11126
+ "unique": false
11127
+ },
10619
11128
  {
10620
11129
  "columns": [
10621
11130
  "providerWallet"
@@ -10690,6 +11199,15 @@
10690
11199
  "nativeType": "text",
10691
11200
  "nullable": false
10692
11201
  },
11202
+ "maxProviders": {
11203
+ "codecId": "pg/int4@1",
11204
+ "default": {
11205
+ "kind": "literal",
11206
+ "value": 1
11207
+ },
11208
+ "nativeType": "int4",
11209
+ "nullable": false
11210
+ },
10693
11211
  "payload": {
10694
11212
  "codecId": "pg/json@1",
10695
11213
  "nativeType": "json",
@@ -11999,6 +12517,197 @@
11999
12517
  }
12000
12518
  ]
12001
12519
  },
12520
+ "interactionEvent": {
12521
+ "columns": {
12522
+ "createdAt": {
12523
+ "codecId": "pg/timestamptz-string@1",
12524
+ "default": {
12525
+ "expression": "now()",
12526
+ "kind": "function"
12527
+ },
12528
+ "nativeType": "timestamptz",
12529
+ "nullable": false
12530
+ },
12531
+ "createdAtMs": {
12532
+ "codecId": "pg/int8@1",
12533
+ "nativeType": "int8",
12534
+ "nullable": false
12535
+ },
12536
+ "id": {
12537
+ "codecId": "pg/text@1",
12538
+ "nativeType": "text",
12539
+ "nullable": false
12540
+ },
12541
+ "kind": {
12542
+ "codecId": "pg/text@1",
12543
+ "nativeType": "text",
12544
+ "nullable": false
12545
+ },
12546
+ "payload": {
12547
+ "codecId": "pg/json@1",
12548
+ "nativeType": "json",
12549
+ "nullable": false
12550
+ },
12551
+ "requestId": {
12552
+ "codecId": "pg/text@1",
12553
+ "nativeType": "text",
12554
+ "nullable": false
12555
+ },
12556
+ "seq": {
12557
+ "codecId": "pg/int4@1",
12558
+ "nativeType": "int4",
12559
+ "nullable": false
12560
+ },
12561
+ "visibility": {
12562
+ "codecId": "pg/text@1",
12563
+ "nativeType": "text",
12564
+ "nullable": false
12565
+ }
12566
+ },
12567
+ "foreignKeys": [],
12568
+ "indexes": [
12569
+ {
12570
+ "columns": [
12571
+ "kind"
12572
+ ],
12573
+ "name": "interactionEvent_kind_idx_c9ca668f",
12574
+ "prefix": "interactionEvent_kind_idx",
12575
+ "unique": false
12576
+ }
12577
+ ],
12578
+ "primaryKey": {
12579
+ "columns": [
12580
+ "id"
12581
+ ]
12582
+ },
12583
+ "uniques": [
12584
+ {
12585
+ "columns": [
12586
+ "requestId",
12587
+ "seq"
12588
+ ]
12589
+ }
12590
+ ]
12591
+ },
12592
+ "interactionResponse": {
12593
+ "columns": {
12594
+ "body": {
12595
+ "codecId": "pg/text@1",
12596
+ "nativeType": "text",
12597
+ "nullable": false
12598
+ },
12599
+ "createdAt": {
12600
+ "codecId": "pg/timestamptz-string@1",
12601
+ "default": {
12602
+ "expression": "now()",
12603
+ "kind": "function"
12604
+ },
12605
+ "nativeType": "timestamptz",
12606
+ "nullable": false
12607
+ },
12608
+ "createdAtMs": {
12609
+ "codecId": "pg/int8@1",
12610
+ "nativeType": "int8",
12611
+ "nullable": false
12612
+ },
12613
+ "id": {
12614
+ "codecId": "pg/text@1",
12615
+ "nativeType": "text",
12616
+ "nullable": false
12617
+ },
12618
+ "operatorRef": {
12619
+ "codecId": "pg/text@1",
12620
+ "nativeType": "text",
12621
+ "nullable": false
12622
+ },
12623
+ "requestId": {
12624
+ "codecId": "pg/text@1",
12625
+ "nativeType": "text",
12626
+ "nullable": false
12627
+ }
12628
+ },
12629
+ "foreignKeys": [],
12630
+ "indexes": [
12631
+ {
12632
+ "columns": [
12633
+ "requestId"
12634
+ ],
12635
+ "name": "interactionResponse_requestId_idx_fd667f92",
12636
+ "prefix": "interactionResponse_requestId_idx",
12637
+ "unique": false
12638
+ }
12639
+ ],
12640
+ "primaryKey": {
12641
+ "columns": [
12642
+ "id"
12643
+ ]
12644
+ },
12645
+ "uniques": []
12646
+ },
12647
+ "interactionSession": {
12648
+ "columns": {
12649
+ "actorRef": {
12650
+ "codecId": "pg/text@1",
12651
+ "nativeType": "text",
12652
+ "nullable": true
12653
+ },
12654
+ "createdAt": {
12655
+ "codecId": "pg/timestamptz-string@1",
12656
+ "default": {
12657
+ "expression": "now()",
12658
+ "kind": "function"
12659
+ },
12660
+ "nativeType": "timestamptz",
12661
+ "nullable": false
12662
+ },
12663
+ "firstSeenAtMs": {
12664
+ "codecId": "pg/int8@1",
12665
+ "nativeType": "int8",
12666
+ "nullable": false
12667
+ },
12668
+ "id": {
12669
+ "codecId": "pg/text@1",
12670
+ "nativeType": "text",
12671
+ "nullable": false
12672
+ },
12673
+ "lastSeenAtMs": {
12674
+ "codecId": "pg/int8@1",
12675
+ "nativeType": "int8",
12676
+ "nullable": false
12677
+ },
12678
+ "requestCount": {
12679
+ "codecId": "pg/int4@1",
12680
+ "default": {
12681
+ "kind": "literal",
12682
+ "value": 0
12683
+ },
12684
+ "nativeType": "int4",
12685
+ "nullable": false
12686
+ },
12687
+ "updatedAt": {
12688
+ "codecId": "pg/timestamptz-string@1",
12689
+ "nativeType": "timestamptz",
12690
+ "nullable": false
12691
+ }
12692
+ },
12693
+ "foreignKeys": [],
12694
+ "indexes": [
12695
+ {
12696
+ "columns": [
12697
+ "actorRef"
12698
+ ],
12699
+ "name": "interactionSession_actorRef_idx_da577f54",
12700
+ "prefix": "interactionSession_actorRef_idx",
12701
+ "unique": false
12702
+ }
12703
+ ],
12704
+ "primaryKey": {
12705
+ "columns": [
12706
+ "id"
12707
+ ]
12708
+ },
12709
+ "uniques": []
12710
+ },
12002
12711
  "marketplaceMeta": {
12003
12712
  "columns": {
12004
12713
  "createdAt": {
@@ -14077,6 +14786,11 @@
14077
14786
  "nativeType": "int8",
14078
14787
  "nullable": false
14079
14788
  },
14789
+ "dealFingerprint": {
14790
+ "codecId": "pg/text@1",
14791
+ "nativeType": "text",
14792
+ "nullable": true
14793
+ },
14080
14794
  "decidedAtMs": {
14081
14795
  "codecId": "pg/int8@1",
14082
14796
  "nativeType": "int8",
@@ -14148,6 +14862,16 @@
14148
14862
  "prefix": "spendApproval_wallet_createdAtMs_idx",
14149
14863
  "unique": false
14150
14864
  },
14865
+ {
14866
+ "columns": [
14867
+ "wallet",
14868
+ "dealFingerprint"
14869
+ ],
14870
+ "name": "spendApproval_wallet_dealFingerprint_idx_996dbbbb",
14871
+ "prefix": "spendApproval_wallet_dealFingerprint_idx",
14872
+ "unique": true,
14873
+ "where": "(state = 'pending')"
14874
+ },
14151
14875
  {
14152
14876
  "columns": [
14153
14877
  "wallet",
@@ -14699,10 +15423,10 @@
14699
15423
  "kind": "postgres-schema"
14700
15424
  }
14701
15425
  },
14702
- "storageHash": "0a3ebb89baf34c26e2199b84f1b23ea0416e64efec0cd3f67a1405678aeda779"
15426
+ "storageHash": "fb111c796948c0c2daa1c7b70adbbacec44f4d2c77598a081e1fe7900cf9884d"
14703
15427
  },
14704
15428
  "execution": {
14705
- "executionHash": "c1d96fa5dc0fd50b864424442bd2c1efd0a624a783ed51f04011d30bc34f5c24",
15429
+ "executionHash": "914fdbd7135607b6b3388ac97e519b56e8dcc170781ea4d5ec6c2a46b7818ba1",
14706
15430
  "mutations": {
14707
15431
  "defaults": [
14708
15432
  {
@@ -15493,6 +16217,54 @@
15493
16217
  "table": "forensicsFunding"
15494
16218
  }
15495
16219
  },
16220
+ {
16221
+ "onCreate": {
16222
+ "id": "uuidv4",
16223
+ "kind": "generator"
16224
+ },
16225
+ "ref": {
16226
+ "column": "id",
16227
+ "namespace": "public",
16228
+ "table": "interactionEvent"
16229
+ }
16230
+ },
16231
+ {
16232
+ "onCreate": {
16233
+ "id": "uuidv4",
16234
+ "kind": "generator"
16235
+ },
16236
+ "ref": {
16237
+ "column": "id",
16238
+ "namespace": "public",
16239
+ "table": "interactionResponse"
16240
+ }
16241
+ },
16242
+ {
16243
+ "onCreate": {
16244
+ "id": "uuidv4",
16245
+ "kind": "generator"
16246
+ },
16247
+ "ref": {
16248
+ "column": "id",
16249
+ "namespace": "public",
16250
+ "table": "interactionSession"
16251
+ }
16252
+ },
16253
+ {
16254
+ "onCreate": {
16255
+ "id": "timestampNow",
16256
+ "kind": "generator"
16257
+ },
16258
+ "onUpdate": {
16259
+ "id": "timestampNow",
16260
+ "kind": "generator"
16261
+ },
16262
+ "ref": {
16263
+ "column": "updatedAt",
16264
+ "namespace": "public",
16265
+ "table": "interactionSession"
16266
+ }
16267
+ },
15496
16268
  {
15497
16269
  "onCreate": {
15498
16270
  "id": "timestampNow",