@ai-matrx/records 0.99.24 → 0.99.25

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/{client-BgyGYbAY.d.ts → client-CFaUo85X.d.ts} +129 -1
  3. package/dist/{client-CL-dgaM6.d.cts → client-Dxs_M4if.d.cts} +129 -1
  4. package/dist/core/index.cjs +24 -0
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +4 -2
  7. package/dist/core/index.d.ts +4 -2
  8. package/dist/core/index.js +24 -0
  9. package/dist/core/index.js.map +1 -1
  10. package/dist/data/index.cjs +17 -0
  11. package/dist/data/index.cjs.map +1 -1
  12. package/dist/data/index.d.cts +1 -1
  13. package/dist/data/index.d.ts +1 -1
  14. package/dist/data/index.js +17 -0
  15. package/dist/data/index.js.map +1 -1
  16. package/dist/{declareTable-CWbYby6X.d.cts → declareTable-DGzmOJw0.d.cts} +1 -1
  17. package/dist/{declareTable-DO6Aeptz.d.ts → declareTable-j7whJWGf.d.ts} +1 -1
  18. package/dist/index.cjs +7 -0
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +2 -2
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.js +7 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/questions/index.d.cts +1 -1
  25. package/dist/questions/index.d.ts +1 -1
  26. package/dist/react/index.cjs +24 -0
  27. package/dist/react/index.cjs.map +1 -1
  28. package/dist/react/index.d.cts +129 -1
  29. package/dist/react/index.d.ts +129 -1
  30. package/dist/react/index.js +24 -0
  31. package/dist/react/index.js.map +1 -1
  32. package/dist/setup/index.cjs +17 -0
  33. package/dist/setup/index.cjs.map +1 -1
  34. package/dist/setup/index.d.cts +1 -1
  35. package/dist/setup/index.d.ts +1 -1
  36. package/dist/setup/index.js +17 -0
  37. package/dist/setup/index.js.map +1 -1
  38. package/dist/typed-table/index.cjs +17 -0
  39. package/dist/typed-table/index.cjs.map +1 -1
  40. package/dist/typed-table/index.d.cts +2 -2
  41. package/dist/typed-table/index.d.ts +2 -2
  42. package/dist/typed-table/index.js +17 -0
  43. package/dist/typed-table/index.js.map +1 -1
  44. package/dist/views/index.d.cts +1 -1
  45. package/dist/views/index.d.ts +1 -1
  46. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import { RealtimeManager } from '@ai-matrx/realtime';
2
- import { R as RecordsClient } from '../client-CL-dgaM6.cjs';
2
+ import { R as RecordsClient } from '../client-Dxs_M4if.cjs';
3
3
  import { C as CreateEntityDataPortOptions, E as EntityDataPort } from '../port-DIIrAsVo.cjs';
4
4
  import { R as RecordOrganizationPort, O as ObjectOrganizationAnswer } from '../objectOrganization-CZntM8fR.cjs';
5
5
  import { a as RecordsConfig, b as RowAgentPort, c as RecordsErrorSink, d as RecordsDataSource, e as RecordsChangeSink, f as RowAgentTarget } from '../ports-CNIYiVOr.cjs';
@@ -1,5 +1,5 @@
1
1
  import { RealtimeManager } from '@ai-matrx/realtime';
2
- import { R as RecordsClient } from '../client-BgyGYbAY.js';
2
+ import { R as RecordsClient } from '../client-CFaUo85X.js';
3
3
  import { C as CreateEntityDataPortOptions, E as EntityDataPort } from '../port-CAkn2w8E.js';
4
4
  import { R as RecordOrganizationPort, O as ObjectOrganizationAnswer } from '../objectOrganization-B4HiJ-3K.js';
5
5
  import { a as RecordsConfig, b as RowAgentPort, c as RecordsErrorSink, d as RecordsDataSource, e as RecordsChangeSink, f as RowAgentTarget } from '../ports-D1x7fluG.js';
@@ -3090,6 +3090,9 @@ var DOORS = {
3090
3090
  automationRuns: "automation_runs",
3091
3091
  // AUTOMATIONS-AIRTABLE (2026-10-10) — run one automation once now on a picked row.
3092
3092
  automationTest: "automation_test",
3093
+ // AT-AUTO2 (2026-10-15) — every save of an automation, and restoring one.
3094
+ automationRevisions: "automation_revisions",
3095
+ automationRevisionRestore: "automation_revision_restore",
3093
3096
  tableWebhookDeclare: "table_webhook_declare",
3094
3097
  tableWebhooks: "table_webhooks",
3095
3098
  tableWebhookArchive: "table_webhook_archive",
@@ -6819,6 +6822,20 @@ function createRecordsClient(given) {
6819
6822
  if (result.ok && record_id) announceRecordChanged(record_id);
6820
6823
  return result;
6821
6824
  },
6825
+ async automationRevisions({ automation_id }) {
6826
+ return callDoor(
6827
+ DOORS.automationRevisions,
6828
+ { p_organization_id: org, p_automation_id: automation_id },
6829
+ "automationRevisions"
6830
+ );
6831
+ },
6832
+ async automationRevisionRestore({ automation_id, revision_id }) {
6833
+ return callDoor(
6834
+ DOORS.automationRevisionRestore,
6835
+ { p_organization_id: org, p_automation_id: automation_id, p_revision_id: revision_id },
6836
+ "automationRevisionRestore"
6837
+ );
6838
+ },
6822
6839
  async tableWebhookDeclare({ table_id, target_url, events, description }) {
6823
6840
  return callDoor(
6824
6841
  DOORS.tableWebhookDeclare,