@celigo/api-specs 0.2.254 → 0.2.256
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/filedefinition.yml +7 -0
- package/dist/import.yml +53 -23
- package/dist/tool.yml +53 -23
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/filedefinition.yml
CHANGED
|
@@ -1015,6 +1015,13 @@ components:
|
|
|
1015
1015
|
'2': Updated file definition schema version with breaking changes.
|
|
1016
1016
|
description: |
|
|
1017
1017
|
Schema version of the file definition. Only incremented for breaking changes.
|
|
1018
|
+
x-celigo-ai-guidance:
|
|
1019
|
+
- |-
|
|
1020
|
+
Send it on every create and every full replace: a body without it fails with 422
|
|
1021
|
+
"File definition should have version field set." on delimited, fixed-width, X12 and
|
|
1022
|
+
EDIFACT definitions alike. The server stores either value on every format; the
|
|
1023
|
+
create examples send "1" for delimited and fixed-width definitions, and the X12
|
|
1024
|
+
definitions in the list, read and replace examples carry "2".
|
|
1018
1025
|
examples:
|
|
1019
1026
|
- '1'
|
|
1020
1027
|
- '2'
|
package/dist/import.yml
CHANGED
|
@@ -4547,8 +4547,10 @@ components:
|
|
|
4547
4547
|
is evaluated once per line and drives the iteration by
|
|
4548
4548
|
itself; the mapping preview
|
|
4549
4549
|
(`PUT /v1/netsuiteDA/previewImportMappingFields`) renders
|
|
4550
|
-
every form per line
|
|
4551
|
-
|
|
4550
|
+
every form per line (a lookup `expression` opening
|
|
4551
|
+
with a block-helper line path on the sublist's FIRST
|
|
4552
|
+
row is the one exception — see
|
|
4553
|
+
`netsuite_da.lookups[].expression`). An empty render
|
|
4552
4554
|
is sent as an empty value unless `discardIfEmpty` omits
|
|
4553
4555
|
the field; in the preview, a sublist whose only row renders
|
|
4554
4556
|
empty for a line omits that line from the output, while
|
|
@@ -5012,25 +5014,52 @@ components:
|
|
|
5012
5014
|
for the field: $.<path>` — and resolves to `default` when
|
|
5013
5015
|
`allowFailures` is true.
|
|
5014
5016
|
- |-
|
|
5015
|
-
##
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5017
|
+
## A block-helper `[*]` lookup expression on the FIRST sublist row drops the whole sublist
|
|
5018
|
+
|
|
5019
|
+
The NetSuite-side mapper derives a sublist's line path
|
|
5020
|
+
from the raw text of the sublist mapping's FIRST row.
|
|
5021
|
+
When that row resolves through a lookup whose expression
|
|
5022
|
+
OPENS with a line path inside a block-helper argument
|
|
5023
|
+
(`{{#if line_items[*].sku}}…`, `{{#contains
|
|
5024
|
+
line_items[*].sku "_"}}…`), the derived path keeps the
|
|
5025
|
+
helper that opened the expression (`$.#if line_items[*]`,
|
|
5026
|
+
`$.#contains line_items[*]`), matches no line, and the
|
|
5027
|
+
whole sublist is skipped with no error: the record posts
|
|
5028
|
+
with an empty sublist and no lookup error. This is
|
|
5029
|
+
platform defect IO-233896 (fix version 2027.1.1), which
|
|
5030
|
+
reaches the mapping preview
|
|
5031
|
+
(`PUT /v1/netsuiteDA/previewImportMappingFields`) in every
|
|
5032
|
+
case and the RUNTIME on the legacy SuiteScript mapper —
|
|
5033
|
+
observed on a `restletVersion: suitebundle` import's
|
|
5034
|
+
runs; the ticket names `suiteapp1.0` as the same mapper
|
|
5035
|
+
(not probed here); whether `suiteapp2.0` is affected was
|
|
5036
|
+
not confirmed with a flow run. The fix is the row order:
|
|
5037
|
+
place a plain
|
|
5038
|
+
`<array>[*].<field>` row (Items : Quantity) above the
|
|
5039
|
+
lookup's row in the sublist mapping — with the lookup no
|
|
5040
|
+
longer first, the same expression is evaluated per line
|
|
5041
|
+
as written (the preview resolves internal ids into
|
|
5042
|
+
`nlobjSublistIds`, misses into `mappingErrors[]`, beside
|
|
5043
|
+
`jsObjects` under `data.returnedObjects`). A rewrite that
|
|
5044
|
+
leads with a plain substitution
|
|
5045
|
+
(`{{{line_items[*].sku}}}{{#unless line_items[*].sku}}…
|
|
5046
|
+
{{/unless}}`) avoids the bad path too, because the first
|
|
5047
|
+
line path is no longer a helper argument — but it is a
|
|
5048
|
+
different expression, and its rendered search string
|
|
5049
|
+
still has to be checked. The shape alone decides nothing:
|
|
5050
|
+
test the saved order through the preview and, when the
|
|
5051
|
+
sublist comes back empty with no error, the same
|
|
5052
|
+
expression with a plain line row moved to the front — a
|
|
5053
|
+
reordered run that resolves or misses per line locates
|
|
5054
|
+
the defect and proves the reorder. Never report an empty
|
|
5055
|
+
preview as "renders nothing" or as the expression being
|
|
5056
|
+
invalid; a sublist empty in BOTH orders leaves the test
|
|
5057
|
+
inconclusive. An expression the resource's change history
|
|
5058
|
+
shows set and then reverted was already tried on that
|
|
5059
|
+
account — name it so, never re-recommend it. `<array>.@index.<field>`
|
|
5060
|
+
dropped the record with no error where observed. A
|
|
5061
|
+
mapping row's `extract` with the same block-helper shape
|
|
5062
|
+
is rendered per line — see
|
|
5034
5063
|
`netsuite_da.mapping.lists[].fields[].extract`.
|
|
5035
5064
|
- |-
|
|
5036
5065
|
## The engine's helper set is the installed bundle's
|
|
@@ -5052,8 +5081,9 @@ components:
|
|
|
5052
5081
|
list is proven only by the preview. On that error switch to a
|
|
5053
5082
|
helper the engine has, never retry the same one; the preview
|
|
5054
5083
|
is the check for an expression it evaluates (the forms
|
|
5055
|
-
above), and a block-
|
|
5056
|
-
|
|
5084
|
+
above), and a block-first `[*]` lookup expression on the
|
|
5085
|
+
sublist's first row is checked in both row orders (the
|
|
5086
|
+
section above).
|
|
5057
5087
|
operator:
|
|
5058
5088
|
type: string
|
|
5059
5089
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -16933,8 +16933,10 @@ components:
|
|
|
16933
16933
|
is evaluated once per line and drives the iteration by
|
|
16934
16934
|
itself; the mapping preview
|
|
16935
16935
|
(`PUT /v1/netsuiteDA/previewImportMappingFields`) renders
|
|
16936
|
-
every form per line
|
|
16937
|
-
|
|
16936
|
+
every form per line (a lookup `expression` opening
|
|
16937
|
+
with a block-helper line path on the sublist's FIRST
|
|
16938
|
+
row is the one exception — see
|
|
16939
|
+
`netsuite_da.lookups[].expression`). An empty render
|
|
16938
16940
|
is sent as an empty value unless `discardIfEmpty` omits
|
|
16939
16941
|
the field; in the preview, a sublist whose only row renders
|
|
16940
16942
|
empty for a line omits that line from the output, while
|
|
@@ -17398,25 +17400,52 @@ components:
|
|
|
17398
17400
|
for the field: $.<path>` — and resolves to `default` when
|
|
17399
17401
|
`allowFailures` is true.
|
|
17400
17402
|
- |-
|
|
17401
|
-
##
|
|
17402
|
-
|
|
17403
|
-
|
|
17404
|
-
|
|
17405
|
-
|
|
17406
|
-
|
|
17407
|
-
|
|
17408
|
-
|
|
17409
|
-
|
|
17410
|
-
|
|
17411
|
-
|
|
17412
|
-
|
|
17413
|
-
|
|
17414
|
-
|
|
17415
|
-
|
|
17416
|
-
|
|
17417
|
-
|
|
17418
|
-
|
|
17419
|
-
|
|
17403
|
+
## A block-helper `[*]` lookup expression on the FIRST sublist row drops the whole sublist
|
|
17404
|
+
|
|
17405
|
+
The NetSuite-side mapper derives a sublist's line path
|
|
17406
|
+
from the raw text of the sublist mapping's FIRST row.
|
|
17407
|
+
When that row resolves through a lookup whose expression
|
|
17408
|
+
OPENS with a line path inside a block-helper argument
|
|
17409
|
+
(`{{#if line_items[*].sku}}…`, `{{#contains
|
|
17410
|
+
line_items[*].sku "_"}}…`), the derived path keeps the
|
|
17411
|
+
helper that opened the expression (`$.#if line_items[*]`,
|
|
17412
|
+
`$.#contains line_items[*]`), matches no line, and the
|
|
17413
|
+
whole sublist is skipped with no error: the record posts
|
|
17414
|
+
with an empty sublist and no lookup error. This is
|
|
17415
|
+
platform defect IO-233896 (fix version 2027.1.1), which
|
|
17416
|
+
reaches the mapping preview
|
|
17417
|
+
(`PUT /v1/netsuiteDA/previewImportMappingFields`) in every
|
|
17418
|
+
case and the RUNTIME on the legacy SuiteScript mapper —
|
|
17419
|
+
observed on a `restletVersion: suitebundle` import's
|
|
17420
|
+
runs; the ticket names `suiteapp1.0` as the same mapper
|
|
17421
|
+
(not probed here); whether `suiteapp2.0` is affected was
|
|
17422
|
+
not confirmed with a flow run. The fix is the row order:
|
|
17423
|
+
place a plain
|
|
17424
|
+
`<array>[*].<field>` row (Items : Quantity) above the
|
|
17425
|
+
lookup's row in the sublist mapping — with the lookup no
|
|
17426
|
+
longer first, the same expression is evaluated per line
|
|
17427
|
+
as written (the preview resolves internal ids into
|
|
17428
|
+
`nlobjSublistIds`, misses into `mappingErrors[]`, beside
|
|
17429
|
+
`jsObjects` under `data.returnedObjects`). A rewrite that
|
|
17430
|
+
leads with a plain substitution
|
|
17431
|
+
(`{{{line_items[*].sku}}}{{#unless line_items[*].sku}}…
|
|
17432
|
+
{{/unless}}`) avoids the bad path too, because the first
|
|
17433
|
+
line path is no longer a helper argument — but it is a
|
|
17434
|
+
different expression, and its rendered search string
|
|
17435
|
+
still has to be checked. The shape alone decides nothing:
|
|
17436
|
+
test the saved order through the preview and, when the
|
|
17437
|
+
sublist comes back empty with no error, the same
|
|
17438
|
+
expression with a plain line row moved to the front — a
|
|
17439
|
+
reordered run that resolves or misses per line locates
|
|
17440
|
+
the defect and proves the reorder. Never report an empty
|
|
17441
|
+
preview as "renders nothing" or as the expression being
|
|
17442
|
+
invalid; a sublist empty in BOTH orders leaves the test
|
|
17443
|
+
inconclusive. An expression the resource's change history
|
|
17444
|
+
shows set and then reverted was already tried on that
|
|
17445
|
+
account — name it so, never re-recommend it. `<array>.@index.<field>`
|
|
17446
|
+
dropped the record with no error where observed. A
|
|
17447
|
+
mapping row's `extract` with the same block-helper shape
|
|
17448
|
+
is rendered per line — see
|
|
17420
17449
|
`netsuite_da.mapping.lists[].fields[].extract`.
|
|
17421
17450
|
- |-
|
|
17422
17451
|
## The engine's helper set is the installed bundle's
|
|
@@ -17438,8 +17467,9 @@ components:
|
|
|
17438
17467
|
list is proven only by the preview. On that error switch to a
|
|
17439
17468
|
helper the engine has, never retry the same one; the preview
|
|
17440
17469
|
is the check for an expression it evaluates (the forms
|
|
17441
|
-
above), and a block-
|
|
17442
|
-
|
|
17470
|
+
above), and a block-first `[*]` lookup expression on the
|
|
17471
|
+
sublist's first row is checked in both row orders (the
|
|
17472
|
+
section above).
|
|
17443
17473
|
operator:
|
|
17444
17474
|
type: string
|
|
17445
17475
|
description: |-
|
package/package.json
CHANGED