@ai-matrx/records 0.55.1 → 0.57.0
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/CHANGELOG.md +48 -0
- package/dist/core/index.cjs +2515 -9
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +103 -5
- package/dist/core/index.d.ts +103 -5
- package/dist/core/index.js +2522 -9
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +199 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +239 -4
- package/dist/index.d.ts +239 -4
- package/dist/index.js +189 -9
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +2525 -9
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +955 -12
- package/dist/react/index.d.ts +955 -12
- package/dist/react/index.js +2521 -9
- package/dist/react/index.js.map +1 -1
- package/dist/{field-Dr7Ugek4.d.cts → types-DC2tYa4w.d.cts} +644 -11
- package/dist/{field-Dr7Ugek4.d.ts → types-DC2tYa4w.d.ts} +644 -11
- package/dist/use-cases/index.cjs.map +1 -1
- package/dist/use-cases/index.d.cts +3 -336
- package/dist/use-cases/index.d.ts +3 -336
- package/dist/use-cases/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -197,6 +197,132 @@ declare const RULE_NODE_KINDS: readonly [{
|
|
|
197
197
|
}, {
|
|
198
198
|
readonly node: "field";
|
|
199
199
|
readonly evaluated_by: "W1-RULE";
|
|
200
|
+
}, {
|
|
201
|
+
readonly node: "fx.abs";
|
|
202
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
203
|
+
}, {
|
|
204
|
+
readonly node: "fx.add";
|
|
205
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
206
|
+
}, {
|
|
207
|
+
readonly node: "fx.and";
|
|
208
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
209
|
+
}, {
|
|
210
|
+
readonly node: "fx.autonumber";
|
|
211
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
212
|
+
}, {
|
|
213
|
+
readonly node: "fx.average";
|
|
214
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
215
|
+
}, {
|
|
216
|
+
readonly node: "fx.blank";
|
|
217
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
218
|
+
}, {
|
|
219
|
+
readonly node: "fx.concatenate";
|
|
220
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
221
|
+
}, {
|
|
222
|
+
readonly node: "fx.contains";
|
|
223
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
224
|
+
}, {
|
|
225
|
+
readonly node: "fx.created_time";
|
|
226
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
227
|
+
}, {
|
|
228
|
+
readonly node: "fx.dateadd";
|
|
229
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
230
|
+
}, {
|
|
231
|
+
readonly node: "fx.datediff";
|
|
232
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
233
|
+
}, {
|
|
234
|
+
readonly node: "fx.day";
|
|
235
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
236
|
+
}, {
|
|
237
|
+
readonly node: "fx.div";
|
|
238
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
239
|
+
}, {
|
|
240
|
+
readonly node: "fx.eq";
|
|
241
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
242
|
+
}, {
|
|
243
|
+
readonly node: "fx.gt";
|
|
244
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
245
|
+
}, {
|
|
246
|
+
readonly node: "fx.gte";
|
|
247
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
248
|
+
}, {
|
|
249
|
+
readonly node: "fx.if";
|
|
250
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
251
|
+
}, {
|
|
252
|
+
readonly node: "fx.isblank";
|
|
253
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
254
|
+
}, {
|
|
255
|
+
readonly node: "fx.left";
|
|
256
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
257
|
+
}, {
|
|
258
|
+
readonly node: "fx.len";
|
|
259
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
260
|
+
}, {
|
|
261
|
+
readonly node: "fx.lower";
|
|
262
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
263
|
+
}, {
|
|
264
|
+
readonly node: "fx.lt";
|
|
265
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
266
|
+
}, {
|
|
267
|
+
readonly node: "fx.lte";
|
|
268
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
269
|
+
}, {
|
|
270
|
+
readonly node: "fx.max";
|
|
271
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
272
|
+
}, {
|
|
273
|
+
readonly node: "fx.min";
|
|
274
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
275
|
+
}, {
|
|
276
|
+
readonly node: "fx.mod";
|
|
277
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
278
|
+
}, {
|
|
279
|
+
readonly node: "fx.modified_time";
|
|
280
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
281
|
+
}, {
|
|
282
|
+
readonly node: "fx.month";
|
|
283
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
284
|
+
}, {
|
|
285
|
+
readonly node: "fx.mul";
|
|
286
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
287
|
+
}, {
|
|
288
|
+
readonly node: "fx.ne";
|
|
289
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
290
|
+
}, {
|
|
291
|
+
readonly node: "fx.neg";
|
|
292
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
293
|
+
}, {
|
|
294
|
+
readonly node: "fx.not";
|
|
295
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
296
|
+
}, {
|
|
297
|
+
readonly node: "fx.now";
|
|
298
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
299
|
+
}, {
|
|
300
|
+
readonly node: "fx.or";
|
|
301
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
302
|
+
}, {
|
|
303
|
+
readonly node: "fx.right";
|
|
304
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
305
|
+
}, {
|
|
306
|
+
readonly node: "fx.round";
|
|
307
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
308
|
+
}, {
|
|
309
|
+
readonly node: "fx.sub";
|
|
310
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
311
|
+
}, {
|
|
312
|
+
readonly node: "fx.sum";
|
|
313
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
314
|
+
}, {
|
|
315
|
+
readonly node: "fx.today";
|
|
316
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
317
|
+
}, {
|
|
318
|
+
readonly node: "fx.trim";
|
|
319
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
320
|
+
}, {
|
|
321
|
+
readonly node: "fx.upper";
|
|
322
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
323
|
+
}, {
|
|
324
|
+
readonly node: "fx.year";
|
|
325
|
+
readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
|
|
200
326
|
}, {
|
|
201
327
|
readonly node: "gt";
|
|
202
328
|
readonly evaluated_by: "W1-RULE";
|
|
@@ -288,6 +414,16 @@ declare const STORE_DOORS: readonly [{
|
|
|
288
414
|
readonly args: "";
|
|
289
415
|
readonly returns: "text[]";
|
|
290
416
|
readonly security: "invoker";
|
|
417
|
+
}, {
|
|
418
|
+
readonly name: "action_declare";
|
|
419
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_actions jsonb";
|
|
420
|
+
readonly returns: "jsonb";
|
|
421
|
+
readonly security: "definer";
|
|
422
|
+
}, {
|
|
423
|
+
readonly name: "action_run";
|
|
424
|
+
readonly args: "p_organization_id uuid, p_action_id uuid, p_record_ids uuid[]";
|
|
425
|
+
readonly returns: "jsonb";
|
|
426
|
+
readonly security: "definer";
|
|
291
427
|
}, {
|
|
292
428
|
readonly name: "actor_vocabulary";
|
|
293
429
|
readonly args: "";
|
|
@@ -543,6 +679,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
543
679
|
readonly args: "p_organization_id uuid, p_door text";
|
|
544
680
|
readonly returns: "void";
|
|
545
681
|
readonly security: "invoker";
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "autonumber_backfill";
|
|
684
|
+
readonly args: "p_organization_id uuid, p_field_id uuid";
|
|
685
|
+
readonly returns: "jsonb";
|
|
686
|
+
readonly security: "definer";
|
|
546
687
|
}, {
|
|
547
688
|
readonly name: "booking_cancel";
|
|
548
689
|
readonly args: "p_booking_ref text, p_origin text DEFAULT NULL::text";
|
|
@@ -903,6 +1044,16 @@ declare const STORE_DOORS: readonly [{
|
|
|
903
1044
|
readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
|
|
904
1045
|
readonly returns: "TABLE(dashboard_id uuid, table_id uuid, name text, blocks jsonb, presentation jsonb, block_count integer, version integer, created_at timestamp with time zone, updated_at timestamp with time zone)";
|
|
905
1046
|
readonly security: "definer";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly name: "decoration_colors";
|
|
1049
|
+
readonly args: "";
|
|
1050
|
+
readonly returns: "text[]";
|
|
1051
|
+
readonly security: "invoker";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly name: "decoration_rule_ops";
|
|
1054
|
+
readonly args: "";
|
|
1055
|
+
readonly returns: "TABLE(op text, takes_value boolean, label text)";
|
|
1056
|
+
readonly security: "invoker";
|
|
906
1057
|
}, {
|
|
907
1058
|
readonly name: "delete_cascade_closure";
|
|
908
1059
|
readonly args: "p_organization_id uuid, p_record_id uuid";
|
|
@@ -948,6 +1099,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
948
1099
|
readonly args: "v_rec custom.record";
|
|
949
1100
|
readonly returns: "jsonb";
|
|
950
1101
|
readonly security: "invoker";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly name: "display_format_ids";
|
|
1104
|
+
readonly args: "";
|
|
1105
|
+
readonly returns: "text[]";
|
|
1106
|
+
readonly security: "invoker";
|
|
951
1107
|
}, {
|
|
952
1108
|
readonly name: "doc_content_hash";
|
|
953
1109
|
readonly args: "p_body text";
|
|
@@ -1338,6 +1494,21 @@ declare const STORE_DOORS: readonly [{
|
|
|
1338
1494
|
readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
|
|
1339
1495
|
readonly returns: "TABLE(form_id uuid, table_id uuid, title text, slug text, published_at timestamp with time zone, closed_at timestamp with time zone, submission_cap integer, responses bigint, in_table bigint, held bigint, rejected bigint, state text, quarantine_rule_id uuid, notify_rule_id uuid, presentation jsonb)";
|
|
1340
1496
|
readonly security: "definer";
|
|
1497
|
+
}, {
|
|
1498
|
+
readonly name: "formula_eval";
|
|
1499
|
+
readonly args: "p_organization_id uuid, p_expr jsonb, p_values jsonb, p_context jsonb DEFAULT '{}'::jsonb";
|
|
1500
|
+
readonly returns: "jsonb";
|
|
1501
|
+
readonly security: "invoker";
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly name: "formula_node_kinds";
|
|
1504
|
+
readonly args: "";
|
|
1505
|
+
readonly returns: "TABLE(node text, min_args integer, max_args integer, result text, signature text, says text)";
|
|
1506
|
+
readonly security: "invoker";
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly name: "formula_parse";
|
|
1509
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_text text";
|
|
1510
|
+
readonly returns: "jsonb";
|
|
1511
|
+
readonly security: "definer";
|
|
1341
1512
|
}, {
|
|
1342
1513
|
readonly name: "formula_value";
|
|
1343
1514
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_field_data jsonb, p_values jsonb DEFAULT NULL::jsonb";
|
|
@@ -1348,6 +1519,16 @@ declare const STORE_DOORS: readonly [{
|
|
|
1348
1519
|
readonly args: "p_written_at timestamp with time zone, p_ceiling_seconds numeric";
|
|
1349
1520
|
readonly returns: "jsonb";
|
|
1350
1521
|
readonly security: "definer";
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly name: "grid_layout";
|
|
1524
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_view_id uuid DEFAULT NULL::uuid";
|
|
1525
|
+
readonly returns: "jsonb";
|
|
1526
|
+
readonly security: "definer";
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly name: "grid_layout_check";
|
|
1529
|
+
readonly args: "p_layout jsonb, p_scope text DEFAULT 'view'::text";
|
|
1530
|
+
readonly returns: "jsonb";
|
|
1531
|
+
readonly security: "invoker";
|
|
1351
1532
|
}, {
|
|
1352
1533
|
readonly name: "guard_refusals_are_complete";
|
|
1353
1534
|
readonly args: "";
|
|
@@ -1423,6 +1604,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1423
1604
|
readonly args: "";
|
|
1424
1605
|
readonly returns: "TABLE(table_id uuid, home_record_id uuid, organization_id uuid, relation_id uuid)";
|
|
1425
1606
|
readonly security: "invoker";
|
|
1607
|
+
}, {
|
|
1608
|
+
readonly name: "hub_changed_by";
|
|
1609
|
+
readonly args: "p_organization_id uuid, p_kind text, p_ids uuid[]";
|
|
1610
|
+
readonly returns: "TABLE(id uuid, at timestamp with time zone, who text)";
|
|
1611
|
+
readonly security: "definer";
|
|
1426
1612
|
}, {
|
|
1427
1613
|
readonly name: "inbound_addresses";
|
|
1428
1614
|
readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
|
|
@@ -1763,6 +1949,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1763
1949
|
readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid, p_compliance_reason text DEFAULT NULL::text, p_chunk integer DEFAULT 200, p_dry_run boolean DEFAULT true";
|
|
1764
1950
|
readonly returns: "jsonb";
|
|
1765
1951
|
readonly security: "definer";
|
|
1952
|
+
}, {
|
|
1953
|
+
readonly name: "migrate_purge_hard_request";
|
|
1954
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_compliance_reason text";
|
|
1955
|
+
readonly returns: "void";
|
|
1956
|
+
readonly security: "definer";
|
|
1766
1957
|
}, {
|
|
1767
1958
|
readonly name: "migrate_reclass";
|
|
1768
1959
|
readonly args: "p_organization_id uuid, p_id uuid, p_to text DEFAULT 'field'::text, p_note text DEFAULT NULL::text";
|
|
@@ -1938,6 +2129,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1938
2129
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_to text";
|
|
1939
2130
|
readonly returns: "jsonb";
|
|
1940
2131
|
readonly security: "definer";
|
|
2132
|
+
}, {
|
|
2133
|
+
readonly name: "pipelines";
|
|
2134
|
+
readonly args: "p_organization_id uuid";
|
|
2135
|
+
readonly returns: "TABLE(table_id uuid, table_name text, stage_field text, stage_label text, stages integer, rules integer, broken text, updated_at timestamp with time zone, updated_by uuid)";
|
|
2136
|
+
readonly security: "definer";
|
|
1941
2137
|
}, {
|
|
1942
2138
|
readonly name: "portal_admits";
|
|
1943
2139
|
readonly args: "p_organization_id uuid, p_user_id uuid DEFAULT NULL::uuid";
|
|
@@ -2423,6 +2619,21 @@ declare const STORE_DOORS: readonly [{
|
|
|
2423
2619
|
readonly args: "p_organization_id uuid, p_field_ids uuid[], p_why text";
|
|
2424
2620
|
readonly returns: "integer";
|
|
2425
2621
|
readonly security: "definer";
|
|
2622
|
+
}, {
|
|
2623
|
+
readonly name: "relation_halves_disagreements";
|
|
2624
|
+
readonly args: "p_organization_id uuid DEFAULT NULL::uuid, p_record_id uuid DEFAULT NULL::uuid";
|
|
2625
|
+
readonly returns: "TABLE(organization_id uuid, record_id uuid, field_key text, field_id uuid, target_id uuid, direction text, remedy text, why text)";
|
|
2626
|
+
readonly security: "definer";
|
|
2627
|
+
}, {
|
|
2628
|
+
readonly name: "relation_halves_repair";
|
|
2629
|
+
readonly args: "p_organization_id uuid, p_record_id uuid";
|
|
2630
|
+
readonly returns: "jsonb";
|
|
2631
|
+
readonly security: "definer";
|
|
2632
|
+
}, {
|
|
2633
|
+
readonly name: "relation_kernel_record";
|
|
2634
|
+
readonly args: "p_organization_id uuid, p_kernel_table_id uuid, p_id uuid";
|
|
2635
|
+
readonly returns: "uuid";
|
|
2636
|
+
readonly security: "definer";
|
|
2426
2637
|
}, {
|
|
2427
2638
|
readonly name: "relation_own";
|
|
2428
2639
|
readonly args: "p_organization_id uuid, p_owner_id uuid, p_target_id uuid";
|
|
@@ -2453,6 +2664,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2453
2664
|
readonly args: "p_organization_id uuid, p_container_id uuid, p_item_id uuid";
|
|
2454
2665
|
readonly returns: "integer";
|
|
2455
2666
|
readonly security: "definer";
|
|
2667
|
+
}, {
|
|
2668
|
+
readonly name: "relation_value_target_ok";
|
|
2669
|
+
readonly args: "p_organization_id uuid, p_field_id uuid, p_field_data jsonb, p_target_id uuid";
|
|
2670
|
+
readonly returns: "boolean";
|
|
2671
|
+
readonly security: "invoker";
|
|
2456
2672
|
}, {
|
|
2457
2673
|
readonly name: "relation_words";
|
|
2458
2674
|
readonly args: "p_organization_id uuid, p_field_id uuid, p_value text";
|
|
@@ -2493,6 +2709,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2493
2709
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_field_data jsonb";
|
|
2494
2710
|
readonly returns: "jsonb";
|
|
2495
2711
|
readonly security: "invoker";
|
|
2712
|
+
}, {
|
|
2713
|
+
readonly name: "row_actions";
|
|
2714
|
+
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
2715
|
+
readonly returns: "jsonb";
|
|
2716
|
+
readonly security: "definer";
|
|
2496
2717
|
}, {
|
|
2497
2718
|
readonly name: "rule_applies";
|
|
2498
2719
|
readonly args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid";
|
|
@@ -2618,6 +2839,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2618
2839
|
readonly args: "p_pretend text DEFAULT NULL::text";
|
|
2619
2840
|
readonly returns: "TABLE(organization_id uuid, organization_name text, member_id uuid, record_id uuid, table_id uuid, ladder boolean, read_door boolean, rls_mirror boolean, why text)";
|
|
2620
2841
|
readonly security: "invoker";
|
|
2842
|
+
}, {
|
|
2843
|
+
readonly name: "shares_outside";
|
|
2844
|
+
readonly args: "p_organization_id uuid";
|
|
2845
|
+
readonly returns: "TABLE(invitation_id uuid, table_id uuid, table_name text, email text, level text, level_label text, status text, joined boolean, expired boolean, invited_at timestamp with time zone, expires_at timestamp with time zone, say text)";
|
|
2846
|
+
readonly security: "definer";
|
|
2621
2847
|
}, {
|
|
2622
2848
|
readonly name: "sign_request_cancel";
|
|
2623
2849
|
readonly args: "p_organization_id uuid, p_request_id uuid, p_reason text DEFAULT NULL::text";
|
|
@@ -2783,6 +3009,21 @@ declare const STORE_DOORS: readonly [{
|
|
|
2783
3009
|
readonly args: "p_organization_id uuid, p_spec jsonb";
|
|
2784
3010
|
readonly returns: "uuid";
|
|
2785
3011
|
readonly security: "definer";
|
|
3012
|
+
}, {
|
|
3013
|
+
readonly name: "table_decorate";
|
|
3014
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_path text[], p_value jsonb DEFAULT NULL::jsonb";
|
|
3015
|
+
readonly returns: "jsonb";
|
|
3016
|
+
readonly security: "definer";
|
|
3017
|
+
}, {
|
|
3018
|
+
readonly name: "table_decorations";
|
|
3019
|
+
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
3020
|
+
readonly returns: "jsonb";
|
|
3021
|
+
readonly security: "definer";
|
|
3022
|
+
}, {
|
|
3023
|
+
readonly name: "table_from_example";
|
|
3024
|
+
readonly args: "p_organization_id uuid, p_home_id uuid, p_example jsonb";
|
|
3025
|
+
readonly returns: "jsonb";
|
|
3026
|
+
readonly security: "definer";
|
|
2786
3027
|
}, {
|
|
2787
3028
|
readonly name: "table_has_a_visible_record";
|
|
2788
3029
|
readonly args: "p_user uuid, p_organization_id uuid, p_table_id uuid";
|
|
@@ -2868,6 +3109,21 @@ declare const STORE_DOORS: readonly [{
|
|
|
2868
3109
|
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
2869
3110
|
readonly returns: "jsonb";
|
|
2870
3111
|
readonly security: "invoker";
|
|
3112
|
+
}, {
|
|
3113
|
+
readonly name: "table_webhook_archive";
|
|
3114
|
+
readonly args: "p_organization_id uuid, p_webhook_id uuid";
|
|
3115
|
+
readonly returns: "boolean";
|
|
3116
|
+
readonly security: "definer";
|
|
3117
|
+
}, {
|
|
3118
|
+
readonly name: "table_webhook_declare";
|
|
3119
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_target_url text, p_events text[] DEFAULT NULL::text[], p_description text DEFAULT NULL::text";
|
|
3120
|
+
readonly returns: "jsonb";
|
|
3121
|
+
readonly security: "definer";
|
|
3122
|
+
}, {
|
|
3123
|
+
readonly name: "table_webhooks";
|
|
3124
|
+
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
3125
|
+
readonly returns: "TABLE(webhook_id uuid, target_url text, description text, events text[], is_active boolean, last_attempt_at timestamp with time zone, last_success_at timestamp with time zone, consecutive_failures integer, owner_id uuid, created_at timestamp with time zone)";
|
|
3126
|
+
readonly security: "definer";
|
|
2871
3127
|
}, {
|
|
2872
3128
|
readonly name: "table_work_kind";
|
|
2873
3129
|
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
@@ -2883,6 +3139,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2883
3139
|
readonly args: "";
|
|
2884
3140
|
readonly returns: "TABLE(function_name text, identity_args text, why text)";
|
|
2885
3141
|
readonly security: "invoker";
|
|
3142
|
+
}, {
|
|
3143
|
+
readonly name: "tables_shared_with_me";
|
|
3144
|
+
readonly args: "";
|
|
3145
|
+
readonly returns: "TABLE(table_id uuid, organization_id uuid, organization text, table_name text, level text, level_label text, shared_at timestamp with time zone, opens boolean, say text)";
|
|
3146
|
+
readonly security: "definer";
|
|
2886
3147
|
}, {
|
|
2887
3148
|
readonly name: "trg_associations_bump_visibility";
|
|
2888
3149
|
readonly args: "";
|
|
@@ -3179,6 +3440,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3179
3440
|
readonly key: "accessible_entity_ids_guard";
|
|
3180
3441
|
readonly value: "true";
|
|
3181
3442
|
readonly type: "boolean";
|
|
3443
|
+
}, {
|
|
3444
|
+
readonly key: "action_run_records_max";
|
|
3445
|
+
readonly value: "5000";
|
|
3446
|
+
readonly type: "integer";
|
|
3182
3447
|
}, {
|
|
3183
3448
|
readonly key: "agent_schema_changes";
|
|
3184
3449
|
readonly value: "\"ask\"";
|
|
@@ -3189,7 +3454,7 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3189
3454
|
readonly type: "boolean";
|
|
3190
3455
|
}, {
|
|
3191
3456
|
readonly key: "code_paths_enabled";
|
|
3192
|
-
readonly value: "
|
|
3457
|
+
readonly value: "true";
|
|
3193
3458
|
readonly type: "boolean";
|
|
3194
3459
|
}, {
|
|
3195
3460
|
readonly key: "consumer_chat_seeding_enabled";
|
|
@@ -3235,6 +3500,14 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3235
3500
|
readonly key: "cross_organization_links";
|
|
3236
3501
|
readonly value: "false";
|
|
3237
3502
|
readonly type: "boolean";
|
|
3503
|
+
}, {
|
|
3504
|
+
readonly key: "decoration_rules_max";
|
|
3505
|
+
readonly value: "50";
|
|
3506
|
+
readonly type: "integer";
|
|
3507
|
+
}, {
|
|
3508
|
+
readonly key: "decorations_max_bytes";
|
|
3509
|
+
readonly value: "262144";
|
|
3510
|
+
readonly type: "integer";
|
|
3238
3511
|
}, {
|
|
3239
3512
|
readonly key: "document_letterhead";
|
|
3240
3513
|
readonly value: "{}";
|
|
@@ -3279,6 +3552,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3279
3552
|
readonly key: "entity_types_guard";
|
|
3280
3553
|
readonly value: "false";
|
|
3281
3554
|
readonly type: "boolean";
|
|
3555
|
+
}, {
|
|
3556
|
+
readonly key: "example_rows_max";
|
|
3557
|
+
readonly value: "500";
|
|
3558
|
+
readonly type: "integer";
|
|
3282
3559
|
}, {
|
|
3283
3560
|
readonly key: "export_rows_ceiling";
|
|
3284
3561
|
readonly value: "100000";
|
|
@@ -3295,6 +3572,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3295
3572
|
readonly key: "field_sensitivity_levels";
|
|
3296
3573
|
readonly value: "{\"edit\": {\"public\": \"editor\", \"internal\": \"editor\", \"restricted\": \"admin\", \"confidential\": \"admin\"}, \"read\": {\"public\": \"viewer\", \"internal\": \"viewer\", \"restricted\": \"admin\", \"confidential\": \"editor\"}}";
|
|
3297
3574
|
readonly type: "json";
|
|
3575
|
+
}, {
|
|
3576
|
+
readonly key: "grid_layout";
|
|
3577
|
+
readonly value: "{\"mode\": \"auto\", \"wrap\": false, \"row_height\": \"normal\", \"fit_max_columns\": 8, \"freeze_first_column\": false}";
|
|
3578
|
+
readonly type: "json";
|
|
3298
3579
|
}, {
|
|
3299
3580
|
readonly key: "inbound_domain";
|
|
3300
3581
|
readonly value: "\"inbound.matrxserver.com\"";
|
|
@@ -3323,6 +3604,14 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3323
3604
|
readonly key: "records_tool_default";
|
|
3324
3605
|
readonly value: "true";
|
|
3325
3606
|
readonly type: "boolean";
|
|
3607
|
+
}, {
|
|
3608
|
+
readonly key: "row_action_steps_max";
|
|
3609
|
+
readonly value: "60";
|
|
3610
|
+
readonly type: "integer";
|
|
3611
|
+
}, {
|
|
3612
|
+
readonly key: "row_actions_max";
|
|
3613
|
+
readonly value: "24";
|
|
3614
|
+
readonly type: "integer";
|
|
3326
3615
|
}, {
|
|
3327
3616
|
readonly key: "row_versions_guard";
|
|
3328
3617
|
readonly value: "false";
|
|
@@ -3353,12 +3642,16 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3353
3642
|
readonly type: "enum";
|
|
3354
3643
|
}, {
|
|
3355
3644
|
readonly key: "system_enabled";
|
|
3356
|
-
readonly value: "
|
|
3645
|
+
readonly value: "true";
|
|
3357
3646
|
readonly type: "boolean";
|
|
3358
3647
|
}, {
|
|
3359
3648
|
readonly key: "table_record_ceiling";
|
|
3360
3649
|
readonly value: "150000";
|
|
3361
3650
|
readonly type: "integer";
|
|
3651
|
+
}, {
|
|
3652
|
+
readonly key: "table_webhooks_max";
|
|
3653
|
+
readonly value: "10";
|
|
3654
|
+
readonly type: "integer";
|
|
3362
3655
|
}, {
|
|
3363
3656
|
readonly key: "value_max_bytes";
|
|
3364
3657
|
readonly value: "100000";
|
|
@@ -3376,7 +3669,7 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3376
3669
|
*/
|
|
3377
3670
|
declare const STORE_REFUSAL_CODES: readonly [{
|
|
3378
3671
|
readonly code: "02000";
|
|
3379
|
-
readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
|
|
3672
|
+
readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_halves_repair,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
|
|
3380
3673
|
}, {
|
|
3381
3674
|
readonly code: "0A000";
|
|
3382
3675
|
readonly raised_by: "checklist_step_complete,external_rows,external_source_declare,external_write_through,promote_field,promoted_index_expr,promoted_query_sql,promoted_read,rule_eval,work_assign";
|
|
@@ -3385,40 +3678,46 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3385
3678
|
readonly raised_by: "context_resolve";
|
|
3386
3679
|
}, {
|
|
3387
3680
|
readonly code: "22004";
|
|
3388
|
-
readonly raised_by: "_entity_custom_fields_guard,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_share_outside_invite,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
|
|
3681
|
+
readonly raised_by: "_entity_custom_fields_guard,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_share_outside_invite,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
|
|
3389
3682
|
}, {
|
|
3390
3683
|
readonly code: "22007";
|
|
3391
3684
|
readonly raised_by: "dashboard_window_sql";
|
|
3392
3685
|
}, {
|
|
3393
3686
|
readonly code: "22012";
|
|
3394
|
-
readonly raised_by: "rule_eval";
|
|
3687
|
+
readonly raised_by: "formula_eval,rule_eval";
|
|
3395
3688
|
}, {
|
|
3396
3689
|
readonly code: "22023";
|
|
3397
|
-
readonly raised_by: "_booking_availability,_entity_custom_fields_guard,_take_op_id,_value_envelope,_work_shape_guard,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_rules,visibility_as_of,work_approval_request,work_list,work_slot_hold";
|
|
3690
|
+
readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_take_op_id,_value_envelope,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,formula_eval,formula_parse,grid_layout_check,hub_changed_by,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_rules,table_webhook_declare,visibility_as_of,work_approval_request,work_list,work_slot_hold";
|
|
3398
3691
|
}, {
|
|
3399
3692
|
readonly code: "23503";
|
|
3400
|
-
readonly raised_by: "_booking_availability,_checklist_instantiate,_containment_guard,_display_spec_for,_field_document_for,_field_type_parity_guard,_pipeline_stage_key,_record_rule_uses,agg_digest_assemble,anon_publish,anon_rate_take,anon_token_issue,anon_write,assert_organization_wall,booking_cancel,booking_confirm,booking_declare,booking_hold,booking_reschedule,capture_publish,checklist_declare,checklist_steps_table,comment_write,dashboard_declare,delete_rule,doc_sign,doc_template_save,enrich_declare,enrich_due,enrich_land,form_declare,form_submit,home_add,inbound_declare,inbound_mail_land,inbound_set,io_comment_write,io_import_begin,io_import_finish,io_import_report,io_import_rows,io_proposal_accept,migrate_demote,migrate_promote,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,record_applicability,record_reparent,relation_carry,relation_own,resolve_first_match,rule_applies,rule_declare,rule_eval,rule_members,rule_run,sign_request_create,subscription_mute,subscription_preview,view_declare,work_set_state,work_take_assignment,work_template_instantiate";
|
|
3693
|
+
readonly raised_by: "_action_check,_booking_availability,_checklist_instantiate,_containment_guard,_decorations_check,_display_spec_for,_field_document_for,_field_type_parity_guard,_pipeline_stage_key,_record_rule_uses,action_declare,action_run,agg_digest_assemble,anon_publish,anon_rate_take,anon_token_issue,anon_write,assert_organization_wall,autonumber_backfill,booking_cancel,booking_confirm,booking_declare,booking_hold,booking_reschedule,capture_publish,checklist_declare,checklist_steps_table,comment_write,dashboard_declare,delete_rule,doc_sign,doc_template_save,enrich_declare,enrich_due,enrich_land,form_declare,form_submit,grid_layout,home_add,inbound_declare,inbound_mail_land,inbound_set,io_comment_write,io_import_begin,io_import_finish,io_import_report,io_import_rows,io_proposal_accept,migrate_demote,migrate_promote,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,record_applicability,record_reparent,relation_carry,relation_own,resolve_first_match,rule_applies,rule_declare,rule_eval,rule_members,rule_run,sign_request_create,subscription_mute,subscription_preview,table_decorate,table_from_example,table_webhook_archive,table_webhook_declare,view_declare,work_set_state,work_take_assignment,work_template_instantiate";
|
|
3401
3694
|
}, {
|
|
3402
3695
|
readonly code: "23505";
|
|
3403
3696
|
readonly raised_by: "_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold";
|
|
3404
3697
|
}, {
|
|
3405
3698
|
readonly code: "23514";
|
|
3406
|
-
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_relation_halves_agree,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_write_graph,relation_carry,relation_own,sign_request_create,sign_request_sign,table_declare,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
3699
|
+
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_relation_halves_agree,_relation_kernel_targets,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,action_run,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_write_graph,relation_carry,relation_halves_repair,relation_own,sign_request_create,sign_request_sign,table_declare,table_from_example,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
3407
3700
|
}, {
|
|
3408
3701
|
readonly code: "40001";
|
|
3409
3702
|
readonly raised_by: "has_visibility_at";
|
|
3410
3703
|
}, {
|
|
3411
3704
|
readonly code: "42501";
|
|
3412
|
-
readonly raised_by: "_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_rule_definition_write,_store_door,agent_table_claim,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,conversation_scope_bind,conversation_scope_unbind,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_submit,inbound_mail_land,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_reclass,my_levels,organization_clear,portal_declare,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,share_grant,subscription_mute,subscription_preview,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_person";
|
|
3705
|
+
readonly raised_by: "_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_rule_definition_write,_store_door,agent_table_claim,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,conversation_scope_bind,conversation_scope_unbind,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_submit,inbound_mail_land,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_purge_hard_request,migrate_reclass,my_levels,organization_clear,portal_declare,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,share_grant,subscription_mute,subscription_preview,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_webhook_declare,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_person";
|
|
3413
3706
|
}, {
|
|
3414
3707
|
readonly code: "42703";
|
|
3415
3708
|
readonly raised_by: "entity_table,portal_declare";
|
|
3416
3709
|
}, {
|
|
3417
3710
|
readonly code: "53400";
|
|
3418
3711
|
readonly raised_by: "anon_rate_take,delete_cascade_closure,enrich_due,enrich_land,promote_field";
|
|
3712
|
+
}, {
|
|
3713
|
+
readonly code: "54000";
|
|
3714
|
+
readonly raised_by: "action_run,hub_changed_by,table_decorate,table_from_example,table_webhook_declare";
|
|
3419
3715
|
}, {
|
|
3420
3716
|
readonly code: "54001";
|
|
3421
3717
|
readonly raised_by: "record_delete";
|
|
3718
|
+
}, {
|
|
3719
|
+
readonly code: "P0001";
|
|
3720
|
+
readonly raised_by: "action_run";
|
|
3422
3721
|
}, {
|
|
3423
3722
|
readonly code: "PT409";
|
|
3424
3723
|
readonly raised_by: "record_update";
|
|
@@ -3427,7 +3726,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3427
3726
|
readonly raised_by: "_record_rule_uses";
|
|
3428
3727
|
}];
|
|
3429
3728
|
/** `platform.entity_types` — the registered tokens a Table or relation may name. */
|
|
3430
|
-
declare const ENTITY_TOKENS: readonly ["access_delta_probe", "access_delta_run", "access_request", "account_addon", "acquisition_block", "activity", "admin_audit_log", "admin_email_log", "admin_markdown_sample", "admin_user", "admission_config", "agent", "agent_card", "agent_definition_version", "agent_drift_alert", "agent_exemplar", "agent_mandate_note", "agent_prompt_remediation", "agent_provision_legacy", "agent_run", "agent_run_stage", "agent_schedule", "agent_schedule_claim", "agent_shortcut", "agent_surface_binding", "agent_template", "agent_usage", "agent_user_kv", "ai_api", "ai_endpoint", "ai_model", "ai_model_alias", "ai_offering", "ai_provider", "ai_setting", "analysis_result", "anon_form", "anon_function_birth_grandfather", "anon_hit", "anon_inbound", "anon_replay", "anon_submission", "anon_token", "api_field_warning", "api_request_log", "app", "app_config", "app_config_history", "app_definition_version", "app_error", "app_execution", "app_instance", "app_log", "app_log_muted_pattern", "app_log_norm_exception", "app_rate_limit", "app_setting", "app_sync_status", "approach", "artifact", "assessment", "assessment_item", "assessment_result", "assignment_session", "assist", "assist_producer_policy", "assist_producer_policy_history", "association_type", "assurance_level", "attempt", "audit_broken_functions", "audit_canonical_findings", "audit_exemption", "audit_function_deps", "audit_function_runtime_probe", "audit_m2m_candidates", "audit_refresh_log", "audit_stale_registry", "audit_unregistered_candidates", "bak_assoc_file_processed_document_20260812", "bak_assoc_type_file_processed_document_20260812", "bak_organization_name_dd043", "base_entity_template", "batch_cost_event", "batch_provider_batch", "batch_work_item", "billing_capability", "billing_capability_limit", "billing_connect_account", "billing_customer", "billing_plan", "billing_plan_limit", "billing_price", "billing_product", "billing_spend_guardrail", "billing_stripe_event", "billing_subscription", "billing_usage_ledger", "billing_user_plan", "browser_account_binding", "browser_action_event", "browser_authenticator_window", "browser_capture", "browser_control_request", "browser_handoff", "browser_login_attempt", "browser_login_recipe", "browser_profile", "browser_profile_checkpoint", "browser_run", "browser_site_observation", "browser_site_policy", "browser_stream_ticket", "build_lock", "calendar_event", "canvas_comment", "canvas_comment_like", "canvas_item", "canvas_item_state", "canvas_like", "canvas_score", "canvas_view", "capture_window", "carrying_rule", "catalog_entries_history", "catalog_entry", "category", "change_type_default", "chat_user_usage_summary", "citations", "class_purchase", "classifier_revision_ledger", "client_callable_door", "client_callable_door_retirement", "client_excluded_column_unregistered", "cmp_entry", "cmp_feedback", "code_file", "code_folder", "code_repository", "coding_session", "coding_session_entry", "comment", "commerce_asset_allocation", "commerce_asset_grading", "commerce_asset_identifier", "commerce_asset_lot_event", "commerce_asset_mandate_result", "commerce_asset_price_factor", "commerce_asset_reshoot_request", "commerce_asset_review", "commerce_asset_unknown", "commerce_certified_printer", "commerce_cloud_sync_connection", "commerce_ebay_business_policy", "commerce_ebay_category", "commerce_ebay_category_aspect", "commerce_ebay_category_tree", "commerce_ebay_custom_policy", "commerce_ebay_inventory_item", "commerce_ebay_inventory_item_group", "commerce_ebay_inventory_item_group_member", "commerce_ebay_inventory_location", "commerce_ebay_listing", "commerce_ebay_marketplace_policy", "commerce_ebay_media_asset", "commerce_ebay_notification_destination", "commerce_ebay_notification_event", "commerce_ebay_notification_subscription", "commerce_ebay_notification_topic", "commerce_ebay_offer", "commerce_ebay_order", "commerce_ebay_order_line_item", "commerce_ebay_shipping_fulfillment", "commerce_ebay_store_category", "commerce_human_correction", "commerce_intake_artifact", "commerce_intake_asset", "commerce_intake_batch", "commerce_label_batch", "commerce_label_code", "commerce_marketplace_account", "commerce_marketplace_account_deletion_audit", "commerce_marketplace_api_call", "commerce_marketplace_rate_budget", "commerce_marketplace_site", "commerce_marketplace_sync_run", "commerce_prediction_outcome", "commerce_print_order", "commerce_product", "commerce_product_channel_ref", "commerce_product_media", "commerce_product_variant", "commerce_recall_audit", "comparison_set", "component_group", "contact_medium", "contact_submission", "content_certification", "content_ir_kind", "content_ir_kind_component", "content_ir_kind_component_incident", "content_ir_kind_conformance", "content_ir_kind_edge", "content_ir_kind_example", "content_ir_kind_instance", "content_ir_kind_surface", "content_lane", "context_access_log", "context_item", "context_item_suggestion", "context_item_value", "context_value_refs", "conversation", "conversation_value", "courts", "credential_attachment", "credential_item", "credential_mutation_receipt", "crm_address", "crm_affiliation", "crm_blocklist_entry", "crm_contact_candidate", "crm_deal", "crm_deal_stage_event", "crm_enrichment_call", "crm_interaction", "crm_merge_candidate", "crm_outreach_list", "crm_outreach_list_member", "crm_party_merge", "crm_registry_ingest_run", "crm_registry_source", "crm_saved_view", "crm_sending_event", "crm_sending_identity", "crm_sending_identity_check", "crm_sending_policy", "custom_entity_definition", "custom_field_definition", "custom_field_target", "custom_record", "cx_agent_memory", "cx_agent_plan", "cx_agent_task", "cx_code_edit", "cx_code_message_file", "cx_conversation_documents", "cx_media", "cx_observational_memory", "cx_observational_memory_event", "cx_pending_injection", "cx_request", "cx_request_snapshot", "cx_tool_trace", "cx_user_request", "cx_user_todo", "dashboard_saved_view", "data_rights_event", "data_store", "data_store_members", "dataset", "dd171_containment_baseline", "dd175_cast", "dd175_component_lane_baseline", "ddl_guard_log", "deck_suggestion", "definer_class_exemption", "definer_client_grant_grandfather", "definer_grant_baseline", "deprecated_relation", "derive_run", "dev_login_audit", "dict_entry", "dict_provider_publication", "dict_setting", "dm_conversation", "dm_message", "dm_participant", "doc_render", "doc_signature", "dockets", "domain_classification", "edge_payload_kind", "egress_device", "egress_pairing", "egress_ticket", "emails", "embedding_cache", "embeddings_google_gemini_2_1536", "embeddings_oai_3_small_1536", "embeddings_voyage_4_large_1024", "embeddings_voyage_code_3_1024", "endpoint_family_sweep_state", "engine_owner_task", "entity_grant", "entity_relationship", "entity_type", "esign_campaign", "esign_campaign_member", "esign_consent_disclosure", "esign_envelope", "esign_envelope_certificate", "esign_envelope_document", "esign_envelope_event", "esign_envelope_external_ref", "esign_envelope_signer", "esign_provider", "esign_provider_binding", "esign_signing_key", "execution_event_cursor", "extension_auth_code", "external_link", "external_source", "extract_sweep_state", "fc_card", "fc_detail", "fc_set", "feature_doc", "feature_knob", "feedback_comments", "feedback_user_messages", "field_component", "file", "file_analysis", "file_entities", "file_overrides", "file_page_annotations", "file_pages", "file_rag_job", "file_version", "files_account_tier", "files_machine_written_prefix", "files_sync_mapping", "files_user_account", "flashcard_data", "flashcard_history", "flashcard_review", "flashcard_set", "flashcard_sets", "flexible_data", "folder", "function_contract", "game_badge", "game_result", "game_room", "global_execution", "global_execution_checkpoint", "global_execution_control", "global_execution_event", "global_meter_entry", "global_origin", "global_request", "google_document", "growth_loop_event", "growth_loop_run", "growth_loop_stage_run", "guardian_link", "guest_conversion_audit", "guest_execution_log", "guest_executions", "guided_checklist_run", "heatmap_save", "hindsight_enrollment", "hindsight_finding", "hindsight_regression_case", "hindsight_replay", "hindsight_replay_step", "hindsight_review", "hr_access_audit", "hr_access_role", "hr_accommodation_request", "hr_ai_evidence", "hr_alert_routing_rule", "hr_application", "hr_approval_authority", "hr_approval_delegation", "hr_asset", "hr_asset_assignment", "hr_attendance_exception", "hr_auto_close_rule", "hr_availability", "hr_background_check", "hr_benefits_event", "hr_calculation_snapshot", "hr_candidate", "hr_candidate_conversion", "hr_candidate_message", "hr_careers_portal", "hr_checklist_item", "hr_checklist_run", "hr_checklist_template", "hr_checklist_template_item", "hr_compensation", "hr_corrective_action", "hr_course", "hr_course_version", "hr_credential", "hr_crew", "hr_deduction_code", "hr_department", "hr_derived_grant", "hr_disposition_event", "hr_earning_code", "hr_eeo_response", "hr_emergency_contact", "hr_employee", "hr_employee_private", "hr_employer_profile", "hr_employment", "hr_employment_pin", "hr_engagement", "hr_establishment", "hr_external_identity", "hr_field_policy", "hr_holiday", "hr_holiday_calendar", "hr_i9", "hr_i9_document", "hr_incident", "hr_incident_party", "hr_interview", "hr_interview_kit", "hr_job_title", "hr_jurisdiction", "hr_jurisdiction_rule", "hr_jurisdiction_rule_class", "hr_jurisdiction_rule_org_decision", "hr_jurisdiction_rule_test", "hr_kiosk_device", "hr_kiosk_session", "hr_labor_target", "hr_leave_case", "hr_leave_enrollment", "hr_leave_ledger", "hr_leave_policy", "hr_leave_request", "hr_legal_hold", "hr_legal_hold_item", "hr_location", "hr_new_hire_report", "hr_offer", "hr_opening", "hr_overtime_alert", "hr_overtime_alert_rule", "hr_overtime_preapproval", "hr_pay_group", "hr_pay_period", "hr_pay_period_employment", "hr_payroll_export", "hr_payroll_export_line", "hr_position_assignment", "hr_posting", "hr_posting_publication", "hr_provider_binding", "hr_provider_event", "hr_provisioning_result", "hr_punch", "hr_recalculation_batch", "hr_record_class", "hr_records_request", "hr_reference_check", "hr_reporting_line", "hr_requisition", "hr_restricted_note", "hr_retention_rule", "hr_role_assignment", "hr_schedule", "hr_schedule_change", "hr_schedule_guidance", "hr_schedule_template", "hr_schedule_template_shift", "hr_scorecard", "hr_separation", "hr_shift", "hr_shift_claim", "hr_staffing_requirement", "hr_survey", "hr_survey_invitation", "hr_survey_question", "hr_survey_response", "hr_tax_registration", "hr_tax_withholding", "hr_time_adjustment", "hr_training_assignment", "hr_training_attempt", "hr_transcript_entry", "hr_verification_letter_request", "hr_work_interval", "hr_workflow_binding", "hr_workflow_decision", "hr_workflow_definition", "hr_workflow_event", "hr_workflow_failure", "hr_workflow_flow_type", "hr_workflow_instance", "hr_workflow_step", "hr_workflow_step_definition", "hr_workweek", "html_extraction", "iam_access_audit", "iam_api_key", "iam_emergency_door_request", "idempotency", "industry", "industry_curator", "infra_status", "ingest_runs", "integration_connection", "integration_connection_resource", "interview_decision_interview", "interview_decision_question", "interview_document_revision", "interview_hole", "interview_question", "interview_session", "interview_turn", "invitation", "invitation_code", "invitation_request", "io_comment", "io_contract", "io_import", "io_outbox", "item", "item_mastery", "judge_verdict", "jurisdiction_policy", "keyword_classification_queue", "kg_alert", "kg_chunk_entities", "kg_chunks", "kg_clusters", "kg_edges", "kg_entities", "kg_entity_aliases", "kg_suggestion_ack", "kg_sweep_queue", "kg_sweep_run", "kg_sweep_state", "kg_value_match", "knob_override", "knob_override_audit", "knob_rung_lock", "knob_scope_kind", "knob_write_door", "league_membership", "learn_doc", "library_doc", "lifecycle_archive", "lifecycle_archive_row", "lifecycle_audit", "lifecycle_entity_plan", "lifecycle_map_build", "lifecycle_reference_map", "lifecycle_run", "lifecycle_tier_ledger", "location", "mandate", "mandate_advance_batch_row", "mandate_binding", "mandate_binding_legacy", "mandate_goal_clauses", "mandate_legacy", "mandate_observation", "mandate_reference", "mandate_scan", "mandate_treatment", "marketing_initiative", "masterwork_corpus_item", "masterwork_run", "masterwork_run_kind", "masterwork_source", "math_course_structure", "math_problem", "matrx_action_ledger", "mcp_config", "mcp_server", "mcp_user_conn", "media_capture_handoff", "media_catalog_setting", "media_library_item", "media_selection_item", "media_selection_job", "media_source_library", "meet_call_invite", "meet_meeting", "meet_note", "meet_participant", "meet_recording", "meet_transcript_segment", "membership", "membership_grant", "merge_field_provenance", "message", "message_template", "meta_excluded_schema", "meta_table_stats_history", "metadata_reserved_keys", "microservice_project", "migration_log", "mtx_media_heal_queue", "mtx_public_url_guard", "ner_shadow", "note", "note_folder", "notification", "notification_channel_preference", "notification_event_override", "notification_event_type", "notification_preference", "notification_submission", "notify_outsider_door_baseline", "oauth_handoff_claim", "opinion_clusters", "opinions", "ops_issue_class", "ops_issue_event", "ops_proof_check", "ops_proof_run", "ops_proof_scenario", "org_admin_audit", "org_change_policy", "org_context_ledger", "org_industries", "org_member_control", "org_module_config", "org_plan", "org_repair_0253_backup", "organization", "organization_preferences", "organization_visibility_version", "output_feedback", "outreach_acceptance", "page_extraction_job", "page_extraction_page_run", "page_extraction_results", "page_extraction_runs", "page_intent_queue", "page_mapping_queue", "part_config", "part_config_sub", "party", "party_contact_point", "passkey_credential", "path_drift_repair_2026_09", "pc_article", "pc_episode", "pc_show", "pc_studio_run", "pc_studio_run_asset", "pdf_consolidation_log", "pdf_redaction_audit", "pdf_redaction_key_escrow", "permission_grant", "plan_cms_fill_item", "plan_cms_fill_job", "plan_entity", "plan_node", "plan_node_artifact", "plan_node_step", "plan_profile", "platform_action_request", "platform_actor_session", "platform_actor_token", "platform_actor_token_event", "platform_continued_access", "platform_org_knob_override", "platform_outcome_event", "platform_outsider_consumer", "platform_reachability", "platform_reference_category", "platform_reference_declaration", "platform_repo", "platform_saved_view", "platform_schema", "platform_share_link", "platform_user_knob_override", "podcast_race", "policy_overlap_backup", "policy_overlap_probe", "processed_document", "processed_document_page", "product_capture_file", "product_capture_item", "product_capture_payload", "product_capture_product", "product_capture_question", "profile", "project", "prompt", "provider_account", "provider_account_credential", "provision", "provision_generate_target", "provision_grant", "provision_marker", "provision_rule_message", "provision_schema", "provision_shape_debt", "provision_spec", "provision_spec_grandfather", "provision_vocabulary", "purpose", "quiz_session", "rag_ingest_run", "rag_library_audit_log", "rate_limit_buckets", "recompute_queue", "record", "record_alias", "redaction_mapping", "research_analysis", "research_content", "research_context_bundle", "research_document", "research_intent", "research_keyword", "research_media", "research_source", "research_synthesis", "research_tag", "research_template", "research_topic", "retention_policy", "retrieval_audit", "review_queue", "route_manifest_entry", "row_version", "rulebook", "runtime_operation_stream", "runtime_operation_stream_batch", "sandbox_instance", "sch_agent_task", "sch_run", "sch_task", "sch_trigger", "schema_client_exposure", "schema_migration_ledger", "schema_migration_legacy", "schema_migration_slot_grandfather", "schema_templates", "scope", "scope_association_suggestion", "scope_dataset_instance", "scope_door_registry", "scope_item_value_suggestion", "scope_suggestion", "scope_type", "scrape_domain", "scrape_domain_settings", "scrape_failure_log", "scrape_parsed_page", "scrape_path_override", "scrape_path_pattern", "scrape_retry_queue", "seo_ai_capability", "seo_ai_visibility_citation", "seo_ai_visibility_claim", "seo_ai_visibility_panel", "seo_ai_visibility_response", "seo_ai_visibility_signal", "seo_backlink", "seo_backlink_change_event", "seo_backlink_dimension_snapshot", "seo_backlink_observation", "seo_backlink_snapshot", "seo_change_assessment", "seo_change_event", "seo_change_item", "seo_change_metric", "seo_change_set", "seo_change_theory", "seo_collection_run", "seo_competitor", "seo_competitor_observation", "seo_competitor_opportunity", "seo_coverage_mention", "seo_coverage_tracker", "seo_dimension_value_matcher", "seo_engine_schedule", "seo_geo_place", "seo_gsc_dig_rule", "seo_keyword", "seo_keyword_class_rule", "seo_keyword_edge", "seo_keyword_facet", "seo_keyword_market", "seo_keyword_market_observation", "seo_keyword_place", "seo_keyword_saved_view", "seo_keyword_topic", "seo_landscape_brief", "seo_link_gap_domain", "seo_link_gap_match", "seo_map_facet", "seo_map_facet_value", "seo_map_topic", "seo_page_measurement_health", "seo_page_performance", "seo_provider_call", "seo_provider_task", "seo_rank_observation", "seo_rank_target", "seo_raw_payload", "seo_referring_domain_profile", "seo_reputation_case", "seo_search_performance_daily", "seo_serp_mention", "seo_serp_opportunity", "seo_serp_result", "seo_serp_snapshot", "seo_site_geo_area", "seo_site_keyword_offering", "seo_site_keyword_value", "seo_site_offering_value", "seo_site_topic_value", "seo_site_value_combo", "seo_site_value_worth", "seo_site_vocabulary", "seo_source_request", "seo_starter_pack", "seo_starter_pack_item", "seo_story_angle", "seo_topic", "seo_topical_map", "seo_web_analytics_daily", "share_link", "shareable_resource_registry", "shared_canvas_item", "short_link", "shortcut_category", "skill", "skill_category", "skill_render_definition", "sms_consent", "sms_conversation", "sms_message", "sms_message_media", "sms_notification", "sms_notification_preference", "sms_phone_number", "sms_rate_limits", "sms_webhook_logs", "soft_delete_edge", "source_authority", "stage_dockets_966c18eca7", "stage_ref_kind", "stamped_write_table", "structure", "structured_list", "studio_cleaned_segments", "studio_concept_items", "studio_documents", "studio_module_segments", "studio_raw_segments", "studio_recording_chunks", "studio_recording_segments", "studio_run", "studio_session", "studio_session_settings", "study_attempt", "study_goal", "study_media", "study_plan", "study_plan_block", "study_plan_day", "study_reminder_context", "study_reminder_delivery", "study_session", "study_source_chunk", "study_streak", "study_structured_section", "superseded_policy", "surface", "system_announcement", "system_context_item", "system_error", "system_orgs", "system_personal_org_failure", "system_write_failure", "task", "task_user_state", "taxonomy_node", "template_context_items", "template_scope_types", "templates", "test_handset_inbox", "test_handset_verification", "thread", "tool", "tool_binding", "tool_bundle", "tool_call", "tool_definition_version", "tool_executor", "tool_surface_defaults", "tool_test_sample", "tool_ui", "tool_ui_incident", "tool_ui_version", "topic_placement_queue", "transcript", "trigger_event", "udt_dataset_fields", "udt_dataset_row_versions", "udt_dataset_rows", "udt_dataset_template", "udt_dataset_template_fields", "udt_document", "udt_document_snapshot", "udt_structured_list_items", "udt_workbook_snapshot", "ui_client", "ui_surface_agent_pref", "ui_surface_agent_role", "ui_surface_client_tool", "ui_surface_config", "ui_surface_value", "ui_surface_write_target", "unsubscribe_token", "uploads_inflight", "user_achievement", "user_active_context", "user_analysis_preference", "user_bookmark", "user_email_preference", "user_entity_state", "user_feedback", "user_follows", "user_form_profile", "user_markdown_sample", "user_memory", "user_preference", "user_profile", "user_secret", "user_secret_audit", "user_secret_grant", "user_stat", "user_storage_usage", "user_surface_state", "visibility_cache", "visibility_epoch", "voice", "war_room", "wbx_capture", "wbx_demo", "wbx_guidance", "wbx_highlight", "wbx_pattern", "wbx_recipe", "wbx_screenshot", "wbx_seo_audit", "wc_claim", "wc_impairment_definition", "wc_injury", "wc_report", "web_analysis_item", "web_brand", "web_brand_asset", "web_brand_offering", "web_business_fact", "web_business_location", "web_channel_analytics_daily", "web_crawl_event", "web_crawl_preset", "web_crawl_schedule", "web_crawl_session", "web_crawl_url", "web_discovered_item", "web_finding", "web_gsc_page_stat", "web_link_edge", "web_listing_publisher", "web_location_listing", "web_offering_template", "web_page", "web_page_content", "web_page_evidence", "web_page_sitemap", "web_property", "web_provider", "web_result", "web_screenshot", "web_site", "web_site_endpoint_rule", "web_site_item_config", "web_site_offering", "web_sitemap", "web_snapshot", "web_tag_manager_snapshot", "web_youtube_video", "webhook_deliveries", "webhook_dispatch_state", "webhooks", "wf_node_data_slot", "work_claim", "work_item", "workbook", "worker_heartbeat", "workflow", "workflow_card", "workflow_checkpoint", "workflow_comparison", "workflow_definition_version", "workflow_idempotency", "workflow_job", "workflow_node_events", "workflow_node_outcome", "workflow_plan", "workflow_plan_event", "workflow_plan_sample", "workflow_recovery_audit", "workflow_run", "workflow_run_log", "workflow_runtime_surface", "workflow_template", "workflow_trigger", "workflow_trigger_fire", "workflow_work_item", "working_document", "write_guard_key", "youtube_quota_day", "youtube_search", "youtube_video"];
|
|
3729
|
+
declare const ENTITY_TOKENS: readonly ["access_delta_probe", "access_delta_run", "access_request", "account_addon", "acquisition_block", "activity", "admin_audit_log", "admin_email_log", "admin_markdown_sample", "admin_user", "admission_config", "agent", "agent_card", "agent_definition_version", "agent_drift_alert", "agent_exemplar", "agent_mandate_note", "agent_prompt_remediation", "agent_provision_legacy", "agent_run", "agent_run_stage", "agent_schedule", "agent_schedule_claim", "agent_shortcut", "agent_surface_binding", "agent_template", "agent_term_list", "agent_usage", "agent_user_kv", "ai_api", "ai_endpoint", "ai_model", "ai_model_alias", "ai_offering", "ai_provider", "ai_setting", "analysis_result", "anon_form", "anon_function_birth_grandfather", "anon_hit", "anon_inbound", "anon_replay", "anon_submission", "anon_token", "api_field_warning", "api_request_log", "app", "app_config", "app_config_history", "app_definition_version", "app_error", "app_execution", "app_instance", "app_log", "app_log_muted_pattern", "app_log_norm_exception", "app_rate_limit", "app_setting", "app_sync_status", "approach", "artifact", "assessment", "assessment_item", "assessment_result", "assignment_session", "assist", "assist_producer_policy", "assist_producer_policy_history", "association_type", "assurance_level", "attempt", "audit_broken_functions", "audit_canonical_findings", "audit_exemption", "audit_function_deps", "audit_function_runtime_probe", "audit_m2m_candidates", "audit_refresh_log", "audit_stale_registry", "audit_unregistered_candidates", "bak_assoc_file_processed_document_20260812", "bak_assoc_type_file_processed_document_20260812", "bak_organization_name_dd043", "base_entity_template", "batch_cost_event", "batch_provider_batch", "batch_work_item", "billing_capability", "billing_capability_limit", "billing_connect_account", "billing_customer", "billing_plan", "billing_plan_limit", "billing_price", "billing_product", "billing_spend_guardrail", "billing_stripe_event", "billing_subscription", "billing_usage_ledger", "billing_user_plan", "browser_account_binding", "browser_action_event", "browser_authenticator_window", "browser_capture", "browser_control_request", "browser_handoff", "browser_login_attempt", "browser_login_recipe", "browser_profile", "browser_profile_checkpoint", "browser_run", "browser_site_observation", "browser_site_policy", "browser_stream_ticket", "build_lock", "calendar_event", "canvas_comment", "canvas_comment_like", "canvas_item", "canvas_item_state", "canvas_like", "canvas_score", "canvas_view", "capture_window", "carrying_rule", "catalog_entries_history", "catalog_entry", "category", "change_type_default", "chat_user_usage_summary", "citations", "class_purchase", "classifier_revision_ledger", "client_callable_door", "client_callable_door_retirement", "client_excluded_column_unregistered", "cmp_entry", "cmp_feedback", "code_file", "code_folder", "code_repository", "coding_session", "coding_session_entry", "comment", "commerce_asset_allocation", "commerce_asset_grading", "commerce_asset_identifier", "commerce_asset_lot_event", "commerce_asset_mandate_result", "commerce_asset_price_factor", "commerce_asset_reshoot_request", "commerce_asset_review", "commerce_asset_unknown", "commerce_certified_printer", "commerce_cloud_sync_connection", "commerce_ebay_business_policy", "commerce_ebay_category", "commerce_ebay_category_aspect", "commerce_ebay_category_tree", "commerce_ebay_custom_policy", "commerce_ebay_inventory_item", "commerce_ebay_inventory_item_group", "commerce_ebay_inventory_item_group_member", "commerce_ebay_inventory_location", "commerce_ebay_listing", "commerce_ebay_marketplace_policy", "commerce_ebay_media_asset", "commerce_ebay_notification_destination", "commerce_ebay_notification_event", "commerce_ebay_notification_subscription", "commerce_ebay_notification_topic", "commerce_ebay_offer", "commerce_ebay_order", "commerce_ebay_order_line_item", "commerce_ebay_shipping_fulfillment", "commerce_ebay_store_category", "commerce_human_correction", "commerce_intake_artifact", "commerce_intake_asset", "commerce_intake_batch", "commerce_label_batch", "commerce_label_code", "commerce_marketplace_account", "commerce_marketplace_account_deletion_audit", "commerce_marketplace_api_call", "commerce_marketplace_rate_budget", "commerce_marketplace_site", "commerce_marketplace_sync_run", "commerce_prediction_outcome", "commerce_print_order", "commerce_product", "commerce_product_channel_ref", "commerce_product_media", "commerce_product_variant", "commerce_recall_audit", "comparison_set", "component_group", "contact_medium", "contact_submission", "content_certification", "content_ir_kind", "content_ir_kind_component", "content_ir_kind_component_incident", "content_ir_kind_conformance", "content_ir_kind_edge", "content_ir_kind_example", "content_ir_kind_instance", "content_ir_kind_surface", "content_lane", "context_access_log", "context_item", "context_item_suggestion", "context_item_value", "context_value_refs", "conversation", "conversation_value", "courts", "credential_attachment", "credential_item", "credential_mutation_receipt", "crm_address", "crm_affiliation", "crm_blocklist_entry", "crm_contact_candidate", "crm_deal", "crm_deal_stage_event", "crm_enrichment_call", "crm_interaction", "crm_merge_candidate", "crm_outreach_list", "crm_outreach_list_member", "crm_party_merge", "crm_registry_ingest_run", "crm_registry_source", "crm_saved_view", "crm_sending_event", "crm_sending_identity", "crm_sending_identity_check", "crm_sending_policy", "custom_entity_definition", "custom_field_definition", "custom_field_target", "custom_record", "cx_agent_memory", "cx_agent_plan", "cx_agent_task", "cx_code_edit", "cx_code_message_file", "cx_conversation_documents", "cx_media", "cx_observational_memory", "cx_observational_memory_event", "cx_pending_injection", "cx_request", "cx_request_snapshot", "cx_tool_trace", "cx_user_request", "cx_user_todo", "dashboard_saved_view", "data_rights_event", "data_store", "data_store_members", "dataset", "dd171_containment_baseline", "dd175_cast", "dd175_component_lane_baseline", "ddl_guard_log", "deck_suggestion", "definer_class_exemption", "definer_client_grant_grandfather", "definer_grant_baseline", "deprecated_relation", "derive_run", "dev_login_audit", "dict_entry", "dict_provider_publication", "dict_setting", "dm_conversation", "dm_message", "dm_participant", "doc_render", "doc_signature", "dockets", "domain_classification", "edge_payload_kind", "egress_device", "egress_pairing", "egress_ticket", "emails", "embedding_cache", "embeddings_google_gemini_2_1536", "embeddings_oai_3_small_1536", "embeddings_voyage_4_large_1024", "embeddings_voyage_code_3_1024", "endpoint_family_sweep_state", "engine_owner_task", "entity_grant", "entity_relationship", "entity_type", "esign_campaign", "esign_campaign_member", "esign_consent_disclosure", "esign_envelope", "esign_envelope_certificate", "esign_envelope_document", "esign_envelope_event", "esign_envelope_external_ref", "esign_envelope_signer", "esign_provider", "esign_provider_binding", "esign_signing_key", "execution_event_cursor", "extension_auth_code", "external_link", "external_source", "extract_sweep_state", "fc_card", "fc_detail", "fc_set", "feature_doc", "feature_knob", "feedback_comments", "feedback_user_messages", "field_component", "file", "file_analysis", "file_entities", "file_overrides", "file_page_annotations", "file_pages", "file_rag_job", "file_version", "files_account_tier", "files_machine_written_prefix", "files_sync_mapping", "files_user_account", "flashcard_data", "flashcard_history", "flashcard_review", "flashcard_set", "flashcard_sets", "flexible_data", "folder", "function_contract", "game_badge", "game_result", "game_room", "global_execution", "global_execution_checkpoint", "global_execution_control", "global_execution_event", "global_meter_entry", "global_origin", "global_request", "google_document", "growth_loop_event", "growth_loop_run", "growth_loop_stage_run", "guardian_link", "guest_conversion_audit", "guest_execution_log", "guest_executions", "guided_checklist_run", "heatmap_save", "hindsight_enrollment", "hindsight_finding", "hindsight_regression_case", "hindsight_replay", "hindsight_replay_step", "hindsight_review", "hr_access_audit", "hr_access_role", "hr_accommodation_request", "hr_ai_evidence", "hr_alert_routing_rule", "hr_application", "hr_approval_authority", "hr_approval_delegation", "hr_asset", "hr_asset_assignment", "hr_attendance_exception", "hr_auto_close_rule", "hr_availability", "hr_background_check", "hr_benefits_event", "hr_calculation_snapshot", "hr_candidate", "hr_candidate_conversion", "hr_candidate_message", "hr_careers_portal", "hr_checklist_item", "hr_checklist_run", "hr_checklist_template", "hr_checklist_template_item", "hr_compensation", "hr_corrective_action", "hr_course", "hr_course_version", "hr_credential", "hr_crew", "hr_deduction_code", "hr_department", "hr_derived_grant", "hr_disposition_event", "hr_earning_code", "hr_eeo_response", "hr_emergency_contact", "hr_employee", "hr_employee_private", "hr_employer_profile", "hr_employment", "hr_employment_pin", "hr_engagement", "hr_establishment", "hr_external_identity", "hr_field_policy", "hr_holiday", "hr_holiday_calendar", "hr_i9", "hr_i9_document", "hr_incident", "hr_incident_party", "hr_interview", "hr_interview_kit", "hr_job_title", "hr_jurisdiction", "hr_jurisdiction_rule", "hr_jurisdiction_rule_class", "hr_jurisdiction_rule_org_decision", "hr_jurisdiction_rule_test", "hr_kiosk_device", "hr_kiosk_session", "hr_labor_target", "hr_leave_case", "hr_leave_enrollment", "hr_leave_ledger", "hr_leave_policy", "hr_leave_request", "hr_legal_hold", "hr_legal_hold_item", "hr_location", "hr_new_hire_report", "hr_offer", "hr_opening", "hr_overtime_alert", "hr_overtime_alert_rule", "hr_overtime_preapproval", "hr_pay_group", "hr_pay_period", "hr_pay_period_employment", "hr_payroll_export", "hr_payroll_export_line", "hr_position_assignment", "hr_posting", "hr_posting_publication", "hr_provider_binding", "hr_provider_event", "hr_provisioning_result", "hr_punch", "hr_recalculation_batch", "hr_record_class", "hr_records_request", "hr_reference_check", "hr_reporting_line", "hr_requisition", "hr_restricted_note", "hr_retention_rule", "hr_role_assignment", "hr_schedule", "hr_schedule_change", "hr_schedule_guidance", "hr_schedule_template", "hr_schedule_template_shift", "hr_scorecard", "hr_separation", "hr_shift", "hr_shift_claim", "hr_staffing_requirement", "hr_survey", "hr_survey_invitation", "hr_survey_question", "hr_survey_response", "hr_tax_registration", "hr_tax_withholding", "hr_time_adjustment", "hr_training_assignment", "hr_training_attempt", "hr_transcript_entry", "hr_verification_letter_request", "hr_work_interval", "hr_workflow_binding", "hr_workflow_decision", "hr_workflow_definition", "hr_workflow_event", "hr_workflow_failure", "hr_workflow_flow_type", "hr_workflow_instance", "hr_workflow_step", "hr_workflow_step_definition", "hr_workweek", "html_extraction", "iam_access_audit", "iam_api_key", "iam_emergency_door_request", "idempotency", "industry", "industry_curator", "infra_status", "ingest_runs", "integration_connection", "integration_connection_resource", "interview_decision_interview", "interview_decision_question", "interview_document_revision", "interview_hole", "interview_question", "interview_session", "interview_turn", "invitation", "invitation_code", "invitation_request", "io_comment", "io_contract", "io_import", "io_outbox", "item", "item_mastery", "judge_verdict", "jurisdiction_policy", "keyword_classification_queue", "kg_alert", "kg_chunk_entities", "kg_chunks", "kg_clusters", "kg_edges", "kg_entities", "kg_entity_aliases", "kg_suggestion_ack", "kg_sweep_queue", "kg_sweep_run", "kg_sweep_state", "kg_value_match", "knob_override", "knob_override_audit", "knob_rung_lock", "knob_scope_kind", "knob_write_door", "league_membership", "learn_doc", "library_doc", "lifecycle_archive", "lifecycle_archive_row", "lifecycle_audit", "lifecycle_entity_plan", "lifecycle_map_build", "lifecycle_reference_map", "lifecycle_run", "lifecycle_tier_ledger", "location", "mandate", "mandate_advance_batch_row", "mandate_binding", "mandate_binding_legacy", "mandate_goal_clauses", "mandate_legacy", "mandate_observation", "mandate_reference", "mandate_scan", "mandate_treatment", "marketing_initiative", "masterwork_corpus_item", "masterwork_run", "masterwork_run_kind", "masterwork_source", "math_course_structure", "math_problem", "matrx_action_ledger", "mcp_config", "mcp_server", "mcp_user_conn", "media_capture_handoff", "media_catalog_setting", "media_library_item", "media_selection_item", "media_selection_job", "media_source_library", "meet_call_invite", "meet_meeting", "meet_note", "meet_participant", "meet_recording", "meet_transcript_segment", "membership", "membership_grant", "merge_field_provenance", "message", "message_template", "meta_excluded_schema", "meta_table_stats_history", "metadata_reserved_keys", "microservice_project", "migration_log", "mtx_media_heal_queue", "mtx_public_url_guard", "ner_shadow", "note", "note_folder", "notification", "notification_channel_preference", "notification_event_override", "notification_event_type", "notification_preference", "notification_submission", "notify_outsider_door_baseline", "oauth_handoff_claim", "opinion_clusters", "opinions", "ops_issue_class", "ops_issue_event", "ops_proof_check", "ops_proof_run", "ops_proof_scenario", "org_admin_audit", "org_change_policy", "org_context_ledger", "org_industries", "org_member_control", "org_module_config", "org_plan", "org_repair_0253_backup", "organization", "organization_preferences", "organization_visibility_version", "output_feedback", "outreach_acceptance", "page_extraction_job", "page_extraction_page_run", "page_extraction_results", "page_extraction_runs", "page_intent_queue", "page_mapping_queue", "part_config", "part_config_sub", "party", "party_contact_point", "passkey_credential", "path_drift_repair_2026_09", "pc_article", "pc_episode", "pc_show", "pc_studio_run", "pc_studio_run_asset", "pdf_consolidation_log", "pdf_redaction_audit", "pdf_redaction_key_escrow", "permission_grant", "plan_cms_fill_item", "plan_cms_fill_job", "plan_entity", "plan_node", "plan_node_artifact", "plan_node_step", "plan_profile", "platform_action_request", "platform_actor_session", "platform_actor_token", "platform_actor_token_event", "platform_continued_access", "platform_org_knob_override", "platform_outcome_event", "platform_outsider_consumer", "platform_reachability", "platform_reference_category", "platform_reference_declaration", "platform_repo", "platform_saved_view", "platform_schema", "platform_share_link", "platform_user_knob_override", "podcast_race", "policy_overlap_backup", "policy_overlap_probe", "processed_document", "processed_document_page", "product_capture_file", "product_capture_item", "product_capture_payload", "product_capture_product", "product_capture_question", "profile", "project", "prompt", "provider_account", "provider_account_credential", "provision", "provision_generate_target", "provision_grant", "provision_marker", "provision_rule_message", "provision_schema", "provision_shape_debt", "provision_spec", "provision_spec_grandfather", "provision_vocabulary", "purpose", "quiz_session", "rag_ingest_run", "rag_library_audit_log", "rate_limit_buckets", "recompute_queue", "record", "record_alias", "redaction_mapping", "research_analysis", "research_content", "research_context_bundle", "research_document", "research_intent", "research_keyword", "research_media", "research_source", "research_synthesis", "research_tag", "research_template", "research_topic", "retention_policy", "retrieval_audit", "review_queue", "route_manifest_entry", "row_version", "rulebook", "runtime_operation_stream", "runtime_operation_stream_batch", "sandbox_instance", "sch_agent_task", "sch_run", "sch_task", "sch_trigger", "schema_client_exposure", "schema_migration_ledger", "schema_migration_legacy", "schema_migration_slot_grandfather", "schema_templates", "scope", "scope_association_suggestion", "scope_dataset_instance", "scope_door_registry", "scope_item_value_suggestion", "scope_suggestion", "scope_type", "scrape_domain", "scrape_domain_settings", "scrape_failure_log", "scrape_parsed_page", "scrape_path_override", "scrape_path_pattern", "scrape_retry_queue", "seo_ai_capability", "seo_ai_visibility_citation", "seo_ai_visibility_claim", "seo_ai_visibility_panel", "seo_ai_visibility_response", "seo_ai_visibility_signal", "seo_backlink", "seo_backlink_change_event", "seo_backlink_dimension_snapshot", "seo_backlink_observation", "seo_backlink_snapshot", "seo_change_assessment", "seo_change_event", "seo_change_item", "seo_change_metric", "seo_change_set", "seo_change_theory", "seo_collection_run", "seo_competitor", "seo_competitor_observation", "seo_competitor_opportunity", "seo_coverage_mention", "seo_coverage_tracker", "seo_dimension_value_matcher", "seo_engine_schedule", "seo_geo_place", "seo_gsc_dig_rule", "seo_keyword", "seo_keyword_class_rule", "seo_keyword_edge", "seo_keyword_facet", "seo_keyword_market", "seo_keyword_market_observation", "seo_keyword_place", "seo_keyword_saved_view", "seo_keyword_topic", "seo_landscape_brief", "seo_link_gap_domain", "seo_link_gap_match", "seo_map_facet", "seo_map_facet_value", "seo_map_topic", "seo_page_measurement_health", "seo_page_performance", "seo_provider_call", "seo_provider_task", "seo_rank_observation", "seo_rank_target", "seo_raw_payload", "seo_referring_domain_profile", "seo_reputation_case", "seo_search_performance_daily", "seo_serp_mention", "seo_serp_opportunity", "seo_serp_result", "seo_serp_snapshot", "seo_site_geo_area", "seo_site_keyword_offering", "seo_site_keyword_value", "seo_site_offering_value", "seo_site_topic_value", "seo_site_value_combo", "seo_site_value_worth", "seo_site_vocabulary", "seo_source_request", "seo_starter_pack", "seo_starter_pack_item", "seo_story_angle", "seo_topic", "seo_topical_map", "seo_web_analytics_daily", "share_link", "shareable_resource_registry", "shared_canvas_item", "short_link", "shortcut_category", "skill", "skill_category", "skill_render_definition", "sms_consent", "sms_conversation", "sms_message", "sms_message_media", "sms_notification", "sms_notification_preference", "sms_phone_number", "sms_rate_limits", "sms_webhook_logs", "soft_delete_edge", "source_authority", "stage_dockets_966c18eca7", "stage_ref_kind", "stamped_write_table", "structure", "structured_list", "studio_cleaned_segments", "studio_concept_items", "studio_documents", "studio_module_segments", "studio_raw_segments", "studio_recording_chunks", "studio_recording_segments", "studio_run", "studio_session", "studio_session_settings", "study_attempt", "study_goal", "study_media", "study_plan", "study_plan_block", "study_plan_day", "study_reminder_context", "study_reminder_delivery", "study_session", "study_source_chunk", "study_streak", "study_structured_section", "superseded_policy", "surface", "system_announcement", "system_context_item", "system_error", "system_orgs", "system_personal_org_failure", "system_write_failure", "task", "task_user_state", "taxonomy_node", "template_context_items", "template_scope_types", "templates", "test_handset_inbox", "test_handset_verification", "thread", "tool", "tool_binding", "tool_bundle", "tool_call", "tool_definition_version", "tool_executor", "tool_surface_defaults", "tool_test_sample", "tool_ui", "tool_ui_incident", "tool_ui_version", "topic_placement_queue", "transcript", "trigger_event", "udt_dataset_fields", "udt_dataset_row_versions", "udt_dataset_rows", "udt_dataset_template", "udt_dataset_template_fields", "udt_document", "udt_document_snapshot", "udt_structured_list_items", "udt_workbook_snapshot", "ui_client", "ui_surface_agent_pref", "ui_surface_agent_role", "ui_surface_client_tool", "ui_surface_config", "ui_surface_value", "ui_surface_write_target", "unsubscribe_token", "uploads_inflight", "user_achievement", "user_active_context", "user_analysis_preference", "user_bookmark", "user_email_preference", "user_entity_state", "user_feedback", "user_follows", "user_form_profile", "user_markdown_sample", "user_memory", "user_preference", "user_profile", "user_secret", "user_secret_audit", "user_secret_grant", "user_stat", "user_storage_usage", "user_surface_state", "visibility_cache", "visibility_epoch", "voice", "war_room", "wbx_capture", "wbx_demo", "wbx_guidance", "wbx_highlight", "wbx_pattern", "wbx_recipe", "wbx_screenshot", "wbx_seo_audit", "wc_claim", "wc_impairment_definition", "wc_injury", "wc_report", "web_analysis_item", "web_brand", "web_brand_asset", "web_brand_offering", "web_business_fact", "web_business_location", "web_channel_analytics_daily", "web_crawl_event", "web_crawl_preset", "web_crawl_schedule", "web_crawl_session", "web_crawl_url", "web_discovered_item", "web_finding", "web_gsc_page_stat", "web_link_edge", "web_listing_publisher", "web_location_listing", "web_offering_template", "web_page", "web_page_content", "web_page_evidence", "web_page_sitemap", "web_property", "web_provider", "web_result", "web_screenshot", "web_site", "web_site_endpoint_rule", "web_site_item_config", "web_site_offering", "web_sitemap", "web_snapshot", "web_tag_manager_snapshot", "web_youtube_video", "webhook_deliveries", "webhook_dispatch_state", "webhooks", "wf_node_data_slot", "work_claim", "work_item", "workbook", "worker_heartbeat", "workflow", "workflow_card", "workflow_checkpoint", "workflow_comparison", "workflow_definition_version", "workflow_idempotency", "workflow_job", "workflow_node_events", "workflow_node_outcome", "workflow_plan", "workflow_plan_event", "workflow_plan_sample", "workflow_recovery_audit", "workflow_run", "workflow_run_log", "workflow_runtime_surface", "workflow_template", "workflow_trigger", "workflow_trigger_fire", "workflow_work_item", "working_document", "write_guard_key", "youtube_quota_day", "youtube_search", "youtube_video"];
|
|
3431
3730
|
type StoreRefusalCode = (typeof STORE_REFUSAL_CODES)[number]["code"];
|
|
3432
3731
|
type StoreDoorName = (typeof STORE_DOORS)[number]["name"];
|
|
3433
3732
|
type EntityToken = (typeof ENTITY_TOKENS)[number];
|
|
@@ -4259,4 +4558,338 @@ interface FieldPatch {
|
|
|
4259
4558
|
expr?: Record<string, unknown>;
|
|
4260
4559
|
}
|
|
4261
4560
|
|
|
4262
|
-
|
|
4561
|
+
/**
|
|
4562
|
+
* Who the data belongs to. A test organization is created under this name — the
|
|
4563
|
+
* owner's law #4: every organization, table, record, form, portal, dashboard,
|
|
4564
|
+
* document, checklist, booking page, capture sheet, subscription, pipeline and
|
|
4565
|
+
* enrichment created for a test carries the use case's own name. Cleanup finds
|
|
4566
|
+
* a test organization by `cleanupTag` in its settings, NEVER by a junk name.
|
|
4567
|
+
*/
|
|
4568
|
+
interface BusinessIdentity {
|
|
4569
|
+
/** "Harbor Dental Group" — what goes on the organization, the invoice, the screenshot. */
|
|
4570
|
+
name: string;
|
|
4571
|
+
/** "Harbor Dental Group, PLLC" — used on documents that need the legal entity. */
|
|
4572
|
+
legalName?: string;
|
|
4573
|
+
/** One line a stranger would understand: "A six-chair family dental practice." */
|
|
4574
|
+
describes: string;
|
|
4575
|
+
/** Plausible and synthesized. Never a real business's real address. */
|
|
4576
|
+
address: PostalAddress;
|
|
4577
|
+
/** Synthesized, E.164-shaped or the local convention the document uses. */
|
|
4578
|
+
phone: string;
|
|
4579
|
+
/**
|
|
4580
|
+
* Synthesized. NOT a `.example` domain — those read as fake on a screenshot.
|
|
4581
|
+
* Optional, because the law welcomes personal-life use cases and a household
|
|
4582
|
+
* renovation or a family recipe collection genuinely has no website.
|
|
4583
|
+
*/
|
|
4584
|
+
website?: string;
|
|
4585
|
+
/** Synthesized mailbox on the same domain: "frontdesk@harbordentalgroup.com". */
|
|
4586
|
+
email: string;
|
|
4587
|
+
/** IANA zone, so dates in the rows make sense together. */
|
|
4588
|
+
timezone: string;
|
|
4589
|
+
}
|
|
4590
|
+
interface PostalAddress {
|
|
4591
|
+
line1: string;
|
|
4592
|
+
line2?: string;
|
|
4593
|
+
city: string;
|
|
4594
|
+
/** State, province or region, in the country's own convention. */
|
|
4595
|
+
region: string;
|
|
4596
|
+
postalCode: string;
|
|
4597
|
+
/** ISO 3166-1 alpha-2. */
|
|
4598
|
+
country: string;
|
|
4599
|
+
}
|
|
4600
|
+
/**
|
|
4601
|
+
* One table of the business, in the words the practitioner uses. `token` is the
|
|
4602
|
+
* slug the store addresses it by; `name` is what a person reads.
|
|
4603
|
+
*/
|
|
4604
|
+
interface UseCaseTable {
|
|
4605
|
+
/** snake_case, singular, the practitioner's noun: "patient", "work_order". */
|
|
4606
|
+
token: string;
|
|
4607
|
+
/** "Patients", "Work orders". */
|
|
4608
|
+
name: string;
|
|
4609
|
+
labelSingular: string;
|
|
4610
|
+
labelPlural: string;
|
|
4611
|
+
/** REC-32. One of the seven, closed. Most business tables are `entity`. */
|
|
4612
|
+
type: TableType;
|
|
4613
|
+
display: TableDisplay;
|
|
4614
|
+
/** REC-4. `light` is the whole document; `heavy` is indexed on write. */
|
|
4615
|
+
weight: StorageMode;
|
|
4616
|
+
ordered: boolean;
|
|
4617
|
+
/** A lucide icon name, so the screen is not a wall of identical rows. */
|
|
4618
|
+
icon?: string;
|
|
4619
|
+
/** REC-2. The field key whose value titles a record. Must be a declared field. */
|
|
4620
|
+
titleField: string;
|
|
4621
|
+
/** What this table is FOR, in the practitioner's words. */
|
|
4622
|
+
describes: string;
|
|
4623
|
+
fields: UseCaseField[];
|
|
4624
|
+
/** The seed rows. Enough that the screen looks like a working business. */
|
|
4625
|
+
rows: UseCaseRow[];
|
|
4626
|
+
}
|
|
4627
|
+
/**
|
|
4628
|
+
* One field. `parityType` is the word a person picks in the UI and it must be
|
|
4629
|
+
* one the store resolves — any parity type the store ships, any behaviour they
|
|
4630
|
+
* are made of, or one of the plain synonyms (see `FieldTypeWord`). The set is
|
|
4631
|
+
* `RESOLVABLE_FIELD_TYPE_WORDS`, derived from the registry; never a count or a
|
|
4632
|
+
* list typed out here.
|
|
4633
|
+
*/
|
|
4634
|
+
interface UseCaseField {
|
|
4635
|
+
/** snake_case, the practitioner's own name for it: "date_of_birth", "po_number". */
|
|
4636
|
+
key: string;
|
|
4637
|
+
/** "Date of birth", "PO number". Sentence case, the way the form reads. */
|
|
4638
|
+
label: string;
|
|
4639
|
+
parityType: FieldTypeWord;
|
|
4640
|
+
/** FLD-2. The shape of the value, never a second behaviour. */
|
|
4641
|
+
multi?: boolean;
|
|
4642
|
+
/** FLD-2. The values carry their own dates. */
|
|
4643
|
+
dated?: boolean;
|
|
4644
|
+
required?: boolean;
|
|
4645
|
+
/** FLD-N-1. The unit CHANGES THE MEANING and lives on the field: "USD", "lb", "mi". */
|
|
4646
|
+
unit?: string | null;
|
|
4647
|
+
/** "currency", "percent", "email", "phone", "url", "date". Never decoration. */
|
|
4648
|
+
format?: string | null;
|
|
4649
|
+
/** FLD-7. Where the values come from. Defaults to `manual`. */
|
|
4650
|
+
source?: FieldSource;
|
|
4651
|
+
/** FLD-9. A formula says whether it computes on read or on write. */
|
|
4652
|
+
computeOn?: ComputeOn;
|
|
4653
|
+
/** FLD-3. Validation rules the store will enforce. */
|
|
4654
|
+
rules?: FieldRule[];
|
|
4655
|
+
/**
|
|
4656
|
+
* For `select` / `multi_select`: the REAL lifecycle words of this business,
|
|
4657
|
+
* in the order they actually happen. "Scheduled, Confirmed, Seen, No-show" —
|
|
4658
|
+
* never "Option A, Option B".
|
|
4659
|
+
*/
|
|
4660
|
+
choices?: string[];
|
|
4661
|
+
/** For a relation field: the `token` of the table it points at. */
|
|
4662
|
+
relationTarget?: string;
|
|
4663
|
+
relationMax?: number;
|
|
4664
|
+
/** AGT-7. The ceiling a merge field's delivery can never widen. */
|
|
4665
|
+
sensitivity: FieldSensitivity;
|
|
4666
|
+
/** FLD-12. Whether an agent may see this field's values at all. */
|
|
4667
|
+
contextPolicy: ContextPolicy;
|
|
4668
|
+
/** What the practitioner would be told about this field, if anything. */
|
|
4669
|
+
help?: string;
|
|
4670
|
+
}
|
|
4671
|
+
/**
|
|
4672
|
+
* One row of seed data.
|
|
4673
|
+
*
|
|
4674
|
+
* `key` is a stable LOCAL id (not a UUID): relationships across tables point at
|
|
4675
|
+
* it, so a template is readable and a seeder can resolve the graph in one pass
|
|
4676
|
+
* without inventing identifiers. Use a meaningful slug — "patient-rivera-m",
|
|
4677
|
+
* not "row-7".
|
|
4678
|
+
*/
|
|
4679
|
+
interface UseCaseRow {
|
|
4680
|
+
key: string;
|
|
4681
|
+
/**
|
|
4682
|
+
* Keyed by the table's field keys. A relation field's value is the `key` (or
|
|
4683
|
+
* an array of keys) of rows in the target table.
|
|
4684
|
+
*/
|
|
4685
|
+
values: Record<string, unknown>;
|
|
4686
|
+
}
|
|
4687
|
+
/**
|
|
4688
|
+
* REL-1…REL-9. The domain truth, stated once: "an invoice belongs to the job it
|
|
4689
|
+
* bills, and a job belongs to the client who asked for it."
|
|
4690
|
+
*
|
|
4691
|
+
* The field side carries `relationTarget`; this is the declaration a seeder
|
|
4692
|
+
* reads, because it also carries the flavour, the cardinality, what happens to
|
|
4693
|
+
* the far side on delete, and the reverse name.
|
|
4694
|
+
*/
|
|
4695
|
+
interface UseCaseRelationship {
|
|
4696
|
+
/** One sentence of domain truth. Not "links A to B". */
|
|
4697
|
+
describes: string;
|
|
4698
|
+
/** The table that HOLDS the relation field. */
|
|
4699
|
+
fromTable: string;
|
|
4700
|
+
/** The field key on `fromTable`. Must be declared and must be a relation. */
|
|
4701
|
+
fromField: string;
|
|
4702
|
+
/** The `token` of the table it points at. */
|
|
4703
|
+
toTable: string;
|
|
4704
|
+
/** REL-1. Ownership is one fact, stored once, read from the field's side. */
|
|
4705
|
+
flavor: RelationFlavor;
|
|
4706
|
+
/** REL-7. */
|
|
4707
|
+
cardinality: RelationCardinality;
|
|
4708
|
+
/** REL-2. What happens to the far side, separate from flavour. */
|
|
4709
|
+
onDelete: OnDelete;
|
|
4710
|
+
/** REL-9. The reverse, visible from both ends, and NOT a second field. */
|
|
4711
|
+
inverseKey: string;
|
|
4712
|
+
}
|
|
4713
|
+
/** Who is allowed to open a form. */
|
|
4714
|
+
type FormAudience = "public" | "member" | "staff";
|
|
4715
|
+
/**
|
|
4716
|
+
* A form a practitioner in this business would actually put in front of someone
|
|
4717
|
+
* — "the Harbor Dental new-patient intake", never "Test Form 1".
|
|
4718
|
+
*/
|
|
4719
|
+
interface UseCaseForm {
|
|
4720
|
+
token: string;
|
|
4721
|
+
name: string;
|
|
4722
|
+
/** What it is for, and who fills it in. */
|
|
4723
|
+
describes: string;
|
|
4724
|
+
audience: FormAudience;
|
|
4725
|
+
/** The table a submission becomes a record of. */
|
|
4726
|
+
table: string;
|
|
4727
|
+
fields: UseCaseFormField[];
|
|
4728
|
+
submitLabel: string;
|
|
4729
|
+
/** What the person sees after they submit. Real words, not "Success!". */
|
|
4730
|
+
confirmation: string;
|
|
4731
|
+
}
|
|
4732
|
+
interface UseCaseFormField {
|
|
4733
|
+
/** A field key on the form's table. */
|
|
4734
|
+
fieldKey: string;
|
|
4735
|
+
/** Override the field's own label when the form asks it differently. */
|
|
4736
|
+
label?: string;
|
|
4737
|
+
required?: boolean;
|
|
4738
|
+
/** The helper line under the input, if a practitioner would want one. */
|
|
4739
|
+
help?: string;
|
|
4740
|
+
}
|
|
4741
|
+
/**
|
|
4742
|
+
* The real lifecycle a record moves through in this business, in order. A
|
|
4743
|
+
* pipeline's stages are the words the staff say out loud.
|
|
4744
|
+
*/
|
|
4745
|
+
interface UseCasePipeline {
|
|
4746
|
+
token: string;
|
|
4747
|
+
name: string;
|
|
4748
|
+
describes: string;
|
|
4749
|
+
/** The table whose records move through it. */
|
|
4750
|
+
table: string;
|
|
4751
|
+
/** The `select` field that holds the current stage. */
|
|
4752
|
+
stageField: string;
|
|
4753
|
+
stages: UseCasePipelineStage[];
|
|
4754
|
+
}
|
|
4755
|
+
interface UseCasePipelineStage {
|
|
4756
|
+
/** Must appear in the stage field's `choices`. */
|
|
4757
|
+
key: string;
|
|
4758
|
+
label: string;
|
|
4759
|
+
/** What is true of a record sitting here, and what moves it on. */
|
|
4760
|
+
describes: string;
|
|
4761
|
+
/** Roughly how long a record sits here, so a board looks believable. */
|
|
4762
|
+
typicalDurationDays?: number;
|
|
4763
|
+
}
|
|
4764
|
+
/**
|
|
4765
|
+
* The question the owner of this business actually asks a dashboard on Monday
|
|
4766
|
+
* morning — "how much have we invoiced this month that hasn't been paid?" —
|
|
4767
|
+
* plus how it is answered from the tables above.
|
|
4768
|
+
*/
|
|
4769
|
+
interface UseCaseDashboardQuestion {
|
|
4770
|
+
/** The question in the practitioner's own words, ending in a question mark. */
|
|
4771
|
+
question: string;
|
|
4772
|
+
/** Why they care. What they DO differently depending on the answer. */
|
|
4773
|
+
whyItMatters: string;
|
|
4774
|
+
table: string;
|
|
4775
|
+
aggregate: "count" | "sum" | "avg" | "min" | "max";
|
|
4776
|
+
/** The field aggregated. Omitted only for `count`. */
|
|
4777
|
+
of?: string;
|
|
4778
|
+
groupBy?: string;
|
|
4779
|
+
/** A plain-language filter: "status is Unpaid and due_date is before today". */
|
|
4780
|
+
filter?: string;
|
|
4781
|
+
/** What the number IS: "USD", "days", "appointments". */
|
|
4782
|
+
answerUnit: string;
|
|
4783
|
+
}
|
|
4784
|
+
/**
|
|
4785
|
+
* A document this business really sends. The body carries merge fields in
|
|
4786
|
+
* `{{double_brace}}` form; every one of them is declared below and resolves to a
|
|
4787
|
+
* field on the document's table (or a stated literal).
|
|
4788
|
+
*/
|
|
4789
|
+
interface UseCaseDocumentTemplate {
|
|
4790
|
+
token: string;
|
|
4791
|
+
name: string;
|
|
4792
|
+
describes: string;
|
|
4793
|
+
table: string;
|
|
4794
|
+
/** The subject or title line, merge fields allowed. */
|
|
4795
|
+
title: string;
|
|
4796
|
+
/** The body. Real prose this business would send, merge fields inline. */
|
|
4797
|
+
body: string;
|
|
4798
|
+
mergeFields: UseCaseMergeField[];
|
|
4799
|
+
}
|
|
4800
|
+
interface UseCaseMergeField {
|
|
4801
|
+
/** The token inside `{{ }}` in the body. */
|
|
4802
|
+
key: string;
|
|
4803
|
+
/**
|
|
4804
|
+
* The field key it reads, on the document's table — or, when it is not a
|
|
4805
|
+
* field, the word `business` (from `BusinessIdentity`) or `today`.
|
|
4806
|
+
*/
|
|
4807
|
+
from: string;
|
|
4808
|
+
describes: string;
|
|
4809
|
+
}
|
|
4810
|
+
/** How a notification reaches someone. */
|
|
4811
|
+
type NotificationChannel = "email" | "sms" | "in_app";
|
|
4812
|
+
/**
|
|
4813
|
+
* The one automatic message this business would genuinely want — the thing a
|
|
4814
|
+
* practitioner sets up on day one and never turns off.
|
|
4815
|
+
*/
|
|
4816
|
+
interface UseCaseNotificationRule {
|
|
4817
|
+
token: string;
|
|
4818
|
+
name: string;
|
|
4819
|
+
describes: string;
|
|
4820
|
+
when: UseCaseNotificationTrigger;
|
|
4821
|
+
/** Who it goes to, in the business's own words: "the assigned hygienist". */
|
|
4822
|
+
audience: string;
|
|
4823
|
+
channel: NotificationChannel;
|
|
4824
|
+
/** The actual message. Merge fields allowed, same convention as documents. */
|
|
4825
|
+
message: string;
|
|
4826
|
+
}
|
|
4827
|
+
interface UseCaseNotificationTrigger {
|
|
4828
|
+
table: string;
|
|
4829
|
+
event: "created" | "updated" | "stage_entered" | "due" | "overdue";
|
|
4830
|
+
/** For `stage_entered`: the stage key. */
|
|
4831
|
+
stage?: string;
|
|
4832
|
+
/** For `due` / `overdue`: the date field watched. */
|
|
4833
|
+
field?: string;
|
|
4834
|
+
/** For `due`: how many days ahead it fires. */
|
|
4835
|
+
daysBefore?: number;
|
|
4836
|
+
}
|
|
4837
|
+
/**
|
|
4838
|
+
* Where the shape and the values came from. `synthesized` means a person wrote
|
|
4839
|
+
* plausible values out of domain knowledge; `public-data` means the numbers or
|
|
4840
|
+
* names were derived from a genuinely public dataset, which is named.
|
|
4841
|
+
*
|
|
4842
|
+
* Either way the law holds: no real person, no real customer, no production row.
|
|
4843
|
+
*/
|
|
4844
|
+
interface UseCaseProvenance {
|
|
4845
|
+
kind: "synthesized" | "public-data";
|
|
4846
|
+
/** Named when `kind` is `public-data`. */
|
|
4847
|
+
source?: string;
|
|
4848
|
+
/** Who or what wrote this file, and when. */
|
|
4849
|
+
authoredBy: string;
|
|
4850
|
+
authoredOn: string;
|
|
4851
|
+
/**
|
|
4852
|
+
* The affirmation, carried in the data so a reviewer can see it: every person,
|
|
4853
|
+
* address, phone and mailbox here is invented and belongs to nobody.
|
|
4854
|
+
*/
|
|
4855
|
+
noRealPeople: true;
|
|
4856
|
+
}
|
|
4857
|
+
/** One real business, and everything a test, seed, demo or screenshot needs of it. */
|
|
4858
|
+
interface UseCase {
|
|
4859
|
+
/** kebab-case and unique: "harbor-dental-new-patient-intake". */
|
|
4860
|
+
id: string;
|
|
4861
|
+
/**
|
|
4862
|
+
* THE SENTENCE. Who the user is, what business they run, and what job this
|
|
4863
|
+
* exact feature does for them — one sentence, at the top, before anything
|
|
4864
|
+
* else. This is the first thing the law asks for and the validator checks it.
|
|
4865
|
+
*/
|
|
4866
|
+
useCase: string;
|
|
4867
|
+
/** The industry, for rotation: "Dentistry", "Property management". */
|
|
4868
|
+
industry: string;
|
|
4869
|
+
business: BusinessIdentity;
|
|
4870
|
+
/**
|
|
4871
|
+
* The tag written into a test organization's settings so cleanup can find it.
|
|
4872
|
+
* Cleanup finds test data by THIS, never by a junk name.
|
|
4873
|
+
*/
|
|
4874
|
+
cleanupTag: string;
|
|
4875
|
+
tables: UseCaseTable[];
|
|
4876
|
+
relationships: UseCaseRelationship[];
|
|
4877
|
+
form: UseCaseForm;
|
|
4878
|
+
pipeline: UseCasePipeline;
|
|
4879
|
+
dashboardQuestion: UseCaseDashboardQuestion;
|
|
4880
|
+
documentTemplate: UseCaseDocumentTemplate;
|
|
4881
|
+
notificationRule: UseCaseNotificationRule;
|
|
4882
|
+
provenance: UseCaseProvenance;
|
|
4883
|
+
}
|
|
4884
|
+
/** What the registry lists without loading a use case's rows. */
|
|
4885
|
+
interface UseCaseSummary {
|
|
4886
|
+
id: string;
|
|
4887
|
+
useCase: string;
|
|
4888
|
+
industry: string;
|
|
4889
|
+
businessName: string;
|
|
4890
|
+
/** How many tables and rows the file carries, so a caller can pick by size. */
|
|
4891
|
+
tableCount: number;
|
|
4892
|
+
rowCount: number;
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
export { type EntityToken as $, type TableProposal as A, type BusinessIdentity as B, type RecordsError as C, type PgError as D, type StaleWriteDetail as E, type FormAudience as F, type PredictedRefusal as G, ABSENCE_REASONS as H, ACTOR_VOCABULARY as I, type AbsenceReason as J, type Actor as K, COMPUTE_ON as L, CONTEXT_POLICIES as M, type NotificationChannel as N, type ComputeOn as O, type PostalAddress as P, type ContextPolicy as Q, type RecordDocument as R, type StoredRecord as S, type Timestamp as T, type UseCase as U, DECLARABLE_FIELD_KINDS as V, type WriteConflict as W, DELIVERIES as X, type DeclarableFieldKind as Y, type Delivery as Z, ENTITY_TOKENS as _, type UseCaseSummary as a, err as a$, FIELD_SENSITIVITIES as a0, FIELD_SOURCES as a1, FRESHNESS as a2, type FieldBehavior as a3, type FieldRule as a4, type FieldSensitivity as a5, type FieldSource as a6, type FieldTypeWord as a7, type ForbiddenEnvelopeWord as a8, type Freshness as a9, type RelationBinding as aA, type RelationCardinality as aB, type RelationDisplay as aC, type RelationFlavor as aD, type RetiredActorWord as aE, type RuleNodeKind as aF, type RuleUse as aG, STORAGE_MODES as aH, STORE_DOORS as aI, STORE_KNOBS as aJ, STORE_REFUSAL_CODES as aK, type StorageMode as aL, type StoreDoorName as aM, type StoreRefusalCode as aN, TABLE_DISPLAYS as aO, TABLE_ORIGINS as aP, TABLE_TYPES as aQ, type TableDisplay as aR, type TableOrigin as aS, type TableType as aT, VALUE_ALTERNATE_KEYS as aU, VALUE_ENVELOPE_KEYS as aV, type ValueAlternate as aW, type ValueAlternateKey as aX, type ValueEnvelope as aY, type ValueEnvelopeKey as aZ, type ValueSource as a_, type HiddenFieldNotice as aa, KERNEL_TABLES as ab, type KernelTableName as ac, MERGE_FIELD_MODIFIERS as ad, MERGE_FIELD_SEMANTIC_TYPES as ae, MERGE_FIELD_SOURCES as af, type MergeFieldModifier as ag, type MergeFieldSemanticType as ah, type MergeFieldSource as ai, ON_DELETE as aj, OVERRIDE_POLICIES as ak, type OnDelete as al, type OverridePolicy as am, PARITY_FIELD_TYPES as an, PER_VALUE_ACCESS_WORDS as ao, type ParityFieldType as ap, type ParityFieldTypeDescriptor as aq, type PerValueAccessWord as ar, type ProvenancePointer as as, RELATION_BINDINGS as at, RELATION_CARDINALITIES as au, RELATION_FLAVORS as av, RETIRED_ACTOR_WORDS as aw, RULE_NODE_KINDS as ax, RULE_USES as ay, type RecordsErrorCode as az, type UseCaseDashboardQuestion as b, isRecordsErr as b0, ok as b1, type UseCaseDocumentTemplate as c, type UseCaseField as d, type UseCaseForm as e, type UseCaseFormField as f, type UseCaseMergeField as g, type UseCaseNotificationRule as h, type UseCaseNotificationTrigger as i, type UseCasePipeline as j, type UseCasePipelineStage as k, type UseCaseProvenance as l, type UseCaseRelationship as m, type UseCaseRow as n, type UseCaseTable as o, type Uuid as p, type RecordsResult as q, type RecordGraphWritten as r, type RecordRead as s, type ReadRow as t, type Field as u, type NewFieldDeclaration as v, type FieldPatch as w, type RecordRevision as x, type ReadValue as y, type FieldProposal as z };
|