@epilot/sdk 2.4.0 → 2.4.1

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 (216) 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 +1505 -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.js +1 -1
  157. package/dist/apis/message.cjs +6 -6
  158. package/dist/apis/message.js +1 -1
  159. package/dist/apis/metering.cjs +6 -6
  160. package/dist/apis/metering.js +1 -1
  161. package/dist/apis/notes.cjs +6 -6
  162. package/dist/apis/notes.js +1 -1
  163. package/dist/apis/notification.cjs +6 -6
  164. package/dist/apis/notification.js +1 -1
  165. package/dist/apis/organization.cjs +6 -6
  166. package/dist/apis/organization.js +1 -1
  167. package/dist/apis/partner-directory.cjs +6 -6
  168. package/dist/apis/partner-directory.js +1 -1
  169. package/dist/apis/permissions.cjs +6 -6
  170. package/dist/apis/permissions.js +1 -1
  171. package/dist/apis/pricing-tier.cjs +6 -6
  172. package/dist/apis/pricing-tier.js +1 -1
  173. package/dist/apis/pricing.cjs +6 -6
  174. package/dist/apis/pricing.js +1 -1
  175. package/dist/apis/purpose.cjs +6 -6
  176. package/dist/apis/purpose.js +1 -1
  177. package/dist/apis/query.cjs +6 -6
  178. package/dist/apis/query.js +1 -1
  179. package/dist/apis/sandbox.cjs +6 -6
  180. package/dist/apis/sandbox.js +1 -1
  181. package/dist/apis/sharing.cjs +6 -6
  182. package/dist/apis/sharing.js +1 -1
  183. package/dist/apis/submission.cjs +6 -6
  184. package/dist/apis/submission.js +1 -1
  185. package/dist/apis/target.cjs +6 -6
  186. package/dist/apis/target.js +1 -1
  187. package/dist/apis/targeting.cjs +6 -6
  188. package/dist/apis/targeting.js +1 -1
  189. package/dist/apis/template-variables.cjs +6 -6
  190. package/dist/apis/template-variables.js +1 -1
  191. package/dist/apis/user.cjs +6 -6
  192. package/dist/apis/user.js +1 -1
  193. package/dist/apis/validation-rules.cjs +6 -6
  194. package/dist/apis/validation-rules.js +1 -1
  195. package/dist/apis/webhooks.cjs +6 -6
  196. package/dist/apis/webhooks.js +1 -1
  197. package/dist/apis/workflow-definition.cjs +6 -6
  198. package/dist/apis/workflow-definition.js +1 -1
  199. package/dist/apis/workflow.cjs +6 -6
  200. package/dist/apis/workflow.js +1 -1
  201. package/dist/bin/cli.js +1 -1
  202. package/dist/{chunk-DAFBUTK6.js → chunk-O2AUZKUD.js} +1 -1
  203. package/dist/{chunk-Z33PZNHV.cjs → chunk-OK74PNHY.cjs} +1 -1
  204. package/dist/entity-H6ESUH3Y.js +7 -0
  205. package/dist/entity-ZVDKWQSF.cjs +7 -0
  206. package/dist/{entity.d-B43ezu-V.d.cts → entity.d-BHR9dEon.d.cts} +843 -165
  207. package/dist/{entity.d-B43ezu-V.d.ts → entity.d-BHR9dEon.d.ts} +843 -165
  208. package/dist/index.cjs +8 -8
  209. package/dist/index.d.cts +1 -1
  210. package/dist/index.d.ts +1 -1
  211. package/dist/index.js +1 -1
  212. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  213. package/docs/entity.md +202 -12
  214. package/package.json +1 -1
  215. package/dist/entity-VDUN7SYC.cjs +0 -7
  216. package/dist/entity-WWM2Z7BU.js +0 -7
package/docs/entity.md CHANGED
@@ -4504,6 +4504,10 @@ const { data } = await client.createSchemaAttribute(
4504
4504
  regex_flags: 'string',
4505
4505
  country_code: 'string',
4506
4506
  match_on: 'string',
4507
+ key: 'string',
4508
+ mode: 'subset',
4509
+ ordered: true,
4510
+ require_tags_match: true,
4507
4511
  pattern: 'string'
4508
4512
  }
4509
4513
  },
@@ -4573,6 +4577,10 @@ const { data } = await client.createSchemaAttribute(
4573
4577
  "regex_flags": "string",
4574
4578
  "country_code": "string",
4575
4579
  "match_on": "string",
4580
+ "key": "string",
4581
+ "mode": "subset",
4582
+ "ordered": true,
4583
+ "require_tags_match": true,
4576
4584
  "pattern": "string"
4577
4585
  }
4578
4586
  },
@@ -4657,6 +4665,10 @@ const { data } = await client.getSchemaAttribute({
4657
4665
  "regex_flags": "string",
4658
4666
  "country_code": "string",
4659
4667
  "match_on": "string",
4668
+ "key": "string",
4669
+ "mode": "subset",
4670
+ "ordered": true,
4671
+ "require_tags_match": true,
4660
4672
  "pattern": "string"
4661
4673
  }
4662
4674
  },
@@ -4736,6 +4748,10 @@ const { data } = await client.putSchemaAttribute(
4736
4748
  regex_flags: 'string',
4737
4749
  country_code: 'string',
4738
4750
  match_on: 'string',
4751
+ key: 'string',
4752
+ mode: 'subset',
4753
+ ordered: true,
4754
+ require_tags_match: true,
4739
4755
  pattern: 'string'
4740
4756
  }
4741
4757
  },
@@ -4805,6 +4821,10 @@ const { data } = await client.putSchemaAttribute(
4805
4821
  "regex_flags": "string",
4806
4822
  "country_code": "string",
4807
4823
  "match_on": "string",
4824
+ "key": "string",
4825
+ "mode": "subset",
4826
+ "ordered": true,
4827
+ "require_tags_match": true,
4808
4828
  "pattern": "string"
4809
4829
  }
4810
4830
  },
@@ -4889,6 +4909,10 @@ const { data } = await client.deleteSchemaAttribute({
4889
4909
  "regex_flags": "string",
4890
4910
  "country_code": "string",
4891
4911
  "match_on": "string",
4912
+ "key": "string",
4913
+ "mode": "subset",
4914
+ "ordered": true,
4915
+ "require_tags_match": true,
4892
4916
  "pattern": "string"
4893
4917
  }
4894
4918
  },
@@ -6532,6 +6556,10 @@ type Attribute = {
6532
6556
  regex_flags?: { ... }
6533
6557
  country_code?: { ... }
6534
6558
  match_on?: { ... }
6559
+ key?: { ... }
6560
+ mode?: { ... }
6561
+ ordered?: { ... }
6562
+ require_tags_match?: { ... }
6535
6563
  pattern?: { ... }
6536
6564
  }
6537
6565
  }
@@ -6578,10 +6606,6 @@ type Attribute = {
6578
6606
  explicit_searchable?: boolean
6579
6607
  exclude_from_search?: boolean
6580
6608
  repeatable?: boolean
6581
- has_primary?: boolean
6582
- edit_mode?: "direct" | "external" | "approval"
6583
- edit_mode_config?: {
6584
- match_strategy?: "exact" | "fuzzy" | "any"
6585
6609
  // ...
6586
6610
  }
6587
6611
  ```
@@ -6648,6 +6672,10 @@ type BaseAttribute = {
6648
6672
  regex_flags?: { ... }
6649
6673
  country_code?: { ... }
6650
6674
  match_on?: { ... }
6675
+ key?: { ... }
6676
+ mode?: { ... }
6677
+ ordered?: { ... }
6678
+ require_tags_match?: { ... }
6651
6679
  pattern?: { ... }
6652
6680
  }
6653
6681
  }
@@ -6707,6 +6735,10 @@ type TextAttribute = {
6707
6735
  regex_flags?: { ... }
6708
6736
  country_code?: { ... }
6709
6737
  match_on?: { ... }
6738
+ key?: { ... }
6739
+ mode?: { ... }
6740
+ ordered?: { ... }
6741
+ require_tags_match?: { ... }
6710
6742
  pattern?: { ... }
6711
6743
  }
6712
6744
  }
@@ -6770,6 +6802,10 @@ type LinkAttribute = {
6770
6802
  regex_flags?: { ... }
6771
6803
  country_code?: { ... }
6772
6804
  match_on?: { ... }
6805
+ key?: { ... }
6806
+ mode?: { ... }
6807
+ ordered?: { ... }
6808
+ require_tags_match?: { ... }
6773
6809
  pattern?: { ... }
6774
6810
  }
6775
6811
  }
@@ -6830,6 +6866,10 @@ type InternalAttribute = {
6830
6866
  regex_flags?: { ... }
6831
6867
  country_code?: { ... }
6832
6868
  match_on?: { ... }
6869
+ key?: { ... }
6870
+ mode?: { ... }
6871
+ ordered?: { ... }
6872
+ require_tags_match?: { ... }
6833
6873
  pattern?: { ... }
6834
6874
  }
6835
6875
  }
@@ -6890,6 +6930,10 @@ type BooleanAttribute = {
6890
6930
  regex_flags?: { ... }
6891
6931
  country_code?: { ... }
6892
6932
  match_on?: { ... }
6933
+ key?: { ... }
6934
+ mode?: { ... }
6935
+ ordered?: { ... }
6936
+ require_tags_match?: { ... }
6893
6937
  pattern?: { ... }
6894
6938
  }
6895
6939
  }
@@ -6951,6 +6995,10 @@ type DateAttribute = {
6951
6995
  regex_flags?: { ... }
6952
6996
  country_code?: { ... }
6953
6997
  match_on?: { ... }
6998
+ key?: { ... }
6999
+ mode?: { ... }
7000
+ ordered?: { ... }
7001
+ require_tags_match?: { ... }
6954
7002
  pattern?: { ... }
6955
7003
  }
6956
7004
  }
@@ -7011,6 +7059,10 @@ type CountryAttribute = {
7011
7059
  regex_flags?: { ... }
7012
7060
  country_code?: { ... }
7013
7061
  match_on?: { ... }
7062
+ key?: { ... }
7063
+ mode?: { ... }
7064
+ ordered?: { ... }
7065
+ require_tags_match?: { ... }
7014
7066
  pattern?: { ... }
7015
7067
  }
7016
7068
  }
@@ -7071,6 +7123,10 @@ type SelectAttribute = {
7071
7123
  regex_flags?: { ... }
7072
7124
  country_code?: { ... }
7073
7125
  match_on?: { ... }
7126
+ key?: { ... }
7127
+ mode?: { ... }
7128
+ ordered?: { ... }
7129
+ require_tags_match?: { ... }
7074
7130
  pattern?: { ... }
7075
7131
  }
7076
7132
  }
@@ -7136,6 +7192,10 @@ type MultiSelectAttribute = {
7136
7192
  regex_flags?: { ... }
7137
7193
  country_code?: { ... }
7138
7194
  match_on?: { ... }
7195
+ key?: { ... }
7196
+ mode?: { ... }
7197
+ ordered?: { ... }
7198
+ require_tags_match?: { ... }
7139
7199
  pattern?: { ... }
7140
7200
  }
7141
7201
  }
@@ -7203,6 +7263,10 @@ type StatusAttribute = {
7203
7263
  regex_flags?: { ... }
7204
7264
  country_code?: { ... }
7205
7265
  match_on?: { ... }
7266
+ key?: { ... }
7267
+ mode?: { ... }
7268
+ ordered?: { ... }
7269
+ require_tags_match?: { ... }
7206
7270
  pattern?: { ... }
7207
7271
  }
7208
7272
  }
@@ -7267,6 +7331,10 @@ type SequenceAttribute = {
7267
7331
  regex_flags?: { ... }
7268
7332
  country_code?: { ... }
7269
7333
  match_on?: { ... }
7334
+ key?: { ... }
7335
+ mode?: { ... }
7336
+ ordered?: { ... }
7337
+ require_tags_match?: { ... }
7270
7338
  pattern?: { ... }
7271
7339
  }
7272
7340
  }
@@ -7329,6 +7397,10 @@ type FileAttribute = {
7329
7397
  regex_flags?: { ... }
7330
7398
  country_code?: { ... }
7331
7399
  match_on?: { ... }
7400
+ key?: { ... }
7401
+ mode?: { ... }
7402
+ ordered?: { ... }
7403
+ require_tags_match?: { ... }
7332
7404
  pattern?: { ... }
7333
7405
  }
7334
7406
  }
@@ -7395,6 +7467,10 @@ type CurrencyAttribute = {
7395
7467
  regex_flags?: { ... }
7396
7468
  country_code?: { ... }
7397
7469
  match_on?: { ... }
7470
+ key?: { ... }
7471
+ mode?: { ... }
7472
+ ordered?: { ... }
7473
+ require_tags_match?: { ... }
7398
7474
  pattern?: { ... }
7399
7475
  }
7400
7476
  }
@@ -7486,6 +7562,10 @@ type RelationAttribute = {
7486
7562
  regex_flags?: { ... }
7487
7563
  country_code?: { ... }
7488
7564
  match_on?: { ... }
7565
+ key?: { ... }
7566
+ mode?: { ... }
7567
+ ordered?: { ... }
7568
+ require_tags_match?: { ... }
7489
7569
  pattern?: { ... }
7490
7570
  }
7491
7571
  }
@@ -7574,6 +7654,10 @@ type UserRelationAttribute = {
7574
7654
  regex_flags?: { ... }
7575
7655
  country_code?: { ... }
7576
7656
  match_on?: { ... }
7657
+ key?: { ... }
7658
+ mode?: { ... }
7659
+ ordered?: { ... }
7660
+ require_tags_match?: { ... }
7577
7661
  pattern?: { ... }
7578
7662
  }
7579
7663
  }
@@ -7635,6 +7719,10 @@ type PartnerOrganisationAttribute = {
7635
7719
  regex_flags?: { ... }
7636
7720
  country_code?: { ... }
7637
7721
  match_on?: { ... }
7722
+ key?: { ... }
7723
+ mode?: { ... }
7724
+ ordered?: { ... }
7725
+ require_tags_match?: { ... }
7638
7726
  pattern?: { ... }
7639
7727
  }
7640
7728
  }
@@ -7695,6 +7783,10 @@ type PortalAccessAttribute = {
7695
7783
  regex_flags?: { ... }
7696
7784
  country_code?: { ... }
7697
7785
  match_on?: { ... }
7786
+ key?: { ... }
7787
+ mode?: { ... }
7788
+ ordered?: { ... }
7789
+ require_tags_match?: { ... }
7698
7790
  pattern?: { ... }
7699
7791
  }
7700
7792
  }
@@ -7780,6 +7872,10 @@ type AddressAttribute = {
7780
7872
  regex_flags?: { ... }
7781
7873
  country_code?: { ... }
7782
7874
  match_on?: { ... }
7875
+ key?: { ... }
7876
+ mode?: { ... }
7877
+ ordered?: { ... }
7878
+ require_tags_match?: { ... }
7783
7879
  pattern?: { ... }
7784
7880
  }
7785
7881
  }
@@ -7841,6 +7937,10 @@ type AddressRelationAttribute = {
7841
7937
  regex_flags?: { ... }
7842
7938
  country_code?: { ... }
7843
7939
  match_on?: { ... }
7940
+ key?: { ... }
7941
+ mode?: { ... }
7942
+ ordered?: { ... }
7943
+ require_tags_match?: { ... }
7844
7944
  pattern?: { ... }
7845
7945
  }
7846
7946
  }
@@ -7902,6 +8002,10 @@ type PaymentMethodRelationAttribute = {
7902
8002
  regex_flags?: { ... }
7903
8003
  country_code?: { ... }
7904
8004
  match_on?: { ... }
8005
+ key?: { ... }
8006
+ mode?: { ... }
8007
+ ordered?: { ... }
8008
+ require_tags_match?: { ... }
7905
8009
  pattern?: { ... }
7906
8010
  }
7907
8011
  }
@@ -7962,6 +8066,10 @@ type InvitationEmailAttribute = {
7962
8066
  regex_flags?: { ... }
7963
8067
  country_code?: { ... }
7964
8068
  match_on?: { ... }
8069
+ key?: { ... }
8070
+ mode?: { ... }
8071
+ ordered?: { ... }
8072
+ require_tags_match?: { ... }
7965
8073
  pattern?: { ... }
7966
8074
  }
7967
8075
  }
@@ -8022,6 +8130,10 @@ type AutomationAttribute = {
8022
8130
  regex_flags?: { ... }
8023
8131
  country_code?: { ... }
8024
8132
  match_on?: { ... }
8133
+ key?: { ... }
8134
+ mode?: { ... }
8135
+ ordered?: { ... }
8136
+ require_tags_match?: { ... }
8025
8137
  pattern?: { ... }
8026
8138
  }
8027
8139
  }
@@ -8082,6 +8194,10 @@ type InternalUserAttribute = {
8082
8194
  regex_flags?: { ... }
8083
8195
  country_code?: { ... }
8084
8196
  match_on?: { ... }
8197
+ key?: { ... }
8198
+ mode?: { ... }
8199
+ ordered?: { ... }
8200
+ require_tags_match?: { ... }
8085
8201
  pattern?: { ... }
8086
8202
  }
8087
8203
  }
@@ -8142,6 +8258,10 @@ type PurposeAttribute = {
8142
8258
  regex_flags?: { ... }
8143
8259
  country_code?: { ... }
8144
8260
  match_on?: { ... }
8261
+ key?: { ... }
8262
+ mode?: { ... }
8263
+ ordered?: { ... }
8264
+ require_tags_match?: { ... }
8145
8265
  pattern?: { ... }
8146
8266
  }
8147
8267
  }
@@ -8202,6 +8322,10 @@ type RepeatableAttribute = {
8202
8322
  regex_flags?: { ... }
8203
8323
  country_code?: { ... }
8204
8324
  match_on?: { ... }
8325
+ key?: { ... }
8326
+ mode?: { ... }
8327
+ ordered?: { ... }
8328
+ require_tags_match?: { ... }
8205
8329
  pattern?: { ... }
8206
8330
  }
8207
8331
  }
@@ -8261,6 +8385,10 @@ type TagsAttribute = {
8261
8385
  regex_flags?: { ... }
8262
8386
  country_code?: { ... }
8263
8387
  match_on?: { ... }
8388
+ key?: { ... }
8389
+ mode?: { ... }
8390
+ ordered?: { ... }
8391
+ require_tags_match?: { ... }
8264
8392
  pattern?: { ... }
8265
8393
  }
8266
8394
  }
@@ -8323,6 +8451,10 @@ type MessageEmailAddressAttribute = {
8323
8451
  regex_flags?: { ... }
8324
8452
  country_code?: { ... }
8325
8453
  match_on?: { ... }
8454
+ key?: { ... }
8455
+ mode?: { ... }
8456
+ ordered?: { ... }
8457
+ require_tags_match?: { ... }
8326
8458
  pattern?: { ... }
8327
8459
  }
8328
8460
  }
@@ -8386,6 +8518,10 @@ type NumberAttribute = {
8386
8518
  regex_flags?: { ... }
8387
8519
  country_code?: { ... }
8388
8520
  match_on?: { ... }
8521
+ key?: { ... }
8522
+ mode?: { ... }
8523
+ ordered?: { ... }
8524
+ require_tags_match?: { ... }
8389
8525
  pattern?: { ... }
8390
8526
  }
8391
8527
  }
@@ -8449,6 +8585,10 @@ type TableAttribute = {
8449
8585
  regex_flags?: { ... }
8450
8586
  country_code?: { ... }
8451
8587
  match_on?: { ... }
8588
+ key?: { ... }
8589
+ mode?: { ... }
8590
+ ordered?: { ... }
8591
+ require_tags_match?: { ... }
8452
8592
  pattern?: { ... }
8453
8593
  }
8454
8594
  }
@@ -8524,6 +8664,10 @@ type ConsentAttribute = {
8524
8664
  regex_flags?: { ... }
8525
8665
  country_code?: { ... }
8526
8666
  match_on?: { ... }
8667
+ key?: { ... }
8668
+ mode?: { ... }
8669
+ ordered?: { ... }
8670
+ require_tags_match?: { ... }
8527
8671
  pattern?: { ... }
8528
8672
  }
8529
8673
  }
@@ -8586,6 +8730,10 @@ type OrderedListAttribute = {
8586
8730
  regex_flags?: { ... }
8587
8731
  country_code?: { ... }
8588
8732
  match_on?: { ... }
8733
+ key?: { ... }
8734
+ mode?: { ... }
8735
+ ordered?: { ... }
8736
+ require_tags_match?: { ... }
8589
8737
  pattern?: { ... }
8590
8738
  }
8591
8739
  }
@@ -8646,6 +8794,10 @@ type EmailAttribute = {
8646
8794
  regex_flags?: { ... }
8647
8795
  country_code?: { ... }
8648
8796
  match_on?: { ... }
8797
+ key?: { ... }
8798
+ mode?: { ... }
8799
+ ordered?: { ... }
8800
+ require_tags_match?: { ... }
8649
8801
  pattern?: { ... }
8650
8802
  }
8651
8803
  }
@@ -8706,6 +8858,10 @@ type PhoneAttribute = {
8706
8858
  regex_flags?: { ... }
8707
8859
  country_code?: { ... }
8708
8860
  match_on?: { ... }
8861
+ key?: { ... }
8862
+ mode?: { ... }
8863
+ ordered?: { ... }
8864
+ require_tags_match?: { ... }
8709
8865
  pattern?: { ... }
8710
8866
  }
8711
8867
  }
@@ -8766,6 +8922,10 @@ type PaymentAttribute = {
8766
8922
  regex_flags?: { ... }
8767
8923
  country_code?: { ... }
8768
8924
  match_on?: { ... }
8925
+ key?: { ... }
8926
+ mode?: { ... }
8927
+ ordered?: { ... }
8928
+ require_tags_match?: { ... }
8769
8929
  pattern?: { ... }
8770
8930
  }
8771
8931
  }
@@ -8826,6 +8986,10 @@ type PriceComponentAttribute = {
8826
8986
  regex_flags?: { ... }
8827
8987
  country_code?: { ... }
8828
8988
  match_on?: { ... }
8989
+ key?: { ... }
8990
+ mode?: { ... }
8991
+ ordered?: { ... }
8992
+ require_tags_match?: { ... }
8829
8993
  pattern?: { ... }
8830
8994
  }
8831
8995
  }
@@ -8886,6 +9050,10 @@ type ComputedAttribute = {
8886
9050
  regex_flags?: { ... }
8887
9051
  country_code?: { ... }
8888
9052
  match_on?: { ... }
9053
+ key?: { ... }
9054
+ mode?: { ... }
9055
+ ordered?: { ... }
9056
+ require_tags_match?: { ... }
8889
9057
  pattern?: { ... }
8890
9058
  }
8891
9059
  }
@@ -8949,6 +9117,10 @@ type PartnerStatusAttribute = {
8949
9117
  regex_flags?: { ... }
8950
9118
  country_code?: { ... }
8951
9119
  match_on?: { ... }
9120
+ key?: { ... }
9121
+ mode?: { ... }
9122
+ ordered?: { ... }
9123
+ require_tags_match?: { ... }
8952
9124
  pattern?: { ... }
8953
9125
  }
8954
9126
  }
@@ -10826,18 +10998,26 @@ type ChangesetMap = Record<string, {
10826
10998
 
10827
10999
  ### `EditModeConfig`
10828
11000
 
10829
- Configuration for non-direct edit modes on an entity attribute.
11001
+ Configuration for `edit_mode: external` auto-clear matching.
11002
+ Fields here (`match_strategy`, `fuzzy_config`) only take effect when
11003
+ `edit_mode` is `external`. They are ignored for `edit_mode: approval`,
11004
+ which never auto-clears and is resolved exclusively via the
11005
+ `:apply` / `:dismiss` changeset endpoin
10830
11006
 
10831
11007
  ```ts
10832
11008
  type EditModeConfig = {
10833
11009
  match_strategy?: "exact" | "fuzzy" | "any"
10834
11010
  fuzzy_config?: {
10835
- type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "contains_entry" | "regex"
11011
+ type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "set_equivalent" | "entry_match" | "relation_set" | "regex"
10836
11012
  suffix_length?: number
10837
11013
  fields_to_ignore?: string[]
10838
11014
  regex_flags?: string
10839
11015
  country_code?: string
10840
11016
  match_on?: string
11017
+ key?: string | string[]
11018
+ mode?: "subset" | "exact_set"
11019
+ ordered?: boolean
11020
+ require_tags_match?: boolean
10841
11021
  pattern?: string
10842
11022
  }
10843
11023
  }
@@ -10845,26 +11025,36 @@ type EditModeConfig = {
10845
11025
 
10846
11026
  ### `FuzzyConfig`
10847
11027
 
10848
- Configuration for fuzzy match strategies on changeset auto-clearing.
11028
+ Configuration for fuzzy auto-clear matching on `edit_mode: external` attributes.
11029
+ Not used for `edit_mode: approval`.
11030
+
11031
+ Type compatibility with attribute shape is enforced at schema save time:
11032
+ - scalar string attributes: `suffix`, `digits_only`, `regex`
11033
+ - repeatable attributes: `set_equivalent`, `entr
10849
11034
 
10850
11035
  ```ts
10851
11036
  type FuzzyConfig = {
10852
- type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "contains_entry" | "regex"
11037
+ type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "set_equivalent" | "entry_match" | "relation_set" | "regex"
10853
11038
  suffix_length?: number
10854
11039
  fields_to_ignore?: string[]
10855
11040
  regex_flags?: string
10856
11041
  country_code?: string
10857
11042
  match_on?: string
11043
+ key?: string | string[]
11044
+ mode?: "subset" | "exact_set"
11045
+ ordered?: boolean
11046
+ require_tags_match?: boolean
10858
11047
  pattern?: string
10859
11048
  }
10860
11049
  ```
10861
11050
 
10862
11051
  ### `MatchStrategy`
10863
11052
 
10864
- Strategy for auto-clearing the changeset when an external update is received.
10865
- - `exact`: The inbound value must exactly match the proposed value (deep equality).
10866
- - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10867
- - `any`: Any update to the attribute clears the changeset,
11053
+ Strategy for auto-clearing a changeset on an `edit_mode: external` attribute
11054
+ when a direct write (`?direct=true`) arrives typically an ERP inbound sync.
11055
+ Ignored for `edit_mode: approval`, which does not auto-clear and is resolved
11056
+ exclusively via the `:apply` / `:dismiss` changeset endpoints.
11057
+ - `ex
10868
11058
 
10869
11059
  ```ts
10870
11060
  type MatchStrategy = "exact" | "fuzzy" | "any"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",