@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,6 +1,6 @@
1
1
  import { C as Column, Q as Query, A as AliasBinding, H as HostDataPort } from '../types-BxCDFjif.cjs';
2
2
  export { a as AnyAlias, b as CUSTOM_ROW_TOKEN, D as DataEvents, c as DataPort, d as DataPortEventName, e as DataSource, E as EntityAlias, f as EntityRef, L as Lane, P as Page, R as Row, g as RowsEvent, T as TableAlias, V as Values, W as WhereClause, h as WhereOp } from '../types-BxCDFjif.cjs';
3
- import { R as RecordsClient } from '../client-CL-dgaM6.cjs';
3
+ import { R as RecordsClient } from '../client-Dxs_M4if.cjs';
4
4
  import { F as Field } from '../field-Bm5OFzc7.cjs';
5
5
  import { U as Uuid, R as RecordsResult, k as RecordPageSort, l as ReadRow } from '../record-GKSmu35W.cjs';
6
6
  import { R as RuleExpression } from '../rule-63XMhwgs.cjs';
@@ -1,6 +1,6 @@
1
1
  import { C as Column, Q as Query, A as AliasBinding, H as HostDataPort } from '../types-HVrOPqD6.js';
2
2
  export { a as AnyAlias, b as CUSTOM_ROW_TOKEN, D as DataEvents, c as DataPort, d as DataPortEventName, e as DataSource, E as EntityAlias, f as EntityRef, L as Lane, P as Page, R as Row, g as RowsEvent, T as TableAlias, V as Values, W as WhereClause, h as WhereOp } from '../types-HVrOPqD6.js';
3
- import { R as RecordsClient } from '../client-BgyGYbAY.js';
3
+ import { R as RecordsClient } from '../client-CFaUo85X.js';
4
4
  import { F as Field } from '../field-BMZs98m8.js';
5
5
  import { U as Uuid, R as RecordsResult, k as RecordPageSort, l as ReadRow } from '../record-GKSmu35W.js';
6
6
  import { R as RuleExpression } from '../rule-HUw0rezq.js';
@@ -3292,6 +3292,9 @@ var DOORS = {
3292
3292
  automationRuns: "automation_runs",
3293
3293
  // AUTOMATIONS-AIRTABLE (2026-10-10) — run one automation once now on a picked row.
3294
3294
  automationTest: "automation_test",
3295
+ // AT-AUTO2 (2026-10-15) — every save of an automation, and restoring one.
3296
+ automationRevisions: "automation_revisions",
3297
+ automationRevisionRestore: "automation_revision_restore",
3295
3298
  tableWebhookDeclare: "table_webhook_declare",
3296
3299
  tableWebhooks: "table_webhooks",
3297
3300
  tableWebhookArchive: "table_webhook_archive",
@@ -7021,6 +7024,20 @@ function createRecordsClient(given) {
7021
7024
  if (result.ok && record_id) announceRecordChanged(record_id);
7022
7025
  return result;
7023
7026
  },
7027
+ async automationRevisions({ automation_id }) {
7028
+ return callDoor(
7029
+ DOORS.automationRevisions,
7030
+ { p_organization_id: org, p_automation_id: automation_id },
7031
+ "automationRevisions"
7032
+ );
7033
+ },
7034
+ async automationRevisionRestore({ automation_id, revision_id }) {
7035
+ return callDoor(
7036
+ DOORS.automationRevisionRestore,
7037
+ { p_organization_id: org, p_automation_id: automation_id, p_revision_id: revision_id },
7038
+ "automationRevisionRestore"
7039
+ );
7040
+ },
7024
7041
  async tableWebhookDeclare({ table_id, target_url, events, description }) {
7025
7042
  return callDoor(
7026
7043
  DOORS.tableWebhookDeclare,