@celigo/api-specs 0.2.2-IO-203321-EPIC-fb → 0.2.2-IO-179192-EPIC-fb
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/agent.yml +8 -0
- package/dist/ai-agent.yml +111 -44
- package/dist/api.yml +257 -41
- package/dist/asynchelper.yml +8 -0
- package/dist/connection.yml +617 -30
- package/dist/connector.yml +8 -0
- package/dist/ediprofile.yml +8 -0
- package/dist/enduser.yml +194 -41
- package/dist/environment.yml +8 -0
- package/dist/eventreport.yml +8 -0
- package/dist/export.yml +117 -6
- package/dist/filedefinition.yml +10 -0
- package/dist/flow.yml +187 -67
- package/dist/guardrail.yml +41 -21
- package/dist/httpconnector.yml +8 -0
- package/dist/httpconnectorendpoint.yml +8 -0
- package/dist/iclient.yml +79 -21
- package/dist/import.yml +260 -89
- package/dist/integration.yml +52 -11
- package/dist/job.yml +8 -0
- package/dist/lookupcache.yml +8 -0
- package/dist/mcp-oauth-provider.yml +8 -0
- package/dist/mcp-server.yml +150 -26
- package/dist/networkpolicy.yml +1221 -0
- package/dist/notification.yml +8 -0
- package/dist/script.yml +84 -16
- package/dist/subscription.yml +49 -27
- package/dist/tag.yml +8 -0
- package/dist/template.yml +8 -0
- package/dist/tool.yml +457 -93
- package/dist/topic.yml +5 -1
- package/dist/tradingpartnerconnector.yml +8 -0
- package/dist/user.yml +50 -3
- package/package.json +1 -1
- package/schemas.json +3 -2
package/dist/agent.yml
CHANGED
|
@@ -600,6 +600,14 @@ components:
|
|
|
600
600
|
description: Timestamp when the resource was last updated. Changes whenever any property is modified.
|
|
601
601
|
x-celigo-ai-guidance:
|
|
602
602
|
- Recorded in ISO 8601 with a UTC timezone (Z suffix); always equal to or later than `createdAt`.
|
|
603
|
+
- |-
|
|
604
|
+
Records that something was written, not what — a settings edit, a flag flip, or a
|
|
605
|
+
platform workflow all move it. What changed and when is in the audit log: the
|
|
606
|
+
per-resource route `GET /v1/{resourceType}/{_id}/audit` for the types its
|
|
607
|
+
`resourceType` enum lists, or the account-wide
|
|
608
|
+
`GET /v1/audit?resourceType=<singular>&_resourceId={_id}` for the further types that
|
|
609
|
+
endpoint's enum accepts (users, environments, notifications among them). A type absent
|
|
610
|
+
from both enums — jobs, connectors, templates — has only this timestamp.
|
|
603
611
|
examples:
|
|
604
612
|
- '2023-04-15T14:30:15Z'
|
|
605
613
|
deletedAt:
|
package/dist/ai-agent.yml
CHANGED
|
@@ -128,7 +128,8 @@ paths:
|
|
|
128
128
|
Hugging Face, DeepSeek, Cohere, and Groq — a block that does not match the
|
|
129
129
|
provider is rejected. For a built-in provider, omit `_connectionId` to
|
|
130
130
|
use platform-managed credentials or include it for BYOK; a catalog
|
|
131
|
-
provider
|
|
131
|
+
provider needs a BYOK connection to save — without one the request
|
|
132
|
+
fails with 422 `connection_required` on `_connectionId`.
|
|
132
133
|
operationId: createAiAgent
|
|
133
134
|
tags:
|
|
134
135
|
- AI Agents
|
|
@@ -679,8 +680,9 @@ components:
|
|
|
679
680
|
|
|
680
681
|
A `_connectionId` on the parent import selects bring-your-own-key (BYOK)
|
|
681
682
|
credentials. Without one, built-in providers run on platform-managed
|
|
682
|
-
credentials; catalog providers have no platform-managed credentials, so
|
|
683
|
-
save without
|
|
683
|
+
credentials; catalog providers have no platform-managed credentials, so the
|
|
684
|
+
save requires one — without it the agent fails to save with 422
|
|
685
|
+
`connection_required` on `_connectionId`.
|
|
684
686
|
required:
|
|
685
687
|
- provider
|
|
686
688
|
properties:
|
|
@@ -717,10 +719,11 @@ components:
|
|
|
717
719
|
generic flat format — `model` and `modelOptions` directly on this object,
|
|
718
720
|
never an `openai` or `litellm` block.
|
|
719
721
|
- |-
|
|
720
|
-
Catalog providers are BYOK-only
|
|
721
|
-
|
|
722
|
-
key
|
|
723
|
-
|
|
722
|
+
Catalog providers are BYOK-only, and the save enforces it: without a `_connectionId`
|
|
723
|
+
the agent fails to save with 422 `connection_required` on `_connectionId` ("No API
|
|
724
|
+
key is available for provider 'xai'. Add a connection for this provider with your
|
|
725
|
+
API key and select it on this agent."). Attach an HTTP connection to the vendor's
|
|
726
|
+
API (token auth) before saving a catalog-provider agent.
|
|
724
727
|
model:
|
|
725
728
|
type: string
|
|
726
729
|
description: |-
|
|
@@ -732,11 +735,11 @@ components:
|
|
|
732
735
|
Required for every catalog provider — omitting it or sending an empty string
|
|
733
736
|
fails the save with 422 `missing_required_field`.
|
|
734
737
|
- |-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
`
|
|
738
|
-
`_connectionId` (BYOK) any model string saves — the server does not
|
|
739
|
-
against the catalog or the vendor.
|
|
738
|
+
The connection is checked before the model: without a `_connectionId` on the
|
|
739
|
+
parent import a catalog-provider agent fails to save with 422
|
|
740
|
+
`connection_required` whatever the model string (an unknown id included).
|
|
741
|
+
With a `_connectionId` (BYOK) any model string saves — the server does not
|
|
742
|
+
check it against the catalog or the vendor.
|
|
740
743
|
modelOptions:
|
|
741
744
|
type: object
|
|
742
745
|
description: |-
|
|
@@ -1060,12 +1063,22 @@ components:
|
|
|
1060
1063
|
- manual
|
|
1061
1064
|
- json
|
|
1062
1065
|
x-enumDescriptions:
|
|
1063
|
-
manual: The
|
|
1064
|
-
json: The
|
|
1066
|
+
manual: The UI opens `jsonSchema` in the visual field-by-field editor
|
|
1067
|
+
json: The UI opens `jsonSchema` in the raw JSON editor
|
|
1065
1068
|
description: |-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
+
Which editor the UI opens `jsonSchema` in; the schema sent to the provider
|
|
1070
|
+
is the same either way, and the field is only meaningful when `type` is
|
|
1071
|
+
"json_schema". Unset opens the visual editor, and an edit there rebuilds
|
|
1072
|
+
`jsonSchema` from the field list, keeping only `type`, `properties`,
|
|
1073
|
+
`required`, `items`, `description`, `enum`, `pattern`, length and numeric
|
|
1074
|
+
bounds, `multipleOf`, `minItems`/`maxItems` and a `"null"` type — other
|
|
1075
|
+
keywords are dropped without a prompt, and `integer` becomes `number`.
|
|
1076
|
+
x-celigo-ai-guidance:
|
|
1077
|
+
- |-
|
|
1078
|
+
Set `json` on a schema written as raw JSON; keep a user's `manual` and stay
|
|
1079
|
+
inside the keywords the visual editor keeps. A full PUT that omits the field
|
|
1080
|
+
clears it, and a value outside the enum fails the save with 422 `enum` on
|
|
1081
|
+
`aiAgent.openai.output.format.schemaMode`.
|
|
1069
1082
|
name:
|
|
1070
1083
|
type: string
|
|
1071
1084
|
description: Name for the output format (used with json_schema)
|
|
@@ -1418,12 +1431,22 @@ components:
|
|
|
1418
1431
|
- manual
|
|
1419
1432
|
- json
|
|
1420
1433
|
x-enumDescriptions:
|
|
1421
|
-
manual: The
|
|
1422
|
-
json: The
|
|
1434
|
+
manual: The UI opens `jsonSchema` in the visual field-by-field editor
|
|
1435
|
+
json: The UI opens `jsonSchema` in the raw JSON editor
|
|
1423
1436
|
description: |-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1437
|
+
Which editor the UI opens `jsonSchema` in; the schema sent to the provider is
|
|
1438
|
+
the same either way, and the field is only meaningful when `type` is
|
|
1439
|
+
"json_schema". Unset opens the visual editor, and an edit there rebuilds
|
|
1440
|
+
`jsonSchema` from the field list, keeping only `type`, `properties`, `required`,
|
|
1441
|
+
`items`, `description`, `enum`, `pattern`, length and numeric bounds,
|
|
1442
|
+
`multipleOf`, `minItems`/`maxItems` and a `"null"` type — other keywords are
|
|
1443
|
+
dropped without a prompt, and `integer` becomes `number`.
|
|
1444
|
+
x-celigo-ai-guidance:
|
|
1445
|
+
- |-
|
|
1446
|
+
Set `json` on a schema written as raw JSON; keep a user's `manual` and stay inside
|
|
1447
|
+
the keywords the visual editor keeps. A full PUT that omits the field clears it,
|
|
1448
|
+
and a value outside the enum fails the save with 422 `enum` on
|
|
1449
|
+
`aiAgent.litellm.responseFormat.schemaMode`.
|
|
1427
1450
|
name:
|
|
1428
1451
|
type: string
|
|
1429
1452
|
description: Name for the output format (used with json_schema).
|
|
@@ -3846,20 +3869,48 @@ components:
|
|
|
3846
3869
|
extracts evaluate against that envelope:
|
|
3847
3870
|
|
|
3848
3871
|
- **Lookup steps**: `{"statusCode": 200, "data": [<result records>],
|
|
3849
|
-
"errors": []}` — `data` holds the records the lookup
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3872
|
+
"errors": []}` — `data` holds the records the lookup step returns,
|
|
3873
|
+
AFTER the export's own `transform` and output `filter` have run, so
|
|
3874
|
+
extracts must start from it and name transformed fields by their
|
|
3875
|
+
transformed name: `data[0].name` copies a field of the first result,
|
|
3876
|
+
`data` copies the whole result array. A bare result-record field name
|
|
3877
|
+
(e.g. `name`) resolves to nothing and merges nothing, and so does the
|
|
3878
|
+
raw response path a transform consumed.
|
|
3854
3879
|
- **Import steps**: `{"id": "<destination record id>", "statusCode": 200,
|
|
3855
|
-
"ignored": false, "errors": [], "_json": <raw destination response
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3880
|
+
"ignored": false, "errors": [], "_json": <raw destination response>,
|
|
3881
|
+
...<response body fields flattened at the root>}` — use `id` for the
|
|
3882
|
+
destination-assigned id and `_json.<path>` (or the flattened
|
|
3883
|
+
`<path>`) for fields inside the destination's response body. The full
|
|
3884
|
+
envelope (including `id`) is present on real runs and in flow-builder
|
|
3885
|
+
previews; flow TEST runs never execute imports, and their mock-built
|
|
3886
|
+
envelope carries no `id` — an `extract: "id"` merges nothing in a test
|
|
3887
|
+
run even though it works on real runs.
|
|
3888
|
+
|
|
3889
|
+
An `extract` may also be a Handlebars expression. It evaluates against
|
|
3890
|
+
the same envelope as a plain path, so every path inside `{{ }}` starts
|
|
3891
|
+
where the plain paths start — `{{data.0.name}}`,
|
|
3892
|
+
`{{#compare data.0.count "==" 1}}yes{{else}}no{{/compare}}`,
|
|
3893
|
+
`{{#if data.length}}found{{/if}}` on a lookup; `{{_json.order.id}}` or
|
|
3894
|
+
`{{id}}` on an import. Index arrays with dots inside Handlebars
|
|
3895
|
+
(`data.0.name` or `data.[0].name`; `data[0].name` renders nothing), and
|
|
3896
|
+
expect a string result (`"1"`, `"false"`). There is no `record` object in
|
|
3897
|
+
this context: `{{record.<anything>}}` renders nothing. Prefer a plain
|
|
3898
|
+
path when the value is simply copied.
|
|
3862
3899
|
x-celigo-ai-guidance:
|
|
3900
|
+
- |-
|
|
3901
|
+
Handlebars is allowed in `extract` but only rooted at the envelope —
|
|
3902
|
+
`{{data.0.x}}` on a lookup, `{{_json.x}}` / `{{id}}` on an import. The
|
|
3903
|
+
`record.` root belongs to import-mapping templates; here every
|
|
3904
|
+
`{{record.…}}` form renders nothing, silently, and `{{data[0].x}}`
|
|
3905
|
+
(bracket index inside Handlebars) renders nothing too. Use Handlebars
|
|
3906
|
+
only for a derived value (a flag, a concatenation); copy values with a
|
|
3907
|
+
plain path.
|
|
3908
|
+
- |-
|
|
3909
|
+
A lookup's `data[]` is the step's output after its `transform` and
|
|
3910
|
+
`filter`, so author extracts against the transformed records — never
|
|
3911
|
+
against the raw response the transform consumed, and never against a
|
|
3912
|
+
saved `mockOutput` as stored (it is the raw response; the transform
|
|
3913
|
+
runs on top of it in a test run).
|
|
3863
3914
|
- |-
|
|
3864
3915
|
Send `fields` and `lists` as bare arrays, exactly as GET returns them.
|
|
3865
3916
|
Never wrap either in an object (e.g. `"fields": {"type": [...]}`): the
|
|
@@ -3901,22 +3952,29 @@ components:
|
|
|
3901
3952
|
properties:
|
|
3902
3953
|
extract:
|
|
3903
3954
|
type: string
|
|
3955
|
+
x-celigo-agent:
|
|
3956
|
+
- handlebars
|
|
3904
3957
|
description: |
|
|
3905
3958
|
Path within the canonical response envelope to copy the value
|
|
3906
|
-
from
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
`
|
|
3959
|
+
from, or a Handlebars expression over that same envelope. For
|
|
3960
|
+
lookup steps, paths start from the envelope's `data` array
|
|
3961
|
+
(`data[0].x` and `data.0.x` are equivalent; `data` alone
|
|
3962
|
+
copies every result) — a lookup result field written without
|
|
3963
|
+
the `data` prefix resolves to nothing. For import steps, use
|
|
3964
|
+
the envelope fields `id`, `statusCode`, `ignored`, `_json.<path>`
|
|
3965
|
+
for the raw response body, or the body field itself at the
|
|
3966
|
+
envelope root (`orderNumber` and `_json.orderNumber` read the
|
|
3967
|
+
same value). A `[*]` wildcard is not honored here — `data[*].x`
|
|
3968
|
+
merges nothing; iterate arrays with `lists` instead. Inside
|
|
3969
|
+
Handlebars, index with dots (`{{data.0.x}}`, never
|
|
3970
|
+
`{{data[0].x}}`) and never use a `record.` root.
|
|
3914
3971
|
examples:
|
|
3915
3972
|
- data[0].customer.name
|
|
3916
3973
|
- data.0.fields.Product Name
|
|
3917
3974
|
- data
|
|
3918
3975
|
- id
|
|
3919
3976
|
- _json.orderNumber
|
|
3977
|
+
- '{{#if data.length}}found{{else}}missing{{/if}}'
|
|
3920
3978
|
generate:
|
|
3921
3979
|
type: string
|
|
3922
3980
|
description: |
|
|
@@ -5225,8 +5283,9 @@ components:
|
|
|
5225
5283
|
Connection for BYOK (bring your own key) — an HTTP connection to the vendor's API.
|
|
5226
5284
|
Optional for the built-in providers (`openai`, `gemini`, `anthropic`), which run on
|
|
5227
5285
|
platform-managed credentials when it is omitted. Catalog providers (`mistral`, `xai`,
|
|
5228
|
-
`huggingface`, `deepseek`, `cohere`, `groq`) have no platform-managed credentials: the
|
|
5229
|
-
|
|
5286
|
+
`huggingface`, `deepseek`, `cohere`, `groq`) have no platform-managed credentials: the save
|
|
5287
|
+
requires it — without one the agent fails to save with 422 `connection_required` on
|
|
5288
|
+
`_connectionId`.
|
|
5230
5289
|
examples:
|
|
5231
5290
|
- 662aaa6576bf4040548dbbe4
|
|
5232
5291
|
_integrationId:
|
|
@@ -5401,6 +5460,14 @@ components:
|
|
|
5401
5460
|
description: Timestamp when the resource was last updated. Changes whenever any property is modified.
|
|
5402
5461
|
x-celigo-ai-guidance:
|
|
5403
5462
|
- Recorded in ISO 8601 with a UTC timezone (Z suffix); always equal to or later than `createdAt`.
|
|
5463
|
+
- |-
|
|
5464
|
+
Records that something was written, not what — a settings edit, a flag flip, or a
|
|
5465
|
+
platform workflow all move it. What changed and when is in the audit log: the
|
|
5466
|
+
per-resource route `GET /v1/{resourceType}/{_id}/audit` for the types its
|
|
5467
|
+
`resourceType` enum lists, or the account-wide
|
|
5468
|
+
`GET /v1/audit?resourceType=<singular>&_resourceId={_id}` for the further types that
|
|
5469
|
+
endpoint's enum accepts (users, environments, notifications among them). A type absent
|
|
5470
|
+
from both enums — jobs, connectors, templates — has only this timestamp.
|
|
5404
5471
|
examples:
|
|
5405
5472
|
- '2023-04-15T14:30:15Z'
|
|
5406
5473
|
deletedAt:
|