@happyvertical/smrt-ingestion 0.60.9 → 0.60.11
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.
- package/dist/manifest.json +105 -27
- package/dist/models.js +1 -1
- package/dist/models.js.map +1 -1
- package/dist/smrt-knowledge.json +3 -3
- package/dist/smrt-knowledge.okf.md +111 -0
- package/package.json +17 -17
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-ingestion",
|
|
5
|
-
"packageVersion": "0.60.
|
|
5
|
+
"packageVersion": "0.60.11",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-ingestion:IntakeItem": {
|
|
8
8
|
"name": "intakeitem",
|
|
@@ -360,8 +360,14 @@
|
|
|
360
360
|
],
|
|
361
361
|
"schema": {
|
|
362
362
|
"tableName": "intake_items",
|
|
363
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_items\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"source_id\" TEXT NOT NULL,\n \"source_version\" TEXT NOT NULL,\n \"delivery_key\" TEXT NOT NULL,\n \"payload_digest\" TEXT NOT NULL,\n \"scope_digest\" TEXT NOT NULL,\n \"receipt_state\" TEXT NOT NULL,\n \"processing_state\" TEXT NOT NULL,\n \"visibility\" TEXT NOT NULL,\n \"receipt_version\" INTEGER NOT NULL,\n \"analysis_revision\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"lease_token\" TEXT NOT NULL,\n \"lease_until\" TIMESTAMP,\n \"expires_at\" TIMESTAMP NOT NULL,\n \"replay_until\" TIMESTAMP NOT NULL,\n \"cancelled\" BOOLEAN NOT NULL,\n \"trace_id\" TEXT NOT NULL,\n \"submitter_id\" TEXT NOT NULL DEFAULT '',\n \"owner_key\" TEXT NOT NULL DEFAULT '',\n \"data\" JSON NOT NULL\n);",
|
|
363
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_items\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"source_id\" TEXT NOT NULL,\n \"source_version\" TEXT NOT NULL,\n \"delivery_key\" TEXT NOT NULL,\n \"payload_digest\" TEXT NOT NULL,\n \"scope_digest\" TEXT NOT NULL,\n \"receipt_state\" TEXT NOT NULL,\n \"processing_state\" TEXT NOT NULL,\n \"visibility\" TEXT NOT NULL,\n \"receipt_version\" INTEGER NOT NULL,\n \"analysis_revision\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"lease_token\" TEXT NOT NULL,\n \"lease_until\" TIMESTAMP,\n \"expires_at\" TIMESTAMP NOT NULL,\n \"replay_until\" TIMESTAMP NOT NULL,\n \"cancelled\" BOOLEAN NOT NULL,\n \"trace_id\" TEXT NOT NULL,\n \"submitter_id\" TEXT NOT NULL DEFAULT '',\n \"owner_key\" TEXT NOT NULL DEFAULT '',\n \"data\" JSON NOT NULL\n);",
|
|
364
364
|
"columns": {
|
|
365
|
+
"_sync_origin_device_id": {
|
|
366
|
+
"type": "TEXT"
|
|
367
|
+
},
|
|
368
|
+
"_sync_revision": {
|
|
369
|
+
"type": "INTEGER"
|
|
370
|
+
},
|
|
365
371
|
"id": {
|
|
366
372
|
"type": "UUID",
|
|
367
373
|
"primaryKey": true,
|
|
@@ -571,7 +577,7 @@
|
|
|
571
577
|
]
|
|
572
578
|
}
|
|
573
579
|
],
|
|
574
|
-
"version": "
|
|
580
|
+
"version": "2d9cb693"
|
|
575
581
|
},
|
|
576
582
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
577
583
|
},
|
|
@@ -782,8 +788,14 @@
|
|
|
782
788
|
],
|
|
783
789
|
"schema": {
|
|
784
790
|
"tableName": "intake_evidence",
|
|
785
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_evidence\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"part_id\" TEXT NOT NULL,\n \"parent_evidence_id\" UUID,\n \"asset_id\" UUID,\n \"state\" TEXT NOT NULL,\n \"content_hash\" TEXT NOT NULL,\n \"byte_length\" INTEGER NOT NULL,\n \"media_type\" TEXT NOT NULL,\n \"source_uri\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
791
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_evidence\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"part_id\" TEXT NOT NULL,\n \"parent_evidence_id\" UUID,\n \"asset_id\" UUID,\n \"state\" TEXT NOT NULL,\n \"content_hash\" TEXT NOT NULL,\n \"byte_length\" INTEGER NOT NULL,\n \"media_type\" TEXT NOT NULL,\n \"source_uri\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
786
792
|
"columns": {
|
|
793
|
+
"_sync_origin_device_id": {
|
|
794
|
+
"type": "TEXT"
|
|
795
|
+
},
|
|
796
|
+
"_sync_revision": {
|
|
797
|
+
"type": "INTEGER"
|
|
798
|
+
},
|
|
787
799
|
"id": {
|
|
788
800
|
"type": "UUID",
|
|
789
801
|
"primaryKey": true,
|
|
@@ -950,7 +962,7 @@
|
|
|
950
962
|
]
|
|
951
963
|
}
|
|
952
964
|
],
|
|
953
|
-
"version": "
|
|
965
|
+
"version": "41d279e4"
|
|
954
966
|
},
|
|
955
967
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
956
968
|
},
|
|
@@ -1140,8 +1152,14 @@
|
|
|
1140
1152
|
],
|
|
1141
1153
|
"schema": {
|
|
1142
1154
|
"tableName": "intake_analyses",
|
|
1143
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_analyses\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"attempt_number\" INTEGER NOT NULL,\n \"current_attempt_id\" UUID,\n \"state\" TEXT NOT NULL,\n \"input_digest\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
1155
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_analyses\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"attempt_number\" INTEGER NOT NULL,\n \"current_attempt_id\" UUID,\n \"state\" TEXT NOT NULL,\n \"input_digest\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
1144
1156
|
"columns": {
|
|
1157
|
+
"_sync_origin_device_id": {
|
|
1158
|
+
"type": "TEXT"
|
|
1159
|
+
},
|
|
1160
|
+
"_sync_revision": {
|
|
1161
|
+
"type": "INTEGER"
|
|
1162
|
+
},
|
|
1145
1163
|
"id": {
|
|
1146
1164
|
"type": "UUID",
|
|
1147
1165
|
"primaryKey": true,
|
|
@@ -1291,7 +1309,7 @@
|
|
|
1291
1309
|
]
|
|
1292
1310
|
}
|
|
1293
1311
|
],
|
|
1294
|
-
"version": "
|
|
1312
|
+
"version": "0e285327"
|
|
1295
1313
|
},
|
|
1296
1314
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
1297
1315
|
},
|
|
@@ -1512,8 +1530,14 @@
|
|
|
1512
1530
|
],
|
|
1513
1531
|
"schema": {
|
|
1514
1532
|
"tableName": "intake_analysis_attempts",
|
|
1515
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_analysis_attempts\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"analysis_id\" UUID NOT NULL,\n \"attempt_number\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"state\" TEXT NOT NULL,\n \"lease_token\" TEXT NOT NULL,\n \"lease_until\" TIMESTAMP,\n \"output_digest\" TEXT NOT NULL,\n \"safe_error\" TEXT NOT NULL,\n \"confidence\" REAL,\n \"data\" JSON NOT NULL\n);",
|
|
1533
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_analysis_attempts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"analysis_id\" UUID NOT NULL,\n \"attempt_number\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"state\" TEXT NOT NULL,\n \"lease_token\" TEXT NOT NULL,\n \"lease_until\" TIMESTAMP,\n \"output_digest\" TEXT NOT NULL,\n \"safe_error\" TEXT NOT NULL,\n \"confidence\" REAL,\n \"data\" JSON NOT NULL\n);",
|
|
1516
1534
|
"columns": {
|
|
1535
|
+
"_sync_origin_device_id": {
|
|
1536
|
+
"type": "TEXT"
|
|
1537
|
+
},
|
|
1538
|
+
"_sync_revision": {
|
|
1539
|
+
"type": "INTEGER"
|
|
1540
|
+
},
|
|
1517
1541
|
"id": {
|
|
1518
1542
|
"type": "UUID",
|
|
1519
1543
|
"primaryKey": true,
|
|
@@ -1678,7 +1702,7 @@
|
|
|
1678
1702
|
]
|
|
1679
1703
|
}
|
|
1680
1704
|
],
|
|
1681
|
-
"version": "
|
|
1705
|
+
"version": "47007a82"
|
|
1682
1706
|
},
|
|
1683
1707
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
1684
1708
|
},
|
|
@@ -1830,8 +1854,14 @@
|
|
|
1830
1854
|
],
|
|
1831
1855
|
"schema": {
|
|
1832
1856
|
"tableName": "intake_plans",
|
|
1833
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_plans\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"plan_key\" TEXT NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"digest\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
1857
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_plans\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"plan_key\" TEXT NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"digest\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
1834
1858
|
"columns": {
|
|
1859
|
+
"_sync_origin_device_id": {
|
|
1860
|
+
"type": "TEXT"
|
|
1861
|
+
},
|
|
1862
|
+
"_sync_revision": {
|
|
1863
|
+
"type": "INTEGER"
|
|
1864
|
+
},
|
|
1835
1865
|
"id": {
|
|
1836
1866
|
"type": "UUID",
|
|
1837
1867
|
"primaryKey": true,
|
|
@@ -1947,7 +1977,7 @@
|
|
|
1947
1977
|
]
|
|
1948
1978
|
}
|
|
1949
1979
|
],
|
|
1950
|
-
"version": "
|
|
1980
|
+
"version": "2efbbcdc"
|
|
1951
1981
|
},
|
|
1952
1982
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
1953
1983
|
},
|
|
@@ -2153,8 +2183,14 @@
|
|
|
2153
2183
|
],
|
|
2154
2184
|
"schema": {
|
|
2155
2185
|
"tableName": "intake_actions",
|
|
2156
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_actions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_key\" TEXT NOT NULL,\n \"state\" TEXT NOT NULL,\n \"proposal_revision\" INTEGER NOT NULL,\n \"review_version\" INTEGER NOT NULL,\n \"execution_attempt\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"result_digest\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
2186
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_actions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_key\" TEXT NOT NULL,\n \"state\" TEXT NOT NULL,\n \"proposal_revision\" INTEGER NOT NULL,\n \"review_version\" INTEGER NOT NULL,\n \"execution_attempt\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"result_digest\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
2157
2187
|
"columns": {
|
|
2188
|
+
"_sync_origin_device_id": {
|
|
2189
|
+
"type": "TEXT"
|
|
2190
|
+
},
|
|
2191
|
+
"_sync_revision": {
|
|
2192
|
+
"type": "INTEGER"
|
|
2193
|
+
},
|
|
2158
2194
|
"id": {
|
|
2159
2195
|
"type": "UUID",
|
|
2160
2196
|
"primaryKey": true,
|
|
@@ -2296,7 +2332,7 @@
|
|
|
2296
2332
|
]
|
|
2297
2333
|
}
|
|
2298
2334
|
],
|
|
2299
|
-
"version": "
|
|
2335
|
+
"version": "f6ceec91"
|
|
2300
2336
|
},
|
|
2301
2337
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
2302
2338
|
},
|
|
@@ -2474,8 +2510,14 @@
|
|
|
2474
2510
|
],
|
|
2475
2511
|
"schema": {
|
|
2476
2512
|
"tableName": "intake_proposals",
|
|
2477
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_proposals\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_id\" UUID NOT NULL,\n \"analysis_id\" UUID NOT NULL,\n \"analysis_attempt_id\" UUID NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"binding_hash\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
2513
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_proposals\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_id\" UUID NOT NULL,\n \"analysis_id\" UUID NOT NULL,\n \"analysis_attempt_id\" UUID NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"binding_hash\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
2478
2514
|
"columns": {
|
|
2515
|
+
"_sync_origin_device_id": {
|
|
2516
|
+
"type": "TEXT"
|
|
2517
|
+
},
|
|
2518
|
+
"_sync_revision": {
|
|
2519
|
+
"type": "INTEGER"
|
|
2520
|
+
},
|
|
2479
2521
|
"id": {
|
|
2480
2522
|
"type": "UUID",
|
|
2481
2523
|
"primaryKey": true,
|
|
@@ -2639,7 +2681,7 @@
|
|
|
2639
2681
|
]
|
|
2640
2682
|
}
|
|
2641
2683
|
],
|
|
2642
|
-
"version": "
|
|
2684
|
+
"version": "fb811c7c"
|
|
2643
2685
|
},
|
|
2644
2686
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
2645
2687
|
},
|
|
@@ -2816,8 +2858,14 @@
|
|
|
2816
2858
|
],
|
|
2817
2859
|
"schema": {
|
|
2818
2860
|
"tableName": "intake_review_decisions",
|
|
2819
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_review_decisions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_id\" UUID NOT NULL,\n \"proposal_id\" UUID NOT NULL,\n \"review_version\" INTEGER NOT NULL,\n \"binding_hash\" TEXT NOT NULL,\n \"decision\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
2861
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_review_decisions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_id\" UUID NOT NULL,\n \"proposal_id\" UUID NOT NULL,\n \"review_version\" INTEGER NOT NULL,\n \"binding_hash\" TEXT NOT NULL,\n \"decision\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
2820
2862
|
"columns": {
|
|
2863
|
+
"_sync_origin_device_id": {
|
|
2864
|
+
"type": "TEXT"
|
|
2865
|
+
},
|
|
2866
|
+
"_sync_revision": {
|
|
2867
|
+
"type": "INTEGER"
|
|
2868
|
+
},
|
|
2821
2869
|
"id": {
|
|
2822
2870
|
"type": "UUID",
|
|
2823
2871
|
"primaryKey": true,
|
|
@@ -2968,7 +3016,7 @@
|
|
|
2968
3016
|
]
|
|
2969
3017
|
}
|
|
2970
3018
|
],
|
|
2971
|
-
"version": "
|
|
3019
|
+
"version": "09abebd4"
|
|
2972
3020
|
},
|
|
2973
3021
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
2974
3022
|
},
|
|
@@ -3175,8 +3223,14 @@
|
|
|
3175
3223
|
],
|
|
3176
3224
|
"schema": {
|
|
3177
3225
|
"tableName": "intake_executions",
|
|
3178
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_executions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_id\" UUID NOT NULL,\n \"attempt_number\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"state\" TEXT NOT NULL,\n \"binding_hash\" TEXT NOT NULL,\n \"result_digest\" TEXT NOT NULL,\n \"idempotency_key\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
3226
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_executions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"action_id\" UUID NOT NULL,\n \"attempt_number\" INTEGER NOT NULL,\n \"fence\" INTEGER NOT NULL,\n \"state\" TEXT NOT NULL,\n \"binding_hash\" TEXT NOT NULL,\n \"result_digest\" TEXT NOT NULL,\n \"idempotency_key\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
3179
3227
|
"columns": {
|
|
3228
|
+
"_sync_origin_device_id": {
|
|
3229
|
+
"type": "TEXT"
|
|
3230
|
+
},
|
|
3231
|
+
"_sync_revision": {
|
|
3232
|
+
"type": "INTEGER"
|
|
3233
|
+
},
|
|
3180
3234
|
"id": {
|
|
3181
3235
|
"type": "UUID",
|
|
3182
3236
|
"primaryKey": true,
|
|
@@ -3331,7 +3385,7 @@
|
|
|
3331
3385
|
]
|
|
3332
3386
|
}
|
|
3333
3387
|
],
|
|
3334
|
-
"version": "
|
|
3388
|
+
"version": "89964fc0"
|
|
3335
3389
|
},
|
|
3336
3390
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
3337
3391
|
},
|
|
@@ -3478,8 +3532,14 @@
|
|
|
3478
3532
|
],
|
|
3479
3533
|
"schema": {
|
|
3480
3534
|
"tableName": "intake_feedback",
|
|
3481
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_feedback\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"request_key\" TEXT NOT NULL,\n \"supersedes_id\" UUID,\n \"kind\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
3535
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_feedback\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"request_key\" TEXT NOT NULL,\n \"supersedes_id\" UUID,\n \"kind\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
3482
3536
|
"columns": {
|
|
3537
|
+
"_sync_origin_device_id": {
|
|
3538
|
+
"type": "TEXT"
|
|
3539
|
+
},
|
|
3540
|
+
"_sync_revision": {
|
|
3541
|
+
"type": "INTEGER"
|
|
3542
|
+
},
|
|
3483
3543
|
"id": {
|
|
3484
3544
|
"type": "UUID",
|
|
3485
3545
|
"primaryKey": true,
|
|
@@ -3607,7 +3667,7 @@
|
|
|
3607
3667
|
]
|
|
3608
3668
|
}
|
|
3609
3669
|
],
|
|
3610
|
-
"version": "
|
|
3670
|
+
"version": "861b4e22"
|
|
3611
3671
|
},
|
|
3612
3672
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
3613
3673
|
},
|
|
@@ -3790,8 +3850,14 @@
|
|
|
3790
3850
|
],
|
|
3791
3851
|
"schema": {
|
|
3792
3852
|
"tableName": "intake_dispatches",
|
|
3793
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_dispatches\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"stage\" TEXT NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"state\" TEXT NOT NULL,\n \"job_id\" TEXT NOT NULL,\n \"deliveries\" INTEGER NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
3853
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_dispatches\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"stage\" TEXT NOT NULL,\n \"revision\" INTEGER NOT NULL,\n \"state\" TEXT NOT NULL,\n \"job_id\" TEXT NOT NULL,\n \"deliveries\" INTEGER NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
3794
3854
|
"columns": {
|
|
3855
|
+
"_sync_origin_device_id": {
|
|
3856
|
+
"type": "TEXT"
|
|
3857
|
+
},
|
|
3858
|
+
"_sync_revision": {
|
|
3859
|
+
"type": "INTEGER"
|
|
3860
|
+
},
|
|
3795
3861
|
"id": {
|
|
3796
3862
|
"type": "UUID",
|
|
3797
3863
|
"primaryKey": true,
|
|
@@ -3924,7 +3990,7 @@
|
|
|
3924
3990
|
]
|
|
3925
3991
|
}
|
|
3926
3992
|
],
|
|
3927
|
-
"version": "
|
|
3993
|
+
"version": "681b6eba"
|
|
3928
3994
|
},
|
|
3929
3995
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
3930
3996
|
},
|
|
@@ -4063,8 +4129,14 @@
|
|
|
4063
4129
|
],
|
|
4064
4130
|
"schema": {
|
|
4065
4131
|
"tableName": "intake_dispositions",
|
|
4066
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_dispositions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"request_key\" TEXT NOT NULL,\n \"disposition\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
4132
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_dispositions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"request_key\" TEXT NOT NULL,\n \"disposition\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
4067
4133
|
"columns": {
|
|
4134
|
+
"_sync_origin_device_id": {
|
|
4135
|
+
"type": "TEXT"
|
|
4136
|
+
},
|
|
4137
|
+
"_sync_revision": {
|
|
4138
|
+
"type": "INTEGER"
|
|
4139
|
+
},
|
|
4068
4140
|
"id": {
|
|
4069
4141
|
"type": "UUID",
|
|
4070
4142
|
"primaryKey": true,
|
|
@@ -4174,7 +4246,7 @@
|
|
|
4174
4246
|
]
|
|
4175
4247
|
}
|
|
4176
4248
|
],
|
|
4177
|
-
"version": "
|
|
4249
|
+
"version": "aa871865"
|
|
4178
4250
|
},
|
|
4179
4251
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
4180
4252
|
},
|
|
@@ -4307,8 +4379,14 @@
|
|
|
4307
4379
|
],
|
|
4308
4380
|
"schema": {
|
|
4309
4381
|
"tableName": "intake_deletions",
|
|
4310
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_deletions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"state\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
4382
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"intake_deletions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"confidential_scope_id\" TEXT NOT NULL,\n \"item_id\" UUID NOT NULL,\n \"state\" TEXT NOT NULL,\n \"data\" JSON NOT NULL\n);",
|
|
4311
4383
|
"columns": {
|
|
4384
|
+
"_sync_origin_device_id": {
|
|
4385
|
+
"type": "TEXT"
|
|
4386
|
+
},
|
|
4387
|
+
"_sync_revision": {
|
|
4388
|
+
"type": "INTEGER"
|
|
4389
|
+
},
|
|
4312
4390
|
"id": {
|
|
4313
4391
|
"type": "UUID",
|
|
4314
4392
|
"primaryKey": true,
|
|
@@ -4419,7 +4497,7 @@
|
|
|
4419
4497
|
]
|
|
4420
4498
|
}
|
|
4421
4499
|
],
|
|
4422
|
-
"version": "
|
|
4500
|
+
"version": "97557271"
|
|
4423
4501
|
},
|
|
4424
4502
|
"importPath": "@happyvertical/smrt-ingestion/models"
|
|
4425
4503
|
}
|