@celigo/api-specs 0.2.235 → 0.2.237

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 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
- The platform stores `null` here when no default is configured.
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 `allowFailures: false`
5532
- (422 `Lookups with default set can not have allowFailures explicitly set to
5533
- false.`): a lookup either fails a miss (`allowFailures: false`, no default) or
5534
- falls back to its default.
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
- - 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.
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
- A default raises no error: records that miss go out with the default value and
5575
- nothing reports them. Use true only when that fallback is acceptable at the
5576
- destination, and set false explicitly when a missing value must stop the record.
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
- The platform stores `null` here when no default is configured.
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 `allowFailures: false`
5024
- (422 `Lookups with default set can not have allowFailures explicitly set to
5025
- false.`): a lookup either fails a miss (`allowFailures: false`, no default) or
5026
- falls back to its default.
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
- - 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.
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
- A default raises no error: records that miss go out with the default value and
5067
- nothing reports them. Use true only when that fallback is acceptable at the
5068
- destination, and set false explicitly when a missing value must stop the record.
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
@@ -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
- The platform stores `null` here when no default is configured.
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 `allowFailures: false`
2919
- (422 `Lookups with default set can not have allowFailures explicitly set to
2920
- false.`): a lookup either fails a miss (`allowFailures: false`, no default) or
2921
- falls back to its default.
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
- - 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.
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
- A default raises no error: records that miss go out with the default value and
2962
- nothing reports them. Use true only when that fallback is acceptable at the
2963
- destination, and set false explicitly when a missing value must stop the record.
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
- The platform stores `null` here when no default is configured.
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 `allowFailures: false`
15236
- (422 `Lookups with default set can not have allowFailures explicitly set to
15237
- false.`): a lookup either fails a miss (`allowFailures: false`, no default) or
15238
- falls back to its default.
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
- - 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.
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
- A default raises no error: records that miss go out with the default value and
15279
- nothing reports them. Use true only when that fallback is acceptable at the
15280
- destination, and set false explicitly when a missing value must stop the record.
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
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 an
2902
- explicit ``allowFailures: false`` (422 "Lookups with default
2903
- set can not have allowFailures explicitly set to false."), so
2904
- a lookup either fails a miss (``allowFailures: false``, no
2905
- default) or falls back to its default. Stored as null when no
2906
- fallback is configured.
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 a miss the lookup lets through writes `""`.'
2909
- - '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 and leave the default out. An ambiguous answer (two or more matches) doesn''t use the default either: see useDefaultOnMultipleMatches.'
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: Fallback value returned when the lookup finds no match. Used together with `allowFailures`. Stored as `null` when not configured.
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.
@@ -4181,9 +4190,12 @@ components:
4181
4190
  written instead of setting a field — `celigo_recordmode_dynamic` (NetSuite record
4182
4191
  mode), `celigo_nlobjTransformId` with `celigo_nlobjTransformType` (create by
4183
4192
  transforming the source transaction, "Created From"), `celigo_replaceAllLines_<sublist id>`
4184
- (replace a sublist's lines on update), and the rows Celigo's field-definitions article
4185
- lists by label (Ignore Mandatory Fields, Initialize Values, Persist New Line Insertion
4186
- Order, Print Nlapi Debug Logs, Group Lines By, Use Address Subrecord, Void Transaction).
4193
+ (replace a sublist's lines on update), `celigo_initializeValues` (the article's
4194
+ "Initialize Values" row: its `hardCodedValue` is a comma-separated list of the mapped
4195
+ field ids NetSuite receives as record initializers when it creates the record), and
4196
+ the rows the article lists by label (Ignore Mandatory Fields, Persist New Line
4197
+ Insertion Order, Print Nlapi Debug Logs, Group Lines By, Use Address Subrecord, Void
4198
+ Transaction).
4187
4199
  For a NetSuite field it is always the field's script id: the mapping editor shows each
4188
4200
  destination by its label ("Customer (InternalId)", "Items : Location (InternalId)"),
4189
4201
  and a label saved here is not a field. The control rows above keep their own ids.
@@ -4217,6 +4229,12 @@ components:
4217
4229
  NetSuite's default standard mode, where sourcing of empty dependent fields at save
4218
4230
  depends on the SuiteScript save option `enableSourcing` (default false); whether
4219
4231
  the SuiteApp passes it is not documented.
4232
+ - |-
4233
+ The fields `celigo_initializeValues` names are the record initializers of the
4234
+ create or load call — NetSuite's default values for the record, in place before
4235
+ the mapping rows are set. NetSuite documents that selecting a vendor or customer
4236
+ on a transaction associates it with that entity's primary subsidiary, and that a
4237
+ secondary subsidiary is chosen afterwards from the ones assigned to the entity.
4220
4238
  hardCodedValue:
4221
4239
  type: string
4222
4240
  description: |
@@ -5016,9 +5034,14 @@ components:
5016
5034
  - string
5017
5035
  - 'null'
5018
5036
  description: |-
5019
- Value returned when the search matches no records. When
5020
- omitted and `allowFailures` is false, an unmatched lookup
5021
- halts the record. May be stored as null (no default).
5037
+ Value returned when the search matches no records and the
5038
+ miss is allowed. `""`, `null` and an absent key are three
5039
+ stored states — the mapper's *Use empty string as default
5040
+ value*, *Use null as default value* and *Do nothing* — saved
5041
+ and read back as written, in both `lookups` and
5042
+ `netsuite_da.lookups`; a save with no `default` key stores
5043
+ none. When `allowFailures` is false an unmatched lookup halts
5044
+ the record whatever is stored here.
5022
5045
  description: |-
5023
5046
  Lookup definitions that resolve reference values from NetSuite.
5024
5047
  Referenced by name from field mappings via `lookupName` and from
@@ -5346,11 +5369,14 @@ components:
5346
5369
  - 'null'
5347
5370
  description: |
5348
5371
  Default value to use when the source value is not found in the lookup map.
5349
- The platform stores `null` here when no default is configured.
5372
+ `""`, `null` and an absent key are three stored states — the mapper's
5373
+ *Use empty string as default value*, *Use null as default value* and
5374
+ *Do nothing* — kept apart on save and read back as written; on an allowed
5375
+ miss of a static map they write `""`, write `null`, or leave the field out.
5350
5376
 
5351
5377
  This value is used as a fallback when:
5352
5378
  1. The source value doesn't match any key in the map
5353
- 2. allowFailures is true or omitted
5379
+ 2. allowFailures is true, or omitted on a static map
5354
5380
 
5355
5381
  Setting an appropriate default helps prevent flow failures due to unexpected
5356
5382
  values and provides predictable behavior for edge cases.
@@ -5360,10 +5386,12 @@ components:
5360
5386
  - Original value indicators: "{Original Value}", "No mapping found"
5361
5387
  - Neutral values: "Other", "N/A", "Miscellaneous"
5362
5388
 
5363
- A save refuses a default together with an explicit `allowFailures: false`
5364
- (422 `Lookups with default set can not have allowFailures explicitly set to
5365
- false.`): a lookup either fails a miss (`allowFailures: false`, no default) or
5366
- falls back to its default.
5389
+ A save refuses a non-empty default together with an explicit
5390
+ `allowFailures: false` (422 `Lookups with default set can not have
5391
+ allowFailures explicitly set to false.`). `allowFailures: false` fails the
5392
+ miss even when `""` or `null` is stored (a static map: `lookup_error`,
5393
+ nothing written); the default is used only on an allowed miss
5394
+ (`allowFailures` true, or omitted on a static map).
5367
5395
  examples:
5368
5396
  - Unknown
5369
5397
  - Other
@@ -5371,8 +5399,8 @@ components:
5371
5399
  - Unmapped Value
5372
5400
  - '{Original Value}'
5373
5401
  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
- - 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.
5402
+ - '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.'
5403
+ - 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
5404
  allowFailures:
5377
5405
  type:
5378
5406
  - boolean
@@ -5403,9 +5431,11 @@ components:
5403
5431
  - All possible source values are known and controlled
5404
5432
  - Missing mappings indicate serious data problems that should be addressed
5405
5433
 
5406
- A default raises no error: records that miss go out with the default value and
5407
- nothing reports them. Use true only when that fallback is acceptable at the
5408
- destination, and set false explicitly when a missing value must stop the record.
5434
+ On an allowed miss (`allowFailures` true, or omitted on a static map) a default
5435
+ raises no error: records that miss go out with the default value and nothing
5436
+ reports them. Use true only when that fallback is acceptable at the destination,
5437
+ and set false explicitly when a missing value must stop the record — on a static
5438
+ map, false fails the miss even when `""` or `null` is stored as the default.
5409
5439
  examples:
5410
5440
  - true
5411
5441
  - false
@@ -9377,7 +9407,7 @@ components:
9377
9407
  type:
9378
9408
  - string
9379
9409
  - 'null'
9380
- description: Value substituted when a source value is not found in map; empty string when omitted. May be stored as null (no default).
9410
+ description: Value substituted when a source value is not found in map and the miss is allowed.
9381
9411
  allowFailures:
9382
9412
  type: boolean
9383
9413
  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
- The platform stores `null` here when no default is configured.
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 `allowFailures: false`
6037
- (422 `Lookups with default set can not have allowFailures explicitly set to
6038
- false.`): a lookup either fails a miss (`allowFailures: false`, no default) or
6039
- falls back to its default.
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
- - 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.
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
- A default raises no error: records that miss go out with the default value and
6080
- nothing reports them. Use true only when that fallback is acceptable at the
6081
- destination, and set false explicitly when a missing value must stop the record.
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 an
15255
- explicit ``allowFailures: false`` (422 "Lookups with default
15256
- set can not have allowFailures explicitly set to false."), so
15257
- a lookup either fails a miss (``allowFailures: false``, no
15258
- default) or falls back to its default. Stored as null when no
15259
- fallback is configured.
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 a miss the lookup lets through writes `""`.'
15262
- - '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 and leave the default out. An ambiguous answer (two or more matches) doesn''t use the default either: see useDefaultOnMultipleMatches.'
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: Fallback value returned when the lookup finds no match. Used together with `allowFailures`. Stored as `null` when not configured.
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.
@@ -16534,9 +16550,12 @@ components:
16534
16550
  written instead of setting a field — `celigo_recordmode_dynamic` (NetSuite record
16535
16551
  mode), `celigo_nlobjTransformId` with `celigo_nlobjTransformType` (create by
16536
16552
  transforming the source transaction, "Created From"), `celigo_replaceAllLines_<sublist id>`
16537
- (replace a sublist's lines on update), and the rows Celigo's field-definitions article
16538
- lists by label (Ignore Mandatory Fields, Initialize Values, Persist New Line Insertion
16539
- Order, Print Nlapi Debug Logs, Group Lines By, Use Address Subrecord, Void Transaction).
16553
+ (replace a sublist's lines on update), `celigo_initializeValues` (the article's
16554
+ "Initialize Values" row: its `hardCodedValue` is a comma-separated list of the mapped
16555
+ field ids NetSuite receives as record initializers when it creates the record), and
16556
+ the rows the article lists by label (Ignore Mandatory Fields, Persist New Line
16557
+ Insertion Order, Print Nlapi Debug Logs, Group Lines By, Use Address Subrecord, Void
16558
+ Transaction).
16540
16559
  For a NetSuite field it is always the field's script id: the mapping editor shows each
16541
16560
  destination by its label ("Customer (InternalId)", "Items : Location (InternalId)"),
16542
16561
  and a label saved here is not a field. The control rows above keep their own ids.
@@ -16570,6 +16589,12 @@ components:
16570
16589
  NetSuite's default standard mode, where sourcing of empty dependent fields at save
16571
16590
  depends on the SuiteScript save option `enableSourcing` (default false); whether
16572
16591
  the SuiteApp passes it is not documented.
16592
+ - |-
16593
+ The fields `celigo_initializeValues` names are the record initializers of the
16594
+ create or load call — NetSuite's default values for the record, in place before
16595
+ the mapping rows are set. NetSuite documents that selecting a vendor or customer
16596
+ on a transaction associates it with that entity's primary subsidiary, and that a
16597
+ secondary subsidiary is chosen afterwards from the ones assigned to the entity.
16573
16598
  hardCodedValue:
16574
16599
  type: string
16575
16600
  description: |
@@ -17369,9 +17394,14 @@ components:
17369
17394
  - string
17370
17395
  - 'null'
17371
17396
  description: |-
17372
- Value returned when the search matches no records. When
17373
- omitted and `allowFailures` is false, an unmatched lookup
17374
- halts the record. May be stored as null (no default).
17397
+ Value returned when the search matches no records and the
17398
+ miss is allowed. `""`, `null` and an absent key are three
17399
+ stored states — the mapper's *Use empty string as default
17400
+ value*, *Use null as default value* and *Do nothing* — saved
17401
+ and read back as written, in both `lookups` and
17402
+ `netsuite_da.lookups`; a save with no `default` key stores
17403
+ none. When `allowFailures` is false an unmatched lookup halts
17404
+ the record whatever is stored here.
17375
17405
  description: |-
17376
17406
  Lookup definitions that resolve reference values from NetSuite.
17377
17407
  Referenced by name from field mappings via `lookupName` and from
@@ -21451,7 +21481,7 @@ components:
21451
21481
  type:
21452
21482
  - string
21453
21483
  - 'null'
21454
- description: Value substituted when a source value is not found in map; empty string when omitted. May be stored as null (no default).
21484
+ description: Value substituted when a source value is not found in map and the miss is allowed.
21455
21485
  allowFailures:
21456
21486
  type: boolean
21457
21487
  description: When true, a value missing from map does not fail the record and the default (or original value) is used.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.235",
3
+ "version": "0.2.237",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "aba7deb7",
5
- "generatedAt": "2026-11-04"
4
+ "iasCommit": "50286fb2",
5
+ "generatedAt": "2026-11-05"
6
6
  },
7
7
  "roots": {
8
8
  "aiagent": 128,