@celigo/api-specs 0.2.279 → 0.2.281

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 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. From there, retried records
2122
- continue through the following steps as new records would, with no ordering guarantees. To retry the whole open-error queue without listing keys, send
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, and `page_generator` means the error was upstream of the processor.
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 `retryDataKey`, `stage`, `pgExportId` must match the original GET.
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:
@@ -5133,9 +5148,22 @@ components:
5133
5148
  flow-error notification email was not sent, and do not suggest turning it off to test
5134
5149
  email delivery.
5135
5150
  - |-
5136
- A record that continues past its failure arrives at later steps without the fields
5137
- this step's response mapping would have added; `hooks.postResponseMap` documents the
5138
- shape it has there.
5151
+ A record that continues past its failure arrives at later steps WITH the fields its
5152
+ response mapping extracts from the failure envelope: `statusCode` (422 — the platform's
5153
+ verdict on the record, not the HTTP status the destination answered, which is in
5154
+ `errors[].code`) and `errors` (an array) are present; `id` is present only when the
5155
+ import's id path resolves on the reply the destination sent. Verified live 2026-11-10 in
5156
+ flow runs of an HTTP import with `proceedOnFailure: true` and `id` / `statusCode` /
5157
+ `errors` mapped: a record failed by `failPath` on a 200 echo body reached the next
5158
+ router carrying `statusCode` 422, `errors` and the `id` read from that body; records
5159
+ answered a real 404 carried `statusCode` 422 and `errors` and no `id`; written records
5160
+ carried the destination's status (200 in these runs) and no `errors`. So a router after
5161
+ the step picks out the failed records with a rule on the mapped `statusCode` equal to
5162
+ 422 (or `errors` not empty) and lets every other record take the other branch —
5163
+ written records, and records the import's input filter skipped, which continue without
5164
+ any of this step's response-mapped fields and are not failures; a rule on the mapped
5165
+ `id` being empty holds only where the destination assigns an id solely to a record it
5166
+ wrote. `hooks.postResponseMap` documents the shape in that hook.
5139
5167
  responseMapping:
5140
5168
  $ref: '#/components/schemas/ResponseMapping'
5141
5169
  hooks:
@@ -5149,10 +5177,11 @@ components:
5149
5177
  `options.postResponseMapData` (the records, with response mapping applied) and
5150
5178
  `options.responseData` (the step's per-record results, in the same order) and returns
5151
5179
  `postResponseMapData`, same length. A record an import step failed is in neither array
5152
- unless `proceedOnFailure` is true. Then it is included, without the fields response
5153
- mapping would have added, and its `responseData` entry has `statusCode` 422 and
5154
- `errors` as an object keyed by index (`"0"`, `"1"`, ...) rather than an array. A
5155
- successful entry has no `errors`. An error this hook raises is stored at retry
5180
+ unless `proceedOnFailure` is true. Then it is included — carrying the fields its
5181
+ response mapping extracted from the failure envelope (`statusCode` 422 and `errors`;
5182
+ `id` only when the id path resolves on the destination's reply) — and its
5183
+ `responseData` entry has `statusCode` 422 and `errors` as an object keyed by index
5184
+ (`"0"`, `"1"`, ...) rather than an array. A successful entry has no `errors`. An error this hook raises is stored at retry
5156
5185
  stage `post_response_mapping`: a retry runs the hook again on the saved record (as
5157
5186
  response mapping left it) and the step's stored reply, without repeating the lookup
5158
5187
  or the destination request.
@@ -8277,11 +8306,16 @@ components:
8277
8306
 
8278
8307
  The `data` field carries the record as it reached the failing stage, and a retry resumes from
8279
8308
  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.
8309
+ pipeline the failure happened and how the record was structured: a page-processor stage (a lookup
8310
+ or an import) carries `retryDataKey`, `oneToMany` and `pgExportId`; a `transform`, `filter` or
8311
+ `preSave` envelope carries `data`, `stage` and `traceKey` only, and a `transformation` envelope
8312
+ `data`, `stage` and `pgExportId` (live, 2026-11-09).
8281
8313
  properties:
8282
8314
  retryDataKey:
8283
8315
  type: string
8284
- description: Echoes the path parameter.
8316
+ description: |-
8317
+ Echoes the path parameter. Absent from a `transform`, `filter`, `preSave` or `transformation`
8318
+ envelope (live, 2026-11-09).
8285
8319
  examples:
8286
8320
  - 5f8d43a1b9e5a80011a35f2d-rdk-0
8287
8321
  data:
@@ -8293,38 +8327,90 @@ components:
8293
8327
  record. At `page_processor_export` (a lookup's errors) it is the record as it reached the
8294
8328
  lookup. At `post_response_mapping` (a postResponseMap hook's error) it is the record after the
8295
8329
  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`. Shape varies by adaptor.
8330
+ the destination's reply is in `adaptorResponse`. On a source export it is the record as it
8331
+ entered the failing part: at `transform` the record as the source returned it, at `filter`
8332
+ the transformed record, at `preSave` the record as the preSavePage hook received it (live,
8333
+ 2026-11-09). Shape varies by adaptor.
8297
8334
  additionalProperties: true
8298
8335
  stage:
8299
8336
  type: string
8300
8337
  description: |-
8301
- Pipeline stage where the record was when the error occurred, which is where a retry resumes.
8302
- `page_processor_import` is the record as it entered the import, so a retry sends it to the
8303
- destination again. A postSubmit hook's errors are stored here whether the destination accepted
8304
- the record or refused it and the hook reworded the refusal (live, 2026-10-30), so neither the
8305
- stage nor the error's `post_submit_hook` source says whether the record was written: retrying
8306
- an error the hook raised after the destination accepted the record writes it a second time
8307
- (live, 2026-10-22), while a reworded refusal is a record the destination did not take.
8308
- `page_processor_export` is a lookup's error: a retry runs the lookup again as it is configured
8309
- now (live, 2026-10-30: after the lookup's template was fixed, the retried records succeeded).
8310
- `post_response_mapping` is a postResponseMap hook's error, raised after the destination
8311
- answered: a retry runs the hook from the stored reply and carries the record on to the flow's
8312
- next steps, sending nothing to that destination again (live, 2026-10-23 and 2026-10-25: the
8313
- import's request count didn't change, and the next import received the retried records). The
8314
- same holds for the hook on a lookup step: the lookup is not run again, so the hook sees the
8315
- reply saved at run time however the looked-up system has changed since (live, 2026-11-06:
8316
- the retried error's message carried the original reply and the connection's debug log
8317
- recorded no new request; a one-to-many child's retry replayed that child alone).
8338
+ Pipeline stage the record was at when the error occurred. A retry replays the saved
8339
+ `data`; where it re-enters the step and what it repeats were observed for the stages
8340
+ stated below and are not documented for the others. Two families. A
8341
+ **page-processor stage** (a lookup or an import): `page_processor_import` is the record as
8342
+ it entered the import, so a retry maps it with the current mappings and sends it to the
8343
+ destination again. A postSubmit hook's errors
8344
+ are stored here whether the destination accepted the record or refused it and the hook
8345
+ reworded the refusal (live, 2026-10-30), so neither the stage nor the error's
8346
+ `post_submit_hook` source says whether the record was written: retrying an error the hook
8347
+ raised after the destination accepted the record writes it a second time (live, 2026-10-22),
8348
+ while a reworded refusal is a record the destination did not take. `page_processor_export`
8349
+ is a lookup's error: a retry calls the lookup's application again, with the lookup as it is
8350
+ configured now (live, 2026-10-30: after the lookup's template was fixed, the retried records
8351
+ succeeded; 2026-11-06: the connection's debug log recorded the new request). `post_response_mapping`
8352
+ is a postResponseMap hook's error, raised after the step's call answered: a retry runs the
8353
+ hook from the stored reply and carries the record on to the flow's next steps, sending
8354
+ nothing to that destination again and never re-running a lookup, so the hook sees the reply
8355
+ saved at run time however the looked-up system has changed since (live, 2026-10-23,
8356
+ 2026-10-25 and 2026-11-06: the request count did not change, the connection's debug log
8357
+ recorded no new request, and a one-to-many child's retry replayed that child alone).
8358
+ `page_processor_pre_import` and `page_processor_pre_export` (the step's one-to-many
8359
+ preparation), `response_mapping`, `routing` (the router after the step), the Tool-step stages
8360
+ (`tool_input_schema_validation`, `tool_input_transformation`, `tool_output_adaptor`,
8361
+ `tool_output_schema_validation`) and the file-aggregation stages (`file_import`,
8362
+ `file_batch_import`, `file_split_import`) say where the record was; what a retry repeats
8363
+ there is not documented. A **source-export stage** (the page generator) names the part of
8364
+ the export the record failed in: `transform` (the export's transform — observed for a
8365
+ JavaScript transform; a Transform 1.0 transform's retry is not documented), `filter` (the
8366
+ output filter — observed for a JavaScript filter), `preSave` (the preSavePage hook — observed
8367
+ for an error the hook returned through `newErrorsAndRetryData`; a thrown hook's retry is not
8368
+ documented), `preSend` (a NetSuite export's SuiteScript preSend hook) and `transformation` (a
8369
+ Transform 2.0 error). In the observed cases a retry at `transform`, `filter` or `preSave`
8370
+ re-enters the export at that part with the export as it is configured now; the parts before
8371
+ it are not repeated, the source is not read again, and a record that passes continues
8372
+ through the flow's steps as a new record (live, 2026-11-09: the retried transform, filter and
8373
+ hook each saw the saved record with its original fetched values, the export's connection
8374
+ recorded no new request, and after the script was corrected the record reached the next
8375
+ step). What a retry repeats at `preSend` and `transformation` is not documented.
8318
8376
  x-celigo-ai-guidance:
8319
8377
  - |-
8320
8378
  Before retrying `post_submit_hook` errors, find out whether the destination took each
8321
8379
  record — the hook's message, or a lookup of the record in the destination — and retry the
8322
8380
  refusals. A hook error on a record the destination accepted is written again by the retry.
8323
- examples:
8381
+ - |-
8382
+ In the observed cases — `transform` for a JavaScript transform, `filter` for a JavaScript
8383
+ filter, `preSave` for an error the preSavePage hook returned through
8384
+ `newErrorsAndRetryData` — a fix to the export's transform, filter or hook reaches the
8385
+ retried record: the retry runs that part as configured now (live, 2026-11-09: after the
8386
+ script was corrected, the saved record reached the next step carrying the new script's
8387
+ output), but a change made in the source application does not — the retry never reads the
8388
+ source again, so a record that needs fresh source data re-enters the flow from the source
8389
+ instead. At `filter` the transform is not repeated, and at `preSave` neither the transform
8390
+ nor the filter is. A Transform 1.0 transform's retry and a thrown hook's retry are not
8391
+ documented. An error the preSavePage hook returns through `newErrorsAndRetryData` carries
8392
+ a new `retryDataKey` on every attempt (live, 2026-11-09), so reconcile such a retry's
8393
+ before and after by `traceKey`, not by key.
8394
+ examples:
8395
+ - page_processor_pre_import
8396
+ - page_processor_pre_export
8324
8397
  - page_processor_import
8325
8398
  - page_processor_export
8399
+ - response_mapping
8326
8400
  - post_response_mapping
8327
- - importMappingExtract
8401
+ - routing
8402
+ - tool_input_schema_validation
8403
+ - tool_input_transformation
8404
+ - tool_output_adaptor
8405
+ - tool_output_schema_validation
8406
+ - file_import
8407
+ - file_batch_import
8408
+ - file_split_import
8409
+ - transform
8410
+ - filter
8411
+ - preSave
8412
+ - preSend
8413
+ - transformation
8328
8414
  pgExportId:
8329
8415
  type: string
8330
8416
  format: objectId
@@ -8336,7 +8422,8 @@ components:
8336
8422
  type: boolean
8337
8423
  description: |-
8338
8424
  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.
8425
+ `pathToMany` locate the specific sub-record inside the parent payload. Absent from a
8426
+ `transform`, `filter`, `preSave` or `transformation` envelope (live, 2026-11-09).
8340
8427
  pathToMany:
8341
8428
  type:
8342
8429
  - string
@@ -8371,10 +8458,8 @@ components:
8371
8458
  and `ignoredResults`. Treat the shape as opaque — it varies by adaptor — and pass it through
8372
8459
  unchanged when PUT-ing the envelope back.
8373
8460
  required:
8374
- - retryDataKey
8375
8461
  - data
8376
8462
  - stage
8377
- - oneToMany
8378
8463
  FlowStepRequestResponse:
8379
8464
  type: object
8380
8465
  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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.279",
3
+ "version": "0.2.281",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "f50f65f6",
4
+ "iasCommit": "e34e8601",
5
5
  "generatedAt": "2026-11-10"
6
6
  },
7
7
  "roots": {