@epilot/sdk 2.20.10 → 2.20.11

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 (228) hide show
  1. package/dist/apis/access-token.cjs +6 -6
  2. package/dist/apis/access-token.js +1 -1
  3. package/dist/apis/address-suggestions.cjs +6 -6
  4. package/dist/apis/address-suggestions.js +1 -1
  5. package/dist/apis/address.cjs +6 -6
  6. package/dist/apis/address.js +1 -1
  7. package/dist/apis/ai-agents.cjs +6 -6
  8. package/dist/apis/ai-agents.js +1 -1
  9. package/dist/apis/app.cjs +6 -6
  10. package/dist/apis/app.js +1 -1
  11. package/dist/apis/audit-logs.cjs +6 -6
  12. package/dist/apis/audit-logs.js +1 -1
  13. package/dist/apis/automation.cjs +6 -6
  14. package/dist/apis/automation.js +1 -1
  15. package/dist/apis/billing.cjs +6 -6
  16. package/dist/apis/billing.js +1 -1
  17. package/dist/apis/blueprint-manifest.cjs +6 -6
  18. package/dist/apis/blueprint-manifest.js +1 -1
  19. package/dist/apis/calendar.cjs +6 -6
  20. package/dist/apis/calendar.js +1 -1
  21. package/dist/apis/configuration-hub.cjs +6 -6
  22. package/dist/apis/configuration-hub.js +1 -1
  23. package/dist/apis/consent.cjs +6 -6
  24. package/dist/apis/consent.js +1 -1
  25. package/dist/apis/customer-portal.cjs +6 -6
  26. package/dist/apis/customer-portal.js +1 -1
  27. package/dist/apis/dashboard.cjs +6 -6
  28. package/dist/apis/dashboard.js +1 -1
  29. package/dist/apis/data-governance.cjs +6 -6
  30. package/dist/apis/data-governance.js +1 -1
  31. package/dist/apis/deduplication.cjs +6 -6
  32. package/dist/apis/deduplication.js +1 -1
  33. package/dist/apis/design.cjs +6 -6
  34. package/dist/apis/design.js +1 -1
  35. package/dist/apis/document.cjs +6 -6
  36. package/dist/apis/document.js +1 -1
  37. package/dist/apis/email-settings.cjs +6 -6
  38. package/dist/apis/email-settings.js +1 -1
  39. package/dist/apis/email-template.cjs +6 -6
  40. package/dist/apis/email-template.js +1 -1
  41. package/dist/apis/entity-mapping.cjs +6 -6
  42. package/dist/apis/entity-mapping.js +1 -1
  43. package/dist/apis/entity.cjs +6 -6
  44. package/dist/apis/entity.js +1 -1
  45. package/dist/apis/environments.cjs +6 -6
  46. package/dist/apis/environments.js +1 -1
  47. package/dist/apis/event-catalog.cjs +8 -8
  48. package/dist/apis/event-catalog.d.cts +2 -2
  49. package/dist/apis/event-catalog.d.ts +2 -2
  50. package/dist/apis/event-catalog.js +2 -2
  51. package/dist/apis/file.cjs +6 -6
  52. package/dist/apis/file.js +1 -1
  53. package/dist/apis/iban.cjs +6 -6
  54. package/dist/apis/iban.js +1 -1
  55. package/dist/apis/integration-toolkit.cjs +6 -6
  56. package/dist/apis/integration-toolkit.js +1 -1
  57. package/dist/apis/journey.cjs +6 -6
  58. package/dist/apis/journey.js +1 -1
  59. package/dist/apis/kanban.cjs +6 -6
  60. package/dist/apis/kanban.js +1 -1
  61. package/dist/apis/message.cjs +6 -6
  62. package/dist/apis/message.js +1 -1
  63. package/dist/apis/metering.cjs +6 -6
  64. package/dist/apis/metering.js +1 -1
  65. package/dist/apis/notes.cjs +6 -6
  66. package/dist/apis/notes.js +1 -1
  67. package/dist/apis/notification.cjs +6 -6
  68. package/dist/apis/notification.js +1 -1
  69. package/dist/apis/organization.cjs +6 -6
  70. package/dist/apis/organization.js +1 -1
  71. package/dist/apis/partner-directory.cjs +6 -6
  72. package/dist/apis/partner-directory.js +1 -1
  73. package/dist/apis/permissions.cjs +6 -6
  74. package/dist/apis/permissions.js +1 -1
  75. package/dist/apis/pricing-tier.cjs +6 -6
  76. package/dist/apis/pricing-tier.js +1 -1
  77. package/dist/apis/pricing.cjs +6 -6
  78. package/dist/apis/pricing.js +1 -1
  79. package/dist/apis/purpose.cjs +6 -6
  80. package/dist/apis/purpose.js +1 -1
  81. package/dist/apis/query.cjs +6 -6
  82. package/dist/apis/query.js +1 -1
  83. package/dist/apis/sandbox.cjs +6 -6
  84. package/dist/apis/sandbox.js +1 -1
  85. package/dist/apis/sharing.cjs +6 -6
  86. package/dist/apis/sharing.js +1 -1
  87. package/dist/apis/snapshot.cjs +6 -6
  88. package/dist/apis/snapshot.js +1 -1
  89. package/dist/apis/submission.cjs +6 -6
  90. package/dist/apis/submission.js +1 -1
  91. package/dist/apis/target.cjs +6 -6
  92. package/dist/apis/target.js +1 -1
  93. package/dist/apis/targeting.cjs +6 -6
  94. package/dist/apis/targeting.js +1 -1
  95. package/dist/apis/template-variables.cjs +6 -6
  96. package/dist/apis/template-variables.js +1 -1
  97. package/dist/apis/user.cjs +6 -6
  98. package/dist/apis/user.js +1 -1
  99. package/dist/apis/validation-rules.cjs +6 -6
  100. package/dist/apis/validation-rules.js +1 -1
  101. package/dist/apis/webhooks.cjs +6 -6
  102. package/dist/apis/webhooks.js +1 -1
  103. package/dist/apis/workflow-definition.cjs +6 -6
  104. package/dist/apis/workflow-definition.js +1 -1
  105. package/dist/apis/workflow.cjs +6 -6
  106. package/dist/apis/workflow.js +1 -1
  107. package/dist/chunk-2Q6CNXJ2.cjs +14 -0
  108. package/dist/chunk-LTCN52JS.js +14 -0
  109. package/dist/{chunk-VAGYR2R6.cjs → chunk-QZH7QNNP.cjs} +2 -2
  110. package/dist/{chunk-A7UIYIBZ.js → chunk-SMERBU2T.js} +2 -2
  111. package/dist/event-catalog-S4OYTDIB.js +7 -0
  112. package/dist/event-catalog-Z6BO4L2G.cjs +7 -0
  113. package/dist/{event-catalog-runtime-AME244T7.cjs → event-catalog-runtime-XWSYNUGQ.cjs} +2 -2
  114. package/dist/{event-catalog-runtime-Q3MKEDG4.js → event-catalog-runtime-Z6OMHQBD.js} +1 -1
  115. package/dist/{event-catalog.d-Bd2wmtlZ.d.cts → event-catalog.d-CCE1qmBN.d.cts} +105 -22
  116. package/dist/{event-catalog.d-Bd2wmtlZ.d.ts → event-catalog.d-CCE1qmBN.d.ts} +105 -22
  117. package/dist/index.cjs +10 -10
  118. package/dist/index.d.cts +1 -1
  119. package/dist/index.d.ts +1 -1
  120. package/dist/index.js +2 -2
  121. package/docs/event-catalog.md +155 -5
  122. package/package.json +1 -1
  123. package/definitions/access-token-runtime.json +0 -1
  124. package/definitions/access-token.json +0 -835
  125. package/definitions/address-runtime.json +0 -1
  126. package/definitions/address-suggestions-runtime.json +0 -1
  127. package/definitions/address-suggestions.json +0 -582
  128. package/definitions/address.json +0 -578
  129. package/definitions/ai-agents-runtime.json +0 -1
  130. package/definitions/ai-agents.json +0 -2863
  131. package/definitions/app-runtime.json +0 -1
  132. package/definitions/app.json +0 -5993
  133. package/definitions/audit-logs-runtime.json +0 -1
  134. package/definitions/audit-logs.json +0 -305
  135. package/definitions/automation-runtime.json +0 -1
  136. package/definitions/automation.json +0 -5889
  137. package/definitions/billing-runtime.json +0 -1
  138. package/definitions/billing.json +0 -2394
  139. package/definitions/blueprint-manifest-runtime.json +0 -1
  140. package/definitions/blueprint-manifest.json +0 -7817
  141. package/definitions/calendar-runtime.json +0 -1
  142. package/definitions/calendar.json +0 -2904
  143. package/definitions/configuration-hub-runtime.json +0 -1
  144. package/definitions/configuration-hub.json +0 -2250
  145. package/definitions/consent-runtime.json +0 -1
  146. package/definitions/consent.json +0 -344
  147. package/definitions/customer-portal-runtime.json +0 -1
  148. package/definitions/customer-portal.json +0 -19945
  149. package/definitions/dashboard-runtime.json +0 -1
  150. package/definitions/dashboard.json +0 -1355
  151. package/definitions/data-governance-runtime.json +0 -1
  152. package/definitions/data-governance.json +0 -1126
  153. package/definitions/deduplication-runtime.json +0 -1
  154. package/definitions/deduplication.json +0 -782
  155. package/definitions/design-runtime.json +0 -1
  156. package/definitions/design.json +0 -1827
  157. package/definitions/document-runtime.json +0 -1
  158. package/definitions/document.json +0 -758
  159. package/definitions/email-settings-runtime.json +0 -1
  160. package/definitions/email-settings.json +0 -3736
  161. package/definitions/email-template-runtime.json +0 -1
  162. package/definitions/email-template.json +0 -1441
  163. package/definitions/entity-mapping-runtime.json +0 -1
  164. package/definitions/entity-mapping.json +0 -1829
  165. package/definitions/entity-runtime.json +0 -1
  166. package/definitions/entity.json +0 -11546
  167. package/definitions/environments-runtime.json +0 -1
  168. package/definitions/environments.json +0 -703
  169. package/definitions/event-catalog-runtime.json +0 -1
  170. package/definitions/event-catalog.json +0 -1943
  171. package/definitions/file-runtime.json +0 -1
  172. package/definitions/file.json +0 -4297
  173. package/definitions/iban-runtime.json +0 -1
  174. package/definitions/iban.json +0 -132
  175. package/definitions/integration-toolkit-runtime.json +0 -1
  176. package/definitions/integration-toolkit.json +0 -12966
  177. package/definitions/journey-runtime.json +0 -1
  178. package/definitions/journey.json +0 -3561
  179. package/definitions/kanban-runtime.json +0 -1
  180. package/definitions/kanban.json +0 -1506
  181. package/definitions/message-runtime.json +0 -1
  182. package/definitions/message.json +0 -3667
  183. package/definitions/metering-runtime.json +0 -1
  184. package/definitions/metering.json +0 -3132
  185. package/definitions/notes-runtime.json +0 -1
  186. package/definitions/notes.json +0 -1698
  187. package/definitions/notification-runtime.json +0 -1
  188. package/definitions/notification.json +0 -1439
  189. package/definitions/organization-runtime.json +0 -1
  190. package/definitions/organization.json +0 -1192
  191. package/definitions/partner-directory-runtime.json +0 -1
  192. package/definitions/partner-directory.json +0 -2284
  193. package/definitions/permissions-runtime.json +0 -1
  194. package/definitions/permissions.json +0 -1598
  195. package/definitions/pricing-runtime.json +0 -1
  196. package/definitions/pricing-tier-runtime.json +0 -1
  197. package/definitions/pricing-tier.json +0 -105
  198. package/definitions/pricing.json +0 -14301
  199. package/definitions/purpose-runtime.json +0 -1
  200. package/definitions/purpose.json +0 -524
  201. package/definitions/query-runtime.json +0 -1
  202. package/definitions/query.json +0 -3178
  203. package/definitions/sandbox-runtime.json +0 -1
  204. package/definitions/sandbox.json +0 -453
  205. package/definitions/sharing-runtime.json +0 -1
  206. package/definitions/sharing.json +0 -956
  207. package/definitions/snapshot-runtime.json +0 -1
  208. package/definitions/snapshot.json +0 -1103
  209. package/definitions/submission-runtime.json +0 -1
  210. package/definitions/submission.json +0 -313
  211. package/definitions/targeting-runtime.json +0 -1
  212. package/definitions/targeting.json +0 -2285
  213. package/definitions/template-variables-runtime.json +0 -1
  214. package/definitions/template-variables.json +0 -1416
  215. package/definitions/user-runtime.json +0 -1
  216. package/definitions/user.json +0 -3051
  217. package/definitions/validation-rules-runtime.json +0 -1
  218. package/definitions/validation-rules.json +0 -2642
  219. package/definitions/webhooks-runtime.json +0 -1
  220. package/definitions/webhooks.json +0 -1875
  221. package/definitions/workflow-definition-runtime.json +0 -1
  222. package/definitions/workflow-definition.json +0 -3592
  223. package/definitions/workflow-runtime.json +0 -1
  224. package/definitions/workflow.json +0 -4669
  225. package/dist/chunk-EEKJGTAS.js +0 -14
  226. package/dist/chunk-MPZICOVZ.cjs +0 -14
  227. package/dist/event-catalog-4FVQZ65M.cjs +0 -7
  228. package/dist/event-catalog-PEOHXUJO.js +0 -7
@@ -67,7 +67,7 @@ declare namespace Components {
67
67
  required?: boolean;
68
68
  }
69
69
  /**
70
- * Complete immutable custom-event v1.0 definition. Publication is a separate conditional action.
70
+ * Complete immutable custom-event v1.0 definition projected from a required entity graph. Publication is a separate conditional action.
71
71
  */
72
72
  export interface CreateCustomEventPayload {
73
73
  event_name: string; // ^[A-Z][A-Za-z0-9]{2,79}$
@@ -75,9 +75,9 @@ declare namespace Components {
75
75
  event_description?: string;
76
76
  event_tags?: string[];
77
77
  schema_fields: {
78
- [name: string]: /* Custom v1 fields support JSON Schema values and context entities; attachment semantics are built-in-only. */ CustomSchemaField;
78
+ [name: string]: /* Custom v1 fields support graph-projected JSON Schema values and context entities; attachment semantics are built-in-only. */ CustomSchemaField;
79
79
  };
80
- entity_graph?: /* Entity graph definition for resolving related entities */ GraphDefinition;
80
+ entity_graph: /* Entity graph definition for resolving related entities */ GraphDefinition;
81
81
  entity_operation?: /**
82
82
  * Configuration for triggering an event based on entity operations.
83
83
  *
@@ -89,23 +89,35 @@ declare namespace Components {
89
89
  */
90
90
  EntityOperationTrigger;
91
91
  automation_trigger?: boolean;
92
+ /**
93
+ * Allows API-source triggering independently of Automation (which also uses HTTP). Must be false for Automation-only events.
94
+ */
95
+ api_trigger?: boolean;
96
+ /**
97
+ * Restricts triggering to Automation with durable delivery and strict readiness. Requires automation_trigger true, api_trigger false, and no entity_operation.
98
+ */
99
+ automation_trigger_only?: boolean;
100
+ /**
101
+ * Required cardinality-one graph seed for an Automation-only event. Inherited restrictions cannot be changed.
102
+ */
103
+ automation_trigger_seed_node?: string;
92
104
  mapping?: /* Guided mappings use schema_fields graph_source expressions; raw mode evaluates one JSONata object transform. */ EventMapping;
93
- lineage?: /* Optional catalog lineage to a separately named base event. It does not replace the base event. */ CustomEventLineage;
105
+ lineage?: /* Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event. */ CustomEventLineage;
94
106
  example?: {
95
107
  [name: string]: any;
96
108
  };
97
109
  }
98
110
  /**
99
- * Optional catalog lineage to a separately named base event. It does not replace the base event.
111
+ * Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event.
100
112
  */
101
113
  export interface CustomEventLineage {
102
114
  base_event_name: string;
103
115
  base_event_version: string;
104
116
  }
105
117
  /**
106
- * Custom v1 fields support JSON Schema values and context entities; attachment semantics are built-in-only.
118
+ * Custom v1 fields support graph-projected JSON Schema values and context entities; attachment semantics are built-in-only.
107
119
  */
108
- export type CustomSchemaField = /* Custom v1 fields support JSON Schema values and context entities; attachment semantics are built-in-only. */ /* A primitive JSON Schema field definition */ PrimitiveField | ContextEntity;
120
+ export type CustomSchemaField = /* Custom v1 fields support graph-projected JSON Schema values and context entities; attachment semantics are built-in-only. */ /* A primitive JSON Schema field definition */ PrimitiveField | ContextEntity;
109
121
  /**
110
122
  * Configuration for triggering an event based on entity operations.
111
123
  *
@@ -141,6 +153,8 @@ declare namespace Components {
141
153
  * - On createEntity: attribute must be defined in the entity payload
142
154
  * - On updateEntity: attribute must be in diff.added, diff.updated, or diff.deleted
143
155
  * If not specified, all changes to matching entities will trigger the event.
156
+ * Derived built-in triggers retain every inherited attribute; additions are OR alternatives.
157
+ * An inherited unfiltered trigger cannot be narrowed by adding attribute filters.
144
158
  *
145
159
  * example:
146
160
  * [
@@ -154,7 +168,10 @@ declare namespace Components {
154
168
  * Optional list of purpose names to filter by.
155
169
  * The entity must have at least one matching purpose in its _purpose array.
156
170
  * Purpose names are matched against the taxonomy classification names (e.g., "Kündigung", "Umzug/Auszug").
157
- * If not specified, the event triggers regardless of entity purpose.
171
+ * For custom events, names are allowed only when inherited unchanged from the actual
172
+ * pinned built-in lineage version. New purposes must use stable purpose_filters IDs.
173
+ * Names and stable IDs are OR alternatives; operation/schema/attribute conditions still apply.
174
+ * If neither purpose nor purpose_filters is specified, the event triggers regardless of purpose.
158
175
  *
159
176
  * example:
160
177
  * [
@@ -164,7 +181,7 @@ declare namespace Components {
164
181
  */
165
182
  purpose?: string[];
166
183
  /**
167
- * Stable purpose IDs plus immutable display-name snapshots for custom events.
184
+ * Stable purpose IDs plus immutable display-name snapshots for custom events. Additive to inherited purpose names (OR). Inherited unfiltered triggers cannot be narrowed.
168
185
  */
169
186
  purpose_filters?: PurposeFilterSnapshot[];
170
187
  }
@@ -392,6 +409,8 @@ declare namespace Components {
392
409
  * - On createEntity: attribute must be defined in the entity payload
393
410
  * - On updateEntity: attribute must be in diff.added, diff.updated, or diff.deleted
394
411
  * If not specified, all changes to matching entities will trigger the event.
412
+ * Derived built-in triggers retain every inherited attribute; additions are OR alternatives.
413
+ * An inherited unfiltered trigger cannot be narrowed by adding attribute filters.
395
414
  *
396
415
  * example:
397
416
  * [
@@ -405,7 +424,10 @@ declare namespace Components {
405
424
  * Optional list of purpose names to filter by.
406
425
  * The entity must have at least one matching purpose in its _purpose array.
407
426
  * Purpose names are matched against the taxonomy classification names (e.g., "Kündigung", "Umzug/Auszug").
408
- * If not specified, the event triggers regardless of entity purpose.
427
+ * For custom events, names are allowed only when inherited unchanged from the actual
428
+ * pinned built-in lineage version. New purposes must use stable purpose_filters IDs.
429
+ * Names and stable IDs are OR alternatives; operation/schema/attribute conditions still apply.
430
+ * If neither purpose nor purpose_filters is specified, the event triggers regardless of purpose.
409
431
  *
410
432
  * example:
411
433
  * [
@@ -415,7 +437,7 @@ declare namespace Components {
415
437
  */
416
438
  purpose?: string[];
417
439
  /**
418
- * Stable purpose IDs plus immutable display-name snapshots for custom events.
440
+ * Stable purpose IDs plus immutable display-name snapshots for custom events. Additive to inherited purpose names (OR). Inherited unfiltered triggers cannot be narrowed.
419
441
  */
420
442
  purpose_filters?: PurposeFilterSnapshot[];
421
443
  };
@@ -450,6 +472,10 @@ declare namespace Components {
450
472
  * true
451
473
  */
452
474
  automation_trigger?: boolean;
475
+ /**
476
+ * Allows explicit API-source triggering, not HTTP transport. Automation also uses HTTP. Automation-only events always disable this source.
477
+ */
478
+ api_trigger?: boolean;
453
479
  /**
454
480
  * Whether explicit triggering is restricted to Automation. When true, callers must pass
455
481
  * `_trigger_source_type: automation` and a stable `_trigger_source`. The trigger uses
@@ -473,7 +499,7 @@ declare namespace Components {
473
499
  */
474
500
  event_origin?: "builtin" | "custom";
475
501
  mapping?: /* Guided mappings use schema_fields graph_source expressions; raw mode evaluates one JSONata object transform. */ EventMapping;
476
- lineage?: /* Optional catalog lineage to a separately named base event. It does not replace the base event. */ CustomEventLineage;
502
+ lineage?: /* Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event. */ CustomEventLineage;
477
503
  /**
478
504
  * Org-defined success criteria for this event: the entity attributes that an
479
505
  * organization considers must be captured for an event change request to be
@@ -605,6 +631,8 @@ declare namespace Components {
605
631
  * - On createEntity: attribute must be defined in the entity payload
606
632
  * - On updateEntity: attribute must be in diff.added, diff.updated, or diff.deleted
607
633
  * If not specified, all changes to matching entities will trigger the event.
634
+ * Derived built-in triggers retain every inherited attribute; additions are OR alternatives.
635
+ * An inherited unfiltered trigger cannot be narrowed by adding attribute filters.
608
636
  *
609
637
  * example:
610
638
  * [
@@ -618,7 +646,10 @@ declare namespace Components {
618
646
  * Optional list of purpose names to filter by.
619
647
  * The entity must have at least one matching purpose in its _purpose array.
620
648
  * Purpose names are matched against the taxonomy classification names (e.g., "Kündigung", "Umzug/Auszug").
621
- * If not specified, the event triggers regardless of entity purpose.
649
+ * For custom events, names are allowed only when inherited unchanged from the actual
650
+ * pinned built-in lineage version. New purposes must use stable purpose_filters IDs.
651
+ * Names and stable IDs are OR alternatives; operation/schema/attribute conditions still apply.
652
+ * If neither purpose nor purpose_filters is specified, the event triggers regardless of purpose.
622
653
  *
623
654
  * example:
624
655
  * [
@@ -628,7 +659,7 @@ declare namespace Components {
628
659
  */
629
660
  purpose?: string[];
630
661
  /**
631
- * Stable purpose IDs plus immutable display-name snapshots for custom events.
662
+ * Stable purpose IDs plus immutable display-name snapshots for custom events. Additive to inherited purpose names (OR). Inherited unfiltered triggers cannot be narrowed.
632
663
  */
633
664
  purpose_filters?: PurposeFilterSnapshot[];
634
665
  };
@@ -663,6 +694,10 @@ declare namespace Components {
663
694
  * true
664
695
  */
665
696
  automation_trigger?: boolean;
697
+ /**
698
+ * Allows explicit API-source triggering, not HTTP transport. Automation also uses HTTP. Automation-only events always disable this source.
699
+ */
700
+ api_trigger?: boolean;
666
701
  /**
667
702
  * Whether explicit triggering is restricted to Automation. When true, callers must pass
668
703
  * `_trigger_source_type: automation` and a stable `_trigger_source`. The trigger uses
@@ -686,7 +721,7 @@ declare namespace Components {
686
721
  */
687
722
  event_origin?: "builtin" | "custom";
688
723
  mapping?: /* Guided mappings use schema_fields graph_source expressions; raw mode evaluates one JSONata object transform. */ EventMapping;
689
- lineage?: /* Optional catalog lineage to a separately named base event. It does not replace the base event. */ CustomEventLineage;
724
+ lineage?: /* Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event. */ CustomEventLineage;
690
725
  /**
691
726
  * Org-defined success criteria for this event: the entity attributes that an
692
727
  * organization considers must be captured for an event change request to be
@@ -1112,10 +1147,11 @@ declare namespace Components {
1112
1147
  */
1113
1148
  required?: boolean;
1114
1149
  /**
1115
- * Optional JSONata expression to extract the field value from the hydrated entity graph.
1150
+ * JSONata expression to extract the field value from the hydrated entity graph.
1116
1151
  *
1117
1152
  * The expression has access to all hydrated graph nodes by their node ID.
1118
- * If not specified, the field value must be provided as input when triggering the event.
1153
+ * Optional for built-in events, where an unset value must be provided as input when
1154
+ * triggering the event. Required for custom events in guided mapping mode.
1119
1155
  *
1120
1156
  * Examples:
1121
1157
  * - "ticket.meter_reading_value" (simple path)
@@ -1324,9 +1360,10 @@ declare namespace Components {
1324
1360
  node_id: string;
1325
1361
  };
1326
1362
  /**
1327
- * Input field values for the event. Keys must match the event's
1363
+ * Input field values for built-in events. Keys must match the event's
1328
1364
  * schema_fields definitions. Values are validated against each
1329
- * field's JSON Schema.
1365
+ * field's JSON Schema. Ignored for custom events, whose fields are
1366
+ * always projected from the entity graph.
1330
1367
  *
1331
1368
  */
1332
1369
  fields?: {
@@ -1438,7 +1475,7 @@ declare namespace Components {
1438
1475
  }
1439
1476
  declare namespace Paths {
1440
1477
  namespace CreateCustomEvent {
1441
- export type RequestBody = /* Complete immutable custom-event v1.0 definition. Publication is a separate conditional action. */ Components.Schemas.CreateCustomEventPayload;
1478
+ export type RequestBody = /* Complete immutable custom-event v1.0 definition projected from a required entity graph. Publication is a separate conditional action. */ Components.Schemas.CreateCustomEventPayload;
1442
1479
  namespace Responses {
1443
1480
  export type $201 = /* Event configuration with required fields */ Components.Schemas.EventConfig;
1444
1481
  export interface $409 {
@@ -1772,6 +1809,26 @@ declare namespace Paths {
1772
1809
  }
1773
1810
  }
1774
1811
  }
1812
+ namespace ReplaceCustomEventDraft {
1813
+ namespace Parameters {
1814
+ export type EventName = string;
1815
+ }
1816
+ export interface PathParameters {
1817
+ event_name: Parameters.EventName;
1818
+ }
1819
+ export type RequestBody = /* Complete immutable custom-event v1.0 definition projected from a required entity graph. Publication is a separate conditional action. */ Components.Schemas.CreateCustomEventPayload;
1820
+ namespace Responses {
1821
+ export type $200 = /* Event configuration with required fields */ Components.Schemas.EventConfig;
1822
+ export interface $400 {
1823
+ }
1824
+ export interface $404 {
1825
+ }
1826
+ export interface $409 {
1827
+ }
1828
+ export interface $422 {
1829
+ }
1830
+ }
1831
+ }
1775
1832
  namespace SearchEventHistory {
1776
1833
  namespace Parameters {
1777
1834
  export type EventName = string;
@@ -1938,7 +1995,7 @@ interface OperationMethods {
1938
1995
  /**
1939
1996
  * createCustomEvent - createCustomEvent
1940
1997
  *
1941
- * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition.
1998
+ * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition. Custom events are always projected from an entity graph: entity_graph is required and, in guided mapping mode, every schema field needs a graph_source expression. Caller-supplied trigger fields are ignored for custom events.
1942
1999
  */
1943
2000
  'createCustomEvent'(
1944
2001
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -1955,6 +2012,19 @@ interface OperationMethods {
1955
2012
  data?: any,
1956
2013
  config?: AxiosRequestConfig
1957
2014
  ): OperationResponse<Paths.GetEvent.Responses.$200>
2015
+ /**
2016
+ * replaceCustomEventDraft - replaceCustomEventDraft
2017
+ *
2018
+ * Replace the complete v1.0 definition of an org-scoped custom event while it is still an
2019
+ * unpublished draft. Drafts have no consumers, so their definition is not yet immutable;
2020
+ * the event name is the identity and cannot change. Publication remains a separate action.
2021
+ *
2022
+ */
2023
+ 'replaceCustomEventDraft'(
2024
+ parameters?: Parameters<Paths.ReplaceCustomEventDraft.PathParameters> | null,
2025
+ data?: Paths.ReplaceCustomEventDraft.RequestBody,
2026
+ config?: AxiosRequestConfig
2027
+ ): OperationResponse<Paths.ReplaceCustomEventDraft.Responses.$200>
1958
2028
  /**
1959
2029
  * patchEvent - patchEvent
1960
2030
  *
@@ -2108,7 +2178,7 @@ interface PathsDictionary {
2108
2178
  /**
2109
2179
  * createCustomEvent - createCustomEvent
2110
2180
  *
2111
- * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition.
2181
+ * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition. Custom events are always projected from an entity graph: entity_graph is required and, in guided mapping mode, every schema field needs a graph_source expression. Caller-supplied trigger fields are ignored for custom events.
2112
2182
  */
2113
2183
  'post'(
2114
2184
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -2137,6 +2207,19 @@ interface PathsDictionary {
2137
2207
  data?: Paths.PatchEvent.RequestBody,
2138
2208
  config?: AxiosRequestConfig
2139
2209
  ): OperationResponse<Paths.PatchEvent.Responses.$200>
2210
+ /**
2211
+ * replaceCustomEventDraft - replaceCustomEventDraft
2212
+ *
2213
+ * Replace the complete v1.0 definition of an org-scoped custom event while it is still an
2214
+ * unpublished draft. Drafts have no consumers, so their definition is not yet immutable;
2215
+ * the event name is the identity and cannot change. Publication remains a separate action.
2216
+ *
2217
+ */
2218
+ 'put'(
2219
+ parameters?: Parameters<Paths.ReplaceCustomEventDraft.PathParameters> | null,
2220
+ data?: Paths.ReplaceCustomEventDraft.RequestBody,
2221
+ config?: AxiosRequestConfig
2222
+ ): OperationResponse<Paths.ReplaceCustomEventDraft.Responses.$200>
2140
2223
  /**
2141
2224
  * deprecateCustomEvent - deprecateCustomEvent
2142
2225
  *
@@ -67,7 +67,7 @@ declare namespace Components {
67
67
  required?: boolean;
68
68
  }
69
69
  /**
70
- * Complete immutable custom-event v1.0 definition. Publication is a separate conditional action.
70
+ * Complete immutable custom-event v1.0 definition projected from a required entity graph. Publication is a separate conditional action.
71
71
  */
72
72
  export interface CreateCustomEventPayload {
73
73
  event_name: string; // ^[A-Z][A-Za-z0-9]{2,79}$
@@ -75,9 +75,9 @@ declare namespace Components {
75
75
  event_description?: string;
76
76
  event_tags?: string[];
77
77
  schema_fields: {
78
- [name: string]: /* Custom v1 fields support JSON Schema values and context entities; attachment semantics are built-in-only. */ CustomSchemaField;
78
+ [name: string]: /* Custom v1 fields support graph-projected JSON Schema values and context entities; attachment semantics are built-in-only. */ CustomSchemaField;
79
79
  };
80
- entity_graph?: /* Entity graph definition for resolving related entities */ GraphDefinition;
80
+ entity_graph: /* Entity graph definition for resolving related entities */ GraphDefinition;
81
81
  entity_operation?: /**
82
82
  * Configuration for triggering an event based on entity operations.
83
83
  *
@@ -89,23 +89,35 @@ declare namespace Components {
89
89
  */
90
90
  EntityOperationTrigger;
91
91
  automation_trigger?: boolean;
92
+ /**
93
+ * Allows API-source triggering independently of Automation (which also uses HTTP). Must be false for Automation-only events.
94
+ */
95
+ api_trigger?: boolean;
96
+ /**
97
+ * Restricts triggering to Automation with durable delivery and strict readiness. Requires automation_trigger true, api_trigger false, and no entity_operation.
98
+ */
99
+ automation_trigger_only?: boolean;
100
+ /**
101
+ * Required cardinality-one graph seed for an Automation-only event. Inherited restrictions cannot be changed.
102
+ */
103
+ automation_trigger_seed_node?: string;
92
104
  mapping?: /* Guided mappings use schema_fields graph_source expressions; raw mode evaluates one JSONata object transform. */ EventMapping;
93
- lineage?: /* Optional catalog lineage to a separately named base event. It does not replace the base event. */ CustomEventLineage;
105
+ lineage?: /* Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event. */ CustomEventLineage;
94
106
  example?: {
95
107
  [name: string]: any;
96
108
  };
97
109
  }
98
110
  /**
99
- * Optional catalog lineage to a separately named base event. It does not replace the base event.
111
+ * Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event.
100
112
  */
101
113
  export interface CustomEventLineage {
102
114
  base_event_name: string;
103
115
  base_event_version: string;
104
116
  }
105
117
  /**
106
- * Custom v1 fields support JSON Schema values and context entities; attachment semantics are built-in-only.
118
+ * Custom v1 fields support graph-projected JSON Schema values and context entities; attachment semantics are built-in-only.
107
119
  */
108
- export type CustomSchemaField = /* Custom v1 fields support JSON Schema values and context entities; attachment semantics are built-in-only. */ /* A primitive JSON Schema field definition */ PrimitiveField | ContextEntity;
120
+ export type CustomSchemaField = /* Custom v1 fields support graph-projected JSON Schema values and context entities; attachment semantics are built-in-only. */ /* A primitive JSON Schema field definition */ PrimitiveField | ContextEntity;
109
121
  /**
110
122
  * Configuration for triggering an event based on entity operations.
111
123
  *
@@ -141,6 +153,8 @@ declare namespace Components {
141
153
  * - On createEntity: attribute must be defined in the entity payload
142
154
  * - On updateEntity: attribute must be in diff.added, diff.updated, or diff.deleted
143
155
  * If not specified, all changes to matching entities will trigger the event.
156
+ * Derived built-in triggers retain every inherited attribute; additions are OR alternatives.
157
+ * An inherited unfiltered trigger cannot be narrowed by adding attribute filters.
144
158
  *
145
159
  * example:
146
160
  * [
@@ -154,7 +168,10 @@ declare namespace Components {
154
168
  * Optional list of purpose names to filter by.
155
169
  * The entity must have at least one matching purpose in its _purpose array.
156
170
  * Purpose names are matched against the taxonomy classification names (e.g., "Kündigung", "Umzug/Auszug").
157
- * If not specified, the event triggers regardless of entity purpose.
171
+ * For custom events, names are allowed only when inherited unchanged from the actual
172
+ * pinned built-in lineage version. New purposes must use stable purpose_filters IDs.
173
+ * Names and stable IDs are OR alternatives; operation/schema/attribute conditions still apply.
174
+ * If neither purpose nor purpose_filters is specified, the event triggers regardless of purpose.
158
175
  *
159
176
  * example:
160
177
  * [
@@ -164,7 +181,7 @@ declare namespace Components {
164
181
  */
165
182
  purpose?: string[];
166
183
  /**
167
- * Stable purpose IDs plus immutable display-name snapshots for custom events.
184
+ * Stable purpose IDs plus immutable display-name snapshots for custom events. Additive to inherited purpose names (OR). Inherited unfiltered triggers cannot be narrowed.
168
185
  */
169
186
  purpose_filters?: PurposeFilterSnapshot[];
170
187
  }
@@ -392,6 +409,8 @@ declare namespace Components {
392
409
  * - On createEntity: attribute must be defined in the entity payload
393
410
  * - On updateEntity: attribute must be in diff.added, diff.updated, or diff.deleted
394
411
  * If not specified, all changes to matching entities will trigger the event.
412
+ * Derived built-in triggers retain every inherited attribute; additions are OR alternatives.
413
+ * An inherited unfiltered trigger cannot be narrowed by adding attribute filters.
395
414
  *
396
415
  * example:
397
416
  * [
@@ -405,7 +424,10 @@ declare namespace Components {
405
424
  * Optional list of purpose names to filter by.
406
425
  * The entity must have at least one matching purpose in its _purpose array.
407
426
  * Purpose names are matched against the taxonomy classification names (e.g., "Kündigung", "Umzug/Auszug").
408
- * If not specified, the event triggers regardless of entity purpose.
427
+ * For custom events, names are allowed only when inherited unchanged from the actual
428
+ * pinned built-in lineage version. New purposes must use stable purpose_filters IDs.
429
+ * Names and stable IDs are OR alternatives; operation/schema/attribute conditions still apply.
430
+ * If neither purpose nor purpose_filters is specified, the event triggers regardless of purpose.
409
431
  *
410
432
  * example:
411
433
  * [
@@ -415,7 +437,7 @@ declare namespace Components {
415
437
  */
416
438
  purpose?: string[];
417
439
  /**
418
- * Stable purpose IDs plus immutable display-name snapshots for custom events.
440
+ * Stable purpose IDs plus immutable display-name snapshots for custom events. Additive to inherited purpose names (OR). Inherited unfiltered triggers cannot be narrowed.
419
441
  */
420
442
  purpose_filters?: PurposeFilterSnapshot[];
421
443
  };
@@ -450,6 +472,10 @@ declare namespace Components {
450
472
  * true
451
473
  */
452
474
  automation_trigger?: boolean;
475
+ /**
476
+ * Allows explicit API-source triggering, not HTTP transport. Automation also uses HTTP. Automation-only events always disable this source.
477
+ */
478
+ api_trigger?: boolean;
453
479
  /**
454
480
  * Whether explicit triggering is restricted to Automation. When true, callers must pass
455
481
  * `_trigger_source_type: automation` and a stable `_trigger_source`. The trigger uses
@@ -473,7 +499,7 @@ declare namespace Components {
473
499
  */
474
500
  event_origin?: "builtin" | "custom";
475
501
  mapping?: /* Guided mappings use schema_fields graph_source expressions; raw mode evaluates one JSONata object transform. */ EventMapping;
476
- lineage?: /* Optional catalog lineage to a separately named base event. It does not replace the base event. */ CustomEventLineage;
502
+ lineage?: /* Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event. */ CustomEventLineage;
477
503
  /**
478
504
  * Org-defined success criteria for this event: the entity attributes that an
479
505
  * organization considers must be captured for an event change request to be
@@ -605,6 +631,8 @@ declare namespace Components {
605
631
  * - On createEntity: attribute must be defined in the entity payload
606
632
  * - On updateEntity: attribute must be in diff.added, diff.updated, or diff.deleted
607
633
  * If not specified, all changes to matching entities will trigger the event.
634
+ * Derived built-in triggers retain every inherited attribute; additions are OR alternatives.
635
+ * An inherited unfiltered trigger cannot be narrowed by adding attribute filters.
608
636
  *
609
637
  * example:
610
638
  * [
@@ -618,7 +646,10 @@ declare namespace Components {
618
646
  * Optional list of purpose names to filter by.
619
647
  * The entity must have at least one matching purpose in its _purpose array.
620
648
  * Purpose names are matched against the taxonomy classification names (e.g., "Kündigung", "Umzug/Auszug").
621
- * If not specified, the event triggers regardless of entity purpose.
649
+ * For custom events, names are allowed only when inherited unchanged from the actual
650
+ * pinned built-in lineage version. New purposes must use stable purpose_filters IDs.
651
+ * Names and stable IDs are OR alternatives; operation/schema/attribute conditions still apply.
652
+ * If neither purpose nor purpose_filters is specified, the event triggers regardless of purpose.
622
653
  *
623
654
  * example:
624
655
  * [
@@ -628,7 +659,7 @@ declare namespace Components {
628
659
  */
629
660
  purpose?: string[];
630
661
  /**
631
- * Stable purpose IDs plus immutable display-name snapshots for custom events.
662
+ * Stable purpose IDs plus immutable display-name snapshots for custom events. Additive to inherited purpose names (OR). Inherited unfiltered triggers cannot be narrowed.
632
663
  */
633
664
  purpose_filters?: PurposeFilterSnapshot[];
634
665
  };
@@ -663,6 +694,10 @@ declare namespace Components {
663
694
  * true
664
695
  */
665
696
  automation_trigger?: boolean;
697
+ /**
698
+ * Allows explicit API-source triggering, not HTTP transport. Automation also uses HTTP. Automation-only events always disable this source.
699
+ */
700
+ api_trigger?: boolean;
666
701
  /**
667
702
  * Whether explicit triggering is restricted to Automation. When true, callers must pass
668
703
  * `_trigger_source_type: automation` and a stable `_trigger_source`. The trigger uses
@@ -686,7 +721,7 @@ declare namespace Components {
686
721
  */
687
722
  event_origin?: "builtin" | "custom";
688
723
  mapping?: /* Guided mappings use schema_fields graph_source expressions; raw mode evaluates one JSONata object transform. */ EventMapping;
689
- lineage?: /* Optional catalog lineage to a separately named base event. It does not replace the base event. */ CustomEventLineage;
724
+ lineage?: /* Optional catalog lineage to a separately named base event. Built-in inheritance is validated against this exact registered version; its trigger restrictions cannot be removed or replaced. It does not replace the base event. */ CustomEventLineage;
690
725
  /**
691
726
  * Org-defined success criteria for this event: the entity attributes that an
692
727
  * organization considers must be captured for an event change request to be
@@ -1112,10 +1147,11 @@ declare namespace Components {
1112
1147
  */
1113
1148
  required?: boolean;
1114
1149
  /**
1115
- * Optional JSONata expression to extract the field value from the hydrated entity graph.
1150
+ * JSONata expression to extract the field value from the hydrated entity graph.
1116
1151
  *
1117
1152
  * The expression has access to all hydrated graph nodes by their node ID.
1118
- * If not specified, the field value must be provided as input when triggering the event.
1153
+ * Optional for built-in events, where an unset value must be provided as input when
1154
+ * triggering the event. Required for custom events in guided mapping mode.
1119
1155
  *
1120
1156
  * Examples:
1121
1157
  * - "ticket.meter_reading_value" (simple path)
@@ -1324,9 +1360,10 @@ declare namespace Components {
1324
1360
  node_id: string;
1325
1361
  };
1326
1362
  /**
1327
- * Input field values for the event. Keys must match the event's
1363
+ * Input field values for built-in events. Keys must match the event's
1328
1364
  * schema_fields definitions. Values are validated against each
1329
- * field's JSON Schema.
1365
+ * field's JSON Schema. Ignored for custom events, whose fields are
1366
+ * always projected from the entity graph.
1330
1367
  *
1331
1368
  */
1332
1369
  fields?: {
@@ -1438,7 +1475,7 @@ declare namespace Components {
1438
1475
  }
1439
1476
  declare namespace Paths {
1440
1477
  namespace CreateCustomEvent {
1441
- export type RequestBody = /* Complete immutable custom-event v1.0 definition. Publication is a separate conditional action. */ Components.Schemas.CreateCustomEventPayload;
1478
+ export type RequestBody = /* Complete immutable custom-event v1.0 definition projected from a required entity graph. Publication is a separate conditional action. */ Components.Schemas.CreateCustomEventPayload;
1442
1479
  namespace Responses {
1443
1480
  export type $201 = /* Event configuration with required fields */ Components.Schemas.EventConfig;
1444
1481
  export interface $409 {
@@ -1772,6 +1809,26 @@ declare namespace Paths {
1772
1809
  }
1773
1810
  }
1774
1811
  }
1812
+ namespace ReplaceCustomEventDraft {
1813
+ namespace Parameters {
1814
+ export type EventName = string;
1815
+ }
1816
+ export interface PathParameters {
1817
+ event_name: Parameters.EventName;
1818
+ }
1819
+ export type RequestBody = /* Complete immutable custom-event v1.0 definition projected from a required entity graph. Publication is a separate conditional action. */ Components.Schemas.CreateCustomEventPayload;
1820
+ namespace Responses {
1821
+ export type $200 = /* Event configuration with required fields */ Components.Schemas.EventConfig;
1822
+ export interface $400 {
1823
+ }
1824
+ export interface $404 {
1825
+ }
1826
+ export interface $409 {
1827
+ }
1828
+ export interface $422 {
1829
+ }
1830
+ }
1831
+ }
1775
1832
  namespace SearchEventHistory {
1776
1833
  namespace Parameters {
1777
1834
  export type EventName = string;
@@ -1938,7 +1995,7 @@ interface OperationMethods {
1938
1995
  /**
1939
1996
  * createCustomEvent - createCustomEvent
1940
1997
  *
1941
- * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition.
1998
+ * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition. Custom events are always projected from an entity graph: entity_graph is required and, in guided mapping mode, every schema field needs a graph_source expression. Caller-supplied trigger fields are ignored for custom events.
1942
1999
  */
1943
2000
  'createCustomEvent'(
1944
2001
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -1955,6 +2012,19 @@ interface OperationMethods {
1955
2012
  data?: any,
1956
2013
  config?: AxiosRequestConfig
1957
2014
  ): OperationResponse<Paths.GetEvent.Responses.$200>
2015
+ /**
2016
+ * replaceCustomEventDraft - replaceCustomEventDraft
2017
+ *
2018
+ * Replace the complete v1.0 definition of an org-scoped custom event while it is still an
2019
+ * unpublished draft. Drafts have no consumers, so their definition is not yet immutable;
2020
+ * the event name is the identity and cannot change. Publication remains a separate action.
2021
+ *
2022
+ */
2023
+ 'replaceCustomEventDraft'(
2024
+ parameters?: Parameters<Paths.ReplaceCustomEventDraft.PathParameters> | null,
2025
+ data?: Paths.ReplaceCustomEventDraft.RequestBody,
2026
+ config?: AxiosRequestConfig
2027
+ ): OperationResponse<Paths.ReplaceCustomEventDraft.Responses.$200>
1958
2028
  /**
1959
2029
  * patchEvent - patchEvent
1960
2030
  *
@@ -2108,7 +2178,7 @@ interface PathsDictionary {
2108
2178
  /**
2109
2179
  * createCustomEvent - createCustomEvent
2110
2180
  *
2111
- * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition.
2181
+ * Reserve an org-scoped custom event name and persist its immutable v1.0 draft definition. Custom events are always projected from an entity graph: entity_graph is required and, in guided mapping mode, every schema field needs a graph_source expression. Caller-supplied trigger fields are ignored for custom events.
2112
2182
  */
2113
2183
  'post'(
2114
2184
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -2137,6 +2207,19 @@ interface PathsDictionary {
2137
2207
  data?: Paths.PatchEvent.RequestBody,
2138
2208
  config?: AxiosRequestConfig
2139
2209
  ): OperationResponse<Paths.PatchEvent.Responses.$200>
2210
+ /**
2211
+ * replaceCustomEventDraft - replaceCustomEventDraft
2212
+ *
2213
+ * Replace the complete v1.0 definition of an org-scoped custom event while it is still an
2214
+ * unpublished draft. Drafts have no consumers, so their definition is not yet immutable;
2215
+ * the event name is the identity and cannot change. Publication remains a separate action.
2216
+ *
2217
+ */
2218
+ 'put'(
2219
+ parameters?: Parameters<Paths.ReplaceCustomEventDraft.PathParameters> | null,
2220
+ data?: Paths.ReplaceCustomEventDraft.RequestBody,
2221
+ config?: AxiosRequestConfig
2222
+ ): OperationResponse<Paths.ReplaceCustomEventDraft.Responses.$200>
2140
2223
  /**
2141
2224
  * deprecateCustomEvent - deprecateCustomEvent
2142
2225
  *