@epilot/sdk 2.2.6 → 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/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 +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/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-H2KTLW3Q.js → chunk-BN6EJPDC.js} +2 -2
- package/dist/{chunk-LHVRAAFH.js → chunk-MUNMUGB5.js} +1 -1
- package/dist/{chunk-ODD4JQVS.cjs → chunk-TLH6XOTL.cjs} +1 -1
- package/dist/{chunk-NF3MQHQS.cjs → chunk-VUVWHQMP.cjs} +2 -2
- 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 +10 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/docs/erp-integration.md +816 -19
- package/package.json +1 -1
- package/dist/erp-integration-6I4B4BIU.cjs +0 -7
- package/dist/erp-integration-G54BMGGE.js +0 -7
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "ERP Integration API",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.56.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": [
|
|
@@ -2257,6 +2257,202 @@
|
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
2259
2259
|
},
|
|
2260
|
+
"/v2/integrations/{integrationId}/monitoring/events": {
|
|
2261
|
+
"post": {
|
|
2262
|
+
"operationId": "queryMonitoringEventsV2",
|
|
2263
|
+
"summary": "queryMonitoringEventsV2",
|
|
2264
|
+
"description": "Query monitoring events from the unified erp_monitoring_v2 table.\nReturns all event types (inbound, outbound, file_proxy, etc.) in a single list.\nReplaces the separate v1 inbound-events and outbound-events endpoints.\n",
|
|
2265
|
+
"tags": [
|
|
2266
|
+
"monitoring",
|
|
2267
|
+
"integrations"
|
|
2268
|
+
],
|
|
2269
|
+
"parameters": [
|
|
2270
|
+
{
|
|
2271
|
+
"name": "integrationId",
|
|
2272
|
+
"in": "path",
|
|
2273
|
+
"required": true,
|
|
2274
|
+
"description": "The integration ID",
|
|
2275
|
+
"schema": {
|
|
2276
|
+
"type": "string",
|
|
2277
|
+
"format": "uuid"
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
],
|
|
2281
|
+
"requestBody": {
|
|
2282
|
+
"required": true,
|
|
2283
|
+
"content": {
|
|
2284
|
+
"application/json": {
|
|
2285
|
+
"schema": {
|
|
2286
|
+
"$ref": "#/components/schemas/QueryMonitoringEventsV2Request"
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
"responses": {
|
|
2292
|
+
"200": {
|
|
2293
|
+
"$ref": "#/components/responses/QueryMonitoringEventsV2Response"
|
|
2294
|
+
},
|
|
2295
|
+
"400": {
|
|
2296
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2297
|
+
},
|
|
2298
|
+
"401": {
|
|
2299
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
2300
|
+
},
|
|
2301
|
+
"404": {
|
|
2302
|
+
"$ref": "#/components/responses/NotFound"
|
|
2303
|
+
},
|
|
2304
|
+
"500": {
|
|
2305
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"/v2/integrations/{integrationId}/monitoring/stats": {
|
|
2311
|
+
"post": {
|
|
2312
|
+
"operationId": "getMonitoringStatsV2",
|
|
2313
|
+
"summary": "getMonitoringStatsV2",
|
|
2314
|
+
"description": "Get aggregated statistics from the unified erp_monitoring_v2 table.\nReturns combined metrics for all event types with optional breakdowns.\n",
|
|
2315
|
+
"tags": [
|
|
2316
|
+
"monitoring",
|
|
2317
|
+
"integrations"
|
|
2318
|
+
],
|
|
2319
|
+
"parameters": [
|
|
2320
|
+
{
|
|
2321
|
+
"name": "integrationId",
|
|
2322
|
+
"in": "path",
|
|
2323
|
+
"required": true,
|
|
2324
|
+
"description": "The integration ID",
|
|
2325
|
+
"schema": {
|
|
2326
|
+
"type": "string",
|
|
2327
|
+
"format": "uuid"
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
],
|
|
2331
|
+
"requestBody": {
|
|
2332
|
+
"required": true,
|
|
2333
|
+
"content": {
|
|
2334
|
+
"application/json": {
|
|
2335
|
+
"schema": {
|
|
2336
|
+
"$ref": "#/components/schemas/GetMonitoringStatsV2Request"
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
},
|
|
2341
|
+
"responses": {
|
|
2342
|
+
"200": {
|
|
2343
|
+
"$ref": "#/components/responses/GetMonitoringStatsV2Response"
|
|
2344
|
+
},
|
|
2345
|
+
"400": {
|
|
2346
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2347
|
+
},
|
|
2348
|
+
"401": {
|
|
2349
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
2350
|
+
},
|
|
2351
|
+
"404": {
|
|
2352
|
+
"$ref": "#/components/responses/NotFound"
|
|
2353
|
+
},
|
|
2354
|
+
"500": {
|
|
2355
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2359
|
+
},
|
|
2360
|
+
"/v2/integrations/{integrationId}/monitoring/time-series": {
|
|
2361
|
+
"post": {
|
|
2362
|
+
"operationId": "getMonitoringTimeSeriesV2",
|
|
2363
|
+
"summary": "getMonitoringTimeSeriesV2",
|
|
2364
|
+
"description": "Get time-series aggregated event counts from the unified erp_monitoring_v2 table.\nReturns bucketed counts for chart rendering.\n",
|
|
2365
|
+
"tags": [
|
|
2366
|
+
"monitoring",
|
|
2367
|
+
"integrations"
|
|
2368
|
+
],
|
|
2369
|
+
"parameters": [
|
|
2370
|
+
{
|
|
2371
|
+
"name": "integrationId",
|
|
2372
|
+
"in": "path",
|
|
2373
|
+
"required": true,
|
|
2374
|
+
"description": "The integration ID",
|
|
2375
|
+
"schema": {
|
|
2376
|
+
"type": "string",
|
|
2377
|
+
"format": "uuid"
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
],
|
|
2381
|
+
"requestBody": {
|
|
2382
|
+
"required": true,
|
|
2383
|
+
"content": {
|
|
2384
|
+
"application/json": {
|
|
2385
|
+
"schema": {
|
|
2386
|
+
"$ref": "#/components/schemas/GetMonitoringTimeSeriesV2Request"
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
},
|
|
2391
|
+
"responses": {
|
|
2392
|
+
"200": {
|
|
2393
|
+
"$ref": "#/components/responses/GetMonitoringTimeSeriesV2Response"
|
|
2394
|
+
},
|
|
2395
|
+
"400": {
|
|
2396
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2397
|
+
},
|
|
2398
|
+
"401": {
|
|
2399
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
2400
|
+
},
|
|
2401
|
+
"404": {
|
|
2402
|
+
"$ref": "#/components/responses/NotFound"
|
|
2403
|
+
},
|
|
2404
|
+
"500": {
|
|
2405
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
},
|
|
2410
|
+
"/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated": {
|
|
2411
|
+
"get": {
|
|
2412
|
+
"operationId": "getAssociatedMonitoringEvents",
|
|
2413
|
+
"summary": "getAssociatedMonitoringEvents",
|
|
2414
|
+
"description": "Returns all monitoring events sharing the same event_id, ordered chronologically.\nAlso includes the original inbound event payload from erp_incoming_events if available.\nUsed to display a full event trace/timeline.\n",
|
|
2415
|
+
"tags": [
|
|
2416
|
+
"monitoring",
|
|
2417
|
+
"integrations"
|
|
2418
|
+
],
|
|
2419
|
+
"parameters": [
|
|
2420
|
+
{
|
|
2421
|
+
"name": "integrationId",
|
|
2422
|
+
"in": "path",
|
|
2423
|
+
"required": true,
|
|
2424
|
+
"description": "The integration ID",
|
|
2425
|
+
"schema": {
|
|
2426
|
+
"type": "string",
|
|
2427
|
+
"format": "uuid"
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"name": "eventId",
|
|
2432
|
+
"in": "path",
|
|
2433
|
+
"required": true,
|
|
2434
|
+
"description": "The event ID to get associated events for",
|
|
2435
|
+
"schema": {
|
|
2436
|
+
"type": "string"
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
],
|
|
2440
|
+
"responses": {
|
|
2441
|
+
"200": {
|
|
2442
|
+
"$ref": "#/components/responses/GetAssociatedMonitoringEventsResponse"
|
|
2443
|
+
},
|
|
2444
|
+
"400": {
|
|
2445
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2446
|
+
},
|
|
2447
|
+
"401": {
|
|
2448
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
2449
|
+
},
|
|
2450
|
+
"500": {
|
|
2451
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
},
|
|
2260
2456
|
"/v1/integrations/secure-proxies": {
|
|
2261
2457
|
"get": {
|
|
2262
2458
|
"operationId": "listSecureProxies",
|
|
@@ -2472,6 +2668,176 @@
|
|
|
2472
2668
|
}
|
|
2473
2669
|
}
|
|
2474
2670
|
}
|
|
2671
|
+
},
|
|
2672
|
+
"/v1/integrations/{integrationId}/generate-types-preview": {
|
|
2673
|
+
"post": {
|
|
2674
|
+
"operationId": "generateTypesPreview",
|
|
2675
|
+
"summary": "Preview scaffolded types for a connector integration",
|
|
2676
|
+
"description": "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.\n",
|
|
2677
|
+
"tags": [
|
|
2678
|
+
"integrations"
|
|
2679
|
+
],
|
|
2680
|
+
"security": [
|
|
2681
|
+
{
|
|
2682
|
+
"EpilotAuth": []
|
|
2683
|
+
}
|
|
2684
|
+
],
|
|
2685
|
+
"parameters": [
|
|
2686
|
+
{
|
|
2687
|
+
"name": "integrationId",
|
|
2688
|
+
"in": "path",
|
|
2689
|
+
"required": true,
|
|
2690
|
+
"schema": {
|
|
2691
|
+
"type": "string",
|
|
2692
|
+
"format": "uuid"
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
],
|
|
2696
|
+
"responses": {
|
|
2697
|
+
"200": {
|
|
2698
|
+
"description": "Scaffolded type preview",
|
|
2699
|
+
"content": {
|
|
2700
|
+
"application/json": {
|
|
2701
|
+
"schema": {
|
|
2702
|
+
"$ref": "#/components/schemas/GenerateTypesPreviewResponse"
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
},
|
|
2707
|
+
"400": {
|
|
2708
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2709
|
+
},
|
|
2710
|
+
"403": {
|
|
2711
|
+
"$ref": "#/components/responses/Forbidden"
|
|
2712
|
+
},
|
|
2713
|
+
"404": {
|
|
2714
|
+
"$ref": "#/components/responses/NotFound"
|
|
2715
|
+
},
|
|
2716
|
+
"500": {
|
|
2717
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
},
|
|
2722
|
+
"/v1/integrations/{integrationId}/generate-types": {
|
|
2723
|
+
"post": {
|
|
2724
|
+
"operationId": "generateTypes",
|
|
2725
|
+
"summary": "Generate a TypeScript npm package for a connector integration",
|
|
2726
|
+
"description": "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.\n",
|
|
2727
|
+
"tags": [
|
|
2728
|
+
"integrations"
|
|
2729
|
+
],
|
|
2730
|
+
"security": [
|
|
2731
|
+
{
|
|
2732
|
+
"EpilotAuth": []
|
|
2733
|
+
}
|
|
2734
|
+
],
|
|
2735
|
+
"parameters": [
|
|
2736
|
+
{
|
|
2737
|
+
"name": "integrationId",
|
|
2738
|
+
"in": "path",
|
|
2739
|
+
"required": true,
|
|
2740
|
+
"schema": {
|
|
2741
|
+
"type": "string",
|
|
2742
|
+
"format": "uuid"
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
],
|
|
2746
|
+
"requestBody": {
|
|
2747
|
+
"required": true,
|
|
2748
|
+
"content": {
|
|
2749
|
+
"application/json": {
|
|
2750
|
+
"schema": {
|
|
2751
|
+
"$ref": "#/components/schemas/GenerateTypesRequest"
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
},
|
|
2756
|
+
"responses": {
|
|
2757
|
+
"200": {
|
|
2758
|
+
"description": "Generated package",
|
|
2759
|
+
"content": {
|
|
2760
|
+
"application/json": {
|
|
2761
|
+
"schema": {
|
|
2762
|
+
"$ref": "#/components/schemas/GenerateTypesResponse"
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
"400": {
|
|
2768
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2769
|
+
},
|
|
2770
|
+
"403": {
|
|
2771
|
+
"$ref": "#/components/responses/Forbidden"
|
|
2772
|
+
},
|
|
2773
|
+
"404": {
|
|
2774
|
+
"$ref": "#/components/responses/NotFound"
|
|
2775
|
+
},
|
|
2776
|
+
"500": {
|
|
2777
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
}
|
|
2781
|
+
},
|
|
2782
|
+
"/v1/integrations/{integrationId}/commit-types": {
|
|
2783
|
+
"post": {
|
|
2784
|
+
"operationId": "commitTypes",
|
|
2785
|
+
"summary": "Commit generated types and lock use case configurations",
|
|
2786
|
+
"description": "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.\n",
|
|
2787
|
+
"tags": [
|
|
2788
|
+
"integrations"
|
|
2789
|
+
],
|
|
2790
|
+
"security": [
|
|
2791
|
+
{
|
|
2792
|
+
"EpilotAuth": []
|
|
2793
|
+
}
|
|
2794
|
+
],
|
|
2795
|
+
"parameters": [
|
|
2796
|
+
{
|
|
2797
|
+
"name": "integrationId",
|
|
2798
|
+
"in": "path",
|
|
2799
|
+
"required": true,
|
|
2800
|
+
"schema": {
|
|
2801
|
+
"type": "string",
|
|
2802
|
+
"format": "uuid"
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
],
|
|
2806
|
+
"requestBody": {
|
|
2807
|
+
"required": true,
|
|
2808
|
+
"content": {
|
|
2809
|
+
"application/json": {
|
|
2810
|
+
"schema": {
|
|
2811
|
+
"$ref": "#/components/schemas/CommitTypesRequest"
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
},
|
|
2816
|
+
"responses": {
|
|
2817
|
+
"200": {
|
|
2818
|
+
"description": "Types committed successfully",
|
|
2819
|
+
"content": {
|
|
2820
|
+
"application/json": {
|
|
2821
|
+
"schema": {
|
|
2822
|
+
"$ref": "#/components/schemas/CommitTypesResponse"
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
},
|
|
2827
|
+
"400": {
|
|
2828
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2829
|
+
},
|
|
2830
|
+
"403": {
|
|
2831
|
+
"$ref": "#/components/responses/Forbidden"
|
|
2832
|
+
},
|
|
2833
|
+
"404": {
|
|
2834
|
+
"$ref": "#/components/responses/NotFound"
|
|
2835
|
+
},
|
|
2836
|
+
"500": {
|
|
2837
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2475
2841
|
}
|
|
2476
2842
|
},
|
|
2477
2843
|
"components": {
|
|
@@ -2843,6 +3209,50 @@
|
|
|
2843
3209
|
},
|
|
2844
3210
|
"auth": {
|
|
2845
3211
|
"$ref": "#/components/schemas/ManagedCallAuth"
|
|
3212
|
+
},
|
|
3213
|
+
"types_versions": {
|
|
3214
|
+
"type": "array",
|
|
3215
|
+
"description": "History of generated type package versions",
|
|
3216
|
+
"items": {
|
|
3217
|
+
"type": "object",
|
|
3218
|
+
"required": [
|
|
3219
|
+
"version",
|
|
3220
|
+
"package_name",
|
|
3221
|
+
"generated_at",
|
|
3222
|
+
"generated_by",
|
|
3223
|
+
"status"
|
|
3224
|
+
],
|
|
3225
|
+
"properties": {
|
|
3226
|
+
"version": {
|
|
3227
|
+
"type": "string"
|
|
3228
|
+
},
|
|
3229
|
+
"package_name": {
|
|
3230
|
+
"type": "string"
|
|
3231
|
+
},
|
|
3232
|
+
"generated_at": {
|
|
3233
|
+
"type": "string",
|
|
3234
|
+
"format": "date-time"
|
|
3235
|
+
},
|
|
3236
|
+
"generated_by": {
|
|
3237
|
+
"type": "string"
|
|
3238
|
+
},
|
|
3239
|
+
"status": {
|
|
3240
|
+
"type": "string",
|
|
3241
|
+
"enum": [
|
|
3242
|
+
"active",
|
|
3243
|
+
"deprecated"
|
|
3244
|
+
]
|
|
3245
|
+
}
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
},
|
|
3249
|
+
"latest_types_version": {
|
|
3250
|
+
"type": "string",
|
|
3251
|
+
"description": "Latest active types package version"
|
|
3252
|
+
},
|
|
3253
|
+
"latest_types_package_name": {
|
|
3254
|
+
"type": "string",
|
|
3255
|
+
"description": "Latest active types package name"
|
|
2846
3256
|
}
|
|
2847
3257
|
}
|
|
2848
3258
|
},
|
|
@@ -3836,6 +4246,13 @@
|
|
|
3836
4246
|
},
|
|
3837
4247
|
"configuration": {
|
|
3838
4248
|
"$ref": "#/components/schemas/ManagedCallOperationConfig"
|
|
4249
|
+
},
|
|
4250
|
+
"type_annotations": {
|
|
4251
|
+
"$ref": "#/components/schemas/TypeAnnotations"
|
|
4252
|
+
},
|
|
4253
|
+
"types_locked": {
|
|
4254
|
+
"type": "boolean",
|
|
4255
|
+
"description": "Whether types have been generated for this use case"
|
|
3839
4256
|
}
|
|
3840
4257
|
}
|
|
3841
4258
|
}
|
|
@@ -4215,6 +4632,9 @@
|
|
|
4215
4632
|
},
|
|
4216
4633
|
"configuration": {
|
|
4217
4634
|
"$ref": "#/components/schemas/ManagedCallOperationConfig"
|
|
4635
|
+
},
|
|
4636
|
+
"type_annotations": {
|
|
4637
|
+
"$ref": "#/components/schemas/TypeAnnotations"
|
|
4218
4638
|
}
|
|
4219
4639
|
}
|
|
4220
4640
|
}
|
|
@@ -4428,6 +4848,13 @@
|
|
|
4428
4848
|
},
|
|
4429
4849
|
"configuration": {
|
|
4430
4850
|
"$ref": "#/components/schemas/ManagedCallOperationConfig"
|
|
4851
|
+
},
|
|
4852
|
+
"type_annotations": {
|
|
4853
|
+
"$ref": "#/components/schemas/TypeAnnotations"
|
|
4854
|
+
},
|
|
4855
|
+
"types_locked": {
|
|
4856
|
+
"type": "boolean",
|
|
4857
|
+
"description": "Whether types have been generated for this use case"
|
|
4431
4858
|
}
|
|
4432
4859
|
}
|
|
4433
4860
|
}
|
|
@@ -4481,6 +4908,14 @@
|
|
|
4481
4908
|
},
|
|
4482
4909
|
"readOnly": true,
|
|
4483
4910
|
"description": "Domain whitelist for secure_link mode. Admin-only — can only be modified directly in DynamoDB via admin script.\nSupports exact match (e.g., \"api.wemag.com\") and wildcard prefix (e.g., \"*.wemag.com\").\n"
|
|
4911
|
+
},
|
|
4912
|
+
"allowed_ips": {
|
|
4913
|
+
"type": "array",
|
|
4914
|
+
"items": {
|
|
4915
|
+
"type": "string"
|
|
4916
|
+
},
|
|
4917
|
+
"readOnly": true,
|
|
4918
|
+
"description": "IP allowlist (CIDR notation) for secure_link mode. Admin-only — can only be modified directly in DynamoDB via admin script.\nRequired for secure_link mode. All DNS-resolved IPs must match at least one range.\nExample: [\"10.0.1.0/24\", \"192.168.1.0/24\"]\n"
|
|
4484
4919
|
}
|
|
4485
4920
|
}
|
|
4486
4921
|
},
|
|
@@ -4521,6 +4956,12 @@
|
|
|
4521
4956
|
"type": "string"
|
|
4522
4957
|
}
|
|
4523
4958
|
},
|
|
4959
|
+
"allowed_ips": {
|
|
4960
|
+
"type": "array",
|
|
4961
|
+
"items": {
|
|
4962
|
+
"type": "string"
|
|
4963
|
+
}
|
|
4964
|
+
},
|
|
4524
4965
|
"integration_id": {
|
|
4525
4966
|
"type": "string",
|
|
4526
4967
|
"format": "uuid"
|
|
@@ -4618,108 +5059,375 @@
|
|
|
4618
5059
|
"operation": {
|
|
4619
5060
|
"$ref": "#/components/schemas/ManagedCallOperation"
|
|
4620
5061
|
},
|
|
4621
|
-
"request_mapping": {
|
|
5062
|
+
"request_mapping": {
|
|
5063
|
+
"type": "string",
|
|
5064
|
+
"description": "JSONata expression for outbound body transformation"
|
|
5065
|
+
},
|
|
5066
|
+
"response_mapping": {
|
|
5067
|
+
"type": "string",
|
|
5068
|
+
"description": "JSONata expression for inbound response transformation"
|
|
5069
|
+
},
|
|
5070
|
+
"inbound_use_case_slug": {
|
|
5071
|
+
"type": "string",
|
|
5072
|
+
"description": "Slug of the inbound use case to route responses to for async entity processing.\nWhen set, the managed call response is queued to the inbound pipeline and processed\nusing the referenced inbound use case's mapping configuration.\n"
|
|
5073
|
+
}
|
|
5074
|
+
}
|
|
5075
|
+
},
|
|
5076
|
+
"ManagedCallOperation": {
|
|
5077
|
+
"type": "object",
|
|
5078
|
+
"required": [
|
|
5079
|
+
"method",
|
|
5080
|
+
"path"
|
|
5081
|
+
],
|
|
5082
|
+
"description": "HTTP operation configuration for managed calls",
|
|
5083
|
+
"properties": {
|
|
5084
|
+
"method": {
|
|
5085
|
+
"type": "string",
|
|
5086
|
+
"enum": [
|
|
5087
|
+
"GET",
|
|
5088
|
+
"POST",
|
|
5089
|
+
"PUT",
|
|
5090
|
+
"PATCH",
|
|
5091
|
+
"DELETE"
|
|
5092
|
+
]
|
|
5093
|
+
},
|
|
5094
|
+
"path": {
|
|
5095
|
+
"type": "string",
|
|
5096
|
+
"description": "URL path template with {{variable}} interpolation"
|
|
5097
|
+
},
|
|
5098
|
+
"headers": {
|
|
5099
|
+
"type": "object",
|
|
5100
|
+
"additionalProperties": {
|
|
5101
|
+
"type": "string"
|
|
5102
|
+
}
|
|
5103
|
+
},
|
|
5104
|
+
"query_params": {
|
|
5105
|
+
"type": "object",
|
|
5106
|
+
"additionalProperties": {
|
|
5107
|
+
"type": "string"
|
|
5108
|
+
}
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
},
|
|
5112
|
+
"ManagedCallExecuteRequest": {
|
|
5113
|
+
"type": "object",
|
|
5114
|
+
"required": [
|
|
5115
|
+
"integration_id"
|
|
5116
|
+
],
|
|
5117
|
+
"properties": {
|
|
5118
|
+
"integration_id": {
|
|
5119
|
+
"type": "string",
|
|
5120
|
+
"format": "uuid",
|
|
5121
|
+
"description": "Integration ID"
|
|
5122
|
+
},
|
|
5123
|
+
"payload": {
|
|
5124
|
+
"type": "object",
|
|
5125
|
+
"additionalProperties": true,
|
|
5126
|
+
"description": "Request payload for the managed call operation"
|
|
5127
|
+
},
|
|
5128
|
+
"correlation_id": {
|
|
5129
|
+
"type": "string",
|
|
5130
|
+
"description": "Correlation ID for tracing related events (auto-generated if not provided)"
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5133
|
+
},
|
|
5134
|
+
"ManagedCallExecuteResponse": {
|
|
5135
|
+
"description": "The response from a managed call execution.\nOn success, returns the JSONata-mapped response data directly (no wrapper).\nThe shape is entirely defined by your response_mapping JSONata expression.\nIf no response_mapping is configured, returns the raw external API response.\nCheck the X-Inbound-Event-Id header for inbound pipeline tracking when inbound routing is configured.\n",
|
|
5136
|
+
"additionalProperties": true
|
|
5137
|
+
},
|
|
5138
|
+
"ManagedCallErrorResponse": {
|
|
5139
|
+
"type": "object",
|
|
5140
|
+
"required": [
|
|
5141
|
+
"error"
|
|
5142
|
+
],
|
|
5143
|
+
"properties": {
|
|
5144
|
+
"error": {
|
|
5145
|
+
"type": "object",
|
|
5146
|
+
"required": [
|
|
5147
|
+
"code",
|
|
5148
|
+
"message"
|
|
5149
|
+
],
|
|
5150
|
+
"properties": {
|
|
5151
|
+
"code": {
|
|
5152
|
+
"type": "string",
|
|
5153
|
+
"description": "Error code (e.g., EXTERNAL_API_ERROR, SSRF_BLOCKED, MANAGED_CALL_EXECUTION_ERROR)"
|
|
5154
|
+
},
|
|
5155
|
+
"message": {
|
|
5156
|
+
"type": "string",
|
|
5157
|
+
"description": "Human-readable error message"
|
|
5158
|
+
},
|
|
5159
|
+
"details": {
|
|
5160
|
+
"type": "object",
|
|
5161
|
+
"additionalProperties": true,
|
|
5162
|
+
"description": "Additional error details (e.g., status code and body for external API errors)"
|
|
5163
|
+
}
|
|
5164
|
+
}
|
|
5165
|
+
}
|
|
5166
|
+
}
|
|
5167
|
+
},
|
|
5168
|
+
"TypeAnnotations": {
|
|
5169
|
+
"type": "object",
|
|
5170
|
+
"description": "Developer-provided type annotations for a use case's request and response fields",
|
|
5171
|
+
"properties": {
|
|
5172
|
+
"request": {
|
|
5173
|
+
"type": "object",
|
|
5174
|
+
"description": "Type annotations for request fields, keyed by dot-path (e.g., \"vendors[].id\" -> \"string\")",
|
|
5175
|
+
"additionalProperties": {
|
|
5176
|
+
"type": "string"
|
|
5177
|
+
}
|
|
5178
|
+
},
|
|
5179
|
+
"response": {
|
|
5180
|
+
"type": "object",
|
|
5181
|
+
"description": "Type annotations for response fields",
|
|
5182
|
+
"additionalProperties": {
|
|
5183
|
+
"type": "string"
|
|
5184
|
+
}
|
|
5185
|
+
}
|
|
5186
|
+
}
|
|
5187
|
+
},
|
|
5188
|
+
"TypeDescriptor": {
|
|
5189
|
+
"type": "object",
|
|
5190
|
+
"description": "Describes the inferred type shape of a JSONata expression",
|
|
5191
|
+
"required": [
|
|
5192
|
+
"kind"
|
|
5193
|
+
],
|
|
5194
|
+
"properties": {
|
|
5195
|
+
"kind": {
|
|
5196
|
+
"type": "string",
|
|
5197
|
+
"enum": [
|
|
5198
|
+
"object",
|
|
5199
|
+
"array",
|
|
5200
|
+
"string",
|
|
5201
|
+
"number",
|
|
5202
|
+
"boolean",
|
|
5203
|
+
"null",
|
|
5204
|
+
"unknown",
|
|
5205
|
+
"union"
|
|
5206
|
+
]
|
|
5207
|
+
},
|
|
5208
|
+
"properties": {
|
|
5209
|
+
"type": "object",
|
|
5210
|
+
"description": "For kind=object, the properties and their type descriptors",
|
|
5211
|
+
"additionalProperties": {
|
|
5212
|
+
"$ref": "#/components/schemas/TypeDescriptor"
|
|
5213
|
+
}
|
|
5214
|
+
},
|
|
5215
|
+
"items": {
|
|
5216
|
+
"description": "For kind=array, the type of array items",
|
|
5217
|
+
"allOf": [
|
|
5218
|
+
{
|
|
5219
|
+
"$ref": "#/components/schemas/TypeDescriptor"
|
|
5220
|
+
}
|
|
5221
|
+
]
|
|
5222
|
+
},
|
|
5223
|
+
"source": {
|
|
5224
|
+
"type": "string",
|
|
5225
|
+
"description": "For kind=unknown, the JSONata path that produced this value"
|
|
5226
|
+
},
|
|
5227
|
+
"variants": {
|
|
5228
|
+
"type": "array",
|
|
5229
|
+
"description": "For kind=union, the variant types",
|
|
5230
|
+
"items": {
|
|
5231
|
+
"$ref": "#/components/schemas/TypeDescriptor"
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5235
|
+
},
|
|
5236
|
+
"UseCaseTypePreview": {
|
|
5237
|
+
"type": "object",
|
|
5238
|
+
"description": "Scaffolded type descriptors for a single use case",
|
|
5239
|
+
"required": [
|
|
5240
|
+
"slug",
|
|
5241
|
+
"request_shape",
|
|
5242
|
+
"response_shape"
|
|
5243
|
+
],
|
|
5244
|
+
"properties": {
|
|
5245
|
+
"slug": {
|
|
5246
|
+
"type": "string"
|
|
5247
|
+
},
|
|
5248
|
+
"name": {
|
|
5249
|
+
"type": "string"
|
|
5250
|
+
},
|
|
5251
|
+
"request_shape": {
|
|
5252
|
+
"$ref": "#/components/schemas/TypeDescriptor"
|
|
5253
|
+
},
|
|
5254
|
+
"response_shape": {
|
|
5255
|
+
"$ref": "#/components/schemas/TypeDescriptor"
|
|
5256
|
+
},
|
|
5257
|
+
"existing_annotations": {
|
|
5258
|
+
"$ref": "#/components/schemas/TypeAnnotations"
|
|
5259
|
+
}
|
|
5260
|
+
}
|
|
5261
|
+
},
|
|
5262
|
+
"GenerateTypesPreviewResponse": {
|
|
5263
|
+
"type": "object",
|
|
5264
|
+
"required": [
|
|
5265
|
+
"use_cases"
|
|
5266
|
+
],
|
|
5267
|
+
"properties": {
|
|
5268
|
+
"integration_name": {
|
|
5269
|
+
"type": "string"
|
|
5270
|
+
},
|
|
5271
|
+
"use_cases": {
|
|
5272
|
+
"type": "array",
|
|
5273
|
+
"items": {
|
|
5274
|
+
"$ref": "#/components/schemas/UseCaseTypePreview"
|
|
5275
|
+
}
|
|
5276
|
+
},
|
|
5277
|
+
"previous_version": {
|
|
5278
|
+
"type": "string",
|
|
5279
|
+
"description": "Previously generated version, if any"
|
|
5280
|
+
},
|
|
5281
|
+
"suggested_version": {
|
|
5282
|
+
"type": "string",
|
|
5283
|
+
"description": "Suggested next version based on detected changes"
|
|
5284
|
+
},
|
|
5285
|
+
"suggested_bump": {
|
|
5286
|
+
"type": "string",
|
|
5287
|
+
"enum": [
|
|
5288
|
+
"major",
|
|
5289
|
+
"minor"
|
|
5290
|
+
]
|
|
5291
|
+
},
|
|
5292
|
+
"detected_changes": {
|
|
5293
|
+
"type": "array",
|
|
5294
|
+
"items": {
|
|
5295
|
+
"type": "object",
|
|
5296
|
+
"required": [
|
|
5297
|
+
"slug",
|
|
5298
|
+
"field",
|
|
5299
|
+
"type",
|
|
5300
|
+
"description"
|
|
5301
|
+
],
|
|
5302
|
+
"properties": {
|
|
5303
|
+
"slug": {
|
|
5304
|
+
"type": "string"
|
|
5305
|
+
},
|
|
5306
|
+
"field": {
|
|
5307
|
+
"type": "string"
|
|
5308
|
+
},
|
|
5309
|
+
"type": {
|
|
5310
|
+
"type": "string",
|
|
5311
|
+
"enum": [
|
|
5312
|
+
"breaking",
|
|
5313
|
+
"non-breaking"
|
|
5314
|
+
]
|
|
5315
|
+
},
|
|
5316
|
+
"description": {
|
|
5317
|
+
"type": "string"
|
|
5318
|
+
}
|
|
5319
|
+
}
|
|
5320
|
+
}
|
|
5321
|
+
}
|
|
5322
|
+
}
|
|
5323
|
+
},
|
|
5324
|
+
"GenerateTypesRequest": {
|
|
5325
|
+
"type": "object",
|
|
5326
|
+
"required": [
|
|
5327
|
+
"package_name",
|
|
5328
|
+
"version"
|
|
5329
|
+
],
|
|
5330
|
+
"properties": {
|
|
5331
|
+
"package_name": {
|
|
5332
|
+
"type": "string",
|
|
5333
|
+
"description": "npm package name",
|
|
5334
|
+
"example": "@epilot/hems-cleverpv"
|
|
5335
|
+
},
|
|
5336
|
+
"version": {
|
|
4622
5337
|
"type": "string",
|
|
4623
|
-
"description": "
|
|
5338
|
+
"description": "Package version",
|
|
5339
|
+
"example": "1.0.0"
|
|
4624
5340
|
},
|
|
4625
|
-
"
|
|
5341
|
+
"description": {
|
|
5342
|
+
"type": "string"
|
|
5343
|
+
},
|
|
5344
|
+
"domain_package": {
|
|
4626
5345
|
"type": "string",
|
|
4627
|
-
"description": "
|
|
5346
|
+
"description": "Domain standard package to extend",
|
|
5347
|
+
"example": "@epilot/hems"
|
|
4628
5348
|
},
|
|
4629
|
-
"
|
|
5349
|
+
"domain_map_name": {
|
|
4630
5350
|
"type": "string",
|
|
4631
|
-
"description": "
|
|
5351
|
+
"description": "Name of the domain UseCaseMap to extend",
|
|
5352
|
+
"example": "HemsUseCaseMap"
|
|
5353
|
+
},
|
|
5354
|
+
"annotations": {
|
|
5355
|
+
"type": "object",
|
|
5356
|
+
"description": "Type annotations per use case slug",
|
|
5357
|
+
"additionalProperties": {
|
|
5358
|
+
"$ref": "#/components/schemas/TypeAnnotations"
|
|
5359
|
+
}
|
|
4632
5360
|
}
|
|
4633
5361
|
}
|
|
4634
5362
|
},
|
|
4635
|
-
"
|
|
5363
|
+
"GenerateTypesResponse": {
|
|
4636
5364
|
"type": "object",
|
|
4637
5365
|
"required": [
|
|
4638
|
-
"
|
|
4639
|
-
"
|
|
5366
|
+
"package_name",
|
|
5367
|
+
"version",
|
|
5368
|
+
"files"
|
|
4640
5369
|
],
|
|
4641
|
-
"description": "HTTP operation configuration for managed calls",
|
|
4642
5370
|
"properties": {
|
|
4643
|
-
"
|
|
4644
|
-
"type": "string"
|
|
4645
|
-
"enum": [
|
|
4646
|
-
"GET",
|
|
4647
|
-
"POST",
|
|
4648
|
-
"PUT",
|
|
4649
|
-
"PATCH",
|
|
4650
|
-
"DELETE"
|
|
4651
|
-
]
|
|
5371
|
+
"package_name": {
|
|
5372
|
+
"type": "string"
|
|
4652
5373
|
},
|
|
4653
|
-
"
|
|
4654
|
-
"type": "string"
|
|
4655
|
-
"description": "URL path template with {{variable}} interpolation"
|
|
5374
|
+
"version": {
|
|
5375
|
+
"type": "string"
|
|
4656
5376
|
},
|
|
4657
|
-
"
|
|
5377
|
+
"files": {
|
|
4658
5378
|
"type": "object",
|
|
5379
|
+
"description": "Generated file contents keyed by file path",
|
|
4659
5380
|
"additionalProperties": {
|
|
4660
5381
|
"type": "string"
|
|
4661
5382
|
}
|
|
4662
5383
|
},
|
|
4663
|
-
"
|
|
4664
|
-
"type": "
|
|
4665
|
-
"
|
|
5384
|
+
"warnings": {
|
|
5385
|
+
"type": "array",
|
|
5386
|
+
"items": {
|
|
4666
5387
|
"type": "string"
|
|
4667
5388
|
}
|
|
4668
5389
|
}
|
|
4669
5390
|
}
|
|
4670
5391
|
},
|
|
4671
|
-
"
|
|
5392
|
+
"CommitTypesRequest": {
|
|
4672
5393
|
"type": "object",
|
|
4673
5394
|
"required": [
|
|
4674
|
-
"
|
|
5395
|
+
"package_name",
|
|
5396
|
+
"version"
|
|
4675
5397
|
],
|
|
4676
5398
|
"properties": {
|
|
4677
|
-
"
|
|
5399
|
+
"package_name": {
|
|
4678
5400
|
"type": "string",
|
|
4679
|
-
"
|
|
4680
|
-
"
|
|
4681
|
-
},
|
|
4682
|
-
"payload": {
|
|
4683
|
-
"type": "object",
|
|
4684
|
-
"additionalProperties": true,
|
|
4685
|
-
"description": "Request payload for the managed call operation"
|
|
5401
|
+
"description": "npm package name",
|
|
5402
|
+
"example": "@epilot/hems-cleverpv"
|
|
4686
5403
|
},
|
|
4687
|
-
"
|
|
5404
|
+
"version": {
|
|
4688
5405
|
"type": "string",
|
|
4689
|
-
"description": "
|
|
5406
|
+
"description": "Package version",
|
|
5407
|
+
"example": "1.0.0"
|
|
5408
|
+
},
|
|
5409
|
+
"annotations": {
|
|
5410
|
+
"type": "object",
|
|
5411
|
+
"description": "Type annotations per use case slug",
|
|
5412
|
+
"additionalProperties": {
|
|
5413
|
+
"$ref": "#/components/schemas/TypeAnnotations"
|
|
5414
|
+
}
|
|
4690
5415
|
}
|
|
4691
5416
|
}
|
|
4692
5417
|
},
|
|
4693
|
-
"
|
|
4694
|
-
"description": "The response from a managed call execution.\nOn success, returns the JSONata-mapped response data directly (no wrapper).\nThe shape is entirely defined by your response_mapping JSONata expression.\nIf no response_mapping is configured, returns the raw external API response.\nCheck the X-Inbound-Event-Id header for inbound pipeline tracking when inbound routing is configured.\n",
|
|
4695
|
-
"additionalProperties": true
|
|
4696
|
-
},
|
|
4697
|
-
"ManagedCallErrorResponse": {
|
|
5418
|
+
"CommitTypesResponse": {
|
|
4698
5419
|
"type": "object",
|
|
4699
5420
|
"required": [
|
|
4700
|
-
"
|
|
5421
|
+
"committed"
|
|
4701
5422
|
],
|
|
4702
5423
|
"properties": {
|
|
4703
|
-
"
|
|
4704
|
-
"type": "
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
"code": {
|
|
4711
|
-
"type": "string",
|
|
4712
|
-
"description": "Error code (e.g., EXTERNAL_API_ERROR, SSRF_BLOCKED, MANAGED_CALL_EXECUTION_ERROR)"
|
|
4713
|
-
},
|
|
4714
|
-
"message": {
|
|
4715
|
-
"type": "string",
|
|
4716
|
-
"description": "Human-readable error message"
|
|
4717
|
-
},
|
|
4718
|
-
"details": {
|
|
4719
|
-
"type": "object",
|
|
4720
|
-
"additionalProperties": true,
|
|
4721
|
-
"description": "Additional error details (e.g., status code and body for external API errors)"
|
|
4722
|
-
}
|
|
5424
|
+
"committed": {
|
|
5425
|
+
"type": "boolean"
|
|
5426
|
+
},
|
|
5427
|
+
"warnings": {
|
|
5428
|
+
"type": "array",
|
|
5429
|
+
"items": {
|
|
5430
|
+
"type": "string"
|
|
4723
5431
|
}
|
|
4724
5432
|
}
|
|
4725
5433
|
}
|
|
@@ -6351,48 +7059,222 @@
|
|
|
6351
7059
|
},
|
|
6352
7060
|
"event_id": {
|
|
6353
7061
|
"type": "string",
|
|
6354
|
-
"description": "Unique event identifier"
|
|
7062
|
+
"description": "Unique event identifier"
|
|
7063
|
+
},
|
|
7064
|
+
"correlation_id": {
|
|
7065
|
+
"type": "string",
|
|
7066
|
+
"nullable": true,
|
|
7067
|
+
"description": "Correlation ID for tracing related events"
|
|
7068
|
+
},
|
|
7069
|
+
"integration_id": {
|
|
7070
|
+
"type": "string",
|
|
7071
|
+
"nullable": true,
|
|
7072
|
+
"description": "Integration ID"
|
|
7073
|
+
},
|
|
7074
|
+
"use_case_id": {
|
|
7075
|
+
"type": "string",
|
|
7076
|
+
"nullable": true,
|
|
7077
|
+
"description": "Use case ID"
|
|
7078
|
+
},
|
|
7079
|
+
"event_type": {
|
|
7080
|
+
"type": "string",
|
|
7081
|
+
"enum": [
|
|
7082
|
+
"CREATE",
|
|
7083
|
+
"UPDATE",
|
|
7084
|
+
"DELETE",
|
|
7085
|
+
"TRIGGER"
|
|
7086
|
+
],
|
|
7087
|
+
"description": "Type of event (optional for V3 events)"
|
|
7088
|
+
},
|
|
7089
|
+
"object_type": {
|
|
7090
|
+
"type": "string",
|
|
7091
|
+
"description": "Type of object being synced (e.g., 'contract', 'meter')"
|
|
7092
|
+
},
|
|
7093
|
+
"sync_type": {
|
|
7094
|
+
"type": "string",
|
|
7095
|
+
"enum": [
|
|
7096
|
+
"entity",
|
|
7097
|
+
"meter_reading",
|
|
7098
|
+
"webhook",
|
|
7099
|
+
"api_deprecation"
|
|
7100
|
+
],
|
|
7101
|
+
"description": "Type of sync operation"
|
|
7102
|
+
},
|
|
7103
|
+
"status": {
|
|
7104
|
+
"type": "string",
|
|
7105
|
+
"enum": [
|
|
7106
|
+
"success",
|
|
7107
|
+
"error",
|
|
7108
|
+
"skipped",
|
|
7109
|
+
"warning"
|
|
7110
|
+
],
|
|
7111
|
+
"description": "Processing status"
|
|
7112
|
+
},
|
|
7113
|
+
"error_code": {
|
|
7114
|
+
"type": "string",
|
|
7115
|
+
"nullable": true,
|
|
7116
|
+
"description": "Error code (when status=error)"
|
|
7117
|
+
},
|
|
7118
|
+
"error_message": {
|
|
7119
|
+
"type": "string",
|
|
7120
|
+
"nullable": true,
|
|
7121
|
+
"description": "Error message (when status=error)"
|
|
7122
|
+
},
|
|
7123
|
+
"error_category": {
|
|
7124
|
+
"type": "string",
|
|
7125
|
+
"nullable": true,
|
|
7126
|
+
"enum": [
|
|
7127
|
+
"validation",
|
|
7128
|
+
"configuration",
|
|
7129
|
+
"downstream_api",
|
|
7130
|
+
"timeout",
|
|
7131
|
+
"system"
|
|
7132
|
+
],
|
|
7133
|
+
"description": "Error category (when status=error)"
|
|
7134
|
+
},
|
|
7135
|
+
"processing_duration_ms": {
|
|
7136
|
+
"type": "integer",
|
|
7137
|
+
"nullable": true,
|
|
7138
|
+
"description": "Processing duration in milliseconds"
|
|
7139
|
+
},
|
|
7140
|
+
"received_at": {
|
|
7141
|
+
"type": "string",
|
|
7142
|
+
"format": "date-time",
|
|
7143
|
+
"description": "When the event was received"
|
|
7144
|
+
},
|
|
7145
|
+
"completed_at": {
|
|
7146
|
+
"type": "string",
|
|
7147
|
+
"format": "date-time",
|
|
7148
|
+
"description": "When processing completed"
|
|
7149
|
+
}
|
|
7150
|
+
}
|
|
7151
|
+
},
|
|
7152
|
+
"QueryMonitoringEventsV2Request": {
|
|
7153
|
+
"type": "object",
|
|
7154
|
+
"properties": {
|
|
7155
|
+
"use_case_id": {
|
|
7156
|
+
"type": "string",
|
|
7157
|
+
"description": "Filter by use case ID (UUID). Empty string matches \"General\" events."
|
|
7158
|
+
},
|
|
7159
|
+
"use_case_type": {
|
|
7160
|
+
"type": "string",
|
|
7161
|
+
"enum": [
|
|
7162
|
+
"inbound",
|
|
7163
|
+
"outbound",
|
|
7164
|
+
"file_proxy",
|
|
7165
|
+
"managed_call",
|
|
7166
|
+
"secure_proxy"
|
|
7167
|
+
],
|
|
7168
|
+
"description": "Filter by use case type (replaces direction)"
|
|
7169
|
+
},
|
|
7170
|
+
"level": {
|
|
7171
|
+
"type": "string",
|
|
7172
|
+
"enum": [
|
|
7173
|
+
"success",
|
|
7174
|
+
"error",
|
|
7175
|
+
"skipped",
|
|
7176
|
+
"warning"
|
|
7177
|
+
],
|
|
7178
|
+
"description": "Filter by event level"
|
|
7179
|
+
},
|
|
7180
|
+
"code": {
|
|
7181
|
+
"type": "string",
|
|
7182
|
+
"description": "Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502)"
|
|
7183
|
+
},
|
|
7184
|
+
"event_id": {
|
|
7185
|
+
"type": "string",
|
|
7186
|
+
"description": "Filter by trigger/inbound event ID"
|
|
7187
|
+
},
|
|
7188
|
+
"correlation_id": {
|
|
7189
|
+
"type": "string",
|
|
7190
|
+
"description": "Filter by correlation ID for tracing"
|
|
7191
|
+
},
|
|
7192
|
+
"from_date": {
|
|
7193
|
+
"type": "string",
|
|
7194
|
+
"format": "date-time",
|
|
7195
|
+
"description": "Filter events from this date (inclusive)",
|
|
7196
|
+
"example": "2025-01-01T00:00:00Z"
|
|
7197
|
+
},
|
|
7198
|
+
"to_date": {
|
|
7199
|
+
"type": "string",
|
|
7200
|
+
"format": "date-time",
|
|
7201
|
+
"description": "Filter events until this date (inclusive)",
|
|
7202
|
+
"example": "2025-01-31T23:59:59Z"
|
|
7203
|
+
},
|
|
7204
|
+
"limit": {
|
|
7205
|
+
"type": "integer",
|
|
7206
|
+
"description": "Maximum number of results to return",
|
|
7207
|
+
"example": 50,
|
|
7208
|
+
"default": 50,
|
|
7209
|
+
"minimum": 1,
|
|
7210
|
+
"maximum": 100
|
|
7211
|
+
},
|
|
7212
|
+
"cursor": {
|
|
7213
|
+
"type": "object",
|
|
7214
|
+
"description": "Cursor for pagination (from previous response's next_cursor)",
|
|
7215
|
+
"properties": {
|
|
7216
|
+
"created_at": {
|
|
7217
|
+
"type": "string",
|
|
7218
|
+
"format": "date-time"
|
|
7219
|
+
},
|
|
7220
|
+
"id": {
|
|
7221
|
+
"type": "string",
|
|
7222
|
+
"format": "uuid"
|
|
7223
|
+
}
|
|
7224
|
+
}
|
|
7225
|
+
}
|
|
7226
|
+
}
|
|
7227
|
+
},
|
|
7228
|
+
"MonitoringEventV2": {
|
|
7229
|
+
"type": "object",
|
|
7230
|
+
"required": [
|
|
7231
|
+
"id",
|
|
7232
|
+
"org_id",
|
|
7233
|
+
"integration_id",
|
|
7234
|
+
"event_id",
|
|
7235
|
+
"use_case_type",
|
|
7236
|
+
"level",
|
|
7237
|
+
"created_at"
|
|
7238
|
+
],
|
|
7239
|
+
"properties": {
|
|
7240
|
+
"id": {
|
|
7241
|
+
"type": "string",
|
|
7242
|
+
"format": "uuid",
|
|
7243
|
+
"description": "Unique monitoring event ID"
|
|
6355
7244
|
},
|
|
6356
|
-
"
|
|
7245
|
+
"org_id": {
|
|
6357
7246
|
"type": "string",
|
|
6358
|
-
"
|
|
6359
|
-
"description": "Correlation ID for tracing related events"
|
|
7247
|
+
"description": "Organization ID"
|
|
6360
7248
|
},
|
|
6361
7249
|
"integration_id": {
|
|
6362
7250
|
"type": "string",
|
|
6363
|
-
"nullable": true,
|
|
6364
7251
|
"description": "Integration ID"
|
|
6365
7252
|
},
|
|
6366
|
-
"
|
|
7253
|
+
"event_id": {
|
|
6367
7254
|
"type": "string",
|
|
6368
|
-
"
|
|
6369
|
-
"description": "Use case ID"
|
|
7255
|
+
"description": "Trigger/inbound event ID (groups related monitoring events)"
|
|
6370
7256
|
},
|
|
6371
|
-
"
|
|
7257
|
+
"correlation_id": {
|
|
6372
7258
|
"type": "string",
|
|
6373
|
-
"
|
|
6374
|
-
"CREATE",
|
|
6375
|
-
"UPDATE",
|
|
6376
|
-
"DELETE",
|
|
6377
|
-
"TRIGGER"
|
|
6378
|
-
],
|
|
6379
|
-
"description": "Type of event (optional for V3 events)"
|
|
7259
|
+
"description": "Correlation ID for tracing. Empty when unavailable."
|
|
6380
7260
|
},
|
|
6381
|
-
"
|
|
7261
|
+
"use_case_id": {
|
|
6382
7262
|
"type": "string",
|
|
6383
|
-
"description": "
|
|
7263
|
+
"description": "Use case ID. Empty for system-level events (\"General\")."
|
|
6384
7264
|
},
|
|
6385
|
-
"
|
|
7265
|
+
"use_case_type": {
|
|
6386
7266
|
"type": "string",
|
|
6387
7267
|
"enum": [
|
|
6388
|
-
"
|
|
6389
|
-
"
|
|
6390
|
-
"
|
|
6391
|
-
"
|
|
7268
|
+
"inbound",
|
|
7269
|
+
"outbound",
|
|
7270
|
+
"file_proxy",
|
|
7271
|
+
"managed_call",
|
|
7272
|
+
"secure_proxy",
|
|
7273
|
+
""
|
|
6392
7274
|
],
|
|
6393
|
-
"description": "
|
|
7275
|
+
"description": "Use case type. Empty for system-level events."
|
|
6394
7276
|
},
|
|
6395
|
-
"
|
|
7277
|
+
"level": {
|
|
6396
7278
|
"type": "string",
|
|
6397
7279
|
"enum": [
|
|
6398
7280
|
"success",
|
|
@@ -6400,44 +7282,198 @@
|
|
|
6400
7282
|
"skipped",
|
|
6401
7283
|
"warning"
|
|
6402
7284
|
],
|
|
6403
|
-
"description": "
|
|
7285
|
+
"description": "Event outcome level"
|
|
6404
7286
|
},
|
|
6405
|
-
"
|
|
7287
|
+
"code": {
|
|
6406
7288
|
"type": "string",
|
|
6407
|
-
"
|
|
6408
|
-
"description": "Error code (when status=error)"
|
|
7289
|
+
"description": "Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success."
|
|
6409
7290
|
},
|
|
6410
|
-
"
|
|
7291
|
+
"message": {
|
|
6411
7292
|
"type": "string",
|
|
7293
|
+
"description": "Human-readable message. Empty when not applicable."
|
|
7294
|
+
},
|
|
7295
|
+
"detail": {
|
|
7296
|
+
"type": "object",
|
|
6412
7297
|
"nullable": true,
|
|
6413
|
-
"
|
|
7298
|
+
"additionalProperties": true,
|
|
7299
|
+
"description": "Event-specific JSON data. Structure determined by `code`."
|
|
6414
7300
|
},
|
|
6415
|
-
"
|
|
7301
|
+
"created_at": {
|
|
7302
|
+
"type": "string",
|
|
7303
|
+
"format": "date-time",
|
|
7304
|
+
"description": "When the monitoring event was created"
|
|
7305
|
+
}
|
|
7306
|
+
}
|
|
7307
|
+
},
|
|
7308
|
+
"GetMonitoringStatsV2Request": {
|
|
7309
|
+
"type": "object",
|
|
7310
|
+
"properties": {
|
|
7311
|
+
"from_date": {
|
|
7312
|
+
"type": "string",
|
|
7313
|
+
"format": "date-time",
|
|
7314
|
+
"description": "Start of the time range",
|
|
7315
|
+
"example": "2025-01-01T00:00:00Z"
|
|
7316
|
+
},
|
|
7317
|
+
"to_date": {
|
|
7318
|
+
"type": "string",
|
|
7319
|
+
"format": "date-time",
|
|
7320
|
+
"description": "End of the time range",
|
|
7321
|
+
"example": "2025-01-31T23:59:59Z"
|
|
7322
|
+
},
|
|
7323
|
+
"use_case_type": {
|
|
6416
7324
|
"type": "string",
|
|
6417
|
-
"nullable": true,
|
|
6418
7325
|
"enum": [
|
|
6419
|
-
"
|
|
6420
|
-
"
|
|
6421
|
-
"
|
|
6422
|
-
"
|
|
6423
|
-
"
|
|
7326
|
+
"inbound",
|
|
7327
|
+
"outbound",
|
|
7328
|
+
"file_proxy",
|
|
7329
|
+
"managed_call",
|
|
7330
|
+
"secure_proxy"
|
|
6424
7331
|
],
|
|
6425
|
-
"description": "
|
|
7332
|
+
"description": "Filter stats by use case type"
|
|
6426
7333
|
},
|
|
6427
|
-
"
|
|
7334
|
+
"group_by": {
|
|
7335
|
+
"type": "string",
|
|
7336
|
+
"enum": [
|
|
7337
|
+
"use_case_id",
|
|
7338
|
+
"use_case_type",
|
|
7339
|
+
"level",
|
|
7340
|
+
"code",
|
|
7341
|
+
"date"
|
|
7342
|
+
],
|
|
7343
|
+
"description": "Field to group the breakdown by"
|
|
7344
|
+
}
|
|
7345
|
+
}
|
|
7346
|
+
},
|
|
7347
|
+
"MonitoringStatsV2": {
|
|
7348
|
+
"type": "object",
|
|
7349
|
+
"required": [
|
|
7350
|
+
"total_events",
|
|
7351
|
+
"success_count",
|
|
7352
|
+
"error_count",
|
|
7353
|
+
"warning_count",
|
|
7354
|
+
"skipped_count"
|
|
7355
|
+
],
|
|
7356
|
+
"properties": {
|
|
7357
|
+
"total_events": {
|
|
7358
|
+
"type": "integer",
|
|
7359
|
+
"description": "Total number of events in the period"
|
|
7360
|
+
},
|
|
7361
|
+
"success_count": {
|
|
7362
|
+
"type": "integer",
|
|
7363
|
+
"description": "Number of successful events"
|
|
7364
|
+
},
|
|
7365
|
+
"error_count": {
|
|
7366
|
+
"type": "integer",
|
|
7367
|
+
"description": "Number of error events"
|
|
7368
|
+
},
|
|
7369
|
+
"warning_count": {
|
|
6428
7370
|
"type": "integer",
|
|
7371
|
+
"description": "Number of warning events"
|
|
7372
|
+
},
|
|
7373
|
+
"skipped_count": {
|
|
7374
|
+
"type": "integer",
|
|
7375
|
+
"description": "Number of skipped events"
|
|
7376
|
+
},
|
|
7377
|
+
"ack_timeout_count": {
|
|
7378
|
+
"type": "integer",
|
|
7379
|
+
"description": "Number of ACK_TIMEOUT events (acknowledgement timed out)"
|
|
7380
|
+
},
|
|
7381
|
+
"success_rate": {
|
|
7382
|
+
"type": "number",
|
|
7383
|
+
"format": "float",
|
|
7384
|
+
"description": "Success rate as percentage (0-100)"
|
|
7385
|
+
},
|
|
7386
|
+
"last_error_at": {
|
|
7387
|
+
"type": "string",
|
|
7388
|
+
"format": "date-time",
|
|
6429
7389
|
"nullable": true,
|
|
6430
|
-
"description": "
|
|
7390
|
+
"description": "Timestamp of the most recent error"
|
|
6431
7391
|
},
|
|
6432
|
-
"
|
|
7392
|
+
"breakdown": {
|
|
7393
|
+
"type": "array",
|
|
7394
|
+
"description": "Statistics breakdown by requested group_by field",
|
|
7395
|
+
"items": {
|
|
7396
|
+
"type": "object",
|
|
7397
|
+
"additionalProperties": true
|
|
7398
|
+
}
|
|
7399
|
+
}
|
|
7400
|
+
}
|
|
7401
|
+
},
|
|
7402
|
+
"GetMonitoringTimeSeriesV2Request": {
|
|
7403
|
+
"type": "object",
|
|
7404
|
+
"required": [
|
|
7405
|
+
"from_date",
|
|
7406
|
+
"interval"
|
|
7407
|
+
],
|
|
7408
|
+
"properties": {
|
|
7409
|
+
"from_date": {
|
|
6433
7410
|
"type": "string",
|
|
6434
7411
|
"format": "date-time",
|
|
6435
|
-
"description": "
|
|
7412
|
+
"description": "Start of the time range (required)",
|
|
7413
|
+
"example": "2025-01-01T00:00:00Z"
|
|
6436
7414
|
},
|
|
6437
|
-
"
|
|
7415
|
+
"to_date": {
|
|
6438
7416
|
"type": "string",
|
|
6439
7417
|
"format": "date-time",
|
|
6440
|
-
"description": "
|
|
7418
|
+
"description": "End of the time range (defaults to now)",
|
|
7419
|
+
"example": "2025-01-31T23:59:59Z"
|
|
7420
|
+
},
|
|
7421
|
+
"interval": {
|
|
7422
|
+
"type": "string",
|
|
7423
|
+
"enum": [
|
|
7424
|
+
"5m",
|
|
7425
|
+
"10m",
|
|
7426
|
+
"30m",
|
|
7427
|
+
"1h",
|
|
7428
|
+
"3h",
|
|
7429
|
+
"1d"
|
|
7430
|
+
],
|
|
7431
|
+
"description": "Time bucket interval"
|
|
7432
|
+
},
|
|
7433
|
+
"use_case_type": {
|
|
7434
|
+
"type": "string",
|
|
7435
|
+
"enum": [
|
|
7436
|
+
"inbound",
|
|
7437
|
+
"outbound",
|
|
7438
|
+
"file_proxy",
|
|
7439
|
+
"managed_call",
|
|
7440
|
+
"secure_proxy"
|
|
7441
|
+
],
|
|
7442
|
+
"description": "Filter by use case type"
|
|
7443
|
+
}
|
|
7444
|
+
}
|
|
7445
|
+
},
|
|
7446
|
+
"TimeSeriesBucketV2": {
|
|
7447
|
+
"type": "object",
|
|
7448
|
+
"required": [
|
|
7449
|
+
"timestamp",
|
|
7450
|
+
"total_count"
|
|
7451
|
+
],
|
|
7452
|
+
"properties": {
|
|
7453
|
+
"timestamp": {
|
|
7454
|
+
"type": "string",
|
|
7455
|
+
"format": "date-time",
|
|
7456
|
+
"description": "Bucket start timestamp"
|
|
7457
|
+
},
|
|
7458
|
+
"success_count": {
|
|
7459
|
+
"type": "integer",
|
|
7460
|
+
"description": "Number of successful events in the bucket"
|
|
7461
|
+
},
|
|
7462
|
+
"error_count": {
|
|
7463
|
+
"type": "integer",
|
|
7464
|
+
"description": "Number of error events in the bucket"
|
|
7465
|
+
},
|
|
7466
|
+
"warning_count": {
|
|
7467
|
+
"type": "integer",
|
|
7468
|
+
"description": "Number of warning events in the bucket"
|
|
7469
|
+
},
|
|
7470
|
+
"skipped_count": {
|
|
7471
|
+
"type": "integer",
|
|
7472
|
+
"description": "Number of skipped events in the bucket"
|
|
7473
|
+
},
|
|
7474
|
+
"total_count": {
|
|
7475
|
+
"type": "integer",
|
|
7476
|
+
"description": "Total events in the bucket"
|
|
6441
7477
|
}
|
|
6442
7478
|
}
|
|
6443
7479
|
}
|
|
@@ -6774,6 +7810,117 @@
|
|
|
6774
7810
|
}
|
|
6775
7811
|
}
|
|
6776
7812
|
}
|
|
7813
|
+
},
|
|
7814
|
+
"QueryMonitoringEventsV2Response": {
|
|
7815
|
+
"description": "Monitoring events queried successfully",
|
|
7816
|
+
"content": {
|
|
7817
|
+
"application/json": {
|
|
7818
|
+
"schema": {
|
|
7819
|
+
"type": "object",
|
|
7820
|
+
"properties": {
|
|
7821
|
+
"data": {
|
|
7822
|
+
"type": "array",
|
|
7823
|
+
"items": {
|
|
7824
|
+
"$ref": "#/components/schemas/MonitoringEventV2"
|
|
7825
|
+
},
|
|
7826
|
+
"description": "List of monitoring events"
|
|
7827
|
+
},
|
|
7828
|
+
"next_cursor": {
|
|
7829
|
+
"type": "object",
|
|
7830
|
+
"nullable": true,
|
|
7831
|
+
"description": "Cursor to fetch the next page. Null if no more results.",
|
|
7832
|
+
"properties": {
|
|
7833
|
+
"created_at": {
|
|
7834
|
+
"type": "string",
|
|
7835
|
+
"format": "date-time"
|
|
7836
|
+
},
|
|
7837
|
+
"id": {
|
|
7838
|
+
"type": "string",
|
|
7839
|
+
"format": "uuid"
|
|
7840
|
+
}
|
|
7841
|
+
}
|
|
7842
|
+
},
|
|
7843
|
+
"has_more": {
|
|
7844
|
+
"type": "boolean",
|
|
7845
|
+
"description": "Indicates if more results are available"
|
|
7846
|
+
}
|
|
7847
|
+
}
|
|
7848
|
+
}
|
|
7849
|
+
}
|
|
7850
|
+
}
|
|
7851
|
+
},
|
|
7852
|
+
"GetMonitoringStatsV2Response": {
|
|
7853
|
+
"description": "Monitoring statistics retrieved successfully",
|
|
7854
|
+
"content": {
|
|
7855
|
+
"application/json": {
|
|
7856
|
+
"schema": {
|
|
7857
|
+
"$ref": "#/components/schemas/MonitoringStatsV2"
|
|
7858
|
+
}
|
|
7859
|
+
}
|
|
7860
|
+
}
|
|
7861
|
+
},
|
|
7862
|
+
"GetMonitoringTimeSeriesV2Response": {
|
|
7863
|
+
"description": "Time-series data retrieved successfully",
|
|
7864
|
+
"content": {
|
|
7865
|
+
"application/json": {
|
|
7866
|
+
"schema": {
|
|
7867
|
+
"type": "object",
|
|
7868
|
+
"properties": {
|
|
7869
|
+
"interval": {
|
|
7870
|
+
"type": "string",
|
|
7871
|
+
"enum": [
|
|
7872
|
+
"5m",
|
|
7873
|
+
"10m",
|
|
7874
|
+
"30m",
|
|
7875
|
+
"1h",
|
|
7876
|
+
"3h",
|
|
7877
|
+
"1d"
|
|
7878
|
+
],
|
|
7879
|
+
"description": "The bucket interval"
|
|
7880
|
+
},
|
|
7881
|
+
"from_date": {
|
|
7882
|
+
"type": "string",
|
|
7883
|
+
"format": "date-time"
|
|
7884
|
+
},
|
|
7885
|
+
"to_date": {
|
|
7886
|
+
"type": "string",
|
|
7887
|
+
"format": "date-time"
|
|
7888
|
+
},
|
|
7889
|
+
"buckets": {
|
|
7890
|
+
"type": "array",
|
|
7891
|
+
"items": {
|
|
7892
|
+
"$ref": "#/components/schemas/TimeSeriesBucketV2"
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
}
|
|
7897
|
+
}
|
|
7898
|
+
}
|
|
7899
|
+
},
|
|
7900
|
+
"GetAssociatedMonitoringEventsResponse": {
|
|
7901
|
+
"description": "Associated monitoring events for the given event_id",
|
|
7902
|
+
"content": {
|
|
7903
|
+
"application/json": {
|
|
7904
|
+
"schema": {
|
|
7905
|
+
"type": "object",
|
|
7906
|
+
"properties": {
|
|
7907
|
+
"monitoring_events": {
|
|
7908
|
+
"type": "array",
|
|
7909
|
+
"items": {
|
|
7910
|
+
"$ref": "#/components/schemas/MonitoringEventV2"
|
|
7911
|
+
},
|
|
7912
|
+
"description": "All monitoring events sharing this event_id, ordered by created_at ASC"
|
|
7913
|
+
},
|
|
7914
|
+
"inbound_event": {
|
|
7915
|
+
"type": "object",
|
|
7916
|
+
"nullable": true,
|
|
7917
|
+
"additionalProperties": true,
|
|
7918
|
+
"description": "The original inbound event payload from erp_incoming_events, if available"
|
|
7919
|
+
}
|
|
7920
|
+
}
|
|
7921
|
+
}
|
|
7922
|
+
}
|
|
7923
|
+
}
|
|
6777
7924
|
}
|
|
6778
7925
|
}
|
|
6779
7926
|
}
|