@celigo/api-specs 0.2.279 → 0.2.280
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 +18 -3
- package/dist/flow.yml +102 -31
- package/dist/tool.yml +18 -3
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/export.yml
CHANGED
|
@@ -17593,7 +17593,11 @@ components:
|
|
|
17593
17593
|
description: |-
|
|
17594
17594
|
Filter applied to each record after the export's transform and before its preSavePage
|
|
17595
17595
|
hook. Records that match continue through the flow; records that don't are silently
|
|
17596
|
-
dropped. Filter expressions reference the transformed record's fields.
|
|
17596
|
+
dropped. Filter expressions reference the transformed record's fields. A record a
|
|
17597
|
+
JavaScript filter fails on a source export is stored at retry stage `filter` with the
|
|
17598
|
+
transformed record: a retry filters that saved record again with the filter as it is
|
|
17599
|
+
configured now, without reading the source again or repeating the transform (live,
|
|
17600
|
+
2026-11-09).
|
|
17597
17601
|
allOf:
|
|
17598
17602
|
- $ref: '#/components/schemas/Filter'
|
|
17599
17603
|
x-celigo-ai-guidance:
|
|
@@ -17692,7 +17696,12 @@ components:
|
|
|
17692
17696
|
Transformation that reshapes records before they leave this step — source exports
|
|
17693
17697
|
transform the retrieved records, lookup exports transform the lookup results. Commonly
|
|
17694
17698
|
used to flatten nested lookup responses (e.g. `results[0].id` → `id`); merging results
|
|
17695
|
-
back into source records is handled separately by the flow's response mapping.
|
|
17699
|
+
back into source records is handled separately by the flow's response mapping. A record a
|
|
17700
|
+
JavaScript transform fails on a source export is stored at retry stage `transform` with the
|
|
17701
|
+
record as the source returned it: a retry transforms that saved record again with the
|
|
17702
|
+
transform as it is configured now, without reading the source again (live, 2026-11-09). A
|
|
17703
|
+
Transform 1.0 transform's retry is not documented; a Transform 2.0 error is stored at stage
|
|
17704
|
+
`transformation`.
|
|
17696
17705
|
allOf:
|
|
17697
17706
|
- $ref: '#/components/schemas/Transform'
|
|
17698
17707
|
x-celigo-ai-guidance:
|
|
@@ -17731,7 +17740,13 @@ components:
|
|
|
17731
17740
|
here fails every record on that page, each with its own retry data, and later pages
|
|
17732
17741
|
still run. On a lookup, an error this hook returns through `newErrorsAndRetryData` is
|
|
17733
17742
|
stored at retry stage `page_processor_export`: a retry runs the lookup again, as it
|
|
17734
|
-
is configured now, and the hook sees the fresh result.
|
|
17743
|
+
is configured now, and the hook sees the fresh result. On a source export, an error
|
|
17744
|
+
this hook returns through `newErrorsAndRetryData` is stored at stage `preSave` with the
|
|
17745
|
+
record the hook received: a retry hands that saved record to the hook again, as it is
|
|
17746
|
+
configured now, without reading the source again or repeating the transform and filter,
|
|
17747
|
+
a record the hook passes continues through the flow's steps, and an error it returns
|
|
17748
|
+
again carries a new `retryDataKey` (live, 2026-11-09). The retry of an error a thrown
|
|
17749
|
+
hook produced is not documented.
|
|
17735
17750
|
properties:
|
|
17736
17751
|
function:
|
|
17737
17752
|
type: string
|
package/dist/flow.yml
CHANGED
|
@@ -2110,7 +2110,9 @@ paths:
|
|
|
2110
2110
|
**Retry outcome semantics.** A record that fails again becomes a **new** open error with a new
|
|
2111
2111
|
`errorId`, the same `retryDataKey` and `traceKey`, and the retry job's id as `_flowJobId`; the
|
|
2112
2112
|
original stays resolved. Reconcile the "before" and "after" error lists by `retryDataKey`, not
|
|
2113
|
-
`errorId
|
|
2113
|
+
`errorId` — except for an error a source export's preSavePage hook returns through
|
|
2114
|
+
`newErrorsAndRetryData`, which carries a new `retryDataKey` on every attempt (live, 2026-11-09):
|
|
2115
|
+
reconcile those by `traceKey`.
|
|
2114
2116
|
|
|
2115
2117
|
To modify a record before retrying, call `GET .../{ retryDataKey}/data`, mutate the payload,
|
|
2116
2118
|
`PUT` it back, then call this endpoint. Where a retried record re-enters the step is the
|
|
@@ -2118,8 +2120,12 @@ paths:
|
|
|
2118
2120
|
an import's error (`page_processor_import`) is mapped and sent to the destination again, a
|
|
2119
2121
|
lookup's error (`page_processor_export`) runs the lookup again, and a postResponseMap hook's
|
|
2120
2122
|
error (`post_response_mapping`) re-runs only the hook on the saved record and the step's
|
|
2121
|
-
stored reply — nothing is sent to that step's application again
|
|
2122
|
-
|
|
2123
|
+
stored reply — nothing is sent to that step's application again; a source export's error at
|
|
2124
|
+
`transform`, `filter` or `preSave` (observed for a JavaScript transform, a JavaScript filter
|
|
2125
|
+
and an error the preSavePage hook returned) re-enters the export at that part with the saved
|
|
2126
|
+
record — the source is not read again and the parts before it are not repeated. From there, retried
|
|
2127
|
+
records continue through the following steps as new records would, with no ordering
|
|
2128
|
+
guarantees. To retry the whole open-error queue without listing keys, send
|
|
2123
2129
|
`selectAll: true` with a `lastErrorAt` high-water mark instead of `retryDataKeys` — one call
|
|
2124
2130
|
retries every matching error, no matter how many (errors without a `retryDataKey` are
|
|
2125
2131
|
skipped).
|
|
@@ -2354,7 +2360,9 @@ paths:
|
|
|
2354
2360
|
`POST .../retry` re-feeds into the flow pipeline. The response is an envelope: `data` carries the
|
|
2355
2361
|
adaptor-specific record payload; surrounding fields (`stage`, `pgExportId`, `oneToMany`,
|
|
2356
2362
|
`pathToMany`, `childIndex`, `traceKey`) identify where in the pipeline the record was when it
|
|
2357
|
-
failed and how it's structured.
|
|
2363
|
+
failed and how it's structured. Which of them are present depends on the stage: a
|
|
2364
|
+
source export's `transform`, `filter` or `preSave` envelope carries `data`, `stage` and
|
|
2365
|
+
`traceKey` only (live, 2026-11-09).
|
|
2358
2366
|
|
|
2359
2367
|
The `data` field is the record as the failing stage held it: for an import-stage error
|
|
2360
2368
|
(`page_processor_import`) on an HTTP import, the record before the import's mappings, not the
|
|
@@ -2369,7 +2377,13 @@ paths:
|
|
|
2369
2377
|
`post_response_mapping` (a postResponseMap hook's error, on an import or a lookup) resumes at
|
|
2370
2378
|
the hook from the stored reply in `adaptorResponse`, sending nothing to that step's application
|
|
2371
2379
|
again — the lookup is not run again either — and carrying the record on to the flow's next
|
|
2372
|
-
steps
|
|
2380
|
+
steps. A source export's error carries the part of the export it failed in (`transform`,
|
|
2381
|
+
`filter`, `preSave`, `preSend`, `transformation`); in the observed cases — a JavaScript
|
|
2382
|
+
transform, a JavaScript filter, an error the preSavePage hook returned through
|
|
2383
|
+
`newErrorsAndRetryData` — a retry re-enters the export at that part with the saved record,
|
|
2384
|
+
without reading the source again (live, 2026-11-09); a Transform 1.0 transform's and a thrown
|
|
2385
|
+
hook's retry are not documented. The `FlowStepRetryData` schema lists every stage value and
|
|
2386
|
+
what is known about each.
|
|
2373
2387
|
parameters:
|
|
2374
2388
|
- name: _id
|
|
2375
2389
|
in: path
|
|
@@ -2445,7 +2459,8 @@ paths:
|
|
|
2445
2459
|
|
|
2446
2460
|
The typical workflow is: `GET .../{retryDataKey}/data`, mutate `data` locally, `PUT` the whole
|
|
2447
2461
|
envelope back, then `POST .../retry` with the same `retryDataKey`. Send the complete envelope
|
|
2448
|
-
— omitted fields are lost, and
|
|
2462
|
+
— omitted fields are lost, and the fields the GET returned beside `data` (`stage`, and
|
|
2463
|
+
`retryDataKey` / `pgExportId` where present) must match the original GET.
|
|
2449
2464
|
Editing the snapshot does not clear the error; it stays open until a subsequent retry or
|
|
2450
2465
|
manual resolve.
|
|
2451
2466
|
parameters:
|
|
@@ -8277,11 +8292,16 @@ components:
|
|
|
8277
8292
|
|
|
8278
8293
|
The `data` field carries the record as it reached the failing stage, and a retry resumes from
|
|
8279
8294
|
that stage (`stage`) — its shape is adaptor-specific. The surrounding fields identify where in the
|
|
8280
|
-
pipeline the failure happened and how the record was structured
|
|
8295
|
+
pipeline the failure happened and how the record was structured: a page-processor stage (a lookup
|
|
8296
|
+
or an import) carries `retryDataKey`, `oneToMany` and `pgExportId`; a `transform`, `filter` or
|
|
8297
|
+
`preSave` envelope carries `data`, `stage` and `traceKey` only, and a `transformation` envelope
|
|
8298
|
+
`data`, `stage` and `pgExportId` (live, 2026-11-09).
|
|
8281
8299
|
properties:
|
|
8282
8300
|
retryDataKey:
|
|
8283
8301
|
type: string
|
|
8284
|
-
description:
|
|
8302
|
+
description: |-
|
|
8303
|
+
Echoes the path parameter. Absent from a `transform`, `filter`, `preSave` or `transformation`
|
|
8304
|
+
envelope (live, 2026-11-09).
|
|
8285
8305
|
examples:
|
|
8286
8306
|
- 5f8d43a1b9e5a80011a35f2d-rdk-0
|
|
8287
8307
|
data:
|
|
@@ -8293,38 +8313,90 @@ components:
|
|
|
8293
8313
|
record. At `page_processor_export` (a lookup's errors) it is the record as it reached the
|
|
8294
8314
|
lookup. At `post_response_mapping` (a postResponseMap hook's error) it is the record after the
|
|
8295
8315
|
step's response mapping, with the mapped fields: a retry neither maps nor sends it again, and
|
|
8296
|
-
the destination's reply is in `adaptorResponse`.
|
|
8316
|
+
the destination's reply is in `adaptorResponse`. On a source export it is the record as it
|
|
8317
|
+
entered the failing part: at `transform` the record as the source returned it, at `filter`
|
|
8318
|
+
the transformed record, at `preSave` the record as the preSavePage hook received it (live,
|
|
8319
|
+
2026-11-09). Shape varies by adaptor.
|
|
8297
8320
|
additionalProperties: true
|
|
8298
8321
|
stage:
|
|
8299
8322
|
type: string
|
|
8300
8323
|
description: |-
|
|
8301
|
-
Pipeline stage
|
|
8302
|
-
`
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
the
|
|
8317
|
-
|
|
8324
|
+
Pipeline stage the record was at when the error occurred. A retry replays the saved
|
|
8325
|
+
`data`; where it re-enters the step and what it repeats were observed for the stages
|
|
8326
|
+
stated below and are not documented for the others. Two families. A
|
|
8327
|
+
**page-processor stage** (a lookup or an import): `page_processor_import` is the record as
|
|
8328
|
+
it entered the import, so a retry maps it with the current mappings and sends it to the
|
|
8329
|
+
destination again. A postSubmit hook's errors
|
|
8330
|
+
are stored here whether the destination accepted the record or refused it and the hook
|
|
8331
|
+
reworded the refusal (live, 2026-10-30), so neither the stage nor the error's
|
|
8332
|
+
`post_submit_hook` source says whether the record was written: retrying an error the hook
|
|
8333
|
+
raised after the destination accepted the record writes it a second time (live, 2026-10-22),
|
|
8334
|
+
while a reworded refusal is a record the destination did not take. `page_processor_export`
|
|
8335
|
+
is a lookup's error: a retry calls the lookup's application again, with the lookup as it is
|
|
8336
|
+
configured now (live, 2026-10-30: after the lookup's template was fixed, the retried records
|
|
8337
|
+
succeeded; 2026-11-06: the connection's debug log recorded the new request). `post_response_mapping`
|
|
8338
|
+
is a postResponseMap hook's error, raised after the step's call answered: a retry runs the
|
|
8339
|
+
hook from the stored reply and carries the record on to the flow's next steps, sending
|
|
8340
|
+
nothing to that destination again and never re-running a lookup, so the hook sees the reply
|
|
8341
|
+
saved at run time however the looked-up system has changed since (live, 2026-10-23,
|
|
8342
|
+
2026-10-25 and 2026-11-06: the request count did not change, the connection's debug log
|
|
8343
|
+
recorded no new request, and a one-to-many child's retry replayed that child alone).
|
|
8344
|
+
`page_processor_pre_import` and `page_processor_pre_export` (the step's one-to-many
|
|
8345
|
+
preparation), `response_mapping`, `routing` (the router after the step), the Tool-step stages
|
|
8346
|
+
(`tool_input_schema_validation`, `tool_input_transformation`, `tool_output_adaptor`,
|
|
8347
|
+
`tool_output_schema_validation`) and the file-aggregation stages (`file_import`,
|
|
8348
|
+
`file_batch_import`, `file_split_import`) say where the record was; what a retry repeats
|
|
8349
|
+
there is not documented. A **source-export stage** (the page generator) names the part of
|
|
8350
|
+
the export the record failed in: `transform` (the export's transform — observed for a
|
|
8351
|
+
JavaScript transform; a Transform 1.0 transform's retry is not documented), `filter` (the
|
|
8352
|
+
output filter — observed for a JavaScript filter), `preSave` (the preSavePage hook — observed
|
|
8353
|
+
for an error the hook returned through `newErrorsAndRetryData`; a thrown hook's retry is not
|
|
8354
|
+
documented), `preSend` (a NetSuite export's SuiteScript preSend hook) and `transformation` (a
|
|
8355
|
+
Transform 2.0 error). In the observed cases a retry at `transform`, `filter` or `preSave`
|
|
8356
|
+
re-enters the export at that part with the export as it is configured now; the parts before
|
|
8357
|
+
it are not repeated, the source is not read again, and a record that passes continues
|
|
8358
|
+
through the flow's steps as a new record (live, 2026-11-09: the retried transform, filter and
|
|
8359
|
+
hook each saw the saved record with its original fetched values, the export's connection
|
|
8360
|
+
recorded no new request, and after the script was corrected the record reached the next
|
|
8361
|
+
step). What a retry repeats at `preSend` and `transformation` is not documented.
|
|
8318
8362
|
x-celigo-ai-guidance:
|
|
8319
8363
|
- |-
|
|
8320
8364
|
Before retrying `post_submit_hook` errors, find out whether the destination took each
|
|
8321
8365
|
record — the hook's message, or a lookup of the record in the destination — and retry the
|
|
8322
8366
|
refusals. A hook error on a record the destination accepted is written again by the retry.
|
|
8323
|
-
|
|
8367
|
+
- |-
|
|
8368
|
+
In the observed cases — `transform` for a JavaScript transform, `filter` for a JavaScript
|
|
8369
|
+
filter, `preSave` for an error the preSavePage hook returned through
|
|
8370
|
+
`newErrorsAndRetryData` — a fix to the export's transform, filter or hook reaches the
|
|
8371
|
+
retried record: the retry runs that part as configured now (live, 2026-11-09: after the
|
|
8372
|
+
script was corrected, the saved record reached the next step carrying the new script's
|
|
8373
|
+
output), but a change made in the source application does not — the retry never reads the
|
|
8374
|
+
source again, so a record that needs fresh source data re-enters the flow from the source
|
|
8375
|
+
instead. At `filter` the transform is not repeated, and at `preSave` neither the transform
|
|
8376
|
+
nor the filter is. A Transform 1.0 transform's retry and a thrown hook's retry are not
|
|
8377
|
+
documented. An error the preSavePage hook returns through `newErrorsAndRetryData` carries
|
|
8378
|
+
a new `retryDataKey` on every attempt (live, 2026-11-09), so reconcile such a retry's
|
|
8379
|
+
before and after by `traceKey`, not by key.
|
|
8380
|
+
examples:
|
|
8381
|
+
- page_processor_pre_import
|
|
8382
|
+
- page_processor_pre_export
|
|
8324
8383
|
- page_processor_import
|
|
8325
8384
|
- page_processor_export
|
|
8385
|
+
- response_mapping
|
|
8326
8386
|
- post_response_mapping
|
|
8327
|
-
-
|
|
8387
|
+
- routing
|
|
8388
|
+
- tool_input_schema_validation
|
|
8389
|
+
- tool_input_transformation
|
|
8390
|
+
- tool_output_adaptor
|
|
8391
|
+
- tool_output_schema_validation
|
|
8392
|
+
- file_import
|
|
8393
|
+
- file_batch_import
|
|
8394
|
+
- file_split_import
|
|
8395
|
+
- transform
|
|
8396
|
+
- filter
|
|
8397
|
+
- preSave
|
|
8398
|
+
- preSend
|
|
8399
|
+
- transformation
|
|
8328
8400
|
pgExportId:
|
|
8329
8401
|
type: string
|
|
8330
8402
|
format: objectId
|
|
@@ -8336,7 +8408,8 @@ components:
|
|
|
8336
8408
|
type: boolean
|
|
8337
8409
|
description: |-
|
|
8338
8410
|
Whether the stored record represents a one-to-many expansion. When `true`, `childIndex` and
|
|
8339
|
-
`pathToMany` locate the specific sub-record inside the parent payload.
|
|
8411
|
+
`pathToMany` locate the specific sub-record inside the parent payload. Absent from a
|
|
8412
|
+
`transform`, `filter`, `preSave` or `transformation` envelope (live, 2026-11-09).
|
|
8340
8413
|
pathToMany:
|
|
8341
8414
|
type:
|
|
8342
8415
|
- string
|
|
@@ -8371,10 +8444,8 @@ components:
|
|
|
8371
8444
|
and `ignoredResults`. Treat the shape as opaque — it varies by adaptor — and pass it through
|
|
8372
8445
|
unchanged when PUT-ing the envelope back.
|
|
8373
8446
|
required:
|
|
8374
|
-
- retryDataKey
|
|
8375
8447
|
- data
|
|
8376
8448
|
- stage
|
|
8377
|
-
- oneToMany
|
|
8378
8449
|
FlowStepRequestResponse:
|
|
8379
8450
|
type: object
|
|
8380
8451
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -40276,7 +40276,11 @@ components:
|
|
|
40276
40276
|
description: |-
|
|
40277
40277
|
Filter applied to each record after the export's transform and before its preSavePage
|
|
40278
40278
|
hook. Records that match continue through the flow; records that don't are silently
|
|
40279
|
-
dropped. Filter expressions reference the transformed record's fields.
|
|
40279
|
+
dropped. Filter expressions reference the transformed record's fields. A record a
|
|
40280
|
+
JavaScript filter fails on a source export is stored at retry stage `filter` with the
|
|
40281
|
+
transformed record: a retry filters that saved record again with the filter as it is
|
|
40282
|
+
configured now, without reading the source again or repeating the transform (live,
|
|
40283
|
+
2026-11-09).
|
|
40280
40284
|
allOf:
|
|
40281
40285
|
- $ref: '#/components/schemas/Filter'
|
|
40282
40286
|
x-celigo-ai-guidance:
|
|
@@ -40375,7 +40379,12 @@ components:
|
|
|
40375
40379
|
Transformation that reshapes records before they leave this step — source exports
|
|
40376
40380
|
transform the retrieved records, lookup exports transform the lookup results. Commonly
|
|
40377
40381
|
used to flatten nested lookup responses (e.g. `results[0].id` → `id`); merging results
|
|
40378
|
-
back into source records is handled separately by the flow's response mapping.
|
|
40382
|
+
back into source records is handled separately by the flow's response mapping. A record a
|
|
40383
|
+
JavaScript transform fails on a source export is stored at retry stage `transform` with the
|
|
40384
|
+
record as the source returned it: a retry transforms that saved record again with the
|
|
40385
|
+
transform as it is configured now, without reading the source again (live, 2026-11-09). A
|
|
40386
|
+
Transform 1.0 transform's retry is not documented; a Transform 2.0 error is stored at stage
|
|
40387
|
+
`transformation`.
|
|
40379
40388
|
allOf:
|
|
40380
40389
|
- $ref: '#/components/schemas/Transform'
|
|
40381
40390
|
x-celigo-ai-guidance:
|
|
@@ -40414,7 +40423,13 @@ components:
|
|
|
40414
40423
|
here fails every record on that page, each with its own retry data, and later pages
|
|
40415
40424
|
still run. On a lookup, an error this hook returns through `newErrorsAndRetryData` is
|
|
40416
40425
|
stored at retry stage `page_processor_export`: a retry runs the lookup again, as it
|
|
40417
|
-
is configured now, and the hook sees the fresh result.
|
|
40426
|
+
is configured now, and the hook sees the fresh result. On a source export, an error
|
|
40427
|
+
this hook returns through `newErrorsAndRetryData` is stored at stage `preSave` with the
|
|
40428
|
+
record the hook received: a retry hands that saved record to the hook again, as it is
|
|
40429
|
+
configured now, without reading the source again or repeating the transform and filter,
|
|
40430
|
+
a record the hook passes continues through the flow's steps, and an error it returns
|
|
40431
|
+
again carries a new `retryDataKey` (live, 2026-11-09). The retry of an error a thrown
|
|
40432
|
+
hook produced is not documented.
|
|
40418
40433
|
properties:
|
|
40419
40434
|
function:
|
|
40420
40435
|
type: string
|
package/package.json
CHANGED