@celigo/api-specs 0.2.191 → 0.2.192

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/flow.yml CHANGED
@@ -2151,12 +2151,17 @@ paths:
2151
2151
  `pathToMany`, `childIndex`, `traceKey`) identify where in the pipeline the record was when it
2152
2152
  failed and how it's structured.
2153
2153
 
2154
- The `data` field is the record as it reached the failing step — on an HTTP import, before the
2155
- import's mappings, not the request the import sent. Use `PUT .../{retryDataKey}/data` to mutate
2154
+ The `data` field is the record as the failing stage held it: for an import-stage error
2155
+ (`page_processor_import`) on an HTTP import, the record before the import's mappings, not the
2156
+ request the import sent; for a postResponseMap hook's error (`post_response_mapping`), the record
2157
+ after the step's response mapping. Use `PUT .../{retryDataKey}/data` to mutate
2156
2158
  the snapshot before retrying. Only errors with a `retryDataKey` expose this endpoint;
2157
2159
  connection-class errors are rejected with `no_retrydata_found`. The `stage` field indicates
2158
- where the retry will resume: `page_processor_import` re-runs the import (most common),
2159
- `page_generator` means the error was upstream of the processor.
2160
+ where the retry will resume: `page_processor_import` re-runs the import (most common, and where a
2161
+ postSubmit hook's errors are stored, so their retry writes the records again),
2162
+ `post_response_mapping` (a postResponseMap hook's error) resumes after the import from the stored
2163
+ reply in `adaptorResponse`, sending nothing to the destination again and carrying the record on
2164
+ to the flow's next steps, and `page_generator` means the error was upstream of the processor.
2160
2165
  parameters:
2161
2166
  - name: _id
2162
2167
  in: path
@@ -7625,8 +7630,8 @@ components:
7625
7630
  `GET /v1/flows/{_id}/{_stepId}/{retryDataKey}/data` and accepted (full-replace) by the PUT on the
7626
7631
  same path.
7627
7632
 
7628
- The `data` field carries the record as it reached the failing step, which a retry runs through
7629
- that step again — its shape is adaptor-specific. The surrounding fields identify where in the
7633
+ The `data` field carries the record as it reached the failing stage, and a retry resumes from
7634
+ that stage (`stage`) — its shape is adaptor-specific. The surrounding fields identify where in the
7630
7635
  pipeline the failure happened and how the record was structured.
7631
7636
  properties:
7632
7637
  retryDataKey:
@@ -7636,16 +7641,28 @@ components:
7636
7641
  - 5f8d43a1b9e5a80011a35f2d-rdk-0
7637
7642
  data:
7638
7643
  description: |-
7639
- The record as it reached the step. On an HTTP import it is the incoming record, before the
7644
+ The record as the failing stage held it, which depends on `stage`. At `page_processor_import`
7645
+ (an import's errors, a postSubmit hook's included) it is the incoming record, before the
7640
7646
  import's mappings — not the request body the import sent or the response it got back — and a
7641
7647
  retry maps it again with the import's current mappings, so a mapping fix reaches the retried
7642
- record. Shape varies by adaptor.
7648
+ record. At `post_response_mapping` (a postResponseMap hook's error) it is the record after the
7649
+ step's response mapping, with the mapped fields: a retry neither maps nor sends it again, and
7650
+ the destination's reply is in `adaptorResponse`. Shape varies by adaptor.
7643
7651
  additionalProperties: true
7644
7652
  stage:
7645
7653
  type: string
7646
- description: Pipeline stage where the record was when the error occurred.
7654
+ description: |-
7655
+ Pipeline stage where the record was when the error occurred, which is where a retry resumes.
7656
+ `page_processor_import` is the record as it entered the import, so a retry sends it to the
7657
+ destination again; a postSubmit hook's errors are stored here, so retrying them writes records
7658
+ the destination already accepted a second time (live, 2026-10-22). `post_response_mapping` is a
7659
+ postResponseMap hook's error, raised after the destination answered: a retry runs the hook from
7660
+ the stored reply and carries the record on to the flow's next steps, sending nothing to that
7661
+ destination again (live, 2026-10-23 and 2026-10-25: the import's request count didn't change,
7662
+ and the next import received the retried records).
7647
7663
  examples:
7648
7664
  - page_processor_import
7665
+ - post_response_mapping
7649
7666
  - importMappingExtract
7650
7667
  pgExportId:
7651
7668
  type: string
@@ -7687,7 +7704,8 @@ components:
7687
7704
  additionalProperties: true
7688
7705
  description: |-
7689
7706
  Adaptor-level response envelope captured alongside the record payload. Present on failures
7690
- returned by an HTTP or import adaptor; carries fields like `data[]`, `errors[]`,
7707
+ returned by an HTTP or import adaptor, and on a postResponseMap hook's errors, where it is the
7708
+ destination's stored reply (`statusCode`, `id`, `_json`); carries fields like `data[]`, `errors[]`,
7691
7709
  `subGroupIdMapForSuccess`, `resultRecordIds`, `dataURIs`, `groupId`, `recordId`,
7692
7710
  and `ignoredResults`. Treat the shape as opaque — it varies by adaptor — and pass it through
7693
7711
  unchanged when PUT-ing the envelope back.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.191",
3
+ "version": "0.2.192",
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": "1cd90c84",
4
+ "iasCommit": "3e699444",
5
5
  "generatedAt": "2026-10-25"
6
6
  },
7
7
  "roots": {