@ai-matrx/records 0.20.0 → 0.24.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 +125 -2
- package/dist/core/index.cjs +179 -17
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +151 -17
- package/dist/core/index.d.ts +151 -17
- package/dist/core/index.js +179 -17
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +302 -1
- package/dist/index.d.ts +302 -1
- package/dist/react/index.cjs +167 -0
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +410 -1
- package/dist/react/index.d.ts +410 -1
- package/dist/react/index.js +167 -0
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -4105,6 +4105,128 @@ interface DashboardRunResult {
|
|
|
4105
4105
|
blocks: DashboardBlockResult[];
|
|
4106
4106
|
}
|
|
4107
4107
|
|
|
4108
|
+
/** Where one agent-written value came from. Interned once per save (VAL-1). */
|
|
4109
|
+
interface EnrichSource {
|
|
4110
|
+
kind?: string;
|
|
4111
|
+
field_id?: Uuid;
|
|
4112
|
+
model?: string;
|
|
4113
|
+
model_version?: string | null;
|
|
4114
|
+
instruction?: string;
|
|
4115
|
+
/** What was actually read, with addresses. Never invented by the model. */
|
|
4116
|
+
read?: Array<{
|
|
4117
|
+
url?: string;
|
|
4118
|
+
title?: string;
|
|
4119
|
+
at?: string;
|
|
4120
|
+
}>;
|
|
4121
|
+
note?: string;
|
|
4122
|
+
confidence?: number;
|
|
4123
|
+
at?: string;
|
|
4124
|
+
}
|
|
4125
|
+
/** One candidate the model did not commit to, with its rank and its own source. */
|
|
4126
|
+
interface EnrichAlternate {
|
|
4127
|
+
value: unknown;
|
|
4128
|
+
rank: number;
|
|
4129
|
+
source?: EnrichSource | null;
|
|
4130
|
+
}
|
|
4131
|
+
/** One cell, as `custom.enrich_cells` answers it. The badge is drawn from exactly this. */
|
|
4132
|
+
interface EnrichCell {
|
|
4133
|
+
record_id: Uuid;
|
|
4134
|
+
field_key: string;
|
|
4135
|
+
/** Whether a model owns this column at all. False means: draw no badge. */
|
|
4136
|
+
agent_owned: boolean;
|
|
4137
|
+
value: unknown;
|
|
4138
|
+
value_version: number | null;
|
|
4139
|
+
/** `user`, `agent` or `system` — VAL-8's closed vocabulary. */
|
|
4140
|
+
actor: string | null;
|
|
4141
|
+
/** The person an agent acted for. Always set when `actor` is `agent`. */
|
|
4142
|
+
on_behalf_of: string | null;
|
|
4143
|
+
written_at: string | null;
|
|
4144
|
+
source: EnrichSource | null;
|
|
4145
|
+
/** One of: "never asked", "none", "refused", "conflicting" (VAL-2). */
|
|
4146
|
+
absent_reason: string | null;
|
|
4147
|
+
alternates: EnrichAlternate[] | null;
|
|
4148
|
+
/** A person holds this cell against the model until they hand it back. */
|
|
4149
|
+
pinned: boolean;
|
|
4150
|
+
/** Past its freshness date. The value is still there — stale marks it, never erases it. */
|
|
4151
|
+
stale: boolean;
|
|
4152
|
+
due_at: string | null;
|
|
4153
|
+
}
|
|
4154
|
+
/** The enrichment itself, as it is stored on the Field. */
|
|
4155
|
+
interface Enrichment {
|
|
4156
|
+
instruction: string;
|
|
4157
|
+
inputs: string[];
|
|
4158
|
+
web_search?: boolean;
|
|
4159
|
+
connected_source?: string | null;
|
|
4160
|
+
model: string;
|
|
4161
|
+
confidence_floor: number;
|
|
4162
|
+
write_policy: "auto" | "ask";
|
|
4163
|
+
cost_cap_cents?: number;
|
|
4164
|
+
review_interval_days?: number | null;
|
|
4165
|
+
enabled: boolean;
|
|
4166
|
+
enabled_by?: string | null;
|
|
4167
|
+
enabled_at?: string | null;
|
|
4168
|
+
declared_by?: string | null;
|
|
4169
|
+
declared_at?: string | null;
|
|
4170
|
+
}
|
|
4171
|
+
/** One agent-owned column, with its freshness census and its money. */
|
|
4172
|
+
interface EnrichmentSummary {
|
|
4173
|
+
field_id: Uuid;
|
|
4174
|
+
table_id: Uuid;
|
|
4175
|
+
field_key: string;
|
|
4176
|
+
label: string;
|
|
4177
|
+
enrichment: Enrichment;
|
|
4178
|
+
enabled: boolean;
|
|
4179
|
+
review_interval_days: number | null;
|
|
4180
|
+
rows_total: number;
|
|
4181
|
+
rows_filled: number;
|
|
4182
|
+
rows_stale: number;
|
|
4183
|
+
rows_pinned: number;
|
|
4184
|
+
rows_absent: number;
|
|
4185
|
+
runs: number;
|
|
4186
|
+
cost_cents: number;
|
|
4187
|
+
cost_per_row_cents: number | null;
|
|
4188
|
+
last_run_at: string | null;
|
|
4189
|
+
last_run: Record<string, unknown> | null;
|
|
4190
|
+
}
|
|
4191
|
+
/** One record that needs this column filled in, with what the instruction may read. */
|
|
4192
|
+
interface EnrichDueRow {
|
|
4193
|
+
record_id: Uuid;
|
|
4194
|
+
title: string;
|
|
4195
|
+
inputs: Record<string, unknown>;
|
|
4196
|
+
current_value: unknown;
|
|
4197
|
+
written_at: string | null;
|
|
4198
|
+
/** "never filled in", or "past its freshness date — written N days ago…". */
|
|
4199
|
+
reason: string;
|
|
4200
|
+
/** Set when the ask was larger than the organization's batch ceiling. */
|
|
4201
|
+
trimmed_to: number | null;
|
|
4202
|
+
}
|
|
4203
|
+
/** What one run did, and what it cost. */
|
|
4204
|
+
interface EnrichRun {
|
|
4205
|
+
run_id: Uuid;
|
|
4206
|
+
field_id: Uuid | null;
|
|
4207
|
+
field_key: string | null;
|
|
4208
|
+
model: string | null;
|
|
4209
|
+
trigger_word: string | null;
|
|
4210
|
+
rows_seen: number;
|
|
4211
|
+
rows_written: number;
|
|
4212
|
+
rows_absent: number;
|
|
4213
|
+
rows_below_floor: number;
|
|
4214
|
+
rows_pinned: number;
|
|
4215
|
+
rows_refused: number;
|
|
4216
|
+
cost_cents: number;
|
|
4217
|
+
cost_per_row_cents: number | null;
|
|
4218
|
+
ran_at: string;
|
|
4219
|
+
}
|
|
4220
|
+
/** What `custom.enrich_declare` answers. `says` is a sentence for a person. */
|
|
4221
|
+
interface EnrichDeclared {
|
|
4222
|
+
field_id: Uuid;
|
|
4223
|
+
table_id: Uuid;
|
|
4224
|
+
field_key: string;
|
|
4225
|
+
label: string;
|
|
4226
|
+
enrichment: Enrichment;
|
|
4227
|
+
says: string;
|
|
4228
|
+
}
|
|
4229
|
+
|
|
4108
4230
|
/** VAL-8's whole vocabulary. There is no fourth word. */
|
|
4109
4231
|
type HistoryActorKind = "user" | "agent" | "system";
|
|
4110
4232
|
/**
|
|
@@ -4775,6 +4897,185 @@ interface WorkAssignment {
|
|
|
4775
4897
|
message: string;
|
|
4776
4898
|
}
|
|
4777
4899
|
|
|
4900
|
+
/** What a step asks for before it counts as done. Every one of these is CHECKED. */
|
|
4901
|
+
type ChecklistRequirementKind =
|
|
4902
|
+
/** A person says it is done. */
|
|
4903
|
+
"none"
|
|
4904
|
+
/** A sentence of evidence, under `note`. */
|
|
4905
|
+
| "note"
|
|
4906
|
+
/** A named value filled in on the step itself. */
|
|
4907
|
+
| "answer"
|
|
4908
|
+
/** A named Field on the record the run is about must hold a value. */
|
|
4909
|
+
| "record_field"
|
|
4910
|
+
/** The step IS a form (SCR-19): finishing it needs a response record. */
|
|
4911
|
+
| "form"
|
|
4912
|
+
/** The step IS a document from a doc template (REC-68): finishing it needs a render. */
|
|
4913
|
+
| "document";
|
|
4914
|
+
interface ChecklistRequirement {
|
|
4915
|
+
kind: ChecklistRequirementKind;
|
|
4916
|
+
/** For `answer` and `record_field`: which value. */
|
|
4917
|
+
key?: string;
|
|
4918
|
+
/** What a person is asked for, in their words. */
|
|
4919
|
+
label?: string;
|
|
4920
|
+
/** For `form`: the published form this step is. */
|
|
4921
|
+
form_id?: Uuid;
|
|
4922
|
+
/** For `document`: the doc template this step renders. */
|
|
4923
|
+
template_id?: Uuid;
|
|
4924
|
+
}
|
|
4925
|
+
/** One step of a checklist, as it is WRITTEN — not as it is run. */
|
|
4926
|
+
interface ChecklistStepSpec {
|
|
4927
|
+
/** The name the checklist refers to this step by; lower-case, unique. */
|
|
4928
|
+
ref: string;
|
|
4929
|
+
/** What a person reads in their work. */
|
|
4930
|
+
title: string;
|
|
4931
|
+
/** Which role owns it. A role the checklist never declares is refused at save. */
|
|
4932
|
+
role?: string;
|
|
4933
|
+
/** How many days after the run starts it is due. */
|
|
4934
|
+
due_days?: number;
|
|
4935
|
+
/** Steps it waits for. A step waits only for steps listed above it. */
|
|
4936
|
+
depends_on?: string[];
|
|
4937
|
+
requires?: ChecklistRequirement;
|
|
4938
|
+
}
|
|
4939
|
+
/** A role, and the person who stands in it by default. */
|
|
4940
|
+
interface ChecklistRoleSpec {
|
|
4941
|
+
role: string;
|
|
4942
|
+
label?: string;
|
|
4943
|
+
user_id?: Uuid | null;
|
|
4944
|
+
}
|
|
4945
|
+
/** What starts a run. */
|
|
4946
|
+
type ChecklistTriggerKind = "manual" | "record_created" | "status_reached";
|
|
4947
|
+
interface ChecklistTrigger {
|
|
4948
|
+
kind: ChecklistTriggerKind;
|
|
4949
|
+
/** The Table being watched, for the two kinds that watch one. */
|
|
4950
|
+
table_id?: Uuid;
|
|
4951
|
+
/** The state, for `status_reached`. */
|
|
4952
|
+
status?: string;
|
|
4953
|
+
}
|
|
4954
|
+
/** THE COMPLETE DECLARATIVE CHECKLIST — one object, one call, a whole process. */
|
|
4955
|
+
interface ChecklistSpec {
|
|
4956
|
+
name: string;
|
|
4957
|
+
/** The Table a run is ABOUT: People, Hires, Jobs, Matters. */
|
|
4958
|
+
about_table_id: Uuid;
|
|
4959
|
+
roles?: ChecklistRoleSpec[];
|
|
4960
|
+
trigger?: ChecklistTrigger;
|
|
4961
|
+
steps: ChecklistStepSpec[];
|
|
4962
|
+
}
|
|
4963
|
+
/** What `custom.checklist_declare` answers. */
|
|
4964
|
+
interface ChecklistDeclared {
|
|
4965
|
+
template_id: Uuid;
|
|
4966
|
+
name: string;
|
|
4967
|
+
about_table_id: Uuid;
|
|
4968
|
+
steps_table_id: Uuid;
|
|
4969
|
+
steps: number;
|
|
4970
|
+
roles: number;
|
|
4971
|
+
trigger: ChecklistTrigger;
|
|
4972
|
+
created: boolean;
|
|
4973
|
+
message: string;
|
|
4974
|
+
ms: number;
|
|
4975
|
+
}
|
|
4976
|
+
/** One row of `custom.checklist_templates`. */
|
|
4977
|
+
interface ChecklistTemplateSummary {
|
|
4978
|
+
template_id: Uuid;
|
|
4979
|
+
name: string;
|
|
4980
|
+
about_table_id: Uuid | null;
|
|
4981
|
+
about_table: string | null;
|
|
4982
|
+
steps: number;
|
|
4983
|
+
roles: number;
|
|
4984
|
+
trigger_kind: ChecklistTriggerKind;
|
|
4985
|
+
trigger_status: string | null;
|
|
4986
|
+
open_runs: number;
|
|
4987
|
+
total_runs: number;
|
|
4988
|
+
updated_at: Timestamp;
|
|
4989
|
+
}
|
|
4990
|
+
/** `custom.checklist_template_shape` — the spec, plus what the editor needs. */
|
|
4991
|
+
type ChecklistTemplateShape = ChecklistSpec & {
|
|
4992
|
+
template_id: Uuid;
|
|
4993
|
+
steps_table_id: Uuid | null;
|
|
4994
|
+
may_change: boolean;
|
|
4995
|
+
};
|
|
4996
|
+
/** What `custom.checklist_start` answers. */
|
|
4997
|
+
interface ChecklistRunStarted {
|
|
4998
|
+
run_id: Uuid;
|
|
4999
|
+
template_id: Uuid;
|
|
5000
|
+
template: string;
|
|
5001
|
+
about_record_id: Uuid | null;
|
|
5002
|
+
about: string | null;
|
|
5003
|
+
steps_table_id: Uuid;
|
|
5004
|
+
steps_created: number;
|
|
5005
|
+
assigned: number;
|
|
5006
|
+
unassigned: number;
|
|
5007
|
+
origin: string;
|
|
5008
|
+
steps: Array<{
|
|
5009
|
+
ref: string;
|
|
5010
|
+
step_id: Uuid;
|
|
5011
|
+
title: string;
|
|
5012
|
+
role: string | null;
|
|
5013
|
+
}>;
|
|
5014
|
+
/** Roles nobody is named for, so the screen can say so rather than show blanks. */
|
|
5015
|
+
waiting_on_a_name: string[];
|
|
5016
|
+
message: string;
|
|
5017
|
+
ms: number;
|
|
5018
|
+
}
|
|
5019
|
+
/** One step of a RUN, as `custom.checklist_run` answers it. */
|
|
5020
|
+
interface ChecklistRunStep {
|
|
5021
|
+
step_id: Uuid;
|
|
5022
|
+
step_order: number;
|
|
5023
|
+
ref: string;
|
|
5024
|
+
title: string;
|
|
5025
|
+
role: string | null;
|
|
5026
|
+
assignee_name: string | null;
|
|
5027
|
+
assignee_user_id: Uuid | null;
|
|
5028
|
+
due_on: Timestamp | null;
|
|
5029
|
+
due_state: WorkDueState;
|
|
5030
|
+
status: string | null;
|
|
5031
|
+
finished: boolean;
|
|
5032
|
+
requires: ChecklistRequirementKind;
|
|
5033
|
+
/**
|
|
5034
|
+
* The key the answer is filed under, as the checklist named it. A screen files
|
|
5035
|
+
* evidence under THIS, never under a name it invented — the store looks for
|
|
5036
|
+
* exactly this key and nothing else.
|
|
5037
|
+
*/
|
|
5038
|
+
requires_key: string | null;
|
|
5039
|
+
requires_label: string | null;
|
|
5040
|
+
/** The form or the document template this step is, when it is one. */
|
|
5041
|
+
requires_id: Uuid | null;
|
|
5042
|
+
evidence: Record<string, unknown>;
|
|
5043
|
+
/** The titles of the steps it is still waiting for. */
|
|
5044
|
+
blocked_by: string[];
|
|
5045
|
+
may_complete: boolean;
|
|
5046
|
+
/** Why it cannot be finished right now, in the words a person would use. */
|
|
5047
|
+
refusal: string | null;
|
|
5048
|
+
}
|
|
5049
|
+
/** One row of `custom.checklist_runs`. */
|
|
5050
|
+
interface ChecklistRunSummary {
|
|
5051
|
+
run_id: Uuid;
|
|
5052
|
+
name: string;
|
|
5053
|
+
template_id: Uuid | null;
|
|
5054
|
+
template: string | null;
|
|
5055
|
+
about_record_id: Uuid | null;
|
|
5056
|
+
about: string | null;
|
|
5057
|
+
about_table_id: Uuid | null;
|
|
5058
|
+
started_at: Timestamp | null;
|
|
5059
|
+
started_by: Uuid | null;
|
|
5060
|
+
origin: string;
|
|
5061
|
+
step_count: number;
|
|
5062
|
+
done: number;
|
|
5063
|
+
overdue: number;
|
|
5064
|
+
next_step: string | null;
|
|
5065
|
+
next_due: Timestamp | null;
|
|
5066
|
+
closed_at: Timestamp | null;
|
|
5067
|
+
}
|
|
5068
|
+
/** What `custom.checklist_step_complete` answers. */
|
|
5069
|
+
interface ChecklistStepCompleted {
|
|
5070
|
+
step_id: Uuid;
|
|
5071
|
+
run_id?: Uuid;
|
|
5072
|
+
completed: boolean;
|
|
5073
|
+
evidence?: Record<string, unknown>;
|
|
5074
|
+
steps_left?: number;
|
|
5075
|
+
run_closed?: boolean;
|
|
5076
|
+
message: string;
|
|
5077
|
+
}
|
|
5078
|
+
|
|
4778
5079
|
/**
|
|
4779
5080
|
* VIS-31. A signed-in OUTSIDER, with the reason in plain English.
|
|
4780
5081
|
*
|
|
@@ -5607,6 +5908,53 @@ interface RecordsClient {
|
|
|
5607
5908
|
filter?: Record<string, AggregateFilter>;
|
|
5608
5909
|
limit?: number;
|
|
5609
5910
|
}): Promise<RecordsResult<StuckRow[]>>;
|
|
5911
|
+
/** Every agent-owned column, with how many cells are filled, stale or pinned, and what it has cost. */
|
|
5912
|
+
enrichments(args?: {
|
|
5913
|
+
table_id?: Uuid | null;
|
|
5914
|
+
}): Promise<RecordsResult<EnrichmentSummary[]>>;
|
|
5915
|
+
/**
|
|
5916
|
+
* Define, change or TURN ON an Enrichment on one Field. Admin on the Table.
|
|
5917
|
+
* `{enabled: true}` on its own turns an existing one on without resetting it —
|
|
5918
|
+
* and turning it on is what authorises every value it writes afterwards.
|
|
5919
|
+
*/
|
|
5920
|
+
enrichDeclare(args: {
|
|
5921
|
+
field_id: Uuid;
|
|
5922
|
+
spec: Record<string, unknown>;
|
|
5923
|
+
}): Promise<RecordsResult<EnrichDeclared>>;
|
|
5924
|
+
/**
|
|
5925
|
+
* The rows that need this column filled in, each with what the instruction may
|
|
5926
|
+
* read. A cell somebody pinned is never returned. This is what a PREVIEW shows
|
|
5927
|
+
* before anybody enables anything.
|
|
5928
|
+
*/
|
|
5929
|
+
enrichDue(args: {
|
|
5930
|
+
field_id: Uuid;
|
|
5931
|
+
limit?: number;
|
|
5932
|
+
include_fresh?: boolean;
|
|
5933
|
+
}): Promise<RecordsResult<EnrichDueRow[]>>;
|
|
5934
|
+
/**
|
|
5935
|
+
* THE BADGE DATA FOR A WHOLE PAGE, in one call. Who wrote each value, when, out
|
|
5936
|
+
* of what source, its candidates, whether a person pinned it and whether it is
|
|
5937
|
+
* past its freshness date. Asked per cell this would be one round trip per badge.
|
|
5938
|
+
*/
|
|
5939
|
+
enrichCells(args: {
|
|
5940
|
+
table_id: Uuid;
|
|
5941
|
+
field_keys?: string[] | null;
|
|
5942
|
+
record_ids?: Uuid[] | null;
|
|
5943
|
+
}): Promise<RecordsResult<EnrichCell[]>>;
|
|
5944
|
+
/** Hold one cell against the model that fills its column, or hand it back. */
|
|
5945
|
+
enrichPin(args: {
|
|
5946
|
+
record_id: Uuid;
|
|
5947
|
+
field_key: string;
|
|
5948
|
+
pinned?: boolean;
|
|
5949
|
+
}): Promise<RecordsResult<{
|
|
5950
|
+
pinned: boolean;
|
|
5951
|
+
says: string;
|
|
5952
|
+
}>>;
|
|
5953
|
+
/** What this column has cost, run by run. */
|
|
5954
|
+
enrichRuns(args?: {
|
|
5955
|
+
field_id?: Uuid | null;
|
|
5956
|
+
limit?: number;
|
|
5957
|
+
}): Promise<RecordsResult<EnrichRun[]>>;
|
|
5610
5958
|
/** Take a dashboard away. The records it counted are untouched — a canvas owns nothing. */
|
|
5611
5959
|
dashboardDelete(args: {
|
|
5612
5960
|
dashboard_id: Uuid;
|
|
@@ -5920,6 +6268,67 @@ interface RecordsClient {
|
|
|
5920
6268
|
form_id: Uuid;
|
|
5921
6269
|
published?: boolean;
|
|
5922
6270
|
}): Promise<RecordsResult<Timestamp | null>>;
|
|
6271
|
+
/**
|
|
6272
|
+
* What is wrong with a checklist somebody is writing, in the words they would
|
|
6273
|
+
* use. `null` means it is fine. Pure — it reads no row and writes nothing —
|
|
6274
|
+
* so an editor may ask it on every keystroke and the refusal arrives BEFORE
|
|
6275
|
+
* the save rather than after it.
|
|
6276
|
+
*/
|
|
6277
|
+
checklistRefusal(args: {
|
|
6278
|
+
spec: ChecklistSpec;
|
|
6279
|
+
}): Promise<RecordsResult<string | null>>;
|
|
6280
|
+
/**
|
|
6281
|
+
* Store a checklist, whole: ordered steps, who each belongs to by role, how
|
|
6282
|
+
* many days in each is due, what each waits for, what each asks for, and what
|
|
6283
|
+
* starts a run. Pass `template_id` to change the checklist that already
|
|
6284
|
+
* exists rather than making a second one.
|
|
6285
|
+
*/
|
|
6286
|
+
checklistDeclare(args: {
|
|
6287
|
+
spec: ChecklistSpec;
|
|
6288
|
+
template_id?: Uuid | null;
|
|
6289
|
+
}): Promise<RecordsResult<ChecklistDeclared>>;
|
|
6290
|
+
checklistTemplates(args?: {
|
|
6291
|
+
about_table_id?: Uuid | null;
|
|
6292
|
+
limit?: number;
|
|
6293
|
+
}): Promise<RecordsResult<ChecklistTemplateSummary[]>>;
|
|
6294
|
+
checklistTemplateShape(args: {
|
|
6295
|
+
template_id: Uuid;
|
|
6296
|
+
}): Promise<RecordsResult<ChecklistTemplateShape>>;
|
|
6297
|
+
/**
|
|
6298
|
+
* Run a checklist for one record: one work item per step in the ONE work
|
|
6299
|
+
* layer, assigned by role to real people, dated from the offsets,
|
|
6300
|
+
* dependencies carried across. `roles` names who stands in each role for THIS
|
|
6301
|
+
* run, over whatever the checklist says by default.
|
|
6302
|
+
*/
|
|
6303
|
+
checklistStart(args: {
|
|
6304
|
+
template_id: Uuid;
|
|
6305
|
+
about_record_id?: Uuid | null;
|
|
6306
|
+
roles?: Record<string, Uuid>;
|
|
6307
|
+
startingAt?: Timestamp | null;
|
|
6308
|
+
}): Promise<RecordsResult<ChecklistRunStarted>>;
|
|
6309
|
+
checklistRun(args: {
|
|
6310
|
+
run_id: Uuid;
|
|
6311
|
+
}): Promise<RecordsResult<ChecklistRunStep[]>>;
|
|
6312
|
+
checklistRuns(args?: {
|
|
6313
|
+
about_table_id?: Uuid | null;
|
|
6314
|
+
about_record_id?: Uuid | null;
|
|
6315
|
+
includeClosed?: boolean;
|
|
6316
|
+
limit?: number;
|
|
6317
|
+
}): Promise<RecordsResult<ChecklistRunSummary[]>>;
|
|
6318
|
+
/**
|
|
6319
|
+
* Tick a step off with whatever it asked for. Refused by name while a step it
|
|
6320
|
+
* waits for is open, or while what it asks for is missing — and the same
|
|
6321
|
+
* refusal meets `workSetState`, because the rule lives in the store and not
|
|
6322
|
+
* in this door.
|
|
6323
|
+
*/
|
|
6324
|
+
checklistStepComplete(args: {
|
|
6325
|
+
step_id: Uuid;
|
|
6326
|
+
evidence?: Record<string, unknown>;
|
|
6327
|
+
}): Promise<RecordsResult<ChecklistStepCompleted>>;
|
|
6328
|
+
/** Why this step cannot be finished right now. `null` means it can. */
|
|
6329
|
+
checklistStepRefusal(args: {
|
|
6330
|
+
step_id: Uuid;
|
|
6331
|
+
}): Promise<RecordsResult<string | null>>;
|
|
5923
6332
|
/** The five states and what each one may become. Asked, never hardcoded in a picker. */
|
|
5924
6333
|
workStates(): Promise<RecordsResult<WorkState[]>>;
|
|
5925
6334
|
/** Why this graph would be refused — asked BEFORE it is written. `null` means it is fine. */
|
|
@@ -6344,4 +6753,4 @@ declare function useFieldMutation(): UseFieldMutation;
|
|
|
6344
6753
|
*/
|
|
6345
6754
|
declare function useMergeField(key: string | null, state?: Record<string, unknown>): MergeFieldResolution | null;
|
|
6346
6755
|
|
|
6347
|
-
export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, COMPUTE_ON, CONTEXT_POLICIES, type ChoiceOption, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type Delivery, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PredictedRefusal, type ProvenancePointer, type PublishBinding, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, isRecordsErr, isTheChosen, looksLikeAnId, measureKey, ok, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|
|
6756
|
+
export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, COMPUTE_ON, CONTEXT_POLICIES, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type Delivery, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PredictedRefusal, type ProvenancePointer, type PublishBinding, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, isRecordsErr, isTheChosen, looksLikeAnId, measureKey, ok, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|
package/dist/react/index.js
CHANGED
|
@@ -1865,6 +1865,22 @@ var DOORS = {
|
|
|
1865
1865
|
dashboardRun: "dashboard_run",
|
|
1866
1866
|
dashboardStuck: "dashboard_stuck",
|
|
1867
1867
|
dashboardDelete: "dashboard_delete",
|
|
1868
|
+
// PRODUCTS row 10 — "fill in each company's industry and headcount, and keep
|
|
1869
|
+
// it fresh". An Enrichment is not an object of its own: it is a Field saying
|
|
1870
|
+
// `source = agent`, with its instruction, inputs, model, confidence floor and
|
|
1871
|
+
// freshness in `source_config` (AGT-6). `enrichCells` is the one a GRID calls —
|
|
1872
|
+
// the badge data for a whole page in one round trip, because a badge asked per
|
|
1873
|
+
// cell is fifty round trips to draw fifty badges. `enrichPin` is the half of
|
|
1874
|
+
// this product that decides whether anybody ever trusts it: the moment a
|
|
1875
|
+
// person types over an agent-owned cell the store pins it, and the next run
|
|
1876
|
+
// leaves it exactly as they left it.
|
|
1877
|
+
enrichments: "enrichments",
|
|
1878
|
+
enrichDeclare: "enrich_declare",
|
|
1879
|
+
enrichDue: "enrich_due",
|
|
1880
|
+
enrichCells: "enrich_cells",
|
|
1881
|
+
enrichLand: "enrich_land",
|
|
1882
|
+
enrichPin: "enrich_pin",
|
|
1883
|
+
enrichRuns: "enrich_runs",
|
|
1868
1884
|
// PRODUCTS row 4 — "Who changed this price, and can I put it back?" The
|
|
1869
1885
|
// history has been in the store since W3-HIST; until 2026-09-20 the only way
|
|
1870
1886
|
// to ask for it was `io_revisions`, which answers a raw uuid for the author
|
|
@@ -1994,6 +2010,16 @@ var DOORS = {
|
|
|
1994
2010
|
workApprovalMayDecide: "work_approval_may_decide",
|
|
1995
2011
|
workApprovalDecide: "work_approval_decide",
|
|
1996
2012
|
workApprovalRead: "work_approval_read",
|
|
2013
|
+
// PRODUCTS row 13 — checklists and SOP runs.
|
|
2014
|
+
checklistRefusal: "checklist_refusal",
|
|
2015
|
+
checklistDeclare: "checklist_declare",
|
|
2016
|
+
checklistTemplates: "checklist_templates",
|
|
2017
|
+
checklistTemplateShape: "checklist_template_shape",
|
|
2018
|
+
checklistStart: "checklist_start",
|
|
2019
|
+
checklistRun: "checklist_run",
|
|
2020
|
+
checklistRuns: "checklist_runs",
|
|
2021
|
+
checklistStepComplete: "checklist_step_complete",
|
|
2022
|
+
checklistStepRefusal: "checklist_step_refusal",
|
|
1997
2023
|
// Declared here BECAUSE they do not exist yet: naming them is what makes the
|
|
1998
2024
|
// absence visible to `pnpm check:store-registry` and to the suite.
|
|
1999
2025
|
metadataSearch: "metadata_search",
|
|
@@ -2764,6 +2790,67 @@ function createRecordsClient(config) {
|
|
|
2764
2790
|
"ruleEval"
|
|
2765
2791
|
);
|
|
2766
2792
|
},
|
|
2793
|
+
async enrichments(args) {
|
|
2794
|
+
return callDoor(
|
|
2795
|
+
DOORS.enrichments,
|
|
2796
|
+
{ p_organization_id: org, p_table_id: args?.table_id ?? null },
|
|
2797
|
+
"enrichments"
|
|
2798
|
+
);
|
|
2799
|
+
},
|
|
2800
|
+
async enrichDeclare(args) {
|
|
2801
|
+
return callDoor(
|
|
2802
|
+
DOORS.enrichDeclare,
|
|
2803
|
+
{ p_organization_id: org, p_field_id: args.field_id, p_spec: args.spec },
|
|
2804
|
+
"enrichDeclare"
|
|
2805
|
+
);
|
|
2806
|
+
},
|
|
2807
|
+
async enrichDue(args) {
|
|
2808
|
+
return callDoor(
|
|
2809
|
+
DOORS.enrichDue,
|
|
2810
|
+
{
|
|
2811
|
+
p_organization_id: org,
|
|
2812
|
+
p_field_id: args.field_id,
|
|
2813
|
+
p_limit: args.limit ?? 50,
|
|
2814
|
+
p_include_fresh: args.include_fresh ?? false
|
|
2815
|
+
},
|
|
2816
|
+
"enrichDue"
|
|
2817
|
+
);
|
|
2818
|
+
},
|
|
2819
|
+
async enrichCells(args) {
|
|
2820
|
+
return callDoor(
|
|
2821
|
+
DOORS.enrichCells,
|
|
2822
|
+
{
|
|
2823
|
+
p_organization_id: org,
|
|
2824
|
+
p_table_id: args.table_id,
|
|
2825
|
+
p_field_keys: args.field_keys ?? null,
|
|
2826
|
+
p_record_ids: args.record_ids ?? null
|
|
2827
|
+
},
|
|
2828
|
+
"enrichCells"
|
|
2829
|
+
);
|
|
2830
|
+
},
|
|
2831
|
+
async enrichPin(args) {
|
|
2832
|
+
return callDoor(
|
|
2833
|
+
DOORS.enrichPin,
|
|
2834
|
+
{
|
|
2835
|
+
p_organization_id: org,
|
|
2836
|
+
p_record_id: args.record_id,
|
|
2837
|
+
p_field_key: args.field_key,
|
|
2838
|
+
p_pinned: args.pinned ?? true
|
|
2839
|
+
},
|
|
2840
|
+
"enrichPin"
|
|
2841
|
+
);
|
|
2842
|
+
},
|
|
2843
|
+
async enrichRuns(args) {
|
|
2844
|
+
return callDoor(
|
|
2845
|
+
DOORS.enrichRuns,
|
|
2846
|
+
{
|
|
2847
|
+
p_organization_id: org,
|
|
2848
|
+
p_field_id: args?.field_id ?? null,
|
|
2849
|
+
p_limit: args?.limit ?? 50
|
|
2850
|
+
},
|
|
2851
|
+
"enrichRuns"
|
|
2852
|
+
);
|
|
2853
|
+
},
|
|
2767
2854
|
async dashboards(args) {
|
|
2768
2855
|
return callDoor(
|
|
2769
2856
|
DOORS.dashboards,
|
|
@@ -3324,6 +3411,86 @@ function createRecordsClient(config) {
|
|
|
3324
3411
|
"workSlotExpire"
|
|
3325
3412
|
);
|
|
3326
3413
|
},
|
|
3414
|
+
// ── checklists and SOP runs ──────────────────────────────────────────
|
|
3415
|
+
async checklistRefusal({ spec }) {
|
|
3416
|
+
return callDoor(
|
|
3417
|
+
DOORS.checklistRefusal,
|
|
3418
|
+
{ p_spec: spec },
|
|
3419
|
+
"checklistRefusal"
|
|
3420
|
+
);
|
|
3421
|
+
},
|
|
3422
|
+
async checklistDeclare({ spec, template_id = null }) {
|
|
3423
|
+
return callDoor(
|
|
3424
|
+
DOORS.checklistDeclare,
|
|
3425
|
+
{ p_organization_id: org, p_spec: spec, p_template_id: template_id },
|
|
3426
|
+
"checklistDeclare"
|
|
3427
|
+
);
|
|
3428
|
+
},
|
|
3429
|
+
async checklistTemplates(args) {
|
|
3430
|
+
return callDoor(
|
|
3431
|
+
DOORS.checklistTemplates,
|
|
3432
|
+
{
|
|
3433
|
+
p_organization_id: org,
|
|
3434
|
+
p_about_table_id: args?.about_table_id ?? null,
|
|
3435
|
+
p_limit: args?.limit ?? 100
|
|
3436
|
+
},
|
|
3437
|
+
"checklistTemplates"
|
|
3438
|
+
);
|
|
3439
|
+
},
|
|
3440
|
+
async checklistTemplateShape({ template_id }) {
|
|
3441
|
+
return callDoor(
|
|
3442
|
+
DOORS.checklistTemplateShape,
|
|
3443
|
+
{ p_organization_id: org, p_template_id: template_id },
|
|
3444
|
+
"checklistTemplateShape"
|
|
3445
|
+
);
|
|
3446
|
+
},
|
|
3447
|
+
async checklistStart({ template_id, about_record_id = null, roles = {}, startingAt = null }) {
|
|
3448
|
+
return callDoor(
|
|
3449
|
+
DOORS.checklistStart,
|
|
3450
|
+
{
|
|
3451
|
+
p_organization_id: org,
|
|
3452
|
+
p_template_id: template_id,
|
|
3453
|
+
p_about_record_id: about_record_id,
|
|
3454
|
+
p_roles: roles,
|
|
3455
|
+
p_starting_at: startingAt
|
|
3456
|
+
},
|
|
3457
|
+
"checklistStart"
|
|
3458
|
+
);
|
|
3459
|
+
},
|
|
3460
|
+
async checklistRun({ run_id }) {
|
|
3461
|
+
return callDoor(
|
|
3462
|
+
DOORS.checklistRun,
|
|
3463
|
+
{ p_organization_id: org, p_run_id: run_id },
|
|
3464
|
+
"checklistRun"
|
|
3465
|
+
);
|
|
3466
|
+
},
|
|
3467
|
+
async checklistRuns(args) {
|
|
3468
|
+
return callDoor(
|
|
3469
|
+
DOORS.checklistRuns,
|
|
3470
|
+
{
|
|
3471
|
+
p_organization_id: org,
|
|
3472
|
+
p_about_table_id: args?.about_table_id ?? null,
|
|
3473
|
+
p_about_record_id: args?.about_record_id ?? null,
|
|
3474
|
+
p_include_closed: args?.includeClosed ?? true,
|
|
3475
|
+
p_limit: args?.limit ?? 100
|
|
3476
|
+
},
|
|
3477
|
+
"checklistRuns"
|
|
3478
|
+
);
|
|
3479
|
+
},
|
|
3480
|
+
async checklistStepComplete({ step_id, evidence = {} }) {
|
|
3481
|
+
return callDoor(
|
|
3482
|
+
DOORS.checklistStepComplete,
|
|
3483
|
+
{ p_organization_id: org, p_step_id: step_id, p_evidence: evidence },
|
|
3484
|
+
"checklistStepComplete"
|
|
3485
|
+
);
|
|
3486
|
+
},
|
|
3487
|
+
async checklistStepRefusal({ step_id }) {
|
|
3488
|
+
return callDoor(
|
|
3489
|
+
DOORS.checklistStepRefusal,
|
|
3490
|
+
{ p_organization_id: org, p_step_id: step_id },
|
|
3491
|
+
"checklistStepRefusal"
|
|
3492
|
+
);
|
|
3493
|
+
},
|
|
3327
3494
|
// ── the work layer a person actually uses ────────────────────────────
|
|
3328
3495
|
async workInbox(args) {
|
|
3329
3496
|
return callDoor(
|