@celigo/api-specs 0.2.12 → 0.2.13

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.
@@ -1474,6 +1474,24 @@ paths:
1474
1474
  description: |-
1475
1475
  Removes a connection's registration from the integration. This does not delete the connection
1476
1476
  itself -- it only removes it from the integration's registered-connections list.
1477
+
1478
+ Fails while any resource in the integration still uses the connection -- a step
1479
+ (export, import, or lookup) in one of its flows, Tools, or APIs bound to it through
1480
+ `_connectionId`, or an alias on the integration or one of its flows whose
1481
+ `_connectionId` points at it. Move the steps to another connection first (a whole flow
1482
+ at once with `PUT /v1/flows/{_id}/replaceConnection`; Tool and API steps through their
1483
+ own step-level `replaceConnection`), remove any alias that still points at it, then
1484
+ unregister.
1485
+ x-celigo-ai-guidance:
1486
+ - |-
1487
+ Before calling, list what the integration still binds to this connection: the
1488
+ `_connectionId` of every export and import in the integration
1489
+ (`GET /v1/integrations/{_id}/exports` and `/imports` cover flow, Tool, and API
1490
+ steps) and every `aliases[]._connectionId` on the integration and its flows. While
1491
+ any remain the platform returns 400 `not_allowed` ("The connection is being actively
1492
+ used by the integration. Please ensure no integration resource is using the
1493
+ connection before deregistering."). `replaceConnection` moves steps; it does not
1494
+ rewrite aliases -- update the `aliases` array on the integration or flow.
1477
1495
  parameters:
1478
1496
  - name: _id
1479
1497
  in: path
@@ -1498,6 +1516,21 @@ paths:
1498
1516
  responses:
1499
1517
  '204':
1500
1518
  description: Connection unregistered successfully. No body returned.
1519
+ '400':
1520
+ description: |-
1521
+ A resource in the integration still uses the connection -- a flow, Tool, or API
1522
+ step bound to it, or an alias on the integration or one of its flows that points at
1523
+ it. Error code: `not_allowed`.
1524
+ content:
1525
+ application/json:
1526
+ schema:
1527
+ $ref: '#/components/schemas/Error'
1528
+ examples:
1529
+ in_use:
1530
+ value:
1531
+ errors:
1532
+ - code: not_allowed
1533
+ message: The connection is being actively used by the integration. Please ensure no integration resource is using the connection before deregistering.
1501
1534
  '401':
1502
1535
  $ref: '#/components/responses/401-unauthorized'
1503
1536
  '404':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "69a5baf",
4
+ "iasCommit": "c4ad952",
5
5
  "generatedAt": "2026-09-12"
6
6
  },
7
7
  "roots": {