@celigo/api-specs 0.2.335 → 0.2.337

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
@@ -2882,20 +2882,19 @@ components:
2882
2882
  ```
2883
2883
 
2884
2884
  **3. Hard-Coded Value (literal string)**
2885
- - Does NOT start with '$'
2886
- - Does NOT contain handlebars '{{' syntax
2887
- - System treats it as a literal string value
2888
- - VERY COMMON for setting static/constant values
2885
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
2886
+ - The text itself is the row's value; nothing is read from the input record
2887
+ - A source field's name is no exception: on a `string` row, `companyname`
2888
+ (or `record.companyname`) writes that text, not the field's value, and
2889
+ the record succeeds. `$.companyname` reads the field
2889
2890
  - Examples: "Active", "USD", "Completed", "true"
2890
2891
 
2891
2892
  ```json
2892
2893
  "extract": "primary" // Sets field value to the literal string "primary"
2893
- "extract": "true" // Sets field value to the literal string "true"
2894
2894
  "extract": "N/A" // Sets field value to the literal string "N/A"
2895
2895
  ```
2896
2896
 
2897
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
2898
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
2897
+ Use this pattern when a field needs a static value that doesn't come from
2899
2898
  the input record or require computation.
2900
2899
 
2901
2900
  **Important implementation details**
@@ -2962,15 +2961,32 @@ components:
2962
2961
  ## TRIPLE BRACES FOR VALUES
2963
2962
  A substitution that outputs a value is written with triple
2964
2963
  braces. With double braces the mapper HTML-escapes the output —
2965
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
2966
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
2967
- helper's result (`{{uppercase record.name}}`, `{{join ", "
2968
- record.tags}}`) and inside a block (`{{#if
2969
- record.name}}{{record.name}}{{/if}}`), with no error: the
2964
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
2965
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
2966
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
2967
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
2968
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
2970
2969
  destination receives `O&#x27;Brien` for `O'Brien`. The same
2971
2970
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
2972
2971
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
2973
2972
  unchanged. Transformation 2.0 rules behave the same.
2973
+ - |-
2974
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
2975
+ The rendered text is parsed as JSON, so a string value is written
2976
+ by a JSON-escaping helper in triple braces: `{"label":
2977
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
2978
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
2979
+ value holding a double quote, a backslash and an apostrophe
2980
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
2981
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
2982
+ record.name}}"}` each left the row an empty object with
2983
+ `json_parse_error` (`Failed to parse string as JSON`), and for
2984
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
2985
+ &amp; Sons` with no error. Keep a space before the object's
2986
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
2987
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
2988
+ the same results for every form; there the missing space is
2989
+ refused with 422 `evaluation_failed`.
2974
2990
  examples:
2975
2991
  - $.fullName
2976
2992
  - '{{{record.fullName}}}'
@@ -4023,20 +4039,19 @@ components:
4023
4039
  ```
4024
4040
 
4025
4041
  **3. Hard-Coded Value (literal string)**
4026
- - Does NOT start with '$'
4027
- - Does NOT contain handlebars '{{' syntax
4028
- - System treats it as a literal string value
4029
- - VERY COMMON for setting static/constant values
4042
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
4043
+ - The text itself is the row's value; nothing is read from the input record
4044
+ - A source field's name is no exception: on a `string` row, `companyname`
4045
+ (or `record.companyname`) writes that text, not the field's value, and
4046
+ the record succeeds. `$.companyname` reads the field
4030
4047
  - Examples: "Active", "USD", "Completed", "true"
4031
4048
 
4032
4049
  ```json
4033
4050
  "extract": "primary" // Sets field value to the literal string "primary"
4034
- "extract": "true" // Sets field value to the literal string "true"
4035
4051
  "extract": "N/A" // Sets field value to the literal string "N/A"
4036
4052
  ```
4037
4053
 
4038
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
4039
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
4054
+ Use this pattern when a field needs a static value that doesn't come from
4040
4055
  the input record or require computation.
4041
4056
 
4042
4057
  **Important implementation details**
@@ -4103,15 +4118,32 @@ components:
4103
4118
  ## TRIPLE BRACES FOR VALUES
4104
4119
  A substitution that outputs a value is written with triple
4105
4120
  braces. With double braces the mapper HTML-escapes the output —
4106
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
4107
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
4108
- helper's result (`{{uppercase record.name}}`, `{{join ", "
4109
- record.tags}}`) and inside a block (`{{#if
4110
- record.name}}{{record.name}}{{/if}}`), with no error: the
4121
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
4122
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
4123
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
4124
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
4125
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
4111
4126
  destination receives `O&#x27;Brien` for `O'Brien`. The same
4112
4127
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
4113
4128
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
4114
4129
  unchanged. Transformation 2.0 rules behave the same.
4130
+ - |-
4131
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
4132
+ The rendered text is parsed as JSON, so a string value is written
4133
+ by a JSON-escaping helper in triple braces: `{"label":
4134
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
4135
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
4136
+ value holding a double quote, a backslash and an apostrophe
4137
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
4138
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
4139
+ record.name}}"}` each left the row an empty object with
4140
+ `json_parse_error` (`Failed to parse string as JSON`), and for
4141
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
4142
+ &amp; Sons` with no error. Keep a space before the object's
4143
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
4144
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
4145
+ the same results for every form; there the missing space is
4146
+ refused with 422 `evaluation_failed`.
4115
4147
  examples:
4116
4148
  - $.fullName
4117
4149
  - '{{{record.fullName}}}'
package/dist/api.yml CHANGED
@@ -2981,20 +2981,19 @@ components:
2981
2981
  ```
2982
2982
 
2983
2983
  **3. Hard-Coded Value (literal string)**
2984
- - Does NOT start with '$'
2985
- - Does NOT contain handlebars '{{' syntax
2986
- - System treats it as a literal string value
2987
- - VERY COMMON for setting static/constant values
2984
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
2985
+ - The text itself is the row's value; nothing is read from the input record
2986
+ - A source field's name is no exception: on a `string` row, `companyname`
2987
+ (or `record.companyname`) writes that text, not the field's value, and
2988
+ the record succeeds. `$.companyname` reads the field
2988
2989
  - Examples: "Active", "USD", "Completed", "true"
2989
2990
 
2990
2991
  ```json
2991
2992
  "extract": "primary" // Sets field value to the literal string "primary"
2992
- "extract": "true" // Sets field value to the literal string "true"
2993
2993
  "extract": "N/A" // Sets field value to the literal string "N/A"
2994
2994
  ```
2995
2995
 
2996
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
2997
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
2996
+ Use this pattern when a field needs a static value that doesn't come from
2998
2997
  the input record or require computation.
2999
2998
 
3000
2999
  **Important implementation details**
@@ -3061,15 +3060,32 @@ components:
3061
3060
  ## TRIPLE BRACES FOR VALUES
3062
3061
  A substitution that outputs a value is written with triple
3063
3062
  braces. With double braces the mapper HTML-escapes the output —
3064
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
3065
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
3066
- helper's result (`{{uppercase record.name}}`, `{{join ", "
3067
- record.tags}}`) and inside a block (`{{#if
3068
- record.name}}{{record.name}}{{/if}}`), with no error: the
3063
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
3064
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
3065
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
3066
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
3067
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
3069
3068
  destination receives `O&#x27;Brien` for `O'Brien`. The same
3070
3069
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
3071
3070
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
3072
3071
  unchanged. Transformation 2.0 rules behave the same.
3072
+ - |-
3073
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
3074
+ The rendered text is parsed as JSON, so a string value is written
3075
+ by a JSON-escaping helper in triple braces: `{"label":
3076
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
3077
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
3078
+ value holding a double quote, a backslash and an apostrophe
3079
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
3080
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
3081
+ record.name}}"}` each left the row an empty object with
3082
+ `json_parse_error` (`Failed to parse string as JSON`), and for
3083
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
3084
+ &amp; Sons` with no error. Keep a space before the object's
3085
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
3086
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
3087
+ the same results for every form; there the missing space is
3088
+ refused with 422 `evaluation_failed`.
3073
3089
  examples:
3074
3090
  - $.fullName
3075
3091
  - '{{{record.fullName}}}'
@@ -4122,20 +4138,19 @@ components:
4122
4138
  ```
4123
4139
 
4124
4140
  **3. Hard-Coded Value (literal string)**
4125
- - Does NOT start with '$'
4126
- - Does NOT contain handlebars '{{' syntax
4127
- - System treats it as a literal string value
4128
- - VERY COMMON for setting static/constant values
4141
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
4142
+ - The text itself is the row's value; nothing is read from the input record
4143
+ - A source field's name is no exception: on a `string` row, `companyname`
4144
+ (or `record.companyname`) writes that text, not the field's value, and
4145
+ the record succeeds. `$.companyname` reads the field
4129
4146
  - Examples: "Active", "USD", "Completed", "true"
4130
4147
 
4131
4148
  ```json
4132
4149
  "extract": "primary" // Sets field value to the literal string "primary"
4133
- "extract": "true" // Sets field value to the literal string "true"
4134
4150
  "extract": "N/A" // Sets field value to the literal string "N/A"
4135
4151
  ```
4136
4152
 
4137
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
4138
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
4153
+ Use this pattern when a field needs a static value that doesn't come from
4139
4154
  the input record or require computation.
4140
4155
 
4141
4156
  **Important implementation details**
@@ -4202,15 +4217,32 @@ components:
4202
4217
  ## TRIPLE BRACES FOR VALUES
4203
4218
  A substitution that outputs a value is written with triple
4204
4219
  braces. With double braces the mapper HTML-escapes the output —
4205
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
4206
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
4207
- helper's result (`{{uppercase record.name}}`, `{{join ", "
4208
- record.tags}}`) and inside a block (`{{#if
4209
- record.name}}{{record.name}}{{/if}}`), with no error: the
4220
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
4221
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
4222
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
4223
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
4224
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
4210
4225
  destination receives `O&#x27;Brien` for `O'Brien`. The same
4211
4226
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
4212
4227
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
4213
4228
  unchanged. Transformation 2.0 rules behave the same.
4229
+ - |-
4230
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
4231
+ The rendered text is parsed as JSON, so a string value is written
4232
+ by a JSON-escaping helper in triple braces: `{"label":
4233
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
4234
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
4235
+ value holding a double quote, a backslash and an apostrophe
4236
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
4237
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
4238
+ record.name}}"}` each left the row an empty object with
4239
+ `json_parse_error` (`Failed to parse string as JSON`), and for
4240
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
4241
+ &amp; Sons` with no error. Keep a space before the object's
4242
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
4243
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
4244
+ the same results for every form; there the missing space is
4245
+ refused with 422 `evaluation_failed`.
4214
4246
  examples:
4215
4247
  - $.fullName
4216
4248
  - '{{{record.fullName}}}'
@@ -672,20 +672,19 @@ components:
672
672
  ```
673
673
 
674
674
  **3. Hard-Coded Value (literal string)**
675
- - Does NOT start with '$'
676
- - Does NOT contain handlebars '{{' syntax
677
- - System treats it as a literal string value
678
- - VERY COMMON for setting static/constant values
675
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
676
+ - The text itself is the row's value; nothing is read from the input record
677
+ - A source field's name is no exception: on a `string` row, `companyname`
678
+ (or `record.companyname`) writes that text, not the field's value, and
679
+ the record succeeds. `$.companyname` reads the field
679
680
  - Examples: "Active", "USD", "Completed", "true"
680
681
 
681
682
  ```json
682
683
  "extract": "primary" // Sets field value to the literal string "primary"
683
- "extract": "true" // Sets field value to the literal string "true"
684
684
  "extract": "N/A" // Sets field value to the literal string "N/A"
685
685
  ```
686
686
 
687
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
688
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
687
+ Use this pattern when a field needs a static value that doesn't come from
689
688
  the input record or require computation.
690
689
 
691
690
  **Important implementation details**
@@ -752,15 +751,32 @@ components:
752
751
  ## TRIPLE BRACES FOR VALUES
753
752
  A substitution that outputs a value is written with triple
754
753
  braces. With double braces the mapper HTML-escapes the output —
755
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
756
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
757
- helper's result (`{{uppercase record.name}}`, `{{join ", "
758
- record.tags}}`) and inside a block (`{{#if
759
- record.name}}{{record.name}}{{/if}}`), with no error: the
754
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
755
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
756
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
757
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
758
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
760
759
  destination receives `O&#x27;Brien` for `O'Brien`. The same
761
760
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
762
761
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
763
762
  unchanged. Transformation 2.0 rules behave the same.
763
+ - |-
764
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
765
+ The rendered text is parsed as JSON, so a string value is written
766
+ by a JSON-escaping helper in triple braces: `{"label":
767
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
768
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
769
+ value holding a double quote, a backslash and an apostrophe
770
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
771
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
772
+ record.name}}"}` each left the row an empty object with
773
+ `json_parse_error` (`Failed to parse string as JSON`), and for
774
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
775
+ &amp; Sons` with no error. Keep a space before the object's
776
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
777
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
778
+ the same results for every form; there the missing space is
779
+ refused with 422 `evaluation_failed`.
764
780
  examples:
765
781
  - $.fullName
766
782
  - '{{{record.fullName}}}'
@@ -1813,20 +1829,19 @@ components:
1813
1829
  ```
1814
1830
 
1815
1831
  **3. Hard-Coded Value (literal string)**
1816
- - Does NOT start with '$'
1817
- - Does NOT contain handlebars '{{' syntax
1818
- - System treats it as a literal string value
1819
- - VERY COMMON for setting static/constant values
1832
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
1833
+ - The text itself is the row's value; nothing is read from the input record
1834
+ - A source field's name is no exception: on a `string` row, `companyname`
1835
+ (or `record.companyname`) writes that text, not the field's value, and
1836
+ the record succeeds. `$.companyname` reads the field
1820
1837
  - Examples: "Active", "USD", "Completed", "true"
1821
1838
 
1822
1839
  ```json
1823
1840
  "extract": "primary" // Sets field value to the literal string "primary"
1824
- "extract": "true" // Sets field value to the literal string "true"
1825
1841
  "extract": "N/A" // Sets field value to the literal string "N/A"
1826
1842
  ```
1827
1843
 
1828
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
1829
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
1844
+ Use this pattern when a field needs a static value that doesn't come from
1830
1845
  the input record or require computation.
1831
1846
 
1832
1847
  **Important implementation details**
@@ -1893,15 +1908,32 @@ components:
1893
1908
  ## TRIPLE BRACES FOR VALUES
1894
1909
  A substitution that outputs a value is written with triple
1895
1910
  braces. With double braces the mapper HTML-escapes the output —
1896
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
1897
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
1898
- helper's result (`{{uppercase record.name}}`, `{{join ", "
1899
- record.tags}}`) and inside a block (`{{#if
1900
- record.name}}{{record.name}}{{/if}}`), with no error: the
1911
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
1912
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
1913
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
1914
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
1915
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
1901
1916
  destination receives `O&#x27;Brien` for `O'Brien`. The same
1902
1917
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
1903
1918
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
1904
1919
  unchanged. Transformation 2.0 rules behave the same.
1920
+ - |-
1921
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
1922
+ The rendered text is parsed as JSON, so a string value is written
1923
+ by a JSON-escaping helper in triple braces: `{"label":
1924
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
1925
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
1926
+ value holding a double quote, a backslash and an apostrophe
1927
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
1928
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
1929
+ record.name}}"}` each left the row an empty object with
1930
+ `json_parse_error` (`Failed to parse string as JSON`), and for
1931
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
1932
+ &amp; Sons` with no error. Keep a space before the object's
1933
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
1934
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
1935
+ the same results for every form; there the missing space is
1936
+ refused with 422 `evaluation_failed`.
1905
1937
  examples:
1906
1938
  - $.fullName
1907
1939
  - '{{{record.fullName}}}'
package/dist/export.yml CHANGED
@@ -13601,20 +13601,19 @@ components:
13601
13601
  ```
13602
13602
 
13603
13603
  **3. Hard-Coded Value (literal string)**
13604
- - Does NOT start with '$'
13605
- - Does NOT contain handlebars '{{' syntax
13606
- - System treats it as a literal string value
13607
- - VERY COMMON for setting static/constant values
13604
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
13605
+ - The text itself is the row's value; nothing is read from the input record
13606
+ - A source field's name is no exception: on a `string` row, `companyname`
13607
+ (or `record.companyname`) writes that text, not the field's value, and
13608
+ the record succeeds. `$.companyname` reads the field
13608
13609
  - Examples: "Active", "USD", "Completed", "true"
13609
13610
 
13610
13611
  ```json
13611
13612
  "extract": "primary" // Sets field value to the literal string "primary"
13612
- "extract": "true" // Sets field value to the literal string "true"
13613
13613
  "extract": "N/A" // Sets field value to the literal string "N/A"
13614
13614
  ```
13615
13615
 
13616
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
13617
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
13616
+ Use this pattern when a field needs a static value that doesn't come from
13618
13617
  the input record or require computation.
13619
13618
 
13620
13619
  **Important implementation details**
@@ -13681,15 +13680,32 @@ components:
13681
13680
  ## TRIPLE BRACES FOR VALUES
13682
13681
  A substitution that outputs a value is written with triple
13683
13682
  braces. With double braces the mapper HTML-escapes the output —
13684
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
13685
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
13686
- helper's result (`{{uppercase record.name}}`, `{{join ", "
13687
- record.tags}}`) and inside a block (`{{#if
13688
- record.name}}{{record.name}}{{/if}}`), with no error: the
13683
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
13684
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
13685
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
13686
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
13687
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
13689
13688
  destination receives `O&#x27;Brien` for `O'Brien`. The same
13690
13689
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
13691
13690
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
13692
13691
  unchanged. Transformation 2.0 rules behave the same.
13692
+ - |-
13693
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
13694
+ The rendered text is parsed as JSON, so a string value is written
13695
+ by a JSON-escaping helper in triple braces: `{"label":
13696
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
13697
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
13698
+ value holding a double quote, a backslash and an apostrophe
13699
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
13700
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
13701
+ record.name}}"}` each left the row an empty object with
13702
+ `json_parse_error` (`Failed to parse string as JSON`), and for
13703
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
13704
+ &amp; Sons` with no error. Keep a space before the object's
13705
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
13706
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
13707
+ the same results for every form; there the missing space is
13708
+ refused with 422 `evaluation_failed`.
13693
13709
  examples:
13694
13710
  - $.fullName
13695
13711
  - '{{{record.fullName}}}'
@@ -14742,20 +14758,19 @@ components:
14742
14758
  ```
14743
14759
 
14744
14760
  **3. Hard-Coded Value (literal string)**
14745
- - Does NOT start with '$'
14746
- - Does NOT contain handlebars '{{' syntax
14747
- - System treats it as a literal string value
14748
- - VERY COMMON for setting static/constant values
14761
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
14762
+ - The text itself is the row's value; nothing is read from the input record
14763
+ - A source field's name is no exception: on a `string` row, `companyname`
14764
+ (or `record.companyname`) writes that text, not the field's value, and
14765
+ the record succeeds. `$.companyname` reads the field
14749
14766
  - Examples: "Active", "USD", "Completed", "true"
14750
14767
 
14751
14768
  ```json
14752
14769
  "extract": "primary" // Sets field value to the literal string "primary"
14753
- "extract": "true" // Sets field value to the literal string "true"
14754
14770
  "extract": "N/A" // Sets field value to the literal string "N/A"
14755
14771
  ```
14756
14772
 
14757
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
14758
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
14773
+ Use this pattern when a field needs a static value that doesn't come from
14759
14774
  the input record or require computation.
14760
14775
 
14761
14776
  **Important implementation details**
@@ -14822,15 +14837,32 @@ components:
14822
14837
  ## TRIPLE BRACES FOR VALUES
14823
14838
  A substitution that outputs a value is written with triple
14824
14839
  braces. With double braces the mapper HTML-escapes the output —
14825
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
14826
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
14827
- helper's result (`{{uppercase record.name}}`, `{{join ", "
14828
- record.tags}}`) and inside a block (`{{#if
14829
- record.name}}{{record.name}}{{/if}}`), with no error: the
14840
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
14841
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
14842
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
14843
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
14844
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
14830
14845
  destination receives `O&#x27;Brien` for `O'Brien`. The same
14831
14846
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
14832
14847
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
14833
14848
  unchanged. Transformation 2.0 rules behave the same.
14849
+ - |-
14850
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
14851
+ The rendered text is parsed as JSON, so a string value is written
14852
+ by a JSON-escaping helper in triple braces: `{"label":
14853
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
14854
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
14855
+ value holding a double quote, a backslash and an apostrophe
14856
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
14857
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
14858
+ record.name}}"}` each left the row an empty object with
14859
+ `json_parse_error` (`Failed to parse string as JSON`), and for
14860
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
14861
+ &amp; Sons` with no error. Keep a space before the object's
14862
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
14863
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
14864
+ the same results for every form; there the missing space is
14865
+ refused with 422 `evaluation_failed`.
14834
14866
  examples:
14835
14867
  - $.fullName
14836
14868
  - '{{{record.fullName}}}'
@@ -2098,9 +2098,10 @@ components:
2098
2098
  - |-
2099
2099
  Double braces HTML-escape whatever they output — a field, a helper's result
2100
2100
  (`{{uppercase lastName}}`, `{{join ", " tags}}`) and a substitution inside a
2101
- block — with no error: `&`, `<`, `>`, `"` and `'` are written as `&amp;`,
2102
- `&lt;`, `&gt;`, `&quot;` and `&#x27;`. The same expressions in triple braces,
2103
- and a plain path, write the value unchanged.
2101
+ block — with no error: `&`, `<`, `>`, `"`, `'`, `=` and the backtick are
2102
+ written as `&amp;`, `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;`.
2103
+ The same expressions in triple braces, and a plain path, write the value
2104
+ unchanged.
2104
2105
  - |-
2105
2106
  In a `dataType: json` row the rendered text is parsed, so a string value needs
2106
2107
  JSON escaping instead: `[{{{jsonSerialize name}}}]` wrote a value holding a
@@ -2109,6 +2110,12 @@ components:
2109
2110
  the HTML-escaped text. Keep a space between the helper's closing braces and
2110
2111
  an object's closing brace: `{"name": {{{jsonSerialize name}}}}` failed with
2111
2112
  `malformed_expression`, `{"name": {{{jsonSerialize name}}} }` was parsed.
2113
+ - |-
2114
+ `jsonEncode` inside the quotes, in triple braces, is the other form that
2115
+ holds: `{"label":"{{{jsonEncode name}}}"}` wrote a value holding a double
2116
+ quote, a backslash and an apostrophe intact, as `{"label": {{{jsonSerialize
2117
+ name}}} }` did. In double braces (`"{{jsonEncode name}}"`) the same row
2118
+ failed on that value with `Bad escaped character in JSON`.
2112
2119
  hardCodedValue:
2113
2120
  type:
2114
2121
  - string
package/dist/import.yml CHANGED
@@ -4485,9 +4485,11 @@ components:
4485
4485
  In the mapping preview double braces HTML-escaped the
4486
4486
  output — a field (`{{name}}`), a helper's result
4487
4487
  (`{{uppercase name}}`) and a substitution inside a block
4488
- alike: `O'Brien` rendered as `O&#x27;Brien` and `A&B` as
4489
- `A&amp;B` — while the same expressions in triple braces
4490
- and a plain path rendered the value unchanged.
4488
+ alike: `O'Brien` rendered as `O&#x27;Brien`, `A&B` as
4489
+ `A&amp;B` and `a=b` as `a&#x3D;b` (`<`, `>`, `"` and the
4490
+ backtick are escaped the same way) — while the same
4491
+ expressions in triple braces and a plain path rendered
4492
+ the value unchanged.
4491
4493
  generate:
4492
4494
  type: string
4493
4495
  description: |
@@ -4759,8 +4761,26 @@ components:
4759
4761
  `lookup_empty` row was applied and a `lookup_not_empty` row left
4760
4762
  out, and the lookup raised no error, on import runs with
4761
4763
  `restletVersion` `suiteapp2.0`, `suiteapp1.0` and `suitebundle` and
4762
- in the mapping preview. `allowFailures` fails a record only on a
4763
- row that takes its value from the lookup (`lookupName`).
4764
+ in the mapping preview. On a search lookup `allowFailures` fails a
4765
+ record only on a row that takes its value from the lookup
4766
+ (`lookupName`).
4767
+ - |-
4768
+ A static lookup (`map`) behind a condition is keyed on the
4769
+ conditioned row's own `extract` value, and a key missing from the
4770
+ map can fail the record. On body rows of `restletVersion:
4771
+ suiteapp2.0` import runs it did, under `lookup_empty` and
4772
+ `lookup_not_empty` alike — `lookup_error`, `Could not find value
4773
+ for static lookup: <name> {Lookup Key: <value>}` — when the
4774
+ lookup had no `default`, with `allowFailures` false, unset and
4775
+ true. With a non-empty `default` and `allowFailures` true, unset
4776
+ or null the record went through and the condition read not empty.
4777
+ - |-
4778
+ The mapping preview and import runs on `suiteapp1.0` and
4779
+ `suitebundle` read a static lookup's missing key as empty and
4780
+ raised nothing (`allowFailures` false, true, and true with a
4781
+ `default`), so the preview shows a `lookup_empty` row applied
4782
+ where a `suiteapp2.0` run fails the record. A key in the map
4783
+ read as not empty in all of them.
4764
4784
  - |-
4765
4785
  On `restletVersion: suiteapp2.0` an import run reads the condition
4766
4786
  from the value the lookup resolves to under its own settings.
@@ -4780,6 +4800,14 @@ components:
4780
4800
  `default` and `allowFailures: false` is refused in both: `Lookups
4781
4801
  with default set can not have allowFailures explicitly set to
4782
4802
  false.`
4803
+ - |-
4804
+ With `allowFailures` unset a `suiteapp2.0` import run (body rows)
4805
+ also fell back to a non-empty `default`: `lookup_not_empty` held
4806
+ on no match and on several matches, with and without
4807
+ `useDefaultOnMultipleMatches`, and on no match with
4808
+ `allowFailures: null`. With no `default`, no match and several
4809
+ matches both read as empty, as did several matches that
4810
+ `useDefaultOnMultipleMatches` sent to an empty `default`.
4783
4811
  - |-
4784
4812
  The mapping preview (`PUT /v1/netsuiteDA/previewImportMappingFields`)
4785
4813
  reads the condition from the search alone: no match is empty, one
@@ -4796,8 +4824,8 @@ components:
4796
4824
  out), and several matches that the lookup does not resolve to a
4797
4825
  record, with `allowFailures` false or routed to an empty `default`
4798
4826
  (the preview left the `lookup_empty` row out, the run applied
4799
- it). Give a lookup that only a condition reads no `default` and
4800
- criteria that match at most one record, and the two agree.
4827
+ it). Give a search lookup that only a condition reads no `default`
4828
+ and criteria that match at most one record, and the two agree.
4801
4829
  - |-
4802
4830
  `when: record_updated` requires an operation that can update an
4803
4831
  existing record: on an `add`-only operation every record fails with
@@ -5222,14 +5250,31 @@ components:
5222
5250
  report it either: there the row is left out of the sublist with no
5223
5251
  error.
5224
5252
  - |-
5225
- A lookup-based condition is read as on a body row — a miss never
5226
- fails the record, and the mapping preview reads the search where a
5227
- `suiteapp2.0` run reads the lookup's resolved value (see
5228
- `mapping.fields[].conditional`). On an iterating sublist the preview
5229
- evaluates it per line: with two lines whose lookup found an item for
5230
- the first only, a `lookup_not_empty` row was written on the first
5231
- line and a `lookup_empty` row on the second, with the lookup's
5232
- `allowFailures` true and false alike.
5253
+ A condition on a search lookup is read as on a body row — a search
5254
+ that finds nothing never fails the record, and the mapping preview
5255
+ reads the search where a `suiteapp2.0` run reads the lookup's
5256
+ resolved value (see `mapping.fields[].conditional`). On an iterating
5257
+ sublist the preview evaluates it per line: with two lines whose
5258
+ lookup found an item for the first only, a `lookup_not_empty` row
5259
+ was written on the first line and a `lookup_empty` row on the
5260
+ second, with the lookup's `allowFailures` true and false alike.
5261
+ - |-
5262
+ A static (`map`) lookup behind a sublist row's condition: on a
5263
+ `suiteapp2.0` import run over two lines, one line's key missing
5264
+ from the map failed the record — `lookup_error`, `Could not find
5265
+ value for static lookup: <name> {Lookup Key: <value>}` — with
5266
+ `allowFailures` false and true alike and no `default`. No mapping
5267
+ error was raised with `allowFailures` true and a non-empty
5268
+ `default`, nor — with `allowFailures` false — when both lines'
5269
+ keys were in the map, under either `when`.
5270
+ - |-
5271
+ A script's `imports.runMapping` on a `restletVersion: suiteapp2.0`
5272
+ definition decided each line on its own as well: with three lines
5273
+ whose lookup matched one record, none and several, each line's row
5274
+ was applied or left out as that line's match count decides under
5275
+ the lookup's settings (the cases under
5276
+ `mapping.fields[].conditional`), while the preview applied a
5277
+ `lookup_empty` row on the line with no match only.
5233
5278
  - |-
5234
5279
  The operation contract differs from body-field conditions:
5235
5280
  `when: record_updated` on an `add`-only operation is rejected
@@ -5600,14 +5645,22 @@ components:
5600
5645
  as unset).
5601
5646
  x-celigo-ai-guidance:
5602
5647
  - |-
5603
- A miss never halts the record through a row condition that reads
5604
- this lookup (`conditional.lookupName` with `lookup_empty` /
5605
- `lookup_not_empty`), whatever this flag says — do not turn it on
5606
- to keep a `lookup_empty` condition from failing. On a
5607
- `restletVersion: suiteapp2.0` import the flag, `default` and
5608
- `useDefaultOnMultipleMatches` do decide what such a condition
5609
- reads when the search matches several records or falls back to a
5610
- default — see `mapping.fields[].conditional`.
5648
+ A search that finds nothing never halts the record through a row
5649
+ condition that reads this lookup (`conditional.lookupName` with
5650
+ `lookup_empty` / `lookup_not_empty`), whatever this flag says — do
5651
+ not turn it on to keep a `lookup_empty` condition on a search
5652
+ lookup from failing. On a `restletVersion: suiteapp2.0` import the
5653
+ flag, `default` and `useDefaultOnMultipleMatches` do decide what
5654
+ such a condition reads when the search matches several records or
5655
+ falls back to a default — see `mapping.fields[].conditional`.
5656
+ - |-
5657
+ A static lookup (`map`) is different: on a `suiteapp2.0` import
5658
+ run a key missing from the map failed the record through the
5659
+ condition when the lookup had no `default`, with this flag false,
5660
+ unset and true alike. With a non-empty `default` the record went
5661
+ through with this flag true, unset and null; a `default` beside an
5662
+ explicit `false` is refused (`Lookups with default set can not have
5663
+ allowFailures explicitly set to false.`). See `map`.
5611
5664
  map:
5612
5665
  type:
5613
5666
  - object
@@ -5617,6 +5670,17 @@ components:
5617
5670
  NetSuite search. When the incoming value matches a key, the
5618
5671
  mapped value is returned without hitting NetSuite. Null on
5619
5672
  dynamic (search-based) lookups with no static map.
5673
+ x-celigo-ai-guidance:
5674
+ - |-
5675
+ When a row condition reads this lookup (`conditional.lookupName`),
5676
+ give the lookup `allowFailures: true` and a non-empty `default`, or
5677
+ a map that holds every key the conditioned row's `extract` can
5678
+ carry: on a `restletVersion: suiteapp2.0` import run a key missing
5679
+ from the map of a lookup with no `default` failed the record with
5680
+ `lookup_error` — `Could not find value for static lookup: <name>
5681
+ {Lookup Key: <value>}` — whichever of `lookup_empty` /
5682
+ `lookup_not_empty` the row used. The mapping preview does not show
5683
+ it — see `mapping.fields[].conditional`.
5620
5684
  default:
5621
5685
  type:
5622
5686
  - string
@@ -14292,20 +14356,19 @@ components:
14292
14356
  ```
14293
14357
 
14294
14358
  **3. Hard-Coded Value (literal string)**
14295
- - Does NOT start with '$'
14296
- - Does NOT contain handlebars '{{' syntax
14297
- - System treats it as a literal string value
14298
- - VERY COMMON for setting static/constant values
14359
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
14360
+ - The text itself is the row's value; nothing is read from the input record
14361
+ - A source field's name is no exception: on a `string` row, `companyname`
14362
+ (or `record.companyname`) writes that text, not the field's value, and
14363
+ the record succeeds. `$.companyname` reads the field
14299
14364
  - Examples: "Active", "USD", "Completed", "true"
14300
14365
 
14301
14366
  ```json
14302
14367
  "extract": "primary" // Sets field value to the literal string "primary"
14303
- "extract": "true" // Sets field value to the literal string "true"
14304
14368
  "extract": "N/A" // Sets field value to the literal string "N/A"
14305
14369
  ```
14306
14370
 
14307
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
14308
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
14371
+ Use this pattern when a field needs a static value that doesn't come from
14309
14372
  the input record or require computation.
14310
14373
 
14311
14374
  **Important implementation details**
@@ -14372,15 +14435,32 @@ components:
14372
14435
  ## TRIPLE BRACES FOR VALUES
14373
14436
  A substitution that outputs a value is written with triple
14374
14437
  braces. With double braces the mapper HTML-escapes the output —
14375
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
14376
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
14377
- helper's result (`{{uppercase record.name}}`, `{{join ", "
14378
- record.tags}}`) and inside a block (`{{#if
14379
- record.name}}{{record.name}}{{/if}}`), with no error: the
14438
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
14439
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
14440
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
14441
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
14442
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
14380
14443
  destination receives `O&#x27;Brien` for `O'Brien`. The same
14381
14444
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
14382
14445
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
14383
14446
  unchanged. Transformation 2.0 rules behave the same.
14447
+ - |-
14448
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
14449
+ The rendered text is parsed as JSON, so a string value is written
14450
+ by a JSON-escaping helper in triple braces: `{"label":
14451
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
14452
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
14453
+ value holding a double quote, a backslash and an apostrophe
14454
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
14455
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
14456
+ record.name}}"}` each left the row an empty object with
14457
+ `json_parse_error` (`Failed to parse string as JSON`), and for
14458
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
14459
+ &amp; Sons` with no error. Keep a space before the object's
14460
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
14461
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
14462
+ the same results for every form; there the missing space is
14463
+ refused with 422 `evaluation_failed`.
14384
14464
  examples:
14385
14465
  - $.fullName
14386
14466
  - '{{{record.fullName}}}'
@@ -15433,20 +15513,19 @@ components:
15433
15513
  ```
15434
15514
 
15435
15515
  **3. Hard-Coded Value (literal string)**
15436
- - Does NOT start with '$'
15437
- - Does NOT contain handlebars '{{' syntax
15438
- - System treats it as a literal string value
15439
- - VERY COMMON for setting static/constant values
15516
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
15517
+ - The text itself is the row's value; nothing is read from the input record
15518
+ - A source field's name is no exception: on a `string` row, `companyname`
15519
+ (or `record.companyname`) writes that text, not the field's value, and
15520
+ the record succeeds. `$.companyname` reads the field
15440
15521
  - Examples: "Active", "USD", "Completed", "true"
15441
15522
 
15442
15523
  ```json
15443
15524
  "extract": "primary" // Sets field value to the literal string "primary"
15444
- "extract": "true" // Sets field value to the literal string "true"
15445
15525
  "extract": "N/A" // Sets field value to the literal string "N/A"
15446
15526
  ```
15447
15527
 
15448
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
15449
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
15528
+ Use this pattern when a field needs a static value that doesn't come from
15450
15529
  the input record or require computation.
15451
15530
 
15452
15531
  **Important implementation details**
@@ -15513,15 +15592,32 @@ components:
15513
15592
  ## TRIPLE BRACES FOR VALUES
15514
15593
  A substitution that outputs a value is written with triple
15515
15594
  braces. With double braces the mapper HTML-escapes the output —
15516
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
15517
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
15518
- helper's result (`{{uppercase record.name}}`, `{{join ", "
15519
- record.tags}}`) and inside a block (`{{#if
15520
- record.name}}{{record.name}}{{/if}}`), with no error: the
15595
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
15596
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
15597
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
15598
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
15599
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
15521
15600
  destination receives `O&#x27;Brien` for `O'Brien`. The same
15522
15601
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
15523
15602
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
15524
15603
  unchanged. Transformation 2.0 rules behave the same.
15604
+ - |-
15605
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
15606
+ The rendered text is parsed as JSON, so a string value is written
15607
+ by a JSON-escaping helper in triple braces: `{"label":
15608
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
15609
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
15610
+ value holding a double quote, a backslash and an apostrophe
15611
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
15612
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
15613
+ record.name}}"}` each left the row an empty object with
15614
+ `json_parse_error` (`Failed to parse string as JSON`), and for
15615
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
15616
+ &amp; Sons` with no error. Keep a space before the object's
15617
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
15618
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
15619
+ the same results for every form; there the missing space is
15620
+ refused with 422 `evaluation_failed`.
15525
15621
  examples:
15526
15622
  - $.fullName
15527
15623
  - '{{{record.fullName}}}'
@@ -16880,9 +16976,10 @@ components:
16880
16976
  - |-
16881
16977
  Double braces HTML-escape whatever they output — a field, a helper's result
16882
16978
  (`{{uppercase lastName}}`, `{{join ", " tags}}`) and a substitution inside a
16883
- block — with no error: `&`, `<`, `>`, `"` and `'` are written as `&amp;`,
16884
- `&lt;`, `&gt;`, `&quot;` and `&#x27;`. The same expressions in triple braces,
16885
- and a plain path, write the value unchanged.
16979
+ block — with no error: `&`, `<`, `>`, `"`, `'`, `=` and the backtick are
16980
+ written as `&amp;`, `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;`.
16981
+ The same expressions in triple braces, and a plain path, write the value
16982
+ unchanged.
16886
16983
  - |-
16887
16984
  In a `dataType: json` row the rendered text is parsed, so a string value needs
16888
16985
  JSON escaping instead: `[{{{jsonSerialize name}}}]` wrote a value holding a
@@ -16891,6 +16988,12 @@ components:
16891
16988
  the HTML-escaped text. Keep a space between the helper's closing braces and
16892
16989
  an object's closing brace: `{"name": {{{jsonSerialize name}}}}` failed with
16893
16990
  `malformed_expression`, `{"name": {{{jsonSerialize name}}} }` was parsed.
16991
+ - |-
16992
+ `jsonEncode` inside the quotes, in triple braces, is the other form that
16993
+ holds: `{"label":"{{{jsonEncode name}}}"}` wrote a value holding a double
16994
+ quote, a backslash and an apostrophe intact, as `{"label": {{{jsonSerialize
16995
+ name}}} }` did. In double braces (`"{{jsonEncode name}}"`) the same row
16996
+ failed on that value with `Bad escaped character in JSON`.
16894
16997
  hardCodedValue:
16895
16998
  type:
16896
16999
  - string
@@ -19855,6 +19958,13 @@ components:
19855
19958
  non-empty `default`, and when the search matches several records that
19856
19959
  the lookup does not resolve to one — see `mapping.fields[].conditional`
19857
19960
  on the import.
19961
+ - |-
19962
+ A static lookup (`map`) behind a row condition reads as empty here when
19963
+ the conditioned row's value is not a key of the map, and no error is
19964
+ returned — while a run of a `restletVersion: suiteapp2.0` import failed
19965
+ such a record with `lookup_error` when the lookup had no `default`. A
19966
+ `lookup_empty` row shown applied here for a static lookup is therefore
19967
+ not proof that the run maps it.
19858
19968
  - |-
19859
19969
  The record is mapped as sent. For a one-to-many import (`oneToMany` with
19860
19970
  `pathToMany`, set on the import and not part of this request) send the
package/dist/tool.yml CHANGED
@@ -3857,20 +3857,19 @@ components:
3857
3857
  ```
3858
3858
 
3859
3859
  **3. Hard-Coded Value (literal string)**
3860
- - Does NOT start with '$'
3861
- - Does NOT contain handlebars '{{' syntax
3862
- - System treats it as a literal string value
3863
- - VERY COMMON for setting static/constant values
3860
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
3861
+ - The text itself is the row's value; nothing is read from the input record
3862
+ - A source field's name is no exception: on a `string` row, `companyname`
3863
+ (or `record.companyname`) writes that text, not the field's value, and
3864
+ the record succeeds. `$.companyname` reads the field
3864
3865
  - Examples: "Active", "USD", "Completed", "true"
3865
3866
 
3866
3867
  ```json
3867
3868
  "extract": "primary" // Sets field value to the literal string "primary"
3868
- "extract": "true" // Sets field value to the literal string "true"
3869
3869
  "extract": "N/A" // Sets field value to the literal string "N/A"
3870
3870
  ```
3871
3871
 
3872
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
3873
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
3872
+ Use this pattern when a field needs a static value that doesn't come from
3874
3873
  the input record or require computation.
3875
3874
 
3876
3875
  **Important implementation details**
@@ -3937,15 +3936,32 @@ components:
3937
3936
  ## TRIPLE BRACES FOR VALUES
3938
3937
  A substitution that outputs a value is written with triple
3939
3938
  braces. With double braces the mapper HTML-escapes the output —
3940
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
3941
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
3942
- helper's result (`{{uppercase record.name}}`, `{{join ", "
3943
- record.tags}}`) and inside a block (`{{#if
3944
- record.name}}{{record.name}}{{/if}}`), with no error: the
3939
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
3940
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
3941
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
3942
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
3943
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
3945
3944
  destination receives `O&#x27;Brien` for `O'Brien`. The same
3946
3945
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
3947
3946
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
3948
3947
  unchanged. Transformation 2.0 rules behave the same.
3948
+ - |-
3949
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
3950
+ The rendered text is parsed as JSON, so a string value is written
3951
+ by a JSON-escaping helper in triple braces: `{"label":
3952
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
3953
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
3954
+ value holding a double quote, a backslash and an apostrophe
3955
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
3956
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
3957
+ record.name}}"}` each left the row an empty object with
3958
+ `json_parse_error` (`Failed to parse string as JSON`), and for
3959
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
3960
+ &amp; Sons` with no error. Keep a space before the object's
3961
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
3962
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
3963
+ the same results for every form; there the missing space is
3964
+ refused with 422 `evaluation_failed`.
3949
3965
  examples:
3950
3966
  - $.fullName
3951
3967
  - '{{{record.fullName}}}'
@@ -4998,20 +5014,19 @@ components:
4998
5014
  ```
4999
5015
 
5000
5016
  **3. Hard-Coded Value (literal string)**
5001
- - Does NOT start with '$'
5002
- - Does NOT contain handlebars '{{' syntax
5003
- - System treats it as a literal string value
5004
- - VERY COMMON for setting static/constant values
5017
+ - Does NOT start with '$' and does NOT contain handlebars '{{' syntax
5018
+ - The text itself is the row's value; nothing is read from the input record
5019
+ - A source field's name is no exception: on a `string` row, `companyname`
5020
+ (or `record.companyname`) writes that text, not the field's value, and
5021
+ the record succeeds. `$.companyname` reads the field
5005
5022
  - Examples: "Active", "USD", "Completed", "true"
5006
5023
 
5007
5024
  ```json
5008
5025
  "extract": "primary" // Sets field value to the literal string "primary"
5009
- "extract": "true" // Sets field value to the literal string "true"
5010
5026
  "extract": "N/A" // Sets field value to the literal string "N/A"
5011
5027
  ```
5012
5028
 
5013
- This third pattern is the simplest and most efficient way to set hard-coded values in your mappings.
5014
- AI agents should use this pattern whenever a field needs a static value that doesn't come from
5029
+ Use this pattern when a field needs a static value that doesn't come from
5015
5030
  the input record or require computation.
5016
5031
 
5017
5032
  **Important implementation details**
@@ -5078,15 +5093,32 @@ components:
5078
5093
  ## TRIPLE BRACES FOR VALUES
5079
5094
  A substitution that outputs a value is written with triple
5080
5095
  braces. With double braces the mapper HTML-escapes the output —
5081
- `&`, `<`, `>`, `"` and `'` become `&amp;`, `&lt;`, `&gt;`,
5082
- `&quot;` and `&#x27;` — for a field (`{{record.name}}`), for a
5083
- helper's result (`{{uppercase record.name}}`, `{{join ", "
5084
- record.tags}}`) and inside a block (`{{#if
5085
- record.name}}{{record.name}}{{/if}}`), with no error: the
5096
+ `&`, `<`, `>`, `"`, `'`, `=` and the backtick become `&amp;`,
5097
+ `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;` — for a
5098
+ field (`{{record.name}}`), for a helper's result (`{{uppercase
5099
+ record.name}}`, `{{join ", " record.tags}}`) and inside a block
5100
+ (`{{#if record.name}}{{record.name}}{{/if}}`), with no error: the
5086
5101
  destination receives `O&#x27;Brien` for `O'Brien`. The same
5087
5102
  expressions with triple braces (`{{{record.name}}}`, `{{{uppercase
5088
5103
  record.name}}}`) and a JSONPath extract (`$.name`) write the value
5089
5104
  unchanged. Transformation 2.0 rules behave the same.
5105
+ - |-
5106
+ ## A STRING VALUE IN AN `object` ROW'S JSON TEMPLATE
5107
+ The rendered text is parsed as JSON, so a string value is written
5108
+ by a JSON-escaping helper in triple braces: `{"label":
5109
+ {{{jsonSerialize record.name}}} }` (no quotes — the helper writes
5110
+ them) and `{"label":"{{{jsonEncode record.name}}}"}` both wrote a
5111
+ value holding a double quote, a backslash and an apostrophe
5112
+ unchanged. On that value `{"label":"{{{record.name}}}"}`,
5113
+ `{"label":"{{record.name}}"}` and `{"label":"{{jsonEncode
5114
+ record.name}}"}` each left the row an empty object with
5115
+ `json_parse_error` (`Failed to parse string as JSON`), and for
5116
+ `O'Brien & Sons` the two double-brace forms wrote `O&#x27;Brien
5117
+ &amp; Sons` with no error. Keep a space before the object's
5118
+ closing brace: `{{{jsonSerialize record.name}}}}` is refused with
5119
+ 422 `cannot_evaluate_handlebars`. Transformation 2.0 rules gave
5120
+ the same results for every form; there the missing space is
5121
+ refused with 422 `evaluation_failed`.
5090
5122
  examples:
5091
5123
  - $.fullName
5092
5124
  - '{{{record.fullName}}}'
@@ -17206,9 +17238,11 @@ components:
17206
17238
  In the mapping preview double braces HTML-escaped the
17207
17239
  output — a field (`{{name}}`), a helper's result
17208
17240
  (`{{uppercase name}}`) and a substitution inside a block
17209
- alike: `O'Brien` rendered as `O&#x27;Brien` and `A&B` as
17210
- `A&amp;B` — while the same expressions in triple braces
17211
- and a plain path rendered the value unchanged.
17241
+ alike: `O'Brien` rendered as `O&#x27;Brien`, `A&B` as
17242
+ `A&amp;B` and `a=b` as `a&#x3D;b` (`<`, `>`, `"` and the
17243
+ backtick are escaped the same way) — while the same
17244
+ expressions in triple braces and a plain path rendered
17245
+ the value unchanged.
17212
17246
  generate:
17213
17247
  type: string
17214
17248
  description: |
@@ -17480,8 +17514,26 @@ components:
17480
17514
  `lookup_empty` row was applied and a `lookup_not_empty` row left
17481
17515
  out, and the lookup raised no error, on import runs with
17482
17516
  `restletVersion` `suiteapp2.0`, `suiteapp1.0` and `suitebundle` and
17483
- in the mapping preview. `allowFailures` fails a record only on a
17484
- row that takes its value from the lookup (`lookupName`).
17517
+ in the mapping preview. On a search lookup `allowFailures` fails a
17518
+ record only on a row that takes its value from the lookup
17519
+ (`lookupName`).
17520
+ - |-
17521
+ A static lookup (`map`) behind a condition is keyed on the
17522
+ conditioned row's own `extract` value, and a key missing from the
17523
+ map can fail the record. On body rows of `restletVersion:
17524
+ suiteapp2.0` import runs it did, under `lookup_empty` and
17525
+ `lookup_not_empty` alike — `lookup_error`, `Could not find value
17526
+ for static lookup: <name> {Lookup Key: <value>}` — when the
17527
+ lookup had no `default`, with `allowFailures` false, unset and
17528
+ true. With a non-empty `default` and `allowFailures` true, unset
17529
+ or null the record went through and the condition read not empty.
17530
+ - |-
17531
+ The mapping preview and import runs on `suiteapp1.0` and
17532
+ `suitebundle` read a static lookup's missing key as empty and
17533
+ raised nothing (`allowFailures` false, true, and true with a
17534
+ `default`), so the preview shows a `lookup_empty` row applied
17535
+ where a `suiteapp2.0` run fails the record. A key in the map
17536
+ read as not empty in all of them.
17485
17537
  - |-
17486
17538
  On `restletVersion: suiteapp2.0` an import run reads the condition
17487
17539
  from the value the lookup resolves to under its own settings.
@@ -17501,6 +17553,14 @@ components:
17501
17553
  `default` and `allowFailures: false` is refused in both: `Lookups
17502
17554
  with default set can not have allowFailures explicitly set to
17503
17555
  false.`
17556
+ - |-
17557
+ With `allowFailures` unset a `suiteapp2.0` import run (body rows)
17558
+ also fell back to a non-empty `default`: `lookup_not_empty` held
17559
+ on no match and on several matches, with and without
17560
+ `useDefaultOnMultipleMatches`, and on no match with
17561
+ `allowFailures: null`. With no `default`, no match and several
17562
+ matches both read as empty, as did several matches that
17563
+ `useDefaultOnMultipleMatches` sent to an empty `default`.
17504
17564
  - |-
17505
17565
  The mapping preview (`PUT /v1/netsuiteDA/previewImportMappingFields`)
17506
17566
  reads the condition from the search alone: no match is empty, one
@@ -17517,8 +17577,8 @@ components:
17517
17577
  out), and several matches that the lookup does not resolve to a
17518
17578
  record, with `allowFailures` false or routed to an empty `default`
17519
17579
  (the preview left the `lookup_empty` row out, the run applied
17520
- it). Give a lookup that only a condition reads no `default` and
17521
- criteria that match at most one record, and the two agree.
17580
+ it). Give a search lookup that only a condition reads no `default`
17581
+ and criteria that match at most one record, and the two agree.
17522
17582
  - |-
17523
17583
  `when: record_updated` requires an operation that can update an
17524
17584
  existing record: on an `add`-only operation every record fails with
@@ -17943,14 +18003,31 @@ components:
17943
18003
  report it either: there the row is left out of the sublist with no
17944
18004
  error.
17945
18005
  - |-
17946
- A lookup-based condition is read as on a body row — a miss never
17947
- fails the record, and the mapping preview reads the search where a
17948
- `suiteapp2.0` run reads the lookup's resolved value (see
17949
- `mapping.fields[].conditional`). On an iterating sublist the preview
17950
- evaluates it per line: with two lines whose lookup found an item for
17951
- the first only, a `lookup_not_empty` row was written on the first
17952
- line and a `lookup_empty` row on the second, with the lookup's
17953
- `allowFailures` true and false alike.
18006
+ A condition on a search lookup is read as on a body row — a search
18007
+ that finds nothing never fails the record, and the mapping preview
18008
+ reads the search where a `suiteapp2.0` run reads the lookup's
18009
+ resolved value (see `mapping.fields[].conditional`). On an iterating
18010
+ sublist the preview evaluates it per line: with two lines whose
18011
+ lookup found an item for the first only, a `lookup_not_empty` row
18012
+ was written on the first line and a `lookup_empty` row on the
18013
+ second, with the lookup's `allowFailures` true and false alike.
18014
+ - |-
18015
+ A static (`map`) lookup behind a sublist row's condition: on a
18016
+ `suiteapp2.0` import run over two lines, one line's key missing
18017
+ from the map failed the record — `lookup_error`, `Could not find
18018
+ value for static lookup: <name> {Lookup Key: <value>}` — with
18019
+ `allowFailures` false and true alike and no `default`. No mapping
18020
+ error was raised with `allowFailures` true and a non-empty
18021
+ `default`, nor — with `allowFailures` false — when both lines'
18022
+ keys were in the map, under either `when`.
18023
+ - |-
18024
+ A script's `imports.runMapping` on a `restletVersion: suiteapp2.0`
18025
+ definition decided each line on its own as well: with three lines
18026
+ whose lookup matched one record, none and several, each line's row
18027
+ was applied or left out as that line's match count decides under
18028
+ the lookup's settings (the cases under
18029
+ `mapping.fields[].conditional`), while the preview applied a
18030
+ `lookup_empty` row on the line with no match only.
17954
18031
  - |-
17955
18032
  The operation contract differs from body-field conditions:
17956
18033
  `when: record_updated` on an `add`-only operation is rejected
@@ -18321,14 +18398,22 @@ components:
18321
18398
  as unset).
18322
18399
  x-celigo-ai-guidance:
18323
18400
  - |-
18324
- A miss never halts the record through a row condition that reads
18325
- this lookup (`conditional.lookupName` with `lookup_empty` /
18326
- `lookup_not_empty`), whatever this flag says — do not turn it on
18327
- to keep a `lookup_empty` condition from failing. On a
18328
- `restletVersion: suiteapp2.0` import the flag, `default` and
18329
- `useDefaultOnMultipleMatches` do decide what such a condition
18330
- reads when the search matches several records or falls back to a
18331
- default — see `mapping.fields[].conditional`.
18401
+ A search that finds nothing never halts the record through a row
18402
+ condition that reads this lookup (`conditional.lookupName` with
18403
+ `lookup_empty` / `lookup_not_empty`), whatever this flag says — do
18404
+ not turn it on to keep a `lookup_empty` condition on a search
18405
+ lookup from failing. On a `restletVersion: suiteapp2.0` import the
18406
+ flag, `default` and `useDefaultOnMultipleMatches` do decide what
18407
+ such a condition reads when the search matches several records or
18408
+ falls back to a default — see `mapping.fields[].conditional`.
18409
+ - |-
18410
+ A static lookup (`map`) is different: on a `suiteapp2.0` import
18411
+ run a key missing from the map failed the record through the
18412
+ condition when the lookup had no `default`, with this flag false,
18413
+ unset and true alike. With a non-empty `default` the record went
18414
+ through with this flag true, unset and null; a `default` beside an
18415
+ explicit `false` is refused (`Lookups with default set can not have
18416
+ allowFailures explicitly set to false.`). See `map`.
18332
18417
  map:
18333
18418
  type:
18334
18419
  - object
@@ -18338,6 +18423,17 @@ components:
18338
18423
  NetSuite search. When the incoming value matches a key, the
18339
18424
  mapped value is returned without hitting NetSuite. Null on
18340
18425
  dynamic (search-based) lookups with no static map.
18426
+ x-celigo-ai-guidance:
18427
+ - |-
18428
+ When a row condition reads this lookup (`conditional.lookupName`),
18429
+ give the lookup `allowFailures: true` and a non-empty `default`, or
18430
+ a map that holds every key the conditioned row's `extract` can
18431
+ carry: on a `restletVersion: suiteapp2.0` import run a key missing
18432
+ from the map of a lookup with no `default` failed the record with
18433
+ `lookup_error` — `Could not find value for static lookup: <name>
18434
+ {Lookup Key: <value>}` — whichever of `lookup_empty` /
18435
+ `lookup_not_empty` the row used. The mapping preview does not show
18436
+ it — see `mapping.fields[].conditional`.
18341
18437
  default:
18342
18438
  type:
18343
18439
  - string
@@ -26614,9 +26710,10 @@ components:
26614
26710
  - |-
26615
26711
  Double braces HTML-escape whatever they output — a field, a helper's result
26616
26712
  (`{{uppercase lastName}}`, `{{join ", " tags}}`) and a substitution inside a
26617
- block — with no error: `&`, `<`, `>`, `"` and `'` are written as `&amp;`,
26618
- `&lt;`, `&gt;`, `&quot;` and `&#x27;`. The same expressions in triple braces,
26619
- and a plain path, write the value unchanged.
26713
+ block — with no error: `&`, `<`, `>`, `"`, `'`, `=` and the backtick are
26714
+ written as `&amp;`, `&lt;`, `&gt;`, `&quot;`, `&#x27;`, `&#x3D;` and `&#x60;`.
26715
+ The same expressions in triple braces, and a plain path, write the value
26716
+ unchanged.
26620
26717
  - |-
26621
26718
  In a `dataType: json` row the rendered text is parsed, so a string value needs
26622
26719
  JSON escaping instead: `[{{{jsonSerialize name}}}]` wrote a value holding a
@@ -26625,6 +26722,12 @@ components:
26625
26722
  the HTML-escaped text. Keep a space between the helper's closing braces and
26626
26723
  an object's closing brace: `{"name": {{{jsonSerialize name}}}}` failed with
26627
26724
  `malformed_expression`, `{"name": {{{jsonSerialize name}}} }` was parsed.
26725
+ - |-
26726
+ `jsonEncode` inside the quotes, in triple braces, is the other form that
26727
+ holds: `{"label":"{{{jsonEncode name}}}"}` wrote a value holding a double
26728
+ quote, a backslash and an apostrophe intact, as `{"label": {{{jsonSerialize
26729
+ name}}} }` did. In double braces (`"{{jsonEncode name}}"`) the same row
26730
+ failed on that value with `Bad escaped character in JSON`.
26628
26731
  hardCodedValue:
26629
26732
  type:
26630
26733
  - string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.335",
3
+ "version": "0.2.337",
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": "c0dd90ee",
4
+ "iasCommit": "12472546",
5
5
  "generatedAt": "2026-11-22"
6
6
  },
7
7
  "roots": {