@celigo/api-specs 0.2.287 → 0.2.289
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/ai-agent.yml +5 -4
- package/dist/export.yml +27 -20
- package/dist/flow.yml +9 -5
- package/dist/import.yml +5 -4
- package/dist/tool.yml +32 -24
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/ai-agent.yml
CHANGED
|
@@ -1359,10 +1359,11 @@ components:
|
|
|
1359
1359
|
uniqueItems: true
|
|
1360
1360
|
default: []
|
|
1361
1361
|
description: |-
|
|
1362
|
-
Knowledge bases the agent retrieves from, for every provider.
|
|
1363
|
-
`[]
|
|
1364
|
-
a non-empty array
|
|
1365
|
-
occurrence), while omitting the list, `null`, and `[]`
|
|
1362
|
+
Knowledge bases the agent retrieves from, for every provider. An agent with none attached
|
|
1363
|
+
returns `[]`, except one whose last POST or PUT predates this field and one after a PATCH
|
|
1364
|
+
`remove`: both omit the key. On PUT a non-empty array becomes the stored list (duplicate
|
|
1365
|
+
ids collapse to their first occurrence), while omitting the list, `null`, and `[]` keep a
|
|
1366
|
+
stored list and write `[]` where the key is absent; clear a stored list with
|
|
1366
1367
|
`PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
|
|
1367
1368
|
`/aiAgent/attachedKnowledgeBaseIds`.
|
|
1368
1369
|
items:
|
package/dist/export.yml
CHANGED
|
@@ -1371,11 +1371,12 @@ components:
|
|
|
1371
1371
|
- |-
|
|
1372
1372
|
On an HTTP export and on a Snowflake export that group with this field, a grouped record's
|
|
1373
1373
|
trace key at the next step was the platform's default key, not the value of the export's
|
|
1374
|
-
`traceKeyTemplate
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1374
|
+
`traceKeyTemplate` (a known issue; IO-240251 carries the template's value to the next
|
|
1375
|
+
step): the first field on the flow's trace-key list present on the rows, when every row
|
|
1376
|
+
holds the same value. Rows that each carry their own `id` left a multi-row group's key
|
|
1377
|
+
blank; an `id` holding the group's identifier on every row keyed the group on it. A
|
|
1378
|
+
Transform 2.0 in `mode: create` that turned each group into one object made the template
|
|
1379
|
+
the key on the HTTP export (see `traceKeyTemplate`).
|
|
1379
1380
|
- |-
|
|
1380
1381
|
A grouped record is ONE record: Mapper 2.0 and Transform 2.0 root
|
|
1381
1382
|
JSONPath at the array (``$[0].<field>`` / ``$[*].<field>``;
|
|
@@ -11189,8 +11190,9 @@ components:
|
|
|
11189
11190
|
different key needs a `preSavePage` hook, which sees one page at a time.
|
|
11190
11191
|
- |-
|
|
11191
11192
|
With grouping on, the next step's errors are keyed on the rows' `id` (the record's
|
|
11192
|
-
internal id) even when the export sets a `traceKeyTemplate
|
|
11193
|
-
value
|
|
11193
|
+
internal id) even when the export sets a `traceKeyTemplate` (a known issue; IO-240251
|
|
11194
|
+
carries the template's value to the next step); with `true` the template's value is
|
|
11195
|
+
the key.
|
|
11194
11196
|
- |-
|
|
11195
11197
|
Celigo's documentation requires the saved search to be sorted by Internal ID for
|
|
11196
11198
|
grouping to apply.
|
|
@@ -17516,12 +17518,14 @@ components:
|
|
|
17516
17518
|
`{{join "_" record.customerId record.orderId}}`). When omitted, the platform derives the
|
|
17517
17519
|
key from the ordered field list of the flow's source step (`GET /v1/flows/{_id}/traceKey`
|
|
17518
17520
|
serves it). The rendered value of a template is stamped on an object record as
|
|
17519
|
-
`io_custom_trace_key` and travels downstream with it.
|
|
17520
|
-
|
|
17521
|
-
|
|
17522
|
-
|
|
17523
|
-
|
|
17524
|
-
|
|
17521
|
+
`io_custom_trace_key` and travels downstream with it. A record that leaves the export as
|
|
17522
|
+
a group of rows did not carry it to the next step on the grouped exports that were run
|
|
17523
|
+
(the guidance names them) — a known issue; IO-240251 carries it there. If a transform
|
|
17524
|
+
reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256
|
|
17525
|
+
characters; a longer key is stored truncated from the middle, keeping the beginning and
|
|
17526
|
+
end of the value. Downstream imports use the trace key as their default concurrency lock
|
|
17527
|
+
key (a blank key means no lock); it never de-duplicates — a record emitted twice with the
|
|
17528
|
+
same key is processed twice.
|
|
17525
17529
|
x-celigo-ai-guidance:
|
|
17526
17530
|
- |-
|
|
17527
17531
|
For an object record (an export that does not group), the default key is the first
|
|
@@ -17546,15 +17550,18 @@ components:
|
|
|
17546
17550
|
On an export whose records are groups of rows — `groupByFields` on an HTTP and on a
|
|
17547
17551
|
Snowflake export, and a NetSuite saved search with grouping on, were run — the
|
|
17548
17552
|
template's value did not reach the next step: its errors carried the default key and
|
|
17549
|
-
no row carried `io_custom_trace_key`.
|
|
17550
|
-
|
|
17551
|
-
|
|
17553
|
+
no row carried `io_custom_trace_key`. That is a known issue, not the contract
|
|
17554
|
+
(IO-240251 carries the template's value to the next step); in those runs each group
|
|
17555
|
+
was keyed from the default list instead. The default for a group is the first listed
|
|
17556
|
+
field present on its rows when every row holds the same value; rows that differ on that
|
|
17557
|
+
field leave the key blank, and later listed fields are not tried.
|
|
17552
17558
|
- |-
|
|
17553
17559
|
To key grouped records on a business identifier, return it on every row as `id` — on a
|
|
17554
|
-
database export, `SELECT order_number AS id
|
|
17555
|
-
carry it, with or without a template (HTTP and Snowflake exports). On the
|
|
17556
|
-
Transform 2.0 in `mode: create` that reshaped each group into one object
|
|
17557
|
-
template the key, because the record leaving the export was then an
|
|
17560
|
+
database export, `SELECT orders.*, order_number AS id FROM orders` — and the next
|
|
17561
|
+
step's errors carry it, with or without a template (HTTP and Snowflake exports). On the
|
|
17562
|
+
HTTP export a Transform 2.0 in `mode: create` that reshaped each group into one object
|
|
17563
|
+
also made the template the key, because the record leaving the export was then an
|
|
17564
|
+
object.
|
|
17558
17565
|
- |-
|
|
17559
17566
|
An object record in flight through the flow carries `io_custom_trace_key` when a
|
|
17560
17567
|
template is set — that value is the downstream imports' default lock key; without a
|
package/dist/flow.yml
CHANGED
|
@@ -1262,7 +1262,9 @@ paths:
|
|
|
1262
1262
|
key; when its top level carries none, a listed field one level down is read, and nested values
|
|
1263
1263
|
that differ leave the key blank. For a record that is a group of rows the first listed field
|
|
1264
1264
|
present on the rows is the key only when every row holds the same value. A `traceKeyTemplate`
|
|
1265
|
-
set on the export replaces this list for an object record and is not echoed here.
|
|
1265
|
+
set on the export replaces this list for an object record and is not echoed here. On the
|
|
1266
|
+
grouped exports that were run (`traceKeyTemplate` on the export names them) it did not
|
|
1267
|
+
replace the list for a group of rows — a known issue, IO-240251.
|
|
1266
1268
|
|
|
1267
1269
|
If both `fields` and `templates` are empty for a generator, the flow has no trace key configured
|
|
1268
1270
|
and log correlation must be done by position or other means. Trace keys are especially important
|
|
@@ -1270,10 +1272,12 @@ paths:
|
|
|
1270
1272
|
x-celigo-ai-guidance:
|
|
1271
1273
|
- |-
|
|
1272
1274
|
Read this list to explain a record's trace key when the export sets no template, or when
|
|
1273
|
-
the export groups records
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1275
|
+
the export groups records — on the HTTP and Snowflake `groupByFields` exports and the
|
|
1276
|
+
NetSuite saved search with grouping on that were run, a group was keyed from this list,
|
|
1277
|
+
not from the template (a known issue, IO-240251). An HTTP export with relative URI
|
|
1278
|
+
`v1/mirror` feeding an import that maps `Location_Id` and then `Customer_Id` returned the
|
|
1279
|
+
eighteen standard names, `Location_Id`, `Customer_Id`, `*mirror` — and its records were
|
|
1280
|
+
keyed on `Location_Id`.
|
|
1277
1281
|
- |-
|
|
1278
1282
|
A NetSuite saved-search export returned its own names — `id`, `internalid`, `internalId`,
|
|
1279
1283
|
`internal id`, `internal_id`, `Internal ID`, `inventory_item_id`, `productId`, `entityid`,
|
package/dist/import.yml
CHANGED
|
@@ -10384,10 +10384,11 @@ components:
|
|
|
10384
10384
|
uniqueItems: true
|
|
10385
10385
|
default: []
|
|
10386
10386
|
description: |-
|
|
10387
|
-
Knowledge bases the agent retrieves from, for every provider.
|
|
10388
|
-
`[]
|
|
10389
|
-
a non-empty array
|
|
10390
|
-
occurrence), while omitting the list, `null`, and `[]`
|
|
10387
|
+
Knowledge bases the agent retrieves from, for every provider. An agent with none attached
|
|
10388
|
+
returns `[]`, except one whose last POST or PUT predates this field and one after a PATCH
|
|
10389
|
+
`remove`: both omit the key. On PUT a non-empty array becomes the stored list (duplicate
|
|
10390
|
+
ids collapse to their first occurrence), while omitting the list, `null`, and `[]` keep a
|
|
10391
|
+
stored list and write `[]` where the key is absent; clear a stored list with
|
|
10391
10392
|
`PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
|
|
10392
10393
|
`/aiAgent/attachedKnowledgeBaseIds`.
|
|
10393
10394
|
items:
|
package/dist/tool.yml
CHANGED
|
@@ -22726,10 +22726,11 @@ components:
|
|
|
22726
22726
|
uniqueItems: true
|
|
22727
22727
|
default: []
|
|
22728
22728
|
description: |-
|
|
22729
|
-
Knowledge bases the agent retrieves from, for every provider.
|
|
22730
|
-
`[]
|
|
22731
|
-
a non-empty array
|
|
22732
|
-
occurrence), while omitting the list, `null`, and `[]`
|
|
22729
|
+
Knowledge bases the agent retrieves from, for every provider. An agent with none attached
|
|
22730
|
+
returns `[]`, except one whose last POST or PUT predates this field and one after a PATCH
|
|
22731
|
+
`remove`: both omit the key. On PUT a non-empty array becomes the stored list (duplicate
|
|
22732
|
+
ids collapse to their first occurrence), while omitting the list, `null`, and `[]` keep a
|
|
22733
|
+
stored list and write `[]` where the key is absent; clear a stored list with
|
|
22733
22734
|
`PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
|
|
22734
22735
|
`/aiAgent/attachedKnowledgeBaseIds`.
|
|
22735
22736
|
items:
|
|
@@ -28375,11 +28376,12 @@ components:
|
|
|
28375
28376
|
- |-
|
|
28376
28377
|
On an HTTP export and on a Snowflake export that group with this field, a grouped record's
|
|
28377
28378
|
trace key at the next step was the platform's default key, not the value of the export's
|
|
28378
|
-
`traceKeyTemplate
|
|
28379
|
-
|
|
28380
|
-
|
|
28381
|
-
|
|
28382
|
-
|
|
28379
|
+
`traceKeyTemplate` (a known issue; IO-240251 carries the template's value to the next
|
|
28380
|
+
step): the first field on the flow's trace-key list present on the rows, when every row
|
|
28381
|
+
holds the same value. Rows that each carry their own `id` left a multi-row group's key
|
|
28382
|
+
blank; an `id` holding the group's identifier on every row keyed the group on it. A
|
|
28383
|
+
Transform 2.0 in `mode: create` that turned each group into one object made the template
|
|
28384
|
+
the key on the HTTP export (see `traceKeyTemplate`).
|
|
28383
28385
|
- |-
|
|
28384
28386
|
A grouped record is ONE record: Mapper 2.0 and Transform 2.0 root
|
|
28385
28387
|
JSONPath at the array (``$[0].<field>`` / ``$[*].<field>``;
|
|
@@ -37698,8 +37700,9 @@ components:
|
|
|
37698
37700
|
different key needs a `preSavePage` hook, which sees one page at a time.
|
|
37699
37701
|
- |-
|
|
37700
37702
|
With grouping on, the next step's errors are keyed on the rows' `id` (the record's
|
|
37701
|
-
internal id) even when the export sets a `traceKeyTemplate
|
|
37702
|
-
value
|
|
37703
|
+
internal id) even when the export sets a `traceKeyTemplate` (a known issue; IO-240251
|
|
37704
|
+
carries the template's value to the next step); with `true` the template's value is
|
|
37705
|
+
the key.
|
|
37703
37706
|
- |-
|
|
37704
37707
|
Celigo's documentation requires the saved search to be sorted by Internal ID for
|
|
37705
37708
|
grouping to apply.
|
|
@@ -40255,12 +40258,14 @@ components:
|
|
|
40255
40258
|
`{{join "_" record.customerId record.orderId}}`). When omitted, the platform derives the
|
|
40256
40259
|
key from the ordered field list of the flow's source step (`GET /v1/flows/{_id}/traceKey`
|
|
40257
40260
|
serves it). The rendered value of a template is stamped on an object record as
|
|
40258
|
-
`io_custom_trace_key` and travels downstream with it.
|
|
40259
|
-
|
|
40260
|
-
|
|
40261
|
-
|
|
40262
|
-
|
|
40263
|
-
|
|
40261
|
+
`io_custom_trace_key` and travels downstream with it. A record that leaves the export as
|
|
40262
|
+
a group of rows did not carry it to the next step on the grouped exports that were run
|
|
40263
|
+
(the guidance names them) — a known issue; IO-240251 carries it there. If a transform
|
|
40264
|
+
reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256
|
|
40265
|
+
characters; a longer key is stored truncated from the middle, keeping the beginning and
|
|
40266
|
+
end of the value. Downstream imports use the trace key as their default concurrency lock
|
|
40267
|
+
key (a blank key means no lock); it never de-duplicates — a record emitted twice with the
|
|
40268
|
+
same key is processed twice.
|
|
40264
40269
|
x-celigo-ai-guidance:
|
|
40265
40270
|
- |-
|
|
40266
40271
|
For an object record (an export that does not group), the default key is the first
|
|
@@ -40285,15 +40290,18 @@ components:
|
|
|
40285
40290
|
On an export whose records are groups of rows — `groupByFields` on an HTTP and on a
|
|
40286
40291
|
Snowflake export, and a NetSuite saved search with grouping on, were run — the
|
|
40287
40292
|
template's value did not reach the next step: its errors carried the default key and
|
|
40288
|
-
no row carried `io_custom_trace_key`.
|
|
40289
|
-
|
|
40290
|
-
|
|
40293
|
+
no row carried `io_custom_trace_key`. That is a known issue, not the contract
|
|
40294
|
+
(IO-240251 carries the template's value to the next step); in those runs each group
|
|
40295
|
+
was keyed from the default list instead. The default for a group is the first listed
|
|
40296
|
+
field present on its rows when every row holds the same value; rows that differ on that
|
|
40297
|
+
field leave the key blank, and later listed fields are not tried.
|
|
40291
40298
|
- |-
|
|
40292
40299
|
To key grouped records on a business identifier, return it on every row as `id` — on a
|
|
40293
|
-
database export, `SELECT order_number AS id
|
|
40294
|
-
carry it, with or without a template (HTTP and Snowflake exports). On the
|
|
40295
|
-
Transform 2.0 in `mode: create` that reshaped each group into one object
|
|
40296
|
-
template the key, because the record leaving the export was then an
|
|
40300
|
+
database export, `SELECT orders.*, order_number AS id FROM orders` — and the next
|
|
40301
|
+
step's errors carry it, with or without a template (HTTP and Snowflake exports). On the
|
|
40302
|
+
HTTP export a Transform 2.0 in `mode: create` that reshaped each group into one object
|
|
40303
|
+
also made the template the key, because the record leaving the export was then an
|
|
40304
|
+
object.
|
|
40297
40305
|
- |-
|
|
40298
40306
|
An object record in flight through the flow carries `io_custom_trace_key` when a
|
|
40299
40307
|
template is set — that value is the downstream imports' default lock key; without a
|
package/package.json
CHANGED