@epilot/erp-integration-client 0.20.2 → 0.21.0

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.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "ERP Integration API",
5
- "version": "0.35.0",
5
+ "version": "0.25.0",
6
6
  "description": "API for integrating with ERP systems, handling tracking acknowledgments, triggering ERP processes, and processing ERP updates."
7
7
  },
8
8
  "tags": [
@@ -128,7 +128,6 @@
128
128
  },
129
129
  "/v1/erp/updates/events": {
130
130
  "post": {
131
- "deprecated": true,
132
131
  "operationId": "processErpUpdatesEvents",
133
132
  "summary": "processErpUpdatesEvents",
134
133
  "description": "Handles updates from ERP systems and tracks them appropriately",
@@ -215,6 +214,9 @@
215
214
  "401": {
216
215
  "$ref": "#/components/responses/Unauthorized"
217
216
  },
217
+ "422": {
218
+ "$ref": "#/components/responses/ERPUpdatesResponse"
219
+ },
218
220
  "500": {
219
221
  "$ref": "#/components/responses/InternalServerError"
220
222
  }
@@ -223,7 +225,6 @@
223
225
  },
224
226
  "/v2/erp/updates/events": {
225
227
  "post": {
226
- "deprecated": true,
227
228
  "operationId": "processErpUpdatesEventsV2",
228
229
  "summary": "processErpUpdatesEventsV2",
229
230
  "description": "Handles updates from ERP systems using integration_id directly.\nThis is the v2 version that simplifies the API by accepting integration_id\ninstead of app_id and component_id.\n",
@@ -271,59 +272,9 @@
271
272
  "401": {
272
273
  "$ref": "#/components/responses/Unauthorized"
273
274
  },
274
- "500": {
275
- "$ref": "#/components/responses/InternalServerError"
276
- }
277
- }
278
- }
279
- },
280
- "/v3/erp/updates/events": {
281
- "post": {
282
- "operationId": "processErpUpdatesEventsV3",
283
- "summary": "processErpUpdatesEventsV3",
284
- "description": "Handles updates from ERP systems using integration_id directly.\nThis is the v3 version that removes the unused event_type field and renames object_type to event_name\nto align with the integration UI naming.\n",
285
- "tags": [
286
- "erp"
287
- ],
288
- "requestBody": {
289
- "content": {
290
- "application/json": {
291
- "schema": {
292
- "$ref": "#/components/schemas/ErpUpdatesEventsV3Request"
293
- },
294
- "example": {
295
- "integration_id": "123e4567-e89b-12d3-a456-426614174000",
296
- "correlation_id": "req-789e4567-e89b-12d3-a456-426614174000",
297
- "events": [
298
- {
299
- "event_name": "business_partner",
300
- "timestamp": "2025-05-01T08:30:00Z",
301
- "format": "json",
302
- "payload": "{\"id\":\"BP10001\",\"name\":\"Acme Corporation\",\"type\":\"organization\",\"tax_id\":\"DE123456789\",\"status\":\"active\"}",
303
- "deduplication_id": "bp-create-20250501-083000-001"
304
- },
305
- {
306
- "event_name": "contract_account",
307
- "timestamp": "2025-05-01T08:35:00Z",
308
- "format": "json",
309
- "payload": "{\"id\":\"CA20001\",\"business_partner_id\":\"BP10001\",\"status\":\"active\",\"payment_method\":\"direct_debit\"}",
310
- "deduplication_id": "ca-update-20250501-083500-001"
311
- }
312
- ]
313
- }
314
- }
315
- }
316
- },
317
- "responses": {
318
- "200": {
275
+ "422": {
319
276
  "$ref": "#/components/responses/ERPUpdatesResponse"
320
277
  },
321
- "400": {
322
- "$ref": "#/components/responses/BadRequest"
323
- },
324
- "401": {
325
- "$ref": "#/components/responses/Unauthorized"
326
- },
327
278
  "500": {
328
279
  "$ref": "#/components/responses/InternalServerError"
329
280
  }
@@ -1831,6 +1782,103 @@
1831
1782
  }
1832
1783
  }
1833
1784
  },
1785
+ "/v2/integrations/{integrationId}/environment": {
1786
+ "get": {
1787
+ "operationId": "getIntegrationEnvironment",
1788
+ "summary": "getIntegrationEnvironment",
1789
+ "description": "Retrieve the environment configuration for an integration.\nSecret values are masked and replaced with \"****\" to prevent exposure.\n",
1790
+ "tags": [
1791
+ "integrations"
1792
+ ],
1793
+ "parameters": [
1794
+ {
1795
+ "name": "integrationId",
1796
+ "in": "path",
1797
+ "required": true,
1798
+ "description": "The integration ID",
1799
+ "schema": {
1800
+ "type": "string",
1801
+ "format": "uuid"
1802
+ }
1803
+ }
1804
+ ],
1805
+ "responses": {
1806
+ "200": {
1807
+ "description": "Successfully retrieved environment",
1808
+ "content": {
1809
+ "application/json": {
1810
+ "schema": {
1811
+ "$ref": "#/components/schemas/IntegrationEnvironment"
1812
+ }
1813
+ }
1814
+ }
1815
+ },
1816
+ "401": {
1817
+ "$ref": "#/components/responses/Unauthorized"
1818
+ },
1819
+ "404": {
1820
+ "description": "Integration not found"
1821
+ },
1822
+ "500": {
1823
+ "$ref": "#/components/responses/InternalServerError"
1824
+ }
1825
+ }
1826
+ },
1827
+ "patch": {
1828
+ "operationId": "updateIntegrationEnvironment",
1829
+ "summary": "updateIntegrationEnvironment",
1830
+ "description": "Update the environment configuration for an integration.\nSupports partial updates - only provided values are modified.\nSecret values can be updated by providing the actual value in the secrets field.\nTo keep existing secrets, omit them from the request.\nTo clear a value, set it to null.\n",
1831
+ "tags": [
1832
+ "integrations"
1833
+ ],
1834
+ "parameters": [
1835
+ {
1836
+ "name": "integrationId",
1837
+ "in": "path",
1838
+ "required": true,
1839
+ "description": "The integration ID",
1840
+ "schema": {
1841
+ "type": "string",
1842
+ "format": "uuid"
1843
+ }
1844
+ }
1845
+ ],
1846
+ "requestBody": {
1847
+ "required": true,
1848
+ "content": {
1849
+ "application/json": {
1850
+ "schema": {
1851
+ "$ref": "#/components/schemas/UpdateIntegrationEnvironmentRequest"
1852
+ }
1853
+ }
1854
+ }
1855
+ },
1856
+ "responses": {
1857
+ "200": {
1858
+ "description": "Environment updated successfully",
1859
+ "content": {
1860
+ "application/json": {
1861
+ "schema": {
1862
+ "$ref": "#/components/schemas/IntegrationEnvironment"
1863
+ }
1864
+ }
1865
+ }
1866
+ },
1867
+ "400": {
1868
+ "$ref": "#/components/responses/BadRequest"
1869
+ },
1870
+ "401": {
1871
+ "$ref": "#/components/responses/Unauthorized"
1872
+ },
1873
+ "404": {
1874
+ "description": "Integration not found"
1875
+ },
1876
+ "500": {
1877
+ "$ref": "#/components/responses/InternalServerError"
1878
+ }
1879
+ }
1880
+ }
1881
+ },
1834
1882
  "/v1/integrations/{integrationId}/app-mapping": {
1835
1883
  "put": {
1836
1884
  "operationId": "setIntegrationAppMapping",
@@ -1956,11 +2004,11 @@
1956
2004
  }
1957
2005
  }
1958
2006
  },
1959
- "/v1/integrations/{integrationId}/monitoring/inbound-events": {
2007
+ "/v1/integrations/{integrationId}/monitoring/events": {
1960
2008
  "post": {
1961
- "operationId": "queryInboundMonitoringEvents",
1962
- "summary": "queryInboundMonitoringEvents",
1963
- "description": "Query inbound monitoring events for a specific integration.\nReturns detailed information about inbound sync events from ERP systems,\nincluding success rates, error breakdowns, and processing metrics.\n",
2009
+ "operationId": "queryMonitoringEvents",
2010
+ "summary": "queryMonitoringEvents",
2011
+ "description": "Query ERP sync monitoring events for a specific integration.\nReturns detailed information about inbound/outbound sync events,\nincluding success rates, error breakdowns, and processing metrics.\n",
1964
2012
  "tags": [
1965
2013
  "monitoring",
1966
2014
  "integrations"
@@ -1982,14 +2030,14 @@
1982
2030
  "content": {
1983
2031
  "application/json": {
1984
2032
  "schema": {
1985
- "$ref": "#/components/schemas/QueryInboundMonitoringEventsRequest"
2033
+ "$ref": "#/components/schemas/QueryMonitoringEventsRequest"
1986
2034
  }
1987
2035
  }
1988
2036
  }
1989
2037
  },
1990
2038
  "responses": {
1991
2039
  "200": {
1992
- "$ref": "#/components/responses/QueryInboundMonitoringEventsResponse"
2040
+ "$ref": "#/components/responses/QueryMonitoringEventsResponse"
1993
2041
  },
1994
2042
  "400": {
1995
2043
  "$ref": "#/components/responses/BadRequest"
@@ -2010,7 +2058,7 @@
2010
2058
  "post": {
2011
2059
  "operationId": "getMonitoringStats",
2012
2060
  "summary": "getMonitoringStats",
2013
- "description": "Get aggregated statistics for both inbound and outbound monitoring events for a specific integration.\nReturns summary metrics for inbound (ERP sync) and outbound (webhook delivery) events,\nincluding success/error counts and optional breakdowns.\n",
2061
+ "description": "Get aggregated statistics for ERP sync monitoring events for a specific integration.\nReturns summary metrics like total events, success/error counts,\nand breakdowns by use case, direction, and sync type.\n",
2014
2062
  "tags": [
2015
2063
  "monitoring",
2016
2064
  "integrations"
@@ -2056,56 +2104,6 @@
2056
2104
  }
2057
2105
  }
2058
2106
  },
2059
- "/v1/integrations/{integrationId}/monitoring/timeseries": {
2060
- "post": {
2061
- "operationId": "getMonitoringTimeSeries",
2062
- "summary": "getMonitoringTimeSeries",
2063
- "description": "Get time-series aggregated event counts for monitoring charts.\nReturns pre-bucketed counts at configurable intervals for both inbound and outbound events.\nMaximum of 200 buckets per request. Returns 400 if the time range and interval would exceed this limit.\n",
2064
- "tags": [
2065
- "monitoring",
2066
- "integrations"
2067
- ],
2068
- "parameters": [
2069
- {
2070
- "name": "integrationId",
2071
- "in": "path",
2072
- "required": true,
2073
- "description": "The integration ID",
2074
- "schema": {
2075
- "type": "string",
2076
- "format": "uuid"
2077
- }
2078
- }
2079
- ],
2080
- "requestBody": {
2081
- "required": true,
2082
- "content": {
2083
- "application/json": {
2084
- "schema": {
2085
- "$ref": "#/components/schemas/GetMonitoringTimeSeriesRequest"
2086
- }
2087
- }
2088
- }
2089
- },
2090
- "responses": {
2091
- "200": {
2092
- "$ref": "#/components/responses/GetMonitoringTimeSeriesResponse"
2093
- },
2094
- "400": {
2095
- "$ref": "#/components/responses/BadRequest"
2096
- },
2097
- "401": {
2098
- "$ref": "#/components/responses/Unauthorized"
2099
- },
2100
- "404": {
2101
- "$ref": "#/components/responses/NotFound"
2102
- },
2103
- "500": {
2104
- "$ref": "#/components/responses/InternalServerError"
2105
- }
2106
- }
2107
- }
2108
- },
2109
2107
  "/v1/integrations/{integrationId}/outbound-status": {
2110
2108
  "get": {
2111
2109
  "operationId": "getOutboundStatus",
@@ -2198,56 +2196,6 @@
2198
2196
  }
2199
2197
  }
2200
2198
  }
2201
- },
2202
- "/v1/integrations/{integrationId}/monitoring/outbound-events": {
2203
- "post": {
2204
- "operationId": "queryOutboundMonitoringEvents",
2205
- "summary": "queryOutboundMonitoringEvents",
2206
- "description": "Query outbound monitoring events for a specific integration.\nReturns detailed information about outbound event deliveries,\nfiltered by event_name (event_catalog_event) linked to the integration's outbound use cases.\n",
2207
- "tags": [
2208
- "monitoring",
2209
- "integrations"
2210
- ],
2211
- "parameters": [
2212
- {
2213
- "name": "integrationId",
2214
- "in": "path",
2215
- "required": true,
2216
- "description": "The integration ID",
2217
- "schema": {
2218
- "type": "string",
2219
- "format": "uuid"
2220
- }
2221
- }
2222
- ],
2223
- "requestBody": {
2224
- "required": true,
2225
- "content": {
2226
- "application/json": {
2227
- "schema": {
2228
- "$ref": "#/components/schemas/QueryOutboundMonitoringEventsRequest"
2229
- }
2230
- }
2231
- }
2232
- },
2233
- "responses": {
2234
- "200": {
2235
- "$ref": "#/components/responses/QueryOutboundMonitoringEventsResponse"
2236
- },
2237
- "400": {
2238
- "$ref": "#/components/responses/BadRequest"
2239
- },
2240
- "401": {
2241
- "$ref": "#/components/responses/Unauthorized"
2242
- },
2243
- "404": {
2244
- "$ref": "#/components/responses/NotFound"
2245
- },
2246
- "500": {
2247
- "$ref": "#/components/responses/InternalServerError"
2248
- }
2249
- }
2250
- }
2251
2199
  }
2252
2200
  },
2253
2201
  "components": {
@@ -2359,108 +2307,32 @@
2359
2307
  }
2360
2308
  }
2361
2309
  },
2362
- "ErpEventV3": {
2310
+ "TriggerErpActionRequest": {
2363
2311
  "type": "object",
2364
2312
  "required": [
2365
- "event_name",
2366
- "timestamp",
2367
- "format",
2368
- "payload"
2313
+ "execution_id",
2314
+ "org_id",
2315
+ "webhook_id",
2316
+ "flow_id",
2317
+ "created_at",
2318
+ "action_id",
2319
+ "flow_action_id",
2320
+ "flow_name",
2321
+ "activity_id",
2322
+ "entity_id"
2369
2323
  ],
2370
2324
  "properties": {
2371
- "event_name": {
2325
+ "execution_id": {
2372
2326
  "type": "string",
2373
- "description": "Name of the event (e.g., business_partner, contract_account). Corresponds to the \"Event Name\" from the integration UI. Replaces object_type from V2."
2327
+ "description": "Unique identifier of the current automation execution"
2374
2328
  },
2375
- "timestamp": {
2329
+ "org_id": {
2376
2330
  "type": "string",
2377
- "format": "date-time",
2378
- "description": "Timestamp when the event occurred"
2331
+ "description": "Identifier of the organization where the automation is executed"
2379
2332
  },
2380
- "format": {
2333
+ "webhook_id": {
2381
2334
  "type": "string",
2382
- "enum": [
2383
- "json",
2384
- "xml"
2385
- ],
2386
- "default": "json",
2387
- "description": "Format of the payload data"
2388
- },
2389
- "payload": {
2390
- "oneOf": [
2391
- {
2392
- "type": "string",
2393
- "description": "The serialized object data payload (JSON, XML, etc.) as a string"
2394
- },
2395
- {
2396
- "type": "object",
2397
- "description": "Direct JSON object (will be automatically serialized)",
2398
- "additionalProperties": true
2399
- }
2400
- ],
2401
- "description": "The object data payload - can be either a serialized string or a direct JSON object"
2402
- },
2403
- "deduplication_id": {
2404
- "type": "string",
2405
- "pattern": "^[a-zA-Z0-9_-]+$",
2406
- "minLength": 1,
2407
- "maxLength": 255,
2408
- "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",
2409
- "example": "evt-2025-05-01-12345-bp"
2410
- }
2411
- }
2412
- },
2413
- "ErpUpdatesEventsV3Request": {
2414
- "type": "object",
2415
- "required": [
2416
- "integration_id",
2417
- "events"
2418
- ],
2419
- "properties": {
2420
- "integration_id": {
2421
- "type": "string",
2422
- "format": "uuid",
2423
- "description": "UUID that identifies the integration configuration to use"
2424
- },
2425
- "correlation_id": {
2426
- "type": "string",
2427
- "description": "Optional ID that identifies the specific request for debugging purposes"
2428
- },
2429
- "events": {
2430
- "type": "array",
2431
- "description": "List of ERP events to process",
2432
- "items": {
2433
- "$ref": "#/components/schemas/ErpEventV3"
2434
- }
2435
- }
2436
- }
2437
- },
2438
- "TriggerErpActionRequest": {
2439
- "type": "object",
2440
- "required": [
2441
- "execution_id",
2442
- "org_id",
2443
- "webhook_id",
2444
- "flow_id",
2445
- "created_at",
2446
- "action_id",
2447
- "flow_action_id",
2448
- "flow_name",
2449
- "activity_id",
2450
- "entity_id"
2451
- ],
2452
- "properties": {
2453
- "execution_id": {
2454
- "type": "string",
2455
- "description": "Unique identifier of the current automation execution"
2456
- },
2457
- "org_id": {
2458
- "type": "string",
2459
- "description": "Identifier of the organization where the automation is executed"
2460
- },
2461
- "webhook_id": {
2462
- "type": "string",
2463
- "description": "Identifier of the self-service webhook configuration"
2335
+ "description": "Identifier of the self-service webhook configuration"
2464
2336
  },
2465
2337
  "flow_id": {
2466
2338
  "type": "string",
@@ -2553,13 +2425,6 @@
2553
2425
  "type": "string",
2554
2426
  "description": "Optional description of the integration"
2555
2427
  },
2556
- "access_token_ids": {
2557
- "type": "array",
2558
- "description": "List of access token IDs associated with this integration",
2559
- "items": {
2560
- "type": "string"
2561
- }
2562
- },
2563
2428
  "created_at": {
2564
2429
  "type": "string",
2565
2430
  "format": "date-time",
@@ -2588,13 +2453,6 @@
2588
2453
  "type": "string",
2589
2454
  "maxLength": 1000,
2590
2455
  "description": "Optional description of the integration"
2591
- },
2592
- "access_token_ids": {
2593
- "type": "array",
2594
- "description": "List of access token IDs to associate with this integration",
2595
- "items": {
2596
- "type": "string"
2597
- }
2598
2456
  }
2599
2457
  }
2600
2458
  },
@@ -2611,13 +2469,6 @@
2611
2469
  "type": "string",
2612
2470
  "maxLength": 1000,
2613
2471
  "description": "Optional description of the integration"
2614
- },
2615
- "access_token_ids": {
2616
- "type": "array",
2617
- "description": "List of access token IDs to associate with this integration",
2618
- "items": {
2619
- "type": "string"
2620
- }
2621
2472
  }
2622
2473
  }
2623
2474
  },
@@ -2677,6 +2528,69 @@
2677
2528
  }
2678
2529
  }
2679
2530
  },
2531
+ "IntegrationEnvironment": {
2532
+ "type": "object",
2533
+ "description": "Environment configuration for an integration with masked secrets",
2534
+ "required": [
2535
+ "integrationId",
2536
+ "values"
2537
+ ],
2538
+ "properties": {
2539
+ "integrationId": {
2540
+ "type": "string",
2541
+ "format": "uuid",
2542
+ "description": "Parent integration ID"
2543
+ },
2544
+ "values": {
2545
+ "type": "object",
2546
+ "additionalProperties": {
2547
+ "type": "string"
2548
+ },
2549
+ "description": "Environment values as key-value pairs.\nSecret values are masked as \"****\" in responses.\n"
2550
+ },
2551
+ "secret_keys": {
2552
+ "type": "array",
2553
+ "items": {
2554
+ "type": "string"
2555
+ },
2556
+ "description": "List of keys that contain secret values (masked in values field)"
2557
+ },
2558
+ "created_at": {
2559
+ "type": "string",
2560
+ "format": "date-time",
2561
+ "nullable": true,
2562
+ "description": "ISO-8601 timestamp when the environment was created"
2563
+ },
2564
+ "updated_at": {
2565
+ "type": "string",
2566
+ "format": "date-time",
2567
+ "nullable": true,
2568
+ "description": "ISO-8601 timestamp when the environment was last updated"
2569
+ }
2570
+ }
2571
+ },
2572
+ "UpdateIntegrationEnvironmentRequest": {
2573
+ "type": "object",
2574
+ "description": "Request to update environment configuration.\nSupports partial updates - only provided values are modified.\n",
2575
+ "properties": {
2576
+ "values": {
2577
+ "type": "object",
2578
+ "additionalProperties": {
2579
+ "type": "string",
2580
+ "nullable": true
2581
+ },
2582
+ "description": "Plain text environment values to update.\nSet a value to null to clear it.\n"
2583
+ },
2584
+ "secrets": {
2585
+ "type": "object",
2586
+ "additionalProperties": {
2587
+ "type": "string",
2588
+ "nullable": true
2589
+ },
2590
+ "description": "Secret environment values to update.\nThese are stored securely and masked in GET responses.\nSet a value to null to clear it.\nOmit a secret to keep its existing value.\n"
2591
+ }
2592
+ }
2593
+ },
2680
2594
  "UseCaseBase": {
2681
2595
  "type": "object",
2682
2596
  "required": [
@@ -3253,7 +3167,7 @@
3253
3167
  "attributes": {
3254
3168
  "type": "object",
3255
3169
  "additionalProperties": true,
3256
- "description": "Meter reading attributes. Required: external_id, timestamp, source, value. `source` must be one of: ECP, ERP, 360, journey-submission. `reason` (optional) must be one of: regular, irregular, last, first, meter_change, contract_change, meter_adjustment (or empty/null)."
3170
+ "description": "Meter reading attributes (external_id, timestamp, source, value, etc.)"
3257
3171
  }
3258
3172
  }
3259
3173
  },
@@ -3652,21 +3566,6 @@
3652
3566
  ],
3653
3567
  "description": "Controls whether this entity mapping should be processed. Can be a boolean or a JSONata expression (string) that evaluates to a boolean."
3654
3568
  },
3655
- "mode": {
3656
- "type": "string",
3657
- "enum": [
3658
- "upsert",
3659
- "delete",
3660
- "purge",
3661
- "upsert-prune-scope-purge",
3662
- "upsert-prune-scope-delete"
3663
- ],
3664
- "default": "upsert",
3665
- "description": "Operation mode for entity mapping:\n- 'upsert': Create or update the entity (default)\n- 'delete': Soft delete the entity (marks as deleted)\n- 'purge': Hard delete the entity (permanent removal)\n- 'upsert-prune-scope-purge': Upsert entities from array, then purge entities in scope that weren't upserted\n- 'upsert-prune-scope-delete': Upsert entities from array, then soft delete entities in scope that weren't upserted\n"
3666
- },
3667
- "scope": {
3668
- "$ref": "#/components/schemas/PruneScopeConfig"
3669
- },
3670
3569
  "fields": {
3671
3570
  "type": "array",
3672
3571
  "description": "Field mapping definitions",
@@ -3676,41 +3575,6 @@
3676
3575
  }
3677
3576
  }
3678
3577
  },
3679
- "PruneScopeConfig": {
3680
- "type": "object",
3681
- "description": "Scope configuration for upsert-prune-scope modes.\nDefines how to find entities that should be pruned if not in the upsert payload.\nThe scope is resolved against the original event payload (not individual array items).\n",
3682
- "required": [
3683
- "scope_mode"
3684
- ],
3685
- "properties": {
3686
- "scope_mode": {
3687
- "type": "string",
3688
- "enum": [
3689
- "relations",
3690
- "query"
3691
- ],
3692
- "description": "Scope mode for finding entities to prune:\n- 'relations': Find scope by looking at all entities related to a specific entity (both direct and reverse relations)\n- 'query': Find scope entities directly via query parameters\n"
3693
- },
3694
- "schema": {
3695
- "type": "string",
3696
- "description": "For 'relations' mode: The schema of the entity to find (e.g., 'billing_account').\nNot used for 'query' mode.\n"
3697
- },
3698
- "unique_ids": {
3699
- "type": "array",
3700
- "description": "For 'relations' mode: How to identify the scope entity from the payload.\nNot used for 'query' mode.\n",
3701
- "items": {
3702
- "$ref": "#/components/schemas/RelationUniqueIdField"
3703
- }
3704
- },
3705
- "query": {
3706
- "type": "array",
3707
- "description": "For 'query' mode: Direct query parameters to find scope entities.\nNot used for 'relations' or 'reverse-relations' modes.\n",
3708
- "items": {
3709
- "$ref": "#/components/schemas/RelationUniqueIdField"
3710
- }
3711
- }
3712
- }
3713
- },
3714
3578
  "IntegrationMeterReading": {
3715
3579
  "type": "object",
3716
3580
  "required": [
@@ -4015,13 +3879,6 @@
4015
3879
  "type": "string",
4016
3880
  "description": "Optional description of the integration"
4017
3881
  },
4018
- "access_token_ids": {
4019
- "type": "array",
4020
- "description": "List of access token IDs associated with this integration",
4021
- "items": {
4022
- "type": "string"
4023
- }
4024
- },
4025
3882
  "use_cases": {
4026
3883
  "type": "array",
4027
3884
  "description": "All use cases belonging to this integration",
@@ -4059,13 +3916,6 @@
4059
3916
  "maxLength": 1000,
4060
3917
  "description": "Optional description of the integration"
4061
3918
  },
4062
- "access_token_ids": {
4063
- "type": "array",
4064
- "description": "List of access token IDs to associate with this integration",
4065
- "items": {
4066
- "type": "string"
4067
- }
4068
- },
4069
3919
  "use_cases": {
4070
3920
  "type": "array",
4071
3921
  "description": "Full list of use cases (declarative). This replaces ALL existing use cases.\n- Use cases with an `id` field matching an existing use case will be updated\n- Use cases without an `id` or with a non-matching `id` will be created\n- Existing use cases not in this list will be deleted\n",
@@ -4213,10 +4063,6 @@
4213
4063
  "type": "string",
4214
4064
  "description": "Filter by object type"
4215
4065
  },
4216
- "event_name": {
4217
- "type": "string",
4218
- "description": "Filter by event name (alias for object_type)"
4219
- },
4220
4066
  "limit": {
4221
4067
  "type": "integer",
4222
4068
  "description": "Maximum number of results to return",
@@ -4244,7 +4090,7 @@
4244
4090
  }
4245
4091
  }
4246
4092
  },
4247
- "QueryInboundMonitoringEventsRequest": {
4093
+ "QueryMonitoringEventsRequest": {
4248
4094
  "type": "object",
4249
4095
  "properties": {
4250
4096
  "use_case_id": {
@@ -4252,6 +4098,14 @@
4252
4098
  "format": "uuid",
4253
4099
  "description": "Filter by use case ID"
4254
4100
  },
4101
+ "direction": {
4102
+ "type": "string",
4103
+ "enum": [
4104
+ "inbound",
4105
+ "outbound"
4106
+ ],
4107
+ "description": "Filter by sync direction"
4108
+ },
4255
4109
  "event_type": {
4256
4110
  "type": "string",
4257
4111
  "enum": [
@@ -4267,8 +4121,7 @@
4267
4121
  "enum": [
4268
4122
  "entity",
4269
4123
  "meter_reading",
4270
- "webhook",
4271
- "api_deprecation"
4124
+ "webhook"
4272
4125
  ],
4273
4126
  "description": "Filter by sync type"
4274
4127
  },
@@ -4277,8 +4130,7 @@
4277
4130
  "enum": [
4278
4131
  "success",
4279
4132
  "error",
4280
- "skipped",
4281
- "warning"
4133
+ "skipped"
4282
4134
  ],
4283
4135
  "description": "Filter by processing status"
4284
4136
  },
@@ -4289,7 +4141,8 @@
4289
4141
  "configuration",
4290
4142
  "downstream_api",
4291
4143
  "timeout",
4292
- "system"
4144
+ "system",
4145
+ "webhook_delivery"
4293
4146
  ],
4294
4147
  "description": "Filter by error category (only applicable when status=error)"
4295
4148
  },
@@ -4301,10 +4154,6 @@
4301
4154
  "type": "string",
4302
4155
  "description": "Filter by object type (e.g., 'contract', 'meter')"
4303
4156
  },
4304
- "event_name": {
4305
- "type": "string",
4306
- "description": "Filter by event name (alias for object_type)"
4307
- },
4308
4157
  "event_id": {
4309
4158
  "type": "string",
4310
4159
  "description": "Filter by event ID to find a specific event"
@@ -4348,10 +4197,13 @@
4348
4197
  },
4349
4198
  "QueryAccessLogsRequest": {
4350
4199
  "type": "object",
4200
+ "required": [
4201
+ "token_id"
4202
+ ],
4351
4203
  "properties": {
4352
4204
  "token_id": {
4353
4205
  "type": "string",
4354
- "description": "Filter by a specific access token ID (e.g., 'api_5ZugdRXasLfWBypHi93Fk').\nMust be one of the access_token_ids linked to the integration.\nIf omitted, returns logs for all access tokens linked to the integration.\n",
4206
+ "description": "Filter by access token ID (e.g., 'api_5ZugdRXasLfWBypHi93Fk')",
4355
4207
  "example": "api_5ZugdRXasLfWBypHi93Fk"
4356
4208
  },
4357
4209
  "service": {
@@ -4480,6 +4332,19 @@
4480
4332
  "GetMonitoringStatsRequest": {
4481
4333
  "type": "object",
4482
4334
  "properties": {
4335
+ "use_case_id": {
4336
+ "type": "string",
4337
+ "format": "uuid",
4338
+ "description": "Filter by use case ID"
4339
+ },
4340
+ "direction": {
4341
+ "type": "string",
4342
+ "enum": [
4343
+ "inbound",
4344
+ "outbound"
4345
+ ],
4346
+ "description": "Filter by sync direction"
4347
+ },
4483
4348
  "from_date": {
4484
4349
  "type": "string",
4485
4350
  "format": "date-time",
@@ -4492,392 +4357,35 @@
4492
4357
  "description": "End date for statistics period (inclusive)",
4493
4358
  "example": "2025-01-31T23:59:59Z"
4494
4359
  },
4495
- "inbound_group_by": {
4360
+ "group_by": {
4496
4361
  "type": "array",
4497
4362
  "items": {
4498
4363
  "type": "string",
4499
4364
  "enum": [
4365
+ "direction",
4500
4366
  "use_case_id",
4501
4367
  "sync_type",
4502
4368
  "status",
4503
4369
  "error_category",
4504
4370
  "object_type",
4505
- "event_name",
4506
4371
  "date"
4507
4372
  ]
4508
4373
  },
4509
- "description": "Fields to group inbound statistics by",
4374
+ "description": "Fields to group statistics by",
4510
4375
  "example": [
4511
- "use_case_id",
4376
+ "direction",
4512
4377
  "status"
4513
4378
  ]
4514
- },
4515
- "outbound_group_by": {
4516
- "type": "array",
4517
- "items": {
4518
- "type": "string",
4519
- "enum": [
4520
- "event_name",
4521
- "status",
4522
- "webhook_config_id",
4523
- "date"
4524
- ]
4525
- },
4526
- "description": "Fields to group outbound statistics by",
4527
- "example": [
4528
- "event_name",
4529
- "status"
4530
- ]
4531
- }
4532
- }
4533
- },
4534
- "GetMonitoringTimeSeriesRequest": {
4535
- "type": "object",
4536
- "required": [
4537
- "from_date",
4538
- "interval"
4539
- ],
4540
- "properties": {
4541
- "from_date": {
4542
- "type": "string",
4543
- "format": "date-time",
4544
- "description": "Start date for the time series (inclusive)",
4545
- "example": "2025-01-01T00:00:00Z"
4546
- },
4547
- "to_date": {
4548
- "type": "string",
4549
- "format": "date-time",
4550
- "description": "End date for the time series (inclusive). Defaults to current time if not specified.",
4551
- "example": "2025-01-31T23:59:59Z"
4552
- },
4553
- "interval": {
4554
- "type": "string",
4555
- "enum": [
4556
- "5m",
4557
- "10m",
4558
- "30m",
4559
- "1h",
4560
- "3h",
4561
- "1d"
4562
- ],
4563
- "description": "The time bucket interval for aggregation",
4564
- "example": "1h"
4565
- },
4566
- "direction": {
4567
- "type": "string",
4568
- "enum": [
4569
- "inbound",
4570
- "outbound",
4571
- "both"
4572
- ],
4573
- "default": "both",
4574
- "description": "Filter by event direction. Defaults to both.",
4575
- "example": "both"
4576
- }
4577
- }
4578
- },
4579
- "TimeSeriesBucket": {
4580
- "type": "object",
4581
- "required": [
4582
- "timestamp"
4583
- ],
4584
- "properties": {
4585
- "timestamp": {
4586
- "type": "string",
4587
- "format": "date-time",
4588
- "description": "The start timestamp of the bucket"
4589
- },
4590
- "inbound": {
4591
- "type": "object",
4592
- "nullable": true,
4593
- "description": "Inbound event counts for this bucket. Null when direction is outbound.",
4594
- "properties": {
4595
- "success_count": {
4596
- "type": "integer"
4597
- },
4598
- "error_count": {
4599
- "type": "integer"
4600
- },
4601
- "warning_count": {
4602
- "type": "integer"
4603
- },
4604
- "skipped_count": {
4605
- "type": "integer"
4606
- },
4607
- "total_count": {
4608
- "type": "integer"
4609
- }
4610
- }
4611
- },
4612
- "outbound": {
4613
- "type": "object",
4614
- "nullable": true,
4615
- "description": "Outbound event counts for this bucket. Null when direction is inbound.",
4616
- "properties": {
4617
- "success_count": {
4618
- "type": "integer"
4619
- },
4620
- "error_count": {
4621
- "type": "integer"
4622
- },
4623
- "pending_count": {
4624
- "type": "integer"
4625
- },
4626
- "total_count": {
4627
- "type": "integer"
4628
- }
4629
- }
4630
- }
4631
- }
4632
- },
4633
- "QueryOutboundMonitoringEventsRequest": {
4634
- "type": "object",
4635
- "properties": {
4636
- "event_name": {
4637
- "type": "string",
4638
- "description": "Filter by event name (event_catalog_event). If not specified, returns events for all linked event names in the integration's outbound use cases.",
4639
- "example": "automation_flow_target"
4640
- },
4641
- "status": {
4642
- "type": "string",
4643
- "enum": [
4644
- "succeeded",
4645
- "failed",
4646
- "pending"
4647
- ],
4648
- "description": "Filter by delivery status"
4649
- },
4650
- "webhook_config_id": {
4651
- "type": "string",
4652
- "description": "Filter by webhook configuration ID"
4653
- },
4654
- "from_date": {
4655
- "type": "string",
4656
- "format": "date-time",
4657
- "description": "Filter events from this date (inclusive)",
4658
- "example": "2025-01-01T00:00:00Z"
4659
- },
4660
- "to_date": {
4661
- "type": "string",
4662
- "format": "date-time",
4663
- "description": "Filter events until this date (inclusive)",
4664
- "example": "2025-01-31T23:59:59Z"
4665
- },
4666
- "limit": {
4667
- "type": "integer",
4668
- "description": "Maximum number of results to return",
4669
- "example": 50,
4670
- "default": 50,
4671
- "minimum": 1,
4672
- "maximum": 100
4673
- },
4674
- "cursor": {
4675
- "type": "object",
4676
- "description": "Cursor for pagination",
4677
- "properties": {
4678
- "created_at": {
4679
- "type": "string",
4680
- "format": "date-time",
4681
- "description": "Timestamp from the last event in the previous page"
4682
- },
4683
- "event_id": {
4684
- "type": "string",
4685
- "description": "Event ID from the last event in the previous page"
4686
- }
4687
- }
4688
- }
4689
- }
4690
- },
4691
- "OutboundMonitoringEvent": {
4692
- "type": "object",
4693
- "required": [
4694
- "org_id",
4695
- "event_id",
4696
- "event_name",
4697
- "status",
4698
- "created_at"
4699
- ],
4700
- "properties": {
4701
- "org_id": {
4702
- "type": "string",
4703
- "description": "Organization ID"
4704
- },
4705
- "event_id": {
4706
- "type": "string",
4707
- "description": "Unique event identifier"
4708
- },
4709
- "event_name": {
4710
- "type": "string",
4711
- "description": "Event name (event_catalog_event)"
4712
- },
4713
- "status": {
4714
- "type": "string",
4715
- "enum": [
4716
- "succeeded",
4717
- "failed",
4718
- "pending"
4719
- ],
4720
- "description": "Delivery status"
4721
- },
4722
- "url": {
4723
- "type": "string",
4724
- "description": "Target URL"
4725
- },
4726
- "http_method": {
4727
- "type": "string",
4728
- "description": "HTTP method used (e.g., POST)"
4729
- },
4730
- "http_response": {
4731
- "type": "object",
4732
- "description": "HTTP response details (status_code, message, headers)",
4733
- "additionalProperties": true
4734
- },
4735
- "webhook_config_id": {
4736
- "type": "string",
4737
- "description": "Webhook configuration ID"
4738
- },
4739
- "metadata": {
4740
- "type": "object",
4741
- "description": "Additional metadata (webhook_id, organization details, correlation_id, etc.)",
4742
- "additionalProperties": true
4743
- },
4744
- "execution_context": {
4745
- "type": "object",
4746
- "description": "Execution context (execution_arn, state_machine_arn, etc.)",
4747
- "additionalProperties": true
4748
- },
4749
- "payload": {
4750
- "type": "object",
4751
- "description": "Payload that was sent",
4752
- "additionalProperties": true
4753
- },
4754
- "created_at": {
4755
- "type": "string",
4756
- "format": "date-time",
4757
- "description": "When the event was created"
4758
- },
4759
- "updated_at": {
4760
- "type": "string",
4761
- "format": "date-time",
4762
- "description": "When the event was last updated"
4763
- }
4764
- }
4765
- },
4766
- "MonitoringStats": {
4767
- "type": "object",
4768
- "required": [
4769
- "inbound",
4770
- "outbound"
4771
- ],
4772
- "properties": {
4773
- "inbound": {
4774
- "type": "object",
4775
- "description": "Statistics for inbound (ERP sync) events",
4776
- "required": [
4777
- "total_events",
4778
- "success_count",
4779
- "error_count",
4780
- "skipped_count"
4781
- ],
4782
- "properties": {
4783
- "total_events": {
4784
- "type": "integer",
4785
- "description": "Total number of inbound events in the period"
4786
- },
4787
- "total_correlations": {
4788
- "type": "integer",
4789
- "description": "Total number of unique correlation IDs"
4790
- },
4791
- "success_count": {
4792
- "type": "integer",
4793
- "description": "Number of successful events"
4794
- },
4795
- "error_count": {
4796
- "type": "integer",
4797
- "description": "Number of failed events"
4798
- },
4799
- "skipped_count": {
4800
- "type": "integer",
4801
- "description": "Number of skipped events"
4802
- },
4803
- "warning_count": {
4804
- "type": "integer",
4805
- "description": "Number of warning events"
4806
- },
4807
- "success_rate": {
4808
- "type": "number",
4809
- "format": "float",
4810
- "description": "Success rate as percentage (0-100)"
4811
- },
4812
- "last_error_at": {
4813
- "type": "string",
4814
- "format": "date-time",
4815
- "nullable": true,
4816
- "description": "Timestamp of the most recent error"
4817
- },
4818
- "breakdown": {
4819
- "type": "array",
4820
- "description": "Statistics breakdown by requested inbound_group_by fields",
4821
- "items": {
4822
- "type": "object",
4823
- "additionalProperties": true
4824
- }
4825
- }
4826
- }
4827
- },
4828
- "outbound": {
4829
- "type": "object",
4830
- "description": "Statistics for outbound (webhook delivery) events",
4831
- "required": [
4832
- "total_events",
4833
- "success_count",
4834
- "error_count"
4835
- ],
4836
- "properties": {
4837
- "total_events": {
4838
- "type": "integer",
4839
- "description": "Total number of outbound events in the period"
4840
- },
4841
- "success_count": {
4842
- "type": "integer",
4843
- "description": "Number of successful deliveries"
4844
- },
4845
- "error_count": {
4846
- "type": "integer",
4847
- "description": "Number of failed deliveries"
4848
- },
4849
- "pending_count": {
4850
- "type": "integer",
4851
- "description": "Number of pending deliveries"
4852
- },
4853
- "success_rate": {
4854
- "type": "number",
4855
- "format": "float",
4856
- "description": "Success rate as percentage (0-100)"
4857
- },
4858
- "last_error_at": {
4859
- "type": "string",
4860
- "format": "date-time",
4861
- "nullable": true,
4862
- "description": "Timestamp of the most recent error"
4863
- },
4864
- "breakdown": {
4865
- "type": "array",
4866
- "description": "Statistics breakdown by requested outbound_group_by fields",
4867
- "items": {
4868
- "type": "object",
4869
- "additionalProperties": true
4870
- }
4871
- }
4872
- }
4873
4379
  }
4874
4380
  }
4875
4381
  },
4876
- "InboundMonitoringEvent": {
4382
+ "MonitoringEvent": {
4877
4383
  "type": "object",
4878
4384
  "required": [
4879
4385
  "org_id",
4880
4386
  "event_id",
4387
+ "direction",
4388
+ "event_type",
4881
4389
  "object_type",
4882
4390
  "sync_type",
4883
4391
  "status",
@@ -4908,6 +4416,14 @@
4908
4416
  "nullable": true,
4909
4417
  "description": "Use case ID"
4910
4418
  },
4419
+ "direction": {
4420
+ "type": "string",
4421
+ "enum": [
4422
+ "inbound",
4423
+ "outbound"
4424
+ ],
4425
+ "description": "Sync direction"
4426
+ },
4911
4427
  "event_type": {
4912
4428
  "type": "string",
4913
4429
  "enum": [
@@ -4916,7 +4432,7 @@
4916
4432
  "DELETE",
4917
4433
  "TRIGGER"
4918
4434
  ],
4919
- "description": "Type of event (optional for V3 events)"
4435
+ "description": "Type of event"
4920
4436
  },
4921
4437
  "object_type": {
4922
4438
  "type": "string",
@@ -4927,8 +4443,7 @@
4927
4443
  "enum": [
4928
4444
  "entity",
4929
4445
  "meter_reading",
4930
- "webhook",
4931
- "api_deprecation"
4446
+ "webhook"
4932
4447
  ],
4933
4448
  "description": "Type of sync operation"
4934
4449
  },
@@ -4937,8 +4452,7 @@
4937
4452
  "enum": [
4938
4453
  "success",
4939
4454
  "error",
4940
- "skipped",
4941
- "warning"
4455
+ "skipped"
4942
4456
  ],
4943
4457
  "description": "Processing status"
4944
4458
  },
@@ -4960,7 +4474,8 @@
4960
4474
  "configuration",
4961
4475
  "downstream_api",
4962
4476
  "timeout",
4963
- "system"
4477
+ "system",
4478
+ "webhook_delivery"
4964
4479
  ],
4965
4480
  "description": "Error category (when status=error)"
4966
4481
  },
@@ -4969,6 +4484,16 @@
4969
4484
  "nullable": true,
4970
4485
  "description": "Processing duration in milliseconds"
4971
4486
  },
4487
+ "target_url": {
4488
+ "type": "string",
4489
+ "nullable": true,
4490
+ "description": "Target URL for outbound requests"
4491
+ },
4492
+ "http_status_code": {
4493
+ "type": "integer",
4494
+ "nullable": true,
4495
+ "description": "HTTP status code from target (outbound only)"
4496
+ },
4972
4497
  "received_at": {
4973
4498
  "type": "string",
4974
4499
  "format": "date-time",
@@ -4980,6 +4505,57 @@
4980
4505
  "description": "When processing completed"
4981
4506
  }
4982
4507
  }
4508
+ },
4509
+ "MonitoringStats": {
4510
+ "type": "object",
4511
+ "required": [
4512
+ "total_events",
4513
+ "total_correlations",
4514
+ "success_count",
4515
+ "error_count",
4516
+ "skipped_count"
4517
+ ],
4518
+ "properties": {
4519
+ "total_events": {
4520
+ "type": "integer",
4521
+ "description": "Total number of events in the period"
4522
+ },
4523
+ "total_correlations": {
4524
+ "type": "integer",
4525
+ "description": "Total number of unique correlation IDs (a correlation_id groups multiple event_ids)"
4526
+ },
4527
+ "success_count": {
4528
+ "type": "integer",
4529
+ "description": "Number of successful events"
4530
+ },
4531
+ "error_count": {
4532
+ "type": "integer",
4533
+ "description": "Number of failed events"
4534
+ },
4535
+ "skipped_count": {
4536
+ "type": "integer",
4537
+ "description": "Number of skipped events"
4538
+ },
4539
+ "success_rate": {
4540
+ "type": "number",
4541
+ "format": "float",
4542
+ "description": "Success rate as percentage (0-100)"
4543
+ },
4544
+ "last_error_at": {
4545
+ "type": "string",
4546
+ "format": "date-time",
4547
+ "nullable": true,
4548
+ "description": "Timestamp of the most recent error"
4549
+ },
4550
+ "breakdown": {
4551
+ "type": "array",
4552
+ "description": "Statistics breakdown by requested group_by fields",
4553
+ "items": {
4554
+ "type": "object",
4555
+ "additionalProperties": true
4556
+ }
4557
+ }
4558
+ }
4983
4559
  }
4984
4560
  },
4985
4561
  "responses": {
@@ -5023,8 +4599,8 @@
5023
4599
  }
5024
4600
  }
5025
4601
  },
5026
- "QueryInboundMonitoringEventsResponse": {
5027
- "description": "Inbound monitoring events queried successfully",
4602
+ "QueryMonitoringEventsResponse": {
4603
+ "description": "Monitoring events queried successfully",
5028
4604
  "content": {
5029
4605
  "application/json": {
5030
4606
  "schema": {
@@ -5033,9 +4609,9 @@
5033
4609
  "data": {
5034
4610
  "type": "array",
5035
4611
  "items": {
5036
- "$ref": "#/components/schemas/InboundMonitoringEvent"
4612
+ "$ref": "#/components/schemas/MonitoringEvent"
5037
4613
  },
5038
- "description": "List of inbound monitoring events"
4614
+ "description": "List of monitoring events"
5039
4615
  },
5040
4616
  "next_cursor": {
5041
4617
  "type": "object",
@@ -5070,53 +4646,6 @@
5070
4646
  }
5071
4647
  }
5072
4648
  },
5073
- "GetMonitoringTimeSeriesResponse": {
5074
- "description": "Time-series aggregated event counts retrieved successfully",
5075
- "content": {
5076
- "application/json": {
5077
- "schema": {
5078
- "type": "object",
5079
- "required": [
5080
- "interval",
5081
- "from_date",
5082
- "to_date",
5083
- "buckets"
5084
- ],
5085
- "properties": {
5086
- "interval": {
5087
- "type": "string",
5088
- "enum": [
5089
- "5m",
5090
- "10m",
5091
- "30m",
5092
- "1h",
5093
- "3h",
5094
- "1d"
5095
- ],
5096
- "description": "The time bucket interval used for aggregation"
5097
- },
5098
- "from_date": {
5099
- "type": "string",
5100
- "format": "date-time",
5101
- "description": "Start date of the time series"
5102
- },
5103
- "to_date": {
5104
- "type": "string",
5105
- "format": "date-time",
5106
- "description": "End date of the time series"
5107
- },
5108
- "buckets": {
5109
- "type": "array",
5110
- "items": {
5111
- "$ref": "#/components/schemas/TimeSeriesBucket"
5112
- },
5113
- "description": "List of time-series buckets with event counts"
5114
- }
5115
- }
5116
- }
5117
- }
5118
- }
5119
- },
5120
4649
  "QueryAccessLogsResponse": {
5121
4650
  "description": "Access logs queried successfully",
5122
4651
  "content": {
@@ -5154,43 +4683,6 @@
5154
4683
  }
5155
4684
  }
5156
4685
  },
5157
- "QueryOutboundMonitoringEventsResponse": {
5158
- "description": "Outbound monitoring events queried successfully",
5159
- "content": {
5160
- "application/json": {
5161
- "schema": {
5162
- "type": "object",
5163
- "properties": {
5164
- "data": {
5165
- "type": "array",
5166
- "items": {
5167
- "$ref": "#/components/schemas/OutboundMonitoringEvent"
5168
- },
5169
- "description": "List of outbound monitoring events"
5170
- },
5171
- "next_cursor": {
5172
- "type": "object",
5173
- "nullable": true,
5174
- "description": "Cursor to fetch the next page. Null if no more results.",
5175
- "properties": {
5176
- "created_at": {
5177
- "type": "string",
5178
- "format": "date-time"
5179
- },
5180
- "event_id": {
5181
- "type": "string"
5182
- }
5183
- }
5184
- },
5185
- "has_more": {
5186
- "type": "boolean",
5187
- "description": "Indicates if more results are available"
5188
- }
5189
- }
5190
- }
5191
- }
5192
- }
5193
- },
5194
4686
  "ReplayEventsResponse": {
5195
4687
  "description": "Events replay initiated",
5196
4688
  "content": {
@@ -5239,10 +4731,9 @@
5239
4731
  "enum": [
5240
4732
  "success",
5241
4733
  "error",
5242
- "skipped",
5243
- "ignored"
4734
+ "skipped"
5244
4735
  ],
5245
- "description": "Processing status for the event (skipped indicates duplicate deduplication_id, ignored indicates unconfigured event)"
4736
+ "description": "Processing status for the event (skipped indicates duplicate deduplication_id)"
5246
4737
  },
5247
4738
  "message": {
5248
4739
  "type": "string"