@celigo/api-specs 0.2.332 → 0.2.334

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/tool.yml CHANGED
@@ -2720,7 +2720,13 @@ paths:
2720
2720
  properties:
2721
2721
  stages:
2722
2722
  type: array
2723
- description: Ordered list of stages that ran for the step.
2723
+ description: |-
2724
+ Ordered list of stages that ran for the step. A lookup on an HTTP export that
2725
+ called its application has `statusCode` and the application's response
2726
+ `headers` beside `body` and `url` in its `response` output; one that answered
2727
+ from the `mockOutput` saved on its export has only `body` and `url` there, and
2728
+ its stage list starts with `exportMapping` — no request was sent, though
2729
+ `request` and `response` are recorded.
2724
2730
  items:
2725
2731
  type: object
2726
2732
  description: One stage of the step.
@@ -2848,11 +2854,16 @@ paths:
2848
2854
  x-internal: false
2849
2855
  summary: Get request/response logs for a tool test-run step
2850
2856
  description: |-
2851
- Returns the outbound HTTP request/response log pairs captured during a
2852
- specific step of a tool test run. Only steps that issued outbound HTTP
2853
- calls (exports, imports, lookups) produce entries — routers, filters, and
2854
- other in-process stages return `404` with code `req_res_logs_not_found`
2855
- by design.
2857
+ Returns the HTTP request/response log pairs captured during a
2858
+ specific step of a tool test run. Only export, import, and lookup steps
2859
+ produce entries — routers, filters, and other in-process stages return
2860
+ `404` with code `req_res_logs_not_found` by design.
2861
+
2862
+ An entry is recorded for a lookup on an HTTP export whether or not its
2863
+ request left the platform: one that answered from the `mockOutput` saved on
2864
+ its export has an entry too. To tell a call that was made from one that was
2865
+ not, read the step's `response` stage with
2866
+ `GET /v1/tools/{_id}/test/run/{runId}/{_stepId}`.
2856
2867
 
2857
2868
  The `runId` is the `flowJob._id` returned by
2858
2869
  `POST /v1/tools/{_id}/test/run`; the `{_stepId}` is the export or import
@@ -3825,9 +3836,13 @@ components:
3825
3836
  - Contains '{{' and '}}' pattern
3826
3837
  - Evaluated by the AFE 2.0 handlebars template engine
3827
3838
  - Can include logic, formatting, and computation
3828
- - Access input record fields with {{record.fieldName}} notation; a grouped
3829
- (array) record binds as `rows` instead — {{rows.0.fieldName}} / {{#each rows}}
3830
- - Examples: "{{record.firstName}} {{record.lastName}}", "{{#if record.isActive}}Active{{else}}Inactive{{/if}}"
3839
+ - Access input record fields with {{{record.fieldName}}} notation; a grouped
3840
+ (array) record binds as `rows` instead — {{{rows.0.fieldName}}} / {{#each rows}}
3841
+ - Write a substitution that outputs a value with triple braces. Double braces
3842
+ HTML-escape what they output — a field and a helper's result alike: `O'Brien`
3843
+ is written as `O'Brien` and `A&B` as `A&B`. Block tags (`{{#if}}`,
3844
+ `{{else}}`, `{{/if}}`) keep double braces
3845
+ - Examples: "{{{record.firstName}}} {{{record.lastName}}}", "{{#if record.isActive}}Active{{else}}Inactive{{/if}}"
3831
3846
  - Valid on scalars and on `object` rows, where the rendered output must
3832
3847
  parse into an object. On an array row the template goes in a
3833
3848
  `buildArrayHelper` entry instead: on an `objectarray` row's own
@@ -3837,7 +3852,7 @@ components:
3837
3852
  error
3838
3853
 
3839
3854
  ```json
3840
- "extract": "{{record.price}} {{record.currency}}" // Combines two fields
3855
+ "extract": "{{{record.price}}} {{{record.currency}}}" // Combines two fields
3841
3856
  ```
3842
3857
 
3843
3858
  **3. Hard-Coded Value (literal string)**
@@ -3893,9 +3908,9 @@ components:
3893
3908
  [{"extract": "$[*].field"}]`; an `objectarray` uses
3894
3909
  `buildArrayHelper: [{"extract": "$[*]", "mappings": [...]}]`
3895
3910
  with the children addressing the row relatively (`$.field`,
3896
- `{{rows.field}}`). An `extract` placed directly on the
3911
+ `{{{rows.field}}}`). An `extract` placed directly on the
3897
3912
  array-typed field yields nothing. Handlebars
3898
- extracts bind the array record as `rows` (`{{rows.0.field}}`),
3913
+ extracts bind the array record as `rows` (`{{{rows.0.field}}}`),
3899
3914
  an object record as `record`. The reverse holds too: `$[*]` on
3900
3915
  an object record iterates the object's values, not rows.
3901
3916
  - |-
@@ -3917,9 +3932,22 @@ components:
3917
3932
  - **Use a lookup** (`lookupName` + a small `lookups` entry)
3918
3933
  for value translation that would otherwise need a long
3919
3934
  `{{#if ...}}{{else if ...}}` chain.
3935
+ - |-
3936
+ ## TRIPLE BRACES FOR VALUES
3937
+ A substitution that outputs a value is written with triple
3938
+ braces. With double braces the mapper HTML-escapes the output —
3939
+ `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
3940
+ `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
3941
+ helper's result (`{{uppercase record.name}}`, `{{join ", "
3942
+ record.tags}}`) and inside a block (`{{#if
3943
+ record.name}}{{record.name}}{{/if}}`), with no error: the
3944
+ destination receives `O&#x27;Brien` for `O'Brien`. The same
3945
+ expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
3946
+ record.name}}}`) and a JSONPath extract (`$.name`) write the value
3947
+ unchanged. Transformation 2.0 rules behave the same.
3920
3948
  examples:
3921
3949
  - $.fullName
3922
- - '{{record.fullName}}'
3950
+ - '{{{record.fullName}}}'
3923
3951
  - primary
3924
3952
  - $.lineItems[*].unitPrice
3925
3953
  extractDateFormat:
@@ -4949,9 +4977,13 @@ components:
4949
4977
  - Contains '{{' and '}}' pattern
4950
4978
  - Evaluated by the AFE 2.0 handlebars template engine
4951
4979
  - Can include logic, formatting, and computation
4952
- - Access input record fields with {{record.fieldName}} notation; a grouped
4953
- (array) record binds as `rows` instead — {{rows.0.fieldName}} / {{#each rows}}
4954
- - Examples: "{{record.firstName}} {{record.lastName}}", "{{#if record.isActive}}Active{{else}}Inactive{{/if}}"
4980
+ - Access input record fields with {{{record.fieldName}}} notation; a grouped
4981
+ (array) record binds as `rows` instead — {{{rows.0.fieldName}}} / {{#each rows}}
4982
+ - Write a substitution that outputs a value with triple braces. Double braces
4983
+ HTML-escape what they output — a field and a helper's result alike: `O'Brien`
4984
+ is written as `O&#x27;Brien` and `A&B` as `A&amp;B`. Block tags (`{{#if}}`,
4985
+ `{{else}}`, `{{/if}}`) keep double braces
4986
+ - Examples: "{{{record.firstName}}} {{{record.lastName}}}", "{{#if record.isActive}}Active{{else}}Inactive{{/if}}"
4955
4987
  - Valid on scalars and on `object` rows, where the rendered output must
4956
4988
  parse into an object. On an array row the template goes in a
4957
4989
  `buildArrayHelper` entry instead: on an `objectarray` row's own
@@ -4961,7 +4993,7 @@ components:
4961
4993
  error
4962
4994
 
4963
4995
  ```json
4964
- "extract": "{{record.price}} {{record.currency}}" // Combines two fields
4996
+ "extract": "{{{record.price}}} {{{record.currency}}}" // Combines two fields
4965
4997
  ```
4966
4998
 
4967
4999
  **3. Hard-Coded Value (literal string)**
@@ -5017,9 +5049,9 @@ components:
5017
5049
  [{"extract": "$[*].field"}]`; an `objectarray` uses
5018
5050
  `buildArrayHelper: [{"extract": "$[*]", "mappings": [...]}]`
5019
5051
  with the children addressing the row relatively (`$.field`,
5020
- `{{rows.field}}`). An `extract` placed directly on the
5052
+ `{{{rows.field}}}`). An `extract` placed directly on the
5021
5053
  array-typed field yields nothing. Handlebars
5022
- extracts bind the array record as `rows` (`{{rows.0.field}}`),
5054
+ extracts bind the array record as `rows` (`{{{rows.0.field}}}`),
5023
5055
  an object record as `record`. The reverse holds too: `$[*]` on
5024
5056
  an object record iterates the object's values, not rows.
5025
5057
  - |-
@@ -5041,9 +5073,22 @@ components:
5041
5073
  - **Use a lookup** (`lookupName` + a small `lookups` entry)
5042
5074
  for value translation that would otherwise need a long
5043
5075
  `{{#if ...}}{{else if ...}}` chain.
5076
+ - |-
5077
+ ## TRIPLE BRACES FOR VALUES
5078
+ A substitution that outputs a value is written with triple
5079
+ braces. With double braces the mapper HTML-escapes the output —
5080
+ `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
5081
+ `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
5082
+ helper's result (`{{uppercase record.name}}`, `{{join ", "
5083
+ record.tags}}`) and inside a block (`{{#if
5084
+ record.name}}{{record.name}}{{/if}}`), with no error: the
5085
+ destination receives `O&#x27;Brien` for `O'Brien`. The same
5086
+ expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
5087
+ record.name}}}`) and a JSONPath extract (`$.name`) write the value
5088
+ unchanged. Transformation 2.0 rules behave the same.
5044
5089
  examples:
5045
5090
  - $.fullName
5046
- - '{{record.fullName}}'
5091
+ - '{{{record.fullName}}}'
5047
5092
  - primary
5048
5093
  - $.lineItems[*].unitPrice
5049
5094
  extractDateFormat:
@@ -6446,9 +6491,9 @@ components:
6446
6491
  the envelope shape on purpose.
6447
6492
  - |-
6448
6493
  Handlebars expressions inside `extract` reference the
6449
- `record` root on an object record (`{{record.field}}`,
6450
- `{{dateFormat ... record.field}}`) and `rows` on a
6451
- grouped one (`{{rows.0.field}}`), regardless of
6494
+ `record` root on an object record (`{{{record.field}}}`,
6495
+ `{{{dateFormat ... record.field}}}`) and `rows` on a
6496
+ grouped one (`{{{rows.0.field}}}`), regardless of
6452
6497
  `inputContext` — only JSONPath anchoring flips.
6453
6498
  - |-
6454
6499
  ## Grouped records
@@ -6460,7 +6505,7 @@ components:
6460
6505
  `$.rows[*]` whose children read `$.rows.field` — while
6461
6506
  `$.record[0].field` and `$.record[*]` resolve nothing,
6462
6507
  with no error (live, 2026-10-30). Handlebars extracts
6463
- read it as `rows` in both modes (`{{rows.0.field}}`).
6508
+ read it as `rows` in both modes (`{{{rows.0.field}}}`).
6464
6509
  - |-
6465
6510
  In `envelope` mode the output is still a bare record: a
6466
6511
  `modify` transform returns the record with its mapped
@@ -6509,10 +6554,10 @@ components:
6509
6554
  ## Handlebars expressions are NOT affected
6510
6555
 
6511
6556
  Handlebars expressions inside ``extract``
6512
- (``{{record.field}}``,
6513
- ``{{dateFormat ... record.field}}``, etc.) reference the
6557
+ (``{{{record.field}}}``,
6558
+ ``{{{dateFormat ... record.field}}}``, etc.) reference the
6514
6559
  runtime context's ``record`` root on an object record,
6515
- and ``rows`` (``{{rows.0.field}}``) on a grouped one,
6560
+ and ``rows`` (``{{{rows.0.field}}}``) on a grouped one,
6516
6561
  regardless of ``inputContext`` — the Handlebars runtime
6517
6562
  always sees the wrapped envelope. Only JSONPath
6518
6563
  behavior flips with this field.
@@ -6536,7 +6581,7 @@ components:
6536
6581
  source file: ``fileName``, ``fileSize``, and
6537
6582
  ``lastModifiedTime`` (epoch milliseconds). Reach it
6538
6583
  as ``$.fileMeta.<field>`` in envelope mode, or as
6539
- ``{{fileMeta.<field>}}`` from a Handlebars extract in
6584
+ ``{{{fileMeta.<field>}}}`` from a Handlebars extract in
6540
6585
  either mode. The keys are exactly these three —
6541
6586
  lowercase variants such as ``filesize`` or
6542
6587
  ``filename`` resolve empty. The standalone transform
@@ -16760,6 +16805,21 @@ components:
16760
16805
  ## IMPORTANT
16761
16806
  This field is a string, NOT an object. Set it directly: "operation": "addupdate"
16762
16807
  Do NOT send {"type": "addupdate"} — that causes a Cast error.
16808
+ - |-
16809
+ On `attach` and `detach` the mapping's body rows are the operation's own
16810
+ properties — the mapping page's locked rows — not fields of the record
16811
+ type: the `customer` record metadata lists none of them, so do not check
16812
+ these rows against the record type's field list.
16813
+ Attach: `recordType` (Attach To Record Type), `celigo_nlobjAttachToId`
16814
+ (Attach To Internal ID), `celigo_nlobjAttachedType` (Attached Record Type)
16815
+ and `celigo_nlobjAttachedId` (Attached Internal ID). Detach: `recordType`
16816
+ (Detach From Record Type), `celigo_nlobjDetachFromId`,
16817
+ `celigo_nlobjDetachedType` and `celigo_nlobjDetachedId`. Both take the
16818
+ optional `celigo_nlobjAttachDetachAttributesRole` (Attribute Role) and
16819
+ `celigo_nlobjAttachDetachAttributesField` (Attribute Field). The mapping
16820
+ preview (`PUT /v1/netsuiteDA/previewImportMappingFields`) returns each of
16821
+ them under `nlobjFieldIds` with the value its row produced; it does not
16822
+ attach or detach anything.
16763
16823
  recordType:
16764
16824
  type: string
16765
16825
  x-celigo-ui-override: Required by the NetSuite import form (recordType is required:true). Encoded to mirror the form so builders produce connectable configurations.
@@ -17097,6 +17157,10 @@ components:
17097
17157
  The preview resolves the mapping without writing to NetSuite: the multiselect row
17098
17158
  NetSuite rejected at save time (see `fields[].dataType`) rendered exactly like the
17099
17159
  row it accepted, so a passed preview does not prove the save.
17160
+ - |-
17161
+ The preview maps one record per request, evaluates row conditions and lookups,
17162
+ and does not run `internalIdLookup` — the operation's request schema lists what it
17163
+ leaves out and what it does not report.
17100
17164
  properties:
17101
17165
  fields:
17102
17166
  type: array
@@ -17136,6 +17200,14 @@ components:
17136
17200
  helper rather than retry — see
17137
17201
  `mapping.lists[].fields[].extract` for examples of
17138
17202
  helpers observed present and missing.
17203
+ - |-
17204
+ A substitution that outputs a value takes triple braces.
17205
+ In the mapping preview double braces HTML-escaped the
17206
+ output — a field (`{{name}}`), a helper's result
17207
+ (`{{uppercase name}}`) and a substitution inside a block
17208
+ alike: `O'Brien` rendered as `O&#x27;Brien` and `A&B` as
17209
+ `A&amp;B` — while the same expressions in triple braces
17210
+ and a plain path rendered the value unchanged.
17139
17211
  generate:
17140
17212
  type: string
17141
17213
  description: |
@@ -17399,7 +17471,53 @@ components:
17399
17471
  a lookup renamed or removed while a condition still references the
17400
17472
  old name is the typical cause. Fix the reference or restore the
17401
17473
  lookup — changing the RESTlet / SuiteScript version does not resolve
17402
- this error.
17474
+ this error. The mapping preview does not report it: there the row is
17475
+ left out of the mapped record with no error.
17476
+ - |-
17477
+ A search that finds nothing never fails the record through a
17478
+ lookup-based condition: with `allowFailures` false and no match, a
17479
+ `lookup_empty` row was applied and a `lookup_not_empty` row left
17480
+ out, and the lookup raised no error, on import runs with
17481
+ `restletVersion` `suiteapp2.0`, `suiteapp1.0` and `suitebundle` and
17482
+ in the mapping preview. `allowFailures` fails a record only on a
17483
+ row that takes its value from the lookup (`lookupName`).
17484
+ - |-
17485
+ On `restletVersion: suiteapp2.0` an import run reads the condition
17486
+ from the value the lookup resolves to under its own settings.
17487
+ `lookup_not_empty` held, and `lookup_empty` did not, when the
17488
+ search matched one record; when it matched several with
17489
+ `allowFailures` true (the lookup resolves to one of them); and
17490
+ when a lookup with `allowFailures` true fell back to a non-empty
17491
+ `default` — on no match, or on several matches with
17492
+ `useDefaultOnMultipleMatches` true. `lookup_empty` held when the
17493
+ search matched nothing and the lookup had no `default`, an empty
17494
+ one or a null one; when it matched several with `allowFailures`
17495
+ false; and when `useDefaultOnMultipleMatches` sent several
17496
+ matches to an empty `default`. Observed on a sublist row in a
17497
+ script's `imports.runMapping` for every case named here, and on
17498
+ a body row of import runs for all of them but the null `default`
17499
+ and one match with `allowFailures` true. A lookup with a
17500
+ `default` and `allowFailures: false` is refused in both: `Lookups
17501
+ with default set can not have allowFailures explicitly set to
17502
+ false.`
17503
+ - |-
17504
+ The mapping preview (`PUT /v1/netsuiteDA/previewImportMappingFields`)
17505
+ reads the condition from the search alone: no match is empty, one
17506
+ match or several is not, and `default` plays no part. Observed
17507
+ with `restletVersion: suiteapp2.0` in the request for the cases
17508
+ above other than a null `default` and a `default` with
17509
+ `allowFailures: false`, and for no match and one match with the
17510
+ other two values. Import runs on `suiteapp1.0` and `suitebundle`
17511
+ read it the same way (no match, one match, no match with a
17512
+ non-empty `default`, several matches with `allowFailures`
17513
+ false). The preview therefore maps the opposite of a `suiteapp2.0`
17514
+ run in two cases — no match on a lookup with a non-empty `default`
17515
+ (the preview applied the `lookup_empty` row, the run left it
17516
+ out), and several matches that the lookup does not resolve to a
17517
+ record, with `allowFailures` false or routed to an empty `default`
17518
+ (the preview left the `lookup_empty` row out, the run applied
17519
+ it). Give a lookup that only a condition reads no `default` and
17520
+ criteria that match at most one record, and the two agree.
17403
17521
  - |-
17404
17522
  `when: record_updated` requires an operation that can update an
17405
17523
  existing record: on an `add`-only operation every record fails with
@@ -17448,8 +17566,8 @@ components:
17448
17566
  record_created: Apply this mapping only when a new record is being created.
17449
17567
  record_updated: Apply this mapping only when an existing record is being updated.
17450
17568
  extract_not_empty: Apply this mapping only when the extracted source value is non-empty.
17451
- lookup_not_empty: Apply this mapping only when the lookup returns a value.
17452
- lookup_empty: Apply this mapping only when the lookup returns no value.
17569
+ lookup_not_empty: Apply this mapping only when the lookup named by `lookupName` returns a value.
17570
+ lookup_empty: Apply this mapping only when the lookup named by `lookupName` returns no value.
17453
17571
  ignore_if_set: Skip this mapping if the target field already has a value.
17454
17572
  description: Condition that controls when this field mapping is applied.
17455
17573
  description: |
@@ -17525,8 +17643,10 @@ components:
17525
17643
  - |-
17526
17644
  The mapper drives iteration from the `[*]` segments among the child extracts;
17527
17645
  scalar extracts tag along.
17528
- If no child uses `[*]` and none set `extract` at all (every child is a `hardCodedValue`),
17529
- the sublist renders a single static line.
17646
+ If no child uses `[*]`, the sublist renders a single line: a sublist whose
17647
+ only row extracts a root-level field (`contactExternalId`, resolved through a
17648
+ lookup) rendered one line in the mapping preview, as does one whose every
17649
+ child is a `hardCodedValue`.
17530
17650
  - |-
17531
17651
  A row that resolves its value through `lookupName`
17532
17652
  (typically `extract: ""`) is driven by the sibling
@@ -17818,7 +17938,18 @@ components:
17818
17938
  flow job (it never completes) instead of producing the
17819
17939
  `Cannot set properties of undefined (setting '_hasStarNotation')`
17820
17940
  error record. Cross-reference every row's `conditional.lookupName`
17821
- against the import's defined lookups.
17941
+ against the import's defined lookups. The mapping preview does not
17942
+ report it either: there the row is left out of the sublist with no
17943
+ error.
17944
+ - |-
17945
+ A lookup-based condition is read as on a body row — a miss never
17946
+ fails the record, and the mapping preview reads the search where a
17947
+ `suiteapp2.0` run reads the lookup's resolved value (see
17948
+ `mapping.fields[].conditional`). On an iterating sublist the preview
17949
+ evaluates it per line: with two lines whose lookup found an item for
17950
+ the first only, a `lookup_not_empty` row was written on the first
17951
+ line and a `lookup_empty` row on the second, with the lookup's
17952
+ `allowFailures` true and false alike.
17822
17953
  - |-
17823
17954
  The operation contract differs from body-field conditions:
17824
17955
  `when: record_updated` on an `add`-only operation is rejected
@@ -17874,8 +18005,8 @@ components:
17874
18005
  record_created: Apply this mapping only when a new record is being created.
17875
18006
  record_updated: Apply this mapping only when an existing record is being updated.
17876
18007
  extract_not_empty: Apply this mapping only when the extracted source value is non-empty.
17877
- lookup_not_empty: Apply this mapping only when the lookup returns a value.
17878
- lookup_empty: Apply this mapping only when the lookup returns no value.
18008
+ lookup_not_empty: Apply this mapping only when the lookup named by `lookupName` returns a value.
18009
+ lookup_empty: Apply this mapping only when the lookup named by `lookupName` returns no value.
17879
18010
  ignore_if_set: Skip this mapping if the target field already has a value.
17880
18011
  description: Field mappings for each column in the sublist.
17881
18012
  description: |
@@ -18179,13 +18310,24 @@ components:
18179
18310
  - boolean
18180
18311
  - 'null'
18181
18312
  description: |-
18182
- When true, a lookup miss (no matching record and no
18183
- `default`) resolves to `null` and the import continues, and
18184
- a search matching more than one record resolves to one of
18313
+ Governs a mapping row that takes its value from this lookup
18314
+ (`lookupName`). When true, a lookup miss (no matching record
18315
+ and no `default`) resolves to `null` and the import continues,
18316
+ and a search matching more than one record resolves to one of
18185
18317
  them unless `useDefaultOnMultipleMatches` routes it to
18186
18318
  `default`. When false (default), a miss and an ambiguous
18187
18319
  match both halt the record. May be stored as null (treated
18188
18320
  as unset).
18321
+ x-celigo-ai-guidance:
18322
+ - |-
18323
+ A miss never halts the record through a row condition that reads
18324
+ this lookup (`conditional.lookupName` with `lookup_empty` /
18325
+ `lookup_not_empty`), whatever this flag says — do not turn it on
18326
+ to keep a `lookup_empty` condition from failing. On a
18327
+ `restletVersion: suiteapp2.0` import the flag, `default` and
18328
+ `useDefaultOnMultipleMatches` do decide what such a condition
18329
+ reads when the search matches several records or falls back to a
18330
+ default — see `mapping.fields[].conditional`.
18189
18331
  map:
18190
18332
  type:
18191
18333
  - object
@@ -26455,16 +26597,33 @@ components:
26455
26597
  - A dot path from the record root (e.g. `email`, `address.city`), read from the
26456
26598
  incoming record. A path that matches no field writes nothing.
26457
26599
  - Handlebars template (contains `{{`) for concatenation /
26458
- formatting / conditional logic (e.g. `{{firstName}} {{lastName}}`,
26459
- `{{#if mobile}}{{mobile}}{{else}}{{phone}}{{/if}}`). The template reads the
26600
+ formatting / conditional logic (e.g. `{{{firstName}}} {{{lastName}}}`,
26601
+ `{{#if mobile}}{{{mobile}}}{{else}}{{{phone}}}{{/if}}`). The template reads the
26460
26602
  record's fields by bare name: `{{record.firstName}}` and `{{data.firstName}}`
26461
26603
  render nothing, so the field is left out even when the record has the value.
26604
+ A substitution that outputs a value takes triple braces: double braces
26605
+ HTML-escape it (`O'Brien` is written as `O&#x27;Brien`).
26462
26606
 
26463
26607
  A `$.` JSONPath (the Mapper 2.0 `mappings` syntax) reads nothing here, and a bare
26464
26608
  string is read as a field path, not a constant: set constants in `hardCodedValue`.
26465
26609
  Omit when using `hardCodedValue`.
26466
26610
  examples:
26467
26611
  - address.city
26612
+ x-celigo-ai-guidance:
26613
+ - |-
26614
+ Double braces HTML-escape whatever they output — a field, a helper's result
26615
+ (`{{uppercase lastName}}`, `{{join ", " tags}}`) and a substitution inside a
26616
+ block — with no error: `&`, `<`, `>`, `"` and `'` are written as `&amp;`,
26617
+ `&lt;`, `&gt;`, `&quot;` and `&#x27;`. The same expressions in triple braces,
26618
+ and a plain path, write the value unchanged.
26619
+ - |-
26620
+ In a `dataType: json` row the rendered text is parsed, so a string value needs
26621
+ JSON escaping instead: `[{{{jsonSerialize name}}}]` wrote a value holding a
26622
+ double quote and an apostrophe intact, `["{{{name}}}"]` failed the row on it
26623
+ (`Expected ',' or ']' after array element in JSON`) and `["{{name}}"]` wrote
26624
+ the HTML-escaped text. Keep a space between the helper's closing braces and
26625
+ an object's closing brace: `{"name": {{{jsonSerialize name}}}}` failed with
26626
+ `malformed_expression`, `{"name": {{{jsonSerialize name}}} }` was parsed.
26468
26627
  hardCodedValue:
26469
26628
  type:
26470
26629
  - string
@@ -28476,7 +28635,7 @@ components:
28476
28635
  mode evaluates against the wrapped runtime envelope
28477
28636
  (``"$.record.field"``). See ``inputContext`` for the full
28478
28637
  per-mode contract. Handlebars expressions in ``extract`` always
28479
- reference ``{{record.field}}`` regardless — only JSONPath
28638
+ reference ``{{{record.field}}}`` regardless — only JSONPath
28480
28639
  behavior flips with ``inputContext``.
28481
28640
  - |-
28482
28641
  ## JSON structure — record { } or rows [ ]
@@ -28598,8 +28757,8 @@ components:
28598
28757
  - |-
28599
28758
  ## Handlebars expressions are NOT affected
28600
28759
 
28601
- Handlebars expressions inside ``extract`` (``{{record.field}}``,
28602
- ``{{dateFormat ... record.field}}``, etc.) ALWAYS reference the
28760
+ Handlebars expressions inside ``extract`` (``{{{record.field}}}``,
28761
+ ``{{{dateFormat ... record.field}}}``, etc.) ALWAYS reference the
28603
28762
  runtime context's ``record`` root regardless of
28604
28763
  ``inputContext`` — the Handlebars runtime always sees the
28605
28764
  wrapped envelope. Only JSONPath behavior flips with this field.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.332",
3
+ "version": "0.2.334",
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,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "d65cf722",
4
+ "iasCommit": "61ea6250",
5
5
  "generatedAt": "2026-11-22"
6
6
  },
7
7
  "roots": {