@celigo/api-specs 0.2.354 → 0.2.356
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 +6 -6
- package/dist/flow.yml +4 -4
- package/dist/import.yml +11 -5
- package/dist/tool.yml +17 -11
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/export.yml
CHANGED
|
@@ -1476,7 +1476,7 @@ components:
|
|
|
1476
1476
|
- |-
|
|
1477
1477
|
On an HTTP export and on a Snowflake export that group with this field, a grouped record's
|
|
1478
1478
|
trace key at the next step was the platform's default key, not the value of the export's
|
|
1479
|
-
`traceKeyTemplate` (a known issue;
|
|
1479
|
+
`traceKeyTemplate` (a known issue; the fix carries the template's value to the next
|
|
1480
1480
|
step): the first field on the flow's trace-key list present on the rows, when every row
|
|
1481
1481
|
holds the same value. Rows that each carry their own `id` left a multi-row group's key
|
|
1482
1482
|
blank; an `id` holding the group's identifier on every row keyed the group on it. A
|
|
@@ -11360,7 +11360,7 @@ components:
|
|
|
11360
11360
|
different key needs a `preSavePage` hook, which sees one page at a time.
|
|
11361
11361
|
- |-
|
|
11362
11362
|
With grouping on, the next step's errors are keyed on the rows' `id` (the record's
|
|
11363
|
-
internal id) even when the export sets a `traceKeyTemplate` (a known issue;
|
|
11363
|
+
internal id) even when the export sets a `traceKeyTemplate` (a known issue; the fix
|
|
11364
11364
|
carries the template's value to the next step); with `true` the template's value is
|
|
11365
11365
|
the key.
|
|
11366
11366
|
- |-
|
|
@@ -17805,7 +17805,7 @@ components:
|
|
|
17805
17805
|
serves it). The rendered value of a template is stamped on an object record as
|
|
17806
17806
|
`io_custom_trace_key` and travels downstream with it. A record that leaves the export as
|
|
17807
17807
|
a group of rows did not carry it to the next step on the grouped exports that were run
|
|
17808
|
-
(the guidance names them) — a known issue;
|
|
17808
|
+
(the guidance names them) — a known issue; the fix carries it there. If a transform
|
|
17809
17809
|
reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256
|
|
17810
17810
|
characters; a longer key is stored truncated from the middle, keeping the beginning and
|
|
17811
17811
|
end of the value. Downstream imports use the trace key as their default concurrency lock
|
|
@@ -17836,7 +17836,7 @@ components:
|
|
|
17836
17836
|
Snowflake export, and a NetSuite saved search with grouping on, were run — the
|
|
17837
17837
|
template's value did not reach the next step: its errors carried the default key and
|
|
17838
17838
|
no row carried `io_custom_trace_key`. That is a known issue, not the contract
|
|
17839
|
-
(
|
|
17839
|
+
(the fix carries the template's value to the next step); in those runs each group
|
|
17840
17840
|
was keyed from the default list instead. The default for a group is the first listed
|
|
17841
17841
|
field present on its rows when every row holds the same value; rows that differ on that
|
|
17842
17842
|
field leave the key blank, and later listed fields are not tried.
|
|
@@ -18357,12 +18357,12 @@ components:
|
|
|
18357
18357
|
Sample data payload used for previewing and testing the export. On a Data loader export
|
|
18358
18358
|
(`type: simple`) it is the text of a sample of the file: the preview endpoints parse it
|
|
18359
18359
|
with the export's `file` settings and return the records — except when the doc also
|
|
18360
|
-
carries a Transformation 2.0 (known issue
|
|
18360
|
+
carries a Transformation 2.0 (a known issue, described in the guidance). An
|
|
18361
18361
|
object or array value there fails the preview with 422 `sample_data_invalid` on each
|
|
18362
18362
|
of the three preview routes.
|
|
18363
18363
|
x-celigo-ai-guidance:
|
|
18364
18364
|
- |-
|
|
18365
|
-
Known issue
|
|
18365
|
+
Known issue, until the fix is released: a Data loader doc (`type: simple`)
|
|
18366
18366
|
parsed from a CSV `sampleData` that also carries a Transformation 2.0
|
|
18367
18367
|
(`transform.expression.rulesTwoDotZero`) fails at the transformation with 422 — the parsed
|
|
18368
18368
|
records in a `parse` stage, then one error per record with `code: missing_required_field`,
|
package/dist/flow.yml
CHANGED
|
@@ -5699,7 +5699,7 @@ components:
|
|
|
5699
5699
|
retry stage `post_response_mapping`: a retry runs the hook again on the saved record
|
|
5700
5700
|
(as response mapping left it) and the step's stored reply, without repeating the
|
|
5701
5701
|
lookup or the destination request. On a step that has no connection of its own, this
|
|
5702
|
-
hook makes later steps fail in the page-processor preview (known issue
|
|
5702
|
+
hook makes later steps fail in the page-processor preview (a known issue,
|
|
5703
5703
|
described in the guidance).
|
|
5704
5704
|
x-celigo-ai-guidance:
|
|
5705
5705
|
- |-
|
|
@@ -5751,7 +5751,7 @@ components:
|
|
|
5751
5751
|
reached the next import; the same day a `preSavePage` error and a `successPath`
|
|
5752
5752
|
error on that lookup were each retried with a new lookup request and a fresh reply.
|
|
5753
5753
|
- |-
|
|
5754
|
-
Known issue
|
|
5754
|
+
Known issue, until the fix is released: on a step that has no
|
|
5755
5755
|
`_connectionId` — a step that calls a Tool (`ToolImport`), or an AI agent or
|
|
5756
5756
|
guardrail step saved without a connection — this hook makes the page-processor
|
|
5757
5757
|
preview (`previewPageProcessor`) of every later step answer 422
|
|
@@ -6779,7 +6779,7 @@ components:
|
|
|
6779
6779
|
is also what free text such as `every 5 minutes` produces. A five-field
|
|
6780
6780
|
expression that passes those checks — a Unix cron such as `0 6 * * *`; the
|
|
6781
6781
|
all-wildcard `* * * * *` fails with `422 invalid_value` — is stored as sent and
|
|
6782
|
-
does not run as written (known issue
|
|
6782
|
+
does not run as written (a known issue, described in the guidance).
|
|
6783
6783
|
|
|
6784
6784
|
Celigo spreads scheduled starts across the platform so that every flow starts
|
|
6785
6785
|
promptly: you choose the cadence — every N minutes, hourly, daily, twice daily,
|
|
@@ -6859,7 +6859,7 @@ components:
|
|
|
6859
6859
|
runs on an enabled, unchanged flow with nothing running are a
|
|
6860
6860
|
platform-scheduler issue to escalate, not a configuration problem.
|
|
6861
6861
|
- |-
|
|
6862
|
-
Known issue
|
|
6862
|
+
Known issue, until the fix is released: a five-field expression
|
|
6863
6863
|
that passes the save's checks — a Unix cron such as `0 6 * * *`; `* * * * *`
|
|
6864
6864
|
is rejected, 422 `invalid_value` — is stored as sent, and the scheduler reads
|
|
6865
6865
|
it from the seconds position: its first field as seconds, the other four as
|
package/dist/import.yml
CHANGED
|
@@ -3663,9 +3663,14 @@ components:
|
|
|
3663
3663
|
type: boolean
|
|
3664
3664
|
description: |-
|
|
3665
3665
|
When true, the statement in `query` replaces the auto-generated MERGE / INSERT for the
|
|
3666
|
-
bulk load, enabling ignore-existing logic or conditional updates.
|
|
3666
|
+
bulk load, enabling ignore-existing logic or conditional updates. The statement reads the
|
|
3667
|
+
staging table as `{{{import.jdbc.bulkLoad.preMergeTemporaryTable}}}` and writes the
|
|
3668
|
+
destination as `{{{import.jdbc.bulkLoad.tableName}}}`; the path is `jdbc`, not `rdbms`,
|
|
3669
|
+
and a name outside it is not defined. Saving it true with no
|
|
3667
3670
|
`query` entry fails with 422 `missing_required_field` ("jdbc bulk_load imports require a
|
|
3668
3671
|
query."), on create and on update.
|
|
3672
|
+
x-celigo-ai-guidance:
|
|
3673
|
+
- Write both table placeholders with triple braces and the `import.jdbc.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable`, and the `import.rdbms.bulkLoad.` path used by rdbms imports, are not in the JDBC template model, so the load fails. Double braces HTML-escape the value, which breaks a quoted identifier such as `"SCHEMA"."TABLE"`.
|
|
3669
3674
|
aggregation:
|
|
3670
3675
|
type: object
|
|
3671
3676
|
description: |-
|
|
@@ -5567,7 +5572,7 @@ components:
|
|
|
5567
5572
|
`$.#contains line_items[*]`), matches no line, and the
|
|
5568
5573
|
whole sublist is skipped with no error: the record posts
|
|
5569
5574
|
with an empty sublist and no lookup error. This is
|
|
5570
|
-
platform defect
|
|
5575
|
+
a platform defect (fix version 2027.1.1), which
|
|
5571
5576
|
reaches the mapping preview
|
|
5572
5577
|
(`PUT /v1/netsuiteDA/previewImportMappingFields`) in every
|
|
5573
5578
|
case and the RUNTIME on the legacy SuiteScript mapper —
|
|
@@ -6356,7 +6361,7 @@ components:
|
|
|
6356
6361
|
→ **USE `["bulk_load"]`** with:
|
|
6357
6362
|
- `bulkLoad.tableName` (required — omitting it fails the save with 422 `missing_required_field` "rdbms imports require a tableName.")
|
|
6358
6363
|
- `bulkLoad.primaryKeys` for upsert/merge (auto-generates MERGE)
|
|
6359
|
-
- `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{
|
|
6364
|
+
- `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination.
|
|
6360
6365
|
- No `primaryKeys` for pure INSERT (auto-generates INSERT)
|
|
6361
6366
|
- No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
|
|
6362
6367
|
- **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.
|
|
@@ -6629,11 +6634,12 @@ components:
|
|
|
6629
6634
|
type: boolean
|
|
6630
6635
|
description: |-
|
|
6631
6636
|
When true, a custom merge query replaces the auto-generated MERGE statement, enabling ignore-existing logic, conditional updates, or multi-table operations ("Override merge/insert statement" on the import form).
|
|
6632
|
-
The override SQL lives in `query` and references `{{
|
|
6637
|
+
The override SQL lives in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination table. These are the only names for them: bare `tableName` and `preMergeTemporaryTable` without the path are not defined, and the load fails.
|
|
6633
6638
|
The SQL itself in this field fails the save: 422 `invalid_field` "Invalid value '<the statement>' for field 'rdbms.bulkLoad.overrideMergeQuery'. Reason: CastError."
|
|
6634
6639
|
x-celigo-ai-guidance:
|
|
6635
6640
|
- This is the switch, not the SQL. Set it to true and put the statement in `query` (one string); the import form shows the SQL box only while "Override merge/insert statement" is checked. With it false or absent the platform generates the INSERT / MERGE from `bulkLoad.tableName` and `bulkLoad.primaryKeys`, and `query` stays empty.
|
|
6636
|
-
- 'The statement runs after the files are loaded into the staging table: read from `{{
|
|
6641
|
+
- 'The statement runs after the files are loaded into the staging table: read from `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` and write to `{{{import.rdbms.bulkLoad.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 {{{import.rdbms.bulkLoad.tableName}}} (id, total) SELECT id, total FROM {{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}`.'
|
|
6642
|
+
- Write both table placeholders with triple braces and the full `import.rdbms.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable` without the path are not in the template model, so the load fails. Double braces escape the name as a quoted string literal (`'<staging table>'`), which the database rejects as a table reference.
|
|
6637
6643
|
aggregation:
|
|
6638
6644
|
type: object
|
|
6639
6645
|
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.'
|
package/dist/tool.yml
CHANGED
|
@@ -16432,9 +16432,14 @@ components:
|
|
|
16432
16432
|
type: boolean
|
|
16433
16433
|
description: |-
|
|
16434
16434
|
When true, the statement in `query` replaces the auto-generated MERGE / INSERT for the
|
|
16435
|
-
bulk load, enabling ignore-existing logic or conditional updates.
|
|
16435
|
+
bulk load, enabling ignore-existing logic or conditional updates. The statement reads the
|
|
16436
|
+
staging table as `{{{import.jdbc.bulkLoad.preMergeTemporaryTable}}}` and writes the
|
|
16437
|
+
destination as `{{{import.jdbc.bulkLoad.tableName}}}`; the path is `jdbc`, not `rdbms`,
|
|
16438
|
+
and a name outside it is not defined. Saving it true with no
|
|
16436
16439
|
`query` entry fails with 422 `missing_required_field` ("jdbc bulk_load imports require a
|
|
16437
16440
|
query."), on create and on update.
|
|
16441
|
+
x-celigo-ai-guidance:
|
|
16442
|
+
- Write both table placeholders with triple braces and the `import.jdbc.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable`, and the `import.rdbms.bulkLoad.` path used by rdbms imports, are not in the JDBC template model, so the load fails. Double braces HTML-escape the value, which breaks a quoted identifier such as `"SCHEMA"."TABLE"`.
|
|
16438
16443
|
aggregation:
|
|
16439
16444
|
type: object
|
|
16440
16445
|
description: |-
|
|
@@ -18336,7 +18341,7 @@ components:
|
|
|
18336
18341
|
`$.#contains line_items[*]`), matches no line, and the
|
|
18337
18342
|
whole sublist is skipped with no error: the record posts
|
|
18338
18343
|
with an empty sublist and no lookup error. This is
|
|
18339
|
-
platform defect
|
|
18344
|
+
a platform defect (fix version 2027.1.1), which
|
|
18340
18345
|
reaches the mapping preview
|
|
18341
18346
|
(`PUT /v1/netsuiteDA/previewImportMappingFields`) in every
|
|
18342
18347
|
case and the RUNTIME on the legacy SuiteScript mapper —
|
|
@@ -18839,7 +18844,7 @@ components:
|
|
|
18839
18844
|
→ **USE `["bulk_load"]`** with:
|
|
18840
18845
|
- `bulkLoad.tableName` (required — omitting it fails the save with 422 `missing_required_field` "rdbms imports require a tableName.")
|
|
18841
18846
|
- `bulkLoad.primaryKeys` for upsert/merge (auto-generates MERGE)
|
|
18842
|
-
- `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{
|
|
18847
|
+
- `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination.
|
|
18843
18848
|
- No `primaryKeys` for pure INSERT (auto-generates INSERT)
|
|
18844
18849
|
- No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
|
|
18845
18850
|
- **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.
|
|
@@ -19112,11 +19117,12 @@ components:
|
|
|
19112
19117
|
type: boolean
|
|
19113
19118
|
description: |-
|
|
19114
19119
|
When true, a custom merge query replaces the auto-generated MERGE statement, enabling ignore-existing logic, conditional updates, or multi-table operations ("Override merge/insert statement" on the import form).
|
|
19115
|
-
The override SQL lives in `query` and references `{{
|
|
19120
|
+
The override SQL lives in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination table. These are the only names for them: bare `tableName` and `preMergeTemporaryTable` without the path are not defined, and the load fails.
|
|
19116
19121
|
The SQL itself in this field fails the save: 422 `invalid_field` "Invalid value '<the statement>' for field 'rdbms.bulkLoad.overrideMergeQuery'. Reason: CastError."
|
|
19117
19122
|
x-celigo-ai-guidance:
|
|
19118
19123
|
- This is the switch, not the SQL. Set it to true and put the statement in `query` (one string); the import form shows the SQL box only while "Override merge/insert statement" is checked. With it false or absent the platform generates the INSERT / MERGE from `bulkLoad.tableName` and `bulkLoad.primaryKeys`, and `query` stays empty.
|
|
19119
|
-
- 'The statement runs after the files are loaded into the staging table: read from `{{
|
|
19124
|
+
- 'The statement runs after the files are loaded into the staging table: read from `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` and write to `{{{import.rdbms.bulkLoad.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 {{{import.rdbms.bulkLoad.tableName}}} (id, total) SELECT id, total FROM {{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}`.'
|
|
19125
|
+
- Write both table placeholders with triple braces and the full `import.rdbms.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable` without the path are not in the template model, so the load fails. Double braces escape the name as a quoted string literal (`'<staging table>'`), which the database rejects as a table reference.
|
|
19120
19126
|
aggregation:
|
|
19121
19127
|
type: object
|
|
19122
19128
|
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.'
|
|
@@ -29114,7 +29120,7 @@ components:
|
|
|
29114
29120
|
- |-
|
|
29115
29121
|
On an HTTP export and on a Snowflake export that group with this field, a grouped record's
|
|
29116
29122
|
trace key at the next step was the platform's default key, not the value of the export's
|
|
29117
|
-
`traceKeyTemplate` (a known issue;
|
|
29123
|
+
`traceKeyTemplate` (a known issue; the fix carries the template's value to the next
|
|
29118
29124
|
step): the first field on the flow's trace-key list present on the rows, when every row
|
|
29119
29125
|
holds the same value. Rows that each carry their own `id` left a multi-row group's key
|
|
29120
29126
|
blank; an `id` holding the group's identifier on every row keyed the group on it. A
|
|
@@ -38488,7 +38494,7 @@ components:
|
|
|
38488
38494
|
different key needs a `preSavePage` hook, which sees one page at a time.
|
|
38489
38495
|
- |-
|
|
38490
38496
|
With grouping on, the next step's errors are keyed on the rows' `id` (the record's
|
|
38491
|
-
internal id) even when the export sets a `traceKeyTemplate` (a known issue;
|
|
38497
|
+
internal id) even when the export sets a `traceKeyTemplate` (a known issue; the fix
|
|
38492
38498
|
carries the template's value to the next step); with `true` the template's value is
|
|
38493
38499
|
the key.
|
|
38494
38500
|
- |-
|
|
@@ -41082,7 +41088,7 @@ components:
|
|
|
41082
41088
|
serves it). The rendered value of a template is stamped on an object record as
|
|
41083
41089
|
`io_custom_trace_key` and travels downstream with it. A record that leaves the export as
|
|
41084
41090
|
a group of rows did not carry it to the next step on the grouped exports that were run
|
|
41085
|
-
(the guidance names them) — a known issue;
|
|
41091
|
+
(the guidance names them) — a known issue; the fix carries it there. If a transform
|
|
41086
41092
|
reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256
|
|
41087
41093
|
characters; a longer key is stored truncated from the middle, keeping the beginning and
|
|
41088
41094
|
end of the value. Downstream imports use the trace key as their default concurrency lock
|
|
@@ -41113,7 +41119,7 @@ components:
|
|
|
41113
41119
|
Snowflake export, and a NetSuite saved search with grouping on, were run — the
|
|
41114
41120
|
template's value did not reach the next step: its errors carried the default key and
|
|
41115
41121
|
no row carried `io_custom_trace_key`. That is a known issue, not the contract
|
|
41116
|
-
(
|
|
41122
|
+
(the fix carries the template's value to the next step); in those runs each group
|
|
41117
41123
|
was keyed from the default list instead. The default for a group is the first listed
|
|
41118
41124
|
field present on its rows when every row holds the same value; rows that differ on that
|
|
41119
41125
|
field leave the key blank, and later listed fields are not tried.
|
|
@@ -41634,12 +41640,12 @@ components:
|
|
|
41634
41640
|
Sample data payload used for previewing and testing the export. On a Data loader export
|
|
41635
41641
|
(`type: simple`) it is the text of a sample of the file: the preview endpoints parse it
|
|
41636
41642
|
with the export's `file` settings and return the records — except when the doc also
|
|
41637
|
-
carries a Transformation 2.0 (known issue
|
|
41643
|
+
carries a Transformation 2.0 (a known issue, described in the guidance). An
|
|
41638
41644
|
object or array value there fails the preview with 422 `sample_data_invalid` on each
|
|
41639
41645
|
of the three preview routes.
|
|
41640
41646
|
x-celigo-ai-guidance:
|
|
41641
41647
|
- |-
|
|
41642
|
-
Known issue
|
|
41648
|
+
Known issue, until the fix is released: a Data loader doc (`type: simple`)
|
|
41643
41649
|
parsed from a CSV `sampleData` that also carries a Transformation 2.0
|
|
41644
41650
|
(`transform.expression.rulesTwoDotZero`) fails at the transformation with 422 — the parsed
|
|
41645
41651
|
records in a `parse` stage, then one error per record with `code: missing_required_field`,
|
package/package.json
CHANGED