@celigo/api-specs 0.2.7 → 0.2.9
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 +52 -51
- package/dist/export.yml +52 -51
- package/dist/import.yml +64 -55
- package/dist/subscription.yml +45 -15
- package/dist/tool.yml +64 -55
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/ai-agent.yml
CHANGED
|
@@ -4681,36 +4681,39 @@ components:
|
|
|
4681
4681
|
OneToMany:
|
|
4682
4682
|
type: boolean
|
|
4683
4683
|
description: |
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4684
|
+
When true, the step runs once per child record instead of once per incoming record.
|
|
4685
|
+
`pathToMany` names the array field that holds the children inside an object record; when
|
|
4686
|
+
the incoming record is itself an array (grouped or row-based data), leave `pathToMany` blank
|
|
4687
|
+
and each element becomes a record. The fan-out is scoped to this step: afterwards the children
|
|
4688
|
+
are re-joined into the record's original shape — the object with its array, or the array of rows —
|
|
4689
|
+
carrying any response-mapping enrichment, and that re-joined record is what the next step
|
|
4690
|
+
receives. Not for locating records in an export's HTTP response; use
|
|
4691
|
+
`http.response.resourcePath` for that.
|
|
4692
|
+
x-celigo-ai-guidance:
|
|
4693
|
+
- |-
|
|
4694
|
+
Two modes, decided by the SHAPE of the record entering the step. Object record with a child
|
|
4695
|
+
array under a field → set ``pathToMany`` to that field. Array record (a ``groupByFields``
|
|
4696
|
+
export, a CSV/file group, a script that returns an array) → leave ``pathToMany`` blank; each
|
|
4697
|
+
element becomes one record. Live-verified 2026-09-10 on flows, Tools, and APIs.
|
|
4698
|
+
- |-
|
|
4699
|
+
Blank ``pathToMany`` on an OBJECT record fails every record with code ``oneToMany_error``:
|
|
4700
|
+
"Failed to extract child records from oneToMany import data. Record at index 0 was not an
|
|
4701
|
+
array, and no PathToMany was provided". Builder previews return only the code, with no
|
|
4702
|
+
message. The fix is never "turn oneToMany off" by default — first determine whether the
|
|
4703
|
+
record arriving at the step is an object (set a path) or an array (blank is correct; a
|
|
4704
|
+
preview error on an array-fed step is the preview panel re-applying one-to-many to the
|
|
4705
|
+
already-fanned-out record — verify with a test run or a real run).
|
|
4706
|
+
- |-
|
|
4707
|
+
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
4708
|
+
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
4709
|
+
itself, with no ``_PARENT``. In both modes templates on the step reference the child as
|
|
4710
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child and
|
|
4711
|
+
the downstream step receives the re-joined parent (path mode) or the re-joined array (row
|
|
4712
|
+
mode) with every element enriched.
|
|
4713
|
+
- |-
|
|
4714
|
+
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
4715
|
+
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
4716
|
+
With the default batch size the template root is ``record``.
|
|
4714
4717
|
default: false
|
|
4715
4718
|
examples:
|
|
4716
4719
|
- true
|
|
@@ -4718,27 +4721,25 @@ components:
|
|
|
4718
4721
|
PathToMany:
|
|
4719
4722
|
type: string
|
|
4720
4723
|
description: |
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
This field must contain a valid JSON path expression using dot notation.
|
|
4724
|
+
Path to the array of child records inside an object record when `oneToMany` is true, in dot
|
|
4725
|
+
notation (`items`, `lines.lineItems`). Leave blank when the incoming record is itself an array
|
|
4726
|
+
(grouped or row-based data) — each element is then a child record. A path that does not resolve
|
|
4727
|
+
to an array processes zero records and reports success.
|
|
4728
|
+
x-celigo-ai-guidance:
|
|
4729
|
+
- |-
|
|
4730
|
+
Set this ONLY when the record entering the step is an object whose children sit under a field.
|
|
4731
|
+
On an array record (a ``groupByFields`` export, a CSV/file group, a script returning an array)
|
|
4732
|
+
any path resolves to nothing: the step processes ZERO children, builds no request, and reports
|
|
4733
|
+
success with no error. Live-verified 2026-09-10 — the failure is silent, so confirm the arriving
|
|
4734
|
+
record's shape (test run stage data, or the flow builder's input panel: ``rows`` means array).
|
|
4735
|
+
- |-
|
|
4736
|
+
Blank with an object record is the ``oneToMany_error`` failure ("Record at index 0 was not an
|
|
4737
|
+
array, and no PathToMany was provided"); blank with an array record is the correct row-based
|
|
4738
|
+
configuration. An empty string behaves exactly like an absent field.
|
|
4739
|
+
- |-
|
|
4740
|
+
Use the bare field name or dotted path (``lineItems``, ``details.items``), not a JSONPath
|
|
4741
|
+
expression. Each child in path mode carries ``_PARENT`` (the parent minus the array), so
|
|
4742
|
+
parent-level fields are read as ``{{record._PARENT.<field>}}``.
|
|
4742
4743
|
examples:
|
|
4743
4744
|
- items
|
|
4744
4745
|
- line_items
|
package/dist/export.yml
CHANGED
|
@@ -796,36 +796,39 @@ components:
|
|
|
796
796
|
OneToMany:
|
|
797
797
|
type: boolean
|
|
798
798
|
description: |
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
799
|
+
When true, the step runs once per child record instead of once per incoming record.
|
|
800
|
+
`pathToMany` names the array field that holds the children inside an object record; when
|
|
801
|
+
the incoming record is itself an array (grouped or row-based data), leave `pathToMany` blank
|
|
802
|
+
and each element becomes a record. The fan-out is scoped to this step: afterwards the children
|
|
803
|
+
are re-joined into the record's original shape — the object with its array, or the array of rows —
|
|
804
|
+
carrying any response-mapping enrichment, and that re-joined record is what the next step
|
|
805
|
+
receives. Not for locating records in an export's HTTP response; use
|
|
806
|
+
`http.response.resourcePath` for that.
|
|
807
|
+
x-celigo-ai-guidance:
|
|
808
|
+
- |-
|
|
809
|
+
Two modes, decided by the SHAPE of the record entering the step. Object record with a child
|
|
810
|
+
array under a field → set ``pathToMany`` to that field. Array record (a ``groupByFields``
|
|
811
|
+
export, a CSV/file group, a script that returns an array) → leave ``pathToMany`` blank; each
|
|
812
|
+
element becomes one record. Live-verified 2026-09-10 on flows, Tools, and APIs.
|
|
813
|
+
- |-
|
|
814
|
+
Blank ``pathToMany`` on an OBJECT record fails every record with code ``oneToMany_error``:
|
|
815
|
+
"Failed to extract child records from oneToMany import data. Record at index 0 was not an
|
|
816
|
+
array, and no PathToMany was provided". Builder previews return only the code, with no
|
|
817
|
+
message. The fix is never "turn oneToMany off" by default — first determine whether the
|
|
818
|
+
record arriving at the step is an object (set a path) or an array (blank is correct; a
|
|
819
|
+
preview error on an array-fed step is the preview panel re-applying one-to-many to the
|
|
820
|
+
already-fanned-out record — verify with a test run or a real run).
|
|
821
|
+
- |-
|
|
822
|
+
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
823
|
+
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
824
|
+
itself, with no ``_PARENT``. In both modes templates on the step reference the child as
|
|
825
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child and
|
|
826
|
+
the downstream step receives the re-joined parent (path mode) or the re-joined array (row
|
|
827
|
+
mode) with every element enriched.
|
|
828
|
+
- |-
|
|
829
|
+
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
830
|
+
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
831
|
+
With the default batch size the template root is ``record``.
|
|
829
832
|
default: false
|
|
830
833
|
examples:
|
|
831
834
|
- true
|
|
@@ -833,27 +836,25 @@ components:
|
|
|
833
836
|
PathToMany:
|
|
834
837
|
type: string
|
|
835
838
|
description: |
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
This field must contain a valid JSON path expression using dot notation.
|
|
839
|
+
Path to the array of child records inside an object record when `oneToMany` is true, in dot
|
|
840
|
+
notation (`items`, `lines.lineItems`). Leave blank when the incoming record is itself an array
|
|
841
|
+
(grouped or row-based data) — each element is then a child record. A path that does not resolve
|
|
842
|
+
to an array processes zero records and reports success.
|
|
843
|
+
x-celigo-ai-guidance:
|
|
844
|
+
- |-
|
|
845
|
+
Set this ONLY when the record entering the step is an object whose children sit under a field.
|
|
846
|
+
On an array record (a ``groupByFields`` export, a CSV/file group, a script returning an array)
|
|
847
|
+
any path resolves to nothing: the step processes ZERO children, builds no request, and reports
|
|
848
|
+
success with no error. Live-verified 2026-09-10 — the failure is silent, so confirm the arriving
|
|
849
|
+
record's shape (test run stage data, or the flow builder's input panel: ``rows`` means array).
|
|
850
|
+
- |-
|
|
851
|
+
Blank with an object record is the ``oneToMany_error`` failure ("Record at index 0 was not an
|
|
852
|
+
array, and no PathToMany was provided"); blank with an array record is the correct row-based
|
|
853
|
+
configuration. An empty string behaves exactly like an absent field.
|
|
854
|
+
- |-
|
|
855
|
+
Use the bare field name or dotted path (``lineItems``, ``details.items``), not a JSONPath
|
|
856
|
+
expression. Each child in path mode carries ``_PARENT`` (the parent minus the array), so
|
|
857
|
+
parent-level fields are read as ``{{record._PARENT.<field>}}``.
|
|
857
858
|
examples:
|
|
858
859
|
- items
|
|
859
860
|
- line_items
|
package/dist/import.yml
CHANGED
|
@@ -2016,14 +2016,22 @@ components:
|
|
|
2016
2016
|
### Pattern B — Batch / page wrapper around mapped records
|
|
2017
2017
|
|
|
2018
2018
|
Wrap an envelope (header, version, marketplace, etc.) around
|
|
2019
|
-
a serialized batch.
|
|
2020
|
-
``
|
|
2021
|
-
|
|
2019
|
+
a serialized batch. The template root depends ONLY on
|
|
2020
|
+
``batchSize`` (live-verified 2026-09-10): with ``batchSize`` 1
|
|
2021
|
+
(the default) the root carries ``record`` (an object record —
|
|
2022
|
+
or the fanned-out child on a ``oneToMany`` import) or ``rows``
|
|
2023
|
+
(a grouped/array record), and ``data`` is the one-element list
|
|
2024
|
+
of records in the request; with ``batchSize`` > 1 the root
|
|
2025
|
+
carries ``batch_of_records`` (one ``{record: …}`` item per
|
|
2026
|
+
record in the request) and ``data`` (the bare records), and
|
|
2027
|
+
``record`` / ``rows`` are ABSENT. ``oneToMany`` does not make
|
|
2028
|
+
``batch_of_records`` appear — children are batched after
|
|
2029
|
+
fan-out under the same rule.
|
|
2022
2030
|
|
|
2023
2031
|
Example shape:
|
|
2024
2032
|
``{"values": {{#each data}} {{{jsonSerialize this}}} {{/each}} }``
|
|
2025
2033
|
|
|
2026
|
-
Example with comma-separation:
|
|
2034
|
+
Example with comma-separation (``batchSize`` > 1):
|
|
2027
2035
|
``[{{#each batch_of_records}}{{{jsonSerialize this.record}}}{{#unless @last}},{{/unless}}{{/each}}]``
|
|
2028
2036
|
|
|
2029
2037
|
### Pattern C — Custom envelope with per-message fields
|
|
@@ -10290,36 +10298,39 @@ components:
|
|
|
10290
10298
|
OneToMany:
|
|
10291
10299
|
type: boolean
|
|
10292
10300
|
description: |
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10301
|
+
When true, the step runs once per child record instead of once per incoming record.
|
|
10302
|
+
`pathToMany` names the array field that holds the children inside an object record; when
|
|
10303
|
+
the incoming record is itself an array (grouped or row-based data), leave `pathToMany` blank
|
|
10304
|
+
and each element becomes a record. The fan-out is scoped to this step: afterwards the children
|
|
10305
|
+
are re-joined into the record's original shape — the object with its array, or the array of rows —
|
|
10306
|
+
carrying any response-mapping enrichment, and that re-joined record is what the next step
|
|
10307
|
+
receives. Not for locating records in an export's HTTP response; use
|
|
10308
|
+
`http.response.resourcePath` for that.
|
|
10309
|
+
x-celigo-ai-guidance:
|
|
10310
|
+
- |-
|
|
10311
|
+
Two modes, decided by the SHAPE of the record entering the step. Object record with a child
|
|
10312
|
+
array under a field → set ``pathToMany`` to that field. Array record (a ``groupByFields``
|
|
10313
|
+
export, a CSV/file group, a script that returns an array) → leave ``pathToMany`` blank; each
|
|
10314
|
+
element becomes one record. Live-verified 2026-09-10 on flows, Tools, and APIs.
|
|
10315
|
+
- |-
|
|
10316
|
+
Blank ``pathToMany`` on an OBJECT record fails every record with code ``oneToMany_error``:
|
|
10317
|
+
"Failed to extract child records from oneToMany import data. Record at index 0 was not an
|
|
10318
|
+
array, and no PathToMany was provided". Builder previews return only the code, with no
|
|
10319
|
+
message. The fix is never "turn oneToMany off" by default — first determine whether the
|
|
10320
|
+
record arriving at the step is an object (set a path) or an array (blank is correct; a
|
|
10321
|
+
preview error on an array-fed step is the preview panel re-applying one-to-many to the
|
|
10322
|
+
already-fanned-out record — verify with a test run or a real run).
|
|
10323
|
+
- |-
|
|
10324
|
+
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
10325
|
+
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
10326
|
+
itself, with no ``_PARENT``. In both modes templates on the step reference the child as
|
|
10327
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child and
|
|
10328
|
+
the downstream step receives the re-joined parent (path mode) or the re-joined array (row
|
|
10329
|
+
mode) with every element enriched.
|
|
10330
|
+
- |-
|
|
10331
|
+
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
10332
|
+
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
10333
|
+
With the default batch size the template root is ``record``.
|
|
10323
10334
|
default: false
|
|
10324
10335
|
examples:
|
|
10325
10336
|
- true
|
|
@@ -10327,27 +10338,25 @@ components:
|
|
|
10327
10338
|
PathToMany:
|
|
10328
10339
|
type: string
|
|
10329
10340
|
description: |
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
This field must contain a valid JSON path expression using dot notation.
|
|
10341
|
+
Path to the array of child records inside an object record when `oneToMany` is true, in dot
|
|
10342
|
+
notation (`items`, `lines.lineItems`). Leave blank when the incoming record is itself an array
|
|
10343
|
+
(grouped or row-based data) — each element is then a child record. A path that does not resolve
|
|
10344
|
+
to an array processes zero records and reports success.
|
|
10345
|
+
x-celigo-ai-guidance:
|
|
10346
|
+
- |-
|
|
10347
|
+
Set this ONLY when the record entering the step is an object whose children sit under a field.
|
|
10348
|
+
On an array record (a ``groupByFields`` export, a CSV/file group, a script returning an array)
|
|
10349
|
+
any path resolves to nothing: the step processes ZERO children, builds no request, and reports
|
|
10350
|
+
success with no error. Live-verified 2026-09-10 — the failure is silent, so confirm the arriving
|
|
10351
|
+
record's shape (test run stage data, or the flow builder's input panel: ``rows`` means array).
|
|
10352
|
+
- |-
|
|
10353
|
+
Blank with an object record is the ``oneToMany_error`` failure ("Record at index 0 was not an
|
|
10354
|
+
array, and no PathToMany was provided"); blank with an array record is the correct row-based
|
|
10355
|
+
configuration. An empty string behaves exactly like an absent field.
|
|
10356
|
+
- |-
|
|
10357
|
+
Use the bare field name or dotted path (``lineItems``, ``details.items``), not a JSONPath
|
|
10358
|
+
expression. Each child in path mode carries ``_PARENT`` (the parent minus the array), so
|
|
10359
|
+
parent-level fields are read as ``{{record._PARENT.<field>}}``.
|
|
10351
10360
|
examples:
|
|
10352
10361
|
- items
|
|
10353
10362
|
- line_items
|
package/dist/subscription.yml
CHANGED
|
@@ -133,14 +133,15 @@ paths:
|
|
|
133
133
|
tags:
|
|
134
134
|
- Subscription & Entitlements
|
|
135
135
|
description: |-
|
|
136
|
-
Returns entitlement usage for the
|
|
137
|
-
is consuming vs. what is entitled. Pair with `GET /v1/licenses` for the entitlement limits
|
|
136
|
+
Returns entitlement usage for the environment the request is made in -- how many resources it
|
|
137
|
+
is consuming vs. what is entitled. Pair with `GET /v1/licenses` for the entitlement limits;
|
|
138
|
+
the license's pricing model decides what the flow count means.
|
|
138
139
|
x-celigo-ai-guidance:
|
|
139
|
-
- Returns entitlement usage for the
|
|
140
|
+
- Returns entitlement usage for the requesting environment (consumption vs. entitlement, by usage category); environments are never netted against each other.
|
|
140
141
|
- |-
|
|
141
142
|
The response includes counts such as:
|
|
142
143
|
- endpoints consumed
|
|
143
|
-
- flows
|
|
144
|
+
- the flow meter (`flowUsage.numEnabled` — enabled flows, or the distinct flows that ran in the billing period, depending on the account's pricing model)
|
|
144
145
|
- agents active
|
|
145
146
|
- trading partners consumed
|
|
146
147
|
- environments enabled (for multi-environment licensing)
|
|
@@ -273,8 +274,12 @@ paths:
|
|
|
273
274
|
tags:
|
|
274
275
|
- Subscription & Entitlements
|
|
275
276
|
description: |-
|
|
276
|
-
Returns historical monthly usage for accounts
|
|
277
|
-
licenses)
|
|
277
|
+
Returns historical monthly usage for accounts whose pricing model meters flow runs (platform
|
|
278
|
+
licenses), newest month first; the current month's row can carry null usage until the meter
|
|
279
|
+
has processed. Useful for month-by-month trend analysis of usage vs. allocation. Not available
|
|
280
|
+
on plans that do not store monthly usage (endpoint and integrator licenses).
|
|
281
|
+
x-celigo-ai-guidance:
|
|
282
|
+
- On endpoint and integrator licenses the request currently fails with a 500 server error instead of returning an empty list; treat that as "this plan stores no monthly usage", not as an outage, and answer from `GET /v1/licenseEntitlementUsage` instead.
|
|
278
283
|
responses:
|
|
279
284
|
'200':
|
|
280
285
|
description: Historical monthly usage
|
|
@@ -382,7 +387,10 @@ components:
|
|
|
382
387
|
properties:
|
|
383
388
|
numEndpoints:
|
|
384
389
|
type: integer
|
|
385
|
-
description:
|
|
390
|
+
description: |-
|
|
391
|
+
Base number of endpoints (distinct connected applications) included with the plan, per
|
|
392
|
+
environment. Whether the count is taken from endpoints in use or from endpoints invoked
|
|
393
|
+
in the billing period depends on the account's pricing model.
|
|
386
394
|
example: 600
|
|
387
395
|
numAddOnEndpoints:
|
|
388
396
|
type: integer
|
|
@@ -390,7 +398,10 @@ components:
|
|
|
390
398
|
example: 0
|
|
391
399
|
numFlows:
|
|
392
400
|
type: integer
|
|
393
|
-
description:
|
|
401
|
+
description: |-
|
|
402
|
+
Base flow entitlement included with the plan, per environment. Whether it caps enabled
|
|
403
|
+
flows or the distinct flows run in a billing period — and whether reaching it blocks or
|
|
404
|
+
only notifies — depends on the account's pricing model.
|
|
394
405
|
example: 80
|
|
395
406
|
numAddOnFlows:
|
|
396
407
|
type: integer
|
|
@@ -435,6 +446,16 @@ components:
|
|
|
435
446
|
Licenses may represent:
|
|
436
447
|
- an account-level subscription (`type` is `integrator`, `platform`, or `endpoint`)
|
|
437
448
|
- a connector-specific license (`type` is `connector`, includes `_connectorId` / `_integrationId`)
|
|
449
|
+
- |-
|
|
450
|
+
The resource meters (flows, endpoints, on-premise agents, trading partners) apply per
|
|
451
|
+
environment: every environment is a separate account under the parent, each is metered
|
|
452
|
+
on its own, and headroom in one never offsets usage in another. Account-level grants —
|
|
453
|
+
the number of environments, prepaid AI balances, and the other non-resource fields —
|
|
454
|
+
belong to the parent license and are not repeated per environment.
|
|
455
|
+
- |-
|
|
456
|
+
What a flow or endpoint entitlement METERS depends on the account's pricing model
|
|
457
|
+
(`type` plus tier generation). Interpret the counts for the plan this account is on
|
|
458
|
+
only; do not infer the rule from field names.
|
|
438
459
|
properties:
|
|
439
460
|
_id:
|
|
440
461
|
type: string
|
|
@@ -472,9 +493,9 @@ components:
|
|
|
472
493
|
- integrationApp
|
|
473
494
|
- integrationAppChild
|
|
474
495
|
x-enumDescriptions:
|
|
475
|
-
integrator: Account-level subscription (integrator pricing model).
|
|
476
|
-
platform: Account-level subscription (platform pricing model).
|
|
477
|
-
endpoint: Account-level subscription (endpoint pricing model).
|
|
496
|
+
integrator: Account-level subscription (legacy integrator pricing model).
|
|
497
|
+
platform: Account-level subscription (platform pricing model; the tier name carries the plan generation).
|
|
498
|
+
endpoint: Account-level subscription (endpoint pricing model, metered on distinct endpoints).
|
|
478
499
|
connector: Connector-specific license for an Integration App.
|
|
479
500
|
integrationApp: Integration App license (parent).
|
|
480
501
|
integrationAppChild: Integration App child license (inherits from a parent via `_parentId`).
|
|
@@ -483,9 +504,13 @@ components:
|
|
|
483
504
|
description: When true, the account is licensed for CDC (change data capture) features.
|
|
484
505
|
tier:
|
|
485
506
|
type: string
|
|
486
|
-
description:
|
|
507
|
+
description: |-
|
|
508
|
+
Subscription tier name — the plan level the account is on. On `platform` licenses a year
|
|
509
|
+
marker in the name identifies the plan generation; the rest of the name is free-form
|
|
510
|
+
(packages, custom names).
|
|
487
511
|
x-celigo-ai-guidance:
|
|
488
|
-
- 'Examples: `free`, `standard`, `professional`, `enterprise`, `enterprise (2024)`.'
|
|
512
|
+
- 'Examples: `free`, `standard`, `professional`, `enterprise`, `enterprise (2024)`, `standard package (2024) - lite`.'
|
|
513
|
+
- Key pricing-model logic on `type` plus the year marker, never on the full tier string.
|
|
489
514
|
example: enterprise (2024)
|
|
490
515
|
supportTier:
|
|
491
516
|
type: string
|
|
@@ -897,11 +922,16 @@ components:
|
|
|
897
922
|
properties:
|
|
898
923
|
numEnabled:
|
|
899
924
|
type: integer
|
|
900
|
-
description:
|
|
925
|
+
description: |-
|
|
926
|
+
The flow meter for the requesting environment on the account's pricing model. The field
|
|
927
|
+
name reflects its legacy meaning (enabled flows); on plans that meter flow runs it is the
|
|
928
|
+
number of distinct flows that ran in the billing period — never a count of executions.
|
|
929
|
+
x-celigo-ai-guidance:
|
|
930
|
+
- Read the account license before interpreting this number — it is not the enabled-flow count on every plan, and enabled-but-idle flows may not appear in it.
|
|
901
931
|
example: 12
|
|
902
932
|
flows:
|
|
903
933
|
type: array
|
|
904
|
-
description: Flows contributing to
|
|
934
|
+
description: Flows contributing to the meter.
|
|
905
935
|
x-celigo-ai-guidance:
|
|
906
936
|
- List of flows contributing to usage (if provided).
|
|
907
937
|
items:
|
package/dist/tool.yml
CHANGED
|
@@ -10627,14 +10627,22 @@ components:
|
|
|
10627
10627
|
### Pattern B — Batch / page wrapper around mapped records
|
|
10628
10628
|
|
|
10629
10629
|
Wrap an envelope (header, version, marketplace, etc.) around
|
|
10630
|
-
a serialized batch.
|
|
10631
|
-
``
|
|
10632
|
-
|
|
10630
|
+
a serialized batch. The template root depends ONLY on
|
|
10631
|
+
``batchSize`` (live-verified 2026-09-10): with ``batchSize`` 1
|
|
10632
|
+
(the default) the root carries ``record`` (an object record —
|
|
10633
|
+
or the fanned-out child on a ``oneToMany`` import) or ``rows``
|
|
10634
|
+
(a grouped/array record), and ``data`` is the one-element list
|
|
10635
|
+
of records in the request; with ``batchSize`` > 1 the root
|
|
10636
|
+
carries ``batch_of_records`` (one ``{record: …}`` item per
|
|
10637
|
+
record in the request) and ``data`` (the bare records), and
|
|
10638
|
+
``record`` / ``rows`` are ABSENT. ``oneToMany`` does not make
|
|
10639
|
+
``batch_of_records`` appear — children are batched after
|
|
10640
|
+
fan-out under the same rule.
|
|
10633
10641
|
|
|
10634
10642
|
Example shape:
|
|
10635
10643
|
``{"values": {{#each data}} {{{jsonSerialize this}}} {{/each}} }``
|
|
10636
10644
|
|
|
10637
|
-
Example with comma-separation:
|
|
10645
|
+
Example with comma-separation (``batchSize`` > 1):
|
|
10638
10646
|
``[{{#each batch_of_records}}{{{jsonSerialize this.record}}}{{#unless @last}},{{/unless}}{{/each}}]``
|
|
10639
10647
|
|
|
10640
10648
|
### Pattern C — Custom envelope with per-message fields
|
|
@@ -18632,36 +18640,39 @@ components:
|
|
|
18632
18640
|
OneToMany:
|
|
18633
18641
|
type: boolean
|
|
18634
18642
|
description: |
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
|
|
18646
|
-
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
-
|
|
18650
|
-
|
|
18651
|
-
|
|
18652
|
-
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18643
|
+
When true, the step runs once per child record instead of once per incoming record.
|
|
18644
|
+
`pathToMany` names the array field that holds the children inside an object record; when
|
|
18645
|
+
the incoming record is itself an array (grouped or row-based data), leave `pathToMany` blank
|
|
18646
|
+
and each element becomes a record. The fan-out is scoped to this step: afterwards the children
|
|
18647
|
+
are re-joined into the record's original shape — the object with its array, or the array of rows —
|
|
18648
|
+
carrying any response-mapping enrichment, and that re-joined record is what the next step
|
|
18649
|
+
receives. Not for locating records in an export's HTTP response; use
|
|
18650
|
+
`http.response.resourcePath` for that.
|
|
18651
|
+
x-celigo-ai-guidance:
|
|
18652
|
+
- |-
|
|
18653
|
+
Two modes, decided by the SHAPE of the record entering the step. Object record with a child
|
|
18654
|
+
array under a field → set ``pathToMany`` to that field. Array record (a ``groupByFields``
|
|
18655
|
+
export, a CSV/file group, a script that returns an array) → leave ``pathToMany`` blank; each
|
|
18656
|
+
element becomes one record. Live-verified 2026-09-10 on flows, Tools, and APIs.
|
|
18657
|
+
- |-
|
|
18658
|
+
Blank ``pathToMany`` on an OBJECT record fails every record with code ``oneToMany_error``:
|
|
18659
|
+
"Failed to extract child records from oneToMany import data. Record at index 0 was not an
|
|
18660
|
+
array, and no PathToMany was provided". Builder previews return only the code, with no
|
|
18661
|
+
message. The fix is never "turn oneToMany off" by default — first determine whether the
|
|
18662
|
+
record arriving at the step is an object (set a path) or an array (blank is correct; a
|
|
18663
|
+
preview error on an array-fed step is the preview panel re-applying one-to-many to the
|
|
18664
|
+
already-fanned-out record — verify with a test run or a real run).
|
|
18665
|
+
- |-
|
|
18666
|
+
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
18667
|
+
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
18668
|
+
itself, with no ``_PARENT``. In both modes templates on the step reference the child as
|
|
18669
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child and
|
|
18670
|
+
the downstream step receives the re-joined parent (path mode) or the re-joined array (row
|
|
18671
|
+
mode) with every element enriched.
|
|
18672
|
+
- |-
|
|
18673
|
+
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
18674
|
+
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
18675
|
+
With the default batch size the template root is ``record``.
|
|
18665
18676
|
default: false
|
|
18666
18677
|
examples:
|
|
18667
18678
|
- true
|
|
@@ -18669,27 +18680,25 @@ components:
|
|
|
18669
18680
|
PathToMany:
|
|
18670
18681
|
type: string
|
|
18671
18682
|
description: |
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
18675
|
-
|
|
18676
|
-
|
|
18677
|
-
-
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
-
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18692
|
-
This field must contain a valid JSON path expression using dot notation.
|
|
18683
|
+
Path to the array of child records inside an object record when `oneToMany` is true, in dot
|
|
18684
|
+
notation (`items`, `lines.lineItems`). Leave blank when the incoming record is itself an array
|
|
18685
|
+
(grouped or row-based data) — each element is then a child record. A path that does not resolve
|
|
18686
|
+
to an array processes zero records and reports success.
|
|
18687
|
+
x-celigo-ai-guidance:
|
|
18688
|
+
- |-
|
|
18689
|
+
Set this ONLY when the record entering the step is an object whose children sit under a field.
|
|
18690
|
+
On an array record (a ``groupByFields`` export, a CSV/file group, a script returning an array)
|
|
18691
|
+
any path resolves to nothing: the step processes ZERO children, builds no request, and reports
|
|
18692
|
+
success with no error. Live-verified 2026-09-10 — the failure is silent, so confirm the arriving
|
|
18693
|
+
record's shape (test run stage data, or the flow builder's input panel: ``rows`` means array).
|
|
18694
|
+
- |-
|
|
18695
|
+
Blank with an object record is the ``oneToMany_error`` failure ("Record at index 0 was not an
|
|
18696
|
+
array, and no PathToMany was provided"); blank with an array record is the correct row-based
|
|
18697
|
+
configuration. An empty string behaves exactly like an absent field.
|
|
18698
|
+
- |-
|
|
18699
|
+
Use the bare field name or dotted path (``lineItems``, ``details.items``), not a JSONPath
|
|
18700
|
+
expression. Each child in path mode carries ``_PARENT`` (the parent minus the array), so
|
|
18701
|
+
parent-level fields are read as ``{{record._PARENT.<field>}}``.
|
|
18693
18702
|
examples:
|
|
18694
18703
|
- items
|
|
18695
18704
|
- line_items
|
package/package.json
CHANGED