@celigo/api-specs 0.2.64 → 0.2.66
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/api.yml +23 -0
- package/dist/connection.yml +23 -0
- package/dist/enduser.yml +23 -0
- package/dist/export.yml +23 -0
- package/dist/import.yml +12 -0
- package/dist/mcp-server.yml +23 -0
- package/dist/networkpolicy.yml +1221 -0
- package/dist/tool.yml +58 -0
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/tool.yml
CHANGED
|
@@ -8056,6 +8056,23 @@ components:
|
|
|
8056
8056
|
Controls the UI form layout for configuring this connection. Determines which
|
|
8057
8057
|
fields are shown and how they are organized in the Celigo UI.
|
|
8058
8058
|
For programmatic creation, http is the most common choice.
|
|
8059
|
+
x-celigo-ai-guidance:
|
|
8060
|
+
- |-
|
|
8061
|
+
The value selects a form, not a protocol: a plain `http` connection sends GraphQL requests
|
|
8062
|
+
identically. What `graph_ql` adds is the GraphQL editing experience — the connection form
|
|
8063
|
+
authors the ping as Query / Operation name / Variables fields compiled into `http.ping.body`,
|
|
8064
|
+
and every export and import on the connection gets a Form view toggle between the GraphQL
|
|
8065
|
+
editor (Query / Operation name / Variables) and the raw HTTP form.
|
|
8066
|
+
- |-
|
|
8067
|
+
A `graph_ql` connection's `baseURI` should be the GraphQL endpoint itself
|
|
8068
|
+
(`https://host/graphql`, `https://<store>.myshopify.com/admin/api/<version>/graphql.json`):
|
|
8069
|
+
the GraphQL export and import forms have no relative URI field.
|
|
8070
|
+
- |-
|
|
8071
|
+
The connection form offers no control to change this value on a connection without an HTTP
|
|
8072
|
+
connector, and connections cannot be cloned through the API. A user who wants the GraphQL
|
|
8073
|
+
editor for steps that live on an `http` connection needs a new `graph_ql` connection (same
|
|
8074
|
+
base URI and auth, credentials re-entered) with the steps re-pointed to it — this is the
|
|
8075
|
+
setup to recommend, not a product gap.
|
|
8059
8076
|
x-lowercase: true
|
|
8060
8077
|
examples:
|
|
8061
8078
|
- http
|
|
@@ -8937,6 +8954,12 @@ components:
|
|
|
8937
8954
|
API within the linked HTTP connector that this connection targets, for connectors that
|
|
8938
8955
|
publish more than one API. Only meaningful together with `_httpConnectorId`; an id that is
|
|
8939
8956
|
not one of that connector's APIs is dropped on save, not rejected.
|
|
8957
|
+
x-celigo-ai-guidance:
|
|
8958
|
+
- |-
|
|
8959
|
+
The connector catalog flags GraphQL APIs with `isGraphQL`. The API bound here is inherited
|
|
8960
|
+
by every export and import created on the connection — the step form's API type control
|
|
8961
|
+
is disabled once a connection is selected — so a connector's GraphQL editor requires a
|
|
8962
|
+
connection bound to its GraphQL API, not a per-step setting.
|
|
8940
8963
|
examples:
|
|
8941
8964
|
- 5d8f6a2b9c1e4f00112a3b4d
|
|
8942
8965
|
_httpConnectorVersionId:
|
|
@@ -12158,6 +12181,18 @@ components:
|
|
|
12158
12181
|
- |-
|
|
12159
12182
|
Use `assistant_graphql` as the default value if there is a connector available
|
|
12160
12183
|
for the system and the connector supports GraphQL.
|
|
12184
|
+
- |-
|
|
12185
|
+
The value selects the editor only. Each `http.body[]` entry stays a template STRING — a
|
|
12186
|
+
stringified `{"query", "operationName", "variables"}` envelope, one per operation for the
|
|
12187
|
+
update/create pair (`http.body[0]` / `http.body[1]`); never an object entry, which is stored
|
|
12188
|
+
as-is and does not render. The GraphQL form parses that string to show each member in its
|
|
12189
|
+
own field and re-stringifies it on save; an entry that is not parseable JSON at rest renders
|
|
12190
|
+
those fields empty, so keep templated variables inside a JSON string value.
|
|
12191
|
+
- |-
|
|
12192
|
+
Create GraphQL imports on a `graph_ql` connection (or a connector connection bound to its
|
|
12193
|
+
GraphQL API): that setup offers the Form view toggle between the GraphQL editor and the
|
|
12194
|
+
raw HTTP form, and the GraphQL form has no relative URI field — the connection `baseURI`
|
|
12195
|
+
is expected to be the GraphQL endpoint.
|
|
12161
12196
|
examples:
|
|
12162
12197
|
- assistant
|
|
12163
12198
|
- http
|
|
@@ -29152,6 +29187,24 @@ components:
|
|
|
29152
29187
|
Authoring mode of the HTTP request form. Controls which editor the UI presents
|
|
29153
29188
|
(standard HTTP, legacy REST, GraphQL, or connector-assistant driven) and how the
|
|
29154
29189
|
request fields are interpreted. When omitted, the standard HTTP form is used.
|
|
29190
|
+
x-celigo-ai-guidance:
|
|
29191
|
+
- |-
|
|
29192
|
+
The value changes only the editor, never the request: the same `http.body` is sent
|
|
29193
|
+
identically under `http` and `graph_ql`, and the value can be changed on an existing
|
|
29194
|
+
export without touching the body.
|
|
29195
|
+
- |-
|
|
29196
|
+
The GraphQL form reads `http.body` as the JSON envelope `{"query", "operationName",
|
|
29197
|
+
"variables"}` and shows each member in its own editor, recompiling the envelope on save
|
|
29198
|
+
(`http.paging.body` likewise from its paging fields). A body that is not parseable JSON at
|
|
29199
|
+
rest — Handlebars block helpers outside a string value — renders every field EMPTY in that
|
|
29200
|
+
form, so keep templated variables inside a JSON string value:
|
|
29201
|
+
`"variables": "{\"after\": {{#if export.http.paging.token}}\"{{export.http.paging.token}}\"{{else}}null{{/if}}}"`.
|
|
29202
|
+
- |-
|
|
29203
|
+
The GraphQL form has no relative URI field: the connection `baseURI` is expected to be the
|
|
29204
|
+
GraphQL endpoint (a saved `relativeURI` still applies but is not shown). Create GraphQL
|
|
29205
|
+
exports on a `graph_ql` connection — that is the setup where the form offers the Form view
|
|
29206
|
+
toggle between the GraphQL editor and the raw HTTP form; a `graph_ql` export on an `http`
|
|
29207
|
+
connection works but cannot be switched back in the UI.
|
|
29155
29208
|
examples:
|
|
29156
29209
|
- http
|
|
29157
29210
|
- graph_ql
|
|
@@ -29340,6 +29393,11 @@ components:
|
|
|
29340
29393
|
- |-
|
|
29341
29394
|
The body content must match the format specified in the requestMediaType field (JSON,
|
|
29342
29395
|
XML, etc.).
|
|
29396
|
+
- |-
|
|
29397
|
+
A GraphQL request is this field holding the stringified JSON envelope `{"query":
|
|
29398
|
+
"<document>", "operationName": "...", "variables": ...}` whatever `formType` says;
|
|
29399
|
+
`variables` may be an object or a JSON-encoded string, and a templated variables value
|
|
29400
|
+
must stay inside a string so the body remains parseable JSON at rest (see `formType`).
|
|
29343
29401
|
- |-
|
|
29344
29402
|
You can use handlebars expressions to create dynamic content:
|
|
29345
29403
|
```
|
package/package.json
CHANGED