@celigo/api-specs 0.2.13 → 0.2.15

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.
@@ -1475,23 +1475,27 @@ paths:
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
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.
1478
+ Fails while any resource in the integration still uses the connection. Two references
1479
+ are known to count: any step in one of its flows, Tools, or APIs whose `_connectionId`
1480
+ is this connection -- every step is an export or import document, whatever its kind
1481
+ (lookup, listener, AI agent, guardrail, Tool wrapper, transfer) -- and an alias on the
1482
+ integration or one of its flows whose `_connectionId` points at it. Move the steps to
1483
+ another connection first (a whole flow at once with
1484
+ `PUT /v1/flows/{_id}/replaceConnection`; Tool and API steps through their own
1485
+ step-level `replaceConnection`), remove or retarget any alias that still points at it,
1486
+ then unregister.
1485
1487
  x-celigo-ai-guidance:
1486
1488
  - |-
1487
1489
  Before calling, list what the integration still binds to this connection: the
1488
1490
  `_connectionId` of every export and import in the integration
1489
1491
  (`GET /v1/integrations/{_id}/exports` and `/imports` cover flow, Tool, and API
1490
1492
  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
1493
+ any remain the platform returns 400 `not_allowed` -- "The connection is being actively
1492
1494
  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.
1495
+ connection before deregistering." for a bound step, "This connection is being
1496
+ referenced by an alias. Delete the alias before deregistering the connection." for
1497
+ an alias. Aliases are separate from step bindings: retarget or remove the matching
1498
+ `aliases` entries on the integration or flow as their own write.
1495
1499
  parameters:
1496
1500
  - name: _id
1497
1501
  in: path
@@ -1519,8 +1523,10 @@ paths:
1519
1523
  '400':
1520
1524
  description: |-
1521
1525
  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`.
1526
+ step bound to it ("The connection is being actively used by the integration..."),
1527
+ or an alias on the integration or one of its flows that points at it ("This
1528
+ connection is being referenced by an alias. Delete the alias before deregistering
1529
+ the connection."). Error code: `not_allowed` for both.
1524
1530
  content:
1525
1531
  application/json:
1526
1532
  schema:
@@ -1531,6 +1537,11 @@ paths:
1531
1537
  errors:
1532
1538
  - code: not_allowed
1533
1539
  message: The connection is being actively used by the integration. Please ensure no integration resource is using the connection before deregistering.
1540
+ alias_referenced:
1541
+ value:
1542
+ errors:
1543
+ - code: not_allowed
1544
+ message: This connection is being referenced by an alias. Delete the alias before deregistering the connection.
1534
1545
  '401':
1535
1546
  $ref: '#/components/responses/401-unauthorized'
1536
1547
  '404':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
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": "c4ad952",
4
+ "iasCommit": "89fae90",
5
5
  "generatedAt": "2026-09-12"
6
6
  },
7
7
  "roots": {