@celigo/api-specs 0.2.269 → 0.2.270

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:
@@ -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
@@ -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:
@@ -3584,9 +3580,8 @@ components:
3584
3580
  `prompts/list` and not fetchable via `prompts/get`. A prompt sent
3585
3581
  without `disabled` is saved enabled, unlike tool, API and resource
3586
3582
  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`.
3583
+ hidden. Prompts saved before this field existed are reported as
3584
+ `disabled: false`.
3590
3585
  examples:
3591
3586
  - false
3592
3587
  - true
@@ -4416,23 +4411,22 @@ components:
4416
4411
  - Exposes customer management tools for AI agent consumption
4417
4412
  disabled:
4418
4413
  type: boolean
4419
- default: true
4414
+ default: false
4420
4415
  description: |-
4421
4416
  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`.
4417
+ (`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server or an
4418
+ unknown alias answers HTTP 404 `resource_not_found` with no
4419
+ `WWW-Authenticate` header, whatever credential is sent, while the direct
4420
+ `/mcp{relativeURI}` route still authenticates the call and then returns
4421
+ JSON-RPC error `1006` ("MCP Server not found for relativeURI: …"). A new
4422
+ server is created enabled with `enabledItemCount` 0: it answers
4423
+ `initialize` on the direct route but lists no tools, prompts, or
4424
+ resources until an item is enabled.
4431
4425
  x-celigo-ai-guidance:
4432
4426
  - |-
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".
4427
+ Create the server with its items enabled, or enable them right after: a server
4428
+ saved with disabled false and no enabled item is reachable but returns an empty
4429
+ tools, prompts, and resources list to every client.
4436
4430
  examples:
4437
4431
  - false
4438
4432
  - 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.270",
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": "daf278b3",
5
5
  "generatedAt": "2026-11-07"
6
6
  },
7
7
  "roots": {