@epilot/sdk 2.2.5 → 2.2.7
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/entity-runtime.json +1 -1
- package/definitions/entity.json +29 -1
- package/definitions/erp-integration-runtime.json +1 -1
- package/definitions/erp-integration.json +1257 -110
- 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.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/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- 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-management.cjs +6 -6
- package/dist/apis/data-management.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 +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +8 -8
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +2 -2
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- 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/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/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.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/{chunk-OTSGPLDM.js → chunk-BN6EJPDC.js} +4 -4
- package/dist/{chunk-RKSUIRD2.js → chunk-F7W62NKV.js} +1 -1
- package/dist/{chunk-LHVRAAFH.js → chunk-MUNMUGB5.js} +1 -1
- package/dist/{chunk-XLQ4ZRBF.cjs → chunk-QA2OYK7N.cjs} +1 -1
- package/dist/{chunk-ODD4JQVS.cjs → chunk-TLH6XOTL.cjs} +1 -1
- package/dist/{chunk-ZXLTSQYE.cjs → chunk-VUVWHQMP.cjs} +4 -4
- package/dist/entity-M5F22DSS.cjs +7 -0
- package/dist/entity-RT4YRZDG.js +7 -0
- package/dist/{entity-runtime-CWQUEFCS.js → entity-runtime-D4DV5XRM.js} +1 -1
- package/dist/entity-runtime-DUJTRYLQ.cjs +5 -0
- package/dist/{entity.d-t9R21446.d.cts → entity.d-__Tx1Y0J.d.cts} +6 -6
- package/dist/{entity.d-t9R21446.d.ts → entity.d-__Tx1Y0J.d.ts} +6 -6
- package/dist/erp-integration-76K5HOGL.js +7 -0
- package/dist/erp-integration-A33WOGPF.cjs +7 -0
- package/dist/{erp-integration-runtime-6SBLYZ34.js → erp-integration-runtime-BHHWMG4O.js} +1 -1
- package/dist/{erp-integration-runtime-HZI2P4X7.cjs → erp-integration-runtime-Y6VWGQ3L.cjs} +2 -2
- package/dist/{erp-integration.d-BV3Rv9e6.d.cts → erp-integration.d-B4XPU_j-.d.cts} +753 -1
- package/dist/{erp-integration.d-BV3Rv9e6.d.ts → erp-integration.d-B4XPU_j-.d.ts} +753 -1
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/docs/entity.md +1 -0
- package/docs/erp-integration.md +816 -19
- package/package.json +1 -1
- package/dist/entity-RCWJZZXM.cjs +0 -7
- package/dist/entity-X374X6EQ.js +0 -7
- package/dist/entity-runtime-EOWSEXC7.cjs +0 -5
- package/dist/erp-integration-6I4B4BIU.cjs +0 -7
- package/dist/erp-integration-G54BMGGE.js +0 -7
|
@@ -20,7 +20,20 @@ declare namespace Components {
|
|
|
20
20
|
}[];
|
|
21
21
|
}
|
|
22
22
|
export type Forbidden = Schemas.ErrorResponseBase;
|
|
23
|
+
export interface GetAssociatedMonitoringEventsResponse {
|
|
24
|
+
/**
|
|
25
|
+
* All monitoring events sharing this event_id, ordered by created_at ASC
|
|
26
|
+
*/
|
|
27
|
+
monitoring_events?: Schemas.MonitoringEventV2[];
|
|
28
|
+
/**
|
|
29
|
+
* The original inbound event payload from erp_incoming_events, if available
|
|
30
|
+
*/
|
|
31
|
+
inbound_event?: {
|
|
32
|
+
[name: string]: any;
|
|
33
|
+
} | null;
|
|
34
|
+
}
|
|
23
35
|
export type GetMonitoringStatsResponse = Schemas.MonitoringStats;
|
|
36
|
+
export type GetMonitoringStatsV2Response = Schemas.MonitoringStatsV2;
|
|
24
37
|
export interface GetMonitoringTimeSeriesResponse {
|
|
25
38
|
/**
|
|
26
39
|
* The time bucket interval used for aggregation
|
|
@@ -39,6 +52,15 @@ declare namespace Components {
|
|
|
39
52
|
*/
|
|
40
53
|
buckets: Schemas.TimeSeriesBucket[];
|
|
41
54
|
}
|
|
55
|
+
export interface GetMonitoringTimeSeriesV2Response {
|
|
56
|
+
/**
|
|
57
|
+
* The bucket interval
|
|
58
|
+
*/
|
|
59
|
+
interval?: "5m" | "10m" | "30m" | "1h" | "3h" | "1d";
|
|
60
|
+
from_date?: string; // date-time
|
|
61
|
+
to_date?: string; // date-time
|
|
62
|
+
buckets?: Schemas.TimeSeriesBucketV2[];
|
|
63
|
+
}
|
|
42
64
|
export type InternalServerError = Schemas.ErrorResponseBase;
|
|
43
65
|
export type NotFound = Schemas.ErrorResponseBase;
|
|
44
66
|
export interface QueryAccessLogsResponse {
|
|
@@ -102,6 +124,23 @@ declare namespace Components {
|
|
|
102
124
|
*/
|
|
103
125
|
has_more?: boolean;
|
|
104
126
|
}
|
|
127
|
+
export interface QueryMonitoringEventsV2Response {
|
|
128
|
+
/**
|
|
129
|
+
* List of monitoring events
|
|
130
|
+
*/
|
|
131
|
+
data?: Schemas.MonitoringEventV2[];
|
|
132
|
+
/**
|
|
133
|
+
* Cursor to fetch the next page. Null if no more results.
|
|
134
|
+
*/
|
|
135
|
+
next_cursor?: {
|
|
136
|
+
created_at?: string; // date-time
|
|
137
|
+
id?: string; // uuid
|
|
138
|
+
} | null;
|
|
139
|
+
/**
|
|
140
|
+
* Indicates if more results are available
|
|
141
|
+
*/
|
|
142
|
+
has_more?: boolean;
|
|
143
|
+
}
|
|
105
144
|
export interface QueryOutboundMonitoringEventsResponse {
|
|
106
145
|
/**
|
|
107
146
|
* List of outbound monitoring events
|
|
@@ -196,6 +235,30 @@ declare namespace Components {
|
|
|
196
235
|
*/
|
|
197
236
|
freshnessThresholdMinutes?: number;
|
|
198
237
|
}
|
|
238
|
+
export interface CommitTypesRequest {
|
|
239
|
+
/**
|
|
240
|
+
* npm package name
|
|
241
|
+
* example:
|
|
242
|
+
* @epilot/hems-cleverpv
|
|
243
|
+
*/
|
|
244
|
+
package_name: string;
|
|
245
|
+
/**
|
|
246
|
+
* Package version
|
|
247
|
+
* example:
|
|
248
|
+
* 1.0.0
|
|
249
|
+
*/
|
|
250
|
+
version: string;
|
|
251
|
+
/**
|
|
252
|
+
* Type annotations per use case slug
|
|
253
|
+
*/
|
|
254
|
+
annotations?: {
|
|
255
|
+
[name: string]: /* Developer-provided type annotations for a use case's request and response fields */ TypeAnnotations;
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
export interface CommitTypesResponse {
|
|
259
|
+
committed: boolean;
|
|
260
|
+
warnings?: string[];
|
|
261
|
+
}
|
|
199
262
|
/**
|
|
200
263
|
* Shared configuration for connector-type integrations
|
|
201
264
|
*/
|
|
@@ -205,6 +268,24 @@ declare namespace Components {
|
|
|
205
268
|
*/
|
|
206
269
|
base_url?: string;
|
|
207
270
|
auth?: /* Authentication configuration for managed call requests */ ManagedCallAuth;
|
|
271
|
+
/**
|
|
272
|
+
* History of generated type package versions
|
|
273
|
+
*/
|
|
274
|
+
types_versions?: {
|
|
275
|
+
version: string;
|
|
276
|
+
package_name: string;
|
|
277
|
+
generated_at: string; // date-time
|
|
278
|
+
generated_by: string;
|
|
279
|
+
status: "active" | "deprecated";
|
|
280
|
+
}[];
|
|
281
|
+
/**
|
|
282
|
+
* Latest active types package version
|
|
283
|
+
*/
|
|
284
|
+
latest_types_version?: string;
|
|
285
|
+
/**
|
|
286
|
+
* Latest active types package name
|
|
287
|
+
*/
|
|
288
|
+
latest_types_package_name?: string;
|
|
208
289
|
}
|
|
209
290
|
export interface CreateFileProxyUseCaseRequest {
|
|
210
291
|
/**
|
|
@@ -1107,6 +1188,69 @@ declare namespace Components {
|
|
|
1107
1188
|
*/
|
|
1108
1189
|
FileProxyUseCaseConfiguration;
|
|
1109
1190
|
}
|
|
1191
|
+
export interface GenerateTypesPreviewResponse {
|
|
1192
|
+
integration_name?: string;
|
|
1193
|
+
use_cases: /* Scaffolded type descriptors for a single use case */ UseCaseTypePreview[];
|
|
1194
|
+
/**
|
|
1195
|
+
* Previously generated version, if any
|
|
1196
|
+
*/
|
|
1197
|
+
previous_version?: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Suggested next version based on detected changes
|
|
1200
|
+
*/
|
|
1201
|
+
suggested_version?: string;
|
|
1202
|
+
suggested_bump?: "major" | "minor";
|
|
1203
|
+
detected_changes?: {
|
|
1204
|
+
slug: string;
|
|
1205
|
+
field: string;
|
|
1206
|
+
type: "breaking" | "non-breaking";
|
|
1207
|
+
description: string;
|
|
1208
|
+
}[];
|
|
1209
|
+
}
|
|
1210
|
+
export interface GenerateTypesRequest {
|
|
1211
|
+
/**
|
|
1212
|
+
* npm package name
|
|
1213
|
+
* example:
|
|
1214
|
+
* @epilot/hems-cleverpv
|
|
1215
|
+
*/
|
|
1216
|
+
package_name: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Package version
|
|
1219
|
+
* example:
|
|
1220
|
+
* 1.0.0
|
|
1221
|
+
*/
|
|
1222
|
+
version: string;
|
|
1223
|
+
description?: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Domain standard package to extend
|
|
1226
|
+
* example:
|
|
1227
|
+
* @epilot/hems
|
|
1228
|
+
*/
|
|
1229
|
+
domain_package?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Name of the domain UseCaseMap to extend
|
|
1232
|
+
* example:
|
|
1233
|
+
* HemsUseCaseMap
|
|
1234
|
+
*/
|
|
1235
|
+
domain_map_name?: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* Type annotations per use case slug
|
|
1238
|
+
*/
|
|
1239
|
+
annotations?: {
|
|
1240
|
+
[name: string]: /* Developer-provided type annotations for a use case's request and response fields */ TypeAnnotations;
|
|
1241
|
+
};
|
|
1242
|
+
}
|
|
1243
|
+
export interface GenerateTypesResponse {
|
|
1244
|
+
package_name: string;
|
|
1245
|
+
version: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Generated file contents keyed by file path
|
|
1248
|
+
*/
|
|
1249
|
+
files: {
|
|
1250
|
+
[name: string]: string;
|
|
1251
|
+
};
|
|
1252
|
+
warnings?: string[];
|
|
1253
|
+
}
|
|
1110
1254
|
export interface GetMonitoringStatsRequest {
|
|
1111
1255
|
/**
|
|
1112
1256
|
* Start date for statistics period (inclusive)
|
|
@@ -1139,6 +1283,28 @@ declare namespace Components {
|
|
|
1139
1283
|
*/
|
|
1140
1284
|
outbound_group_by?: ("event_name" | "status" | "webhook_config_id" | "date")[];
|
|
1141
1285
|
}
|
|
1286
|
+
export interface GetMonitoringStatsV2Request {
|
|
1287
|
+
/**
|
|
1288
|
+
* Start of the time range
|
|
1289
|
+
* example:
|
|
1290
|
+
* 2025-01-01T00:00:00Z
|
|
1291
|
+
*/
|
|
1292
|
+
from_date?: string; // date-time
|
|
1293
|
+
/**
|
|
1294
|
+
* End of the time range
|
|
1295
|
+
* example:
|
|
1296
|
+
* 2025-01-31T23:59:59Z
|
|
1297
|
+
*/
|
|
1298
|
+
to_date?: string; // date-time
|
|
1299
|
+
/**
|
|
1300
|
+
* Filter stats by use case type
|
|
1301
|
+
*/
|
|
1302
|
+
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
|
|
1303
|
+
/**
|
|
1304
|
+
* Field to group the breakdown by
|
|
1305
|
+
*/
|
|
1306
|
+
group_by?: "use_case_id" | "use_case_type" | "level" | "code" | "date";
|
|
1307
|
+
}
|
|
1142
1308
|
export interface GetMonitoringTimeSeriesRequest {
|
|
1143
1309
|
/**
|
|
1144
1310
|
* Start date for the time series (inclusive)
|
|
@@ -1165,6 +1331,28 @@ declare namespace Components {
|
|
|
1165
1331
|
*/
|
|
1166
1332
|
direction?: "inbound" | "outbound" | "both";
|
|
1167
1333
|
}
|
|
1334
|
+
export interface GetMonitoringTimeSeriesV2Request {
|
|
1335
|
+
/**
|
|
1336
|
+
* Start of the time range (required)
|
|
1337
|
+
* example:
|
|
1338
|
+
* 2025-01-01T00:00:00Z
|
|
1339
|
+
*/
|
|
1340
|
+
from_date: string; // date-time
|
|
1341
|
+
/**
|
|
1342
|
+
* End of the time range (defaults to now)
|
|
1343
|
+
* example:
|
|
1344
|
+
* 2025-01-31T23:59:59Z
|
|
1345
|
+
*/
|
|
1346
|
+
to_date?: string; // date-time
|
|
1347
|
+
/**
|
|
1348
|
+
* Time bucket interval
|
|
1349
|
+
*/
|
|
1350
|
+
interval: "5m" | "10m" | "30m" | "1h" | "3h" | "1d";
|
|
1351
|
+
/**
|
|
1352
|
+
* Filter by use case type
|
|
1353
|
+
*/
|
|
1354
|
+
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
|
|
1355
|
+
}
|
|
1168
1356
|
/**
|
|
1169
1357
|
* Configuration for inbound use cases (ERP to epilot)
|
|
1170
1358
|
*/
|
|
@@ -1835,6 +2023,11 @@ declare namespace Components {
|
|
|
1835
2023
|
*/
|
|
1836
2024
|
updated_at: string; // date-time
|
|
1837
2025
|
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
2026
|
+
type_annotations?: /* Developer-provided type annotations for a use case's request and response fields */ TypeAnnotations;
|
|
2027
|
+
/**
|
|
2028
|
+
* Whether types have been generated for this use case
|
|
2029
|
+
*/
|
|
2030
|
+
types_locked?: boolean;
|
|
1838
2031
|
}
|
|
1839
2032
|
export interface ManagedCallUseCaseHistoryEntry {
|
|
1840
2033
|
/**
|
|
@@ -1882,6 +2075,11 @@ declare namespace Components {
|
|
|
1882
2075
|
*/
|
|
1883
2076
|
type: "managed_call";
|
|
1884
2077
|
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
2078
|
+
type_annotations?: /* Developer-provided type annotations for a use case's request and response fields */ TypeAnnotations;
|
|
2079
|
+
/**
|
|
2080
|
+
* Whether types have been generated for this use case
|
|
2081
|
+
*/
|
|
2082
|
+
types_locked?: boolean;
|
|
1885
2083
|
}
|
|
1886
2084
|
export interface MappingSimulationRequest {
|
|
1887
2085
|
mapping_configuration: IntegrationConfigurationV1 | IntegrationConfigurationV2;
|
|
@@ -1989,6 +2187,58 @@ declare namespace Components {
|
|
|
1989
2187
|
...RelationUniqueIdField[]
|
|
1990
2188
|
];
|
|
1991
2189
|
}
|
|
2190
|
+
export interface MonitoringEventV2 {
|
|
2191
|
+
/**
|
|
2192
|
+
* Unique monitoring event ID
|
|
2193
|
+
*/
|
|
2194
|
+
id: string; // uuid
|
|
2195
|
+
/**
|
|
2196
|
+
* Organization ID
|
|
2197
|
+
*/
|
|
2198
|
+
org_id: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* Integration ID
|
|
2201
|
+
*/
|
|
2202
|
+
integration_id: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* Trigger/inbound event ID (groups related monitoring events)
|
|
2205
|
+
*/
|
|
2206
|
+
event_id: string;
|
|
2207
|
+
/**
|
|
2208
|
+
* Correlation ID for tracing. Empty when unavailable.
|
|
2209
|
+
*/
|
|
2210
|
+
correlation_id?: string;
|
|
2211
|
+
/**
|
|
2212
|
+
* Use case ID. Empty for system-level events ("General").
|
|
2213
|
+
*/
|
|
2214
|
+
use_case_id?: string;
|
|
2215
|
+
/**
|
|
2216
|
+
* Use case type. Empty for system-level events.
|
|
2217
|
+
*/
|
|
2218
|
+
use_case_type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | "";
|
|
2219
|
+
/**
|
|
2220
|
+
* Event outcome level
|
|
2221
|
+
*/
|
|
2222
|
+
level: "success" | "error" | "skipped" | "warning";
|
|
2223
|
+
/**
|
|
2224
|
+
* Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success.
|
|
2225
|
+
*/
|
|
2226
|
+
code?: string;
|
|
2227
|
+
/**
|
|
2228
|
+
* Human-readable message. Empty when not applicable.
|
|
2229
|
+
*/
|
|
2230
|
+
message?: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* Event-specific JSON data. Structure determined by `code`.
|
|
2233
|
+
*/
|
|
2234
|
+
detail?: {
|
|
2235
|
+
[name: string]: any;
|
|
2236
|
+
} | null;
|
|
2237
|
+
/**
|
|
2238
|
+
* When the monitoring event was created
|
|
2239
|
+
*/
|
|
2240
|
+
created_at: string; // date-time
|
|
2241
|
+
}
|
|
1992
2242
|
export interface MonitoringStats {
|
|
1993
2243
|
/**
|
|
1994
2244
|
* Statistics for inbound (ERP sync) events
|
|
@@ -2069,6 +2319,46 @@ declare namespace Components {
|
|
|
2069
2319
|
}[];
|
|
2070
2320
|
};
|
|
2071
2321
|
}
|
|
2322
|
+
export interface MonitoringStatsV2 {
|
|
2323
|
+
/**
|
|
2324
|
+
* Total number of events in the period
|
|
2325
|
+
*/
|
|
2326
|
+
total_events: number;
|
|
2327
|
+
/**
|
|
2328
|
+
* Number of successful events
|
|
2329
|
+
*/
|
|
2330
|
+
success_count: number;
|
|
2331
|
+
/**
|
|
2332
|
+
* Number of error events
|
|
2333
|
+
*/
|
|
2334
|
+
error_count: number;
|
|
2335
|
+
/**
|
|
2336
|
+
* Number of warning events
|
|
2337
|
+
*/
|
|
2338
|
+
warning_count: number;
|
|
2339
|
+
/**
|
|
2340
|
+
* Number of skipped events
|
|
2341
|
+
*/
|
|
2342
|
+
skipped_count: number;
|
|
2343
|
+
/**
|
|
2344
|
+
* Number of ACK_TIMEOUT events (acknowledgement timed out)
|
|
2345
|
+
*/
|
|
2346
|
+
ack_timeout_count?: number;
|
|
2347
|
+
/**
|
|
2348
|
+
* Success rate as percentage (0-100)
|
|
2349
|
+
*/
|
|
2350
|
+
success_rate?: number; // float
|
|
2351
|
+
/**
|
|
2352
|
+
* Timestamp of the most recent error
|
|
2353
|
+
*/
|
|
2354
|
+
last_error_at?: string | null; // date-time
|
|
2355
|
+
/**
|
|
2356
|
+
* Statistics breakdown by requested group_by field
|
|
2357
|
+
*/
|
|
2358
|
+
breakdown?: {
|
|
2359
|
+
[name: string]: any;
|
|
2360
|
+
}[];
|
|
2361
|
+
}
|
|
2072
2362
|
export interface OutboundConflict {
|
|
2073
2363
|
/**
|
|
2074
2364
|
* Type of conflict:
|
|
@@ -2537,6 +2827,57 @@ declare namespace Components {
|
|
|
2537
2827
|
event_id?: string;
|
|
2538
2828
|
};
|
|
2539
2829
|
}
|
|
2830
|
+
export interface QueryMonitoringEventsV2Request {
|
|
2831
|
+
/**
|
|
2832
|
+
* Filter by use case ID (UUID). Empty string matches "General" events.
|
|
2833
|
+
*/
|
|
2834
|
+
use_case_id?: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* Filter by use case type (replaces direction)
|
|
2837
|
+
*/
|
|
2838
|
+
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
|
|
2839
|
+
/**
|
|
2840
|
+
* Filter by event level
|
|
2841
|
+
*/
|
|
2842
|
+
level?: "success" | "error" | "skipped" | "warning";
|
|
2843
|
+
/**
|
|
2844
|
+
* Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502)
|
|
2845
|
+
*/
|
|
2846
|
+
code?: string;
|
|
2847
|
+
/**
|
|
2848
|
+
* Filter by trigger/inbound event ID
|
|
2849
|
+
*/
|
|
2850
|
+
event_id?: string;
|
|
2851
|
+
/**
|
|
2852
|
+
* Filter by correlation ID for tracing
|
|
2853
|
+
*/
|
|
2854
|
+
correlation_id?: string;
|
|
2855
|
+
/**
|
|
2856
|
+
* Filter events from this date (inclusive)
|
|
2857
|
+
* example:
|
|
2858
|
+
* 2025-01-01T00:00:00Z
|
|
2859
|
+
*/
|
|
2860
|
+
from_date?: string; // date-time
|
|
2861
|
+
/**
|
|
2862
|
+
* Filter events until this date (inclusive)
|
|
2863
|
+
* example:
|
|
2864
|
+
* 2025-01-31T23:59:59Z
|
|
2865
|
+
*/
|
|
2866
|
+
to_date?: string; // date-time
|
|
2867
|
+
/**
|
|
2868
|
+
* Maximum number of results to return
|
|
2869
|
+
* example:
|
|
2870
|
+
* 50
|
|
2871
|
+
*/
|
|
2872
|
+
limit?: number;
|
|
2873
|
+
/**
|
|
2874
|
+
* Cursor for pagination (from previous response's next_cursor)
|
|
2875
|
+
*/
|
|
2876
|
+
cursor?: {
|
|
2877
|
+
created_at?: string; // date-time
|
|
2878
|
+
id?: string; // uuid
|
|
2879
|
+
};
|
|
2880
|
+
}
|
|
2540
2881
|
export interface QueryOutboundMonitoringEventsRequest {
|
|
2541
2882
|
/**
|
|
2542
2883
|
* Filter by event name (event_catalog_event). If not specified, returns events for all linked event names in the integration's outbound use cases.
|
|
@@ -2883,6 +3224,7 @@ declare namespace Components {
|
|
|
2883
3224
|
enabled: boolean;
|
|
2884
3225
|
vpc_mode: "static_ip" | "secure_link";
|
|
2885
3226
|
allowed_domains?: string[];
|
|
3227
|
+
allowed_ips?: string[];
|
|
2886
3228
|
integration_id: string; // uuid
|
|
2887
3229
|
integration_name: string;
|
|
2888
3230
|
}
|
|
@@ -2945,6 +3287,13 @@ declare namespace Components {
|
|
|
2945
3287
|
*
|
|
2946
3288
|
*/
|
|
2947
3289
|
allowed_domains?: string[];
|
|
3290
|
+
/**
|
|
3291
|
+
* IP allowlist (CIDR notation) for secure_link mode. Admin-only — can only be modified directly in DynamoDB via admin script.
|
|
3292
|
+
* Required for secure_link mode. All DNS-resolved IPs must match at least one range.
|
|
3293
|
+
* Example: ["10.0.1.0/24", "192.168.1.0/24"]
|
|
3294
|
+
*
|
|
3295
|
+
*/
|
|
3296
|
+
allowed_ips?: string[];
|
|
2948
3297
|
}
|
|
2949
3298
|
export interface SecureProxyUseCaseHistoryEntry {
|
|
2950
3299
|
/**
|
|
@@ -3036,6 +3385,32 @@ declare namespace Components {
|
|
|
3036
3385
|
total_count?: number;
|
|
3037
3386
|
} | null;
|
|
3038
3387
|
}
|
|
3388
|
+
export interface TimeSeriesBucketV2 {
|
|
3389
|
+
/**
|
|
3390
|
+
* Bucket start timestamp
|
|
3391
|
+
*/
|
|
3392
|
+
timestamp: string; // date-time
|
|
3393
|
+
/**
|
|
3394
|
+
* Number of successful events in the bucket
|
|
3395
|
+
*/
|
|
3396
|
+
success_count?: number;
|
|
3397
|
+
/**
|
|
3398
|
+
* Number of error events in the bucket
|
|
3399
|
+
*/
|
|
3400
|
+
error_count?: number;
|
|
3401
|
+
/**
|
|
3402
|
+
* Number of warning events in the bucket
|
|
3403
|
+
*/
|
|
3404
|
+
warning_count?: number;
|
|
3405
|
+
/**
|
|
3406
|
+
* Number of skipped events in the bucket
|
|
3407
|
+
*/
|
|
3408
|
+
skipped_count?: number;
|
|
3409
|
+
/**
|
|
3410
|
+
* Total events in the bucket
|
|
3411
|
+
*/
|
|
3412
|
+
total_count: number;
|
|
3413
|
+
}
|
|
3039
3414
|
export interface TriggerErpActionRequest {
|
|
3040
3415
|
/**
|
|
3041
3416
|
* Unique identifier of the current automation execution
|
|
@@ -3090,6 +3465,67 @@ declare namespace Components {
|
|
|
3090
3465
|
end_date?: string;
|
|
3091
3466
|
event_id?: string;
|
|
3092
3467
|
}
|
|
3468
|
+
/**
|
|
3469
|
+
* Developer-provided type annotations for a use case's request and response fields
|
|
3470
|
+
*/
|
|
3471
|
+
export interface TypeAnnotations {
|
|
3472
|
+
/**
|
|
3473
|
+
* Type annotations for request fields, keyed by dot-path (e.g., "vendors[].id" -> "string")
|
|
3474
|
+
*/
|
|
3475
|
+
request?: {
|
|
3476
|
+
[name: string]: string;
|
|
3477
|
+
};
|
|
3478
|
+
/**
|
|
3479
|
+
* Type annotations for response fields
|
|
3480
|
+
*/
|
|
3481
|
+
response?: {
|
|
3482
|
+
[name: string]: string;
|
|
3483
|
+
};
|
|
3484
|
+
}
|
|
3485
|
+
/**
|
|
3486
|
+
* Describes the inferred type shape of a JSONata expression
|
|
3487
|
+
*/
|
|
3488
|
+
export interface TypeDescriptor {
|
|
3489
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union";
|
|
3490
|
+
/**
|
|
3491
|
+
* For kind=object, the properties and their type descriptors
|
|
3492
|
+
*/
|
|
3493
|
+
properties?: {
|
|
3494
|
+
[name: string]: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor;
|
|
3495
|
+
};
|
|
3496
|
+
/**
|
|
3497
|
+
* For kind=array, the type of array items
|
|
3498
|
+
*/
|
|
3499
|
+
items?: {
|
|
3500
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union";
|
|
3501
|
+
/**
|
|
3502
|
+
* For kind=object, the properties and their type descriptors
|
|
3503
|
+
*/
|
|
3504
|
+
properties?: {
|
|
3505
|
+
[name: string]: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor;
|
|
3506
|
+
};
|
|
3507
|
+
/**
|
|
3508
|
+
* For kind=array, the type of array items
|
|
3509
|
+
*/
|
|
3510
|
+
items?: any;
|
|
3511
|
+
/**
|
|
3512
|
+
* For kind=unknown, the JSONata path that produced this value
|
|
3513
|
+
*/
|
|
3514
|
+
source?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* For kind=union, the variant types
|
|
3517
|
+
*/
|
|
3518
|
+
variants?: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor[];
|
|
3519
|
+
};
|
|
3520
|
+
/**
|
|
3521
|
+
* For kind=unknown, the JSONata path that produced this value
|
|
3522
|
+
*/
|
|
3523
|
+
source?: string;
|
|
3524
|
+
/**
|
|
3525
|
+
* For kind=union, the variant types
|
|
3526
|
+
*/
|
|
3527
|
+
variants?: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor[];
|
|
3528
|
+
}
|
|
3093
3529
|
export interface UpdateFileProxyUseCaseRequest {
|
|
3094
3530
|
/**
|
|
3095
3531
|
* Use case name
|
|
@@ -3170,6 +3606,7 @@ declare namespace Components {
|
|
|
3170
3606
|
*/
|
|
3171
3607
|
type?: "managed_call";
|
|
3172
3608
|
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
3609
|
+
type_annotations?: /* Developer-provided type annotations for a use case's request and response fields */ TypeAnnotations;
|
|
3173
3610
|
}
|
|
3174
3611
|
export interface UpdateOutboundUseCaseRequest {
|
|
3175
3612
|
/**
|
|
@@ -3369,6 +3806,16 @@ declare namespace Components {
|
|
|
3369
3806
|
*/
|
|
3370
3807
|
history_created_at: string; // date-time
|
|
3371
3808
|
}
|
|
3809
|
+
/**
|
|
3810
|
+
* Scaffolded type descriptors for a single use case
|
|
3811
|
+
*/
|
|
3812
|
+
export interface UseCaseTypePreview {
|
|
3813
|
+
slug: string;
|
|
3814
|
+
name?: string;
|
|
3815
|
+
request_shape: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor;
|
|
3816
|
+
response_shape: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor;
|
|
3817
|
+
existing_annotations?: /* Developer-provided type annotations for a use case's request and response fields */ TypeAnnotations;
|
|
3818
|
+
}
|
|
3372
3819
|
export interface WebhookStatus {
|
|
3373
3820
|
/**
|
|
3374
3821
|
* Unique identifier for the webhook
|
|
@@ -3407,6 +3854,22 @@ declare namespace Paths {
|
|
|
3407
3854
|
}
|
|
3408
3855
|
}
|
|
3409
3856
|
}
|
|
3857
|
+
namespace CommitTypes {
|
|
3858
|
+
namespace Parameters {
|
|
3859
|
+
export type IntegrationId = string; // uuid
|
|
3860
|
+
}
|
|
3861
|
+
export interface PathParameters {
|
|
3862
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
3863
|
+
}
|
|
3864
|
+
export type RequestBody = Components.Schemas.CommitTypesRequest;
|
|
3865
|
+
namespace Responses {
|
|
3866
|
+
export type $200 = Components.Schemas.CommitTypesResponse;
|
|
3867
|
+
export type $400 = Components.Responses.BadRequest;
|
|
3868
|
+
export type $403 = Components.Responses.Forbidden;
|
|
3869
|
+
export type $404 = Components.Responses.NotFound;
|
|
3870
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
3871
|
+
}
|
|
3872
|
+
}
|
|
3410
3873
|
namespace CreateIntegration {
|
|
3411
3874
|
export type RequestBody = Components.Schemas.CreateIntegrationRequest;
|
|
3412
3875
|
namespace Responses {
|
|
@@ -3519,6 +3982,53 @@ declare namespace Paths {
|
|
|
3519
3982
|
export type $500 = Components.Responses.InternalServerError;
|
|
3520
3983
|
}
|
|
3521
3984
|
}
|
|
3985
|
+
namespace GenerateTypes {
|
|
3986
|
+
namespace Parameters {
|
|
3987
|
+
export type IntegrationId = string; // uuid
|
|
3988
|
+
}
|
|
3989
|
+
export interface PathParameters {
|
|
3990
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
3991
|
+
}
|
|
3992
|
+
export type RequestBody = Components.Schemas.GenerateTypesRequest;
|
|
3993
|
+
namespace Responses {
|
|
3994
|
+
export type $200 = Components.Schemas.GenerateTypesResponse;
|
|
3995
|
+
export type $400 = Components.Responses.BadRequest;
|
|
3996
|
+
export type $403 = Components.Responses.Forbidden;
|
|
3997
|
+
export type $404 = Components.Responses.NotFound;
|
|
3998
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
namespace GenerateTypesPreview {
|
|
4002
|
+
namespace Parameters {
|
|
4003
|
+
export type IntegrationId = string; // uuid
|
|
4004
|
+
}
|
|
4005
|
+
export interface PathParameters {
|
|
4006
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
4007
|
+
}
|
|
4008
|
+
namespace Responses {
|
|
4009
|
+
export type $200 = Components.Schemas.GenerateTypesPreviewResponse;
|
|
4010
|
+
export type $400 = Components.Responses.BadRequest;
|
|
4011
|
+
export type $403 = Components.Responses.Forbidden;
|
|
4012
|
+
export type $404 = Components.Responses.NotFound;
|
|
4013
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
4014
|
+
}
|
|
4015
|
+
}
|
|
4016
|
+
namespace GetAssociatedMonitoringEvents {
|
|
4017
|
+
namespace Parameters {
|
|
4018
|
+
export type EventId = string;
|
|
4019
|
+
export type IntegrationId = string; // uuid
|
|
4020
|
+
}
|
|
4021
|
+
export interface PathParameters {
|
|
4022
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
4023
|
+
eventId: Parameters.EventId;
|
|
4024
|
+
}
|
|
4025
|
+
namespace Responses {
|
|
4026
|
+
export type $200 = Components.Responses.GetAssociatedMonitoringEventsResponse;
|
|
4027
|
+
export type $400 = Components.Responses.BadRequest;
|
|
4028
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
4029
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
4030
|
+
}
|
|
4031
|
+
}
|
|
3522
4032
|
namespace GetIntegration {
|
|
3523
4033
|
namespace Parameters {
|
|
3524
4034
|
export type IntegrationId = string; // uuid
|
|
@@ -3565,6 +4075,22 @@ declare namespace Paths {
|
|
|
3565
4075
|
export type $500 = Components.Responses.InternalServerError;
|
|
3566
4076
|
}
|
|
3567
4077
|
}
|
|
4078
|
+
namespace GetMonitoringStatsV2 {
|
|
4079
|
+
namespace Parameters {
|
|
4080
|
+
export type IntegrationId = string; // uuid
|
|
4081
|
+
}
|
|
4082
|
+
export interface PathParameters {
|
|
4083
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
4084
|
+
}
|
|
4085
|
+
export type RequestBody = Components.Schemas.GetMonitoringStatsV2Request;
|
|
4086
|
+
namespace Responses {
|
|
4087
|
+
export type $200 = Components.Responses.GetMonitoringStatsV2Response;
|
|
4088
|
+
export type $400 = Components.Responses.BadRequest;
|
|
4089
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
4090
|
+
export type $404 = Components.Responses.NotFound;
|
|
4091
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
4092
|
+
}
|
|
4093
|
+
}
|
|
3568
4094
|
namespace GetMonitoringTimeSeries {
|
|
3569
4095
|
namespace Parameters {
|
|
3570
4096
|
export type IntegrationId = string; // uuid
|
|
@@ -3581,6 +4107,22 @@ declare namespace Paths {
|
|
|
3581
4107
|
export type $500 = Components.Responses.InternalServerError;
|
|
3582
4108
|
}
|
|
3583
4109
|
}
|
|
4110
|
+
namespace GetMonitoringTimeSeriesV2 {
|
|
4111
|
+
namespace Parameters {
|
|
4112
|
+
export type IntegrationId = string; // uuid
|
|
4113
|
+
}
|
|
4114
|
+
export interface PathParameters {
|
|
4115
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
4116
|
+
}
|
|
4117
|
+
export type RequestBody = Components.Schemas.GetMonitoringTimeSeriesV2Request;
|
|
4118
|
+
namespace Responses {
|
|
4119
|
+
export type $200 = Components.Responses.GetMonitoringTimeSeriesV2Response;
|
|
4120
|
+
export type $400 = Components.Responses.BadRequest;
|
|
4121
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
4122
|
+
export type $404 = Components.Responses.NotFound;
|
|
4123
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
3584
4126
|
namespace GetOutboundStatus {
|
|
3585
4127
|
namespace Parameters {
|
|
3586
4128
|
export type IntegrationId = string; // uuid
|
|
@@ -3808,6 +4350,22 @@ declare namespace Paths {
|
|
|
3808
4350
|
export type $500 = Components.Responses.InternalServerError;
|
|
3809
4351
|
}
|
|
3810
4352
|
}
|
|
4353
|
+
namespace QueryMonitoringEventsV2 {
|
|
4354
|
+
namespace Parameters {
|
|
4355
|
+
export type IntegrationId = string; // uuid
|
|
4356
|
+
}
|
|
4357
|
+
export interface PathParameters {
|
|
4358
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
4359
|
+
}
|
|
4360
|
+
export type RequestBody = Components.Schemas.QueryMonitoringEventsV2Request;
|
|
4361
|
+
namespace Responses {
|
|
4362
|
+
export type $200 = Components.Responses.QueryMonitoringEventsV2Response;
|
|
4363
|
+
export type $400 = Components.Responses.BadRequest;
|
|
4364
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
4365
|
+
export type $404 = Components.Responses.NotFound;
|
|
4366
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
4367
|
+
}
|
|
4368
|
+
}
|
|
3811
4369
|
namespace QueryOutboundMonitoringEvents {
|
|
3812
4370
|
namespace Parameters {
|
|
3813
4371
|
export type IntegrationId = string; // uuid
|
|
@@ -4346,6 +4904,56 @@ interface OperationMethods {
|
|
|
4346
4904
|
data?: Paths.QueryOutboundMonitoringEvents.RequestBody,
|
|
4347
4905
|
config?: AxiosRequestConfig
|
|
4348
4906
|
): OperationResponse<Paths.QueryOutboundMonitoringEvents.Responses.$200>
|
|
4907
|
+
/**
|
|
4908
|
+
* queryMonitoringEventsV2 - queryMonitoringEventsV2
|
|
4909
|
+
*
|
|
4910
|
+
* Query monitoring events from the unified erp_monitoring_v2 table.
|
|
4911
|
+
* Returns all event types (inbound, outbound, file_proxy, etc.) in a single list.
|
|
4912
|
+
* Replaces the separate v1 inbound-events and outbound-events endpoints.
|
|
4913
|
+
*
|
|
4914
|
+
*/
|
|
4915
|
+
'queryMonitoringEventsV2'(
|
|
4916
|
+
parameters?: Parameters<Paths.QueryMonitoringEventsV2.PathParameters> | null,
|
|
4917
|
+
data?: Paths.QueryMonitoringEventsV2.RequestBody,
|
|
4918
|
+
config?: AxiosRequestConfig
|
|
4919
|
+
): OperationResponse<Paths.QueryMonitoringEventsV2.Responses.$200>
|
|
4920
|
+
/**
|
|
4921
|
+
* getMonitoringStatsV2 - getMonitoringStatsV2
|
|
4922
|
+
*
|
|
4923
|
+
* Get aggregated statistics from the unified erp_monitoring_v2 table.
|
|
4924
|
+
* Returns combined metrics for all event types with optional breakdowns.
|
|
4925
|
+
*
|
|
4926
|
+
*/
|
|
4927
|
+
'getMonitoringStatsV2'(
|
|
4928
|
+
parameters?: Parameters<Paths.GetMonitoringStatsV2.PathParameters> | null,
|
|
4929
|
+
data?: Paths.GetMonitoringStatsV2.RequestBody,
|
|
4930
|
+
config?: AxiosRequestConfig
|
|
4931
|
+
): OperationResponse<Paths.GetMonitoringStatsV2.Responses.$200>
|
|
4932
|
+
/**
|
|
4933
|
+
* getMonitoringTimeSeriesV2 - getMonitoringTimeSeriesV2
|
|
4934
|
+
*
|
|
4935
|
+
* Get time-series aggregated event counts from the unified erp_monitoring_v2 table.
|
|
4936
|
+
* Returns bucketed counts for chart rendering.
|
|
4937
|
+
*
|
|
4938
|
+
*/
|
|
4939
|
+
'getMonitoringTimeSeriesV2'(
|
|
4940
|
+
parameters?: Parameters<Paths.GetMonitoringTimeSeriesV2.PathParameters> | null,
|
|
4941
|
+
data?: Paths.GetMonitoringTimeSeriesV2.RequestBody,
|
|
4942
|
+
config?: AxiosRequestConfig
|
|
4943
|
+
): OperationResponse<Paths.GetMonitoringTimeSeriesV2.Responses.$200>
|
|
4944
|
+
/**
|
|
4945
|
+
* getAssociatedMonitoringEvents - getAssociatedMonitoringEvents
|
|
4946
|
+
*
|
|
4947
|
+
* Returns all monitoring events sharing the same event_id, ordered chronologically.
|
|
4948
|
+
* Also includes the original inbound event payload from erp_incoming_events if available.
|
|
4949
|
+
* Used to display a full event trace/timeline.
|
|
4950
|
+
*
|
|
4951
|
+
*/
|
|
4952
|
+
'getAssociatedMonitoringEvents'(
|
|
4953
|
+
parameters?: Parameters<Paths.GetAssociatedMonitoringEvents.PathParameters> | null,
|
|
4954
|
+
data?: any,
|
|
4955
|
+
config?: AxiosRequestConfig
|
|
4956
|
+
): OperationResponse<Paths.GetAssociatedMonitoringEvents.Responses.$200>
|
|
4349
4957
|
/**
|
|
4350
4958
|
* listSecureProxies - List all secure proxy use cases
|
|
4351
4959
|
*
|
|
@@ -4383,6 +4991,39 @@ interface OperationMethods {
|
|
|
4383
4991
|
data?: Paths.ManagedCallExecute.RequestBody,
|
|
4384
4992
|
config?: AxiosRequestConfig
|
|
4385
4993
|
): OperationResponse<Paths.ManagedCallExecute.Responses.$200>
|
|
4994
|
+
/**
|
|
4995
|
+
* generateTypesPreview - Preview scaffolded types for a connector integration
|
|
4996
|
+
*
|
|
4997
|
+
* Analyses the JSONata mappings of all managed-call use cases in the integration and returns scaffolded type descriptors. The frontend uses these to show the type editor modal where developers fill in leaf types.
|
|
4998
|
+
*
|
|
4999
|
+
*/
|
|
5000
|
+
'generateTypesPreview'(
|
|
5001
|
+
parameters?: Parameters<Paths.GenerateTypesPreview.PathParameters> | null,
|
|
5002
|
+
data?: any,
|
|
5003
|
+
config?: AxiosRequestConfig
|
|
5004
|
+
): OperationResponse<Paths.GenerateTypesPreview.Responses.$200>
|
|
5005
|
+
/**
|
|
5006
|
+
* generateTypes - Generate a TypeScript npm package for a connector integration
|
|
5007
|
+
*
|
|
5008
|
+
* Generates a complete TypeScript npm package with typed interfaces for all managed-call use cases. This is a stateless operation that does not persist any changes. Use the commit-types endpoint to lock configurations after review.
|
|
5009
|
+
*
|
|
5010
|
+
*/
|
|
5011
|
+
'generateTypes'(
|
|
5012
|
+
parameters?: Parameters<Paths.GenerateTypes.PathParameters> | null,
|
|
5013
|
+
data?: Paths.GenerateTypes.RequestBody,
|
|
5014
|
+
config?: AxiosRequestConfig
|
|
5015
|
+
): OperationResponse<Paths.GenerateTypes.Responses.$200>
|
|
5016
|
+
/**
|
|
5017
|
+
* commitTypes - Commit generated types and lock use case configurations
|
|
5018
|
+
*
|
|
5019
|
+
* Commits the generated types by locking use case configurations and updating version tracking. Should be called after the user reviews and downloads the generated package.
|
|
5020
|
+
*
|
|
5021
|
+
*/
|
|
5022
|
+
'commitTypes'(
|
|
5023
|
+
parameters?: Parameters<Paths.CommitTypes.PathParameters> | null,
|
|
5024
|
+
data?: Paths.CommitTypes.RequestBody,
|
|
5025
|
+
config?: AxiosRequestConfig
|
|
5026
|
+
): OperationResponse<Paths.CommitTypes.Responses.$200>
|
|
4386
5027
|
}
|
|
4387
5028
|
|
|
4388
5029
|
interface PathsDictionary {
|
|
@@ -4809,6 +5450,64 @@ interface PathsDictionary {
|
|
|
4809
5450
|
config?: AxiosRequestConfig
|
|
4810
5451
|
): OperationResponse<Paths.QueryOutboundMonitoringEvents.Responses.$200>
|
|
4811
5452
|
}
|
|
5453
|
+
['/v2/integrations/{integrationId}/monitoring/events']: {
|
|
5454
|
+
/**
|
|
5455
|
+
* queryMonitoringEventsV2 - queryMonitoringEventsV2
|
|
5456
|
+
*
|
|
5457
|
+
* Query monitoring events from the unified erp_monitoring_v2 table.
|
|
5458
|
+
* Returns all event types (inbound, outbound, file_proxy, etc.) in a single list.
|
|
5459
|
+
* Replaces the separate v1 inbound-events and outbound-events endpoints.
|
|
5460
|
+
*
|
|
5461
|
+
*/
|
|
5462
|
+
'post'(
|
|
5463
|
+
parameters?: Parameters<Paths.QueryMonitoringEventsV2.PathParameters> | null,
|
|
5464
|
+
data?: Paths.QueryMonitoringEventsV2.RequestBody,
|
|
5465
|
+
config?: AxiosRequestConfig
|
|
5466
|
+
): OperationResponse<Paths.QueryMonitoringEventsV2.Responses.$200>
|
|
5467
|
+
}
|
|
5468
|
+
['/v2/integrations/{integrationId}/monitoring/stats']: {
|
|
5469
|
+
/**
|
|
5470
|
+
* getMonitoringStatsV2 - getMonitoringStatsV2
|
|
5471
|
+
*
|
|
5472
|
+
* Get aggregated statistics from the unified erp_monitoring_v2 table.
|
|
5473
|
+
* Returns combined metrics for all event types with optional breakdowns.
|
|
5474
|
+
*
|
|
5475
|
+
*/
|
|
5476
|
+
'post'(
|
|
5477
|
+
parameters?: Parameters<Paths.GetMonitoringStatsV2.PathParameters> | null,
|
|
5478
|
+
data?: Paths.GetMonitoringStatsV2.RequestBody,
|
|
5479
|
+
config?: AxiosRequestConfig
|
|
5480
|
+
): OperationResponse<Paths.GetMonitoringStatsV2.Responses.$200>
|
|
5481
|
+
}
|
|
5482
|
+
['/v2/integrations/{integrationId}/monitoring/time-series']: {
|
|
5483
|
+
/**
|
|
5484
|
+
* getMonitoringTimeSeriesV2 - getMonitoringTimeSeriesV2
|
|
5485
|
+
*
|
|
5486
|
+
* Get time-series aggregated event counts from the unified erp_monitoring_v2 table.
|
|
5487
|
+
* Returns bucketed counts for chart rendering.
|
|
5488
|
+
*
|
|
5489
|
+
*/
|
|
5490
|
+
'post'(
|
|
5491
|
+
parameters?: Parameters<Paths.GetMonitoringTimeSeriesV2.PathParameters> | null,
|
|
5492
|
+
data?: Paths.GetMonitoringTimeSeriesV2.RequestBody,
|
|
5493
|
+
config?: AxiosRequestConfig
|
|
5494
|
+
): OperationResponse<Paths.GetMonitoringTimeSeriesV2.Responses.$200>
|
|
5495
|
+
}
|
|
5496
|
+
['/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated']: {
|
|
5497
|
+
/**
|
|
5498
|
+
* getAssociatedMonitoringEvents - getAssociatedMonitoringEvents
|
|
5499
|
+
*
|
|
5500
|
+
* Returns all monitoring events sharing the same event_id, ordered chronologically.
|
|
5501
|
+
* Also includes the original inbound event payload from erp_incoming_events if available.
|
|
5502
|
+
* Used to display a full event trace/timeline.
|
|
5503
|
+
*
|
|
5504
|
+
*/
|
|
5505
|
+
'get'(
|
|
5506
|
+
parameters?: Parameters<Paths.GetAssociatedMonitoringEvents.PathParameters> | null,
|
|
5507
|
+
data?: any,
|
|
5508
|
+
config?: AxiosRequestConfig
|
|
5509
|
+
): OperationResponse<Paths.GetAssociatedMonitoringEvents.Responses.$200>
|
|
5510
|
+
}
|
|
4812
5511
|
['/v1/integrations/secure-proxies']: {
|
|
4813
5512
|
/**
|
|
4814
5513
|
* listSecureProxies - List all secure proxy use cases
|
|
@@ -4852,6 +5551,45 @@ interface PathsDictionary {
|
|
|
4852
5551
|
config?: AxiosRequestConfig
|
|
4853
5552
|
): OperationResponse<Paths.ManagedCallExecute.Responses.$200>
|
|
4854
5553
|
}
|
|
5554
|
+
['/v1/integrations/{integrationId}/generate-types-preview']: {
|
|
5555
|
+
/**
|
|
5556
|
+
* generateTypesPreview - Preview scaffolded types for a connector integration
|
|
5557
|
+
*
|
|
5558
|
+
* Analyses the JSONata mappings of all managed-call use cases in the integration and returns scaffolded type descriptors. The frontend uses these to show the type editor modal where developers fill in leaf types.
|
|
5559
|
+
*
|
|
5560
|
+
*/
|
|
5561
|
+
'post'(
|
|
5562
|
+
parameters?: Parameters<Paths.GenerateTypesPreview.PathParameters> | null,
|
|
5563
|
+
data?: any,
|
|
5564
|
+
config?: AxiosRequestConfig
|
|
5565
|
+
): OperationResponse<Paths.GenerateTypesPreview.Responses.$200>
|
|
5566
|
+
}
|
|
5567
|
+
['/v1/integrations/{integrationId}/generate-types']: {
|
|
5568
|
+
/**
|
|
5569
|
+
* generateTypes - Generate a TypeScript npm package for a connector integration
|
|
5570
|
+
*
|
|
5571
|
+
* Generates a complete TypeScript npm package with typed interfaces for all managed-call use cases. This is a stateless operation that does not persist any changes. Use the commit-types endpoint to lock configurations after review.
|
|
5572
|
+
*
|
|
5573
|
+
*/
|
|
5574
|
+
'post'(
|
|
5575
|
+
parameters?: Parameters<Paths.GenerateTypes.PathParameters> | null,
|
|
5576
|
+
data?: Paths.GenerateTypes.RequestBody,
|
|
5577
|
+
config?: AxiosRequestConfig
|
|
5578
|
+
): OperationResponse<Paths.GenerateTypes.Responses.$200>
|
|
5579
|
+
}
|
|
5580
|
+
['/v1/integrations/{integrationId}/commit-types']: {
|
|
5581
|
+
/**
|
|
5582
|
+
* commitTypes - Commit generated types and lock use case configurations
|
|
5583
|
+
*
|
|
5584
|
+
* Commits the generated types by locking use case configurations and updating version tracking. Should be called after the user reviews and downloads the generated package.
|
|
5585
|
+
*
|
|
5586
|
+
*/
|
|
5587
|
+
'post'(
|
|
5588
|
+
parameters?: Parameters<Paths.CommitTypes.PathParameters> | null,
|
|
5589
|
+
data?: Paths.CommitTypes.RequestBody,
|
|
5590
|
+
config?: AxiosRequestConfig
|
|
5591
|
+
): OperationResponse<Paths.CommitTypes.Responses.$200>
|
|
5592
|
+
}
|
|
4855
5593
|
}
|
|
4856
5594
|
|
|
4857
5595
|
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
@@ -4859,6 +5597,8 @@ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
|
4859
5597
|
|
|
4860
5598
|
type AccessLogEntry = Components.Schemas.AccessLogEntry;
|
|
4861
5599
|
type AutoRefreshSettings = Components.Schemas.AutoRefreshSettings;
|
|
5600
|
+
type CommitTypesRequest = Components.Schemas.CommitTypesRequest;
|
|
5601
|
+
type CommitTypesResponse = Components.Schemas.CommitTypesResponse;
|
|
4862
5602
|
type ConnectorConfig = Components.Schemas.ConnectorConfig;
|
|
4863
5603
|
type CreateFileProxyUseCaseRequest = Components.Schemas.CreateFileProxyUseCaseRequest;
|
|
4864
5604
|
type CreateInboundUseCaseRequest = Components.Schemas.CreateInboundUseCaseRequest;
|
|
@@ -4895,8 +5635,13 @@ type FileProxyUrlParams = Components.Schemas.FileProxyUrlParams;
|
|
|
4895
5635
|
type FileProxyUseCase = Components.Schemas.FileProxyUseCase;
|
|
4896
5636
|
type FileProxyUseCaseConfiguration = Components.Schemas.FileProxyUseCaseConfiguration;
|
|
4897
5637
|
type FileProxyUseCaseHistoryEntry = Components.Schemas.FileProxyUseCaseHistoryEntry;
|
|
5638
|
+
type GenerateTypesPreviewResponse = Components.Schemas.GenerateTypesPreviewResponse;
|
|
5639
|
+
type GenerateTypesRequest = Components.Schemas.GenerateTypesRequest;
|
|
5640
|
+
type GenerateTypesResponse = Components.Schemas.GenerateTypesResponse;
|
|
4898
5641
|
type GetMonitoringStatsRequest = Components.Schemas.GetMonitoringStatsRequest;
|
|
5642
|
+
type GetMonitoringStatsV2Request = Components.Schemas.GetMonitoringStatsV2Request;
|
|
4899
5643
|
type GetMonitoringTimeSeriesRequest = Components.Schemas.GetMonitoringTimeSeriesRequest;
|
|
5644
|
+
type GetMonitoringTimeSeriesV2Request = Components.Schemas.GetMonitoringTimeSeriesV2Request;
|
|
4900
5645
|
type InboundIntegrationEventConfiguration = Components.Schemas.InboundIntegrationEventConfiguration;
|
|
4901
5646
|
type InboundMonitoringEvent = Components.Schemas.InboundMonitoringEvent;
|
|
4902
5647
|
type InboundUseCase = Components.Schemas.InboundUseCase;
|
|
@@ -4928,7 +5673,9 @@ type MappingSimulationWarning = Components.Schemas.MappingSimulationWarning;
|
|
|
4928
5673
|
type MeterReadingPruneScopeConfig = Components.Schemas.MeterReadingPruneScopeConfig;
|
|
4929
5674
|
type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
|
|
4930
5675
|
type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
|
|
5676
|
+
type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
|
|
4931
5677
|
type MonitoringStats = Components.Schemas.MonitoringStats;
|
|
5678
|
+
type MonitoringStatsV2 = Components.Schemas.MonitoringStatsV2;
|
|
4932
5679
|
type OutboundConflict = Components.Schemas.OutboundConflict;
|
|
4933
5680
|
type OutboundIntegrationEventConfiguration = Components.Schemas.OutboundIntegrationEventConfiguration;
|
|
4934
5681
|
type OutboundMapping = Components.Schemas.OutboundMapping;
|
|
@@ -4941,6 +5688,7 @@ type PruneScopeConfig = Components.Schemas.PruneScopeConfig;
|
|
|
4941
5688
|
type QueryAccessLogsRequest = Components.Schemas.QueryAccessLogsRequest;
|
|
4942
5689
|
type QueryEventsRequest = Components.Schemas.QueryEventsRequest;
|
|
4943
5690
|
type QueryInboundMonitoringEventsRequest = Components.Schemas.QueryInboundMonitoringEventsRequest;
|
|
5691
|
+
type QueryMonitoringEventsV2Request = Components.Schemas.QueryMonitoringEventsV2Request;
|
|
4944
5692
|
type QueryOutboundMonitoringEventsRequest = Components.Schemas.QueryOutboundMonitoringEventsRequest;
|
|
4945
5693
|
type RelationConfig = Components.Schemas.RelationConfig;
|
|
4946
5694
|
type RelationItemConfig = Components.Schemas.RelationItemConfig;
|
|
@@ -4958,8 +5706,11 @@ type SecureProxyUseCaseConfiguration = Components.Schemas.SecureProxyUseCaseConf
|
|
|
4958
5706
|
type SecureProxyUseCaseHistoryEntry = Components.Schemas.SecureProxyUseCaseHistoryEntry;
|
|
4959
5707
|
type SetIntegrationAppMappingRequest = Components.Schemas.SetIntegrationAppMappingRequest;
|
|
4960
5708
|
type TimeSeriesBucket = Components.Schemas.TimeSeriesBucket;
|
|
5709
|
+
type TimeSeriesBucketV2 = Components.Schemas.TimeSeriesBucketV2;
|
|
4961
5710
|
type TriggerErpActionRequest = Components.Schemas.TriggerErpActionRequest;
|
|
4962
5711
|
type TriggerWebhookResp = Components.Schemas.TriggerWebhookResp;
|
|
5712
|
+
type TypeAnnotations = Components.Schemas.TypeAnnotations;
|
|
5713
|
+
type TypeDescriptor = Components.Schemas.TypeDescriptor;
|
|
4963
5714
|
type UpdateFileProxyUseCaseRequest = Components.Schemas.UpdateFileProxyUseCaseRequest;
|
|
4964
5715
|
type UpdateInboundUseCaseRequest = Components.Schemas.UpdateInboundUseCaseRequest;
|
|
4965
5716
|
type UpdateIntegrationRequest = Components.Schemas.UpdateIntegrationRequest;
|
|
@@ -4973,6 +5724,7 @@ type UseCase = Components.Schemas.UseCase;
|
|
|
4973
5724
|
type UseCaseBase = Components.Schemas.UseCaseBase;
|
|
4974
5725
|
type UseCaseHistoryEntry = Components.Schemas.UseCaseHistoryEntry;
|
|
4975
5726
|
type UseCaseHistoryEntryBase = Components.Schemas.UseCaseHistoryEntryBase;
|
|
5727
|
+
type UseCaseTypePreview = Components.Schemas.UseCaseTypePreview;
|
|
4976
5728
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
4977
5729
|
|
|
4978
|
-
export { type
|
|
5730
|
+
export { type InboundMonitoringEvent as $, type AccessLogEntry as A, type ErpUpdatesEventsV3Request as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type ErrorResponseBase as F, type FileProxyAuth as G, type FileProxyParam as H, type FileProxyResponseConfig as I, type FileProxySecureProxyAttachment as J, type FileProxyStep as K, type FileProxyUrlConfig as L, type FileProxyUrlParam as M, type FileProxyUrlParams as N, type OperationMethods as O, Paths as P, type FileProxyUseCase as Q, type FileProxyUseCaseConfiguration as R, type FileProxyUseCaseHistoryEntry as S, type GenerateTypesPreviewResponse as T, type GenerateTypesRequest as U, type GenerateTypesResponse as V, type GetMonitoringStatsRequest as W, type GetMonitoringStatsV2Request as X, type GetMonitoringTimeSeriesRequest as Y, type GetMonitoringTimeSeriesV2Request as Z, type InboundIntegrationEventConfiguration as _, Components as a, type TriggerErpActionRequest as a$, type InboundUseCase as a0, type InboundUseCaseHistoryEntry as a1, type Integration as a2, type IntegrationAppMapping as a3, type IntegrationConfigurationV1 as a4, type IntegrationConfigurationV2 as a5, type IntegrationEditableFields as a6, type IntegrationEntity as a7, type IntegrationEntityField as a8, type IntegrationFieldV1 as a9, type OutboundStatusResponse as aA, type OutboundUseCase as aB, type OutboundUseCaseHistoryEntry as aC, type OutboundUseCaseStatus as aD, type PruneScopeConfig as aE, type QueryAccessLogsRequest as aF, type QueryEventsRequest as aG, type QueryInboundMonitoringEventsRequest as aH, type QueryMonitoringEventsV2Request as aI, type QueryOutboundMonitoringEventsRequest as aJ, type RelationConfig as aK, type RelationItemConfig as aL, type RelationRefItemConfig as aM, type RelationRefValueConfig as aN, type RelationRefsConfig as aO, type RelationUniqueIdField as aP, type RepeatableFieldType as aQ, type ReplayEventsRequest as aR, type SecureProxyRequest as aS, type SecureProxyResponse as aT, type SecureProxySummary as aU, type SecureProxyUseCase as aV, type SecureProxyUseCaseConfiguration as aW, type SecureProxyUseCaseHistoryEntry as aX, type SetIntegrationAppMappingRequest as aY, type TimeSeriesBucket as aZ, type TimeSeriesBucketV2 as a_, type IntegrationMeterReading as aa, type IntegrationObjectV1 as ab, type IntegrationSettings as ac, type IntegrationWithUseCases as ad, type ManagedCallAuth as ae, type ManagedCallErrorResponse as af, type ManagedCallExecuteRequest as ag, type ManagedCallExecuteResponse as ah, type ManagedCallOperation as ai, type ManagedCallOperationConfig as aj, type ManagedCallUseCase as ak, type ManagedCallUseCaseHistoryEntry as al, type MappingSimulationRequest as am, type MappingSimulationResponse as an, type MappingSimulationV2Request as ao, type MappingSimulationWarning as ap, type MeterReadingPruneScopeConfig as aq, type MeterReadingUpdate as ar, type MeterUniqueIdsConfig as as, type MonitoringEventV2 as at, type MonitoringStats as au, type MonitoringStatsV2 as av, type OutboundConflict as aw, type OutboundIntegrationEventConfiguration as ax, type OutboundMapping as ay, type OutboundMonitoringEvent as az, type PathsDictionary as b, type TriggerWebhookResp as b0, type TypeAnnotations as b1, type TypeDescriptor as b2, type UpdateFileProxyUseCaseRequest as b3, type UpdateInboundUseCaseRequest as b4, type UpdateIntegrationRequest as b5, type UpdateManagedCallUseCaseRequest as b6, type UpdateOutboundUseCaseRequest as b7, type UpdateSecureProxyUseCaseRequest as b8, type UpdateUseCaseRequest as b9, type UpdateUseCaseRequestBase as ba, type UpsertIntegrationWithUseCasesRequest as bb, type UseCase as bc, type UseCaseBase as bd, type UseCaseHistoryEntry as be, type UseCaseHistoryEntryBase as bf, type UseCaseTypePreview as bg, type WebhookStatus as bh, type AutoRefreshSettings as c, type CommitTypesRequest as d, type CommitTypesResponse as e, type ConnectorConfig as f, type CreateFileProxyUseCaseRequest as g, type CreateInboundUseCaseRequest as h, type CreateIntegrationRequest as i, type CreateManagedCallUseCaseRequest as j, type CreateOutboundUseCaseRequest as k, type CreateSecureProxyUseCaseRequest as l, type CreateUseCaseRequest as m, type CreateUseCaseRequestBase as n, type DeliveryConfig as o, type EmbeddedInboundUseCaseRequest as p, type EmbeddedManagedCallUseCaseRequest as q, type EmbeddedOutboundUseCaseRequest as r, type EmbeddedSecureProxyUseCaseRequest as s, type EmbeddedUseCaseRequest as t, type EmbeddedUseCaseRequestBase as u, type EntityUpdate as v, type EnvironmentFieldConfig as w, type ErpEvent as x, type ErpEventV3 as y, type ErpUpdatesEventsV2Request as z };
|