@epilot/sdk 2.4.0 → 2.4.2

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 (221) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4493 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +5028 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +4846 -0
  19. package/definitions/configuration-hub-runtime.json +1 -0
  20. package/definitions/configuration-hub.json +611 -0
  21. package/definitions/consent-runtime.json +1 -0
  22. package/definitions/consent.json +344 -0
  23. package/definitions/customer-portal-runtime.json +1 -0
  24. package/definitions/customer-portal.json +16045 -0
  25. package/definitions/dashboard-runtime.json +1 -0
  26. package/definitions/dashboard.json +484 -0
  27. package/definitions/data-governance-runtime.json +1 -0
  28. package/definitions/data-governance.json +1126 -0
  29. package/definitions/deduplication-runtime.json +1 -0
  30. package/definitions/deduplication.json +314 -0
  31. package/definitions/design-runtime.json +1 -0
  32. package/definitions/design.json +1722 -0
  33. package/definitions/document-runtime.json +1 -0
  34. package/definitions/document.json +758 -0
  35. package/definitions/email-settings-runtime.json +1 -0
  36. package/definitions/email-settings.json +2777 -0
  37. package/definitions/email-template-runtime.json +1 -0
  38. package/definitions/email-template.json +1441 -0
  39. package/definitions/entity-mapping-runtime.json +1 -0
  40. package/definitions/entity-mapping.json +1642 -0
  41. package/definitions/entity-runtime.json +1 -0
  42. package/definitions/entity.json +10861 -0
  43. package/definitions/environments-runtime.json +1 -0
  44. package/definitions/environments.json +539 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/integration-toolkit-runtime.json +1 -0
  52. package/definitions/integration-toolkit.json +7998 -0
  53. package/definitions/journey-runtime.json +1 -0
  54. package/definitions/journey.json +2603 -0
  55. package/definitions/kanban-runtime.json +1 -0
  56. package/definitions/kanban.json +1506 -0
  57. package/definitions/message-runtime.json +1 -0
  58. package/definitions/message.json +2872 -0
  59. package/definitions/metering-runtime.json +1 -0
  60. package/definitions/metering.json +2321 -0
  61. package/definitions/notes-runtime.json +1 -0
  62. package/definitions/notes.json +1531 -0
  63. package/definitions/notification-runtime.json +1 -0
  64. package/definitions/notification.json +1425 -0
  65. package/definitions/organization-runtime.json +1 -0
  66. package/definitions/organization.json +1192 -0
  67. package/definitions/partner-directory-runtime.json +1 -0
  68. package/definitions/partner-directory.json +2284 -0
  69. package/definitions/permissions-runtime.json +1 -0
  70. package/definitions/permissions.json +1515 -0
  71. package/definitions/pricing-runtime.json +1 -0
  72. package/definitions/pricing-tier-runtime.json +1 -0
  73. package/definitions/pricing-tier.json +105 -0
  74. package/definitions/pricing.json +9884 -0
  75. package/definitions/purpose-runtime.json +1 -0
  76. package/definitions/purpose.json +524 -0
  77. package/definitions/query-runtime.json +1 -0
  78. package/definitions/query.json +3178 -0
  79. package/definitions/sandbox-runtime.json +1 -0
  80. package/definitions/sandbox.json +453 -0
  81. package/definitions/sharing-runtime.json +1 -0
  82. package/definitions/sharing.json +956 -0
  83. package/definitions/submission-runtime.json +1 -0
  84. package/definitions/submission.json +313 -0
  85. package/definitions/targeting-runtime.json +1 -0
  86. package/definitions/targeting.json +1474 -0
  87. package/definitions/template-variables-runtime.json +1 -0
  88. package/definitions/template-variables.json +1416 -0
  89. package/definitions/user-runtime.json +1 -0
  90. package/definitions/user.json +2460 -0
  91. package/definitions/validation-rules-runtime.json +1 -0
  92. package/definitions/validation-rules.json +1491 -0
  93. package/definitions/webhooks-runtime.json +1 -0
  94. package/definitions/webhooks.json +1634 -0
  95. package/definitions/workflow-definition-runtime.json +1 -0
  96. package/definitions/workflow-definition.json +3354 -0
  97. package/definitions/workflow-runtime.json +1 -0
  98. package/definitions/workflow.json +4272 -0
  99. package/dist/apis/access-token.cjs +6 -6
  100. package/dist/apis/access-token.js +1 -1
  101. package/dist/apis/address-suggestions.cjs +6 -6
  102. package/dist/apis/address-suggestions.js +1 -1
  103. package/dist/apis/address.cjs +6 -6
  104. package/dist/apis/address.js +1 -1
  105. package/dist/apis/ai-agents.cjs +6 -6
  106. package/dist/apis/ai-agents.js +1 -1
  107. package/dist/apis/app.cjs +6 -6
  108. package/dist/apis/app.js +1 -1
  109. package/dist/apis/audit-logs.cjs +6 -6
  110. package/dist/apis/audit-logs.js +1 -1
  111. package/dist/apis/automation.cjs +6 -6
  112. package/dist/apis/automation.js +1 -1
  113. package/dist/apis/billing.cjs +6 -6
  114. package/dist/apis/billing.js +1 -1
  115. package/dist/apis/blueprint-manifest.cjs +6 -6
  116. package/dist/apis/blueprint-manifest.js +1 -1
  117. package/dist/apis/configuration-hub.cjs +6 -6
  118. package/dist/apis/configuration-hub.js +1 -1
  119. package/dist/apis/consent.cjs +6 -6
  120. package/dist/apis/consent.js +1 -1
  121. package/dist/apis/customer-portal.cjs +6 -6
  122. package/dist/apis/customer-portal.js +1 -1
  123. package/dist/apis/dashboard.cjs +6 -6
  124. package/dist/apis/dashboard.js +1 -1
  125. package/dist/apis/data-governance.cjs +6 -6
  126. package/dist/apis/data-governance.js +1 -1
  127. package/dist/apis/deduplication.cjs +6 -6
  128. package/dist/apis/deduplication.js +1 -1
  129. package/dist/apis/design.cjs +6 -6
  130. package/dist/apis/design.js +1 -1
  131. package/dist/apis/document.cjs +6 -6
  132. package/dist/apis/document.js +1 -1
  133. package/dist/apis/email-settings.cjs +6 -6
  134. package/dist/apis/email-settings.js +1 -1
  135. package/dist/apis/email-template.cjs +6 -6
  136. package/dist/apis/email-template.js +1 -1
  137. package/dist/apis/entity-mapping.cjs +6 -6
  138. package/dist/apis/entity-mapping.js +1 -1
  139. package/dist/apis/entity.cjs +6 -6
  140. package/dist/apis/entity.d.cts +2 -2
  141. package/dist/apis/entity.d.ts +2 -2
  142. package/dist/apis/entity.js +1 -1
  143. package/dist/apis/environments.cjs +6 -6
  144. package/dist/apis/environments.js +1 -1
  145. package/dist/apis/event-catalog.cjs +6 -6
  146. package/dist/apis/event-catalog.js +1 -1
  147. package/dist/apis/file.cjs +6 -6
  148. package/dist/apis/file.js +1 -1
  149. package/dist/apis/iban.cjs +6 -6
  150. package/dist/apis/iban.js +1 -1
  151. package/dist/apis/integration-toolkit.cjs +6 -6
  152. package/dist/apis/integration-toolkit.js +1 -1
  153. package/dist/apis/journey.cjs +6 -6
  154. package/dist/apis/journey.js +1 -1
  155. package/dist/apis/kanban.cjs +6 -6
  156. package/dist/apis/kanban.d.cts +2 -2
  157. package/dist/apis/kanban.d.ts +2 -2
  158. package/dist/apis/kanban.js +1 -1
  159. package/dist/apis/message.cjs +6 -6
  160. package/dist/apis/message.js +1 -1
  161. package/dist/apis/metering.cjs +6 -6
  162. package/dist/apis/metering.js +1 -1
  163. package/dist/apis/notes.cjs +6 -6
  164. package/dist/apis/notes.js +1 -1
  165. package/dist/apis/notification.cjs +6 -6
  166. package/dist/apis/notification.js +1 -1
  167. package/dist/apis/organization.cjs +6 -6
  168. package/dist/apis/organization.js +1 -1
  169. package/dist/apis/partner-directory.cjs +6 -6
  170. package/dist/apis/partner-directory.js +1 -1
  171. package/dist/apis/permissions.cjs +6 -6
  172. package/dist/apis/permissions.js +1 -1
  173. package/dist/apis/pricing-tier.cjs +6 -6
  174. package/dist/apis/pricing-tier.js +1 -1
  175. package/dist/apis/pricing.cjs +6 -6
  176. package/dist/apis/pricing.js +1 -1
  177. package/dist/apis/purpose.cjs +6 -6
  178. package/dist/apis/purpose.js +1 -1
  179. package/dist/apis/query.cjs +6 -6
  180. package/dist/apis/query.js +1 -1
  181. package/dist/apis/sandbox.cjs +6 -6
  182. package/dist/apis/sandbox.js +1 -1
  183. package/dist/apis/sharing.cjs +6 -6
  184. package/dist/apis/sharing.js +1 -1
  185. package/dist/apis/submission.cjs +6 -6
  186. package/dist/apis/submission.js +1 -1
  187. package/dist/apis/target.cjs +6 -6
  188. package/dist/apis/target.js +1 -1
  189. package/dist/apis/targeting.cjs +6 -6
  190. package/dist/apis/targeting.js +1 -1
  191. package/dist/apis/template-variables.cjs +6 -6
  192. package/dist/apis/template-variables.js +1 -1
  193. package/dist/apis/user.cjs +6 -6
  194. package/dist/apis/user.js +1 -1
  195. package/dist/apis/validation-rules.cjs +6 -6
  196. package/dist/apis/validation-rules.js +1 -1
  197. package/dist/apis/webhooks.cjs +6 -6
  198. package/dist/apis/webhooks.js +1 -1
  199. package/dist/apis/workflow-definition.cjs +6 -6
  200. package/dist/apis/workflow-definition.js +1 -1
  201. package/dist/apis/workflow.cjs +6 -6
  202. package/dist/apis/workflow.js +1 -1
  203. package/dist/{chunk-DAFBUTK6.js → chunk-CQ3AKMIJ.js} +2 -2
  204. package/dist/{chunk-Z33PZNHV.cjs → chunk-YLJD7G7H.cjs} +2 -2
  205. package/dist/entity-H6ESUH3Y.js +7 -0
  206. package/dist/entity-ZVDKWQSF.cjs +7 -0
  207. package/dist/{entity.d-B43ezu-V.d.cts → entity.d-BHR9dEon.d.cts} +843 -165
  208. package/dist/{entity.d-B43ezu-V.d.ts → entity.d-BHR9dEon.d.ts} +843 -165
  209. package/dist/index.cjs +8 -8
  210. package/dist/index.d.cts +2 -2
  211. package/dist/index.d.ts +2 -2
  212. package/dist/index.js +1 -1
  213. package/dist/{kanban-PMG5TXE5.js → kanban-F22JXYCG.js} +1 -1
  214. package/dist/{kanban-E2UOBVBK.cjs → kanban-FSATKIGH.cjs} +1 -1
  215. package/dist/{kanban.d-B99GucT_.d.cts → kanban.d-BHnSRCYW.d.cts} +1 -1
  216. package/dist/{kanban.d-B99GucT_.d.ts → kanban.d-BHnSRCYW.d.ts} +1 -1
  217. package/docs/entity.md +202 -12
  218. package/docs/kanban.md +2 -2
  219. package/package.json +1 -1
  220. package/dist/entity-VDUN7SYC.cjs +0 -7
  221. package/dist/entity-WWM2Z7BU.js +0 -7
@@ -521,18 +521,35 @@ declare namespace Components {
521
521
  */
522
522
  edit_mode?: "direct" | "external" | "approval";
523
523
  /**
524
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
524
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
525
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
526
+ * they are ignored for `approval` mode, which resolves via explicit
527
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
528
+ *
525
529
  */
526
530
  edit_mode_config?: {
527
531
  match_strategy?: /**
528
- * Strategy for auto-clearing the changeset when an external update is received.
532
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
533
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
534
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
535
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
529
536
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
530
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
537
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
531
538
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
532
539
  *
533
540
  */
534
541
  MatchStrategy;
535
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
542
+ fuzzy_config?: /**
543
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
544
+ * Not used for `edit_mode: approval`.
545
+ *
546
+ * Type compatibility with attribute shape is enforced at schema save time:
547
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
548
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
549
+ * - relation attributes: `relation_set`
550
+ *
551
+ */
552
+ FuzzyConfig;
536
553
  };
537
554
  type: "address";
538
555
  default_address_fields?: /**
@@ -724,18 +741,35 @@ declare namespace Components {
724
741
  */
725
742
  edit_mode?: "direct" | "external" | "approval";
726
743
  /**
727
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
744
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
745
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
746
+ * they are ignored for `approval` mode, which resolves via explicit
747
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
748
+ *
728
749
  */
729
750
  edit_mode_config?: {
730
751
  match_strategy?: /**
731
- * Strategy for auto-clearing the changeset when an external update is received.
752
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
753
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
754
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
755
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
732
756
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
733
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
757
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
734
758
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
735
759
  *
736
760
  */
737
761
  MatchStrategy;
738
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
762
+ fuzzy_config?: /**
763
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
764
+ * Not used for `edit_mode: approval`.
765
+ *
766
+ * Type compatibility with attribute shape is enforced at schema save time:
767
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
768
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
769
+ * - relation attributes: `relation_set`
770
+ *
771
+ */
772
+ FuzzyConfig;
739
773
  };
740
774
  type: "relation_address";
741
775
  default_address_fields?: /**
@@ -944,18 +978,35 @@ declare namespace Components {
944
978
  */
945
979
  edit_mode?: "direct" | "external" | "approval";
946
980
  /**
947
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
981
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
982
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
983
+ * they are ignored for `approval` mode, which resolves via explicit
984
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
985
+ *
948
986
  */
949
987
  edit_mode_config?: {
950
988
  match_strategy?: /**
951
- * Strategy for auto-clearing the changeset when an external update is received.
989
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
990
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
991
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
992
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
952
993
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
953
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
994
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
954
995
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
955
996
  *
956
997
  */
957
998
  MatchStrategy;
958
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
999
+ fuzzy_config?: /**
1000
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
1001
+ * Not used for `edit_mode: approval`.
1002
+ *
1003
+ * Type compatibility with attribute shape is enforced at schema save time:
1004
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
1005
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
1006
+ * - relation attributes: `relation_set`
1007
+ *
1008
+ */
1009
+ FuzzyConfig;
959
1010
  };
960
1011
  type: "automation";
961
1012
  }
@@ -1179,18 +1230,35 @@ declare namespace Components {
1179
1230
  */
1180
1231
  edit_mode?: "direct" | "external" | "approval";
1181
1232
  /**
1182
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
1233
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
1234
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
1235
+ * they are ignored for `approval` mode, which resolves via explicit
1236
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
1237
+ *
1183
1238
  */
1184
1239
  edit_mode_config?: {
1185
1240
  match_strategy?: /**
1186
- * Strategy for auto-clearing the changeset when an external update is received.
1241
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
1242
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
1243
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
1244
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
1187
1245
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1188
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1246
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
1189
1247
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
1190
1248
  *
1191
1249
  */
1192
1250
  MatchStrategy;
1193
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
1251
+ fuzzy_config?: /**
1252
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
1253
+ * Not used for `edit_mode: approval`.
1254
+ *
1255
+ * Type compatibility with attribute shape is enforced at schema save time:
1256
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
1257
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
1258
+ * - relation attributes: `relation_set`
1259
+ *
1260
+ */
1261
+ FuzzyConfig;
1194
1262
  };
1195
1263
  }
1196
1264
  /**
@@ -1450,18 +1518,35 @@ declare namespace Components {
1450
1518
  */
1451
1519
  edit_mode?: "direct" | "external" | "approval";
1452
1520
  /**
1453
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
1521
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
1522
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
1523
+ * they are ignored for `approval` mode, which resolves via explicit
1524
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
1525
+ *
1454
1526
  */
1455
1527
  edit_mode_config?: {
1456
1528
  match_strategy?: /**
1457
- * Strategy for auto-clearing the changeset when an external update is received.
1529
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
1530
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
1531
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
1532
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
1458
1533
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1459
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1534
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
1460
1535
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
1461
1536
  *
1462
1537
  */
1463
1538
  MatchStrategy;
1464
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
1539
+ fuzzy_config?: /**
1540
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
1541
+ * Not used for `edit_mode: approval`.
1542
+ *
1543
+ * Type compatibility with attribute shape is enforced at schema save time:
1544
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
1545
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
1546
+ * - relation attributes: `relation_set`
1547
+ *
1548
+ */
1549
+ FuzzyConfig;
1465
1550
  };
1466
1551
  type: "boolean";
1467
1552
  display_type?: "switch" | "checkbox";
@@ -1484,17 +1569,19 @@ declare namespace Components {
1484
1569
  created_at: string; // date-time
1485
1570
  created_by?: /* Identifies the actor that created the changeset. */ ChangesetCreator;
1486
1571
  /**
1487
- * The edit mode that triggered this changeset
1572
+ * The edit mode that triggered this changeset.
1573
+ * - `external`: auto-cleared by a matching `?direct=true` write (see `match_strategy`).
1574
+ * - `approval`: resolved only via explicit `:apply` / `:dismiss` endpoints; never auto-clears.
1575
+ *
1488
1576
  */
1489
1577
  edit_mode: "external" | "approval";
1490
- match_strategy?: /**
1491
- * Strategy for auto-clearing the changeset when an external update is received.
1492
- * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1493
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1494
- * - `any`: Any update to the attribute clears the changeset, regardless of value.
1578
+ /**
1579
+ * Match strategy copied from the attribute's `edit_mode_config` at changeset
1580
+ * creation time. Only consulted when `edit_mode` is `external`; ignored for
1581
+ * `approval` (which never auto-clears).
1495
1582
  *
1496
1583
  */
1497
- MatchStrategy;
1584
+ match_strategy?: "exact" | "fuzzy" | "any";
1498
1585
  /**
1499
1586
  * Optional label indicating where the change originated (e.g. end_customer_portal, installer_portal, journey, automation)
1500
1587
  */
@@ -1738,18 +1825,35 @@ declare namespace Components {
1738
1825
  */
1739
1826
  edit_mode?: "direct" | "external" | "approval";
1740
1827
  /**
1741
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
1828
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
1829
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
1830
+ * they are ignored for `approval` mode, which resolves via explicit
1831
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
1832
+ *
1742
1833
  */
1743
1834
  edit_mode_config?: {
1744
1835
  match_strategy?: /**
1745
- * Strategy for auto-clearing the changeset when an external update is received.
1836
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
1837
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
1838
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
1839
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
1746
1840
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1747
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1841
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
1748
1842
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
1749
1843
  *
1750
1844
  */
1751
1845
  MatchStrategy;
1752
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
1846
+ fuzzy_config?: /**
1847
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
1848
+ * Not used for `edit_mode: approval`.
1849
+ *
1850
+ * Type compatibility with attribute shape is enforced at schema save time:
1851
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
1852
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
1853
+ * - relation attributes: `relation_set`
1854
+ *
1855
+ */
1856
+ FuzzyConfig;
1753
1857
  };
1754
1858
  type: "computed";
1755
1859
  computed?: boolean;
@@ -1924,18 +2028,35 @@ declare namespace Components {
1924
2028
  */
1925
2029
  edit_mode?: "direct" | "external" | "approval";
1926
2030
  /**
1927
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2031
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
2032
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
2033
+ * they are ignored for `approval` mode, which resolves via explicit
2034
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
2035
+ *
1928
2036
  */
1929
2037
  edit_mode_config?: {
1930
2038
  match_strategy?: /**
1931
- * Strategy for auto-clearing the changeset when an external update is received.
2039
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
2040
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
2041
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
2042
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
1932
2043
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1933
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2044
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
1934
2045
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
1935
2046
  *
1936
2047
  */
1937
2048
  MatchStrategy;
1938
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2049
+ fuzzy_config?: /**
2050
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
2051
+ * Not used for `edit_mode: approval`.
2052
+ *
2053
+ * Type compatibility with attribute shape is enforced at schema save time:
2054
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
2055
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
2056
+ * - relation attributes: `relation_set`
2057
+ *
2058
+ */
2059
+ FuzzyConfig;
1939
2060
  };
1940
2061
  type: "consent";
1941
2062
  topic: string;
@@ -2103,18 +2224,35 @@ declare namespace Components {
2103
2224
  */
2104
2225
  edit_mode?: "direct" | "external" | "approval";
2105
2226
  /**
2106
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2227
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
2228
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
2229
+ * they are ignored for `approval` mode, which resolves via explicit
2230
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
2231
+ *
2107
2232
  */
2108
2233
  edit_mode_config?: {
2109
2234
  match_strategy?: /**
2110
- * Strategy for auto-clearing the changeset when an external update is received.
2235
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
2236
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
2237
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
2238
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
2111
2239
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2112
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2240
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
2113
2241
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
2114
2242
  *
2115
2243
  */
2116
2244
  MatchStrategy;
2117
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2245
+ fuzzy_config?: /**
2246
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
2247
+ * Not used for `edit_mode: approval`.
2248
+ *
2249
+ * Type compatibility with attribute shape is enforced at schema save time:
2250
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
2251
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
2252
+ * - relation attributes: `relation_set`
2253
+ *
2254
+ */
2255
+ FuzzyConfig;
2118
2256
  };
2119
2257
  type: "country";
2120
2258
  }
@@ -2280,18 +2418,35 @@ declare namespace Components {
2280
2418
  */
2281
2419
  edit_mode?: "direct" | "external" | "approval";
2282
2420
  /**
2283
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2421
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
2422
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
2423
+ * they are ignored for `approval` mode, which resolves via explicit
2424
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
2425
+ *
2284
2426
  */
2285
2427
  edit_mode_config?: {
2286
2428
  match_strategy?: /**
2287
- * Strategy for auto-clearing the changeset when an external update is received.
2429
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
2430
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
2431
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
2432
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
2288
2433
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2289
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2434
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
2290
2435
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
2291
2436
  *
2292
2437
  */
2293
2438
  MatchStrategy;
2294
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2439
+ fuzzy_config?: /**
2440
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
2441
+ * Not used for `edit_mode: approval`.
2442
+ *
2443
+ * Type compatibility with attribute shape is enforced at schema save time:
2444
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
2445
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
2446
+ * - relation attributes: `relation_set`
2447
+ *
2448
+ */
2449
+ FuzzyConfig;
2295
2450
  };
2296
2451
  type: "currency";
2297
2452
  currency_selector_only?: boolean;
@@ -2467,18 +2622,35 @@ declare namespace Components {
2467
2622
  */
2468
2623
  edit_mode?: "direct" | "external" | "approval";
2469
2624
  /**
2470
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2625
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
2626
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
2627
+ * they are ignored for `approval` mode, which resolves via explicit
2628
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
2629
+ *
2471
2630
  */
2472
2631
  edit_mode_config?: {
2473
2632
  match_strategy?: /**
2474
- * Strategy for auto-clearing the changeset when an external update is received.
2633
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
2634
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
2635
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
2636
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
2475
2637
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2476
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2638
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
2477
2639
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
2478
2640
  *
2479
2641
  */
2480
2642
  MatchStrategy;
2481
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2643
+ fuzzy_config?: /**
2644
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
2645
+ * Not used for `edit_mode: approval`.
2646
+ *
2647
+ * Type compatibility with attribute shape is enforced at schema save time:
2648
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
2649
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
2650
+ * - relation attributes: `relation_set`
2651
+ *
2652
+ */
2653
+ FuzzyConfig;
2482
2654
  };
2483
2655
  type: "date" | "datetime";
2484
2656
  }
@@ -2519,18 +2691,36 @@ declare namespace Components {
2519
2691
  cluster?: string;
2520
2692
  }
2521
2693
  /**
2522
- * Configuration for non-direct edit modes on an entity attribute.
2694
+ * Configuration for `edit_mode: external` auto-clear matching.
2695
+ * Fields here (`match_strategy`, `fuzzy_config`) only take effect when
2696
+ * `edit_mode` is `external`. They are ignored for `edit_mode: approval`,
2697
+ * which never auto-clears and is resolved exclusively via the
2698
+ * `:apply` / `:dismiss` changeset endpoints.
2699
+ *
2523
2700
  */
2524
2701
  export interface EditModeConfig {
2525
2702
  match_strategy?: /**
2526
- * Strategy for auto-clearing the changeset when an external update is received.
2703
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
2704
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
2705
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
2706
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
2527
2707
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2528
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2708
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
2529
2709
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
2530
2710
  *
2531
2711
  */
2532
2712
  MatchStrategy;
2533
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2713
+ fuzzy_config?: /**
2714
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
2715
+ * Not used for `edit_mode: approval`.
2716
+ *
2717
+ * Type compatibility with attribute shape is enforced at schema save time:
2718
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
2719
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
2720
+ * - relation attributes: `relation_set`
2721
+ *
2722
+ */
2723
+ FuzzyConfig;
2534
2724
  }
2535
2725
  /**
2536
2726
  * Email address
@@ -2694,18 +2884,35 @@ declare namespace Components {
2694
2884
  */
2695
2885
  edit_mode?: "direct" | "external" | "approval";
2696
2886
  /**
2697
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2887
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
2888
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
2889
+ * they are ignored for `approval` mode, which resolves via explicit
2890
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
2891
+ *
2698
2892
  */
2699
2893
  edit_mode_config?: {
2700
2894
  match_strategy?: /**
2701
- * Strategy for auto-clearing the changeset when an external update is received.
2895
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
2896
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
2897
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
2898
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
2702
2899
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2703
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2900
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
2704
2901
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
2705
2902
  *
2706
2903
  */
2707
2904
  MatchStrategy;
2708
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2905
+ fuzzy_config?: /**
2906
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
2907
+ * Not used for `edit_mode: approval`.
2908
+ *
2909
+ * Type compatibility with attribute shape is enforced at schema save time:
2910
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
2911
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
2912
+ * - relation attributes: `relation_set`
2913
+ *
2914
+ */
2915
+ FuzzyConfig;
2709
2916
  };
2710
2917
  type: "email";
2711
2918
  }
@@ -5213,18 +5420,35 @@ declare namespace Components {
5213
5420
  */
5214
5421
  edit_mode?: "direct" | "external" | "approval";
5215
5422
  /**
5216
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
5423
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
5424
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
5425
+ * they are ignored for `approval` mode, which resolves via explicit
5426
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
5427
+ *
5217
5428
  */
5218
5429
  edit_mode_config?: {
5219
5430
  match_strategy?: /**
5220
- * Strategy for auto-clearing the changeset when an external update is received.
5431
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
5432
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
5433
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
5434
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
5221
5435
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
5222
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
5436
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
5223
5437
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
5224
5438
  *
5225
5439
  */
5226
5440
  MatchStrategy;
5227
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
5441
+ fuzzy_config?: /**
5442
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
5443
+ * Not used for `edit_mode: approval`.
5444
+ *
5445
+ * Type compatibility with attribute shape is enforced at schema save time:
5446
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
5447
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
5448
+ * - relation attributes: `relation_set`
5449
+ *
5450
+ */
5451
+ FuzzyConfig;
5228
5452
  };
5229
5453
  type: "image" | "file";
5230
5454
  multiple?: boolean;
@@ -5251,19 +5475,26 @@ declare namespace Components {
5251
5475
  file_size_bytes?: number;
5252
5476
  }
5253
5477
  /**
5254
- * Configuration for fuzzy match strategies on changeset auto-clearing.
5478
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
5479
+ * Not used for `edit_mode: approval`.
5480
+ *
5481
+ * Type compatibility with attribute shape is enforced at schema save time:
5482
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
5483
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
5484
+ * - relation attributes: `relation_set`
5485
+ *
5255
5486
  */
5256
5487
  export interface FuzzyConfig {
5257
5488
  /**
5258
5489
  * Which fuzzy algorithm to apply.
5259
5490
  */
5260
- type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "contains_entry" | "regex";
5491
+ type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "set_equivalent" | "entry_match" | "relation_set" | "regex";
5261
5492
  /**
5262
5493
  * For type=suffix: number of characters to compare from end of string.
5263
5494
  */
5264
5495
  suffix_length?: number;
5265
5496
  /**
5266
- * For type=ignore_fields: field names to exclude when comparing array entries.
5497
+ * For type=ignore_fields and type=set_equivalent: field names to exclude when comparing array entries. `_id` is always stripped by the platform regardless of this config.
5267
5498
  */
5268
5499
  fields_to_ignore?: string[];
5269
5500
  /**
@@ -5275,9 +5506,28 @@ declare namespace Components {
5275
5506
  */
5276
5507
  country_code?: string;
5277
5508
  /**
5278
- * For type=normalize_phone and type=contains_entry: attribute key(s) within array entries to compare on.
5509
+ * For type=normalize_phone: attribute key within array entries to compare on (e.g. 'phone_number').
5279
5510
  */
5280
5511
  match_on?: string;
5512
+ /**
5513
+ * For type=entry_match: business key(s) within each entry used to match proposed entries against incoming entries.
5514
+ */
5515
+ key?: /* For type=entry_match: business key(s) within each entry used to match proposed entries against incoming entries. */ string | string[];
5516
+ /**
5517
+ * For type=entry_match and type=set_equivalent: how strict the comparison is.
5518
+ * - `subset` (default for entry_match): every proposed entry must exist in incoming; extra incoming entries are allowed.
5519
+ * - `exact_set` (default for set_equivalent): the two sides must contain the same entries (order-insensitive, multiset semantics).
5520
+ *
5521
+ */
5522
+ mode?: "subset" | "exact_set";
5523
+ /**
5524
+ * For type=relation_set: when true, relation order is significant. Defaults to false (order-insensitive).
5525
+ */
5526
+ ordered?: boolean;
5527
+ /**
5528
+ * For type=relation_set: when true, each relation item's `_tags` must match on both sides (order-insensitive). Defaults to false — `_tags` are stripped before compare.
5529
+ */
5530
+ require_tags_match?: boolean;
5281
5531
  /**
5282
5532
  * For type=regex: regular expression pattern to test the incoming value against.
5283
5533
  */
@@ -6045,18 +6295,35 @@ declare namespace Components {
6045
6295
  */
6046
6296
  edit_mode?: "direct" | "external" | "approval";
6047
6297
  /**
6048
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6298
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
6299
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
6300
+ * they are ignored for `approval` mode, which resolves via explicit
6301
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
6302
+ *
6049
6303
  */
6050
6304
  edit_mode_config?: {
6051
6305
  match_strategy?: /**
6052
- * Strategy for auto-clearing the changeset when an external update is received.
6306
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
6307
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
6308
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
6309
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
6053
6310
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6054
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6311
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
6055
6312
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
6056
6313
  *
6057
6314
  */
6058
6315
  MatchStrategy;
6059
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6316
+ fuzzy_config?: /**
6317
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
6318
+ * Not used for `edit_mode: approval`.
6319
+ *
6320
+ * Type compatibility with attribute shape is enforced at schema save time:
6321
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
6322
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
6323
+ * - relation attributes: `relation_set`
6324
+ *
6325
+ */
6326
+ FuzzyConfig;
6060
6327
  };
6061
6328
  type: "internal";
6062
6329
  }
@@ -6222,18 +6489,35 @@ declare namespace Components {
6222
6489
  */
6223
6490
  edit_mode?: "direct" | "external" | "approval";
6224
6491
  /**
6225
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6492
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
6493
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
6494
+ * they are ignored for `approval` mode, which resolves via explicit
6495
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
6496
+ *
6226
6497
  */
6227
6498
  edit_mode_config?: {
6228
6499
  match_strategy?: /**
6229
- * Strategy for auto-clearing the changeset when an external update is received.
6500
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
6501
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
6502
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
6503
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
6230
6504
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6231
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6505
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
6232
6506
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
6233
6507
  *
6234
6508
  */
6235
6509
  MatchStrategy;
6236
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6510
+ fuzzy_config?: /**
6511
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
6512
+ * Not used for `edit_mode: approval`.
6513
+ *
6514
+ * Type compatibility with attribute shape is enforced at schema save time:
6515
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
6516
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
6517
+ * - relation attributes: `relation_set`
6518
+ *
6519
+ */
6520
+ FuzzyConfig;
6237
6521
  };
6238
6522
  type: "internal_user";
6239
6523
  }
@@ -6399,18 +6683,35 @@ declare namespace Components {
6399
6683
  */
6400
6684
  edit_mode?: "direct" | "external" | "approval";
6401
6685
  /**
6402
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6686
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
6687
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
6688
+ * they are ignored for `approval` mode, which resolves via explicit
6689
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
6690
+ *
6403
6691
  */
6404
6692
  edit_mode_config?: {
6405
6693
  match_strategy?: /**
6406
- * Strategy for auto-clearing the changeset when an external update is received.
6694
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
6695
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
6696
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
6697
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
6407
6698
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6408
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6699
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
6409
6700
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
6410
6701
  *
6411
6702
  */
6412
6703
  MatchStrategy;
6413
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6704
+ fuzzy_config?: /**
6705
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
6706
+ * Not used for `edit_mode: approval`.
6707
+ *
6708
+ * Type compatibility with attribute shape is enforced at schema save time:
6709
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
6710
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
6711
+ * - relation attributes: `relation_set`
6712
+ *
6713
+ */
6714
+ FuzzyConfig;
6414
6715
  };
6415
6716
  type: "invitation_email";
6416
6717
  }
@@ -6584,18 +6885,35 @@ declare namespace Components {
6584
6885
  */
6585
6886
  edit_mode?: "direct" | "external" | "approval";
6586
6887
  /**
6587
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6888
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
6889
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
6890
+ * they are ignored for `approval` mode, which resolves via explicit
6891
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
6892
+ *
6588
6893
  */
6589
6894
  edit_mode_config?: {
6590
6895
  match_strategy?: /**
6591
- * Strategy for auto-clearing the changeset when an external update is received.
6896
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
6897
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
6898
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
6899
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
6592
6900
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6593
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6901
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
6594
6902
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
6595
6903
  *
6596
6904
  */
6597
6905
  MatchStrategy;
6598
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6906
+ fuzzy_config?: /**
6907
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
6908
+ * Not used for `edit_mode: approval`.
6909
+ *
6910
+ * Type compatibility with attribute shape is enforced at schema save time:
6911
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
6912
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
6913
+ * - relation attributes: `relation_set`
6914
+ *
6915
+ */
6916
+ FuzzyConfig;
6599
6917
  };
6600
6918
  type: "link";
6601
6919
  }
@@ -6608,9 +6926,12 @@ declare namespace Components {
6608
6926
  results?: /* A saved entity view */ SavedViewItem[];
6609
6927
  }
6610
6928
  /**
6611
- * Strategy for auto-clearing the changeset when an external update is received.
6929
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
6930
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
6931
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
6932
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
6612
6933
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6613
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6934
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
6614
6935
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
6615
6936
  *
6616
6937
  */
@@ -6777,18 +7098,35 @@ declare namespace Components {
6777
7098
  */
6778
7099
  edit_mode?: "direct" | "external" | "approval";
6779
7100
  /**
6780
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7101
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
7102
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
7103
+ * they are ignored for `approval` mode, which resolves via explicit
7104
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
7105
+ *
6781
7106
  */
6782
7107
  edit_mode_config?: {
6783
7108
  match_strategy?: /**
6784
- * Strategy for auto-clearing the changeset when an external update is received.
7109
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
7110
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
7111
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
7112
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
6785
7113
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6786
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7114
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
6787
7115
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
6788
7116
  *
6789
7117
  */
6790
7118
  MatchStrategy;
6791
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7119
+ fuzzy_config?: /**
7120
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
7121
+ * Not used for `edit_mode: approval`.
7122
+ *
7123
+ * Type compatibility with attribute shape is enforced at schema save time:
7124
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
7125
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
7126
+ * - relation attributes: `relation_set`
7127
+ *
7128
+ */
7129
+ FuzzyConfig;
6792
7130
  };
6793
7131
  type: "message_email_address";
6794
7132
  address?: string;
@@ -6957,18 +7295,35 @@ declare namespace Components {
6957
7295
  */
6958
7296
  edit_mode?: "direct" | "external" | "approval";
6959
7297
  /**
6960
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7298
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
7299
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
7300
+ * they are ignored for `approval` mode, which resolves via explicit
7301
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
7302
+ *
6961
7303
  */
6962
7304
  edit_mode_config?: {
6963
7305
  match_strategy?: /**
6964
- * Strategy for auto-clearing the changeset when an external update is received.
7306
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
7307
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
7308
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
7309
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
6965
7310
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6966
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7311
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
6967
7312
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
6968
7313
  *
6969
7314
  */
6970
7315
  MatchStrategy;
6971
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7316
+ fuzzy_config?: /**
7317
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
7318
+ * Not used for `edit_mode: approval`.
7319
+ *
7320
+ * Type compatibility with attribute shape is enforced at schema save time:
7321
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
7322
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
7323
+ * - relation attributes: `relation_set`
7324
+ *
7325
+ */
7326
+ FuzzyConfig;
6972
7327
  };
6973
7328
  type: "multiselect" | "checkbox";
6974
7329
  /**
@@ -7241,18 +7596,35 @@ declare namespace Components {
7241
7596
  */
7242
7597
  edit_mode?: "direct" | "external" | "approval";
7243
7598
  /**
7244
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7599
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
7600
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
7601
+ * they are ignored for `approval` mode, which resolves via explicit
7602
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
7603
+ *
7245
7604
  */
7246
7605
  edit_mode_config?: {
7247
7606
  match_strategy?: /**
7248
- * Strategy for auto-clearing the changeset when an external update is received.
7607
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
7608
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
7609
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
7610
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
7249
7611
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7250
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7612
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
7251
7613
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
7252
7614
  *
7253
7615
  */
7254
7616
  MatchStrategy;
7255
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7617
+ fuzzy_config?: /**
7618
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
7619
+ * Not used for `edit_mode: approval`.
7620
+ *
7621
+ * Type compatibility with attribute shape is enforced at schema save time:
7622
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
7623
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
7624
+ * - relation attributes: `relation_set`
7625
+ *
7626
+ */
7627
+ FuzzyConfig;
7256
7628
  };
7257
7629
  type: "number";
7258
7630
  /**
@@ -7427,18 +7799,35 @@ declare namespace Components {
7427
7799
  */
7428
7800
  edit_mode?: "direct" | "external" | "approval";
7429
7801
  /**
7430
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7802
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
7803
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
7804
+ * they are ignored for `approval` mode, which resolves via explicit
7805
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
7806
+ *
7431
7807
  */
7432
7808
  edit_mode_config?: {
7433
7809
  match_strategy?: /**
7434
- * Strategy for auto-clearing the changeset when an external update is received.
7810
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
7811
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
7812
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
7813
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
7435
7814
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7436
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7815
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
7437
7816
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
7438
7817
  *
7439
7818
  */
7440
7819
  MatchStrategy;
7441
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7820
+ fuzzy_config?: /**
7821
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
7822
+ * Not used for `edit_mode: approval`.
7823
+ *
7824
+ * Type compatibility with attribute shape is enforced at schema save time:
7825
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
7826
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
7827
+ * - relation attributes: `relation_set`
7828
+ *
7829
+ */
7830
+ FuzzyConfig;
7442
7831
  };
7443
7832
  type: "ordered_list";
7444
7833
  }
@@ -7604,18 +7993,35 @@ declare namespace Components {
7604
7993
  */
7605
7994
  edit_mode?: "direct" | "external" | "approval";
7606
7995
  /**
7607
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7996
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
7997
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
7998
+ * they are ignored for `approval` mode, which resolves via explicit
7999
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
8000
+ *
7608
8001
  */
7609
8002
  edit_mode_config?: {
7610
8003
  match_strategy?: /**
7611
- * Strategy for auto-clearing the changeset when an external update is received.
8004
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
8005
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
8006
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
8007
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
7612
8008
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7613
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8009
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
7614
8010
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
7615
8011
  *
7616
8012
  */
7617
8013
  MatchStrategy;
7618
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8014
+ fuzzy_config?: /**
8015
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
8016
+ * Not used for `edit_mode: approval`.
8017
+ *
8018
+ * Type compatibility with attribute shape is enforced at schema save time:
8019
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
8020
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
8021
+ * - relation attributes: `relation_set`
8022
+ *
8023
+ */
8024
+ FuzzyConfig;
7619
8025
  };
7620
8026
  type: "partner_organisation";
7621
8027
  }
@@ -7781,18 +8187,35 @@ declare namespace Components {
7781
8187
  */
7782
8188
  edit_mode?: "direct" | "external" | "approval";
7783
8189
  /**
7784
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8190
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
8191
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
8192
+ * they are ignored for `approval` mode, which resolves via explicit
8193
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
8194
+ *
7785
8195
  */
7786
8196
  edit_mode_config?: {
7787
8197
  match_strategy?: /**
7788
- * Strategy for auto-clearing the changeset when an external update is received.
8198
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
8199
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
8200
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
8201
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
7789
8202
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7790
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8203
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
7791
8204
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
7792
8205
  *
7793
8206
  */
7794
8207
  MatchStrategy;
7795
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8208
+ fuzzy_config?: /**
8209
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
8210
+ * Not used for `edit_mode: approval`.
8211
+ *
8212
+ * Type compatibility with attribute shape is enforced at schema save time:
8213
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
8214
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
8215
+ * - relation attributes: `relation_set`
8216
+ *
8217
+ */
8218
+ FuzzyConfig;
7796
8219
  };
7797
8220
  type: "partner_status";
7798
8221
  }
@@ -7958,18 +8381,35 @@ declare namespace Components {
7958
8381
  */
7959
8382
  edit_mode?: "direct" | "external" | "approval";
7960
8383
  /**
7961
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8384
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
8385
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
8386
+ * they are ignored for `approval` mode, which resolves via explicit
8387
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
8388
+ *
7962
8389
  */
7963
8390
  edit_mode_config?: {
7964
8391
  match_strategy?: /**
7965
- * Strategy for auto-clearing the changeset when an external update is received.
8392
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
8393
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
8394
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
8395
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
7966
8396
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7967
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8397
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
7968
8398
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
7969
8399
  *
7970
8400
  */
7971
8401
  MatchStrategy;
7972
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8402
+ fuzzy_config?: /**
8403
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
8404
+ * Not used for `edit_mode: approval`.
8405
+ *
8406
+ * Type compatibility with attribute shape is enforced at schema save time:
8407
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
8408
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
8409
+ * - relation attributes: `relation_set`
8410
+ *
8411
+ */
8412
+ FuzzyConfig;
7973
8413
  };
7974
8414
  type: "payment";
7975
8415
  }
@@ -8135,18 +8575,35 @@ declare namespace Components {
8135
8575
  */
8136
8576
  edit_mode?: "direct" | "external" | "approval";
8137
8577
  /**
8138
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8578
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
8579
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
8580
+ * they are ignored for `approval` mode, which resolves via explicit
8581
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
8582
+ *
8139
8583
  */
8140
8584
  edit_mode_config?: {
8141
8585
  match_strategy?: /**
8142
- * Strategy for auto-clearing the changeset when an external update is received.
8586
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
8587
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
8588
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
8589
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
8143
8590
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8144
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8591
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
8145
8592
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
8146
8593
  *
8147
8594
  */
8148
8595
  MatchStrategy;
8149
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8596
+ fuzzy_config?: /**
8597
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
8598
+ * Not used for `edit_mode: approval`.
8599
+ *
8600
+ * Type compatibility with attribute shape is enforced at schema save time:
8601
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
8602
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
8603
+ * - relation attributes: `relation_set`
8604
+ *
8605
+ */
8606
+ FuzzyConfig;
8150
8607
  };
8151
8608
  type: "relation_payment_method";
8152
8609
  }
@@ -8312,18 +8769,35 @@ declare namespace Components {
8312
8769
  */
8313
8770
  edit_mode?: "direct" | "external" | "approval";
8314
8771
  /**
8315
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8772
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
8773
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
8774
+ * they are ignored for `approval` mode, which resolves via explicit
8775
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
8776
+ *
8316
8777
  */
8317
8778
  edit_mode_config?: {
8318
8779
  match_strategy?: /**
8319
- * Strategy for auto-clearing the changeset when an external update is received.
8780
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
8781
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
8782
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
8783
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
8320
8784
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8321
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8785
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
8322
8786
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
8323
8787
  *
8324
8788
  */
8325
8789
  MatchStrategy;
8326
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8790
+ fuzzy_config?: /**
8791
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
8792
+ * Not used for `edit_mode: approval`.
8793
+ *
8794
+ * Type compatibility with attribute shape is enforced at schema save time:
8795
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
8796
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
8797
+ * - relation attributes: `relation_set`
8798
+ *
8799
+ */
8800
+ FuzzyConfig;
8327
8801
  };
8328
8802
  type: "phone";
8329
8803
  }
@@ -8489,18 +8963,35 @@ declare namespace Components {
8489
8963
  */
8490
8964
  edit_mode?: "direct" | "external" | "approval";
8491
8965
  /**
8492
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8966
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
8967
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
8968
+ * they are ignored for `approval` mode, which resolves via explicit
8969
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
8970
+ *
8493
8971
  */
8494
8972
  edit_mode_config?: {
8495
8973
  match_strategy?: /**
8496
- * Strategy for auto-clearing the changeset when an external update is received.
8974
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
8975
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
8976
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
8977
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
8497
8978
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8498
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8979
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
8499
8980
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
8500
8981
  *
8501
8982
  */
8502
8983
  MatchStrategy;
8503
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8984
+ fuzzy_config?: /**
8985
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
8986
+ * Not used for `edit_mode: approval`.
8987
+ *
8988
+ * Type compatibility with attribute shape is enforced at schema save time:
8989
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
8990
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
8991
+ * - relation attributes: `relation_set`
8992
+ *
8993
+ */
8994
+ FuzzyConfig;
8504
8995
  };
8505
8996
  type: "portal_access";
8506
8997
  }
@@ -8666,18 +9157,35 @@ declare namespace Components {
8666
9157
  */
8667
9158
  edit_mode?: "direct" | "external" | "approval";
8668
9159
  /**
8669
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
9160
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
9161
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
9162
+ * they are ignored for `approval` mode, which resolves via explicit
9163
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
9164
+ *
8670
9165
  */
8671
9166
  edit_mode_config?: {
8672
9167
  match_strategy?: /**
8673
- * Strategy for auto-clearing the changeset when an external update is received.
9168
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
9169
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
9170
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
9171
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
8674
9172
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8675
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
9173
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
8676
9174
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
8677
9175
  *
8678
9176
  */
8679
9177
  MatchStrategy;
8680
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
9178
+ fuzzy_config?: /**
9179
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
9180
+ * Not used for `edit_mode: approval`.
9181
+ *
9182
+ * Type compatibility with attribute shape is enforced at schema save time:
9183
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
9184
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
9185
+ * - relation attributes: `relation_set`
9186
+ *
9187
+ */
9188
+ FuzzyConfig;
8681
9189
  };
8682
9190
  type: "price_component";
8683
9191
  }
@@ -8843,18 +9351,35 @@ declare namespace Components {
8843
9351
  */
8844
9352
  edit_mode?: "direct" | "external" | "approval";
8845
9353
  /**
8846
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
9354
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
9355
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
9356
+ * they are ignored for `approval` mode, which resolves via explicit
9357
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
9358
+ *
8847
9359
  */
8848
9360
  edit_mode_config?: {
8849
9361
  match_strategy?: /**
8850
- * Strategy for auto-clearing the changeset when an external update is received.
9362
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
9363
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
9364
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
9365
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
8851
9366
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8852
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
9367
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
8853
9368
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
8854
9369
  *
8855
9370
  */
8856
9371
  MatchStrategy;
8857
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
9372
+ fuzzy_config?: /**
9373
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
9374
+ * Not used for `edit_mode: approval`.
9375
+ *
9376
+ * Type compatibility with attribute shape is enforced at schema save time:
9377
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
9378
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
9379
+ * - relation attributes: `relation_set`
9380
+ *
9381
+ */
9382
+ FuzzyConfig;
8858
9383
  };
8859
9384
  type: "purpose";
8860
9385
  }
@@ -9035,18 +9560,35 @@ declare namespace Components {
9035
9560
  */
9036
9561
  edit_mode?: "direct" | "external" | "approval" | "list-view";
9037
9562
  /**
9038
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
9563
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
9564
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
9565
+ * they are ignored for `approval` mode, which resolves via explicit
9566
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
9567
+ *
9039
9568
  */
9040
9569
  edit_mode_config?: {
9041
9570
  match_strategy?: /**
9042
- * Strategy for auto-clearing the changeset when an external update is received.
9571
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
9572
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
9573
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
9574
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
9043
9575
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
9044
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
9576
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
9045
9577
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
9046
9578
  *
9047
9579
  */
9048
9580
  MatchStrategy;
9049
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
9581
+ fuzzy_config?: /**
9582
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
9583
+ * Not used for `edit_mode: approval`.
9584
+ *
9585
+ * Type compatibility with attribute shape is enforced at schema save time:
9586
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
9587
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
9588
+ * - relation attributes: `relation_set`
9589
+ *
9590
+ */
9591
+ FuzzyConfig;
9050
9592
  };
9051
9593
  type: "relation";
9052
9594
  relation_type?: "has_many" | "has_one";
@@ -9434,18 +9976,35 @@ declare namespace Components {
9434
9976
  */
9435
9977
  edit_mode?: "direct" | "external" | "approval";
9436
9978
  /**
9437
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
9979
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
9980
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
9981
+ * they are ignored for `approval` mode, which resolves via explicit
9982
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
9983
+ *
9438
9984
  */
9439
9985
  edit_mode_config?: {
9440
9986
  match_strategy?: /**
9441
- * Strategy for auto-clearing the changeset when an external update is received.
9987
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
9988
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
9989
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
9990
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
9442
9991
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
9443
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
9992
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
9444
9993
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
9445
9994
  *
9446
9995
  */
9447
9996
  MatchStrategy;
9448
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
9997
+ fuzzy_config?: /**
9998
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
9999
+ * Not used for `edit_mode: approval`.
10000
+ *
10001
+ * Type compatibility with attribute shape is enforced at schema save time:
10002
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
10003
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
10004
+ * - relation attributes: `relation_set`
10005
+ *
10006
+ */
10007
+ FuzzyConfig;
9449
10008
  };
9450
10009
  }
9451
10010
  /**
@@ -10015,18 +10574,35 @@ declare namespace Components {
10015
10574
  */
10016
10575
  edit_mode?: "direct" | "external" | "approval";
10017
10576
  /**
10018
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10577
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
10578
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
10579
+ * they are ignored for `approval` mode, which resolves via explicit
10580
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
10581
+ *
10019
10582
  */
10020
10583
  edit_mode_config?: {
10021
10584
  match_strategy?: /**
10022
- * Strategy for auto-clearing the changeset when an external update is received.
10585
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
10586
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
10587
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
10588
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
10023
10589
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10024
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10590
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
10025
10591
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
10026
10592
  *
10027
10593
  */
10028
10594
  MatchStrategy;
10029
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
10595
+ fuzzy_config?: /**
10596
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
10597
+ * Not used for `edit_mode: approval`.
10598
+ *
10599
+ * Type compatibility with attribute shape is enforced at schema save time:
10600
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
10601
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
10602
+ * - relation attributes: `relation_set`
10603
+ *
10604
+ */
10605
+ FuzzyConfig;
10030
10606
  };
10031
10607
  type: "select" | "radio";
10032
10608
  options?: ({
@@ -10200,18 +10776,35 @@ declare namespace Components {
10200
10776
  */
10201
10777
  edit_mode?: "direct" | "external" | "approval";
10202
10778
  /**
10203
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10779
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
10780
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
10781
+ * they are ignored for `approval` mode, which resolves via explicit
10782
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
10783
+ *
10204
10784
  */
10205
10785
  edit_mode_config?: {
10206
10786
  match_strategy?: /**
10207
- * Strategy for auto-clearing the changeset when an external update is received.
10787
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
10788
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
10789
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
10790
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
10208
10791
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10209
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10792
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
10210
10793
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
10211
10794
  *
10212
10795
  */
10213
10796
  MatchStrategy;
10214
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
10797
+ fuzzy_config?: /**
10798
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
10799
+ * Not used for `edit_mode: approval`.
10800
+ *
10801
+ * Type compatibility with attribute shape is enforced at schema save time:
10802
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
10803
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
10804
+ * - relation attributes: `relation_set`
10805
+ *
10806
+ */
10807
+ FuzzyConfig;
10215
10808
  };
10216
10809
  type: "sequence";
10217
10810
  /**
@@ -10394,18 +10987,35 @@ declare namespace Components {
10394
10987
  */
10395
10988
  edit_mode?: "direct" | "external" | "approval";
10396
10989
  /**
10397
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10990
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
10991
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
10992
+ * they are ignored for `approval` mode, which resolves via explicit
10993
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
10994
+ *
10398
10995
  */
10399
10996
  edit_mode_config?: {
10400
10997
  match_strategy?: /**
10401
- * Strategy for auto-clearing the changeset when an external update is received.
10998
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
10999
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
11000
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
11001
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
10402
11002
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10403
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
11003
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
10404
11004
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
10405
11005
  *
10406
11006
  */
10407
11007
  MatchStrategy;
10408
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
11008
+ fuzzy_config?: /**
11009
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
11010
+ * Not used for `edit_mode: approval`.
11011
+ *
11012
+ * Type compatibility with attribute shape is enforced at schema save time:
11013
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
11014
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
11015
+ * - relation attributes: `relation_set`
11016
+ *
11017
+ */
11018
+ FuzzyConfig;
10409
11019
  };
10410
11020
  type: "status";
10411
11021
  options?: ((string | null) | {
@@ -10667,18 +11277,35 @@ declare namespace Components {
10667
11277
  */
10668
11278
  edit_mode?: "direct" | "external" | "approval";
10669
11279
  /**
10670
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
11280
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
11281
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
11282
+ * they are ignored for `approval` mode, which resolves via explicit
11283
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
11284
+ *
10671
11285
  */
10672
11286
  edit_mode_config?: {
10673
11287
  match_strategy?: /**
10674
- * Strategy for auto-clearing the changeset when an external update is received.
11288
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
11289
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
11290
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
11291
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
10675
11292
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10676
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
11293
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
10677
11294
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
10678
11295
  *
10679
11296
  */
10680
11297
  MatchStrategy;
10681
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
11298
+ fuzzy_config?: /**
11299
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
11300
+ * Not used for `edit_mode: approval`.
11301
+ *
11302
+ * Type compatibility with attribute shape is enforced at schema save time:
11303
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
11304
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
11305
+ * - relation attributes: `relation_set`
11306
+ *
11307
+ */
11308
+ FuzzyConfig;
10682
11309
  };
10683
11310
  type: "table";
10684
11311
  /**
@@ -10900,18 +11527,35 @@ declare namespace Components {
10900
11527
  */
10901
11528
  edit_mode?: "direct" | "external" | "approval";
10902
11529
  /**
10903
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
11530
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
11531
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
11532
+ * they are ignored for `approval` mode, which resolves via explicit
11533
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
11534
+ *
10904
11535
  */
10905
11536
  edit_mode_config?: {
10906
11537
  match_strategy?: /**
10907
- * Strategy for auto-clearing the changeset when an external update is received.
11538
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
11539
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
11540
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
11541
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
10908
11542
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10909
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
11543
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
10910
11544
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
10911
11545
  *
10912
11546
  */
10913
11547
  MatchStrategy;
10914
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
11548
+ fuzzy_config?: /**
11549
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
11550
+ * Not used for `edit_mode: approval`.
11551
+ *
11552
+ * Type compatibility with attribute shape is enforced at schema save time:
11553
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
11554
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
11555
+ * - relation attributes: `relation_set`
11556
+ *
11557
+ */
11558
+ FuzzyConfig;
10915
11559
  };
10916
11560
  type: "tags";
10917
11561
  options?: string[];
@@ -11279,18 +11923,35 @@ declare namespace Components {
11279
11923
  */
11280
11924
  edit_mode?: "direct" | "external" | "approval";
11281
11925
  /**
11282
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
11926
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
11927
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
11928
+ * they are ignored for `approval` mode, which resolves via explicit
11929
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
11930
+ *
11283
11931
  */
11284
11932
  edit_mode_config?: {
11285
11933
  match_strategy?: /**
11286
- * Strategy for auto-clearing the changeset when an external update is received.
11934
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
11935
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
11936
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
11937
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
11287
11938
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
11288
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
11939
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
11289
11940
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
11290
11941
  *
11291
11942
  */
11292
11943
  MatchStrategy;
11293
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
11944
+ fuzzy_config?: /**
11945
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
11946
+ * Not used for `edit_mode: approval`.
11947
+ *
11948
+ * Type compatibility with attribute shape is enforced at schema save time:
11949
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
11950
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
11951
+ * - relation attributes: `relation_set`
11952
+ *
11953
+ */
11954
+ FuzzyConfig;
11294
11955
  };
11295
11956
  type: "string";
11296
11957
  multiline?: boolean;
@@ -11469,18 +12130,35 @@ declare namespace Components {
11469
12130
  */
11470
12131
  edit_mode?: "direct" | "external" | "approval";
11471
12132
  /**
11472
- * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
12133
+ * Configuration for auto-clear matching on `edit_mode: external` attributes.
12134
+ * `match_strategy` and `fuzzy_config` are only consulted for `external` mode —
12135
+ * they are ignored for `approval` mode, which resolves via explicit
12136
+ * `:apply` / `:dismiss` endpoints and never auto-clears.
12137
+ *
11473
12138
  */
11474
12139
  edit_mode_config?: {
11475
12140
  match_strategy?: /**
11476
- * Strategy for auto-clearing the changeset when an external update is received.
12141
+ * Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
12142
+ * when a direct write (`?direct=true`) arrives — typically an ERP inbound sync.
12143
+ * Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
12144
+ * exclusively via the `:apply` / `:dismiss` changeset endpoints.
11477
12145
  * - `exact`: The inbound value must exactly match the proposed value (deep equality).
11478
- * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
12146
+ * - `fuzzy`: The inbound value is compared using the configured `fuzzy_config` algorithm.
11479
12147
  * - `any`: Any update to the attribute clears the changeset, regardless of value.
11480
12148
  *
11481
12149
  */
11482
12150
  MatchStrategy;
11483
- fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
12151
+ fuzzy_config?: /**
12152
+ * Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
12153
+ * Not used for `edit_mode: approval`.
12154
+ *
12155
+ * Type compatibility with attribute shape is enforced at schema save time:
12156
+ * - scalar string attributes: `suffix`, `digits_only`, `regex`
12157
+ * - repeatable attributes: `set_equivalent`, `entry_match`, `ignore_fields`, `normalize_phone`
12158
+ * - relation attributes: `relation_set`
12159
+ *
12160
+ */
12161
+ FuzzyConfig;
11484
12162
  };
11485
12163
  type: "relation_user";
11486
12164
  multiple?: boolean;