@celigo/api-specs 0.2.320 → 0.2.322

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
@@ -1869,6 +1869,7 @@ components:
1869
1869
  LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
1870
1870
  prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
1871
1871
  examples:
1872
+ - gemini-3.6-flash
1872
1873
  - gemini-2.5-flash
1873
1874
  - gemini-2.5-pro
1874
1875
  - gemini-2.5-flash-lite
@@ -1882,10 +1883,13 @@ components:
1882
1883
  provider on its own credentials — Gemini and Anthropic Claude each have
1883
1884
  their own rows. The save checks this: a model that is not in the catalog
1884
1885
  fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
1885
- retired one with `ai_model_retired` (the message names the retirement
1886
- date and, when any remain eligible, the suggested next models), a
1887
- switched-off one with `ai_model_disabled`; a deprecated model saves. Never
1888
- swap the model on the user's behalf — relay the message and let them choose.
1886
+ row offered only with a BYOK connection (the Gemini 3 image models
1887
+ `gemini-3.1-flash-image` and `gemini-3-pro-image`) with
1888
+ `ai_model_not_available`, a retired one with `ai_model_retired` (the
1889
+ message names the retirement date and, when any remain eligible, the
1890
+ suggested next models), a switched-off one with `ai_model_disabled`; a
1891
+ deprecated model saves. Never swap the model on the user's behalf — relay
1892
+ the message and let them choose.
1889
1893
  - |-
1890
1894
  With a `_connectionId` (BYOK) a model the catalog does not list is passed
1891
1895
  through to the provider as-is; a catalog-listed model is still governed by
@@ -1899,6 +1903,10 @@ components:
1899
1903
  - |-
1900
1904
  When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
1901
1905
  fails the save with 422 `invalid_field_value`. Gemini accepts the full 0-2 range.
1906
+ - |-
1907
+ The AI agent form offers no `temperature`, `topP` or `topK` on the Gemini 3 text
1908
+ models, though the save and the run accept all three there. Leave them unset on
1909
+ those models unless the user asks for one.
1902
1910
  maxCompletionTokens:
1903
1911
  type: number
1904
1912
  minimum: 100
@@ -2208,34 +2216,64 @@ components:
2208
2216
  description: Top-K sampling parameter for Gemini
2209
2217
  thinkingConfig:
2210
2218
  type: object
2211
- description: Controls Gemini's extended thinking capabilities
2219
+ description: |-
2220
+ Controls how much the model reasons before it answers. Gemini 3 models take
2221
+ `thinkingLevel` and Gemini 2.5 models take `thinkingBudget`; send one of the
2222
+ two, because both together fail the save with 422 `invalid_thinking_config`.
2212
2223
  x-celigo-ai-guidance:
2213
2224
  - |-
2214
- Supported on reasoning-capable Gemini models only (currently `gemini-2.5-pro`
2215
- and `gemini-2.5-flash`).
2216
- Setting `thinkingConfig` on a non-thinking model (e.g.
2217
- `gemini-2.5-flash-lite`,
2218
- `gemini-2.5-flash-image`) is rejected by the provider at runtime — omit the
2219
- field on those models.
2225
+ Match the setting to the model family. A `thinkingLevel` on a Gemini 2.5 model
2226
+ saves, but every run then fails with the provider's 400 "thinking_level is not
2227
+ supported by this model". A `thinkingBudget` alone on a Gemini 3 model still
2228
+ runs; set `thinkingLevel` there instead.
2229
+ - |-
2230
+ Leaving the field out does not turn reasoning off: a Gemini 3 model without a
2231
+ `thinkingConfig` still reasons — on the flash-lite models more than at
2232
+ `minimal`. The AI agent form starts each model on a default of its own.
2233
+ - |-
2234
+ Omit the field on image models: on `gemini-2.5-flash-image` any
2235
+ `thinkingConfig`, even `includeThoughts` alone, fails the run with a provider
2236
+ 400 ("thinking is not supported by this model" for a `thinkingBudget`).
2237
+ not:
2238
+ required:
2239
+ - thinkingBudget
2240
+ - thinkingLevel
2220
2241
  properties:
2221
2242
  includeThoughts:
2222
2243
  type: boolean
2223
2244
  description: When true, includes the model's thinking steps in the response.
2224
2245
  x-celigo-ai-guidance:
2225
- - Whether to include thinking steps in the response
2246
+ - |-
2247
+ Setting this to false is not a way to stop the reasoning: with no
2248
+ `thinkingLevel`, `gemini-3.6-flash` still reasons at its own default. To keep
2249
+ reasoning low, set the lowest `thinkingLevel` the model offers.
2226
2250
  thinkingBudget:
2227
2251
  type: number
2228
2252
  minimum: 100
2229
2253
  maximum: 4000
2230
- description: Maximum tokens allocated for thinking
2254
+ description: Maximum tokens a Gemini 2.5 model may spend thinking. Leave it unset on Gemini 3 models, which take `thinkingLevel`.
2255
+ x-celigo-ai-guidance:
2256
+ - |-
2257
+ For an effort asked for in words, use what the AI agent form's Reasoning
2258
+ effort cards write: 4000 for high, 2000 for medium, 1000 for low and 100 for
2259
+ minimal. A value above 4000 or below 100 fails the save with 422 `max` or `min`.
2260
+ - |-
2261
+ `gemini-2.5-pro` runs only from 128 and `gemini-2.5-flash-lite` only from 512. A
2262
+ value from 100 up to that floor saves, and every run then fails with the
2263
+ provider's 400 "thinking_budget is out of range".
2231
2264
  thinkingLevel:
2232
2265
  type: string
2233
- description: Controls how much thinking effort the model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens.
2266
+ description: Controls how much thinking effort a Gemini 3 model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens. Leave it unset on Gemini 2.5 models, which take `thinkingBudget`.
2234
2267
  enum:
2235
2268
  - minimal
2236
2269
  - low
2237
2270
  - medium
2238
2271
  - high
2272
+ x-celigo-ai-guidance:
2273
+ - |-
2274
+ `gemini-3.8-flash` and `gemini-3.7-flash` offer `low`, `medium` and `high` in
2275
+ the AI agent form. `minimal` saves and runs on them, but the model still
2276
+ reasons; use `low` there.
2239
2277
  x-enumDescriptions:
2240
2278
  minimal: Least thinking effort for simple tasks.
2241
2279
  low: Light thinking for moderately simple tasks.
@@ -2593,6 +2631,22 @@ components:
2593
2631
  type: string
2594
2632
  resources:
2595
2633
  $ref: '#/components/schemas/McpResources'
2634
+ if:
2635
+ properties:
2636
+ model:
2637
+ pattern: ^gemini-2\.
2638
+ required:
2639
+ - model
2640
+ then:
2641
+ properties:
2642
+ _overrides:
2643
+ properties:
2644
+ gemini:
2645
+ properties:
2646
+ thinkingConfig:
2647
+ not:
2648
+ required:
2649
+ - thinkingLevel
2596
2650
  if:
2597
2651
  properties:
2598
2652
  provider:
@@ -1201,6 +1201,7 @@ components:
1201
1201
  LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
1202
1202
  prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
1203
1203
  examples:
1204
+ - gemini-3.6-flash
1204
1205
  - gemini-2.5-flash
1205
1206
  - gemini-2.5-pro
1206
1207
  - gemini-2.5-flash-lite
@@ -1214,11 +1215,13 @@ components:
1214
1215
  provider on its own credentials — Gemini and Anthropic Claude each have
1215
1216
  their own rows. The save checks this: a model that is not in the catalog
1216
1217
  fails with 422 `ai_model_not_in_catalog` on
1217
- `guardrail.aiAgent.litellm.model`, a retired one with `ai_model_retired`
1218
- (the message names the retirement date and, when any remain eligible, the
1219
- suggested next models), a switched-off one with `ai_model_disabled`; a
1220
- deprecated model saves. Never
1221
- swap the model on the user's behalf — relay the message and let them choose.
1218
+ `guardrail.aiAgent.litellm.model`, a row offered only with a BYOK
1219
+ connection (the Gemini 3 image models `gemini-3.1-flash-image` and
1220
+ `gemini-3-pro-image`) with `ai_model_not_available`, a retired one with
1221
+ `ai_model_retired` (the message names the retirement date and, when any
1222
+ remain eligible, the suggested next models), a switched-off one with
1223
+ `ai_model_disabled`; a deprecated model saves. Never swap the model on the
1224
+ user's behalf — relay the message and let them choose.
1222
1225
  - |-
1223
1226
  With a `_connectionId` (BYOK) a model the catalog does not list is passed
1224
1227
  through to the provider as-is; a catalog-listed model is still governed by
@@ -1403,15 +1406,19 @@ components:
1403
1406
  description: Top-K sampling parameter for Gemini
1404
1407
  thinkingConfig:
1405
1408
  type: object
1406
- description: Controls Gemini's extended thinking capabilities
1409
+ description: |-
1410
+ Saved with the guardrail but not sent to the model: a guardrail's run passes no
1411
+ thinking settings, so the model's default thinking applies whatever this holds.
1407
1412
  x-celigo-ai-guidance:
1408
1413
  - |-
1409
- Supported on reasoning-capable Gemini models only (currently `gemini-2.5-pro`
1410
- and `gemini-2.5-flash`).
1411
- Setting `thinkingConfig` on a non-thinking model (e.g.
1412
- `gemini-2.5-flash-lite`,
1413
- `gemini-2.5-flash-image`) is rejected by the provider at runtime — omit the
1414
- field on those models.
1414
+ Omit the field on a guardrail. Its run never sends it (a `thinkingLevel` on a
1415
+ Gemini 2.5 model, which fails an AI agent's run, does not fail a guardrail's),
1416
+ but the save still checks it: `thinkingBudget` together with `thinkingLevel`
1417
+ fails with 422 `invalid_thinking_config`.
1418
+ not:
1419
+ required:
1420
+ - thinkingBudget
1421
+ - thinkingLevel
1415
1422
  properties:
1416
1423
  includeThoughts:
1417
1424
  type: boolean
@@ -2141,7 +2148,15 @@ components:
2141
2148
  may overwrite existing data; a missing source is left out either way.
2142
2149
  immutable:
2143
2150
  type: boolean
2144
- description: When true, the mapped value cannot be overwritten by later mapping steps.
2151
+ description: |-
2152
+ A NetSuite distributed import's row flag; its rows are `netsuite_da.mapping.fields[]`, and
2153
+ that field documents it. On this row it does not protect the value from a later row that
2154
+ writes the same `generate`.
2155
+ x-celigo-ai-guidance:
2156
+ - |-
2157
+ Live-verified in the Mapper 1.0 processor (`POST /v1/processors/mapperProcessor`):
2158
+ with two rows writing the same `generate`, the later row's value was the one written
2159
+ whether or not the earlier row carried `immutable: true`.
2145
2160
  lookupName:
2146
2161
  type: string
2147
2162
  description: Name of an entry in the import's `lookups` array (`http.lookups` on an HTTP import) used to translate the value.
package/dist/import.yml CHANGED
@@ -4532,7 +4532,29 @@ components:
4532
4532
  than as a `<field>.internalid` suffix.
4533
4533
  immutable:
4534
4534
  type: boolean
4535
- description: When true, this field is only set on record creation, not on updates.
4535
+ description: |-
4536
+ The mapping editor's "Immutable (Advanced)" checkbox. Its help text: when a record
4537
+ fails and the error names one field as the cause, integrator.io removes that field
4538
+ and retries the record, and a field marked immutable is not removed for that retry.
4539
+ It is not a create-only flag: on the probed `customer` update the row was written
4540
+ (the guidance says what was probed).
4541
+ x-celigo-ai-guidance:
4542
+ - |-
4543
+ Not a create-only flag. Live-verified on a `customer` import with `operation:
4544
+ addupdate` whose `internalIdLookup` found the record: rows with `immutable: true`
4545
+ were written on the update — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
4546
+ `suitebundle` alike — while a row with `conditional.when: record_created` left the
4547
+ record's value in place. For "set this field only when the record is created", put
4548
+ `conditional: {when: record_created}` on the row and leave `immutable` unset.
4549
+ - |-
4550
+ What the flag changes is a rejected value, probed on a `customer` add. On
4551
+ `suitebundle` and `suiteapp1.0` a body row whose value NetSuite refused (a two-digit
4552
+ `phone`, an `email` that is not an address) was dropped and the record saved
4553
+ without it — the result came back 200 with the refusal as an `errors[]` entry
4554
+ carrying the row's `generate` — and with `immutable: true` on that row the record
4555
+ failed with 422 `invalid_fld_value` and nothing was saved. On `suiteapp2.0` the
4556
+ same values failed the record with and without the flag, and the mapping editor
4557
+ offers the checkbox ("Immutable (Advanced)") only on the other two versions.
4536
4558
  discardIfEmpty:
4537
4559
  type: boolean
4538
4560
  description: |-
@@ -4697,6 +4719,14 @@ components:
4697
4719
  existing record: on an `add`-only operation every record fails with
4698
4720
  `The mapping condition:"record_updated" not supported for the
4699
4721
  operation`. It works on `addupdate` and `update`.
4722
+ - |-
4723
+ `when: record_created` is the create-only control ("Only perform mapping
4724
+ when: Creating a record" in the UI), and it follows the import's own
4725
+ `internalIdLookup`: on a `customer` import with `operation: addupdate` the row
4726
+ was written when the lookup found no record and the record was created, and
4727
+ left out when the lookup found the record and it was updated — the field kept
4728
+ the value it had — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
4729
+ `suitebundle` alike. `immutable: true` does not do this (see `immutable`).
4700
4730
  - |-
4701
4731
  The condition is one of the fixed `when` values — there is no
4702
4732
  predicate over a source field ("when `customer.id` is not empty",
@@ -4931,7 +4961,25 @@ components:
4931
4961
  matches no line, or several, does.
4932
4962
  immutable:
4933
4963
  type: boolean
4934
- description: When true, this field is only set on record creation, not on updates.
4964
+ description: |-
4965
+ The mapping editor's "Immutable (Advanced)" checkbox on a sublist row. Probed on a
4966
+ `customer` import's `addressbook` line on `suitebundle` and `suiteapp2.0`
4967
+ (`suiteapp1.0` was not run): the row was written on a line an update matched, so it
4968
+ is not a create-only flag there, and a line value NetSuite refused failed the
4969
+ record with and without it.
4970
+ x-celigo-ai-guidance:
4971
+ - |-
4972
+ Live-verified on a `customer` import's `addressbook` sublist with `operation:
4973
+ addupdate`, the existing line matched by an `isKey` row: a line row with
4974
+ `immutable: true` was written on the update, and a line row with
4975
+ `conditional.when: record_created` left the line's value in place — on
4976
+ `suitebundle` and `suiteapp2.0` alike. For "set this column only when the record
4977
+ is created", put `conditional: {when: record_created}` on the row.
4978
+ - |-
4979
+ A line value NetSuite refused (`country` with an unknown code) failed the record
4980
+ with 422 with and without the flag, on `suitebundle` and on `suiteapp2.0`: the
4981
+ body-row behaviour of dropping a refused field and saving the record was not
4982
+ observed on a sublist row.
4935
4983
  discardIfEmpty:
4936
4984
  type: boolean
4937
4985
  description: |-
@@ -5093,6 +5141,21 @@ components:
5093
5141
  rows in live verification. Do not rely on that tolerance — use
5094
5142
  `when: record_updated` only on operations that can update
5095
5143
  records (`addupdate` / `update`).
5144
+ - |-
5145
+ `when: record_created` on a sublist row, probed on a `customer` import's
5146
+ `addressbook` sublist with `operation: addupdate`: the row was written when
5147
+ the record was created, and an update that matched the existing line
5148
+ through an `isKey` row left the row out — the line kept its value — on
5149
+ `suitebundle` and `suiteapp2.0` alike.
5150
+ - |-
5151
+ The condition is the record's, not the line's: on the same sublist with no
5152
+ `isKey` row, an update added the mapped address as a new line and left the
5153
+ `record_created` row out of that new line too. Probed with `defaultshipping`
5154
+ under `when: record_created` beside an unconditioned `defaultbilling`, both
5155
+ extracting `true`: the added line became the default billing address — the
5156
+ flag left the existing line — and did not become the default shipping
5157
+ address, on `suitebundle` and `suiteapp2.0` alike. A second identical send
5158
+ added the same address again as a third line.
5096
5159
  - |-
5097
5160
  The condition is one of the fixed `when` values — the same
5098
5161
  closed set as body rows, with no predicate over a source
@@ -10965,6 +11028,7 @@ components:
10965
11028
  LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
10966
11029
  prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
10967
11030
  examples:
11031
+ - gemini-3.6-flash
10968
11032
  - gemini-2.5-flash
10969
11033
  - gemini-2.5-pro
10970
11034
  - gemini-2.5-flash-lite
@@ -10978,10 +11042,13 @@ components:
10978
11042
  provider on its own credentials — Gemini and Anthropic Claude each have
10979
11043
  their own rows. The save checks this: a model that is not in the catalog
10980
11044
  fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
10981
- retired one with `ai_model_retired` (the message names the retirement
10982
- date and, when any remain eligible, the suggested next models), a
10983
- switched-off one with `ai_model_disabled`; a deprecated model saves. Never
10984
- swap the model on the user's behalf — relay the message and let them choose.
11045
+ row offered only with a BYOK connection (the Gemini 3 image models
11046
+ `gemini-3.1-flash-image` and `gemini-3-pro-image`) with
11047
+ `ai_model_not_available`, a retired one with `ai_model_retired` (the
11048
+ message names the retirement date and, when any remain eligible, the
11049
+ suggested next models), a switched-off one with `ai_model_disabled`; a
11050
+ deprecated model saves. Never swap the model on the user's behalf — relay
11051
+ the message and let them choose.
10985
11052
  - |-
10986
11053
  With a `_connectionId` (BYOK) a model the catalog does not list is passed
10987
11054
  through to the provider as-is; a catalog-listed model is still governed by
@@ -10995,6 +11062,10 @@ components:
10995
11062
  - |-
10996
11063
  When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
10997
11064
  fails the save with 422 `invalid_field_value`. Gemini accepts the full 0-2 range.
11065
+ - |-
11066
+ The AI agent form offers no `temperature`, `topP` or `topK` on the Gemini 3 text
11067
+ models, though the save and the run accept all three there. Leave them unset on
11068
+ those models unless the user asks for one.
10998
11069
  maxCompletionTokens:
10999
11070
  type: number
11000
11071
  minimum: 100
@@ -11304,34 +11375,64 @@ components:
11304
11375
  description: Top-K sampling parameter for Gemini
11305
11376
  thinkingConfig:
11306
11377
  type: object
11307
- description: Controls Gemini's extended thinking capabilities
11378
+ description: |-
11379
+ Controls how much the model reasons before it answers. Gemini 3 models take
11380
+ `thinkingLevel` and Gemini 2.5 models take `thinkingBudget`; send one of the
11381
+ two, because both together fail the save with 422 `invalid_thinking_config`.
11308
11382
  x-celigo-ai-guidance:
11309
11383
  - |-
11310
- Supported on reasoning-capable Gemini models only (currently `gemini-2.5-pro`
11311
- and `gemini-2.5-flash`).
11312
- Setting `thinkingConfig` on a non-thinking model (e.g.
11313
- `gemini-2.5-flash-lite`,
11314
- `gemini-2.5-flash-image`) is rejected by the provider at runtime — omit the
11315
- field on those models.
11384
+ Match the setting to the model family. A `thinkingLevel` on a Gemini 2.5 model
11385
+ saves, but every run then fails with the provider's 400 "thinking_level is not
11386
+ supported by this model". A `thinkingBudget` alone on a Gemini 3 model still
11387
+ runs; set `thinkingLevel` there instead.
11388
+ - |-
11389
+ Leaving the field out does not turn reasoning off: a Gemini 3 model without a
11390
+ `thinkingConfig` still reasons — on the flash-lite models more than at
11391
+ `minimal`. The AI agent form starts each model on a default of its own.
11392
+ - |-
11393
+ Omit the field on image models: on `gemini-2.5-flash-image` any
11394
+ `thinkingConfig`, even `includeThoughts` alone, fails the run with a provider
11395
+ 400 ("thinking is not supported by this model" for a `thinkingBudget`).
11396
+ not:
11397
+ required:
11398
+ - thinkingBudget
11399
+ - thinkingLevel
11316
11400
  properties:
11317
11401
  includeThoughts:
11318
11402
  type: boolean
11319
11403
  description: When true, includes the model's thinking steps in the response.
11320
11404
  x-celigo-ai-guidance:
11321
- - Whether to include thinking steps in the response
11405
+ - |-
11406
+ Setting this to false is not a way to stop the reasoning: with no
11407
+ `thinkingLevel`, `gemini-3.6-flash` still reasons at its own default. To keep
11408
+ reasoning low, set the lowest `thinkingLevel` the model offers.
11322
11409
  thinkingBudget:
11323
11410
  type: number
11324
11411
  minimum: 100
11325
11412
  maximum: 4000
11326
- description: Maximum tokens allocated for thinking
11413
+ description: Maximum tokens a Gemini 2.5 model may spend thinking. Leave it unset on Gemini 3 models, which take `thinkingLevel`.
11414
+ x-celigo-ai-guidance:
11415
+ - |-
11416
+ For an effort asked for in words, use what the AI agent form's Reasoning
11417
+ effort cards write: 4000 for high, 2000 for medium, 1000 for low and 100 for
11418
+ minimal. A value above 4000 or below 100 fails the save with 422 `max` or `min`.
11419
+ - |-
11420
+ `gemini-2.5-pro` runs only from 128 and `gemini-2.5-flash-lite` only from 512. A
11421
+ value from 100 up to that floor saves, and every run then fails with the
11422
+ provider's 400 "thinking_budget is out of range".
11327
11423
  thinkingLevel:
11328
11424
  type: string
11329
- description: Controls how much thinking effort the model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens.
11425
+ description: Controls how much thinking effort a Gemini 3 model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens. Leave it unset on Gemini 2.5 models, which take `thinkingBudget`.
11330
11426
  enum:
11331
11427
  - minimal
11332
11428
  - low
11333
11429
  - medium
11334
11430
  - high
11431
+ x-celigo-ai-guidance:
11432
+ - |-
11433
+ `gemini-3.8-flash` and `gemini-3.7-flash` offer `low`, `medium` and `high` in
11434
+ the AI agent form. `minimal` saves and runs on them, but the model still
11435
+ reasons; use `low` there.
11335
11436
  x-enumDescriptions:
11336
11437
  minimal: Least thinking effort for simple tasks.
11337
11438
  low: Light thinking for moderately simple tasks.
@@ -11689,6 +11790,22 @@ components:
11689
11790
  type: string
11690
11791
  resources:
11691
11792
  $ref: '#/components/schemas/McpResources'
11793
+ if:
11794
+ properties:
11795
+ model:
11796
+ pattern: ^gemini-2\.
11797
+ required:
11798
+ - model
11799
+ then:
11800
+ properties:
11801
+ _overrides:
11802
+ properties:
11803
+ gemini:
11804
+ properties:
11805
+ thinkingConfig:
11806
+ not:
11807
+ required:
11808
+ - thinkingLevel
11692
11809
  if:
11693
11810
  properties:
11694
11811
  provider:
@@ -12340,6 +12457,7 @@ components:
12340
12457
  LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
12341
12458
  prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
12342
12459
  examples:
12460
+ - gemini-3.6-flash
12343
12461
  - gemini-2.5-flash
12344
12462
  - gemini-2.5-pro
12345
12463
  - gemini-2.5-flash-lite
@@ -12353,11 +12471,13 @@ components:
12353
12471
  provider on its own credentials — Gemini and Anthropic Claude each have
12354
12472
  their own rows. The save checks this: a model that is not in the catalog
12355
12473
  fails with 422 `ai_model_not_in_catalog` on
12356
- `guardrail.aiAgent.litellm.model`, a retired one with `ai_model_retired`
12357
- (the message names the retirement date and, when any remain eligible, the
12358
- suggested next models), a switched-off one with `ai_model_disabled`; a
12359
- deprecated model saves. Never
12360
- swap the model on the user's behalf — relay the message and let them choose.
12474
+ `guardrail.aiAgent.litellm.model`, a row offered only with a BYOK
12475
+ connection (the Gemini 3 image models `gemini-3.1-flash-image` and
12476
+ `gemini-3-pro-image`) with `ai_model_not_available`, a retired one with
12477
+ `ai_model_retired` (the message names the retirement date and, when any
12478
+ remain eligible, the suggested next models), a switched-off one with
12479
+ `ai_model_disabled`; a deprecated model saves. Never swap the model on the
12480
+ user's behalf — relay the message and let them choose.
12361
12481
  - |-
12362
12482
  With a `_connectionId` (BYOK) a model the catalog does not list is passed
12363
12483
  through to the provider as-is; a catalog-listed model is still governed by
@@ -12542,15 +12662,19 @@ components:
12542
12662
  description: Top-K sampling parameter for Gemini
12543
12663
  thinkingConfig:
12544
12664
  type: object
12545
- description: Controls Gemini's extended thinking capabilities
12665
+ description: |-
12666
+ Saved with the guardrail but not sent to the model: a guardrail's run passes no
12667
+ thinking settings, so the model's default thinking applies whatever this holds.
12546
12668
  x-celigo-ai-guidance:
12547
12669
  - |-
12548
- Supported on reasoning-capable Gemini models only (currently `gemini-2.5-pro`
12549
- and `gemini-2.5-flash`).
12550
- Setting `thinkingConfig` on a non-thinking model (e.g.
12551
- `gemini-2.5-flash-lite`,
12552
- `gemini-2.5-flash-image`) is rejected by the provider at runtime — omit the
12553
- field on those models.
12670
+ Omit the field on a guardrail. Its run never sends it (a `thinkingLevel` on a
12671
+ Gemini 2.5 model, which fails an AI agent's run, does not fail a guardrail's),
12672
+ but the save still checks it: `thinkingBudget` together with `thinkingLevel`
12673
+ fails with 422 `invalid_thinking_config`.
12674
+ not:
12675
+ required:
12676
+ - thinkingBudget
12677
+ - thinkingLevel
12554
12678
  properties:
12555
12679
  includeThoughts:
12556
12680
  type: boolean
@@ -16644,7 +16768,15 @@ components:
16644
16768
  may overwrite existing data; a missing source is left out either way.
16645
16769
  immutable:
16646
16770
  type: boolean
16647
- description: When true, the mapped value cannot be overwritten by later mapping steps.
16771
+ description: |-
16772
+ A NetSuite distributed import's row flag; its rows are `netsuite_da.mapping.fields[]`, and
16773
+ that field documents it. On this row it does not protect the value from a later row that
16774
+ writes the same `generate`.
16775
+ x-celigo-ai-guidance:
16776
+ - |-
16777
+ Live-verified in the Mapper 1.0 processor (`POST /v1/processors/mapperProcessor`):
16778
+ with two rows writing the same `generate`, the later row's value was the one written
16779
+ whether or not the earlier row carried `immutable: true`.
16648
16780
  lookupName:
16649
16781
  type: string
16650
16782
  description: Name of an entry in the import's `lookups` array (`http.lookups` on an HTTP import) used to translate the value.
@@ -18511,8 +18643,11 @@ components:
18511
18643
  x-celigo-ai-guidance:
18512
18644
  - |-
18513
18645
  Body-level field mappings. Each entry writes one destination
18514
- column from one source expression. Order has no semantic
18515
- meaning; entries are applied independently per record.
18646
+ column from one source expression. Entries are applied
18647
+ independently per record, and order matters only between entries
18648
+ that write the same ``generate``: in the Mapper 1.0 processor
18649
+ (``POST /v1/processors/mapperProcessor``) the later entry's
18650
+ value was the one written.
18516
18651
  lists:
18517
18652
  type: array
18518
18653
  description: List-level mappings, each generating a sublist on the target record.
package/dist/tool.yml CHANGED
@@ -17216,7 +17216,29 @@ components:
17216
17216
  than as a `<field>.internalid` suffix.
17217
17217
  immutable:
17218
17218
  type: boolean
17219
- description: When true, this field is only set on record creation, not on updates.
17219
+ description: |-
17220
+ The mapping editor's "Immutable (Advanced)" checkbox. Its help text: when a record
17221
+ fails and the error names one field as the cause, integrator.io removes that field
17222
+ and retries the record, and a field marked immutable is not removed for that retry.
17223
+ It is not a create-only flag: on the probed `customer` update the row was written
17224
+ (the guidance says what was probed).
17225
+ x-celigo-ai-guidance:
17226
+ - |-
17227
+ Not a create-only flag. Live-verified on a `customer` import with `operation:
17228
+ addupdate` whose `internalIdLookup` found the record: rows with `immutable: true`
17229
+ were written on the update — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
17230
+ `suitebundle` alike — while a row with `conditional.when: record_created` left the
17231
+ record's value in place. For "set this field only when the record is created", put
17232
+ `conditional: {when: record_created}` on the row and leave `immutable` unset.
17233
+ - |-
17234
+ What the flag changes is a rejected value, probed on a `customer` add. On
17235
+ `suitebundle` and `suiteapp1.0` a body row whose value NetSuite refused (a two-digit
17236
+ `phone`, an `email` that is not an address) was dropped and the record saved
17237
+ without it — the result came back 200 with the refusal as an `errors[]` entry
17238
+ carrying the row's `generate` — and with `immutable: true` on that row the record
17239
+ failed with 422 `invalid_fld_value` and nothing was saved. On `suiteapp2.0` the
17240
+ same values failed the record with and without the flag, and the mapping editor
17241
+ offers the checkbox ("Immutable (Advanced)") only on the other two versions.
17220
17242
  discardIfEmpty:
17221
17243
  type: boolean
17222
17244
  description: |-
@@ -17381,6 +17403,14 @@ components:
17381
17403
  existing record: on an `add`-only operation every record fails with
17382
17404
  `The mapping condition:"record_updated" not supported for the
17383
17405
  operation`. It works on `addupdate` and `update`.
17406
+ - |-
17407
+ `when: record_created` is the create-only control ("Only perform mapping
17408
+ when: Creating a record" in the UI), and it follows the import's own
17409
+ `internalIdLookup`: on a `customer` import with `operation: addupdate` the row
17410
+ was written when the lookup found no record and the record was created, and
17411
+ left out when the lookup found the record and it was updated — the field kept
17412
+ the value it had — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
17413
+ `suitebundle` alike. `immutable: true` does not do this (see `immutable`).
17384
17414
  - |-
17385
17415
  The condition is one of the fixed `when` values — there is no
17386
17416
  predicate over a source field ("when `customer.id` is not empty",
@@ -17615,7 +17645,25 @@ components:
17615
17645
  matches no line, or several, does.
17616
17646
  immutable:
17617
17647
  type: boolean
17618
- description: When true, this field is only set on record creation, not on updates.
17648
+ description: |-
17649
+ The mapping editor's "Immutable (Advanced)" checkbox on a sublist row. Probed on a
17650
+ `customer` import's `addressbook` line on `suitebundle` and `suiteapp2.0`
17651
+ (`suiteapp1.0` was not run): the row was written on a line an update matched, so it
17652
+ is not a create-only flag there, and a line value NetSuite refused failed the
17653
+ record with and without it.
17654
+ x-celigo-ai-guidance:
17655
+ - |-
17656
+ Live-verified on a `customer` import's `addressbook` sublist with `operation:
17657
+ addupdate`, the existing line matched by an `isKey` row: a line row with
17658
+ `immutable: true` was written on the update, and a line row with
17659
+ `conditional.when: record_created` left the line's value in place — on
17660
+ `suitebundle` and `suiteapp2.0` alike. For "set this column only when the record
17661
+ is created", put `conditional: {when: record_created}` on the row.
17662
+ - |-
17663
+ A line value NetSuite refused (`country` with an unknown code) failed the record
17664
+ with 422 with and without the flag, on `suitebundle` and on `suiteapp2.0`: the
17665
+ body-row behaviour of dropping a refused field and saving the record was not
17666
+ observed on a sublist row.
17619
17667
  discardIfEmpty:
17620
17668
  type: boolean
17621
17669
  description: |-
@@ -17777,6 +17825,21 @@ components:
17777
17825
  rows in live verification. Do not rely on that tolerance — use
17778
17826
  `when: record_updated` only on operations that can update
17779
17827
  records (`addupdate` / `update`).
17828
+ - |-
17829
+ `when: record_created` on a sublist row, probed on a `customer` import's
17830
+ `addressbook` sublist with `operation: addupdate`: the row was written when
17831
+ the record was created, and an update that matched the existing line
17832
+ through an `isKey` row left the row out — the line kept its value — on
17833
+ `suitebundle` and `suiteapp2.0` alike.
17834
+ - |-
17835
+ The condition is the record's, not the line's: on the same sublist with no
17836
+ `isKey` row, an update added the mapped address as a new line and left the
17837
+ `record_created` row out of that new line too. Probed with `defaultshipping`
17838
+ under `when: record_created` beside an unconditioned `defaultbilling`, both
17839
+ extracting `true`: the added line became the default billing address — the
17840
+ flag left the existing line — and did not become the default shipping
17841
+ address, on `suitebundle` and `suiteapp2.0` alike. A second identical send
17842
+ added the same address again as a third line.
17780
17843
  - |-
17781
17844
  The condition is one of the fixed `when` values — the same
17782
17845
  closed set as body rows, with no predicate over a source
@@ -23363,6 +23426,7 @@ components:
23363
23426
  LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
23364
23427
  prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
23365
23428
  examples:
23429
+ - gemini-3.6-flash
23366
23430
  - gemini-2.5-flash
23367
23431
  - gemini-2.5-pro
23368
23432
  - gemini-2.5-flash-lite
@@ -23376,10 +23440,13 @@ components:
23376
23440
  provider on its own credentials — Gemini and Anthropic Claude each have
23377
23441
  their own rows. The save checks this: a model that is not in the catalog
23378
23442
  fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
23379
- retired one with `ai_model_retired` (the message names the retirement
23380
- date and, when any remain eligible, the suggested next models), a
23381
- switched-off one with `ai_model_disabled`; a deprecated model saves. Never
23382
- swap the model on the user's behalf — relay the message and let them choose.
23443
+ row offered only with a BYOK connection (the Gemini 3 image models
23444
+ `gemini-3.1-flash-image` and `gemini-3-pro-image`) with
23445
+ `ai_model_not_available`, a retired one with `ai_model_retired` (the
23446
+ message names the retirement date and, when any remain eligible, the
23447
+ suggested next models), a switched-off one with `ai_model_disabled`; a
23448
+ deprecated model saves. Never swap the model on the user's behalf — relay
23449
+ the message and let them choose.
23383
23450
  - |-
23384
23451
  With a `_connectionId` (BYOK) a model the catalog does not list is passed
23385
23452
  through to the provider as-is; a catalog-listed model is still governed by
@@ -23393,6 +23460,10 @@ components:
23393
23460
  - |-
23394
23461
  When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
23395
23462
  fails the save with 422 `invalid_field_value`. Gemini accepts the full 0-2 range.
23463
+ - |-
23464
+ The AI agent form offers no `temperature`, `topP` or `topK` on the Gemini 3 text
23465
+ models, though the save and the run accept all three there. Leave them unset on
23466
+ those models unless the user asks for one.
23396
23467
  maxCompletionTokens:
23397
23468
  type: number
23398
23469
  minimum: 100
@@ -23702,34 +23773,64 @@ components:
23702
23773
  description: Top-K sampling parameter for Gemini
23703
23774
  thinkingConfig:
23704
23775
  type: object
23705
- description: Controls Gemini's extended thinking capabilities
23776
+ description: |-
23777
+ Controls how much the model reasons before it answers. Gemini 3 models take
23778
+ `thinkingLevel` and Gemini 2.5 models take `thinkingBudget`; send one of the
23779
+ two, because both together fail the save with 422 `invalid_thinking_config`.
23706
23780
  x-celigo-ai-guidance:
23707
23781
  - |-
23708
- Supported on reasoning-capable Gemini models only (currently `gemini-2.5-pro`
23709
- and `gemini-2.5-flash`).
23710
- Setting `thinkingConfig` on a non-thinking model (e.g.
23711
- `gemini-2.5-flash-lite`,
23712
- `gemini-2.5-flash-image`) is rejected by the provider at runtime — omit the
23713
- field on those models.
23782
+ Match the setting to the model family. A `thinkingLevel` on a Gemini 2.5 model
23783
+ saves, but every run then fails with the provider's 400 "thinking_level is not
23784
+ supported by this model". A `thinkingBudget` alone on a Gemini 3 model still
23785
+ runs; set `thinkingLevel` there instead.
23786
+ - |-
23787
+ Leaving the field out does not turn reasoning off: a Gemini 3 model without a
23788
+ `thinkingConfig` still reasons — on the flash-lite models more than at
23789
+ `minimal`. The AI agent form starts each model on a default of its own.
23790
+ - |-
23791
+ Omit the field on image models: on `gemini-2.5-flash-image` any
23792
+ `thinkingConfig`, even `includeThoughts` alone, fails the run with a provider
23793
+ 400 ("thinking is not supported by this model" for a `thinkingBudget`).
23794
+ not:
23795
+ required:
23796
+ - thinkingBudget
23797
+ - thinkingLevel
23714
23798
  properties:
23715
23799
  includeThoughts:
23716
23800
  type: boolean
23717
23801
  description: When true, includes the model's thinking steps in the response.
23718
23802
  x-celigo-ai-guidance:
23719
- - Whether to include thinking steps in the response
23803
+ - |-
23804
+ Setting this to false is not a way to stop the reasoning: with no
23805
+ `thinkingLevel`, `gemini-3.6-flash` still reasons at its own default. To keep
23806
+ reasoning low, set the lowest `thinkingLevel` the model offers.
23720
23807
  thinkingBudget:
23721
23808
  type: number
23722
23809
  minimum: 100
23723
23810
  maximum: 4000
23724
- description: Maximum tokens allocated for thinking
23811
+ description: Maximum tokens a Gemini 2.5 model may spend thinking. Leave it unset on Gemini 3 models, which take `thinkingLevel`.
23812
+ x-celigo-ai-guidance:
23813
+ - |-
23814
+ For an effort asked for in words, use what the AI agent form's Reasoning
23815
+ effort cards write: 4000 for high, 2000 for medium, 1000 for low and 100 for
23816
+ minimal. A value above 4000 or below 100 fails the save with 422 `max` or `min`.
23817
+ - |-
23818
+ `gemini-2.5-pro` runs only from 128 and `gemini-2.5-flash-lite` only from 512. A
23819
+ value from 100 up to that floor saves, and every run then fails with the
23820
+ provider's 400 "thinking_budget is out of range".
23725
23821
  thinkingLevel:
23726
23822
  type: string
23727
- description: Controls how much thinking effort the model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens.
23823
+ description: Controls how much thinking effort a Gemini 3 model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens. Leave it unset on Gemini 2.5 models, which take `thinkingBudget`.
23728
23824
  enum:
23729
23825
  - minimal
23730
23826
  - low
23731
23827
  - medium
23732
23828
  - high
23829
+ x-celigo-ai-guidance:
23830
+ - |-
23831
+ `gemini-3.8-flash` and `gemini-3.7-flash` offer `low`, `medium` and `high` in
23832
+ the AI agent form. `minimal` saves and runs on them, but the model still
23833
+ reasons; use `low` there.
23733
23834
  x-enumDescriptions:
23734
23835
  minimal: Least thinking effort for simple tasks.
23735
23836
  low: Light thinking for moderately simple tasks.
@@ -24087,6 +24188,22 @@ components:
24087
24188
  type: string
24088
24189
  resources:
24089
24190
  $ref: '#/components/schemas/McpResources'
24191
+ if:
24192
+ properties:
24193
+ model:
24194
+ pattern: ^gemini-2\.
24195
+ required:
24196
+ - model
24197
+ then:
24198
+ properties:
24199
+ _overrides:
24200
+ properties:
24201
+ gemini:
24202
+ properties:
24203
+ thinkingConfig:
24204
+ not:
24205
+ required:
24206
+ - thinkingLevel
24090
24207
  if:
24091
24208
  properties:
24092
24209
  provider:
@@ -24738,6 +24855,7 @@ components:
24738
24855
  LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
24739
24856
  prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
24740
24857
  examples:
24858
+ - gemini-3.6-flash
24741
24859
  - gemini-2.5-flash
24742
24860
  - gemini-2.5-pro
24743
24861
  - gemini-2.5-flash-lite
@@ -24751,11 +24869,13 @@ components:
24751
24869
  provider on its own credentials — Gemini and Anthropic Claude each have
24752
24870
  their own rows. The save checks this: a model that is not in the catalog
24753
24871
  fails with 422 `ai_model_not_in_catalog` on
24754
- `guardrail.aiAgent.litellm.model`, a retired one with `ai_model_retired`
24755
- (the message names the retirement date and, when any remain eligible, the
24756
- suggested next models), a switched-off one with `ai_model_disabled`; a
24757
- deprecated model saves. Never
24758
- swap the model on the user's behalf — relay the message and let them choose.
24872
+ `guardrail.aiAgent.litellm.model`, a row offered only with a BYOK
24873
+ connection (the Gemini 3 image models `gemini-3.1-flash-image` and
24874
+ `gemini-3-pro-image`) with `ai_model_not_available`, a retired one with
24875
+ `ai_model_retired` (the message names the retirement date and, when any
24876
+ remain eligible, the suggested next models), a switched-off one with
24877
+ `ai_model_disabled`; a deprecated model saves. Never swap the model on the
24878
+ user's behalf — relay the message and let them choose.
24759
24879
  - |-
24760
24880
  With a `_connectionId` (BYOK) a model the catalog does not list is passed
24761
24881
  through to the provider as-is; a catalog-listed model is still governed by
@@ -24940,15 +25060,19 @@ components:
24940
25060
  description: Top-K sampling parameter for Gemini
24941
25061
  thinkingConfig:
24942
25062
  type: object
24943
- description: Controls Gemini's extended thinking capabilities
25063
+ description: |-
25064
+ Saved with the guardrail but not sent to the model: a guardrail's run passes no
25065
+ thinking settings, so the model's default thinking applies whatever this holds.
24944
25066
  x-celigo-ai-guidance:
24945
25067
  - |-
24946
- Supported on reasoning-capable Gemini models only (currently `gemini-2.5-pro`
24947
- and `gemini-2.5-flash`).
24948
- Setting `thinkingConfig` on a non-thinking model (e.g.
24949
- `gemini-2.5-flash-lite`,
24950
- `gemini-2.5-flash-image`) is rejected by the provider at runtime — omit the
24951
- field on those models.
25068
+ Omit the field on a guardrail. Its run never sends it (a `thinkingLevel` on a
25069
+ Gemini 2.5 model, which fails an AI agent's run, does not fail a guardrail's),
25070
+ but the save still checks it: `thinkingBudget` together with `thinkingLevel`
25071
+ fails with 422 `invalid_thinking_config`.
25072
+ not:
25073
+ required:
25074
+ - thinkingBudget
25075
+ - thinkingLevel
24952
25076
  properties:
24953
25077
  includeThoughts:
24954
25078
  type: boolean
@@ -26375,7 +26499,15 @@ components:
26375
26499
  may overwrite existing data; a missing source is left out either way.
26376
26500
  immutable:
26377
26501
  type: boolean
26378
- description: When true, the mapped value cannot be overwritten by later mapping steps.
26502
+ description: |-
26503
+ A NetSuite distributed import's row flag; its rows are `netsuite_da.mapping.fields[]`, and
26504
+ that field documents it. On this row it does not protect the value from a later row that
26505
+ writes the same `generate`.
26506
+ x-celigo-ai-guidance:
26507
+ - |-
26508
+ Live-verified in the Mapper 1.0 processor (`POST /v1/processors/mapperProcessor`):
26509
+ with two rows writing the same `generate`, the later row's value was the one written
26510
+ whether or not the earlier row carried `immutable: true`.
26379
26511
  lookupName:
26380
26512
  type: string
26381
26513
  description: Name of an entry in the import's `lookups` array (`http.lookups` on an HTTP import) used to translate the value.
@@ -28242,8 +28374,11 @@ components:
28242
28374
  x-celigo-ai-guidance:
28243
28375
  - |-
28244
28376
  Body-level field mappings. Each entry writes one destination
28245
- column from one source expression. Order has no semantic
28246
- meaning; entries are applied independently per record.
28377
+ column from one source expression. Entries are applied
28378
+ independently per record, and order matters only between entries
28379
+ that write the same ``generate``: in the Mapper 1.0 processor
28380
+ (``POST /v1/processors/mapperProcessor``) the later entry's
28381
+ value was the one written.
28247
28382
  lists:
28248
28383
  type: array
28249
28384
  description: List-level mappings, each generating a sublist on the target record.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.320",
3
+ "version": "0.2.322",
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": "3fcf5f3d",
4
+ "iasCommit": "d59df1d3",
5
5
  "generatedAt": "2026-11-19"
6
6
  },
7
7
  "roots": {