@agentbadge/database 0.6.19 → 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
  },
@@ -4961,6 +5093,249 @@
4961
5093
  "table": "forensicsFunding"
4962
5094
  }
4963
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
+ },
4964
5339
  "MarketplaceMeta": {
4965
5340
  "fields": {
4966
5341
  "createdAt": {
@@ -7542,6 +7917,13 @@
7542
7917
  "kind": "scalar"
7543
7918
  }
7544
7919
  },
7920
+ "dealFingerprint": {
7921
+ "nullable": true,
7922
+ "type": {
7923
+ "codecId": "pg/text@1",
7924
+ "kind": "scalar"
7925
+ }
7926
+ },
7545
7927
  "decidedAtMs": {
7546
7928
  "nullable": true,
7547
7929
  "type": {
@@ -7635,6 +8017,9 @@
7635
8017
  "createdAtMs": {
7636
8018
  "column": "createdAtMs"
7637
8019
  },
8020
+ "dealFingerprint": {
8021
+ "column": "dealFingerprint"
8022
+ },
7638
8023
  "decidedAtMs": {
7639
8024
  "column": "decidedAtMs"
7640
8025
  },
@@ -8789,11 +9174,31 @@
8789
9174
  },
8790
9175
  "agentRequest": {
8791
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
+ },
8792
9187
  "agentId": {
8793
9188
  "codecId": "pg/text@1",
8794
9189
  "nativeType": "text",
8795
9190
  "nullable": true
8796
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
+ },
8797
9202
  "createdAt": {
8798
9203
  "codecId": "pg/timestamptz-string@1",
8799
9204
  "default": {
@@ -8808,6 +9213,16 @@
8808
9213
  "nativeType": "int8",
8809
9214
  "nullable": false
8810
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
+ },
8811
9226
  "expiresAtMs": {
8812
9227
  "codecId": "pg/int8@1",
8813
9228
  "nativeType": "int8",
@@ -8833,7 +9248,26 @@
8833
9248
  "nativeType": "text",
8834
9249
  "nullable": true
8835
9250
  },
8836
- "kind": {
9251
+ "intent": {
9252
+ "codecId": "pg/text@1",
9253
+ "nativeType": "text",
9254
+ "nullable": true
9255
+ },
9256
+ "kind": {
9257
+ "codecId": "pg/text@1",
9258
+ "nativeType": "text",
9259
+ "nullable": true
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": {
8837
9271
  "codecId": "pg/text@1",
8838
9272
  "nativeType": "text",
8839
9273
  "nullable": true
@@ -8862,6 +9296,16 @@
8862
9296
  "nativeType": "json",
8863
9297
  "nullable": true
8864
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
+ },
8865
9309
  "spamFlag": {
8866
9310
  "codecId": "pg/bool@1",
8867
9311
  "default": {
@@ -8876,6 +9320,11 @@
8876
9320
  "nativeType": "text",
8877
9321
  "nullable": false
8878
9322
  },
9323
+ "topics": {
9324
+ "codecId": "pg/json@1",
9325
+ "nativeType": "json",
9326
+ "nullable": true
9327
+ },
8879
9328
  "updatedAt": {
8880
9329
  "codecId": "pg/timestamptz-string@1",
8881
9330
  "nativeType": "timestamptz",
@@ -8893,6 +9342,22 @@
8893
9342
  },
8894
9343
  "foreignKeys": [],
8895
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
+ },
8896
9361
  {
8897
9362
  "columns": [
8898
9363
  "agentId"
@@ -8917,6 +9382,14 @@
8917
9382
  "prefix": "agentRequest_fpHash_idx",
8918
9383
  "unique": false
8919
9384
  },
9385
+ {
9386
+ "columns": [
9387
+ "sessionId"
9388
+ ],
9389
+ "name": "agentRequest_sessionId_idx_29f415d4",
9390
+ "prefix": "agentRequest_sessionId_idx",
9391
+ "unique": false
9392
+ },
8920
9393
  {
8921
9394
  "columns": [
8922
9395
  "state",
@@ -12044,6 +12517,197 @@
12044
12517
  }
12045
12518
  ]
12046
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
+ },
12047
12711
  "marketplaceMeta": {
12048
12712
  "columns": {
12049
12713
  "createdAt": {
@@ -14122,6 +14786,11 @@
14122
14786
  "nativeType": "int8",
14123
14787
  "nullable": false
14124
14788
  },
14789
+ "dealFingerprint": {
14790
+ "codecId": "pg/text@1",
14791
+ "nativeType": "text",
14792
+ "nullable": true
14793
+ },
14125
14794
  "decidedAtMs": {
14126
14795
  "codecId": "pg/int8@1",
14127
14796
  "nativeType": "int8",
@@ -14193,6 +14862,16 @@
14193
14862
  "prefix": "spendApproval_wallet_createdAtMs_idx",
14194
14863
  "unique": false
14195
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
+ },
14196
14875
  {
14197
14876
  "columns": [
14198
14877
  "wallet",
@@ -14744,10 +15423,10 @@
14744
15423
  "kind": "postgres-schema"
14745
15424
  }
14746
15425
  },
14747
- "storageHash": "c9f2020ddef080ce0f72aac86fcec6f3731b2218a222c863d70eba658341621b"
15426
+ "storageHash": "fb111c796948c0c2daa1c7b70adbbacec44f4d2c77598a081e1fe7900cf9884d"
14748
15427
  },
14749
15428
  "execution": {
14750
- "executionHash": "c1d96fa5dc0fd50b864424442bd2c1efd0a624a783ed51f04011d30bc34f5c24",
15429
+ "executionHash": "914fdbd7135607b6b3388ac97e519b56e8dcc170781ea4d5ec6c2a46b7818ba1",
14751
15430
  "mutations": {
14752
15431
  "defaults": [
14753
15432
  {
@@ -15538,6 +16217,54 @@
15538
16217
  "table": "forensicsFunding"
15539
16218
  }
15540
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
+ },
15541
16268
  {
15542
16269
  "onCreate": {
15543
16270
  "id": "timestampNow",