@celigo/api-specs 0.2.269 → 0.2.271

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/export.yml CHANGED
@@ -6505,17 +6505,20 @@ components:
6505
6505
  type: string
6506
6506
  format: objectId
6507
6507
  x-celigo-refModel: topics
6508
- x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true, validWhen isNot ''''). The API saves a TopicExport without it, so the requirement is encoded on the request schema to mirror the form and keep listeners bound to a topic.'
6509
6508
  description: |-
6510
6509
  Topic this listener subscribes to. Create or look it up with `GET /v1/topics`; the
6511
- topic must belong to the same account. Pointing an existing listener at a different
6512
- topic starts a new subscription, read from `startPosition`. A clone made in the same
6513
- environment — of this export, or of a flow that contains it — keeps `_topicId`, so the
6514
- copy becomes another listener on the topic once its flow is enabled.
6510
+ topic must belong to the same account. A TopicExport saved without it fails with 422
6511
+ `missing_required_field`. Pointing an existing listener at a different topic starts a
6512
+ new subscription, read from `startPosition`. A clone made in the same environment — of
6513
+ this export, or of a flow that contains it — keeps `_topicId`, so the copy becomes
6514
+ another listener on the topic once its flow is enabled.
6515
6515
  x-celigo-ai-guidance:
6516
6516
  - |-
6517
- An id that is not a topic in the account fails the save with 422 `invalid_ref`
6518
- ("<id> is not a valid topic._topicId"); a malformed id fails with 422 `invalid_field`.
6517
+ Always send `topic._topicId`: a POST without it — `topic` empty, sent with
6518
+ `type: "stream"`, or left out — fails with 422 `missing_required_field`
6519
+ ("Expected field: topic._topicId to be present."). An id that is not a topic in the
6520
+ account fails the save with 422 `invalid_ref` ("<id> is not a valid topic._topicId");
6521
+ a malformed id fails with 422 `invalid_field`.
6519
6522
  examples:
6520
6523
  - 6ab1f48d38d7733b4599875c
6521
6524
  startPosition:
@@ -18299,7 +18302,6 @@ components:
18299
18302
  required:
18300
18303
  - adaptorType
18301
18304
  then:
18302
- x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true). Encoded to mirror the form so builders produce listeners that are bound to a topic.'
18303
18305
  required:
18304
18306
  - topic
18305
18307
  properties:
@@ -15,7 +15,7 @@ info:
15
15
  - Contains a collection of **tools** (referencing Tool resources), **APIs** (referencing builder-mode API resources), **prompts** (inline reusable templates), and **resources** (Celigo Storage files served to clients)
16
16
  - Can be enabled or disabled at both the server level and individual tool/API level
17
17
  - Supports MCP annotations on tools for hinting behavior (read-only, idempotent, destructive, etc.)
18
- - Binds the connections each tool's steps run on, per server (`tools[].overrides`); calls fail with "Missing connection overrides" until every lookup step's connection is bound
18
+ - Binds the connections each tool's steps run on, per server (`tools[].overrides.connections[]`, one pair per connection the Tool's steps were authored on, imports included); a call fails with "Missing connection overrides" when a connection has neither a pair nor a step entry on every step that uses it
19
19
  - Exposes prompts via `prompts/list` and `prompts/get` with Handlebars-style argument substitution
20
20
  - Carries **permission sets** ("Capability Sets" in the UI) — named bundles of its tools, APIs, prompts, and resources granted to end users via `pset:<_id>` capability strings on end-user, group, and role resource grants
21
21
  - Carries optional **traffic limits** (`policies[]`) — a server-level rate limit, a per-user rate limit for OAuth end users, and a usage quota — enforced before a tool runs; a rejected call gets HTTP 429 with `Retry-After`
@@ -145,9 +145,11 @@ paths:
145
145
  x-internal: false
146
146
  summary: Create an MCP server
147
147
  description: |-
148
- Creates an MCP server. The server is created disabled by default.
149
- `name` and `relativeURI` are the only required fields;
150
- `relativeURI` must be unique per account.
148
+ Creates an MCP server. `name` and `relativeURI` are the only required
149
+ fields; `relativeURI` must be unique per account. A minimal request
150
+ creates the server enabled (`disabled: false`) with `enabledItemCount` 0,
151
+ so it serves nothing until a tool, API, resource, prompt, or available
152
+ upstream capability is enabled.
151
153
  x-celigo-ai-guidance:
152
154
  - |-
153
155
  Creates a new MCP server that exposes tools, APIs,
@@ -158,10 +160,9 @@ paths:
158
160
  where the segment contains only alphanumeric characters, underscores,
159
161
  and hyphens.
160
162
  - |-
161
- The server is created in a disabled state by default; to enable it,
162
- at least one tool, API, resource, prompt, or available upstream
163
- capability within the server must also be enabled — otherwise the
164
- write fails with 422 "mcp_server_enablement_requires_enabled_item".
163
+ Send the server's tools, APIs, resources, or prompts enabled in the same
164
+ request: a server created with none enabled is reachable at its URL but
165
+ lists nothing to MCP clients.
165
166
  operationId: createMcpServer
166
167
  tags:
167
168
  - MCP Servers
@@ -178,7 +179,7 @@ paths:
178
179
  name: Customer Integration MCP
179
180
  relativeURI: /customers
180
181
  with_tool:
181
- summary: With a tool (its lookup step bound) and Celigo OAuth
182
+ summary: With a tool (its connection bound with an identity pair) and Celigo OAuth
182
183
  value:
183
184
  name: Customer Integration MCP
184
185
  relativeURI: /customers
@@ -191,9 +192,9 @@ paths:
191
192
  annotations:
192
193
  readOnlyHint: true
193
194
  overrides:
194
- exports:
195
- - _abstractId: 69d462d5b9c28ea0b7f82530
196
- _id: 69d462d5b9c28ea0b7f82530
195
+ connections:
196
+ - _abstractId: 6ab1ebb94db5688fd8c7189f
197
+ _id: 6ab1ebb94db5688fd8c7189f
197
198
  oauth:
198
199
  useCeligoOauth: true
199
200
  responses:
@@ -212,7 +213,7 @@ paths:
212
213
  name: Customer Integration MCP
213
214
  relativeURI: /customers
214
215
  description: ''
215
- disabled: true
216
+ disabled: false
216
217
  connections: []
217
218
  tools: []
218
219
  apis: []
@@ -627,9 +628,9 @@ paths:
627
628
  tools, connections, permission sets, and traffic limits. An omitted
628
629
  logging object is kept, like upstreamMcpConnections and _networkPolicyId.
629
630
  - |-
630
- Enabling the server (disabled: false) needs at least one enabled tool,
631
- API, prompt, or resource, or one enabled and available upstream row;
632
- otherwise the PUT fails with 422 "mcp_server_enablement_requires_enabled_item".
631
+ Enable the server's items in the same PUT that enables the server: a
632
+ server saved with disabled false and no enabled tool, API, prompt,
633
+ resource, or available upstream row is reachable but lists nothing.
633
634
  patch:
634
635
  x-internal: false
635
636
  summary: Patch an MCP server
@@ -663,9 +664,9 @@ paths:
663
664
  `/_networkPolicyId` takes `add`,
664
665
  `replace` (a policy in the same environment, else 422 `invalid_ref`),
665
666
  and `remove` to unassign — `replace` with a `null` value is rejected
666
- with 422 `missing 'value' property`. Setting `/disabled` to `false` is rejected
667
- with 422 `mcp_server_enablement_requires_enabled_item` unless at least
668
- one tool, API, prompt, resource, or available upstream row is enabled.
667
+ with 422 `missing 'value' property`. Setting `/disabled` to `false` on a
668
+ server with nothing enabled saves; the server then lists no tools, prompts,
669
+ or resources until an item is enabled.
669
670
  operationId: patchMcpServer
670
671
  tags:
671
672
  - MCP Servers
@@ -778,8 +779,8 @@ paths:
778
779
  description: |-
779
780
  The patch names a path outside the whitelist, an invalid
780
781
  `_networkPolicyId`, an invalid policy, a request-log mode or debug
781
- window the account cannot use, a debug window in the past or beyond
782
- the license's limit, or would enable a server with nothing enabled.
782
+ window the account cannot use, or a debug window in the past or beyond
783
+ the license's limit.
783
784
  content:
784
785
  application/json:
785
786
  schema:
@@ -823,11 +824,6 @@ paths:
823
824
  - field: logging.debugUntil
824
825
  code: not_allowed
825
826
  message: As per your license, you can only set debug duration up to 72.0 hours. Please contact celigo support to upgrade your license.
826
- enablement:
827
- value:
828
- errors:
829
- - code: mcp_server_enablement_requires_enabled_item
830
- message: The MCP server cannot be enabled without at least one enabled API, Tool, Resource, or Prompt. Please enable at least one API, Tool, Resource, or Prompt before enabling the server.
831
827
  invalid_network_policy:
832
828
  value:
833
829
  errors:
@@ -2771,21 +2767,33 @@ components:
2771
2767
  Per-server bindings for a tool's steps, applied on this server without changing the
2772
2768
  Tool itself.
2773
2769
 
2774
- Each lookup (export) step's connection must be bound here, or each `tools/call` fails
2775
- with "Missing connection overrides. The following connection IDs must be overridden: …".
2776
- The export and router fields described below as not applied are stored but don't change
2777
- a call.
2770
+ Write a `connections[]` pair for every connection the Tool's steps were authored on:
2771
+ the pairs are the only binding the integrator.io UI reads and keeps. A `tools/call`
2772
+ fails with "Missing connection overrides. The following connection IDs must be
2773
+ overridden: …" when a connection has neither a pair nor an `exports[]` or `imports[]`
2774
+ entry on every step that uses it. The export and router fields described below as not
2775
+ applied are stored but don't change a call.
2778
2776
  x-celigo-ai-guidance:
2779
2777
  - |-
2780
- Bind each lookup step with an `exports[]` entry whose `_abstractId` and `_id` are both
2781
- the step's export id; add `_connectionId` to run that step on another connection. An
2782
- entry with `_connectionId` but no `_id` returns a 404, and binding only some of the
2783
- Tool's steps still fails the call with "Missing connection overrides".
2778
+ Bind with `connections[]`: one `{_abstractId, _id}` pair per connection the Tool's
2779
+ steps were authored on (`GET /v1/tools/{_id}/connections` lists them) — `_id` equal to
2780
+ `_abstractId` to use that connection as it is, another connection's id to run every
2781
+ step that uses it there instead. An identity pair is a complete binding. A connection
2782
+ with no pair fails the call with "Missing connection overrides" unless every step that
2783
+ uses it has its own `exports[]` or `imports[]` entry.
2784
2784
  - |-
2785
- A `connections[]` pair binds only when `_id` names a different connection than
2786
- `_abstractId`; it then re-maps the steps that use that connection. An identity pair
2787
- (`_abstractId` equal to `_id`) on a connection that doesn't require end-user
2788
- credentials leaves the steps unbound. When a step has both, its `exports[]` entry wins.
2785
+ The integrator.io UI reads and writes only the pairs: a tool entry missing a pair with
2786
+ a non-empty `_id` for any of the Tool's connections shows "Configure connection" on the
2787
+ server's Capabilities tab, and a save from the UI replaces the entry's overrides with
2788
+ its pairs, dropping its `exports[]` and `imports[]` entries. Write a step entry only in
2789
+ addition to the pairs, for a step that must run on a different connection from its
2790
+ siblings.
2791
+ - |-
2792
+ A step entry's `_connectionId` wins over the pair for that step. `_id` (the step's own
2793
+ export or import id) is optional beside `_connectionId` — an `exports[]` entry carrying
2794
+ only `_abstractId` and `_connectionId` ran the call (200, live-verified 2026-11-07) —
2795
+ but an entry with `_id` and no `_connectionId` pins the step to its authored
2796
+ connection, so a pair that remaps that connection skips it.
2789
2797
  - |-
2790
2798
  `connections[]` ids aren't validated on save, and the server caches its configuration,
2791
2799
  so a saved change can take tens of seconds to reach `tools/call`.
@@ -2793,8 +2801,10 @@ components:
2793
2801
  connections:
2794
2802
  type: array
2795
2803
  description: |
2796
- Connection overrides. Each entry maps an abstract connection reference
2797
- in the tool to a concrete connection resource for this server.
2804
+ Connection bindings, one per connection the Tool's steps were authored on. Each
2805
+ pair maps that connection (`_abstractId`) to the connection the steps run on for
2806
+ this server (`_id`) — the same id, or another one — except a step whose own
2807
+ `exports[]` or `imports[]` entry names a `_connectionId`, which wins for that step.
2798
2808
  items:
2799
2809
  type: object
2800
2810
  properties:
@@ -2838,9 +2848,10 @@ components:
2838
2848
  exports:
2839
2849
  type: array
2840
2850
  description: |
2841
- Export (lookup) step bindings. The binding (`_abstractId`, `_id`, and optionally
2842
- `_connectionId`) is applied to calls; the settings marked below as not applied are
2843
- stored but ignored.
2851
+ Export (lookup) step bindings for a step that must run on a connection other than
2852
+ the one its `connections[]` pair gives it, written in addition to the pair. The
2853
+ binding (`_abstractId`, `_id` and `_connectionId`) is applied to calls; the settings
2854
+ marked below as not applied are stored but ignored.
2844
2855
  items:
2845
2856
  type: object
2846
2857
  properties:
@@ -2955,9 +2966,10 @@ components:
2955
2966
  imports:
2956
2967
  type: array
2957
2968
  description: |
2958
- Import overrides. Customize import resources used within the tool,
2959
- including connection bindings, hooks, response mappings, and
2960
- adaptor-specific settings.
2969
+ Import overrides, written in addition to the `connections[]` pairs for a step
2970
+ that must run on a connection other than the one its pair gives it. Customize
2971
+ import resources used within the tool, including connection bindings, hooks,
2972
+ response mappings, and adaptor-specific settings.
2961
2973
  items:
2962
2974
  type: object
2963
2975
  properties:
@@ -3584,9 +3596,8 @@ components:
3584
3596
  `prompts/list` and not fetchable via `prompts/get`. A prompt sent
3585
3597
  without `disabled` is saved enabled, unlike tool, API and resource
3586
3598
  entries, which default to disabled; send `true` to keep a new prompt
3587
- hidden. An enabled prompt also satisfies the server-level enablement
3588
- rule on its own. Prompts saved before this field existed are reported
3589
- as `disabled: false`.
3599
+ hidden. Prompts saved before this field existed are reported as
3600
+ `disabled: false`.
3590
3601
  examples:
3591
3602
  - false
3592
3603
  - true
@@ -4416,23 +4427,22 @@ components:
4416
4427
  - Exposes customer management tools for AI agent consumption
4417
4428
  disabled:
4418
4429
  type: boolean
4419
- default: true
4430
+ default: false
4420
4431
  description: |-
4421
4432
  When true, the server refuses MCP clients: on the alias URL
4422
- (`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server, one
4423
- with nothing enabled, or an unknown alias answers HTTP 404
4424
- `resource_not_found` with no `WWW-Authenticate` header, whatever
4425
- credential is sent, while the direct `/mcp{relativeURI}` route still
4426
- authenticates the call and then returns JSON-RPC error `1006` ("MCP
4427
- Server not found for relativeURI: …"). New servers start disabled.
4428
- Enabling requires at least one enabled tool, API, resource, or prompt,
4429
- or one enabled and available upstream capability — otherwise the write
4430
- is rejected with 422 `mcp_server_enablement_requires_enabled_item`.
4433
+ (`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server or an
4434
+ unknown alias answers HTTP 404 `resource_not_found` with no
4435
+ `WWW-Authenticate` header, whatever credential is sent, while the direct
4436
+ `/mcp{relativeURI}` route still authenticates the call and then returns
4437
+ JSON-RPC error `1006` ("MCP Server not found for relativeURI: …"). A new
4438
+ server is created enabled with `enabledItemCount` 0: it answers
4439
+ `initialize` on the direct route but lists no tools, prompts, or
4440
+ resources until an item is enabled.
4431
4441
  x-celigo-ai-guidance:
4432
4442
  - |-
4433
- Enable the items first, then the server: a PUT or PATCH that sets
4434
- disabled to false while every item is disabled fails with 422
4435
- "mcp_server_enablement_requires_enabled_item".
4443
+ Create the server with its items enabled, or enable them right after: a server
4444
+ saved with disabled false and no enabled item is reachable but returns an empty
4445
+ tools, prompts, and resources list to every client.
4436
4446
  examples:
4437
4447
  - false
4438
4448
  - true
package/dist/tool.yml CHANGED
@@ -33089,17 +33089,20 @@ components:
33089
33089
  type: string
33090
33090
  format: objectId
33091
33091
  x-celigo-refModel: topics
33092
- x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true, validWhen isNot ''''). The API saves a TopicExport without it, so the requirement is encoded on the request schema to mirror the form and keep listeners bound to a topic.'
33093
33092
  description: |-
33094
33093
  Topic this listener subscribes to. Create or look it up with `GET /v1/topics`; the
33095
- topic must belong to the same account. Pointing an existing listener at a different
33096
- topic starts a new subscription, read from `startPosition`. A clone made in the same
33097
- environment — of this export, or of a flow that contains it — keeps `_topicId`, so the
33098
- copy becomes another listener on the topic once its flow is enabled.
33099
- x-celigo-ai-guidance:
33100
- - |-
33101
- An id that is not a topic in the account fails the save with 422 `invalid_ref`
33102
- ("<id> is not a valid topic._topicId"); a malformed id fails with 422 `invalid_field`.
33094
+ topic must belong to the same account. A TopicExport saved without it fails with 422
33095
+ `missing_required_field`. Pointing an existing listener at a different topic starts a
33096
+ new subscription, read from `startPosition`. A clone made in the same environment — of
33097
+ this export, or of a flow that contains it — keeps `_topicId`, so the copy becomes
33098
+ another listener on the topic once its flow is enabled.
33099
+ x-celigo-ai-guidance:
33100
+ - |-
33101
+ Always send `topic._topicId`: a POST without it — `topic` empty, sent with
33102
+ `type: "stream"`, or left out — fails with 422 `missing_required_field`
33103
+ ("Expected field: topic._topicId to be present."). An id that is not a topic in the
33104
+ account fails the save with 422 `invalid_ref` ("<id> is not a valid topic._topicId");
33105
+ a malformed id fails with 422 `invalid_field`.
33103
33106
  examples:
33104
33107
  - 6ab1f48d38d7733b4599875c
33105
33108
  startPosition:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.269",
3
+ "version": "0.2.271",
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": "e60a8a09",
4
+ "iasCommit": "fb06bc04",
5
5
  "generatedAt": "2026-11-07"
6
6
  },
7
7
  "roots": {