@celigo/api-specs 0.2.114 → 0.2.115
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 +19 -5
- package/dist/import.yml +2 -1
- package/dist/tool.yml +21 -6
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/export.yml
CHANGED
|
@@ -16061,11 +16061,25 @@ components:
|
|
|
16061
16061
|
Handlebars template that overrides how each record's unique trace key is generated, used
|
|
16062
16062
|
to track records through the flow and match retries to prior errors (e.g.
|
|
16063
16063
|
`{{join "_" record.customerId record.orderId}}`). When omitted, the system picks a unique
|
|
16064
|
-
field automatically
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16064
|
+
field automatically from the record's top level, by exact field name (`GET
|
|
16065
|
+
/v1/flows/{_id}/traceKey` serves the pattern). The rendered value of a template is stamped
|
|
16066
|
+
on each record as `io_custom_trace_key` and travels downstream with it. If a transform
|
|
16067
|
+
reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256 characters;
|
|
16068
|
+
a longer key is stored truncated from the middle, keeping the beginning and end of the
|
|
16069
|
+
value. Downstream imports use the trace key as their default concurrency lock key (a blank
|
|
16070
|
+
key means no lock); it never de-duplicates — a record emitted twice with the same key is
|
|
16071
|
+
processed twice.
|
|
16072
|
+
x-celigo-ai-guidance:
|
|
16073
|
+
- |-
|
|
16074
|
+
The default derivation reads these top-level fields in order and takes the first present
|
|
16075
|
+
(a record carrying `id` and `internalId` is keyed on `id` alone) — `id`, `Id`, `ID`,
|
|
16076
|
+
`internalid`, `Internalid`, `internalId`, `InternalId`, `INTERNALID`, `_id`, `_Id`, `_ID`,
|
|
16077
|
+
`internal_id`, `internal_Id`, `Internal_id`, `Internal_Id`, `INTERNAL_ID`, `identifier`,
|
|
16078
|
+
`IDENTIFIER` — then a `*anything` rule the platform does not document.
|
|
16079
|
+
- |-
|
|
16080
|
+
A record in flight through the flow carries `io_custom_trace_key` when a template is set
|
|
16081
|
+
— that value is the downstream imports' default lock key; without a template the record
|
|
16082
|
+
carries no trace-key field (the key is derived, not stored on the record).
|
|
16069
16083
|
examples:
|
|
16070
16084
|
- '{{record.id}}'
|
|
16071
16085
|
- '{{join "_" record.customerId record.orderId}}'
|
package/dist/import.yml
CHANGED
|
@@ -15944,7 +15944,8 @@ components:
|
|
|
15944
15944
|
Handlebars template that generates a concurrency lock key for each record: records that
|
|
15945
15945
|
render the same key are never submitted at the same time, while records with different
|
|
15946
15946
|
keys are processed in parallel. When omitted, the record's trace key is the lock key (a
|
|
15947
|
-
blank trace key means no lock
|
|
15947
|
+
blank trace key means no lock; a custom `traceKeyTemplate` upstream arrives on the record
|
|
15948
|
+
as `io_custom_trace_key`); a template replaces that default rather than adding to it.
|
|
15948
15949
|
The template is rendered from the record as it arrives at the import — before the import's
|
|
15949
15950
|
own lookups and mapping run — so a key built from one of the import's lookup results
|
|
15950
15951
|
(`{{lookup.<name>}}`) or from a mapped field renders empty, and an empty key is no lock at
|
package/dist/tool.yml
CHANGED
|
@@ -24812,7 +24812,8 @@ components:
|
|
|
24812
24812
|
Handlebars template that generates a concurrency lock key for each record: records that
|
|
24813
24813
|
render the same key are never submitted at the same time, while records with different
|
|
24814
24814
|
keys are processed in parallel. When omitted, the record's trace key is the lock key (a
|
|
24815
|
-
blank trace key means no lock
|
|
24815
|
+
blank trace key means no lock; a custom `traceKeyTemplate` upstream arrives on the record
|
|
24816
|
+
as `io_custom_trace_key`); a template replaces that default rather than adding to it.
|
|
24816
24817
|
The template is rendered from the record as it arrives at the import — before the import's
|
|
24817
24818
|
own lookups and mapping run — so a key built from one of the import's lookup results
|
|
24818
24819
|
(`{{lookup.<name>}}`) or from a mapped field renders empty, and an empty key is no lock at
|
|
@@ -36956,11 +36957,25 @@ components:
|
|
|
36956
36957
|
Handlebars template that overrides how each record's unique trace key is generated, used
|
|
36957
36958
|
to track records through the flow and match retries to prior errors (e.g.
|
|
36958
36959
|
`{{join "_" record.customerId record.orderId}}`). When omitted, the system picks a unique
|
|
36959
|
-
field automatically
|
|
36960
|
-
|
|
36961
|
-
|
|
36962
|
-
|
|
36963
|
-
|
|
36960
|
+
field automatically from the record's top level, by exact field name (`GET
|
|
36961
|
+
/v1/flows/{_id}/traceKey` serves the pattern). The rendered value of a template is stamped
|
|
36962
|
+
on each record as `io_custom_trace_key` and travels downstream with it. If a transform
|
|
36963
|
+
reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256 characters;
|
|
36964
|
+
a longer key is stored truncated from the middle, keeping the beginning and end of the
|
|
36965
|
+
value. Downstream imports use the trace key as their default concurrency lock key (a blank
|
|
36966
|
+
key means no lock); it never de-duplicates — a record emitted twice with the same key is
|
|
36967
|
+
processed twice.
|
|
36968
|
+
x-celigo-ai-guidance:
|
|
36969
|
+
- |-
|
|
36970
|
+
The default derivation reads these top-level fields in order and takes the first present
|
|
36971
|
+
(a record carrying `id` and `internalId` is keyed on `id` alone) — `id`, `Id`, `ID`,
|
|
36972
|
+
`internalid`, `Internalid`, `internalId`, `InternalId`, `INTERNALID`, `_id`, `_Id`, `_ID`,
|
|
36973
|
+
`internal_id`, `internal_Id`, `Internal_id`, `Internal_Id`, `INTERNAL_ID`, `identifier`,
|
|
36974
|
+
`IDENTIFIER` — then a `*anything` rule the platform does not document.
|
|
36975
|
+
- |-
|
|
36976
|
+
A record in flight through the flow carries `io_custom_trace_key` when a template is set
|
|
36977
|
+
— that value is the downstream imports' default lock key; without a template the record
|
|
36978
|
+
carries no trace-key field (the key is derived, not stored on the record).
|
|
36964
36979
|
examples:
|
|
36965
36980
|
- '{{record.id}}'
|
|
36966
36981
|
- '{{join "_" record.customerId record.orderId}}'
|
package/package.json
CHANGED