@celigo/api-specs 0.2.283 → 0.2.285

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
@@ -7371,6 +7371,8 @@ components:
7371
7371
  - `lastPageStatusCode` - Detect last page by HTTP status code
7372
7372
  - `lastPagePath` - JSON path to check for last page indicator (read only on a response whose status equals `lastPageStatusCode`, except on `method: body`, which reads it on every response)
7373
7373
  - `lastPageValues` - Values at lastPagePath that indicate last page
7374
+
7375
+ With `method: body` and `mergeBodyParamsToPagingBody` not set, paging also ends when the paging `body` renders empty — see `body`.
7374
7376
  - |-
7375
7377
  ## COMMON IMPLEMENTATION PATTERNS
7376
7378
 
@@ -7835,7 +7837,7 @@ components:
7835
7837
  x-celigo-agent:
7836
7838
  - handlebars
7837
7839
  - graphql
7838
- description: Overrides the main request body for second and later page requests, typically for GraphQL or SOAP APIs that paginate through the body; leave empty when the main body works for all pages. Build it with handlebars using the `previous_page` context — `previous_page.full_response`, `previous_page.last_record`, and `previous_page.headers`.
7840
+ description: Overrides the main request body for second and later page requests, typically for GraphQL or SOAP APIs that paginate through the body; leave empty when the main body works for all pages. Build it with handlebars using the `previous_page` context — `previous_page.full_response`, `previous_page.last_record`, and `previous_page.headers`. With `mergeBodyParamsToPagingBody` not set, a body that renders empty for a page sends no request and ends paging without an error.
7839
7841
  x-celigo-ai-guidance:
7840
7842
  - |-
7841
7843
  This field only needs to be set if subsequent page requests require a different
@@ -7860,10 +7862,38 @@ components:
7860
7862
  - Using the last record's ID: `{"after": "{{previous_page.last_record.id}}", "limit": 100}`
7861
7863
  - Including a page number: `{"page": {{previous_page.full_response.meta.next_page}}, "pageSize": 50}`
7862
7864
  - Leave this field empty if the main HTTP request body can be used for all page requests.
7865
+ - |-
7866
+ With `method: body` and `mergeBodyParamsToPagingBody` not set, a paging body that
7867
+ renders empty — or to whitespace only — ends paging: no request is sent for that
7868
+ page and no error is recorded. A body wrapped whole in a block that holds only
7869
+ while more pages remain therefore stops on the API's own signal:
7870
+ `{{#if previous_page.full_response.hasMore}}{"cursor": "{{previous_page.full_response.nextCursor}}", "limit": 100}{{/if}}`.
7871
+ Live-verified 2026-11-11 with virtual exports against an echo endpoint: three pages
7872
+ were read, the block rendered empty on the next, and the export returned the
7873
+ records with no further request and no error — the same with whitespace outside
7874
+ the block. An empty body together with `mergeBodyParamsToPagingBody: true` was not
7875
+ probed.
7876
+ - |-
7877
+ A block around ONE member of the body does not end paging: the body still renders,
7878
+ so the request is sent with that member empty. In the same probe a body whose
7879
+ `query` member alone sat inside the block kept requesting pages after the flag
7880
+ turned false, each sent with `"query": ""`.
7881
+ - |-
7882
+ A body wrapped in a block is not JSON at rest, so it belongs to a step edited in
7883
+ the raw HTTP form; see `http.formType` for what the GraphQL form shows for such a
7884
+ body. Under the GraphQL form keep the body the object that form reads and end
7885
+ paging with `lastPagePath` and `lastPageValues`.
7886
+ - |-
7887
+ A page with no records at the records path also ends body paging (same probe: an
7888
+ empty array there, then no further request and no error). When the records path is
7889
+ an object rather than the list — a GraphQL `data` — every response counts as one
7890
+ record, so this ending never applies: in the probe the export went on requesting
7891
+ pages past the last one.
7863
7892
  examples:
7864
7893
  - '{"query": "query($cursor: String) { items(after: $cursor) { edges { node { id name } } pageInfo { endCursor } } }", "variables": {"cursor": "{{previous_page.full_response.data.items.pageInfo.endCursor}}"}}'
7865
7894
  - '{"pageToken": "{{previous_page.full_response.nextPageToken}}"}'
7866
7895
  - '{"startIndex": {{previous_page.full_response.nextStartIndex}}, "maxResults": 100}'
7896
+ - '{{#if previous_page.full_response.hasMore}}{"cursor": "{{previous_page.full_response.nextCursor}}", "limit": 100}{{/if}}'
7867
7897
  mergeBodyParamsToPagingBody:
7868
7898
  type: boolean
7869
7899
  description: |-
package/dist/flow.yml CHANGED
@@ -5795,7 +5795,23 @@ components:
5795
5795
  description: Salt used to encrypt the corresponding bearer token.
5796
5796
  hooks:
5797
5797
  type: object
5798
- description: Override hook configurations
5798
+ description: |-
5799
+ Overrides which script runs for a hook of this step on the instance. Each key is a
5800
+ hook name — one of the export's own hooks (such as `preSavePage` or `preParse`)
5801
+ or, on a lookup step, the flow step's `postResponseMap` — and its value replaces
5802
+ that hook's `function` and `_scriptId`. Keys merge with the abstract flow's hook,
5803
+ so a value that sets only `_scriptId` keeps the inherited `function`.
5804
+ x-celigo-ai-guidance:
5805
+ - |-
5806
+ Verified live 2026-11-11 on a lookup step whose flow step carried a
5807
+ `postResponseMap` hook: an instance created with
5808
+ `hooks: {postResponseMap: {function, _scriptId}}` on the step's entry (201)
5809
+ showed that script on the step in `GET /v1/flows/{_id}?mergeInstance=true`, and
5810
+ its run executed that script, while a run of a sibling instance without the
5811
+ entry executed the abstract flow's script. An entry that set `_scriptId` alone
5812
+ kept the abstract flow's `function` in the merged view, and its run executed
5813
+ the instance's script under that function name. The abstract flow's
5814
+ `overridesHelper` did not list the hook.
5799
5815
  transform:
5800
5816
  type: object
5801
5817
  description: Override transformation settings
@@ -5872,7 +5888,16 @@ components:
5872
5888
  hooks:
5873
5889
  type: object
5874
5890
  additionalProperties: true
5875
- description: Overrides the hook configurations on the abstract flow's import — custom JavaScript hooks that run at fixed points in the import lifecycle.
5891
+ description: |-
5892
+ Overrides which script runs for a hook of this step on the instance. Each key is a
5893
+ hook name — one of the import's own hooks (such as `preMap`, `postMap`, or
5894
+ `postSubmit`) or the flow step's `postResponseMap` — and its value replaces that
5895
+ hook's `function` and `_scriptId`.
5896
+ x-celigo-ai-guidance:
5897
+ - |-
5898
+ Verified live 2026-11-11: an instance updated with
5899
+ `hooks: {postResponseMap: {function, _scriptId}}` on an import step's entry (200)
5900
+ showed that script on the step in `GET /v1/flows/{_id}?mergeInstance=true`.
5876
5901
  responseTransform:
5877
5902
  type: object
5878
5903
  additionalProperties: true
@@ -5960,16 +5985,23 @@ components:
5960
5985
  OverridesHelper:
5961
5986
  type: object
5962
5987
  description: |
5963
- Metadata for abstract flows that declares which fields in the flow's connections,
5964
- exports, imports, and routers are overridable by instance flows.
5988
+ The abstract flow's customizable-properties selection: for the flow and each of its
5989
+ connections, exports, imports, and routers, the properties its instance flows are meant
5990
+ to customize. The instance form in integrator.io offers the selected properties.
5965
5991
 
5966
5992
  Only valid on abstract flows (isAbstract: true). The backend rejects this field
5967
5993
  on non-abstract flows. Each entry references a component of the abstract flow by
5968
- its ID and lists the field names that instance flows are allowed to override.
5994
+ its ID and lists the selected property names.
5995
+ x-celigo-ai-guidance:
5996
+ - |-
5997
+ The selection is not enforced on an instance's `overrides`. Verified live 2026-11-11:
5998
+ an abstract flow whose selection listed only `preSavePage` for a lookup step accepted an
5999
+ instance whose `overrides.exports[]` entry for that step set `hooks.postResponseMap`
6000
+ (201), and a run of that instance executed the instance's script.
5969
6001
  properties:
5970
6002
  fields:
5971
6003
  type: array
5972
- description: Flow-level field names that instance flows may override (e.g., "schedule", "timezone")
6004
+ description: Flow-level properties selected as customizable for instance flows (e.g., "schedule", "timezone")
5973
6005
  items:
5974
6006
  type: string
5975
6007
  examples:
@@ -5979,7 +6011,7 @@ components:
5979
6011
  connections:
5980
6012
  type: array
5981
6013
  description: |
5982
- Declares which connection-level fields are overridable per abstract flow connection.
6014
+ The properties selected as customizable for each connection of the abstract flow.
5983
6015
  items:
5984
6016
  type: object
5985
6017
  properties:
@@ -5988,13 +6020,13 @@ components:
5988
6020
  description: ID of the connection in the abstract flow
5989
6021
  fields:
5990
6022
  type: array
5991
- description: Field names on this connection that instance flows may override
6023
+ description: Properties of this connection selected as customizable for instance flows
5992
6024
  items:
5993
6025
  type: string
5994
6026
  exports:
5995
6027
  type: array
5996
6028
  description: |
5997
- Declares which export-level fields are overridable per abstract flow export.
6029
+ The properties selected as customizable for each export or lookup step of the abstract flow.
5998
6030
  items:
5999
6031
  type: object
6000
6032
  properties:
@@ -6003,13 +6035,17 @@ components:
6003
6035
  description: ID of the export in the abstract flow
6004
6036
  fields:
6005
6037
  type: array
6006
- description: Field names on this export that instance flows may override
6038
+ description: |-
6039
+ Properties of this export or lookup step selected as customizable for instance
6040
+ flows: paths into the export's own fields (such as `_connectionId` or
6041
+ `http.relativeURI`) and names of the step's processors and hooks (such as
6042
+ `transformation`, `outputFilter`, or `preSavePage`).
6007
6043
  items:
6008
6044
  type: string
6009
6045
  imports:
6010
6046
  type: array
6011
6047
  description: |
6012
- Declares which import-level fields are overridable per abstract flow import.
6048
+ The properties selected as customizable for each import step of the abstract flow.
6013
6049
  items:
6014
6050
  type: object
6015
6051
  properties:
@@ -6018,13 +6054,17 @@ components:
6018
6054
  description: ID of the import in the abstract flow
6019
6055
  fields:
6020
6056
  type: array
6021
- description: Field names on this import that instance flows may override
6057
+ description: |-
6058
+ Properties of this import step selected as customizable for instance flows:
6059
+ paths into the import's own fields (such as `_connectionId` or `http.body`) and
6060
+ names of the step's mappings, filters, and hooks (such as `importMapping`,
6061
+ `inputFilter`, `preMap`, or `postResponseMap`).
6022
6062
  items:
6023
6063
  type: string
6024
6064
  routers:
6025
6065
  type: array
6026
6066
  description: |
6027
- Declares which router-level and branch-level fields are overridable per abstract flow router.
6067
+ The router-level and branch-level properties selected as customizable for each router of the abstract flow.
6028
6068
  items:
6029
6069
  type: object
6030
6070
  properties:
@@ -6033,12 +6073,12 @@ components:
6033
6073
  description: ID of the router in the abstract flow
6034
6074
  fields:
6035
6075
  type: array
6036
- description: Field names on this router that instance flows may override
6076
+ description: Properties of this router selected as customizable for instance flows
6037
6077
  items:
6038
6078
  type: string
6039
6079
  branches:
6040
6080
  type: array
6041
- description: Per-branch override declarations
6081
+ description: The properties selected as customizable for each branch of this router
6042
6082
  items:
6043
6083
  type: object
6044
6084
  properties:
@@ -6047,7 +6087,7 @@ components:
6047
6087
  description: Index or ID of the branch in the abstract flow router
6048
6088
  fields:
6049
6089
  type: array
6050
- description: Field names on this branch that instance flows may override
6090
+ description: Properties of this branch selected as customizable for instance flows
6051
6091
  items:
6052
6092
  type: string
6053
6093
  AIDescription:
package/dist/tool.yml CHANGED
@@ -33880,6 +33880,8 @@ components:
33880
33880
  - `lastPageStatusCode` - Detect last page by HTTP status code
33881
33881
  - `lastPagePath` - JSON path to check for last page indicator (read only on a response whose status equals `lastPageStatusCode`, except on `method: body`, which reads it on every response)
33882
33882
  - `lastPageValues` - Values at lastPagePath that indicate last page
33883
+
33884
+ With `method: body` and `mergeBodyParamsToPagingBody` not set, paging also ends when the paging `body` renders empty — see `body`.
33883
33885
  - |-
33884
33886
  ## COMMON IMPLEMENTATION PATTERNS
33885
33887
 
@@ -34344,7 +34346,7 @@ components:
34344
34346
  x-celigo-agent:
34345
34347
  - handlebars
34346
34348
  - graphql
34347
- description: Overrides the main request body for second and later page requests, typically for GraphQL or SOAP APIs that paginate through the body; leave empty when the main body works for all pages. Build it with handlebars using the `previous_page` context — `previous_page.full_response`, `previous_page.last_record`, and `previous_page.headers`.
34349
+ description: Overrides the main request body for second and later page requests, typically for GraphQL or SOAP APIs that paginate through the body; leave empty when the main body works for all pages. Build it with handlebars using the `previous_page` context — `previous_page.full_response`, `previous_page.last_record`, and `previous_page.headers`. With `mergeBodyParamsToPagingBody` not set, a body that renders empty for a page sends no request and ends paging without an error.
34348
34350
  x-celigo-ai-guidance:
34349
34351
  - |-
34350
34352
  This field only needs to be set if subsequent page requests require a different
@@ -34369,10 +34371,38 @@ components:
34369
34371
  - Using the last record's ID: `{"after": "{{previous_page.last_record.id}}", "limit": 100}`
34370
34372
  - Including a page number: `{"page": {{previous_page.full_response.meta.next_page}}, "pageSize": 50}`
34371
34373
  - Leave this field empty if the main HTTP request body can be used for all page requests.
34374
+ - |-
34375
+ With `method: body` and `mergeBodyParamsToPagingBody` not set, a paging body that
34376
+ renders empty — or to whitespace only — ends paging: no request is sent for that
34377
+ page and no error is recorded. A body wrapped whole in a block that holds only
34378
+ while more pages remain therefore stops on the API's own signal:
34379
+ `{{#if previous_page.full_response.hasMore}}{"cursor": "{{previous_page.full_response.nextCursor}}", "limit": 100}{{/if}}`.
34380
+ Live-verified 2026-11-11 with virtual exports against an echo endpoint: three pages
34381
+ were read, the block rendered empty on the next, and the export returned the
34382
+ records with no further request and no error — the same with whitespace outside
34383
+ the block. An empty body together with `mergeBodyParamsToPagingBody: true` was not
34384
+ probed.
34385
+ - |-
34386
+ A block around ONE member of the body does not end paging: the body still renders,
34387
+ so the request is sent with that member empty. In the same probe a body whose
34388
+ `query` member alone sat inside the block kept requesting pages after the flag
34389
+ turned false, each sent with `"query": ""`.
34390
+ - |-
34391
+ A body wrapped in a block is not JSON at rest, so it belongs to a step edited in
34392
+ the raw HTTP form; see `http.formType` for what the GraphQL form shows for such a
34393
+ body. Under the GraphQL form keep the body the object that form reads and end
34394
+ paging with `lastPagePath` and `lastPageValues`.
34395
+ - |-
34396
+ A page with no records at the records path also ends body paging (same probe: an
34397
+ empty array there, then no further request and no error). When the records path is
34398
+ an object rather than the list — a GraphQL `data` — every response counts as one
34399
+ record, so this ending never applies: in the probe the export went on requesting
34400
+ pages past the last one.
34372
34401
  examples:
34373
34402
  - '{"query": "query($cursor: String) { items(after: $cursor) { edges { node { id name } } pageInfo { endCursor } } }", "variables": {"cursor": "{{previous_page.full_response.data.items.pageInfo.endCursor}}"}}'
34374
34403
  - '{"pageToken": "{{previous_page.full_response.nextPageToken}}"}'
34375
34404
  - '{"startIndex": {{previous_page.full_response.nextStartIndex}}, "maxResults": 100}'
34405
+ - '{{#if previous_page.full_response.hasMore}}{"cursor": "{{previous_page.full_response.nextCursor}}", "limit": 100}{{/if}}'
34376
34406
  mergeBodyParamsToPagingBody:
34377
34407
  type: boolean
34378
34408
  description: |-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.283",
3
+ "version": "0.2.285",
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": "ec9185a0",
4
+ "iasCommit": "2f2c61b6",
5
5
  "generatedAt": "2026-11-11"
6
6
  },
7
7
  "roots": {