@celigo/api-specs 0.2.284 → 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/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.284",
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": "b86d3317",
4
+ "iasCommit": "2f2c61b6",
5
5
  "generatedAt": "2026-11-11"
6
6
  },
7
7
  "roots": {