@epilot/integration-toolkit-client 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi.d.ts +14 -0
- package/dist/openapi.json +21 -1
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -797,6 +797,11 @@ declare namespace Components {
|
|
|
797
797
|
* evt-2025-05-01-12345-create-bp
|
|
798
798
|
*/
|
|
799
799
|
deduplication_id?: string; // ^[a-zA-Z0-9_-]+$
|
|
800
|
+
/**
|
|
801
|
+
* Resolved use case ID for the inbound event. Null when no use case matched or for events ingested before this field was introduced. Server-populated only — ignored if supplied on inbound requests.
|
|
802
|
+
*
|
|
803
|
+
*/
|
|
804
|
+
use_case_id?: string | null;
|
|
800
805
|
}
|
|
801
806
|
export type ErpEventV3 = {
|
|
802
807
|
/**
|
|
@@ -1381,6 +1386,11 @@ declare namespace Components {
|
|
|
1381
1386
|
* Field to group the breakdown by
|
|
1382
1387
|
*/
|
|
1383
1388
|
group_by?: "use_case_id" | "use_case_type" | "level" | "code" | "date";
|
|
1389
|
+
/**
|
|
1390
|
+
* Data source for the stats. "monitoring" (default) aggregates processed events from erp_monitoring_v2 — this counts every event produced throughout the processing tree (fan-out children, post-actions, relation resolutions, etc.). "incoming" counts only the initial inbound events actually received (distinct event_id from erp_incoming_events); only group_by=use_case_id is supported and status/level breakdown is not available for this source (success/error/warning/skipped counts are returned as 0).
|
|
1391
|
+
*
|
|
1392
|
+
*/
|
|
1393
|
+
source?: "monitoring" | "incoming";
|
|
1384
1394
|
}
|
|
1385
1395
|
export interface GetMonitoringTimeSeriesRequest {
|
|
1386
1396
|
/**
|
|
@@ -2929,6 +2939,10 @@ declare namespace Components {
|
|
|
2929
2939
|
* Filter by event name (alias for object_type)
|
|
2930
2940
|
*/
|
|
2931
2941
|
event_name?: string;
|
|
2942
|
+
/**
|
|
2943
|
+
* Filter by use case ID
|
|
2944
|
+
*/
|
|
2945
|
+
use_case_id?: string;
|
|
2932
2946
|
/**
|
|
2933
2947
|
* Maximum number of results to return
|
|
2934
2948
|
* example:
|
package/dist/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Integration Toolkit API",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.12",
|
|
6
6
|
"description": "API for integrating with external systems in a standardised way."
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -3144,6 +3144,12 @@
|
|
|
3144
3144
|
"maxLength": 255,
|
|
3145
3145
|
"description": "Optional unique identifier for idempotency - prevents duplicate processing of the same event within 24 hours in context of the same integration. Must contain only alphanumeric characters, hyphens, and underscores.\n",
|
|
3146
3146
|
"example": "evt-2025-05-01-12345-create-bp"
|
|
3147
|
+
},
|
|
3148
|
+
"use_case_id": {
|
|
3149
|
+
"type": "string",
|
|
3150
|
+
"nullable": true,
|
|
3151
|
+
"readOnly": true,
|
|
3152
|
+
"description": "Resolved use case ID for the inbound event. Null when no use case matched or for events ingested before this field was introduced. Server-populated only — ignored if supplied on inbound requests.\n"
|
|
3147
3153
|
}
|
|
3148
3154
|
}
|
|
3149
3155
|
},
|
|
@@ -6870,6 +6876,11 @@
|
|
|
6870
6876
|
"type": "string",
|
|
6871
6877
|
"description": "Filter by event name (alias for object_type)"
|
|
6872
6878
|
},
|
|
6879
|
+
"use_case_id": {
|
|
6880
|
+
"type": "string",
|
|
6881
|
+
"minLength": 1,
|
|
6882
|
+
"description": "Filter by use case ID"
|
|
6883
|
+
},
|
|
6873
6884
|
"limit": {
|
|
6874
6885
|
"type": "integer",
|
|
6875
6886
|
"description": "Maximum number of results to return",
|
|
@@ -7826,6 +7837,15 @@
|
|
|
7826
7837
|
"date"
|
|
7827
7838
|
],
|
|
7828
7839
|
"description": "Field to group the breakdown by"
|
|
7840
|
+
},
|
|
7841
|
+
"source": {
|
|
7842
|
+
"type": "string",
|
|
7843
|
+
"enum": [
|
|
7844
|
+
"monitoring",
|
|
7845
|
+
"incoming"
|
|
7846
|
+
],
|
|
7847
|
+
"default": "monitoring",
|
|
7848
|
+
"description": "Data source for the stats. \"monitoring\" (default) aggregates processed events from erp_monitoring_v2 — this counts every event produced throughout the processing tree (fan-out children, post-actions, relation resolutions, etc.). \"incoming\" counts only the initial inbound events actually received (distinct event_id from erp_incoming_events); only group_by=use_case_id is supported and status/level breakdown is not available for this source (success/error/warning/skipped counts are returned as 0).\n"
|
|
7829
7849
|
}
|
|
7830
7850
|
}
|
|
7831
7851
|
},
|