@celigo/api-specs 0.2.249 → 0.2.250

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
@@ -8064,8 +8064,12 @@ components:
8064
8064
  message a `preSavePage` hook on the lookup that returns one `newErrorsAndRetryData`
8065
8065
  entry (`{errors: [{code: 404, message: "Product not found"}]}`) when `options.data`
8066
8066
  and `options.errors` are both empty failed the record with "Product not found" in
8067
- the same runs. Lookups on adaptors without HTTP response settings (NetSuite, for
8068
- example) have no `successPath`.
8067
+ the same runs. Either error is stored at retry stage `page_processor_export`, so a
8068
+ retry runs the lookup again (live, 2026-11-06: the retried error carried a fresh
8069
+ reply and the connection's debug log a new request) — unlike a check in a
8070
+ `postResponseMap` hook, whose retry replays the stored reply. Lookups on
8071
+ adaptors without HTTP response settings (NetSuite, for example) have no
8072
+ `successPath`.
8069
8073
  examples:
8070
8074
  - status
8071
8075
  - success
@@ -17293,7 +17297,9 @@ components:
17293
17297
  hook that returns `options.data` itself, or a filtered copy, drops the page without an
17294
17298
  error, and the run completes with 0 records, 0 errors and 0 pages. An exception thrown
17295
17299
  here fails every record on that page, each with its own retry data, and later pages
17296
- still run.
17300
+ still run. On a lookup, an error this hook returns through `newErrorsAndRetryData` is
17301
+ stored at retry stage `page_processor_export`: a retry runs the lookup again, as it
17302
+ is configured now, and the hook sees the fresh result.
17297
17303
  properties:
17298
17304
  function:
17299
17305
  type: string
package/dist/flow.yml CHANGED
@@ -1913,11 +1913,16 @@ paths:
1913
1913
  `errorId`.
1914
1914
 
1915
1915
  To modify a record before retrying, call `GET .../{ retryDataKey}/data`, mutate the payload,
1916
- `PUT` it back, then call this endpoint. Retried records go through the same page-processor
1917
- pipeline as new records with no ordering guarantees. To retry the whole open-error queue without
1918
- listing keys, send `selectAll: true` with a `lastErrorAt` high-water mark instead of
1919
- `retryDataKeys` — one call retries every matching error, no matter how many (errors without a
1920
- `retryDataKey` are skipped).
1916
+ `PUT` it back, then call this endpoint. Where a retried record re-enters the step is the
1917
+ snapshot's `stage` (the GET on that path describes the stages). The verified re-entry rules:
1918
+ an import's error (`page_processor_import`) is mapped and sent to the destination again, a
1919
+ lookup's error (`page_processor_export`) runs the lookup again, and a postResponseMap hook's
1920
+ error (`post_response_mapping`) re-runs only the hook on the saved record and the step's
1921
+ stored reply — nothing is sent to that step's application again. From there, retried records
1922
+ continue through the following steps as new records would, with no ordering guarantees. To retry the whole open-error queue without listing keys, send
1923
+ `selectAll: true` with a `lastErrorAt` high-water mark instead of `retryDataKeys` — one call
1924
+ retries every matching error, no matter how many (errors without a `retryDataKey` are
1925
+ skipped).
1921
1926
  x-celigo-ai-guidance:
1922
1927
  - |-
1923
1928
  An error leaving the open list after this call does not mean the retry worked: submitting
@@ -2161,9 +2166,10 @@ paths:
2161
2166
  where the retry will resume: `page_processor_import` re-runs the import (most common, and where a
2162
2167
  postSubmit hook's errors are stored — a retry writes again a record the destination accepted,
2163
2168
  and resends one whose refusal the hook reworded), `page_processor_export` re-runs the lookup,
2164
- `post_response_mapping` (a postResponseMap hook's error) resumes after the import from the stored
2165
- reply in `adaptorResponse`, sending nothing to the destination again and carrying the record on
2166
- to the flow's next steps, and `page_generator` means the error was upstream of the processor.
2169
+ `post_response_mapping` (a postResponseMap hook's error, on an import or a lookup) resumes at
2170
+ the hook from the stored reply in `adaptorResponse`, sending nothing to that step's application
2171
+ again — the lookup is not run again either — and carrying the record on to the flow's next
2172
+ steps, and `page_generator` means the error was upstream of the processor.
2167
2173
  parameters:
2168
2174
  - name: _id
2169
2175
  in: path
@@ -4823,7 +4829,10 @@ components:
4823
4829
  unless `proceedOnFailure` is true. Then it is included, without the fields response
4824
4830
  mapping would have added, and its `responseData` entry has `statusCode` 422 and
4825
4831
  `errors` as an object keyed by index (`"0"`, `"1"`, ...) rather than an array. A
4826
- successful entry has no `errors`.
4832
+ successful entry has no `errors`. An error this hook raises is stored at retry
4833
+ stage `post_response_mapping`: a retry runs the hook again on the saved record (as
4834
+ response mapping left it) and the step's stored reply, without repeating the lookup
4835
+ or the destination request.
4827
4836
  x-celigo-ai-guidance:
4828
4837
  - |-
4829
4838
  Verified live 2026-10-22 in flow runs of an HTTP import, three records with one
@@ -4831,6 +4840,20 @@ components:
4831
4840
  records; with `proceedOnFailure: true` they held all three, and a hook that called
4832
4841
  `.map` on each entry's `errors` threw on the failed one, failing the page. Read
4833
4842
  errors with `Object.values(entry.errors || {})`.
4843
+ - |-
4844
+ A retry of this hook's error never re-queries the looked-up system or re-sends to
4845
+ the destination, so a fix made there (an item created, a search corrected) does not
4846
+ reach the retried record and the same error returns on every retry. The record
4847
+ re-enters the flow from the source (a fresh run performs the lookup), or its retry
4848
+ data is edited to carry the field the hook reads and then retried — the hook passes
4849
+ and the record continues to the next step. To fail a lookup on "no match" so that a
4850
+ retry runs the lookup again, raise the error from the lookup's `preSavePage` hook or
4851
+ an HTTP `successPath` instead (stage `page_processor_export`). Verified live
4852
+ 2026-11-06 on a lookup with this hook, one-to-one and one-to-many: the retried
4853
+ error's message carried the original lookup reply, the connection's debug log showed
4854
+ no new request, and after the retry data was edited the retry passed the hook and
4855
+ reached the next import; the same day a `preSavePage` error and a `successPath`
4856
+ error on that lookup were each retried with a new lookup request and a fresh reply.
4834
4857
  properties:
4835
4858
  function:
4836
4859
  type: string
@@ -7878,7 +7901,11 @@ components:
7878
7901
  `post_response_mapping` is a postResponseMap hook's error, raised after the destination
7879
7902
  answered: a retry runs the hook from the stored reply and carries the record on to the flow's
7880
7903
  next steps, sending nothing to that destination again (live, 2026-10-23 and 2026-10-25: the
7881
- import's request count didn't change, and the next import received the retried records).
7904
+ import's request count didn't change, and the next import received the retried records). The
7905
+ same holds for the hook on a lookup step: the lookup is not run again, so the hook sees the
7906
+ reply saved at run time however the looked-up system has changed since (live, 2026-11-06:
7907
+ the retried error's message carried the original reply and the connection's debug log
7908
+ recorded no new request; a one-to-many child's retry replayed that child alone).
7882
7909
  x-celigo-ai-guidance:
7883
7910
  - |-
7884
7911
  Before retrying `post_submit_hook` errors, find out whether the destination took each
package/dist/import.yml CHANGED
@@ -17653,6 +17653,15 @@ components:
17653
17653
  response, whose envelope carries the mock's id, such as
17654
17654
  ``1234567890``) → array of the same length, typically mutated
17655
17655
  to annotate or augment per-record errors.
17656
+ - |-
17657
+ An error this hook raises is stored at retry stage
17658
+ `page_processor_import`, like the import's own errors: a retry
17659
+ maps the saved record again and sends it to the destination
17660
+ again, so a record the destination had accepted before the hook
17661
+ failed it is written a second time (live, 2026-10-22). Before
17662
+ retrying such errors, find out whether the destination took each
17663
+ record — the hook's message, or a lookup of the record there —
17664
+ and retry only the refusals.
17656
17665
  allOf:
17657
17666
  - $ref: '#/components/schemas/Hook'
17658
17667
  postAggregate:
package/dist/tool.yml CHANGED
@@ -27101,6 +27101,15 @@ components:
27101
27101
  response, whose envelope carries the mock's id, such as
27102
27102
  ``1234567890``) → array of the same length, typically mutated
27103
27103
  to annotate or augment per-record errors.
27104
+ - |-
27105
+ An error this hook raises is stored at retry stage
27106
+ `page_processor_import`, like the import's own errors: a retry
27107
+ maps the saved record again and sends it to the destination
27108
+ again, so a record the destination had accepted before the hook
27109
+ failed it is written a second time (live, 2026-10-22). Before
27110
+ retrying such errors, find out whether the destination took each
27111
+ record — the hook's message, or a lookup of the record there —
27112
+ and retry only the refusals.
27104
27113
  allOf:
27105
27114
  - $ref: '#/components/schemas/Hook'
27106
27115
  postAggregate:
@@ -34185,8 +34194,12 @@ components:
34185
34194
  message a `preSavePage` hook on the lookup that returns one `newErrorsAndRetryData`
34186
34195
  entry (`{errors: [{code: 404, message: "Product not found"}]}`) when `options.data`
34187
34196
  and `options.errors` are both empty failed the record with "Product not found" in
34188
- the same runs. Lookups on adaptors without HTTP response settings (NetSuite, for
34189
- example) have no `successPath`.
34197
+ the same runs. Either error is stored at retry stage `page_processor_export`, so a
34198
+ retry runs the lookup again (live, 2026-11-06: the retried error carried a fresh
34199
+ reply and the connection's debug log a new request) — unlike a check in a
34200
+ `postResponseMap` hook, whose retry replays the stored reply. Lookups on
34201
+ adaptors without HTTP response settings (NetSuite, for example) have no
34202
+ `successPath`.
34190
34203
  examples:
34191
34204
  - status
34192
34205
  - success
@@ -39652,7 +39665,9 @@ components:
39652
39665
  hook that returns `options.data` itself, or a filtered copy, drops the page without an
39653
39666
  error, and the run completes with 0 records, 0 errors and 0 pages. An exception thrown
39654
39667
  here fails every record on that page, each with its own retry data, and later pages
39655
- still run.
39668
+ still run. On a lookup, an error this hook returns through `newErrorsAndRetryData` is
39669
+ stored at retry stage `page_processor_export`: a retry runs the lookup again, as it
39670
+ is configured now, and the hook sees the fresh result.
39656
39671
  properties:
39657
39672
  function:
39658
39673
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.249",
3
+ "version": "0.2.250",
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": "b2921107",
4
+ "iasCommit": "ec11f214",
5
5
  "generatedAt": "2026-11-06"
6
6
  },
7
7
  "roots": {