@epilot/sdk 2.20.10 → 2.20.12
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.
- package/definitions/app.json +13 -12
- package/definitions/customer-portal.json +249 -9
- package/definitions/event-catalog-runtime.json +1 -1
- package/definitions/event-catalog.json +83 -12
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +8 -8
- package/dist/apis/event-catalog.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +2 -2
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{app-E75NP2YE.js → app-B3TAEVS4.js} +1 -1
- package/dist/{app-EI2PFRBV.cjs → app-C5H6RLZ5.cjs} +1 -1
- package/dist/{app.d-BHpFAvPW.d.cts → app.d-CqXqNLxq.d.cts} +9 -10
- package/dist/{app.d-BHpFAvPW.d.ts → app.d-CqXqNLxq.d.ts} +9 -10
- package/dist/chunk-2Q6CNXJ2.cjs +14 -0
- package/dist/{chunk-A7UIYIBZ.js → chunk-36NU5MIM.js} +4 -4
- package/dist/{chunk-VAGYR2R6.cjs → chunk-75JAKEAU.cjs} +4 -4
- package/dist/chunk-LTCN52JS.js +14 -0
- package/dist/customer-portal-FDB3TGS7.cjs +7 -0
- package/dist/customer-portal-NELL7GRO.js +7 -0
- package/dist/{customer-portal.d-DJHJY-vb.d.cts → customer-portal.d-gb6dOHv3.d.cts} +218 -6
- package/dist/{customer-portal.d-DJHJY-vb.d.ts → customer-portal.d-gb6dOHv3.d.ts} +218 -6
- package/dist/event-catalog-S4OYTDIB.js +7 -0
- package/dist/event-catalog-Z6BO4L2G.cjs +7 -0
- package/dist/{event-catalog-runtime-AME244T7.cjs → event-catalog-runtime-XWSYNUGQ.cjs} +2 -2
- package/dist/{event-catalog-runtime-Q3MKEDG4.js → event-catalog-runtime-Z6OMHQBD.js} +1 -1
- package/dist/{event-catalog.d-Bd2wmtlZ.d.cts → event-catalog.d-CCE1qmBN.d.cts} +105 -22
- package/dist/{event-catalog.d-Bd2wmtlZ.d.ts → event-catalog.d-CCE1qmBN.d.ts} +105 -22
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/docs/app.md +4 -7
- package/docs/customer-portal.md +136 -21
- package/docs/event-catalog.md +155 -5
- package/package.json +1 -1
- package/dist/chunk-EEKJGTAS.js +0 -14
- package/dist/chunk-MPZICOVZ.cjs +0 -14
- package/dist/customer-portal-CDFQM72A.js +0 -7
- package/dist/customer-portal-MS6WNXAO.cjs +0 -7
- package/dist/event-catalog-4FVQZ65M.cjs +0 -7
- 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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -60,7 +60,7 @@ var _chunkQLWDOKGEcjs = require('./chunk-QLWDOKGE.cjs');
|
|
|
60
60
|
var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunk2Q6CNXJ2cjs = require('./chunk-2Q6CNXJ2.cjs');
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
var _chunk424JLS5Gcjs = require('./chunk-424JLS5G.cjs');
|
|
@@ -158,7 +158,7 @@ var _chunkWOUASZJWcjs = require('./chunk-WOUASZJW.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunk75JAKEAUcjs = require('./chunk-75JAKEAU.cjs');
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
|
|
|
225
225
|
}
|
|
226
226
|
if (!entry.instance) {
|
|
227
227
|
const definition = entry.loader();
|
|
228
|
-
entry.instance =
|
|
228
|
+
entry.instance = _chunk75JAKEAUcjs.createApiClient.call(void 0, {
|
|
229
229
|
definition,
|
|
230
230
|
token: state.token,
|
|
231
231
|
headers: state.globalHeaders,
|
|
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
|
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
// src/apis/_registry.ts
|
|
261
|
-
var expandDef = (mod) =>
|
|
261
|
+
var expandDef = (mod) => _chunk75JAKEAUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -378,7 +378,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
378
378
|
registerApi({
|
|
379
379
|
registry,
|
|
380
380
|
name: "eventCatalog",
|
|
381
|
-
loader: () => expandDef(
|
|
381
|
+
loader: () => expandDef(_chunk2Q6CNXJ2cjs.require_event_catalog_runtime.call(void 0, ))
|
|
382
382
|
});
|
|
383
383
|
registerApi({
|
|
384
384
|
registry,
|
|
@@ -601,9 +601,9 @@ var createSDK = () => {
|
|
|
601
601
|
const available = [...registry.keys()].join(", ");
|
|
602
602
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
603
603
|
}
|
|
604
|
-
return
|
|
604
|
+
return _chunk75JAKEAUcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunk75JAKEAUcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
607
607
|
apiName: name
|
|
608
608
|
});
|
|
609
609
|
};
|
|
@@ -651,9 +651,9 @@ var createSDK = () => {
|
|
|
651
651
|
return interceptorUse;
|
|
652
652
|
}
|
|
653
653
|
case "help":
|
|
654
|
-
return (apiName) =>
|
|
654
|
+
return (apiName) => _chunk75JAKEAUcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunk75JAKEAUcjs.openapi.call(void 0, apiName);
|
|
657
657
|
case "then":
|
|
658
658
|
case "catch":
|
|
659
659
|
case "finally":
|
|
@@ -683,4 +683,4 @@ var epilot = createSDK();
|
|
|
683
683
|
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunk75JAKEAUcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunk75JAKEAUcjs.help; exports.openapi = _chunk75JAKEAUcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-BhRUc8I-.cjs';
|
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-B3TkP4mo.cjs';
|
|
10
|
-
import { C as Client$4 } from './app.d-
|
|
10
|
+
import { C as Client$4 } from './app.d-CqXqNLxq.cjs';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
12
|
import { C as Client$6 } from './automation.d-D8JxyoFa.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.cjs';
|
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.cjs';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.cjs';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-Dv41yC3b.cjs';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.cjs';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-gb6dOHv3.cjs';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-BSevFHjf.cjs';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-Cueh8bDD.cjs';
|
|
@@ -26,7 +26,7 @@ import { C as Client$j } from './email-template.d-gtQkdaXM.cjs';
|
|
|
26
26
|
import { C as Client$k } from './entity.d-GfKqzFGA.cjs';
|
|
27
27
|
import { C as Client$l } from './entity-mapping.d-CQv75o8M.cjs';
|
|
28
28
|
import { C as Client$m } from './environments.d-C_BTxz4W.cjs';
|
|
29
|
-
import { C as Client$n } from './event-catalog.d-
|
|
29
|
+
import { C as Client$n } from './event-catalog.d-CCE1qmBN.cjs';
|
|
30
30
|
import { C as Client$o } from './file.d-DELNV63w.cjs';
|
|
31
31
|
import { C as Client$p } from './iban.d-BwdiGbxi.cjs';
|
|
32
32
|
import { C as Client$q } from './integration-toolkit.d-rpj1kvB_.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-BhRUc8I-.js';
|
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.js';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-B3TkP4mo.js';
|
|
10
|
-
import { C as Client$4 } from './app.d-
|
|
10
|
+
import { C as Client$4 } from './app.d-CqXqNLxq.js';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
12
|
import { C as Client$6 } from './automation.d-D8JxyoFa.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.js';
|
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.js';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.js';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-Dv41yC3b.js';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.js';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-gb6dOHv3.js';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-BSevFHjf.js';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.js';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-Cueh8bDD.js';
|
|
@@ -26,7 +26,7 @@ import { C as Client$j } from './email-template.d-gtQkdaXM.js';
|
|
|
26
26
|
import { C as Client$k } from './entity.d-GfKqzFGA.js';
|
|
27
27
|
import { C as Client$l } from './entity-mapping.d-CQv75o8M.js';
|
|
28
28
|
import { C as Client$m } from './environments.d-C_BTxz4W.js';
|
|
29
|
-
import { C as Client$n } from './event-catalog.d-
|
|
29
|
+
import { C as Client$n } from './event-catalog.d-CCE1qmBN.js';
|
|
30
30
|
import { C as Client$o } from './file.d-DELNV63w.js';
|
|
31
31
|
import { C as Client$p } from './iban.d-BwdiGbxi.js';
|
|
32
32
|
import { C as Client$q } from './integration-toolkit.d-rpj1kvB_.js';
|
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./chunk-D7Q4JGN7.js";
|
|
61
61
|
import {
|
|
62
62
|
require_event_catalog_runtime
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-LTCN52JS.js";
|
|
64
64
|
import {
|
|
65
65
|
require_file_runtime
|
|
66
66
|
} from "./chunk-FGQBS7TA.js";
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
expand,
|
|
159
159
|
help,
|
|
160
160
|
openapi
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-36NU5MIM.js";
|
|
162
162
|
import {
|
|
163
163
|
__require
|
|
164
164
|
} from "./chunk-YPSWSI3M.js";
|
package/docs/app.md
CHANGED
|
@@ -2269,7 +2269,6 @@ type ExternalValuesComponent = {
|
|
|
2269
2269
|
timeout_ms?: { ... }
|
|
2270
2270
|
on_unavailable?: { ... }
|
|
2271
2271
|
cache?: { ... }
|
|
2272
|
-
use_static_ips?: { ... }
|
|
2273
2272
|
secure_proxy?: { ... }
|
|
2274
2273
|
}>
|
|
2275
2274
|
}
|
|
@@ -2791,7 +2790,7 @@ type PortalExtensionConfig = {
|
|
|
2791
2790
|
de: { ... }
|
|
2792
2791
|
}
|
|
2793
2792
|
type: "priceDataRetrieval"
|
|
2794
|
-
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y"[]
|
|
2793
|
+
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y" | "custom"[]
|
|
2795
2794
|
auth?: {
|
|
2796
2795
|
method?: { ... }
|
|
2797
2796
|
url: { ... }
|
|
@@ -2980,7 +2979,7 @@ type PortalExtensionHookPriceDataRetrieval = {
|
|
|
2980
2979
|
de: string
|
|
2981
2980
|
}
|
|
2982
2981
|
type: "priceDataRetrieval"
|
|
2983
|
-
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y"[]
|
|
2982
|
+
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y" | "custom"[]
|
|
2984
2983
|
auth?: {
|
|
2985
2984
|
method?: string
|
|
2986
2985
|
url: string
|
|
@@ -3026,7 +3025,7 @@ type PortalExtensionHookConsumptionDataRetrieval = {
|
|
|
3026
3025
|
de: string
|
|
3027
3026
|
}
|
|
3028
3027
|
type: "consumptionDataRetrieval"
|
|
3029
|
-
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y"[]
|
|
3028
|
+
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y" | "custom"[]
|
|
3030
3029
|
auth?: {
|
|
3031
3030
|
method?: string
|
|
3032
3031
|
url: string
|
|
@@ -3157,7 +3156,7 @@ type PortalExtensionHookCostDataRetrieval = {
|
|
|
3157
3156
|
de: string
|
|
3158
3157
|
}
|
|
3159
3158
|
type: "costDataRetrieval"
|
|
3160
|
-
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y"[]
|
|
3159
|
+
intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y" | "custom"[]
|
|
3161
3160
|
auth?: {
|
|
3162
3161
|
method?: string
|
|
3163
3162
|
url: string
|
|
@@ -3798,7 +3797,6 @@ type ExternalValuesConfig = {
|
|
|
3798
3797
|
ttl_seconds: { ... }
|
|
3799
3798
|
key?: { ... }
|
|
3800
3799
|
}
|
|
3801
|
-
use_static_ips?: boolean
|
|
3802
3800
|
secure_proxy?: {
|
|
3803
3801
|
integration_id: { ... }
|
|
3804
3802
|
use_case_slug: { ... }
|
|
@@ -3861,7 +3859,6 @@ type ExternalValuesHook = {
|
|
|
3861
3859
|
ttl_seconds: number
|
|
3862
3860
|
key?: string
|
|
3863
3861
|
}
|
|
3864
|
-
use_static_ips?: boolean
|
|
3865
3862
|
secure_proxy?: {
|
|
3866
3863
|
integration_id: string // uuid
|
|
3867
3864
|
use_case_slug: string
|