@celigo/api-specs 0.2.315 → 0.2.317
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 +1 -0
- package/dist/flow.yml +99 -20
- package/dist/import.yml +1 -0
- package/dist/tool.yml +2 -0
- package/package.json +1 -1
- package/schemas.json +3 -2
package/dist/export.yml
CHANGED
|
@@ -18074,6 +18074,7 @@ components:
|
|
|
18074
18074
|
unencrypted:
|
|
18075
18075
|
type: object
|
|
18076
18076
|
description: Custom configuration values stored without encryption and returned in API responses.
|
|
18077
|
+
additionalProperties: true
|
|
18077
18078
|
properties:
|
|
18078
18079
|
apiType:
|
|
18079
18080
|
type: string
|
package/dist/flow.yml
CHANGED
|
@@ -2245,11 +2245,15 @@ paths:
|
|
|
2245
2245
|
400 on bogus keys; callers must poll `GET .../errors` to confirm any change.
|
|
2246
2246
|
|
|
2247
2247
|
**Retry outcome semantics.** A record that fails again becomes a **new** open error with a new
|
|
2248
|
-
`errorId`, the same `retryDataKey` and `traceKey`, and the retry job's id as
|
|
2249
|
-
original stays resolved. Reconcile the "before" and "after" error lists by
|
|
2250
|
-
`errorId` — except for an error a source export's preSavePage hook returns
|
|
2251
|
-
`newErrorsAndRetryData`, which carries a new `retryDataKey` on every attempt (live,
|
|
2252
|
-
reconcile those by `traceKey`.
|
|
2248
|
+
`errorId`, `retry: "true"`, the same `retryDataKey` and `traceKey`, and the retry job's id as
|
|
2249
|
+
`_flowJobId`; the original stays resolved. Reconcile the "before" and "after" error lists by
|
|
2250
|
+
`retryDataKey`, not `errorId` — except for an error a source export's preSavePage hook returns
|
|
2251
|
+
through `newErrorsAndRetryData`, which carries a new `retryDataKey` on every attempt (live,
|
|
2252
|
+
2026-11-09): reconcile those by `traceKey`. In the known issue described below (IO-178479) the
|
|
2253
|
+
new error keeps the `retryDataKey` but carries the trace key of the record's first child; and
|
|
2254
|
+
on a one-to-many step with a blank `pathToMany`, the errors of a multi-row group carried no
|
|
2255
|
+
trace key, and the error a retry of one of them produced did (live, 2026-11-18, an HTTP
|
|
2256
|
+
import).
|
|
2253
2257
|
|
|
2254
2258
|
To modify a record before retrying, call `GET .../{ retryDataKey}/data`, mutate the payload,
|
|
2255
2259
|
`PUT` it back, then call this endpoint. Where a retried record re-enters the step is the
|
|
@@ -2262,7 +2266,11 @@ paths:
|
|
|
2262
2266
|
and an error the preSavePage hook returned) re-enters the export at that part with the saved
|
|
2263
2267
|
record — the source is not read again and the parts before it are not repeated. From there, retried
|
|
2264
2268
|
records continue through the following steps as new records would, with no ordering
|
|
2265
|
-
guarantees.
|
|
2269
|
+
guarantees. A one-to-many child's snapshot replays that child alone (observed on HTTP imports
|
|
2270
|
+
and an HTTP lookup, and at a postResponseMap hook on a path that starts with a field name) —
|
|
2271
|
+
except, on a path that starts with an element index, the snapshot of a child whose record has
|
|
2272
|
+
several children: a known issue (IO-178479) the snapshot's `pathToMany` describes. To retry
|
|
2273
|
+
the whole open-error queue without listing keys, send
|
|
2266
2274
|
`selectAll: true` with a `lastErrorAt` high-water mark instead of `retryDataKeys` — one call
|
|
2267
2275
|
retries every matching error, no matter how many (errors without a `retryDataKey` are
|
|
2268
2276
|
skipped).
|
|
@@ -2271,6 +2279,36 @@ paths:
|
|
|
2271
2279
|
An error leaving the open list after this call does not mean the retry worked: submitting
|
|
2272
2280
|
resolves it before the retry runs. Wait for the returned job to finish, then check its
|
|
2273
2281
|
`numError` and the open errors for the same `retryDataKey`.
|
|
2282
|
+
- |-
|
|
2283
|
+
Known issue (IO-178479), until the fix is released: on a step whose `pathToMany` starts with
|
|
2284
|
+
an element index (`0.items`), a one-to-many child's snapshot keeps every child of the record
|
|
2285
|
+
in the list at that path. Retrying one child of a three-child record on an HTTP import sent
|
|
2286
|
+
all three to the application again and failed with `invalid_one_to_many_response`
|
|
2287
|
+
("The response size 3 does not match with the data size 1.") — with the import's
|
|
2288
|
+
`http.response.failPath` still set to fail that child, and again with it set to fail no child
|
|
2289
|
+
(live, 2026-11-18).
|
|
2290
|
+
- |-
|
|
2291
|
+
On an HTTP import whose `pathToMany` starts with an element index (known issue IO-178479), a
|
|
2292
|
+
retried child's new error kept the `retryDataKey` but carried the trace key of the record's
|
|
2293
|
+
first child. Two children of one record retried together, with the import's
|
|
2294
|
+
`http.response.failPath` set to fail no child: every child was sent again, the first twice,
|
|
2295
|
+
and `numError` was 2 — one new error per `retryDataKey`, both with the first child's trace
|
|
2296
|
+
key; one stayed open, the other was resolved by `auto` as it arrived (live, 2026-11-18,
|
|
2297
|
+
`autoResolveMatchingTraceKeys` on).
|
|
2298
|
+
- |-
|
|
2299
|
+
On an HTTP lookup whose `pathToMany` starts with an element index, retrying a failed child
|
|
2300
|
+
of a three-child record called the lookup for the record's first child, not the failed one,
|
|
2301
|
+
with the lookup's `http.response.failPath` still set to fail the retried child; the job
|
|
2302
|
+
reported no error and the error closed, so neither shows that the failed child was looked
|
|
2303
|
+
up. Two failed children retried together, with that `failPath` set to fail no child: two
|
|
2304
|
+
calls, both for the first child (live, 2026-11-18).
|
|
2305
|
+
- |-
|
|
2306
|
+
Before retrying a one-to-many child on a step whose `pathToMany` starts with an element
|
|
2307
|
+
index, read the list at `pathToMany` in its snapshot. One child: the retry is normal — one
|
|
2308
|
+
request, for that child (live, 2026-11-18, an HTTP import and an HTTP lookup). More than
|
|
2309
|
+
one: do not retry it, alone or with the record's other failed children; have the source
|
|
2310
|
+
export the record again — a flow run with the record back in the export's scope — which
|
|
2311
|
+
sends every child again (live, 2026-11-18: a flow run sent each child once).
|
|
2274
2312
|
parameters:
|
|
2275
2313
|
- name: _id
|
|
2276
2314
|
in: path
|
|
@@ -2496,8 +2534,8 @@ paths:
|
|
|
2496
2534
|
Returns the per-record snapshot the runtime captured at the moment of failure — the shape that
|
|
2497
2535
|
`POST .../retry` re-feeds into the flow pipeline. The response is an envelope: `data` carries the
|
|
2498
2536
|
adaptor-specific record payload; surrounding fields (`stage`, `pgExportId`, `oneToMany`,
|
|
2499
|
-
`pathToMany`, `childIndex`, `traceKey`) identify where in the pipeline the record
|
|
2500
|
-
failed and how it's structured. Which of them are present depends on the stage: a
|
|
2537
|
+
`pathToMany`, `childIndex`, `parentKey`, `traceKey`) identify where in the pipeline the record
|
|
2538
|
+
was when it failed and how it's structured. Which of them are present depends on the stage: a
|
|
2501
2539
|
source export's `transform`, `filter` or `preSave` envelope carries `data`, `stage` and
|
|
2502
2540
|
`traceKey` only (live, 2026-11-09).
|
|
2503
2541
|
|
|
@@ -7849,16 +7887,27 @@ components:
|
|
|
7849
7887
|
_flowJobId:
|
|
7850
7888
|
type: string
|
|
7851
7889
|
format: objectId
|
|
7852
|
-
description:
|
|
7890
|
+
description: |-
|
|
7891
|
+
Id of the job this error came from: the flow run's job, or the retry job on an error a retry
|
|
7892
|
+
produced (see `retry`). Use with `GET /v1/jobs/{_id}` for run context.
|
|
7853
7893
|
x-celigo-refModel: jobs
|
|
7854
7894
|
examples:
|
|
7855
7895
|
- 66a1f2c3b4d5e6f7a8b9c0d1
|
|
7896
|
+
retry:
|
|
7897
|
+
type: string
|
|
7898
|
+
description: |-
|
|
7899
|
+
Present, as the string `"true"`, on an error a retry job produced; `_flowJobId` is then that
|
|
7900
|
+
retry job. Absent on an error a flow run produced (live, 2026-11-18).
|
|
7901
|
+
examples:
|
|
7902
|
+
- 'true'
|
|
7856
7903
|
traceKey:
|
|
7857
7904
|
type: string
|
|
7858
7905
|
description: |-
|
|
7859
7906
|
Upstream export/record identifier that produced this error — correlates the error back to the
|
|
7860
|
-
source record across the execution log
|
|
7861
|
-
|
|
7907
|
+
source record across the execution log; callers doing record-level triage join on this field
|
|
7908
|
+
when it is present. Not every error carries one: on a one-to-many step with a blank
|
|
7909
|
+
`pathToMany`, the errors of a multi-row group whose rows each carry their own `id` had none,
|
|
7910
|
+
while a one-row group's had (live, 2026-11-18, an HTTP import).
|
|
7862
7911
|
examples:
|
|
7863
7912
|
- ORD-100245
|
|
7864
7913
|
classification:
|
|
@@ -8763,7 +8812,9 @@ components:
|
|
|
8763
8812
|
the destination's reply is in `adaptorResponse`. On a source export it is the record as it
|
|
8764
8813
|
entered the failing part: at `transform` the record as the source returned it, at `filter`
|
|
8765
8814
|
the transformed record, at `preSave` the record as the preSavePage hook received it (live,
|
|
8766
|
-
2026-11-09).
|
|
8815
|
+
2026-11-09). For a one-to-many child it is the parent record cut down to that child, as
|
|
8816
|
+
`oneToMany` describes — except on a path that starts with an element index (see
|
|
8817
|
+
`pathToMany`). Shape varies by adaptor.
|
|
8767
8818
|
additionalProperties: true
|
|
8768
8819
|
stage:
|
|
8769
8820
|
type: string
|
|
@@ -8787,7 +8838,8 @@ components:
|
|
|
8787
8838
|
nothing to that destination again and never re-running a lookup, so the hook sees the reply
|
|
8788
8839
|
saved at run time however the looked-up system has changed since (live, 2026-10-23,
|
|
8789
8840
|
2026-10-25 and 2026-11-06: the request count did not change, the connection's debug log
|
|
8790
|
-
recorded no new request, and a one-to-many child's retry replayed that child alone
|
|
8841
|
+
recorded no new request, and a one-to-many child's retry replayed that child alone, on a
|
|
8842
|
+
path that starts with a field name).
|
|
8791
8843
|
`page_processor_pre_import` and `page_processor_pre_export` (the step's one-to-many
|
|
8792
8844
|
preparation), `response_mapping`, `routing` (the router after the step), the Tool-step stages
|
|
8793
8845
|
(`tool_input_schema_validation`, `tool_input_transformation`, `tool_output_adaptor`,
|
|
@@ -8854,30 +8906,57 @@ components:
|
|
|
8854
8906
|
oneToMany:
|
|
8855
8907
|
type: boolean
|
|
8856
8908
|
description: |-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8909
|
+
When true, the stored record is one child of a one-to-many step's record, and `data` is the
|
|
8910
|
+
parent record cut down to that child: the list at `pathToMany` holds the failed child
|
|
8911
|
+
alone; on a step with a blank `pathToMany` (an array record whose rows are the children),
|
|
8912
|
+
`data` is an array holding the failed row alone and the snapshot has no `pathToMany`
|
|
8913
|
+
(live, 2026-11-18; the blank-path step an HTTP import). `pathToMany` describes the
|
|
8914
|
+
exception, a path that starts with an element index. Absent from a `transform`, `filter`,
|
|
8915
|
+
`preSave` or `transformation` envelope (live, 2026-11-09).
|
|
8860
8916
|
pathToMany:
|
|
8861
8917
|
type:
|
|
8862
8918
|
- string
|
|
8863
8919
|
- 'null'
|
|
8864
|
-
description:
|
|
8920
|
+
description: |-
|
|
8921
|
+
Echoes the step's `pathToMany`: the dot-path, inside `data`, of the list the step fans out.
|
|
8922
|
+
On a path that starts with a field name (`lineItems`) the saved list holds the failed child
|
|
8923
|
+
alone. On a path that starts with an element index (`0.items`, on an array record) the
|
|
8924
|
+
saved list kept every child of the record, and each row also carried a key `0` holding a
|
|
8925
|
+
one-child copy of the fanned field — a known issue (IO-178479): with several children in
|
|
8926
|
+
that list, a retry does not replay the failed child alone (live, 2026-11-18, an HTTP import
|
|
8927
|
+
and an HTTP lookup). Null on one-to-one records.
|
|
8865
8928
|
examples:
|
|
8866
8929
|
- lineItems
|
|
8867
8930
|
childIndex:
|
|
8868
8931
|
type:
|
|
8869
8932
|
- integer
|
|
8870
8933
|
- 'null'
|
|
8871
|
-
description:
|
|
8934
|
+
description: |-
|
|
8935
|
+
Zero-based position of the failed child among the record's children as the record entered
|
|
8936
|
+
the step. The saved list holds that child alone, so this is its original position and not
|
|
8937
|
+
an index into the saved list — except on a path that starts with an element index, where
|
|
8938
|
+
the saved list keeps every child and this indexes it (live, 2026-11-18). Null on
|
|
8939
|
+
one-to-one records.
|
|
8872
8940
|
examples:
|
|
8873
8941
|
- 0
|
|
8942
|
+
parentKey:
|
|
8943
|
+
type: string
|
|
8944
|
+
description: |-
|
|
8945
|
+
Opaque value the snapshots of one record's failed children share; children of different
|
|
8946
|
+
records carry different values (live, 2026-11-18). Absent from a one-to-one record's
|
|
8947
|
+
snapshot.
|
|
8948
|
+
examples:
|
|
8949
|
+
- 071f186267094fe8ac7ea8dbd0f1719f
|
|
8874
8950
|
traceKey:
|
|
8875
8951
|
type:
|
|
8876
8952
|
- string
|
|
8877
8953
|
- 'null'
|
|
8878
8954
|
description: |-
|
|
8879
|
-
|
|
8880
|
-
|
|
8955
|
+
The failed record's or child's trace key, as on its error (`FlowStepError.traceKey`), for
|
|
8956
|
+
cross-bubble stitching in execution logs; snapshots carried one with no `traceKeyTemplate`
|
|
8957
|
+
on the source export. After a failed retry in the known issue `pathToMany` describes it
|
|
8958
|
+
read the record's first child's key, and a blank-path step's snapshot of a multi-row group
|
|
8959
|
+
had none (live, 2026-11-18).
|
|
8881
8960
|
examples:
|
|
8882
8961
|
- ORD-100245
|
|
8883
8962
|
adaptorResponse:
|
package/dist/import.yml
CHANGED
|
@@ -17763,6 +17763,7 @@ components:
|
|
|
17763
17763
|
unencrypted:
|
|
17764
17764
|
type: object
|
|
17765
17765
|
description: Custom configuration values stored without encryption and returned in API responses.
|
|
17766
|
+
additionalProperties: true
|
|
17766
17767
|
properties:
|
|
17767
17768
|
apiType:
|
|
17768
17769
|
type: string
|
package/dist/tool.yml
CHANGED
|
@@ -27494,6 +27494,7 @@ components:
|
|
|
27494
27494
|
unencrypted:
|
|
27495
27495
|
type: object
|
|
27496
27496
|
description: Custom configuration values stored without encryption and returned in API responses.
|
|
27497
|
+
additionalProperties: true
|
|
27497
27498
|
properties:
|
|
27498
27499
|
apiType:
|
|
27499
27500
|
type: string
|
|
@@ -40993,6 +40994,7 @@ components:
|
|
|
40993
40994
|
unencrypted:
|
|
40994
40995
|
type: object
|
|
40995
40996
|
description: Custom configuration values stored without encryption and returned in API responses.
|
|
40997
|
+
additionalProperties: true
|
|
40996
40998
|
properties:
|
|
40997
40999
|
apiType:
|
|
40998
41000
|
type: string
|
package/package.json
CHANGED
package/schemas.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"provenance": {
|
|
3
3
|
"repo": "celigo/integrator-api-specs",
|
|
4
|
-
"iasCommit": "
|
|
4
|
+
"iasCommit": "d36b3b4f",
|
|
5
5
|
"generatedAt": "2026-11-19"
|
|
6
6
|
},
|
|
7
7
|
"roots": {
|
|
@@ -5945,7 +5945,8 @@
|
|
|
5945
5945
|
],
|
|
5946
5946
|
"p": {
|
|
5947
5947
|
"apiType": 503
|
|
5948
|
-
}
|
|
5948
|
+
},
|
|
5949
|
+
"open": 1
|
|
5949
5950
|
},
|
|
5950
5951
|
{
|
|
5951
5952
|
"t": [
|