@celigo/api-specs 0.2.327 → 0.2.329
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/ai-agent.yml +23 -3
- package/dist/api.yml +5 -3
- package/dist/connection.yml +37 -26
- package/dist/enduser.yml +5 -3
- package/dist/export.yml +33 -8
- package/dist/flow.yml +7 -3
- package/dist/import.yml +29 -5
- package/dist/mcp-server.yml +5 -3
- package/dist/tool.yml +44 -13
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/ai-agent.yml
CHANGED
|
@@ -6249,9 +6249,10 @@ components:
|
|
|
6249
6249
|
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
6250
6250
|
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
6251
6251
|
itself, with no ``_PARENT``. In both modes templates on the step reference an object child as
|
|
6252
|
-
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
6253
|
-
the downstream step receives the re-joined parent (path mode) or the
|
|
6254
|
-
mode)
|
|
6252
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
6253
|
+
the lookup ran for, and the downstream step receives the re-joined parent (path mode) or the
|
|
6254
|
+
re-joined array (row mode). A child the step's input filter excluded is re-joined without
|
|
6255
|
+
the fields mapped from the lookup's ``data``.
|
|
6255
6256
|
- |-
|
|
6256
6257
|
A child that is itself an ARRAY (rows under the path, or an array element in row mode) is a
|
|
6257
6258
|
grouped record in either mode: templates bind it as ``rows`` (``{{rows.0.<field>}}``,
|
|
@@ -6267,6 +6268,25 @@ components:
|
|
|
6267
6268
|
path renders empty in the HTTP body template. To send a parent value, map it into a named
|
|
6268
6269
|
row; the mapped record is then an object, which the body reads as ``{{record.<row>}}``.
|
|
6269
6270
|
Live-verified 2026-10-26 in import previews and a real flow run.
|
|
6271
|
+
- |-
|
|
6272
|
+
The step's input filter (``filter`` on an import, ``inputFilter`` on a lookup) runs after
|
|
6273
|
+
the fan-out, once per child: it decides which children the step processes. An object child
|
|
6274
|
+
is read with its own fields at the root and, in path mode, the parent's fields under
|
|
6275
|
+
``_PARENT``. A child that is itself an array is read as the array of its rows — a rule on a
|
|
6276
|
+
field name reads the first row, ``<index>.<field>`` the row at that index — and its rows are
|
|
6277
|
+
bare on an import (a ``_PARENT`` path matches nothing, so every child is dropped) while on a
|
|
6278
|
+
lookup each row carries ``_PARENT``. Children the filter drops are counted as ignored: the
|
|
6279
|
+
step makes no request for them and its response mapping reads an ignored result for them
|
|
6280
|
+
(see the step's filter field). The record still re-joins, with every child, and continues
|
|
6281
|
+
to the next step.
|
|
6282
|
+
Live-verified 2026-11-20: object children on flow, Tool and API test runs and on real flow
|
|
6283
|
+
runs; array children on flow test runs and real flow runs.
|
|
6284
|
+
- |-
|
|
6285
|
+
A branching step (router) after a one-to-many step receives the re-joined record once and
|
|
6286
|
+
routes it as a whole: a branch rule on a child's field at the root matches nothing, and a
|
|
6287
|
+
rule reads one child by its index (``items.0.type``). To have a step act on some
|
|
6288
|
+
children only, give that step ``oneToMany`` and an input filter on the child's field.
|
|
6289
|
+
Live-verified 2026-11-20 on a flow test run and a real flow run.
|
|
6270
6290
|
- |-
|
|
6271
6291
|
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
6272
6292
|
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
package/dist/api.yml
CHANGED
|
@@ -8806,10 +8806,12 @@ components:
|
|
|
8806
8806
|
description: |-
|
|
8807
8807
|
When true, the connection has been taken offline: a flow run requested while its
|
|
8808
8808
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
8809
|
-
itself once the connection is back online. Every
|
|
8810
|
-
its outcome — the test a create or `PUT` runs
|
|
8809
|
+
itself once the connection is back online. Every test of the saved connection writes the
|
|
8810
|
+
flag from its outcome — the test a create or `PUT` runs and
|
|
8811
8811
|
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
8812
|
-
clears it. A
|
|
8812
|
+
clears it. A test of a connection document that is not saved — the connection form's
|
|
8813
|
+
Test connection — leaves the flag as it was (live-verified on `http` connections
|
|
8814
|
+
2026-11-20). A ping of an `http` connection with no `http.ping` sends nothing to the
|
|
8813
8815
|
application, and its `{code: 200}` answer clears the flag all the same: an offline
|
|
8814
8816
|
connection comes back online untested (live-verified 2026-11-13). The platform re-tests
|
|
8815
8817
|
an offline connection on its own with a growing wait — the first re-test within about an
|
package/dist/connection.yml
CHANGED
|
@@ -1243,13 +1243,14 @@ paths:
|
|
|
1243
1243
|
GET variant of the saved-connection ping — identical behavior to
|
|
1244
1244
|
`POST /v1/connections/{_id}/ping`, with no request body to send. Runs the adaptor's ping
|
|
1245
1245
|
routine against the connection identified by `_id` to verify its credentials and network
|
|
1246
|
-
configuration still work; no application data is read or written. It
|
|
1247
|
-
|
|
1248
|
-
outcome: a failing ping sets `offline: true` (the connection's flows wait
|
|
1249
|
-
offline notification is sent), a passing one sets `offline: false`. An
|
|
1250
|
-
no `http.ping` answers `{code: 200}` without sending any request —
|
|
1251
|
-
offline connection comes back online on that answer — unless it
|
|
1252
|
-
authorization code and holds no token yet: that one answers
|
|
1246
|
+
configuration still work; no application data is read or written. It tests the connection
|
|
1247
|
+
as saved, with its stored credentials, and the platform writes the connection's `offline`
|
|
1248
|
+
flag from its outcome: a failing ping sets `offline: true` (the connection's flows wait
|
|
1249
|
+
queued and the offline notification is sent), a passing one sets `offline: false`. An
|
|
1250
|
+
`http` connection with no `http.ping` answers `{code: 200}` without sending any request —
|
|
1251
|
+
nothing was tested, yet an offline connection comes back online on that answer — unless it
|
|
1252
|
+
authorizes with an authorization code and holds no token yet: that one answers
|
|
1253
|
+
`missing_token`.
|
|
1253
1254
|
|
|
1254
1255
|
Inspect the response body, not the HTTP status, to determine the outcome: success and
|
|
1255
1256
|
adaptor-level failures both return HTTP 200 — success is `{code: 200}`, failures are
|
|
@@ -1348,10 +1349,10 @@ paths:
|
|
|
1348
1349
|
connections on its own with a growing wait (the first re-test within about an hour, the
|
|
1349
1350
|
next ones about 1, 2, 4, 8, 16 and 32 hours apart; after the last, just under three days
|
|
1350
1351
|
in, it leaves the connection offline until someone fixes it); an online connection is tested when a client
|
|
1351
|
-
asks for it (this endpoint,
|
|
1352
|
-
endpoint on an online connection therefore turns every
|
|
1353
|
-
outage — read the `offline` field from
|
|
1354
|
-
side effect.
|
|
1352
|
+
asks for it (a call to this endpoint, from an API client or from the integrator.io UI, or a
|
|
1353
|
+
save). A monitor that polls this endpoint on an online connection therefore turns every
|
|
1354
|
+
slow or refused answer into an outage — read the `offline` field from
|
|
1355
|
+
`GET /v1/connections/{_id}` instead, which has no side effect.
|
|
1355
1356
|
- |-
|
|
1356
1357
|
A passing ping has a side effect too: it marks an offline connection online. On an `http`
|
|
1357
1358
|
connection with no `http.ping` that happens without any test — the {code: 200} answer alone
|
|
@@ -1378,12 +1379,12 @@ paths:
|
|
|
1378
1379
|
summary: Ping an existing connection
|
|
1379
1380
|
description: |-
|
|
1380
1381
|
Runs the adaptor's ping routine against a saved connection to verify its credentials and
|
|
1381
|
-
network configuration still work; no application data is read or written. It
|
|
1382
|
-
|
|
1383
|
-
from its outcome: a failing ping sets `offline: true` (the connection's flows
|
|
1384
|
-
and the offline notification is sent), a passing one sets `offline: false`. The
|
|
1385
|
-
adaptor-specific (HTTP sends the `http.ping` request, RDBMS/JDBC open a driver
|
|
1386
|
-
MCP issues a tools/list, NetSuite/Salesforce do a token or session validation). An `http`
|
|
1382
|
+
network configuration still work; no application data is read or written. It tests the
|
|
1383
|
+
connection as saved, with its stored credentials, and the platform writes the connection's
|
|
1384
|
+
`offline` flag from its outcome: a failing ping sets `offline: true` (the connection's flows
|
|
1385
|
+
wait queued and the offline notification is sent), a passing one sets `offline: false`. The
|
|
1386
|
+
check is adaptor-specific (HTTP sends the `http.ping` request, RDBMS/JDBC open a driver
|
|
1387
|
+
session, MCP issues a tools/list, NetSuite/Salesforce do a token or session validation). An `http`
|
|
1387
1388
|
connection with no `http.ping` passes with `{code: 200}` without sending any request — nothing
|
|
1388
1389
|
was tested, yet an offline connection comes back online on that answer — and the ping proves
|
|
1389
1390
|
nothing about it until a ping is configured; one that authorizes with an
|
|
@@ -1396,8 +1397,10 @@ paths:
|
|
|
1396
1397
|
adaptor-level failures both return HTTP 200 — success is `{code: 200}`, failures are
|
|
1397
1398
|
`{errors: [...]}`. The exceptions are an MCP connection whose handshake with the server
|
|
1398
1399
|
fails, which answers 422 with an `{errors: [...]}` body that also carries `reqAndResKey`,
|
|
1399
|
-
and 404, when `_id` does not resolve to a connection.
|
|
1400
|
-
|
|
1400
|
+
and 404, when `_id` does not resolve to a connection. A change that has not been saved is
|
|
1401
|
+
not part of this test. For a connection document that is not saved — a new connection, or
|
|
1402
|
+
an edited copy of a saved one — use `POST /v1/connections/ping` instead, which tests the
|
|
1403
|
+
document sent in its body and does not use the saved connection's stored credentials.
|
|
1401
1404
|
operationId: pingConnection
|
|
1402
1405
|
tags:
|
|
1403
1406
|
- Connections
|
|
@@ -1529,16 +1532,22 @@ paths:
|
|
|
1529
1532
|
token yet), so it proves nothing until a ping is configured — one that needs the
|
|
1530
1533
|
connection's credentials, since an OAuth connection requests a token only when the target
|
|
1531
1534
|
answers 401.
|
|
1535
|
+
- |-
|
|
1536
|
+
The test covers the saved document only — a request body is ignored — so a change is
|
|
1537
|
+
tested here only once it is saved. A document that is not saved is tested with
|
|
1538
|
+
POST /v1/connections/ping, which needs every secret in its body as the real value: it
|
|
1539
|
+
does not use the stored ones, and on an `http` document a masked value (`******`) is sent
|
|
1540
|
+
to the application as the credential itself.
|
|
1532
1541
|
- |-
|
|
1533
1542
|
A failed ping has a side effect: the platform marks the connection offline, and the jobs
|
|
1534
1543
|
of the flows that use it wait `queued` until a test passes. The platform re-tests offline
|
|
1535
1544
|
connections on its own with a growing wait (the first re-test within about an hour, the
|
|
1536
1545
|
next ones about 1, 2, 4, 8, 16 and 32 hours apart; after the last, just under three days
|
|
1537
1546
|
in, it leaves the connection offline until someone fixes it); an online connection is tested when a client
|
|
1538
|
-
asks for it (this endpoint,
|
|
1539
|
-
endpoint on an online connection therefore turns every
|
|
1540
|
-
outage — read the `offline` field from
|
|
1541
|
-
side effect.
|
|
1547
|
+
asks for it (a call to this endpoint, from an API client or from the integrator.io UI, or a
|
|
1548
|
+
save). A monitor that polls this endpoint on an online connection therefore turns every
|
|
1549
|
+
slow or refused answer into an outage — read the `offline` field from
|
|
1550
|
+
`GET /v1/connections/{_id}` instead, which has no side effect.
|
|
1542
1551
|
- |-
|
|
1543
1552
|
A passing ping has a side effect too: it marks an offline connection online. On an `http`
|
|
1544
1553
|
connection with no `http.ping` that happens without any test — the {code: 200} answer alone
|
|
@@ -4533,10 +4542,12 @@ components:
|
|
|
4533
4542
|
description: |-
|
|
4534
4543
|
When true, the connection has been taken offline: a flow run requested while its
|
|
4535
4544
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
4536
|
-
itself once the connection is back online. Every
|
|
4537
|
-
its outcome — the test a create or `PUT` runs
|
|
4545
|
+
itself once the connection is back online. Every test of the saved connection writes the
|
|
4546
|
+
flag from its outcome — the test a create or `PUT` runs and
|
|
4538
4547
|
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
4539
|
-
clears it. A
|
|
4548
|
+
clears it. A test of a connection document that is not saved — the connection form's
|
|
4549
|
+
Test connection — leaves the flag as it was (live-verified on `http` connections
|
|
4550
|
+
2026-11-20). A ping of an `http` connection with no `http.ping` sends nothing to the
|
|
4540
4551
|
application, and its `{code: 200}` answer clears the flag all the same: an offline
|
|
4541
4552
|
connection comes back online untested (live-verified 2026-11-13). The platform re-tests
|
|
4542
4553
|
an offline connection on its own with a growing wait — the first re-test within about an
|
package/dist/enduser.yml
CHANGED
|
@@ -2428,10 +2428,12 @@ components:
|
|
|
2428
2428
|
description: |-
|
|
2429
2429
|
When true, the connection has been taken offline: a flow run requested while its
|
|
2430
2430
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
2431
|
-
itself once the connection is back online. Every
|
|
2432
|
-
its outcome — the test a create or `PUT` runs
|
|
2431
|
+
itself once the connection is back online. Every test of the saved connection writes the
|
|
2432
|
+
flag from its outcome — the test a create or `PUT` runs and
|
|
2433
2433
|
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
2434
|
-
clears it. A
|
|
2434
|
+
clears it. A test of a connection document that is not saved — the connection form's
|
|
2435
|
+
Test connection — leaves the flag as it was (live-verified on `http` connections
|
|
2436
|
+
2026-11-20). A ping of an `http` connection with no `http.ping` sends nothing to the
|
|
2435
2437
|
application, and its `{code: 200}` answer clears the flag all the same: an offline
|
|
2436
2438
|
connection comes back online untested (live-verified 2026-11-13). The platform re-tests
|
|
2437
2439
|
an offline connection on its own with a growing wait — the first re-test within about an
|
package/dist/export.yml
CHANGED
|
@@ -1269,9 +1269,10 @@ components:
|
|
|
1269
1269
|
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
1270
1270
|
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
1271
1271
|
itself, with no ``_PARENT``. In both modes templates on the step reference an object child as
|
|
1272
|
-
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
1273
|
-
the downstream step receives the re-joined parent (path mode) or the
|
|
1274
|
-
mode)
|
|
1272
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
1273
|
+
the lookup ran for, and the downstream step receives the re-joined parent (path mode) or the
|
|
1274
|
+
re-joined array (row mode). A child the step's input filter excluded is re-joined without
|
|
1275
|
+
the fields mapped from the lookup's ``data``.
|
|
1275
1276
|
- |-
|
|
1276
1277
|
A child that is itself an ARRAY (rows under the path, or an array element in row mode) is a
|
|
1277
1278
|
grouped record in either mode: templates bind it as ``rows`` (``{{rows.0.<field>}}``,
|
|
@@ -1287,6 +1288,25 @@ components:
|
|
|
1287
1288
|
path renders empty in the HTTP body template. To send a parent value, map it into a named
|
|
1288
1289
|
row; the mapped record is then an object, which the body reads as ``{{record.<row>}}``.
|
|
1289
1290
|
Live-verified 2026-10-26 in import previews and a real flow run.
|
|
1291
|
+
- |-
|
|
1292
|
+
The step's input filter (``filter`` on an import, ``inputFilter`` on a lookup) runs after
|
|
1293
|
+
the fan-out, once per child: it decides which children the step processes. An object child
|
|
1294
|
+
is read with its own fields at the root and, in path mode, the parent's fields under
|
|
1295
|
+
``_PARENT``. A child that is itself an array is read as the array of its rows — a rule on a
|
|
1296
|
+
field name reads the first row, ``<index>.<field>`` the row at that index — and its rows are
|
|
1297
|
+
bare on an import (a ``_PARENT`` path matches nothing, so every child is dropped) while on a
|
|
1298
|
+
lookup each row carries ``_PARENT``. Children the filter drops are counted as ignored: the
|
|
1299
|
+
step makes no request for them and its response mapping reads an ignored result for them
|
|
1300
|
+
(see the step's filter field). The record still re-joins, with every child, and continues
|
|
1301
|
+
to the next step.
|
|
1302
|
+
Live-verified 2026-11-20: object children on flow, Tool and API test runs and on real flow
|
|
1303
|
+
runs; array children on flow test runs and real flow runs.
|
|
1304
|
+
- |-
|
|
1305
|
+
A branching step (router) after a one-to-many step receives the re-joined record once and
|
|
1306
|
+
routes it as a whole: a branch rule on a child's field at the root matches nothing, and a
|
|
1307
|
+
rule reads one child by its index (``items.0.type``). To have a step act on some
|
|
1308
|
+
children only, give that step ``oneToMany`` and an input filter on the child's field.
|
|
1309
|
+
Live-verified 2026-11-20 on a flow test run and a real flow run.
|
|
1290
1310
|
- |-
|
|
1291
1311
|
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
1292
1312
|
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
@@ -17800,9 +17820,10 @@ components:
|
|
|
17800
17820
|
x-celigo-agent:
|
|
17801
17821
|
- filter
|
|
17802
17822
|
description: |-
|
|
17803
|
-
Filter applied to incoming
|
|
17804
|
-
|
|
17805
|
-
|
|
17823
|
+
Filter applied to each incoming record — each child record when `oneToMany` is true —
|
|
17824
|
+
before a lookup export queries the external system. Only matching records trigger lookup
|
|
17825
|
+
calls; the others pass through the step without lookup results, which cuts unnecessary
|
|
17826
|
+
API traffic. Only relevant when `isLookup` is true.
|
|
17806
17827
|
allOf:
|
|
17807
17828
|
- $ref: '#/components/schemas/Filter'
|
|
17808
17829
|
x-celigo-ai-guidance:
|
|
@@ -17816,7 +17837,7 @@ components:
|
|
|
17816
17837
|
When configured in a lookup export, this filter is applied to the incoming records
|
|
17817
17838
|
before they are used to query the external system:
|
|
17818
17839
|
- Only input records that match the filter criteria will trigger lookup operations
|
|
17819
|
-
- Records that don't match will pass through the step without
|
|
17840
|
+
- Records that don't match will pass through the step without lookup results
|
|
17820
17841
|
- This can significantly improve performance by reducing unnecessary API calls
|
|
17821
17842
|
|
|
17822
17843
|
## USE CASES
|
|
@@ -17829,7 +17850,11 @@ components:
|
|
|
17829
17850
|
|
|
17830
17851
|
## AVAILABLE FILTER FIELDS
|
|
17831
17852
|
The fields available for filtering are the data fields from the input records
|
|
17832
|
-
passed to this lookup export from previous flow steps
|
|
17853
|
+
passed to this lookup export from previous flow steps — with `oneToMany`, the
|
|
17854
|
+
fields of each child record (next entry).
|
|
17855
|
+
- 'With `oneToMany: true` the filter is evaluated after the fan-out, once per child record, never on the parent. A rule reads the child''s own fields at the root and the parent''s fields under `_PARENT`; a rule on a parent-level field at the root matches no child, so every child is counted as ignored, no lookup call is made, and no error is raised. The response mapping then merges lookup results only into the children the filter kept, and the re-joined record continues to the next step. Live-verified 2026-11-20 on a flow test run and real flow runs, in path mode and in row mode (blank `pathToMany` on an array record: each row is the record the filter reads, with no `_PARENT`).'
|
|
17856
|
+
- A child that is itself an array (the elements under `pathToMany` are arrays of rows) reaches this filter as the array of its rows, each row carrying `_PARENT`. A rule on a field name reads the first row — `<field>` and `_PARENT.<field>` alike — and `<index>.<field>` reads the row at that index. This differs from an import's `filter`, whose array child is the bare rows with no `_PARENT`. Live-verified 2026-11-20 on a flow test run and a real flow run with rule filters; a script filter was not probed on this shape.
|
|
17857
|
+
- 'A record the filter excludes is not done with the step: its response mapping still runs, against an empty, ignored result (`statusCode: 200`, `data: []`, `ignored: true`), so nothing mapped from `data` lands, and the step''s `postResponseMap` hook still runs and its changes land on the record. With `oneToMany` each excluded child gets that ignored result in the mapping, and the hook receives the re-joined record, not the children: its changes land on that record. Live-verified 2026-11-20 on a flow test run with a plain lookup and with a one-to-many lookup whose filter kept no child.'
|
|
17833
17858
|
mappings:
|
|
17834
17859
|
x-celigo-agent:
|
|
17835
17860
|
- mapping
|
package/dist/flow.yml
CHANGED
|
@@ -5511,8 +5511,10 @@ components:
|
|
|
5511
5511
|
mapped `statusCode` 200. So a router after
|
|
5512
5512
|
the step picks out the failed records with a rule on the mapped `statusCode` equal to
|
|
5513
5513
|
422 (or `errors` not empty) and lets every other record take the other branch —
|
|
5514
|
-
written records, and records the import's input filter skipped, which
|
|
5515
|
-
|
|
5514
|
+
written records, and records the import's input filter skipped, which are not failures:
|
|
5515
|
+
their response mapping runs against the ignored response, so they carry a mapped
|
|
5516
|
+
`statusCode` of 200, a mapped `ignored` of `true` and no mapped `id` (verified live
|
|
5517
|
+
2026-11-20 in a flow test run); a rule on the mapped
|
|
5516
5518
|
`id` being empty holds only where the destination assigns an id solely to a record it
|
|
5517
5519
|
wrote. `hooks.postResponseMap` documents the shape in that hook.
|
|
5518
5520
|
responseMapping:
|
|
@@ -5683,7 +5685,9 @@ components:
|
|
|
5683
5685
|
Only used when the router's `routeRecordsUsing` is `input_filters`.
|
|
5684
5686
|
Records matching these criteria will be routed to this branch. A branch
|
|
5685
5687
|
without an `inputFilter` matches every record, so under
|
|
5686
|
-
`first_matching_branch` the catch-all branch goes last.
|
|
5688
|
+
`first_matching_branch` the catch-all branch goes last. Each record is
|
|
5689
|
+
evaluated once, as a whole: after a step with `oneToMany` it is the record
|
|
5690
|
+
with its children re-joined, never one child.
|
|
5687
5691
|
|
|
5688
5692
|
Send `version` and `rules` directly on `inputFilter` — not inside the
|
|
5689
5693
|
`{type: "expression", expression: {...}}` wrapper that export and import
|
package/dist/import.yml
CHANGED
|
@@ -13359,9 +13359,10 @@ components:
|
|
|
13359
13359
|
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
13360
13360
|
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
13361
13361
|
itself, with no ``_PARENT``. In both modes templates on the step reference an object child as
|
|
13362
|
-
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
13363
|
-
the downstream step receives the re-joined parent (path mode) or the
|
|
13364
|
-
mode)
|
|
13362
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
13363
|
+
the lookup ran for, and the downstream step receives the re-joined parent (path mode) or the
|
|
13364
|
+
re-joined array (row mode). A child the step's input filter excluded is re-joined without
|
|
13365
|
+
the fields mapped from the lookup's ``data``.
|
|
13365
13366
|
- |-
|
|
13366
13367
|
A child that is itself an ARRAY (rows under the path, or an array element in row mode) is a
|
|
13367
13368
|
grouped record in either mode: templates bind it as ``rows`` (``{{rows.0.<field>}}``,
|
|
@@ -13377,6 +13378,25 @@ components:
|
|
|
13377
13378
|
path renders empty in the HTTP body template. To send a parent value, map it into a named
|
|
13378
13379
|
row; the mapped record is then an object, which the body reads as ``{{record.<row>}}``.
|
|
13379
13380
|
Live-verified 2026-10-26 in import previews and a real flow run.
|
|
13381
|
+
- |-
|
|
13382
|
+
The step's input filter (``filter`` on an import, ``inputFilter`` on a lookup) runs after
|
|
13383
|
+
the fan-out, once per child: it decides which children the step processes. An object child
|
|
13384
|
+
is read with its own fields at the root and, in path mode, the parent's fields under
|
|
13385
|
+
``_PARENT``. A child that is itself an array is read as the array of its rows — a rule on a
|
|
13386
|
+
field name reads the first row, ``<index>.<field>`` the row at that index — and its rows are
|
|
13387
|
+
bare on an import (a ``_PARENT`` path matches nothing, so every child is dropped) while on a
|
|
13388
|
+
lookup each row carries ``_PARENT``. Children the filter drops are counted as ignored: the
|
|
13389
|
+
step makes no request for them and its response mapping reads an ignored result for them
|
|
13390
|
+
(see the step's filter field). The record still re-joins, with every child, and continues
|
|
13391
|
+
to the next step.
|
|
13392
|
+
Live-verified 2026-11-20: object children on flow, Tool and API test runs and on real flow
|
|
13393
|
+
runs; array children on flow test runs and real flow runs.
|
|
13394
|
+
- |-
|
|
13395
|
+
A branching step (router) after a one-to-many step receives the re-joined record once and
|
|
13396
|
+
routes it as a whole: a branch rule on a child's field at the root matches nothing, and a
|
|
13397
|
+
rule reads one child by its index (``items.0.type``). To have a step act on some
|
|
13398
|
+
children only, give that step ``oneToMany`` and an input filter on the child's field.
|
|
13399
|
+
Live-verified 2026-11-20 on a flow test run and a real flow run.
|
|
13380
13400
|
- |-
|
|
13381
13401
|
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
13382
13402
|
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
@@ -18231,14 +18251,18 @@ components:
|
|
|
18231
18251
|
Filter applied to incoming records before they are sent to the destination system.
|
|
18232
18252
|
Records that match continue through the import; records that don't skip this import,
|
|
18233
18253
|
counted as ignored, and continue to the next step. Filter expressions reference the
|
|
18234
|
-
incoming record's fields
|
|
18254
|
+
incoming record's fields; when `oneToMany` is true the filter runs once per child record,
|
|
18255
|
+
after the record is split, and references each child's fields.
|
|
18235
18256
|
allOf:
|
|
18236
18257
|
- $ref: '#/components/schemas/Filter'
|
|
18237
18258
|
x-celigo-ai-guidance:
|
|
18238
18259
|
- |-
|
|
18239
18260
|
## IMPORT-SPECIFIC BEHAVIOR
|
|
18240
18261
|
|
|
18241
|
-
**Pre-Import Filtering**: Filters are applied to incoming records before they are sent to the destination system. A record that doesn't match is not sent, but it is not removed from the flow: it continues to the next step
|
|
18262
|
+
**Pre-Import Filtering**: Filters are applied to incoming records before they are sent to the destination system. A record that doesn't match is not sent, but it is not removed from the flow: it continues to the next step, so a later step that writes the destination's fields needs its own filter. Its response mapping still runs, against an empty, ignored response (`statusCode: 200`, `_json: {}`, `ignored: true`): a field mapped from `id` stays absent, fields mapped from `ignored` and `statusCode` hold `true` and `200`, and the step's `postResponseMap` hook still runs with the record in `postResponseMapData`. Live-verified 2026-11-20 on a flow test run of an import without `oneToMany`; a real flow run counted the record as ignored. With `oneToMany` only a child the filter excluded is mapped that way; a child it kept is mapped from the import's own response for it (`id` and `statusCode` land, `ignored` does not). The hook runs once per page on the re-joined records, whether the filter kept some children or none (same date, flow test run).
|
|
18263
|
+
- 'With `oneToMany: true` the filter is evaluated after the fan-out, once per child record, never on the parent. A rule reads the child''s own fields at the root (`<field>`) and the parent''s fields under `_PARENT` (`_PARENT.<field>`). A rule on a parent-level field at the root matches no child: every child is counted as ignored, nothing is sent, and no error is raised. A script filter''s `options.record` is the child. Live-verified 2026-11-20: rule filters on flow, Tool and API test runs and on real flow runs, a script filter on flow runs; in row mode (blank `pathToMany` on an array record) each row is the record the filter reads, with no `_PARENT`.'
|
|
18264
|
+
- 'To send only some of a record''s children, this is the setting: `oneToMany` with a filter on the child''s field. The children the filter keeps are sent, the others are counted as ignored, and the re-joined record continues to the next step; the response mapping lands the response''s fields on the kept children and the ignored response''s fields on the others. A branching step cannot select children — it routes each record once, as a whole (see `oneToMany`). Live-verified 2026-11-20 on flow test runs; real flow runs showed the same kept and ignored counts.'
|
|
18265
|
+
- 'A child that is itself an array (the elements under `pathToMany` are arrays of rows) reaches the filter as the bare array, without `_PARENT`: a rule on a field name reads the first row, `<index>.<field>` reads the row at that index, a `_PARENT` path matches nothing, and a script filter''s `options.record` is the array. Live-verified 2026-11-20 on flow test runs and real flow runs.'
|
|
18242
18266
|
traceKeyTemplate:
|
|
18243
18267
|
type: string
|
|
18244
18268
|
x-celigo-agent:
|
package/dist/mcp-server.yml
CHANGED
|
@@ -5604,10 +5604,12 @@ components:
|
|
|
5604
5604
|
description: |-
|
|
5605
5605
|
When true, the connection has been taken offline: a flow run requested while its
|
|
5606
5606
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
5607
|
-
itself once the connection is back online. Every
|
|
5608
|
-
its outcome — the test a create or `PUT` runs
|
|
5607
|
+
itself once the connection is back online. Every test of the saved connection writes the
|
|
5608
|
+
flag from its outcome — the test a create or `PUT` runs and
|
|
5609
5609
|
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
5610
|
-
clears it. A
|
|
5610
|
+
clears it. A test of a connection document that is not saved — the connection form's
|
|
5611
|
+
Test connection — leaves the flag as it was (live-verified on `http` connections
|
|
5612
|
+
2026-11-20). A ping of an `http` connection with no `http.ping` sends nothing to the
|
|
5611
5613
|
application, and its `{code: 200}` answer clears the flag all the same: an offline
|
|
5612
5614
|
connection comes back online untested (live-verified 2026-11-13). The platform re-tests
|
|
5613
5615
|
an offline connection on its own with a growing wait — the first re-test within about an
|
package/dist/tool.yml
CHANGED
|
@@ -7911,10 +7911,12 @@ components:
|
|
|
7911
7911
|
description: |-
|
|
7912
7912
|
When true, the connection has been taken offline: a flow run requested while its
|
|
7913
7913
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
7914
|
-
itself once the connection is back online. Every
|
|
7915
|
-
its outcome — the test a create or `PUT` runs
|
|
7914
|
+
itself once the connection is back online. Every test of the saved connection writes the
|
|
7915
|
+
flag from its outcome — the test a create or `PUT` runs and
|
|
7916
7916
|
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
7917
|
-
clears it. A
|
|
7917
|
+
clears it. A test of a connection document that is not saved — the connection form's
|
|
7918
|
+
Test connection — leaves the flag as it was (live-verified on `http` connections
|
|
7919
|
+
2026-11-20). A ping of an `http` connection with no `http.ping` sends nothing to the
|
|
7918
7920
|
application, and its `{code: 200}` answer clears the flag all the same: an offline
|
|
7919
7921
|
connection comes back online untested (live-verified 2026-11-13). The platform re-tests
|
|
7920
7922
|
an offline connection on its own with a growing wait — the first re-test within about an
|
|
@@ -25757,9 +25759,10 @@ components:
|
|
|
25757
25759
|
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
25758
25760
|
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
25759
25761
|
itself, with no ``_PARENT``. In both modes templates on the step reference an object child as
|
|
25760
|
-
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
25761
|
-
the downstream step receives the re-joined parent (path mode) or the
|
|
25762
|
-
mode)
|
|
25762
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child
|
|
25763
|
+
the lookup ran for, and the downstream step receives the re-joined parent (path mode) or the
|
|
25764
|
+
re-joined array (row mode). A child the step's input filter excluded is re-joined without
|
|
25765
|
+
the fields mapped from the lookup's ``data``.
|
|
25763
25766
|
- |-
|
|
25764
25767
|
A child that is itself an ARRAY (rows under the path, or an array element in row mode) is a
|
|
25765
25768
|
grouped record in either mode: templates bind it as ``rows`` (``{{rows.0.<field>}}``,
|
|
@@ -25775,6 +25778,25 @@ components:
|
|
|
25775
25778
|
path renders empty in the HTTP body template. To send a parent value, map it into a named
|
|
25776
25779
|
row; the mapped record is then an object, which the body reads as ``{{record.<row>}}``.
|
|
25777
25780
|
Live-verified 2026-10-26 in import previews and a real flow run.
|
|
25781
|
+
- |-
|
|
25782
|
+
The step's input filter (``filter`` on an import, ``inputFilter`` on a lookup) runs after
|
|
25783
|
+
the fan-out, once per child: it decides which children the step processes. An object child
|
|
25784
|
+
is read with its own fields at the root and, in path mode, the parent's fields under
|
|
25785
|
+
``_PARENT``. A child that is itself an array is read as the array of its rows — a rule on a
|
|
25786
|
+
field name reads the first row, ``<index>.<field>`` the row at that index — and its rows are
|
|
25787
|
+
bare on an import (a ``_PARENT`` path matches nothing, so every child is dropped) while on a
|
|
25788
|
+
lookup each row carries ``_PARENT``. Children the filter drops are counted as ignored: the
|
|
25789
|
+
step makes no request for them and its response mapping reads an ignored result for them
|
|
25790
|
+
(see the step's filter field). The record still re-joins, with every child, and continues
|
|
25791
|
+
to the next step.
|
|
25792
|
+
Live-verified 2026-11-20: object children on flow, Tool and API test runs and on real flow
|
|
25793
|
+
runs; array children on flow test runs and real flow runs.
|
|
25794
|
+
- |-
|
|
25795
|
+
A branching step (router) after a one-to-many step receives the re-joined record once and
|
|
25796
|
+
routes it as a whole: a branch rule on a child's field at the root matches nothing, and a
|
|
25797
|
+
rule reads one child by its index (``items.0.type``). To have a step act on some
|
|
25798
|
+
children only, give that step ``oneToMany`` and an input filter on the child's field.
|
|
25799
|
+
Live-verified 2026-11-20 on a flow test run and a real flow run.
|
|
25778
25800
|
- |-
|
|
25779
25801
|
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
25780
25802
|
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
@@ -27962,14 +27984,18 @@ components:
|
|
|
27962
27984
|
Filter applied to incoming records before they are sent to the destination system.
|
|
27963
27985
|
Records that match continue through the import; records that don't skip this import,
|
|
27964
27986
|
counted as ignored, and continue to the next step. Filter expressions reference the
|
|
27965
|
-
incoming record's fields
|
|
27987
|
+
incoming record's fields; when `oneToMany` is true the filter runs once per child record,
|
|
27988
|
+
after the record is split, and references each child's fields.
|
|
27966
27989
|
allOf:
|
|
27967
27990
|
- $ref: '#/components/schemas/Filter'
|
|
27968
27991
|
x-celigo-ai-guidance:
|
|
27969
27992
|
- |-
|
|
27970
27993
|
## IMPORT-SPECIFIC BEHAVIOR
|
|
27971
27994
|
|
|
27972
|
-
**Pre-Import Filtering**: Filters are applied to incoming records before they are sent to the destination system. A record that doesn't match is not sent, but it is not removed from the flow: it continues to the next step
|
|
27995
|
+
**Pre-Import Filtering**: Filters are applied to incoming records before they are sent to the destination system. A record that doesn't match is not sent, but it is not removed from the flow: it continues to the next step, so a later step that writes the destination's fields needs its own filter. Its response mapping still runs, against an empty, ignored response (`statusCode: 200`, `_json: {}`, `ignored: true`): a field mapped from `id` stays absent, fields mapped from `ignored` and `statusCode` hold `true` and `200`, and the step's `postResponseMap` hook still runs with the record in `postResponseMapData`. Live-verified 2026-11-20 on a flow test run of an import without `oneToMany`; a real flow run counted the record as ignored. With `oneToMany` only a child the filter excluded is mapped that way; a child it kept is mapped from the import's own response for it (`id` and `statusCode` land, `ignored` does not). The hook runs once per page on the re-joined records, whether the filter kept some children or none (same date, flow test run).
|
|
27996
|
+
- 'With `oneToMany: true` the filter is evaluated after the fan-out, once per child record, never on the parent. A rule reads the child''s own fields at the root (`<field>`) and the parent''s fields under `_PARENT` (`_PARENT.<field>`). A rule on a parent-level field at the root matches no child: every child is counted as ignored, nothing is sent, and no error is raised. A script filter''s `options.record` is the child. Live-verified 2026-11-20: rule filters on flow, Tool and API test runs and on real flow runs, a script filter on flow runs; in row mode (blank `pathToMany` on an array record) each row is the record the filter reads, with no `_PARENT`.'
|
|
27997
|
+
- 'To send only some of a record''s children, this is the setting: `oneToMany` with a filter on the child''s field. The children the filter keeps are sent, the others are counted as ignored, and the re-joined record continues to the next step; the response mapping lands the response''s fields on the kept children and the ignored response''s fields on the others. A branching step cannot select children — it routes each record once, as a whole (see `oneToMany`). Live-verified 2026-11-20 on flow test runs; real flow runs showed the same kept and ignored counts.'
|
|
27998
|
+
- 'A child that is itself an array (the elements under `pathToMany` are arrays of rows) reaches the filter as the bare array, without `_PARENT`: a rule on a field name reads the first row, `<index>.<field>` reads the row at that index, a `_PARENT` path matches nothing, and a script filter''s `options.record` is the array. Live-verified 2026-11-20 on flow test runs and real flow runs.'
|
|
27973
27999
|
traceKeyTemplate:
|
|
27974
28000
|
type: string
|
|
27975
28001
|
x-celigo-agent:
|
|
@@ -40859,9 +40885,10 @@ components:
|
|
|
40859
40885
|
x-celigo-agent:
|
|
40860
40886
|
- filter
|
|
40861
40887
|
description: |-
|
|
40862
|
-
Filter applied to incoming
|
|
40863
|
-
|
|
40864
|
-
|
|
40888
|
+
Filter applied to each incoming record — each child record when `oneToMany` is true —
|
|
40889
|
+
before a lookup export queries the external system. Only matching records trigger lookup
|
|
40890
|
+
calls; the others pass through the step without lookup results, which cuts unnecessary
|
|
40891
|
+
API traffic. Only relevant when `isLookup` is true.
|
|
40865
40892
|
allOf:
|
|
40866
40893
|
- $ref: '#/components/schemas/Filter'
|
|
40867
40894
|
x-celigo-ai-guidance:
|
|
@@ -40875,7 +40902,7 @@ components:
|
|
|
40875
40902
|
When configured in a lookup export, this filter is applied to the incoming records
|
|
40876
40903
|
before they are used to query the external system:
|
|
40877
40904
|
- Only input records that match the filter criteria will trigger lookup operations
|
|
40878
|
-
- Records that don't match will pass through the step without
|
|
40905
|
+
- Records that don't match will pass through the step without lookup results
|
|
40879
40906
|
- This can significantly improve performance by reducing unnecessary API calls
|
|
40880
40907
|
|
|
40881
40908
|
## USE CASES
|
|
@@ -40888,7 +40915,11 @@ components:
|
|
|
40888
40915
|
|
|
40889
40916
|
## AVAILABLE FILTER FIELDS
|
|
40890
40917
|
The fields available for filtering are the data fields from the input records
|
|
40891
|
-
passed to this lookup export from previous flow steps
|
|
40918
|
+
passed to this lookup export from previous flow steps — with `oneToMany`, the
|
|
40919
|
+
fields of each child record (next entry).
|
|
40920
|
+
- 'With `oneToMany: true` the filter is evaluated after the fan-out, once per child record, never on the parent. A rule reads the child''s own fields at the root and the parent''s fields under `_PARENT`; a rule on a parent-level field at the root matches no child, so every child is counted as ignored, no lookup call is made, and no error is raised. The response mapping then merges lookup results only into the children the filter kept, and the re-joined record continues to the next step. Live-verified 2026-11-20 on a flow test run and real flow runs, in path mode and in row mode (blank `pathToMany` on an array record: each row is the record the filter reads, with no `_PARENT`).'
|
|
40921
|
+
- A child that is itself an array (the elements under `pathToMany` are arrays of rows) reaches this filter as the array of its rows, each row carrying `_PARENT`. A rule on a field name reads the first row — `<field>` and `_PARENT.<field>` alike — and `<index>.<field>` reads the row at that index. This differs from an import's `filter`, whose array child is the bare rows with no `_PARENT`. Live-verified 2026-11-20 on a flow test run and a real flow run with rule filters; a script filter was not probed on this shape.
|
|
40922
|
+
- 'A record the filter excludes is not done with the step: its response mapping still runs, against an empty, ignored result (`statusCode: 200`, `data: []`, `ignored: true`), so nothing mapped from `data` lands, and the step''s `postResponseMap` hook still runs and its changes land on the record. With `oneToMany` each excluded child gets that ignored result in the mapping, and the hook receives the re-joined record, not the children: its changes land on that record. Live-verified 2026-11-20 on a flow test run with a plain lookup and with a one-to-many lookup whose filter kept no child.'
|
|
40892
40923
|
mappings:
|
|
40893
40924
|
x-celigo-agent:
|
|
40894
40925
|
- mapping
|
package/package.json
CHANGED