@ai-matrx/records 0.24.0 → 0.27.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.
@@ -1,5 +1,5 @@
1
- import { Timestamp, Uuid, RelationCoordinate, RecordsConfig, RecordDocument, RecordsResult, RecordRead, ReadRow, Table, Field, StoredRecord, TableCapacity, NewFieldDeclaration, FieldPatch, EntityTableFacts, NewEntityFieldDeclaration, EntityFieldRights, EntityRecordRead, EntityRecordsFound, FormSummary, ImportPlan, ImportPolicy, ImportOpened, ImportBatchResult, ImportFinished, ImportReport, ImportRun, InboundDeclared, InboundAddress, PortalSummary, PortalCard, PortalInvitation, PortalRevocation, PortalPreviewRow, DashboardSummary, DashboardBlock, AggregateFilter, DashboardRunResult, StuckRow, EnrichmentSummary, EnrichDeclared, EnrichDueRow, EnrichCell, EnrichRun, AggregateMeasure, AggregateBucket, AggregateRow, Subscription, MySubscription, DocToken, DocUnresolvedToken, DocTemplateRow, DocRenderRow, DocSignatureRow, RecordRevision, RecordHistoryEntry, RecordScopeContext, ConversationScope, ConversationScopeContext, FieldHistoryEntry, RestorePreview, RestoreResult, CommentThreadRead, CommentWritten, ReadValue, AnonTokenBinding, ChecklistSpec, ChecklistDeclared, ChecklistTemplateSummary, ChecklistTemplateShape, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistStepCompleted, WorkState, WorkGraph, WorkInstantiation, WorkTurn, WorkAssignmentField, WorkSlotHold, WorkInboxItem, WorkListFlavour, WorkListItem, WorkAssignment, WorkRecordState, WorkApprover, WorkChange, WorkApprovalFiled, WorkApprovalDecision, ExternalPrincipalCard, PublishBinding, ResolvedPublishBinding, FieldProposal, TableProposal, MyLevel, RecordsError, WriteConflict, PgError, RecordsDataSource, StaleWriteDetail, PredictedRefusal } from '../index.cjs';
2
- export { ABSENCE_REASONS, ACTOR_VOCABULARY, AbsenceReason, Actor, AggregateOperation, AggregateWindow, COMPUTE_ON, CONTEXT_POLICIES, ChecklistRequirement, ChecklistRequirementKind, ChecklistRoleSpec, ChecklistStepSpec, ChecklistTrigger, ChecklistTriggerKind, ChoiceOption, ComputeOn, ContextPolicy, CustomFieldTableType, DELIVERIES, DashboardBlockKind, DashboardBlockResult, Delivery, DocSignatureCheck, ENTITY_TOKENS, EnrichAlternate, EnrichSource, Enrichment, EntityFieldValue, EntityRecordMatch, EntityToken, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, FieldBehavior, FieldRule, FieldSensitivity, FieldSource, FieldTypeWord, ForbiddenEnvelopeWord, Freshness, HiddenFieldNotice, HistoryActor, HistoryActorKind, HistoryChange, Home, ImportColumnPlan, ImportOutcome, ImportProposal, KERNEL_TABLES, KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, MergeField, MergeFieldModifier, MergeFieldProvenance, MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, MergeFieldTransform, MissingBehavior, ON_DELETE, OVERRIDE_POLICIES, OnDelete, OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, ParityFieldType, ParityFieldTypeDescriptor, PerValueAccessWord, PermissionLevel, PortalPrincipal, PortalTableExposure, ProvenancePointer, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, RecordComment, RecordScopeComment, RecordScopeField, RecordScopeHistoryEntry, RecordScopeRelation, RecordScopeWithheld, RecordsActor, RecordsErrorCode, RecordsErrorSink, RecordsFilter, RecordsRealtimePort, RecordsResolverPort, RecordsResponse, RecordsTableQuery, RegisteredTable, Relation, RelationBinding, RelationCardinality, RelationCarries, RelationFlavor, RelationProperties, RelationTarget, ResolutionTriple, RetiredActorWord, Rule, RuleAnswer, RuleExpression, RuleNodeKind, RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, StorageMode, StoreDoorName, StoreRefusalCode, SubscriptionBlock, SubscriptionCadence, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, TableDisplay, TableOrigin, TableType, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, ValueAlternate, ValueAlternateKey, ValueEnvelope, ValueEnvelopeKey, ValueSource, WorkDueState, WorkInboxKind, WorkOrigin, WorkTemplateNode, WorkTemplateRelation, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, isRecordsErr, isTheChosen, looksLikeAnId, measureKey, ok, optionKey, optionLabel, portalPath, publicFormPath, scopeChip } from '../index.cjs';
1
+ import { Timestamp, Uuid, RelationCoordinate, RecordsConfig, RecordDocument, RecordsResult, RecordRead, ReadRow, Table, Field, StoredRecord, TableCapacity, NewFieldDeclaration, FieldPatch, EntityTableFacts, NewEntityFieldDeclaration, EntityFieldRights, EntityRecordRead, EntityRecordsFound, Pipeline, PipelineColumn, PipelineVerdict, PipelineSpec, PipelineDeclared, FormSummary, ImportPlan, ImportPolicy, ImportOpened, ImportBatchResult, ImportFinished, ImportReport, ImportRun, InboundDeclared, InboundAddress, PortalSummary, PortalCard, PortalInvitation, PortalRevocation, PortalPreviewRow, DashboardSummary, DashboardBlock, AggregateFilter, DashboardRunResult, StuckRow, CaptureSheetSummary, CaptureSheetFace, CaptureFileRef, CaptureOutcome, EnrichmentSummary, EnrichDeclared, EnrichDueRow, EnrichCell, EnrichRun, AggregateMeasure, AggregateBucket, AggregateRow, Subscription, MySubscription, SubscriptionSpec, DigestPreview, DocToken, DocUnresolvedToken, DocTemplateRow, DocRenderRow, DocSignatureRow, RecordRevision, RecordHistoryEntry, RecordScopeContext, ConversationScope, ConversationScopeContext, FieldHistoryEntry, RestorePreview, RestoreResult, CommentThreadRead, CommentWritten, ReadValue, AnonTokenBinding, ChecklistSpec, ChecklistDeclared, ChecklistTemplateSummary, ChecklistTemplateShape, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistStepCompleted, WorkState, WorkGraph, WorkInstantiation, WorkTurn, WorkAssignmentField, WorkSlotHold, WorkInboxItem, WorkListFlavour, WorkListItem, WorkAssignment, WorkRecordState, WorkApprover, WorkChange, WorkApprovalFiled, WorkApprovalDecision, ExternalPrincipalCard, PublishBinding, ResolvedPublishBinding, FieldProposal, TableProposal, MyLevel, RecordsError, WriteConflict, PgError, RecordsDataSource, StaleWriteDetail, PredictedRefusal } from '../index.cjs';
2
+ export { ABSENCE_REASONS, ACTOR_VOCABULARY, AbsenceReason, Actor, AggregateOperation, AggregateWindow, COMPUTE_ON, CONTEXT_POLICIES, CaptureField, CaptureQuestion, CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, ChecklistRequirement, ChecklistRequirementKind, ChecklistRoleSpec, ChecklistStepSpec, ChecklistTrigger, ChecklistTriggerKind, ChoiceOption, ComputeOn, ContextPolicy, CustomFieldTableType, DELIVERIES, DashboardBlockKind, DashboardBlockResult, Delivery, DocSignatureCheck, ENTITY_TOKENS, EnrichAlternate, EnrichSource, Enrichment, EntityFieldValue, EntityRecordMatch, EntityToken, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, FieldBehavior, FieldRule, FieldSensitivity, FieldSource, FieldTypeWord, ForbiddenEnvelopeWord, Freshness, HiddenFieldNotice, HistoryActor, HistoryActorKind, HistoryChange, Home, ImportColumnPlan, ImportOutcome, ImportProposal, KERNEL_TABLES, KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, MergeField, MergeFieldModifier, MergeFieldProvenance, MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, MergeFieldTransform, MissingBehavior, ON_DELETE, OVERRIDE_POLICIES, OnDelete, OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, ParityFieldType, ParityFieldTypeDescriptor, PerValueAccessWord, PermissionLevel, PipelineMissingField, PipelineRule, PipelineRuleKind, PipelineStage, PortalPrincipal, PortalTableExposure, ProvenancePointer, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, RecordComment, RecordScopeComment, RecordScopeField, RecordScopeHistoryEntry, RecordScopeRelation, RecordScopeWithheld, RecordsActor, RecordsErrorCode, RecordsErrorSink, RecordsFilter, RecordsRealtimePort, RecordsResolverPort, RecordsResponse, RecordsTableQuery, RegisteredTable, Relation, RelationBinding, RelationCardinality, RelationCarries, RelationFlavor, RelationProperties, RelationTarget, ResolutionTriple, RetiredActorWord, Rule, RuleAnswer, RuleExpression, RuleNodeKind, RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, StorageMode, StoreDoorName, StoreRefusalCode, SubscriptionBlock, SubscriptionCadence, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, TableDisplay, TableOrigin, TableType, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, ValueAlternate, ValueAlternateKey, ValueEnvelope, ValueEnvelopeKey, ValueSource, WorkDueState, WorkInboxKind, WorkOrigin, WorkTemplateNode, WorkTemplateRelation, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip } from '../index.cjs';
3
3
 
4
4
  /**
5
5
  * DOOR-8. As-of on EITHER clock, and they are different questions:
@@ -229,6 +229,37 @@ interface RecordsClient {
229
229
  fieldKernelId(): Promise<RecordsResult<Uuid>>;
230
230
  ruleKernelId(): Promise<RecordsResult<Uuid>>;
231
231
  /** Every record the Rule says is a member. A saved view's list is this, not a filter a screen ran. */
232
+ /** PRODUCTS row 7 — the whole board: its stage column, its stages in the declared
233
+ * order, and every Rule WITH the sentence it says when it refuses. */
234
+ pipelineRead(args: {
235
+ table_id: Uuid;
236
+ }): Promise<RecordsResult<Pipeline>>;
237
+ /** The store's own count and total per column, over what this person may see. */
238
+ pipelineBoard(args: {
239
+ table_id: Uuid;
240
+ measure?: string | null;
241
+ }): Promise<RecordsResult<PipelineColumn[]>>;
242
+ /** Whether this card may go to that column — asked BEFORE the finger lets go. */
243
+ pipelineTransitionRefusal(args: {
244
+ record_id: Uuid;
245
+ to: string;
246
+ }): Promise<RecordsResult<PipelineVerdict>>;
247
+ /** Move a record to a stage. An ORDINARY record write, judged by the same Rules. */
248
+ pipelineMove(args: {
249
+ record_id: Uuid;
250
+ to: string;
251
+ also?: Record<string, unknown>;
252
+ expected_version?: number | null;
253
+ }): Promise<RecordsResult<unknown>>;
254
+ /** Declare (or re-state) a pipeline: the stage column and its transition Rules. */
255
+ pipelineDeclare(args: {
256
+ table_id: Uuid;
257
+ spec: PipelineSpec;
258
+ }): Promise<RecordsResult<PipelineDeclared>>;
259
+ /** Which column of this table holds its stage, or null when it is not a board. */
260
+ tableStageField(args: {
261
+ table_id: Uuid;
262
+ }): Promise<RecordsResult<string | null>>;
232
263
  ruleMembers(args: {
233
264
  rule_id: Uuid;
234
265
  }): Promise<RecordsResult<StoredRecord[]>>;
@@ -450,6 +481,50 @@ interface RecordsClient {
450
481
  filter?: Record<string, AggregateFilter>;
451
482
  limit?: number;
452
483
  }): Promise<RecordsResult<StuckRow[]>>;
484
+ /**
485
+ * Declare or re-state a crew capture sheet over a Table. Admin on the Table.
486
+ * Closed to the crew until `capturePublish`, like every publishing act here.
487
+ */
488
+ captureSheetDeclare(args: {
489
+ table_id: Uuid;
490
+ title: string;
491
+ questions: Array<Record<string, unknown>>;
492
+ presentation?: Record<string, unknown> | null;
493
+ sheet_id?: Uuid | null;
494
+ notify_rule_id?: Uuid | null;
495
+ }): Promise<RecordsResult<Uuid>>;
496
+ /** Open the sheet to the crew, or close it. Admin on the Table. */
497
+ capturePublish(args: {
498
+ sheet_id: Uuid;
499
+ open?: boolean;
500
+ }): Promise<RecordsResult<string | null>>;
501
+ /** The crew sheets of this organization, with what has come in through each. */
502
+ captureSheets(args?: {
503
+ table_id?: Uuid | null;
504
+ }): Promise<RecordsResult<CaptureSheetSummary[]>>;
505
+ /**
506
+ * Everything a phone needs to run one sheet OFFLINE — the questions, the Fields
507
+ * with their ids and parity types, and an honest `may_capture` with a sentence.
508
+ * Load it once on a signal; it is the last network call before the walk.
509
+ */
510
+ captureOpen(args: {
511
+ sheet_id: Uuid;
512
+ }): Promise<RecordsResult<CaptureSheetFace | null>>;
513
+ /**
514
+ * One capture: the answers, the file references, the device, the moment the phone
515
+ * took it and the place. Idempotent on `client_key`, which the PHONE mints when
516
+ * the capture is taken, offline, before its first attempt — send the same key on
517
+ * every retry and the answer comes back `replay: true` with the first record's id.
518
+ */
519
+ captureSubmit(args: {
520
+ sheet_id: Uuid;
521
+ client_key: string;
522
+ answers: Record<string, unknown>;
523
+ files?: CaptureFileRef[];
524
+ device?: string | null;
525
+ captured_at?: string | null;
526
+ location?: Record<string, unknown> | null;
527
+ }): Promise<RecordsResult<CaptureOutcome | null>>;
453
528
  /** Every agent-owned column, with how many cells are filled, stale or pinned, and what it has cost. */
454
529
  enrichments(args?: {
455
530
  table_id?: Uuid | null;
@@ -568,6 +643,25 @@ interface RecordsClient {
568
643
  rule_id: Uuid;
569
644
  muted: boolean;
570
645
  }): Promise<RecordsResult<boolean>>;
646
+ /**
647
+ * WRITE ONE. The store refuses a cadence no runner acts on, a channel this
648
+ * platform does not send on and quiet hours nobody can parse — by name — then
649
+ * declares the Rule through `rule_declare`, because a Rule written as a record
650
+ * carries `data_class = 'record'` and every reader that goes looking for a Rule
651
+ * steps straight past it (REC-72).
652
+ */
653
+ subscriptionDeclare(args: {
654
+ table_id: Uuid;
655
+ spec: SubscriptionSpec;
656
+ }): Promise<RecordsResult<Uuid>>;
657
+ /**
658
+ * SHOW ME ONE NOW. The summary this subscription would send at this moment, with
659
+ * what entered, left and changed NAMED. It assembles only: nothing is delivered,
660
+ * nothing is recorded and the watermark does not move.
661
+ */
662
+ subscriptionPreview(args: {
663
+ rule_id: Uuid;
664
+ }): Promise<RecordsResult<DigestPreview>>;
571
665
  docTemplateSave(args: {
572
666
  table_id: Uuid;
573
667
  name: string;
@@ -1159,6 +1253,12 @@ declare const DOORS: {
1159
1253
  readonly fieldKernelId: "field_kernel_id";
1160
1254
  readonly ruleKernelId: "rule_kernel_id";
1161
1255
  readonly tableKernelId: "table_kernel_id";
1256
+ readonly pipelineDeclare: "pipeline_declare";
1257
+ readonly pipelineRead: "pipeline_read";
1258
+ readonly pipelineBoard: "pipeline_board";
1259
+ readonly pipelineTransitionRefusal: "pipeline_transition_refusal";
1260
+ readonly pipelineMove: "pipeline_move";
1261
+ readonly tableStageField: "table_stage_field";
1162
1262
  readonly ruleMembers: "rule_members";
1163
1263
  readonly ruleMembership: "rule_membership";
1164
1264
  readonly ruleRun: "rule_run";
@@ -1187,6 +1287,11 @@ declare const DOORS: {
1187
1287
  readonly dashboardRun: "dashboard_run";
1188
1288
  readonly dashboardStuck: "dashboard_stuck";
1189
1289
  readonly dashboardDelete: "dashboard_delete";
1290
+ readonly captureSheetDeclare: "capture_sheet_declare";
1291
+ readonly capturePublish: "capture_publish";
1292
+ readonly captureSheets: "capture_sheets";
1293
+ readonly captureOpen: "capture_open";
1294
+ readonly captureSubmit: "capture_submit";
1190
1295
  readonly enrichments: "enrichments";
1191
1296
  readonly enrichDeclare: "enrich_declare";
1192
1297
  readonly enrichDue: "enrich_due";
@@ -1214,6 +1319,8 @@ declare const DOORS: {
1214
1319
  readonly aggSubscriptionCadences: "agg_subscription_cadences";
1215
1320
  readonly subscriptions: "subscriptions";
1216
1321
  readonly subscriptionMute: "subscription_mute";
1322
+ readonly subscriptionDeclare: "subscription_declare";
1323
+ readonly subscriptionPreview: "subscription_preview";
1217
1324
  readonly subscriptionCadences: "subscription_cadences";
1218
1325
  readonly docTemplateSave: "doc_template_save";
1219
1326
  readonly docRenderBody: "doc_render_body";
@@ -1403,4 +1510,4 @@ declare function parseCsv(text: string): string[][];
1403
1510
  declare function importCsv(text: string): ParsedImport;
1404
1511
  declare function importXlsx(bytes: ArrayBuffer | Uint8Array): Promise<ParsedImport>;
1405
1512
 
1406
- export { AggregateBucket, AggregateFilter, AggregateMeasure, AggregateRow, AnonTokenBinding, type AsOf, ChecklistDeclared, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistSpec, ChecklistStepCompleted, ChecklistTemplateShape, ChecklistTemplateSummary, CommentThreadRead, CommentWritten, ConversationScope, ConversationScopeContext, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_PAGE_SIZE, DEFAULT_VALUE_MAX_BYTES, DOORS, DashboardBlock, DashboardRunResult, DashboardSummary, DocRenderRow, DocSignatureRow, DocTemplateRow, DocToken, DocUnresolvedToken, type DoorKey, EnrichCell, EnrichDeclared, EnrichDueRow, EnrichRun, EnrichmentSummary, EntityFieldRights, EntityRecordRead, EntityRecordsFound, EntityTableFacts, type ExportRow, ExternalPrincipalCard, Field, FieldHistoryEntry, FieldPatch, FieldProposal, FormSummary, ImportBatchResult, ImportFinished, ImportOpened, ImportPlan, ImportPolicy, ImportReport, ImportRun, InboundAddress, InboundDeclared, MAPPED_SQLSTATES, type MirrorLimits, MyLevel, MySubscription, NewEntityFieldDeclaration, NewFieldDeclaration, type ParsedImport, PgError, PortalCard, PortalInvitation, PortalPreviewRow, PortalRevocation, PortalSummary, PredictedRefusal, type PromotedPredicate, PublishBinding, type QueryPlan, ReadRow, ReadValue, RecordDocument, RecordHistoryEntry, type RecordQuery, RecordRead, RecordRevision, RecordScopeContext, type RecordsClient, RecordsConfig, RecordsDataSource, RecordsError, RecordsResult, RelationCoordinate, ResolvedPublishBinding, RestorePreview, RestoreResult, StaleWriteDetail, StoredRecord, StuckRow, Subscription, type SupabaseLike, Table, TableCapacity, TableProposal, Timestamp, Uuid, WorkApprovalDecision, WorkApprovalFiled, WorkApprover, WorkAssignment, WorkAssignmentField, WorkChange, WorkGraph, WorkInboxItem, WorkInstantiation, WorkListFlavour, WorkListItem, WorkRecordState, WorkSlotHold, WorkState, WorkTurn, WriteConflict, asWriteConflict, cellText, createRecordsClient, doorAbsent, doorCensus, doorExists, exportCsv, exportXlsx, importCsv, importXlsx, intersectIds, mapPgError, parseCsv, planQuery, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, toAoa };
1513
+ export { AggregateBucket, AggregateFilter, AggregateMeasure, AggregateRow, AnonTokenBinding, type AsOf, CaptureFileRef, CaptureOutcome, CaptureSheetFace, CaptureSheetSummary, ChecklistDeclared, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistSpec, ChecklistStepCompleted, ChecklistTemplateShape, ChecklistTemplateSummary, CommentThreadRead, CommentWritten, ConversationScope, ConversationScopeContext, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_PAGE_SIZE, DEFAULT_VALUE_MAX_BYTES, DOORS, DashboardBlock, DashboardRunResult, DashboardSummary, DigestPreview, DocRenderRow, DocSignatureRow, DocTemplateRow, DocToken, DocUnresolvedToken, type DoorKey, EnrichCell, EnrichDeclared, EnrichDueRow, EnrichRun, EnrichmentSummary, EntityFieldRights, EntityRecordRead, EntityRecordsFound, EntityTableFacts, type ExportRow, ExternalPrincipalCard, Field, FieldHistoryEntry, FieldPatch, FieldProposal, FormSummary, ImportBatchResult, ImportFinished, ImportOpened, ImportPlan, ImportPolicy, ImportReport, ImportRun, InboundAddress, InboundDeclared, MAPPED_SQLSTATES, type MirrorLimits, MyLevel, MySubscription, NewEntityFieldDeclaration, NewFieldDeclaration, type ParsedImport, PgError, Pipeline, PipelineColumn, PipelineDeclared, PipelineSpec, PipelineVerdict, PortalCard, PortalInvitation, PortalPreviewRow, PortalRevocation, PortalSummary, PredictedRefusal, type PromotedPredicate, PublishBinding, type QueryPlan, ReadRow, ReadValue, RecordDocument, RecordHistoryEntry, type RecordQuery, RecordRead, RecordRevision, RecordScopeContext, type RecordsClient, RecordsConfig, RecordsDataSource, RecordsError, RecordsResult, RelationCoordinate, ResolvedPublishBinding, RestorePreview, RestoreResult, StaleWriteDetail, StoredRecord, StuckRow, Subscription, SubscriptionSpec, type SupabaseLike, Table, TableCapacity, TableProposal, Timestamp, Uuid, WorkApprovalDecision, WorkApprovalFiled, WorkApprover, WorkAssignment, WorkAssignmentField, WorkChange, WorkGraph, WorkInboxItem, WorkInstantiation, WorkListFlavour, WorkListItem, WorkRecordState, WorkSlotHold, WorkState, WorkTurn, WriteConflict, asWriteConflict, cellText, createRecordsClient, doorAbsent, doorCensus, doorExists, exportCsv, exportXlsx, importCsv, importXlsx, intersectIds, mapPgError, parseCsv, planQuery, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, toAoa };
@@ -1,5 +1,5 @@
1
- import { Timestamp, Uuid, RelationCoordinate, RecordsConfig, RecordDocument, RecordsResult, RecordRead, ReadRow, Table, Field, StoredRecord, TableCapacity, NewFieldDeclaration, FieldPatch, EntityTableFacts, NewEntityFieldDeclaration, EntityFieldRights, EntityRecordRead, EntityRecordsFound, FormSummary, ImportPlan, ImportPolicy, ImportOpened, ImportBatchResult, ImportFinished, ImportReport, ImportRun, InboundDeclared, InboundAddress, PortalSummary, PortalCard, PortalInvitation, PortalRevocation, PortalPreviewRow, DashboardSummary, DashboardBlock, AggregateFilter, DashboardRunResult, StuckRow, EnrichmentSummary, EnrichDeclared, EnrichDueRow, EnrichCell, EnrichRun, AggregateMeasure, AggregateBucket, AggregateRow, Subscription, MySubscription, DocToken, DocUnresolvedToken, DocTemplateRow, DocRenderRow, DocSignatureRow, RecordRevision, RecordHistoryEntry, RecordScopeContext, ConversationScope, ConversationScopeContext, FieldHistoryEntry, RestorePreview, RestoreResult, CommentThreadRead, CommentWritten, ReadValue, AnonTokenBinding, ChecklistSpec, ChecklistDeclared, ChecklistTemplateSummary, ChecklistTemplateShape, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistStepCompleted, WorkState, WorkGraph, WorkInstantiation, WorkTurn, WorkAssignmentField, WorkSlotHold, WorkInboxItem, WorkListFlavour, WorkListItem, WorkAssignment, WorkRecordState, WorkApprover, WorkChange, WorkApprovalFiled, WorkApprovalDecision, ExternalPrincipalCard, PublishBinding, ResolvedPublishBinding, FieldProposal, TableProposal, MyLevel, RecordsError, WriteConflict, PgError, RecordsDataSource, StaleWriteDetail, PredictedRefusal } from '../index.js';
2
- export { ABSENCE_REASONS, ACTOR_VOCABULARY, AbsenceReason, Actor, AggregateOperation, AggregateWindow, COMPUTE_ON, CONTEXT_POLICIES, ChecklistRequirement, ChecklistRequirementKind, ChecklistRoleSpec, ChecklistStepSpec, ChecklistTrigger, ChecklistTriggerKind, ChoiceOption, ComputeOn, ContextPolicy, CustomFieldTableType, DELIVERIES, DashboardBlockKind, DashboardBlockResult, Delivery, DocSignatureCheck, ENTITY_TOKENS, EnrichAlternate, EnrichSource, Enrichment, EntityFieldValue, EntityRecordMatch, EntityToken, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, FieldBehavior, FieldRule, FieldSensitivity, FieldSource, FieldTypeWord, ForbiddenEnvelopeWord, Freshness, HiddenFieldNotice, HistoryActor, HistoryActorKind, HistoryChange, Home, ImportColumnPlan, ImportOutcome, ImportProposal, KERNEL_TABLES, KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, MergeField, MergeFieldModifier, MergeFieldProvenance, MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, MergeFieldTransform, MissingBehavior, ON_DELETE, OVERRIDE_POLICIES, OnDelete, OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, ParityFieldType, ParityFieldTypeDescriptor, PerValueAccessWord, PermissionLevel, PortalPrincipal, PortalTableExposure, ProvenancePointer, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, RecordComment, RecordScopeComment, RecordScopeField, RecordScopeHistoryEntry, RecordScopeRelation, RecordScopeWithheld, RecordsActor, RecordsErrorCode, RecordsErrorSink, RecordsFilter, RecordsRealtimePort, RecordsResolverPort, RecordsResponse, RecordsTableQuery, RegisteredTable, Relation, RelationBinding, RelationCardinality, RelationCarries, RelationFlavor, RelationProperties, RelationTarget, ResolutionTriple, RetiredActorWord, Rule, RuleAnswer, RuleExpression, RuleNodeKind, RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, StorageMode, StoreDoorName, StoreRefusalCode, SubscriptionBlock, SubscriptionCadence, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, TableDisplay, TableOrigin, TableType, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, ValueAlternate, ValueAlternateKey, ValueEnvelope, ValueEnvelopeKey, ValueSource, WorkDueState, WorkInboxKind, WorkOrigin, WorkTemplateNode, WorkTemplateRelation, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, isRecordsErr, isTheChosen, looksLikeAnId, measureKey, ok, optionKey, optionLabel, portalPath, publicFormPath, scopeChip } from '../index.js';
1
+ import { Timestamp, Uuid, RelationCoordinate, RecordsConfig, RecordDocument, RecordsResult, RecordRead, ReadRow, Table, Field, StoredRecord, TableCapacity, NewFieldDeclaration, FieldPatch, EntityTableFacts, NewEntityFieldDeclaration, EntityFieldRights, EntityRecordRead, EntityRecordsFound, Pipeline, PipelineColumn, PipelineVerdict, PipelineSpec, PipelineDeclared, FormSummary, ImportPlan, ImportPolicy, ImportOpened, ImportBatchResult, ImportFinished, ImportReport, ImportRun, InboundDeclared, InboundAddress, PortalSummary, PortalCard, PortalInvitation, PortalRevocation, PortalPreviewRow, DashboardSummary, DashboardBlock, AggregateFilter, DashboardRunResult, StuckRow, CaptureSheetSummary, CaptureSheetFace, CaptureFileRef, CaptureOutcome, EnrichmentSummary, EnrichDeclared, EnrichDueRow, EnrichCell, EnrichRun, AggregateMeasure, AggregateBucket, AggregateRow, Subscription, MySubscription, SubscriptionSpec, DigestPreview, DocToken, DocUnresolvedToken, DocTemplateRow, DocRenderRow, DocSignatureRow, RecordRevision, RecordHistoryEntry, RecordScopeContext, ConversationScope, ConversationScopeContext, FieldHistoryEntry, RestorePreview, RestoreResult, CommentThreadRead, CommentWritten, ReadValue, AnonTokenBinding, ChecklistSpec, ChecklistDeclared, ChecklistTemplateSummary, ChecklistTemplateShape, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistStepCompleted, WorkState, WorkGraph, WorkInstantiation, WorkTurn, WorkAssignmentField, WorkSlotHold, WorkInboxItem, WorkListFlavour, WorkListItem, WorkAssignment, WorkRecordState, WorkApprover, WorkChange, WorkApprovalFiled, WorkApprovalDecision, ExternalPrincipalCard, PublishBinding, ResolvedPublishBinding, FieldProposal, TableProposal, MyLevel, RecordsError, WriteConflict, PgError, RecordsDataSource, StaleWriteDetail, PredictedRefusal } from '../index.js';
2
+ export { ABSENCE_REASONS, ACTOR_VOCABULARY, AbsenceReason, Actor, AggregateOperation, AggregateWindow, COMPUTE_ON, CONTEXT_POLICIES, CaptureField, CaptureQuestion, CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, ChecklistRequirement, ChecklistRequirementKind, ChecklistRoleSpec, ChecklistStepSpec, ChecklistTrigger, ChecklistTriggerKind, ChoiceOption, ComputeOn, ContextPolicy, CustomFieldTableType, DELIVERIES, DashboardBlockKind, DashboardBlockResult, Delivery, DocSignatureCheck, ENTITY_TOKENS, EnrichAlternate, EnrichSource, Enrichment, EntityFieldValue, EntityRecordMatch, EntityToken, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, FieldBehavior, FieldRule, FieldSensitivity, FieldSource, FieldTypeWord, ForbiddenEnvelopeWord, Freshness, HiddenFieldNotice, HistoryActor, HistoryActorKind, HistoryChange, Home, ImportColumnPlan, ImportOutcome, ImportProposal, KERNEL_TABLES, KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, MergeField, MergeFieldModifier, MergeFieldProvenance, MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, MergeFieldTransform, MissingBehavior, ON_DELETE, OVERRIDE_POLICIES, OnDelete, OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, ParityFieldType, ParityFieldTypeDescriptor, PerValueAccessWord, PermissionLevel, PipelineMissingField, PipelineRule, PipelineRuleKind, PipelineStage, PortalPrincipal, PortalTableExposure, ProvenancePointer, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, RecordComment, RecordScopeComment, RecordScopeField, RecordScopeHistoryEntry, RecordScopeRelation, RecordScopeWithheld, RecordsActor, RecordsErrorCode, RecordsErrorSink, RecordsFilter, RecordsRealtimePort, RecordsResolverPort, RecordsResponse, RecordsTableQuery, RegisteredTable, Relation, RelationBinding, RelationCardinality, RelationCarries, RelationFlavor, RelationProperties, RelationTarget, ResolutionTriple, RetiredActorWord, Rule, RuleAnswer, RuleExpression, RuleNodeKind, RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, StorageMode, StoreDoorName, StoreRefusalCode, SubscriptionBlock, SubscriptionCadence, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, TableDisplay, TableOrigin, TableType, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, ValueAlternate, ValueAlternateKey, ValueEnvelope, ValueEnvelopeKey, ValueSource, WorkDueState, WorkInboxKind, WorkOrigin, WorkTemplateNode, WorkTemplateRelation, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip } from '../index.js';
3
3
 
4
4
  /**
5
5
  * DOOR-8. As-of on EITHER clock, and they are different questions:
@@ -229,6 +229,37 @@ interface RecordsClient {
229
229
  fieldKernelId(): Promise<RecordsResult<Uuid>>;
230
230
  ruleKernelId(): Promise<RecordsResult<Uuid>>;
231
231
  /** Every record the Rule says is a member. A saved view's list is this, not a filter a screen ran. */
232
+ /** PRODUCTS row 7 — the whole board: its stage column, its stages in the declared
233
+ * order, and every Rule WITH the sentence it says when it refuses. */
234
+ pipelineRead(args: {
235
+ table_id: Uuid;
236
+ }): Promise<RecordsResult<Pipeline>>;
237
+ /** The store's own count and total per column, over what this person may see. */
238
+ pipelineBoard(args: {
239
+ table_id: Uuid;
240
+ measure?: string | null;
241
+ }): Promise<RecordsResult<PipelineColumn[]>>;
242
+ /** Whether this card may go to that column — asked BEFORE the finger lets go. */
243
+ pipelineTransitionRefusal(args: {
244
+ record_id: Uuid;
245
+ to: string;
246
+ }): Promise<RecordsResult<PipelineVerdict>>;
247
+ /** Move a record to a stage. An ORDINARY record write, judged by the same Rules. */
248
+ pipelineMove(args: {
249
+ record_id: Uuid;
250
+ to: string;
251
+ also?: Record<string, unknown>;
252
+ expected_version?: number | null;
253
+ }): Promise<RecordsResult<unknown>>;
254
+ /** Declare (or re-state) a pipeline: the stage column and its transition Rules. */
255
+ pipelineDeclare(args: {
256
+ table_id: Uuid;
257
+ spec: PipelineSpec;
258
+ }): Promise<RecordsResult<PipelineDeclared>>;
259
+ /** Which column of this table holds its stage, or null when it is not a board. */
260
+ tableStageField(args: {
261
+ table_id: Uuid;
262
+ }): Promise<RecordsResult<string | null>>;
232
263
  ruleMembers(args: {
233
264
  rule_id: Uuid;
234
265
  }): Promise<RecordsResult<StoredRecord[]>>;
@@ -450,6 +481,50 @@ interface RecordsClient {
450
481
  filter?: Record<string, AggregateFilter>;
451
482
  limit?: number;
452
483
  }): Promise<RecordsResult<StuckRow[]>>;
484
+ /**
485
+ * Declare or re-state a crew capture sheet over a Table. Admin on the Table.
486
+ * Closed to the crew until `capturePublish`, like every publishing act here.
487
+ */
488
+ captureSheetDeclare(args: {
489
+ table_id: Uuid;
490
+ title: string;
491
+ questions: Array<Record<string, unknown>>;
492
+ presentation?: Record<string, unknown> | null;
493
+ sheet_id?: Uuid | null;
494
+ notify_rule_id?: Uuid | null;
495
+ }): Promise<RecordsResult<Uuid>>;
496
+ /** Open the sheet to the crew, or close it. Admin on the Table. */
497
+ capturePublish(args: {
498
+ sheet_id: Uuid;
499
+ open?: boolean;
500
+ }): Promise<RecordsResult<string | null>>;
501
+ /** The crew sheets of this organization, with what has come in through each. */
502
+ captureSheets(args?: {
503
+ table_id?: Uuid | null;
504
+ }): Promise<RecordsResult<CaptureSheetSummary[]>>;
505
+ /**
506
+ * Everything a phone needs to run one sheet OFFLINE — the questions, the Fields
507
+ * with their ids and parity types, and an honest `may_capture` with a sentence.
508
+ * Load it once on a signal; it is the last network call before the walk.
509
+ */
510
+ captureOpen(args: {
511
+ sheet_id: Uuid;
512
+ }): Promise<RecordsResult<CaptureSheetFace | null>>;
513
+ /**
514
+ * One capture: the answers, the file references, the device, the moment the phone
515
+ * took it and the place. Idempotent on `client_key`, which the PHONE mints when
516
+ * the capture is taken, offline, before its first attempt — send the same key on
517
+ * every retry and the answer comes back `replay: true` with the first record's id.
518
+ */
519
+ captureSubmit(args: {
520
+ sheet_id: Uuid;
521
+ client_key: string;
522
+ answers: Record<string, unknown>;
523
+ files?: CaptureFileRef[];
524
+ device?: string | null;
525
+ captured_at?: string | null;
526
+ location?: Record<string, unknown> | null;
527
+ }): Promise<RecordsResult<CaptureOutcome | null>>;
453
528
  /** Every agent-owned column, with how many cells are filled, stale or pinned, and what it has cost. */
454
529
  enrichments(args?: {
455
530
  table_id?: Uuid | null;
@@ -568,6 +643,25 @@ interface RecordsClient {
568
643
  rule_id: Uuid;
569
644
  muted: boolean;
570
645
  }): Promise<RecordsResult<boolean>>;
646
+ /**
647
+ * WRITE ONE. The store refuses a cadence no runner acts on, a channel this
648
+ * platform does not send on and quiet hours nobody can parse — by name — then
649
+ * declares the Rule through `rule_declare`, because a Rule written as a record
650
+ * carries `data_class = 'record'` and every reader that goes looking for a Rule
651
+ * steps straight past it (REC-72).
652
+ */
653
+ subscriptionDeclare(args: {
654
+ table_id: Uuid;
655
+ spec: SubscriptionSpec;
656
+ }): Promise<RecordsResult<Uuid>>;
657
+ /**
658
+ * SHOW ME ONE NOW. The summary this subscription would send at this moment, with
659
+ * what entered, left and changed NAMED. It assembles only: nothing is delivered,
660
+ * nothing is recorded and the watermark does not move.
661
+ */
662
+ subscriptionPreview(args: {
663
+ rule_id: Uuid;
664
+ }): Promise<RecordsResult<DigestPreview>>;
571
665
  docTemplateSave(args: {
572
666
  table_id: Uuid;
573
667
  name: string;
@@ -1159,6 +1253,12 @@ declare const DOORS: {
1159
1253
  readonly fieldKernelId: "field_kernel_id";
1160
1254
  readonly ruleKernelId: "rule_kernel_id";
1161
1255
  readonly tableKernelId: "table_kernel_id";
1256
+ readonly pipelineDeclare: "pipeline_declare";
1257
+ readonly pipelineRead: "pipeline_read";
1258
+ readonly pipelineBoard: "pipeline_board";
1259
+ readonly pipelineTransitionRefusal: "pipeline_transition_refusal";
1260
+ readonly pipelineMove: "pipeline_move";
1261
+ readonly tableStageField: "table_stage_field";
1162
1262
  readonly ruleMembers: "rule_members";
1163
1263
  readonly ruleMembership: "rule_membership";
1164
1264
  readonly ruleRun: "rule_run";
@@ -1187,6 +1287,11 @@ declare const DOORS: {
1187
1287
  readonly dashboardRun: "dashboard_run";
1188
1288
  readonly dashboardStuck: "dashboard_stuck";
1189
1289
  readonly dashboardDelete: "dashboard_delete";
1290
+ readonly captureSheetDeclare: "capture_sheet_declare";
1291
+ readonly capturePublish: "capture_publish";
1292
+ readonly captureSheets: "capture_sheets";
1293
+ readonly captureOpen: "capture_open";
1294
+ readonly captureSubmit: "capture_submit";
1190
1295
  readonly enrichments: "enrichments";
1191
1296
  readonly enrichDeclare: "enrich_declare";
1192
1297
  readonly enrichDue: "enrich_due";
@@ -1214,6 +1319,8 @@ declare const DOORS: {
1214
1319
  readonly aggSubscriptionCadences: "agg_subscription_cadences";
1215
1320
  readonly subscriptions: "subscriptions";
1216
1321
  readonly subscriptionMute: "subscription_mute";
1322
+ readonly subscriptionDeclare: "subscription_declare";
1323
+ readonly subscriptionPreview: "subscription_preview";
1217
1324
  readonly subscriptionCadences: "subscription_cadences";
1218
1325
  readonly docTemplateSave: "doc_template_save";
1219
1326
  readonly docRenderBody: "doc_render_body";
@@ -1403,4 +1510,4 @@ declare function parseCsv(text: string): string[][];
1403
1510
  declare function importCsv(text: string): ParsedImport;
1404
1511
  declare function importXlsx(bytes: ArrayBuffer | Uint8Array): Promise<ParsedImport>;
1405
1512
 
1406
- export { AggregateBucket, AggregateFilter, AggregateMeasure, AggregateRow, AnonTokenBinding, type AsOf, ChecklistDeclared, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistSpec, ChecklistStepCompleted, ChecklistTemplateShape, ChecklistTemplateSummary, CommentThreadRead, CommentWritten, ConversationScope, ConversationScopeContext, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_PAGE_SIZE, DEFAULT_VALUE_MAX_BYTES, DOORS, DashboardBlock, DashboardRunResult, DashboardSummary, DocRenderRow, DocSignatureRow, DocTemplateRow, DocToken, DocUnresolvedToken, type DoorKey, EnrichCell, EnrichDeclared, EnrichDueRow, EnrichRun, EnrichmentSummary, EntityFieldRights, EntityRecordRead, EntityRecordsFound, EntityTableFacts, type ExportRow, ExternalPrincipalCard, Field, FieldHistoryEntry, FieldPatch, FieldProposal, FormSummary, ImportBatchResult, ImportFinished, ImportOpened, ImportPlan, ImportPolicy, ImportReport, ImportRun, InboundAddress, InboundDeclared, MAPPED_SQLSTATES, type MirrorLimits, MyLevel, MySubscription, NewEntityFieldDeclaration, NewFieldDeclaration, type ParsedImport, PgError, PortalCard, PortalInvitation, PortalPreviewRow, PortalRevocation, PortalSummary, PredictedRefusal, type PromotedPredicate, PublishBinding, type QueryPlan, ReadRow, ReadValue, RecordDocument, RecordHistoryEntry, type RecordQuery, RecordRead, RecordRevision, RecordScopeContext, type RecordsClient, RecordsConfig, RecordsDataSource, RecordsError, RecordsResult, RelationCoordinate, ResolvedPublishBinding, RestorePreview, RestoreResult, StaleWriteDetail, StoredRecord, StuckRow, Subscription, type SupabaseLike, Table, TableCapacity, TableProposal, Timestamp, Uuid, WorkApprovalDecision, WorkApprovalFiled, WorkApprover, WorkAssignment, WorkAssignmentField, WorkChange, WorkGraph, WorkInboxItem, WorkInstantiation, WorkListFlavour, WorkListItem, WorkRecordState, WorkSlotHold, WorkState, WorkTurn, WriteConflict, asWriteConflict, cellText, createRecordsClient, doorAbsent, doorCensus, doorExists, exportCsv, exportXlsx, importCsv, importXlsx, intersectIds, mapPgError, parseCsv, planQuery, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, toAoa };
1513
+ export { AggregateBucket, AggregateFilter, AggregateMeasure, AggregateRow, AnonTokenBinding, type AsOf, CaptureFileRef, CaptureOutcome, CaptureSheetFace, CaptureSheetSummary, ChecklistDeclared, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistSpec, ChecklistStepCompleted, ChecklistTemplateShape, ChecklistTemplateSummary, CommentThreadRead, CommentWritten, ConversationScope, ConversationScopeContext, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_PAGE_SIZE, DEFAULT_VALUE_MAX_BYTES, DOORS, DashboardBlock, DashboardRunResult, DashboardSummary, DigestPreview, DocRenderRow, DocSignatureRow, DocTemplateRow, DocToken, DocUnresolvedToken, type DoorKey, EnrichCell, EnrichDeclared, EnrichDueRow, EnrichRun, EnrichmentSummary, EntityFieldRights, EntityRecordRead, EntityRecordsFound, EntityTableFacts, type ExportRow, ExternalPrincipalCard, Field, FieldHistoryEntry, FieldPatch, FieldProposal, FormSummary, ImportBatchResult, ImportFinished, ImportOpened, ImportPlan, ImportPolicy, ImportReport, ImportRun, InboundAddress, InboundDeclared, MAPPED_SQLSTATES, type MirrorLimits, MyLevel, MySubscription, NewEntityFieldDeclaration, NewFieldDeclaration, type ParsedImport, PgError, Pipeline, PipelineColumn, PipelineDeclared, PipelineSpec, PipelineVerdict, PortalCard, PortalInvitation, PortalPreviewRow, PortalRevocation, PortalSummary, PredictedRefusal, type PromotedPredicate, PublishBinding, type QueryPlan, ReadRow, ReadValue, RecordDocument, RecordHistoryEntry, type RecordQuery, RecordRead, RecordRevision, RecordScopeContext, type RecordsClient, RecordsConfig, RecordsDataSource, RecordsError, RecordsResult, RelationCoordinate, ResolvedPublishBinding, RestorePreview, RestoreResult, StaleWriteDetail, StoredRecord, StuckRow, Subscription, SubscriptionSpec, type SupabaseLike, Table, TableCapacity, TableProposal, Timestamp, Uuid, WorkApprovalDecision, WorkApprovalFiled, WorkApprover, WorkAssignment, WorkAssignmentField, WorkChange, WorkGraph, WorkInboxItem, WorkInstantiation, WorkListFlavour, WorkListItem, WorkRecordState, WorkSlotHold, WorkState, WorkTurn, WriteConflict, asWriteConflict, cellText, createRecordsClient, doorAbsent, doorCensus, doorExists, exportCsv, exportXlsx, importCsv, importXlsx, intersectIds, mapPgError, parseCsv, planQuery, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, toAoa };