@celigo/api-specs 0.2.263 → 0.2.264

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
@@ -6123,6 +6123,7 @@ components:
6123
6123
  x-celigo-ai-guidance:
6124
6124
  - Save-time validation accepts any string for id without checking it against the provider — set it only from a folder ID the user supplied or the UI folder browser stored; never fabricate one. To address a folder by path instead, set pathMode to relativePath and put the path in the adaptor's flat path field.
6125
6125
  - '`id` and `pathMode` are validated as a pair: `pathMode: directoryId` without `id` fails with 422 `missing_required_field` ("File exports require the file.directory.id to have a value."), and `id` with any other pathMode fails with 422 `missing_required_field` ("File exports require the file.directory.pathMode to have a value.").'
6126
+ - 'On a Celigo Storage source (a Celigo APIs connection with `http.type: file`) the folder is resolved when the run or preview lists it, not at save: `pathMode: directoryId` with an `id` no folder carries fails with 422 `storage_parent_folder_not_found` "Parent folder not found in Celigo Storage. Verify the folder ID exists and the connection has access." (source `resource`); an `id` that is not a 24-character hex ObjectId fails with 422 `directory_id_invalid_format`; and with `pathMode: relativePath` a path in `http.relativeURI` that does not exist fails with 422 `storage_path_not_found` "Directory path ''<path>'' not found in Celigo Storage." Live-verified 2026-11-06 through POST /v1/connections/{_id}/export.'
6126
6127
  properties:
6127
6128
  pathMode:
6128
6129
  type: string
@@ -6141,10 +6142,13 @@ components:
6141
6142
  description: |-
6142
6143
  Provider-native folder ID of the source directory (e.g. a Google Drive folder ID); set
6143
6144
  when pathMode is directoryId. This is the file provider's own ID, not a Celigo resource ID.
6144
- For Google Cloud Storage it is the object prefix inside the bucket, ending with `/`.
6145
+ For Google Cloud Storage it is the object prefix inside the bucket, ending with `/`; for
6146
+ Celigo Storage it is the folder's storage item id, and an id no folder carries fails the
6147
+ run with `storage_parent_folder_not_found`.
6145
6148
  examples:
6146
6149
  - 1KppvTTr4jKhJqwPAhGWN6SRwk5m45DL2
6147
6150
  - inbound/orders/
6151
+ - 6aee8b26ddc1d57f005d3d66
6148
6152
  name:
6149
6153
  type: string
6150
6154
  description: |-
@@ -7182,7 +7186,7 @@ components:
7182
7186
  These fields can be used with any pagination method to detect the last page:
7183
7187
 
7184
7188
  - `lastPageStatusCode` - Detect last page by HTTP status code
7185
- - `lastPagePath` - JSON path to check for last page indicator
7189
+ - `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)
7186
7190
  - `lastPageValues` - Values at lastPagePath that indicate last page
7187
7191
  - |-
7188
7192
  ## COMMON IMPLEMENTATION PATTERNS
@@ -7756,9 +7760,15 @@ components:
7756
7760
  - response.records
7757
7761
  lastPageStatusCode:
7758
7762
  type: integer
7759
- description: 'HTTP status code that signals the last page, replacing the default behavior of treating 404 as the end of pagination. When this status is received (any code but `200` paired with `lastPagePath`), paging stops and the response is not treated as an error. Set it when the API uses a non-404 code (such as 204 or 400) to indicate no more pages, or to `200` together with `lastPagePath` when the last page is an ordinary 200 response: then the response is parsed, its records are kept, and paging stops only when `lastPagePath` matches `lastPageValues`.'
7763
+ description: 'HTTP status code that signals the last page, replacing the default behavior of treating 404 as the end of pagination. When this status is received (any code but `200` paired with `lastPagePath`), paging stops and the response is not treated as an error. Set it when the API uses a non-404 code (such as 204 or 400) to indicate no more pages, or to `200` together with `lastPagePath` when the last page is an ordinary 200 response: then the response is parsed, its records are kept, and paging stops only when `lastPagePath` matches `lastPageValues`. With `page`, `skip` and `token` paging a `lastPagePath` condition is evaluated only on a response whose status equals this field, so leaving it unset switches that condition off; `method: body` reads `lastPagePath` on every response and needs no status code.'
7760
7764
  x-celigo-ai-guidance:
7761
7765
  - Specifies a custom HTTP status code that indicates the last page of results.
7766
+ - |-
7767
+ Leave this unset only with `method: body`. On `page`, `skip` and `token` paging a
7768
+ `lastPagePath`/`lastPageValues` stop condition is never evaluated without it: a `page`
7769
+ export with `lastPagePath: json.hasMore`, `lastPageValues: ["false"]` and no status code
7770
+ ran to its `maxPagePath` cap, while the same export with `lastPageStatusCode: 200` stopped
7771
+ after page 1 (live-verified 2026-11-06; `skip` behaved the same).
7762
7772
  - |-
7763
7773
  ## FIELD BEHAVIOR
7764
7774
 
@@ -7813,7 +7823,7 @@ components:
7813
7823
  - 500
7814
7824
  lastPagePath:
7815
7825
  type: string
7816
- description: 'JSON path to a response-body field that signals the end of pagination, such as a "has more" flag or a cursor that empties on the last page. Must be used with `lastPageValues`, which lists the values at this path that stop paging. If the path does not exist in a response, the condition is not considered met. With `method: token` the path is read only on a response whose status code equals `lastPageStatusCode`, so pair it with `lastPageStatusCode: 200` for an ordinary last page; with `method: body` it is read on every response.'
7826
+ description: 'JSON path to a response-body field that signals the end of pagination, such as a "has more" flag or a cursor that empties on the last page. Must be used with `lastPageValues`, which lists the values at this path that stop paging. With `page`, `skip` and `token` paging the path is read only on a response whose status code equals `lastPageStatusCode` — without that field the condition is never evaluated — so pair it with `lastPageStatusCode: 200` for an ordinary last page; there, a response where the path is missing keeps paging. With `method: body` it is read on every response, and a response where the path is missing or null is itself treated as the last page.'
7817
7827
  x-celigo-ai-guidance:
7818
7828
  - |-
7819
7829
  ## FIELD BEHAVIOR
@@ -7864,18 +7874,24 @@ components:
7864
7874
  ```
7865
7875
 
7866
7876
  IMPORTANT: The path is evaluated using JSON path notation, on the responses the
7867
- method note below describes. If the path doesn't exist in the response, the
7868
- condition is not considered met.
7877
+ method note below describes. If the path doesn't exist in the response, a
7878
+ status-code-gated check is not met and paging continues; on `method: body` a missing
7879
+ or null value at the path ends paging.
7869
7880
  - |-
7870
- On `method: token` the path is checked only on a response whose status code equals
7871
- `lastPageStatusCode`. For an API whose last page is an ordinary 200 (a GraphQL
7881
+ On `page`, `skip` and `token` paging the path is checked only on a response whose
7882
+ status code equals `lastPageStatusCode`; with no status code set the stop condition
7883
+ is never evaluated and paging runs on to `maxPagePath` / `maxCountPath`, an empty
7884
+ page or an exhausted token. For an API whose last page is an ordinary 200 (a GraphQL
7872
7885
  `pageInfo.hasNextPage: false`), set `lastPageStatusCode: 200` with it; without that,
7873
- paging goes on while the token at `path` is non-empty, so a last page that still
7874
- carries a cursor costs one more request. On `method: body` the path is read on
7875
- every response, with no status code needed. Live-verified 2026-10-22 against an echo
7876
- endpoint for `token` (two requests without `lastPageStatusCode`, one with 200) and
7877
- `body` (stopped on the second response); `page`, `skip` and `url` paging were not
7878
- verified.
7886
+ token paging goes on while the token at `path` is non-empty, so a last page that
7887
+ still carries a cursor costs one more request. On `method: body` the path is read on
7888
+ every response, with no status code needed, and a missing or null value at the path
7889
+ ends paging. Live-verified 2026-10-22 against an echo endpoint for `token` (two
7890
+ requests without `lastPageStatusCode`, one with 200) and `body` (stopped on the
7891
+ second response), and 2026-11-06 for `page` and `skip` (ran to the page cap without
7892
+ `lastPageStatusCode`, stopped on page 1 with `200`) and for `body` without a status
7893
+ code (stopped on page 1 on a match, on a missing path and on a null value); `url`
7894
+ paging was not verified.
7879
7895
  examples:
7880
7896
  - meta.isLastPage
7881
7897
  - pagination.hasMore
@@ -7883,7 +7899,7 @@ components:
7883
7899
  - error.message
7884
7900
  lastPageValues:
7885
7901
  type: array
7886
- description: Values at `lastPagePath` that stop pagination; a match on any entry ends paging. All entries are compared as exact, case-sensitive strings, even for boolean or numeric fields — use `"true"`, `"false"`, `"null"` for JSON null, or `""` for an empty string. Required when `lastPagePath` is set.
7902
+ description: 'Values at `lastPagePath` that stop pagination; a match on any entry ends paging. Entries are matched loosely against the value at the path: letter case and surrounding whitespace are ignored, a JSON boolean matches `"true"` / `"false"`, a number matches its decimal string (`"0"`), and an empty string matches `""`. A JSON null matches nothing, not even `"null"` — on `method: body` a null or missing field is itself the last-page signal, while under a status-code check it keeps paging. Required when `lastPagePath` is set.'
7887
7903
  x-celigo-ai-guidance:
7888
7904
  - Specifies which value(s) at the lastPagePath indicate the end of pagination.
7889
7905
  - |-
@@ -7891,7 +7907,8 @@ components:
7891
7907
 
7892
7908
  - REQUIRED when lastPagePath is used
7893
7909
  - Array of string values (even for boolean or numeric comparisons)
7894
- - Case-sensitive matching against the value at lastPagePath
7910
+ - Matching ignores letter case and surrounding whitespace; a JSON boolean or number
7911
+ matches its string form
7895
7912
  - Multiple values create an OR condition (any match indicates last page)
7896
7913
  - |-
7897
7914
  ## IMPLEMENTATION GUIDANCE
@@ -7914,10 +7931,12 @@ components:
7914
7931
  "lastPageValues": ["false", "0"]
7915
7932
  ```
7916
7933
 
7917
- 3. For empty cursors (null/empty string means last page)
7934
+ 3. For cursors that empty on the last page (an empty string matches `""`; a
7935
+ cursor that turns JSON null ends `method: body` paging by itself and never
7936
+ matches under a status-code check)
7918
7937
  ```json
7919
7938
  "lastPagePath": "meta.nextCursor",
7920
- "lastPageValues": ["null", ""]
7939
+ "lastPageValues": [""]
7921
7940
  ```
7922
7941
 
7923
7942
  4. For specific error messages
@@ -7929,21 +7948,28 @@ components:
7929
7948
  ## TECHNICAL DETAILS
7930
7949
 
7931
7950
  - All values must be specified as strings, even for boolean or numeric comparisons
7932
- - JSON null should be represented as the string "null"
7951
+ - A JSON boolean matches "true" / "false" and a number matches its decimal string;
7952
+ letter case and surrounding whitespace are ignored (live-verified 2026-11-06 on
7953
+ `page` paging with `lastPageStatusCode: 200` and on `body` paging without one:
7954
+ `false`, `"FALSE"` and `" false "` each stopped against `["false"]`, `0` against
7955
+ `["0"]`, `""` against `[""]`)
7933
7956
  - Empty string is represented as ""
7934
- - The comparison is exact and case-sensitive
7935
-
7936
- IMPORTANT: This field is only considered when the lastPagePath exists in the
7937
- response. Both lastPagePath and lastPageValues must be configured correctly
7938
- for proper pagination termination.
7957
+ - JSON null matches no entry, not even "null": on `method: body` a null or missing
7958
+ value ends paging on its own; under a status-code check it keeps paging (a `page`
7959
+ export with `lastPageStatusCode: 200`, `hasMore: null` and `["null"]` ran to its
7960
+ page cap)
7961
+
7962
+ IMPORTANT: Under a status-code check this field is only consulted when the
7963
+ lastPagePath exists in the response; on method: body a missing path ends paging
7964
+ before the values are consulted. Both lastPagePath and lastPageValues must be
7965
+ configured correctly for proper pagination termination.
7939
7966
  items:
7940
7967
  type: string
7941
7968
  examples:
7942
7969
  - - 'true'
7943
7970
  - - 'false'
7944
7971
  - '0'
7945
- - - 'null'
7946
- - ''
7972
+ - - ''
7947
7973
  - - No more pages
7948
7974
  - End of results
7949
7975
  maxPagePath:
@@ -904,6 +904,7 @@ paths:
904
904
  - mimeType
905
905
  - type
906
906
  - status
907
+ - lastModified
907
908
  - _parentId
908
909
  - __ancestorIds
909
910
  - path
@@ -914,6 +915,7 @@ paths:
914
915
  mimeType: File MIME type.
915
916
  type: Item type (`file` or `folder`).
916
917
  status: Item lifecycle status.
918
+ lastModified: Timestamp of the item's most recent metadata change.
917
919
  _parentId: Parent folder id.
918
920
  __ancestorIds: Ancestor folder id chain from the root.
919
921
  path: Breadcrumb path built from ancestor folder names, e.g. `/invoices/2026/inv-001.pdf`.
@@ -967,6 +969,15 @@ paths:
967
969
  size:
968
970
  type: integer
969
971
  description: File size in bytes. Present when requested via `fields`.
972
+ lastModified:
973
+ type: string
974
+ format: date-time
975
+ description: |-
976
+ Timestamp of the file's most recent metadata change,
977
+ as on the storage item. Present when requested via
978
+ `fields`.
979
+ examples:
980
+ - '2026-03-28T14:30:00.000Z'
970
981
  path:
971
982
  type: string
972
983
  description: |-
@@ -2339,6 +2350,7 @@ paths:
2339
2350
  - sso
2340
2351
  - fileserver
2341
2352
  - system
2353
+ - knowledge-fabric
2342
2354
  x-enumDescriptions:
2343
2355
  ui: Celigo UI
2344
2356
  api: REST API
@@ -2351,6 +2363,7 @@ paths:
2351
2363
  sso: Single sign-on sessions
2352
2364
  fileserver: SFTP through the Celigo file server
2353
2365
  system: Automated platform processes
2366
+ knowledge-fabric: Knowledge Fabric; its file reads are not logged, so this value matches no entries
2354
2367
  examples:
2355
2368
  - - ui
2356
2369
  - api
@@ -3960,6 +3973,7 @@ components:
3960
3973
  - sso
3961
3974
  - fileserver
3962
3975
  - system
3976
+ - knowledge-fabric
3963
3977
  x-enumDescriptions:
3964
3978
  ui: Celigo UI
3965
3979
  api: REST API
@@ -3972,6 +3986,7 @@ components:
3972
3986
  sso: Single sign-on sessions
3973
3987
  fileserver: SFTP through the Celigo file server
3974
3988
  system: Automated platform processes
3989
+ knowledge-fabric: Knowledge Fabric; its file reads are not logged, so this value matches no entries
3975
3990
  examples:
3976
3991
  - - ui
3977
3992
  - api
package/dist/import.yml CHANGED
@@ -5814,7 +5814,7 @@ components:
5814
5814
  per_page: Execute one SQL statement per page (batch) of records.
5815
5815
  first_page: Execute the SQL statement once for the first page only, typically for setup or cleanup scripts.
5816
5816
  bulk_load: Stage data as a file and load via database-native COPY/bulk mechanism for maximum throughput.
5817
- x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Google BigQuery, Microsoft SQL Server (cloud connections only), Azure Synapse and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database (Redshift only once its updated import form has reached the account as well) — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
5817
+ x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Azure Synapse always, with the option disabled (and bulk_insert the default) while the connection routes through an on-premise agent (_agentId), its mssql.authType is not azure-service-principal, or its azuresynapse.staging lacks adlsGen2.storageAccount, adlsGen2.container or folder (imports/rdbms/azuresynapse.js getSynapseBulkLoadGap, no flag); Google BigQuery, Microsoft SQL Server (cloud connections only) and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database (Redshift only once its updated import form has reached the account as well) — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
5818
5818
  description: |-
5819
5819
  Execution strategy for the SQL operation, which determines the required companion field: per_record, per_page, and first_page require `query`; bulk_insert requires `bulkInsert`; bulk_load requires `bulkLoad`.
5820
5820
  Prefer the highest-performance type the operation supports: bulk_load (Snowflake, Google BigQuery, Microsoft SQL Server on a cloud connection, Azure Synapse and Amazon Redshift — handles INSERT, upsert via `bulkLoad.primaryKeys`, and custom merge or ignore-existing logic via `bulkLoad.overrideMergeQuery`), then bulk_insert for pure INSERTs, then per_page, then per_record only when the logic cannot be expressed as a batch operation.
@@ -5842,7 +5842,8 @@ components:
5842
5842
  - No `primaryKeys` for pure INSERT (auto-generates INSERT)
5843
5843
  - No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
5844
5844
  - **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
5845
- - The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server, Synapse; Snowflake always shows it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
5845
+ - **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API saves a Synapse bulk_load import on any of those connections (201 on each, live-verified 2026-11-06), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
5846
+ - The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server; Snowflake and Azure Synapse always show it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
5846
5847
 
5847
5848
  **STEP 2: Database does NOT support bulk_load**
5848
5849
  - **Pure INSERT**: → **USE `["bulk_insert"]`** (requires `bulkInsert` object)
@@ -6109,7 +6110,7 @@ components:
6109
6110
  - 'The statement runs after the files are loaded into the staging table: read from `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) and write to `{{tableName}}`; the form warns when the staging-table placeholder is missing. Use it for ignore-existing, conditional updates or multi-table work the generated MERGE cannot express — for example `INSERT INTO {{tableName}} (id, total) SELECT id, total FROM {{preMergeTemporaryTable}}`.'
6110
6111
  aggregation:
6111
6112
  type: object
6112
- description: How the staged files are cut and handed to the database. The import form writes it for a new bulk-load import when the account's `enableSizeBasedAggregation` flag is on for that database (Snowflake included — its form offers bulk_load without the flag but writes `aggregation` only with it); the server fills `type` and `maxFileSizeInMB` when they are omitted, so `loadDataAsAvailable` is the only value to author.
6113
+ description: 'How the staged files are cut and handed to the database. The import form writes it for a new bulk-load import when the account''s `enableSizeBasedAggregation` flag is on for that database (Snowflake included — its form offers bulk_load without the flag but writes `aggregation` only with it; the Azure Synapse form writes `loadDataAsAvailable: false` for every new bulk-load import, no flag involved); the server fills `type` and `maxFileSizeInMB` when they are omitted, so `loadDataAsAvailable` is the only value to author.'
6113
6114
  properties:
6114
6115
  type:
6115
6116
  type: string
@@ -9126,6 +9127,7 @@ components:
9126
9127
  properties:
9127
9128
  fileName:
9128
9129
  type: string
9130
+ x-celigo-ui-override: 'Required by the import form (the shared file.fileName field is required: true), which seeds a new import with file-{{timestamp "x"}}.<ext> the first time the field appears with no value — the extension follows the file type (csv, json, xlsx, xml; edi for a file definition). The API neither requires nor defaults it: a save without fileName is accepted and stores none, and the run then names the file with a hyphenated UTC stamp and no extension (2026-11-07T02-26-06 on a Celigo Storage import). Encoded to mirror the form so builders produce complete configurations.'
9129
9131
  description: |-
9130
9132
  **REQUIRED for file-based imports.**
9131
9133
 
@@ -9135,16 +9137,17 @@ components:
9135
9137
  (`{{record.fileMeta.fileName}}` from an FTP source, `fileMeta.name` from Google Drive).
9136
9138
 
9137
9139
  **Default behavior**
9138
- - When the user does not specify a file naming convention, **always default to timestamped filenames** using `{{timestamp}}` (e.g., `"items-{{timestamp}}.csv"`). This ensures each run produces a unique file and avoids overwriting previous exports.
9140
+ - When the user does not specify a file naming convention, **always default to timestamped filenames** using `{{timestamp "x"}}` — epoch milliseconds, the import form's own default for a new import (e.g., `"items-{{timestamp "x"}}.csv"`). This ensures each run produces a unique file and avoids overwriting previous exports. The bare `{{timestamp}}` renders an ISO stamp whose colons Celigo Storage refuses.
9139
9141
  - Only use a fixed filename (without timestamp) if the user explicitly requests overwriting or a fixed name.
9142
+ - The save does not validate the name; a character the destination refuses fails the record when the file is written — on Celigo Storage with `STORAGE_INVALID_NAME` "File name contains invalid characters".
9140
9143
 
9141
9144
  **Common patterns**
9142
- - `"data-{{timestamp}}.json"` - Timestamped JSON file (DEFAULT — use this pattern when not specified)
9145
+ - `"data-{{timestamp "x"}}.json"` - Timestamped JSON file (DEFAULT — use this pattern when not specified)
9143
9146
  - `"export-{{timestamp 'YYYY-MM-DD'}}.csv"` - Date-stamped CSV file
9144
9147
  - `"{{recordType}}-backup.xml"` - Dynamic record type naming
9145
9148
 
9146
9149
  **Examples**
9147
- - `"customers-{{timestamp}}.json"`
9150
+ - `"customers-{{timestamp "x"}}.json"`
9148
9151
  - `"orders-export.csv"`
9149
9152
  - `"inventory-{{timestamp 'YYYY-MM-DD'}}.xlsx"`
9150
9153
 
@@ -9164,8 +9167,18 @@ components:
9164
9167
  record on a `blob: true` import, the page's record array otherwise — so `record.`
9165
9168
  previews empty there; judge by a run. The metadata field names are the exporting
9166
9169
  provider's — read them off the incoming sample record.
9170
+ - |-
9171
+ The save does not validate the rendered name — a literal `a:b.json` and a bare
9172
+ `{{timestamp}}` both save 201 — so an unsupported character surfaces only when the file
9173
+ is written. On Celigo Storage the record fails with `STORAGE_INVALID_NAME` "File name
9174
+ contains invalid characters" (source `connector`), which a colon triggers; the bare
9175
+ `{{timestamp}}` renders an ISO stamp with colons, while `{{timestamp "x"}}` (the import
9176
+ form's default, epoch milliseconds) writes. A file-generation import saved with no
9177
+ `fileName` still writes, naming the file with a hyphenated UTC stamp and no extension
9178
+ (`2026-11-07T02-26-06`), so always set one. Live-verified 2026-11-06 with flow runs on
9179
+ a Celigo Storage import.
9167
9180
  examples:
9168
- - customers-{{timestamp}}.json
9181
+ - customers-{{timestamp "x"}}.json
9169
9182
  - orders-export.csv
9170
9183
  skipAggregation:
9171
9184
  type: boolean
@@ -9676,6 +9689,7 @@ components:
9676
9689
  file path in `http.relativeURI`.
9677
9690
  x-celigo-ai-guidance:
9678
9691
  - Save-time validation accepts any string for id without checking it against the provider — set it only from a folder ID the user supplied or the UI folder browser stored; never fabricate one. To address a folder by path instead, set pathMode to relativePath and put the path in the adaptor's flat path field.
9692
+ - 'On a Celigo Storage destination (a Celigo APIs connection with `http.type: file`) the folder is resolved when the file is written, not at save: `pathMode: directoryId` with an `id` no folder carries saves 201 and the run''s records then fail with `storage_parent_folder_not_found` "Parent folder not found in Celigo Storage. Verify the folder ID exists and the connection has access." (source `resource`), whereas `pathMode: relativePath` creates a path in `http.relativeURI` that does not exist yet and writes into it. Live-verified 2026-11-06 with flow runs.'
9679
9693
  properties:
9680
9694
  pathMode:
9681
9695
  type: string
@@ -9694,8 +9708,11 @@ components:
9694
9708
  description: |-
9695
9709
  Provider-native folder ID of the destination directory (e.g. a Google Drive folder ID);
9696
9710
  set when pathMode is directoryId. This is the file provider's own ID, not a Celigo resource ID.
9711
+ For Celigo Storage it is the folder's storage item id, and an id no folder carries fails
9712
+ the run with `storage_parent_folder_not_found`.
9697
9713
  examples:
9698
9714
  - 1KppvTTr4jKhJqwPAhGWN6SRwk5m45DL2
9715
+ - 6aee8b26ddc1d57f005d3d66
9699
9716
  name:
9700
9717
  type: string
9701
9718
  description: |-
package/dist/tool.yml CHANGED
@@ -17928,7 +17928,7 @@ components:
17928
17928
  per_page: Execute one SQL statement per page (batch) of records.
17929
17929
  first_page: Execute the SQL statement once for the first page only, typically for setup or cleanup scripts.
17930
17930
  bulk_load: Stage data as a file and load via database-native COPY/bulk mechanism for maximum throughput.
17931
- x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Google BigQuery, Microsoft SQL Server (cloud connections only), Azure Synapse and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database (Redshift only once its updated import form has reached the account as well) — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
17931
+ x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Azure Synapse always, with the option disabled (and bulk_insert the default) while the connection routes through an on-premise agent (_agentId), its mssql.authType is not azure-service-principal, or its azuresynapse.staging lacks adlsGen2.storageAccount, adlsGen2.container or folder (imports/rdbms/azuresynapse.js getSynapseBulkLoadGap, no flag); Google BigQuery, Microsoft SQL Server (cloud connections only) and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database (Redshift only once its updated import form has reached the account as well) — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
17932
17932
  description: |-
17933
17933
  Execution strategy for the SQL operation, which determines the required companion field: per_record, per_page, and first_page require `query`; bulk_insert requires `bulkInsert`; bulk_load requires `bulkLoad`.
17934
17934
  Prefer the highest-performance type the operation supports: bulk_load (Snowflake, Google BigQuery, Microsoft SQL Server on a cloud connection, Azure Synapse and Amazon Redshift — handles INSERT, upsert via `bulkLoad.primaryKeys`, and custom merge or ignore-existing logic via `bulkLoad.overrideMergeQuery`), then bulk_insert for pure INSERTs, then per_page, then per_record only when the logic cannot be expressed as a batch operation.
@@ -17956,7 +17956,8 @@ components:
17956
17956
  - No `primaryKeys` for pure INSERT (auto-generates INSERT)
17957
17957
  - No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
17958
17958
  - **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
17959
- - The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server, Synapse; Snowflake always shows it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
17959
+ - **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API saves a Synapse bulk_load import on any of those connections (201 on each, live-verified 2026-11-06), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
17960
+ - The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server; Snowflake and Azure Synapse always show it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
17960
17961
 
17961
17962
  **STEP 2: Database does NOT support bulk_load**
17962
17963
  - **Pure INSERT**: → **USE `["bulk_insert"]`** (requires `bulkInsert` object)
@@ -18223,7 +18224,7 @@ components:
18223
18224
  - 'The statement runs after the files are loaded into the staging table: read from `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) and write to `{{tableName}}`; the form warns when the staging-table placeholder is missing. Use it for ignore-existing, conditional updates or multi-table work the generated MERGE cannot express — for example `INSERT INTO {{tableName}} (id, total) SELECT id, total FROM {{preMergeTemporaryTable}}`.'
18224
18225
  aggregation:
18225
18226
  type: object
18226
- description: How the staged files are cut and handed to the database. The import form writes it for a new bulk-load import when the account's `enableSizeBasedAggregation` flag is on for that database (Snowflake included — its form offers bulk_load without the flag but writes `aggregation` only with it); the server fills `type` and `maxFileSizeInMB` when they are omitted, so `loadDataAsAvailable` is the only value to author.
18227
+ description: 'How the staged files are cut and handed to the database. The import form writes it for a new bulk-load import when the account''s `enableSizeBasedAggregation` flag is on for that database (Snowflake included — its form offers bulk_load without the flag but writes `aggregation` only with it; the Azure Synapse form writes `loadDataAsAvailable: false` for every new bulk-load import, no flag involved); the server fills `type` and `maxFileSizeInMB` when they are omitted, so `loadDataAsAvailable` is the only value to author.'
18227
18228
  properties:
18228
18229
  type:
18229
18230
  type: string
@@ -21240,6 +21241,7 @@ components:
21240
21241
  properties:
21241
21242
  fileName:
21242
21243
  type: string
21244
+ x-celigo-ui-override: 'Required by the import form (the shared file.fileName field is required: true), which seeds a new import with file-{{timestamp "x"}}.<ext> the first time the field appears with no value — the extension follows the file type (csv, json, xlsx, xml; edi for a file definition). The API neither requires nor defaults it: a save without fileName is accepted and stores none, and the run then names the file with a hyphenated UTC stamp and no extension (2026-11-07T02-26-06 on a Celigo Storage import). Encoded to mirror the form so builders produce complete configurations.'
21243
21245
  description: |-
21244
21246
  **REQUIRED for file-based imports.**
21245
21247
 
@@ -21249,16 +21251,17 @@ components:
21249
21251
  (`{{record.fileMeta.fileName}}` from an FTP source, `fileMeta.name` from Google Drive).
21250
21252
 
21251
21253
  **Default behavior**
21252
- - When the user does not specify a file naming convention, **always default to timestamped filenames** using `{{timestamp}}` (e.g., `"items-{{timestamp}}.csv"`). This ensures each run produces a unique file and avoids overwriting previous exports.
21254
+ - When the user does not specify a file naming convention, **always default to timestamped filenames** using `{{timestamp "x"}}` — epoch milliseconds, the import form's own default for a new import (e.g., `"items-{{timestamp "x"}}.csv"`). This ensures each run produces a unique file and avoids overwriting previous exports. The bare `{{timestamp}}` renders an ISO stamp whose colons Celigo Storage refuses.
21253
21255
  - Only use a fixed filename (without timestamp) if the user explicitly requests overwriting or a fixed name.
21256
+ - The save does not validate the name; a character the destination refuses fails the record when the file is written — on Celigo Storage with `STORAGE_INVALID_NAME` "File name contains invalid characters".
21254
21257
 
21255
21258
  **Common patterns**
21256
- - `"data-{{timestamp}}.json"` - Timestamped JSON file (DEFAULT — use this pattern when not specified)
21259
+ - `"data-{{timestamp "x"}}.json"` - Timestamped JSON file (DEFAULT — use this pattern when not specified)
21257
21260
  - `"export-{{timestamp 'YYYY-MM-DD'}}.csv"` - Date-stamped CSV file
21258
21261
  - `"{{recordType}}-backup.xml"` - Dynamic record type naming
21259
21262
 
21260
21263
  **Examples**
21261
- - `"customers-{{timestamp}}.json"`
21264
+ - `"customers-{{timestamp "x"}}.json"`
21262
21265
  - `"orders-export.csv"`
21263
21266
  - `"inventory-{{timestamp 'YYYY-MM-DD'}}.xlsx"`
21264
21267
 
@@ -21278,8 +21281,18 @@ components:
21278
21281
  record on a `blob: true` import, the page's record array otherwise — so `record.`
21279
21282
  previews empty there; judge by a run. The metadata field names are the exporting
21280
21283
  provider's — read them off the incoming sample record.
21281
- examples:
21282
- - customers-{{timestamp}}.json
21284
+ - |-
21285
+ The save does not validate the rendered name — a literal `a:b.json` and a bare
21286
+ `{{timestamp}}` both save 201 — so an unsupported character surfaces only when the file
21287
+ is written. On Celigo Storage the record fails with `STORAGE_INVALID_NAME` "File name
21288
+ contains invalid characters" (source `connector`), which a colon triggers; the bare
21289
+ `{{timestamp}}` renders an ISO stamp with colons, while `{{timestamp "x"}}` (the import
21290
+ form's default, epoch milliseconds) writes. A file-generation import saved with no
21291
+ `fileName` still writes, naming the file with a hyphenated UTC stamp and no extension
21292
+ (`2026-11-07T02-26-06`), so always set one. Live-verified 2026-11-06 with flow runs on
21293
+ a Celigo Storage import.
21294
+ examples:
21295
+ - customers-{{timestamp "x"}}.json
21283
21296
  - orders-export.csv
21284
21297
  skipAggregation:
21285
21298
  type: boolean
@@ -21790,6 +21803,7 @@ components:
21790
21803
  file path in `http.relativeURI`.
21791
21804
  x-celigo-ai-guidance:
21792
21805
  - Save-time validation accepts any string for id without checking it against the provider — set it only from a folder ID the user supplied or the UI folder browser stored; never fabricate one. To address a folder by path instead, set pathMode to relativePath and put the path in the adaptor's flat path field.
21806
+ - 'On a Celigo Storage destination (a Celigo APIs connection with `http.type: file`) the folder is resolved when the file is written, not at save: `pathMode: directoryId` with an `id` no folder carries saves 201 and the run''s records then fail with `storage_parent_folder_not_found` "Parent folder not found in Celigo Storage. Verify the folder ID exists and the connection has access." (source `resource`), whereas `pathMode: relativePath` creates a path in `http.relativeURI` that does not exist yet and writes into it. Live-verified 2026-11-06 with flow runs.'
21793
21807
  properties:
21794
21808
  pathMode:
21795
21809
  type: string
@@ -21808,8 +21822,11 @@ components:
21808
21822
  description: |-
21809
21823
  Provider-native folder ID of the destination directory (e.g. a Google Drive folder ID);
21810
21824
  set when pathMode is directoryId. This is the file provider's own ID, not a Celigo resource ID.
21825
+ For Celigo Storage it is the folder's storage item id, and an id no folder carries fails
21826
+ the run with `storage_parent_folder_not_found`.
21811
21827
  examples:
21812
21828
  - 1KppvTTr4jKhJqwPAhGWN6SRwk5m45DL2
21829
+ - 6aee8b26ddc1d57f005d3d66
21813
21830
  name:
21814
21831
  type: string
21815
21832
  description: |-
@@ -32350,6 +32367,7 @@ components:
32350
32367
  x-celigo-ai-guidance:
32351
32368
  - Save-time validation accepts any string for id without checking it against the provider — set it only from a folder ID the user supplied or the UI folder browser stored; never fabricate one. To address a folder by path instead, set pathMode to relativePath and put the path in the adaptor's flat path field.
32352
32369
  - '`id` and `pathMode` are validated as a pair: `pathMode: directoryId` without `id` fails with 422 `missing_required_field` ("File exports require the file.directory.id to have a value."), and `id` with any other pathMode fails with 422 `missing_required_field` ("File exports require the file.directory.pathMode to have a value.").'
32370
+ - 'On a Celigo Storage source (a Celigo APIs connection with `http.type: file`) the folder is resolved when the run or preview lists it, not at save: `pathMode: directoryId` with an `id` no folder carries fails with 422 `storage_parent_folder_not_found` "Parent folder not found in Celigo Storage. Verify the folder ID exists and the connection has access." (source `resource`); an `id` that is not a 24-character hex ObjectId fails with 422 `directory_id_invalid_format`; and with `pathMode: relativePath` a path in `http.relativeURI` that does not exist fails with 422 `storage_path_not_found` "Directory path ''<path>'' not found in Celigo Storage." Live-verified 2026-11-06 through POST /v1/connections/{_id}/export.'
32353
32371
  properties:
32354
32372
  pathMode:
32355
32373
  type: string
@@ -32368,10 +32386,13 @@ components:
32368
32386
  description: |-
32369
32387
  Provider-native folder ID of the source directory (e.g. a Google Drive folder ID); set
32370
32388
  when pathMode is directoryId. This is the file provider's own ID, not a Celigo resource ID.
32371
- For Google Cloud Storage it is the object prefix inside the bucket, ending with `/`.
32389
+ For Google Cloud Storage it is the object prefix inside the bucket, ending with `/`; for
32390
+ Celigo Storage it is the folder's storage item id, and an id no folder carries fails the
32391
+ run with `storage_parent_folder_not_found`.
32372
32392
  examples:
32373
32393
  - 1KppvTTr4jKhJqwPAhGWN6SRwk5m45DL2
32374
32394
  - inbound/orders/
32395
+ - 6aee8b26ddc1d57f005d3d66
32375
32396
  name:
32376
32397
  type: string
32377
32398
  description: |-
@@ -33409,7 +33430,7 @@ components:
33409
33430
  These fields can be used with any pagination method to detect the last page:
33410
33431
 
33411
33432
  - `lastPageStatusCode` - Detect last page by HTTP status code
33412
- - `lastPagePath` - JSON path to check for last page indicator
33433
+ - `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)
33413
33434
  - `lastPageValues` - Values at lastPagePath that indicate last page
33414
33435
  - |-
33415
33436
  ## COMMON IMPLEMENTATION PATTERNS
@@ -33983,9 +34004,15 @@ components:
33983
34004
  - response.records
33984
34005
  lastPageStatusCode:
33985
34006
  type: integer
33986
- description: 'HTTP status code that signals the last page, replacing the default behavior of treating 404 as the end of pagination. When this status is received (any code but `200` paired with `lastPagePath`), paging stops and the response is not treated as an error. Set it when the API uses a non-404 code (such as 204 or 400) to indicate no more pages, or to `200` together with `lastPagePath` when the last page is an ordinary 200 response: then the response is parsed, its records are kept, and paging stops only when `lastPagePath` matches `lastPageValues`.'
34007
+ description: 'HTTP status code that signals the last page, replacing the default behavior of treating 404 as the end of pagination. When this status is received (any code but `200` paired with `lastPagePath`), paging stops and the response is not treated as an error. Set it when the API uses a non-404 code (such as 204 or 400) to indicate no more pages, or to `200` together with `lastPagePath` when the last page is an ordinary 200 response: then the response is parsed, its records are kept, and paging stops only when `lastPagePath` matches `lastPageValues`. With `page`, `skip` and `token` paging a `lastPagePath` condition is evaluated only on a response whose status equals this field, so leaving it unset switches that condition off; `method: body` reads `lastPagePath` on every response and needs no status code.'
33987
34008
  x-celigo-ai-guidance:
33988
34009
  - Specifies a custom HTTP status code that indicates the last page of results.
34010
+ - |-
34011
+ Leave this unset only with `method: body`. On `page`, `skip` and `token` paging a
34012
+ `lastPagePath`/`lastPageValues` stop condition is never evaluated without it: a `page`
34013
+ export with `lastPagePath: json.hasMore`, `lastPageValues: ["false"]` and no status code
34014
+ ran to its `maxPagePath` cap, while the same export with `lastPageStatusCode: 200` stopped
34015
+ after page 1 (live-verified 2026-11-06; `skip` behaved the same).
33989
34016
  - |-
33990
34017
  ## FIELD BEHAVIOR
33991
34018
 
@@ -34040,7 +34067,7 @@ components:
34040
34067
  - 500
34041
34068
  lastPagePath:
34042
34069
  type: string
34043
- description: 'JSON path to a response-body field that signals the end of pagination, such as a "has more" flag or a cursor that empties on the last page. Must be used with `lastPageValues`, which lists the values at this path that stop paging. If the path does not exist in a response, the condition is not considered met. With `method: token` the path is read only on a response whose status code equals `lastPageStatusCode`, so pair it with `lastPageStatusCode: 200` for an ordinary last page; with `method: body` it is read on every response.'
34070
+ description: 'JSON path to a response-body field that signals the end of pagination, such as a "has more" flag or a cursor that empties on the last page. Must be used with `lastPageValues`, which lists the values at this path that stop paging. With `page`, `skip` and `token` paging the path is read only on a response whose status code equals `lastPageStatusCode` — without that field the condition is never evaluated — so pair it with `lastPageStatusCode: 200` for an ordinary last page; there, a response where the path is missing keeps paging. With `method: body` it is read on every response, and a response where the path is missing or null is itself treated as the last page.'
34044
34071
  x-celigo-ai-guidance:
34045
34072
  - |-
34046
34073
  ## FIELD BEHAVIOR
@@ -34091,18 +34118,24 @@ components:
34091
34118
  ```
34092
34119
 
34093
34120
  IMPORTANT: The path is evaluated using JSON path notation, on the responses the
34094
- method note below describes. If the path doesn't exist in the response, the
34095
- condition is not considered met.
34096
- - |-
34097
- On `method: token` the path is checked only on a response whose status code equals
34098
- `lastPageStatusCode`. For an API whose last page is an ordinary 200 (a GraphQL
34121
+ method note below describes. If the path doesn't exist in the response, a
34122
+ status-code-gated check is not met and paging continues; on `method: body` a missing
34123
+ or null value at the path ends paging.
34124
+ - |-
34125
+ On `page`, `skip` and `token` paging the path is checked only on a response whose
34126
+ status code equals `lastPageStatusCode`; with no status code set the stop condition
34127
+ is never evaluated and paging runs on to `maxPagePath` / `maxCountPath`, an empty
34128
+ page or an exhausted token. For an API whose last page is an ordinary 200 (a GraphQL
34099
34129
  `pageInfo.hasNextPage: false`), set `lastPageStatusCode: 200` with it; without that,
34100
- paging goes on while the token at `path` is non-empty, so a last page that still
34101
- carries a cursor costs one more request. On `method: body` the path is read on
34102
- every response, with no status code needed. Live-verified 2026-10-22 against an echo
34103
- endpoint for `token` (two requests without `lastPageStatusCode`, one with 200) and
34104
- `body` (stopped on the second response); `page`, `skip` and `url` paging were not
34105
- verified.
34130
+ token paging goes on while the token at `path` is non-empty, so a last page that
34131
+ still carries a cursor costs one more request. On `method: body` the path is read on
34132
+ every response, with no status code needed, and a missing or null value at the path
34133
+ ends paging. Live-verified 2026-10-22 against an echo endpoint for `token` (two
34134
+ requests without `lastPageStatusCode`, one with 200) and `body` (stopped on the
34135
+ second response), and 2026-11-06 for `page` and `skip` (ran to the page cap without
34136
+ `lastPageStatusCode`, stopped on page 1 with `200`) and for `body` without a status
34137
+ code (stopped on page 1 on a match, on a missing path and on a null value); `url`
34138
+ paging was not verified.
34106
34139
  examples:
34107
34140
  - meta.isLastPage
34108
34141
  - pagination.hasMore
@@ -34110,7 +34143,7 @@ components:
34110
34143
  - error.message
34111
34144
  lastPageValues:
34112
34145
  type: array
34113
- description: Values at `lastPagePath` that stop pagination; a match on any entry ends paging. All entries are compared as exact, case-sensitive strings, even for boolean or numeric fields — use `"true"`, `"false"`, `"null"` for JSON null, or `""` for an empty string. Required when `lastPagePath` is set.
34146
+ description: 'Values at `lastPagePath` that stop pagination; a match on any entry ends paging. Entries are matched loosely against the value at the path: letter case and surrounding whitespace are ignored, a JSON boolean matches `"true"` / `"false"`, a number matches its decimal string (`"0"`), and an empty string matches `""`. A JSON null matches nothing, not even `"null"` — on `method: body` a null or missing field is itself the last-page signal, while under a status-code check it keeps paging. Required when `lastPagePath` is set.'
34114
34147
  x-celigo-ai-guidance:
34115
34148
  - Specifies which value(s) at the lastPagePath indicate the end of pagination.
34116
34149
  - |-
@@ -34118,7 +34151,8 @@ components:
34118
34151
 
34119
34152
  - REQUIRED when lastPagePath is used
34120
34153
  - Array of string values (even for boolean or numeric comparisons)
34121
- - Case-sensitive matching against the value at lastPagePath
34154
+ - Matching ignores letter case and surrounding whitespace; a JSON boolean or number
34155
+ matches its string form
34122
34156
  - Multiple values create an OR condition (any match indicates last page)
34123
34157
  - |-
34124
34158
  ## IMPLEMENTATION GUIDANCE
@@ -34141,10 +34175,12 @@ components:
34141
34175
  "lastPageValues": ["false", "0"]
34142
34176
  ```
34143
34177
 
34144
- 3. For empty cursors (null/empty string means last page)
34178
+ 3. For cursors that empty on the last page (an empty string matches `""`; a
34179
+ cursor that turns JSON null ends `method: body` paging by itself and never
34180
+ matches under a status-code check)
34145
34181
  ```json
34146
34182
  "lastPagePath": "meta.nextCursor",
34147
- "lastPageValues": ["null", ""]
34183
+ "lastPageValues": [""]
34148
34184
  ```
34149
34185
 
34150
34186
  4. For specific error messages
@@ -34156,21 +34192,28 @@ components:
34156
34192
  ## TECHNICAL DETAILS
34157
34193
 
34158
34194
  - All values must be specified as strings, even for boolean or numeric comparisons
34159
- - JSON null should be represented as the string "null"
34195
+ - A JSON boolean matches "true" / "false" and a number matches its decimal string;
34196
+ letter case and surrounding whitespace are ignored (live-verified 2026-11-06 on
34197
+ `page` paging with `lastPageStatusCode: 200` and on `body` paging without one:
34198
+ `false`, `"FALSE"` and `" false "` each stopped against `["false"]`, `0` against
34199
+ `["0"]`, `""` against `[""]`)
34160
34200
  - Empty string is represented as ""
34161
- - The comparison is exact and case-sensitive
34162
-
34163
- IMPORTANT: This field is only considered when the lastPagePath exists in the
34164
- response. Both lastPagePath and lastPageValues must be configured correctly
34165
- for proper pagination termination.
34201
+ - JSON null matches no entry, not even "null": on `method: body` a null or missing
34202
+ value ends paging on its own; under a status-code check it keeps paging (a `page`
34203
+ export with `lastPageStatusCode: 200`, `hasMore: null` and `["null"]` ran to its
34204
+ page cap)
34205
+
34206
+ IMPORTANT: Under a status-code check this field is only consulted when the
34207
+ lastPagePath exists in the response; on method: body a missing path ends paging
34208
+ before the values are consulted. Both lastPagePath and lastPageValues must be
34209
+ configured correctly for proper pagination termination.
34166
34210
  items:
34167
34211
  type: string
34168
34212
  examples:
34169
34213
  - - 'true'
34170
34214
  - - 'false'
34171
34215
  - '0'
34172
- - - 'null'
34173
- - ''
34216
+ - - ''
34174
34217
  - - No more pages
34175
34218
  - End of results
34176
34219
  maxPagePath:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.263",
3
+ "version": "0.2.264",
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": "dba4ba28",
4
+ "iasCommit": "9357cc01",
5
5
  "generatedAt": "2026-11-07"
6
6
  },
7
7
  "roots": {