@celigo/api-specs 0.2.234 → 0.2.236
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 +18 -11
- package/dist/api.yml +18 -11
- package/dist/asynchelper.yml +18 -11
- package/dist/export.yml +30 -15
- package/dist/import.yml +45 -24
- package/dist/tool.yml +57 -28
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/ai-agent.yml
CHANGED
|
@@ -5514,11 +5514,14 @@ components:
|
|
|
5514
5514
|
- 'null'
|
|
5515
5515
|
description: |
|
|
5516
5516
|
Default value to use when the source value is not found in the lookup map.
|
|
5517
|
-
|
|
5517
|
+
`""`, `null` and an absent key are three stored states — the mapper's
|
|
5518
|
+
*Use empty string as default value*, *Use null as default value* and
|
|
5519
|
+
*Do nothing* — kept apart on save and read back as written; on an allowed
|
|
5520
|
+
miss of a static map they write `""`, write `null`, or leave the field out.
|
|
5518
5521
|
|
|
5519
5522
|
This value is used as a fallback when:
|
|
5520
5523
|
1. The source value doesn't match any key in the map
|
|
5521
|
-
2. allowFailures is true or omitted
|
|
5524
|
+
2. allowFailures is true, or omitted on a static map
|
|
5522
5525
|
|
|
5523
5526
|
Setting an appropriate default helps prevent flow failures due to unexpected
|
|
5524
5527
|
values and provides predictable behavior for edge cases.
|
|
@@ -5528,10 +5531,12 @@ components:
|
|
|
5528
5531
|
- Original value indicators: "{Original Value}", "No mapping found"
|
|
5529
5532
|
- Neutral values: "Other", "N/A", "Miscellaneous"
|
|
5530
5533
|
|
|
5531
|
-
A save refuses a default together with an explicit
|
|
5532
|
-
(422 `Lookups with default set can not have
|
|
5533
|
-
|
|
5534
|
-
|
|
5534
|
+
A save refuses a non-empty default together with an explicit
|
|
5535
|
+
`allowFailures: false` (422 `Lookups with default set can not have
|
|
5536
|
+
allowFailures explicitly set to false.`). `allowFailures: false` fails the
|
|
5537
|
+
miss even when `""` or `null` is stored (a static map: `lookup_error`,
|
|
5538
|
+
nothing written); the default is used only on an allowed miss
|
|
5539
|
+
(`allowFailures` true, or omitted on a static map).
|
|
5535
5540
|
examples:
|
|
5536
5541
|
- Unknown
|
|
5537
5542
|
- Other
|
|
@@ -5539,8 +5544,8 @@ components:
|
|
|
5539
5544
|
- Unmapped Value
|
|
5540
5545
|
- '{Original Value}'
|
|
5541
5546
|
x-celigo-ai-guidance:
|
|
5542
|
-
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss writes `""`.'
|
|
5543
|
-
-
|
|
5547
|
+
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a non-empty default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
5548
|
+
- On an allowed miss (`allowFailures` true, or omitted on a static map) a default sends every unmapped value with no error, so add the missing key to the map when the destination needs the real value; keys match the extracted value exactly (case, spacing and suffixes count), and a save replaces the whole map.
|
|
5544
5549
|
allowFailures:
|
|
5545
5550
|
type:
|
|
5546
5551
|
- boolean
|
|
@@ -5571,9 +5576,11 @@ components:
|
|
|
5571
5576
|
- All possible source values are known and controlled
|
|
5572
5577
|
- Missing mappings indicate serious data problems that should be addressed
|
|
5573
5578
|
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5579
|
+
On an allowed miss (`allowFailures` true, or omitted on a static map) a default
|
|
5580
|
+
raises no error: records that miss go out with the default value and nothing
|
|
5581
|
+
reports them. Use true only when that fallback is acceptable at the destination,
|
|
5582
|
+
and set false explicitly when a missing value must stop the record — on a static
|
|
5583
|
+
map, false fails the miss even when `""` or `null` is stored as the default.
|
|
5577
5584
|
examples:
|
|
5578
5585
|
- true
|
|
5579
5586
|
- false
|
package/dist/api.yml
CHANGED
|
@@ -5006,11 +5006,14 @@ components:
|
|
|
5006
5006
|
- 'null'
|
|
5007
5007
|
description: |
|
|
5008
5008
|
Default value to use when the source value is not found in the lookup map.
|
|
5009
|
-
|
|
5009
|
+
`""`, `null` and an absent key are three stored states — the mapper's
|
|
5010
|
+
*Use empty string as default value*, *Use null as default value* and
|
|
5011
|
+
*Do nothing* — kept apart on save and read back as written; on an allowed
|
|
5012
|
+
miss of a static map they write `""`, write `null`, or leave the field out.
|
|
5010
5013
|
|
|
5011
5014
|
This value is used as a fallback when:
|
|
5012
5015
|
1. The source value doesn't match any key in the map
|
|
5013
|
-
2. allowFailures is true or omitted
|
|
5016
|
+
2. allowFailures is true, or omitted on a static map
|
|
5014
5017
|
|
|
5015
5018
|
Setting an appropriate default helps prevent flow failures due to unexpected
|
|
5016
5019
|
values and provides predictable behavior for edge cases.
|
|
@@ -5020,10 +5023,12 @@ components:
|
|
|
5020
5023
|
- Original value indicators: "{Original Value}", "No mapping found"
|
|
5021
5024
|
- Neutral values: "Other", "N/A", "Miscellaneous"
|
|
5022
5025
|
|
|
5023
|
-
A save refuses a default together with an explicit
|
|
5024
|
-
(422 `Lookups with default set can not have
|
|
5025
|
-
|
|
5026
|
-
|
|
5026
|
+
A save refuses a non-empty default together with an explicit
|
|
5027
|
+
`allowFailures: false` (422 `Lookups with default set can not have
|
|
5028
|
+
allowFailures explicitly set to false.`). `allowFailures: false` fails the
|
|
5029
|
+
miss even when `""` or `null` is stored (a static map: `lookup_error`,
|
|
5030
|
+
nothing written); the default is used only on an allowed miss
|
|
5031
|
+
(`allowFailures` true, or omitted on a static map).
|
|
5027
5032
|
examples:
|
|
5028
5033
|
- Unknown
|
|
5029
5034
|
- Other
|
|
@@ -5031,8 +5036,8 @@ components:
|
|
|
5031
5036
|
- Unmapped Value
|
|
5032
5037
|
- '{Original Value}'
|
|
5033
5038
|
x-celigo-ai-guidance:
|
|
5034
|
-
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss writes `""`.'
|
|
5035
|
-
-
|
|
5039
|
+
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a non-empty default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
5040
|
+
- On an allowed miss (`allowFailures` true, or omitted on a static map) a default sends every unmapped value with no error, so add the missing key to the map when the destination needs the real value; keys match the extracted value exactly (case, spacing and suffixes count), and a save replaces the whole map.
|
|
5036
5041
|
allowFailures:
|
|
5037
5042
|
type:
|
|
5038
5043
|
- boolean
|
|
@@ -5063,9 +5068,11 @@ components:
|
|
|
5063
5068
|
- All possible source values are known and controlled
|
|
5064
5069
|
- Missing mappings indicate serious data problems that should be addressed
|
|
5065
5070
|
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5071
|
+
On an allowed miss (`allowFailures` true, or omitted on a static map) a default
|
|
5072
|
+
raises no error: records that miss go out with the default value and nothing
|
|
5073
|
+
reports them. Use true only when that fallback is acceptable at the destination,
|
|
5074
|
+
and set false explicitly when a missing value must stop the record — on a static
|
|
5075
|
+
map, false fails the miss even when `""` or `null` is stored as the default.
|
|
5069
5076
|
examples:
|
|
5070
5077
|
- true
|
|
5071
5078
|
- false
|
package/dist/asynchelper.yml
CHANGED
|
@@ -2901,11 +2901,14 @@ components:
|
|
|
2901
2901
|
- 'null'
|
|
2902
2902
|
description: |
|
|
2903
2903
|
Default value to use when the source value is not found in the lookup map.
|
|
2904
|
-
|
|
2904
|
+
`""`, `null` and an absent key are three stored states — the mapper's
|
|
2905
|
+
*Use empty string as default value*, *Use null as default value* and
|
|
2906
|
+
*Do nothing* — kept apart on save and read back as written; on an allowed
|
|
2907
|
+
miss of a static map they write `""`, write `null`, or leave the field out.
|
|
2905
2908
|
|
|
2906
2909
|
This value is used as a fallback when:
|
|
2907
2910
|
1. The source value doesn't match any key in the map
|
|
2908
|
-
2. allowFailures is true or omitted
|
|
2911
|
+
2. allowFailures is true, or omitted on a static map
|
|
2909
2912
|
|
|
2910
2913
|
Setting an appropriate default helps prevent flow failures due to unexpected
|
|
2911
2914
|
values and provides predictable behavior for edge cases.
|
|
@@ -2915,10 +2918,12 @@ components:
|
|
|
2915
2918
|
- Original value indicators: "{Original Value}", "No mapping found"
|
|
2916
2919
|
- Neutral values: "Other", "N/A", "Miscellaneous"
|
|
2917
2920
|
|
|
2918
|
-
A save refuses a default together with an explicit
|
|
2919
|
-
(422 `Lookups with default set can not have
|
|
2920
|
-
|
|
2921
|
-
|
|
2921
|
+
A save refuses a non-empty default together with an explicit
|
|
2922
|
+
`allowFailures: false` (422 `Lookups with default set can not have
|
|
2923
|
+
allowFailures explicitly set to false.`). `allowFailures: false` fails the
|
|
2924
|
+
miss even when `""` or `null` is stored (a static map: `lookup_error`,
|
|
2925
|
+
nothing written); the default is used only on an allowed miss
|
|
2926
|
+
(`allowFailures` true, or omitted on a static map).
|
|
2922
2927
|
examples:
|
|
2923
2928
|
- Unknown
|
|
2924
2929
|
- Other
|
|
@@ -2926,8 +2931,8 @@ components:
|
|
|
2926
2931
|
- Unmapped Value
|
|
2927
2932
|
- '{Original Value}'
|
|
2928
2933
|
x-celigo-ai-guidance:
|
|
2929
|
-
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss writes `""`.'
|
|
2930
|
-
-
|
|
2934
|
+
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a non-empty default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
2935
|
+
- On an allowed miss (`allowFailures` true, or omitted on a static map) a default sends every unmapped value with no error, so add the missing key to the map when the destination needs the real value; keys match the extracted value exactly (case, spacing and suffixes count), and a save replaces the whole map.
|
|
2931
2936
|
allowFailures:
|
|
2932
2937
|
type:
|
|
2933
2938
|
- boolean
|
|
@@ -2958,9 +2963,11 @@ components:
|
|
|
2958
2963
|
- All possible source values are known and controlled
|
|
2959
2964
|
- Missing mappings indicate serious data problems that should be addressed
|
|
2960
2965
|
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2966
|
+
On an allowed miss (`allowFailures` true, or omitted on a static map) a default
|
|
2967
|
+
raises no error: records that miss go out with the default value and nothing
|
|
2968
|
+
reports them. Use true only when that fallback is acceptable at the destination,
|
|
2969
|
+
and set false explicitly when a missing value must stop the record — on a static
|
|
2970
|
+
map, false fails the miss even when `""` or `null` is stored as the default.
|
|
2964
2971
|
examples:
|
|
2965
2972
|
- true
|
|
2966
2973
|
- false
|
package/dist/export.yml
CHANGED
|
@@ -15218,11 +15218,14 @@ components:
|
|
|
15218
15218
|
- 'null'
|
|
15219
15219
|
description: |
|
|
15220
15220
|
Default value to use when the source value is not found in the lookup map.
|
|
15221
|
-
|
|
15221
|
+
`""`, `null` and an absent key are three stored states — the mapper's
|
|
15222
|
+
*Use empty string as default value*, *Use null as default value* and
|
|
15223
|
+
*Do nothing* — kept apart on save and read back as written; on an allowed
|
|
15224
|
+
miss of a static map they write `""`, write `null`, or leave the field out.
|
|
15222
15225
|
|
|
15223
15226
|
This value is used as a fallback when:
|
|
15224
15227
|
1. The source value doesn't match any key in the map
|
|
15225
|
-
2. allowFailures is true or omitted
|
|
15228
|
+
2. allowFailures is true, or omitted on a static map
|
|
15226
15229
|
|
|
15227
15230
|
Setting an appropriate default helps prevent flow failures due to unexpected
|
|
15228
15231
|
values and provides predictable behavior for edge cases.
|
|
@@ -15232,10 +15235,12 @@ components:
|
|
|
15232
15235
|
- Original value indicators: "{Original Value}", "No mapping found"
|
|
15233
15236
|
- Neutral values: "Other", "N/A", "Miscellaneous"
|
|
15234
15237
|
|
|
15235
|
-
A save refuses a default together with an explicit
|
|
15236
|
-
(422 `Lookups with default set can not have
|
|
15237
|
-
|
|
15238
|
-
|
|
15238
|
+
A save refuses a non-empty default together with an explicit
|
|
15239
|
+
`allowFailures: false` (422 `Lookups with default set can not have
|
|
15240
|
+
allowFailures explicitly set to false.`). `allowFailures: false` fails the
|
|
15241
|
+
miss even when `""` or `null` is stored (a static map: `lookup_error`,
|
|
15242
|
+
nothing written); the default is used only on an allowed miss
|
|
15243
|
+
(`allowFailures` true, or omitted on a static map).
|
|
15239
15244
|
examples:
|
|
15240
15245
|
- Unknown
|
|
15241
15246
|
- Other
|
|
@@ -15243,8 +15248,8 @@ components:
|
|
|
15243
15248
|
- Unmapped Value
|
|
15244
15249
|
- '{Original Value}'
|
|
15245
15250
|
x-celigo-ai-guidance:
|
|
15246
|
-
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss writes `""`.'
|
|
15247
|
-
-
|
|
15251
|
+
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a non-empty default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
15252
|
+
- On an allowed miss (`allowFailures` true, or omitted on a static map) a default sends every unmapped value with no error, so add the missing key to the map when the destination needs the real value; keys match the extracted value exactly (case, spacing and suffixes count), and a save replaces the whole map.
|
|
15248
15253
|
allowFailures:
|
|
15249
15254
|
type:
|
|
15250
15255
|
- boolean
|
|
@@ -15275,9 +15280,11 @@ components:
|
|
|
15275
15280
|
- All possible source values are known and controlled
|
|
15276
15281
|
- Missing mappings indicate serious data problems that should be addressed
|
|
15277
15282
|
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15283
|
+
On an allowed miss (`allowFailures` true, or omitted on a static map) a default
|
|
15284
|
+
raises no error: records that miss go out with the default value and nothing
|
|
15285
|
+
reports them. Use true only when that fallback is acceptable at the destination,
|
|
15286
|
+
and set false explicitly when a missing value must stop the record — on a static
|
|
15287
|
+
map, false fails the miss even when `""` or `null` is stored as the default.
|
|
15281
15288
|
examples:
|
|
15282
15289
|
- true
|
|
15283
15290
|
- false
|
|
@@ -16884,10 +16891,18 @@ components:
|
|
|
16884
16891
|
`webhook` object when `type` is `webhook`); an HTTP or SQL `delta` export saves without a
|
|
16885
16892
|
`delta` object because its request carries `{{lastExportDateTime}}`, though
|
|
16886
16893
|
`delta.startDate` sets its first window. It still needs `type: delta`: on an export
|
|
16887
|
-
with no `type`, `{{lastExportDateTime}}` and `{{currentExportDateTime}}` render
|
|
16888
|
-
empty on every run, so a request that carries them goes out with blank values each
|
|
16889
|
-
|
|
16890
|
-
|
|
16894
|
+
with no `type` (or `all`, or `test`), `{{lastExportDateTime}}` and `{{currentExportDateTime}}` render
|
|
16895
|
+
empty on every run, so a request that carries them bare goes out with blank values each
|
|
16896
|
+
time, `dateFormat` on one renders the run's current time (the request asks for changes
|
|
16897
|
+
since now), and `dateAdd` on one fails the whole render — on an HTTP export's body or
|
|
16898
|
+
relative URI the run records `handlebars_template_parse_error`, "Failed to generate request
|
|
16899
|
+
body (or url) from template … Details: Invalid time value" — before anything is sent
|
|
16900
|
+
(live-verified 2026-10-22 and 2026-11-04). When incremental reads are intended, restoring
|
|
16901
|
+
`type: delta` (with `delta.startDate` for the first window) makes the variables resolve;
|
|
16902
|
+
when reading everything is intended, change the template — drop the variable or guard it
|
|
16903
|
+
with `{{#if lastExportDateTime}}…{{else}}fallback{{/if}}`, whose else branch (a literal, in
|
|
16904
|
+
practice a fixed start date) renders on an export with no `type`, `type: all` or
|
|
16905
|
+
`type: test`. Use `blob` only to transfer raw files without parsing their contents.
|
|
16891
16906
|
x-celigo-ai-guidance:
|
|
16892
16907
|
- |-
|
|
16893
16908
|
## HOW TO PICK THE TYPE VALUE
|
package/dist/import.yml
CHANGED
|
@@ -2898,15 +2898,20 @@ components:
|
|
|
2898
2898
|
description: |
|
|
2899
2899
|
Value written when the lookup finds no match and the miss is
|
|
2900
2900
|
allowed (``allowFailures`` true, or omitted on a static
|
|
2901
|
-
``map``). A save refuses a ``default`` together with
|
|
2902
|
-
explicit ``allowFailures: false`` (422 "Lookups with default
|
|
2903
|
-
set can not have allowFailures explicitly set to false.")
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2901
|
+
``map``). A save refuses a non-empty ``default`` together with
|
|
2902
|
+
an explicit ``allowFailures: false`` (422 "Lookups with default
|
|
2903
|
+
set can not have allowFailures explicitly set to false.").
|
|
2904
|
+
``allowFailures: false`` fails the miss even when ``""`` or
|
|
2905
|
+
``null`` is stored (a static map: ``lookup_error``, nothing
|
|
2906
|
+
written); the default is used only on an allowed miss. ``""``,
|
|
2907
|
+
``null`` and an absent key are three stored states — the
|
|
2908
|
+
mapper's *Use empty string as default value*, *Use null as
|
|
2909
|
+
default value* and *Do nothing* — kept apart on save and read
|
|
2910
|
+
back as written; on an allowed miss of a static map they write
|
|
2911
|
+
``""``, write ``null``, or leave the field out.
|
|
2907
2912
|
x-celigo-ai-guidance:
|
|
2908
|
-
- 'Omit this field entirely when no fallback value is intended. An empty string is a value, not "no default": the save accepts `default: ""`, and
|
|
2909
|
-
- '
|
|
2913
|
+
- 'Omit this field entirely when no fallback value is intended. An empty string is a value, not "no default": the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
2914
|
+
- 'On an allowed miss (allowFailures true, or omitted on a static map) a default raises no error: every unmatched value goes out as the default with a 200. Set one only when a single fallback is right for every value the lookup can''t match; when a miss must stop the record, set allowFailures: false — a stored `""` or `null` may stay, a non-empty default cannot. An ambiguous answer (two or more matches) doesn''t use the default either: see useDefaultOnMultipleMatches.'
|
|
2910
2915
|
allowFailures:
|
|
2911
2916
|
type:
|
|
2912
2917
|
- boolean
|
|
@@ -3616,7 +3621,11 @@ components:
|
|
|
3616
3621
|
type:
|
|
3617
3622
|
- string
|
|
3618
3623
|
- 'null'
|
|
3619
|
-
description:
|
|
3624
|
+
description: |-
|
|
3625
|
+
Fallback value returned when the lookup finds no match. Used together with `allowFailures`.
|
|
3626
|
+
`""`, `null` and an absent key are three stored states — the mapper's *Use empty string
|
|
3627
|
+
as default value*, *Use null as default value* and *Do nothing* — saved and read back as
|
|
3628
|
+
written, in both `lookups` and `netsuite.lookups`.
|
|
3620
3629
|
allowFailures:
|
|
3621
3630
|
type: boolean
|
|
3622
3631
|
description: When true, an unmatched lookup falls back to `default` and processing continues; when false, an unmatched lookup fails the record.
|
|
@@ -5016,9 +5025,14 @@ components:
|
|
|
5016
5025
|
- string
|
|
5017
5026
|
- 'null'
|
|
5018
5027
|
description: |-
|
|
5019
|
-
Value returned when the search matches no records
|
|
5020
|
-
|
|
5021
|
-
|
|
5028
|
+
Value returned when the search matches no records and the
|
|
5029
|
+
miss is allowed. `""`, `null` and an absent key are three
|
|
5030
|
+
stored states — the mapper's *Use empty string as default
|
|
5031
|
+
value*, *Use null as default value* and *Do nothing* — saved
|
|
5032
|
+
and read back as written, in both `lookups` and
|
|
5033
|
+
`netsuite_da.lookups`; a save with no `default` key stores
|
|
5034
|
+
none. When `allowFailures` is false an unmatched lookup halts
|
|
5035
|
+
the record whatever is stored here.
|
|
5022
5036
|
description: |-
|
|
5023
5037
|
Lookup definitions that resolve reference values from NetSuite.
|
|
5024
5038
|
Referenced by name from field mappings via `lookupName` and from
|
|
@@ -5346,11 +5360,14 @@ components:
|
|
|
5346
5360
|
- 'null'
|
|
5347
5361
|
description: |
|
|
5348
5362
|
Default value to use when the source value is not found in the lookup map.
|
|
5349
|
-
|
|
5363
|
+
`""`, `null` and an absent key are three stored states — the mapper's
|
|
5364
|
+
*Use empty string as default value*, *Use null as default value* and
|
|
5365
|
+
*Do nothing* — kept apart on save and read back as written; on an allowed
|
|
5366
|
+
miss of a static map they write `""`, write `null`, or leave the field out.
|
|
5350
5367
|
|
|
5351
5368
|
This value is used as a fallback when:
|
|
5352
5369
|
1. The source value doesn't match any key in the map
|
|
5353
|
-
2. allowFailures is true or omitted
|
|
5370
|
+
2. allowFailures is true, or omitted on a static map
|
|
5354
5371
|
|
|
5355
5372
|
Setting an appropriate default helps prevent flow failures due to unexpected
|
|
5356
5373
|
values and provides predictable behavior for edge cases.
|
|
@@ -5360,10 +5377,12 @@ components:
|
|
|
5360
5377
|
- Original value indicators: "{Original Value}", "No mapping found"
|
|
5361
5378
|
- Neutral values: "Other", "N/A", "Miscellaneous"
|
|
5362
5379
|
|
|
5363
|
-
A save refuses a default together with an explicit
|
|
5364
|
-
(422 `Lookups with default set can not have
|
|
5365
|
-
|
|
5366
|
-
|
|
5380
|
+
A save refuses a non-empty default together with an explicit
|
|
5381
|
+
`allowFailures: false` (422 `Lookups with default set can not have
|
|
5382
|
+
allowFailures explicitly set to false.`). `allowFailures: false` fails the
|
|
5383
|
+
miss even when `""` or `null` is stored (a static map: `lookup_error`,
|
|
5384
|
+
nothing written); the default is used only on an allowed miss
|
|
5385
|
+
(`allowFailures` true, or omitted on a static map).
|
|
5367
5386
|
examples:
|
|
5368
5387
|
- Unknown
|
|
5369
5388
|
- Other
|
|
@@ -5371,8 +5390,8 @@ components:
|
|
|
5371
5390
|
- Unmapped Value
|
|
5372
5391
|
- '{Original Value}'
|
|
5373
5392
|
x-celigo-ai-guidance:
|
|
5374
|
-
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss writes `""`.'
|
|
5375
|
-
-
|
|
5393
|
+
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a non-empty default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
5394
|
+
- On an allowed miss (`allowFailures` true, or omitted on a static map) a default sends every unmapped value with no error, so add the missing key to the map when the destination needs the real value; keys match the extracted value exactly (case, spacing and suffixes count), and a save replaces the whole map.
|
|
5376
5395
|
allowFailures:
|
|
5377
5396
|
type:
|
|
5378
5397
|
- boolean
|
|
@@ -5403,9 +5422,11 @@ components:
|
|
|
5403
5422
|
- All possible source values are known and controlled
|
|
5404
5423
|
- Missing mappings indicate serious data problems that should be addressed
|
|
5405
5424
|
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5425
|
+
On an allowed miss (`allowFailures` true, or omitted on a static map) a default
|
|
5426
|
+
raises no error: records that miss go out with the default value and nothing
|
|
5427
|
+
reports them. Use true only when that fallback is acceptable at the destination,
|
|
5428
|
+
and set false explicitly when a missing value must stop the record — on a static
|
|
5429
|
+
map, false fails the miss even when `""` or `null` is stored as the default.
|
|
5409
5430
|
examples:
|
|
5410
5431
|
- true
|
|
5411
5432
|
- false
|
|
@@ -9377,7 +9398,7 @@ components:
|
|
|
9377
9398
|
type:
|
|
9378
9399
|
- string
|
|
9379
9400
|
- 'null'
|
|
9380
|
-
description: Value substituted when a source value is not found in map
|
|
9401
|
+
description: Value substituted when a source value is not found in map and the miss is allowed.
|
|
9381
9402
|
allowFailures:
|
|
9382
9403
|
type: boolean
|
|
9383
9404
|
description: When true, a value missing from map does not fail the record and the default (or original value) is used.
|
package/dist/tool.yml
CHANGED
|
@@ -6019,11 +6019,14 @@ components:
|
|
|
6019
6019
|
- 'null'
|
|
6020
6020
|
description: |
|
|
6021
6021
|
Default value to use when the source value is not found in the lookup map.
|
|
6022
|
-
|
|
6022
|
+
`""`, `null` and an absent key are three stored states — the mapper's
|
|
6023
|
+
*Use empty string as default value*, *Use null as default value* and
|
|
6024
|
+
*Do nothing* — kept apart on save and read back as written; on an allowed
|
|
6025
|
+
miss of a static map they write `""`, write `null`, or leave the field out.
|
|
6023
6026
|
|
|
6024
6027
|
This value is used as a fallback when:
|
|
6025
6028
|
1. The source value doesn't match any key in the map
|
|
6026
|
-
2. allowFailures is true or omitted
|
|
6029
|
+
2. allowFailures is true, or omitted on a static map
|
|
6027
6030
|
|
|
6028
6031
|
Setting an appropriate default helps prevent flow failures due to unexpected
|
|
6029
6032
|
values and provides predictable behavior for edge cases.
|
|
@@ -6033,10 +6036,12 @@ components:
|
|
|
6033
6036
|
- Original value indicators: "{Original Value}", "No mapping found"
|
|
6034
6037
|
- Neutral values: "Other", "N/A", "Miscellaneous"
|
|
6035
6038
|
|
|
6036
|
-
A save refuses a default together with an explicit
|
|
6037
|
-
(422 `Lookups with default set can not have
|
|
6038
|
-
|
|
6039
|
-
|
|
6039
|
+
A save refuses a non-empty default together with an explicit
|
|
6040
|
+
`allowFailures: false` (422 `Lookups with default set can not have
|
|
6041
|
+
allowFailures explicitly set to false.`). `allowFailures: false` fails the
|
|
6042
|
+
miss even when `""` or `null` is stored (a static map: `lookup_error`,
|
|
6043
|
+
nothing written); the default is used only on an allowed miss
|
|
6044
|
+
(`allowFailures` true, or omitted on a static map).
|
|
6040
6045
|
examples:
|
|
6041
6046
|
- Unknown
|
|
6042
6047
|
- Other
|
|
@@ -6044,8 +6049,8 @@ components:
|
|
|
6044
6049
|
- Unmapped Value
|
|
6045
6050
|
- '{Original Value}'
|
|
6046
6051
|
x-celigo-ai-guidance:
|
|
6047
|
-
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss writes `""`.'
|
|
6048
|
-
-
|
|
6052
|
+
- 'Omit this field entirely when no fallback value is intended: a miss the lookup lets through then leaves the mapped field out, and `allowFailures: false` (which a save refuses alongside a non-empty default) fails it. An empty string is a value, not "no default" — the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
6053
|
+
- On an allowed miss (`allowFailures` true, or omitted on a static map) a default sends every unmapped value with no error, so add the missing key to the map when the destination needs the real value; keys match the extracted value exactly (case, spacing and suffixes count), and a save replaces the whole map.
|
|
6049
6054
|
allowFailures:
|
|
6050
6055
|
type:
|
|
6051
6056
|
- boolean
|
|
@@ -6076,9 +6081,11 @@ components:
|
|
|
6076
6081
|
- All possible source values are known and controlled
|
|
6077
6082
|
- Missing mappings indicate serious data problems that should be addressed
|
|
6078
6083
|
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6084
|
+
On an allowed miss (`allowFailures` true, or omitted on a static map) a default
|
|
6085
|
+
raises no error: records that miss go out with the default value and nothing
|
|
6086
|
+
reports them. Use true only when that fallback is acceptable at the destination,
|
|
6087
|
+
and set false explicitly when a missing value must stop the record — on a static
|
|
6088
|
+
map, false fails the miss even when `""` or `null` is stored as the default.
|
|
6082
6089
|
examples:
|
|
6083
6090
|
- true
|
|
6084
6091
|
- false
|
|
@@ -15251,15 +15258,20 @@ components:
|
|
|
15251
15258
|
description: |
|
|
15252
15259
|
Value written when the lookup finds no match and the miss is
|
|
15253
15260
|
allowed (``allowFailures`` true, or omitted on a static
|
|
15254
|
-
``map``). A save refuses a ``default`` together with
|
|
15255
|
-
explicit ``allowFailures: false`` (422 "Lookups with default
|
|
15256
|
-
set can not have allowFailures explicitly set to false.")
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15261
|
+
``map``). A save refuses a non-empty ``default`` together with
|
|
15262
|
+
an explicit ``allowFailures: false`` (422 "Lookups with default
|
|
15263
|
+
set can not have allowFailures explicitly set to false.").
|
|
15264
|
+
``allowFailures: false`` fails the miss even when ``""`` or
|
|
15265
|
+
``null`` is stored (a static map: ``lookup_error``, nothing
|
|
15266
|
+
written); the default is used only on an allowed miss. ``""``,
|
|
15267
|
+
``null`` and an absent key are three stored states — the
|
|
15268
|
+
mapper's *Use empty string as default value*, *Use null as
|
|
15269
|
+
default value* and *Do nothing* — kept apart on save and read
|
|
15270
|
+
back as written; on an allowed miss of a static map they write
|
|
15271
|
+
``""``, write ``null``, or leave the field out.
|
|
15260
15272
|
x-celigo-ai-guidance:
|
|
15261
|
-
- 'Omit this field entirely when no fallback value is intended. An empty string is a value, not "no default": the save accepts `default: ""`, and
|
|
15262
|
-
- '
|
|
15273
|
+
- 'Omit this field entirely when no fallback value is intended. An empty string is a value, not "no default": the save accepts `default: ""`, and an allowed miss of a static map writes `""`. On an update, carry a stored `""` or `null` through unchanged: it is the user''s choice, and on an allowed miss of a static map dropping it turns a written `""` / `null` into an omitted field.'
|
|
15274
|
+
- 'On an allowed miss (allowFailures true, or omitted on a static map) a default raises no error: every unmatched value goes out as the default with a 200. Set one only when a single fallback is right for every value the lookup can''t match; when a miss must stop the record, set allowFailures: false — a stored `""` or `null` may stay, a non-empty default cannot. An ambiguous answer (two or more matches) doesn''t use the default either: see useDefaultOnMultipleMatches.'
|
|
15263
15275
|
allowFailures:
|
|
15264
15276
|
type:
|
|
15265
15277
|
- boolean
|
|
@@ -15969,7 +15981,11 @@ components:
|
|
|
15969
15981
|
type:
|
|
15970
15982
|
- string
|
|
15971
15983
|
- 'null'
|
|
15972
|
-
description:
|
|
15984
|
+
description: |-
|
|
15985
|
+
Fallback value returned when the lookup finds no match. Used together with `allowFailures`.
|
|
15986
|
+
`""`, `null` and an absent key are three stored states — the mapper's *Use empty string
|
|
15987
|
+
as default value*, *Use null as default value* and *Do nothing* — saved and read back as
|
|
15988
|
+
written, in both `lookups` and `netsuite.lookups`.
|
|
15973
15989
|
allowFailures:
|
|
15974
15990
|
type: boolean
|
|
15975
15991
|
description: When true, an unmatched lookup falls back to `default` and processing continues; when false, an unmatched lookup fails the record.
|
|
@@ -17369,9 +17385,14 @@ components:
|
|
|
17369
17385
|
- string
|
|
17370
17386
|
- 'null'
|
|
17371
17387
|
description: |-
|
|
17372
|
-
Value returned when the search matches no records
|
|
17373
|
-
|
|
17374
|
-
|
|
17388
|
+
Value returned when the search matches no records and the
|
|
17389
|
+
miss is allowed. `""`, `null` and an absent key are three
|
|
17390
|
+
stored states — the mapper's *Use empty string as default
|
|
17391
|
+
value*, *Use null as default value* and *Do nothing* — saved
|
|
17392
|
+
and read back as written, in both `lookups` and
|
|
17393
|
+
`netsuite_da.lookups`; a save with no `default` key stores
|
|
17394
|
+
none. When `allowFailures` is false an unmatched lookup halts
|
|
17395
|
+
the record whatever is stored here.
|
|
17375
17396
|
description: |-
|
|
17376
17397
|
Lookup definitions that resolve reference values from NetSuite.
|
|
17377
17398
|
Referenced by name from field mappings via `lookupName` and from
|
|
@@ -21451,7 +21472,7 @@ components:
|
|
|
21451
21472
|
type:
|
|
21452
21473
|
- string
|
|
21453
21474
|
- 'null'
|
|
21454
|
-
description: Value substituted when a source value is not found in map
|
|
21475
|
+
description: Value substituted when a source value is not found in map and the miss is allowed.
|
|
21455
21476
|
allowFailures:
|
|
21456
21477
|
type: boolean
|
|
21457
21478
|
description: When true, a value missing from map does not fail the record and the default (or original value) is used.
|
|
@@ -39194,10 +39215,18 @@ components:
|
|
|
39194
39215
|
`webhook` object when `type` is `webhook`); an HTTP or SQL `delta` export saves without a
|
|
39195
39216
|
`delta` object because its request carries `{{lastExportDateTime}}`, though
|
|
39196
39217
|
`delta.startDate` sets its first window. It still needs `type: delta`: on an export
|
|
39197
|
-
with no `type`, `{{lastExportDateTime}}` and `{{currentExportDateTime}}` render
|
|
39198
|
-
empty on every run, so a request that carries them goes out with blank values each
|
|
39199
|
-
|
|
39200
|
-
|
|
39218
|
+
with no `type` (or `all`, or `test`), `{{lastExportDateTime}}` and `{{currentExportDateTime}}` render
|
|
39219
|
+
empty on every run, so a request that carries them bare goes out with blank values each
|
|
39220
|
+
time, `dateFormat` on one renders the run's current time (the request asks for changes
|
|
39221
|
+
since now), and `dateAdd` on one fails the whole render — on an HTTP export's body or
|
|
39222
|
+
relative URI the run records `handlebars_template_parse_error`, "Failed to generate request
|
|
39223
|
+
body (or url) from template … Details: Invalid time value" — before anything is sent
|
|
39224
|
+
(live-verified 2026-10-22 and 2026-11-04). When incremental reads are intended, restoring
|
|
39225
|
+
`type: delta` (with `delta.startDate` for the first window) makes the variables resolve;
|
|
39226
|
+
when reading everything is intended, change the template — drop the variable or guard it
|
|
39227
|
+
with `{{#if lastExportDateTime}}…{{else}}fallback{{/if}}`, whose else branch (a literal, in
|
|
39228
|
+
practice a fixed start date) renders on an export with no `type`, `type: all` or
|
|
39229
|
+
`type: test`. Use `blob` only to transfer raw files without parsing their contents.
|
|
39201
39230
|
x-celigo-ai-guidance:
|
|
39202
39231
|
- |-
|
|
39203
39232
|
## HOW TO PICK THE TYPE VALUE
|
package/package.json
CHANGED