@celigo/api-specs 0.2.183 → 0.2.185
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/api.yml +277 -1
- package/dist/connection.yml +39 -1
- package/dist/enduser.yml +39 -1
- package/dist/export.yml +6 -0
- package/dist/import.yml +39 -1
- package/dist/mcp-server.yml +39 -1
- package/dist/tool.yml +84 -2
- package/package.json +1 -1
- package/schemas.json +903 -862
package/dist/api.yml
CHANGED
|
@@ -2961,6 +2961,192 @@ components:
|
|
|
2961
2961
|
- Expected parameters (path, query, headers)
|
|
2962
2962
|
- Request body schema
|
|
2963
2963
|
- Optional request transformation logic
|
|
2964
|
+
ResponseMapping:
|
|
2965
|
+
type: object
|
|
2966
|
+
description: |
|
|
2967
|
+
Merges fields from a step's response back onto the in-flight record so
|
|
2968
|
+
downstream steps can read them. Applies to both lookup steps
|
|
2969
|
+
(`type: "export"`) and import steps (`type: "import"`); without it, the
|
|
2970
|
+
step's response is discarded after the call.
|
|
2971
|
+
|
|
2972
|
+
`fields` and `lists` are plain arrays — exactly the shape GET returns.
|
|
2973
|
+
|
|
2974
|
+
Extract paths do NOT read the raw application response — the platform
|
|
2975
|
+
wraps every response in a canonical per-record envelope first, and
|
|
2976
|
+
extracts evaluate against that envelope:
|
|
2977
|
+
|
|
2978
|
+
- **Lookup steps**: `{"statusCode": 200, "data": [<result records>],
|
|
2979
|
+
"errors": []}` — `data` holds the records the lookup step returns,
|
|
2980
|
+
AFTER the export's own `transform` and output `filter` have run, so
|
|
2981
|
+
extracts must start from it and name transformed fields by their
|
|
2982
|
+
transformed name: `data[0].name` copies a field of the first result,
|
|
2983
|
+
`data` copies the whole result array. A bare result-record field name
|
|
2984
|
+
(e.g. `name`) resolves to nothing and merges nothing, and so does the
|
|
2985
|
+
raw response path a transform consumed. A lookup that groups its
|
|
2986
|
+
results returns each group as an array inside `data`
|
|
2987
|
+
(`"data": [[<row>, <row>]]`): `data[0][0].name` (or `data.0.0.name`)
|
|
2988
|
+
reads the first row of the first group, and `data[0]` copies the group.
|
|
2989
|
+
- **Import steps**: `{"id": "<destination record id>", "statusCode": 200,
|
|
2990
|
+
"ignored": false, "errors": [], "_json": <raw destination response>,
|
|
2991
|
+
...<response body fields flattened at the root>}` — use `id` for the
|
|
2992
|
+
destination-assigned id and `_json.<path>` (or the flattened
|
|
2993
|
+
`<path>`) for fields inside the destination's response body. The full
|
|
2994
|
+
envelope (including `id`) is present on real runs and in flow-builder
|
|
2995
|
+
previews; flow TEST runs never execute imports, and their envelope is
|
|
2996
|
+
built from the import's saved `mockResponse`, or from the placeholder
|
|
2997
|
+
`{"id": "1234567890", "mockResponse": "replace me"}` (numbered
|
|
2998
|
+
`1234567890-1`, `1234567890-2`, … when a page holds several records)
|
|
2999
|
+
— an `extract: "id"` in a test run merges that mock id, never a
|
|
3000
|
+
destination record id.
|
|
3001
|
+
|
|
3002
|
+
An `extract` may also be a Handlebars expression. It evaluates against
|
|
3003
|
+
the same envelope as a plain path, so every path inside `{{ }}` starts
|
|
3004
|
+
where the plain paths start — `{{data.0.name}}`,
|
|
3005
|
+
`{{#compare data.0.count "==" 1}}yes{{else}}no{{/compare}}`,
|
|
3006
|
+
`{{#if data.length}}found{{/if}}` on a lookup; `{{_json.order.id}}` or
|
|
3007
|
+
`{{id}}` on an import. Index arrays with dots inside Handlebars
|
|
3008
|
+
(`data.0.name` or `data.[0].name`; `data[0].name` renders nothing), and
|
|
3009
|
+
expect a string result (`"1"`, `"false"`). There is no `record` object in
|
|
3010
|
+
this context: `{{record.<anything>}}` renders nothing. Prefer a plain
|
|
3011
|
+
path when the value is simply copied.
|
|
3012
|
+
x-celigo-ai-guidance:
|
|
3013
|
+
- |-
|
|
3014
|
+
Handlebars is allowed in `extract` but only rooted at the envelope —
|
|
3015
|
+
`{{data.0.x}}` on a lookup, `{{_json.x}}` / `{{id}}` on an import. The
|
|
3016
|
+
`record.` root belongs to import-mapping templates; here every
|
|
3017
|
+
`{{record.…}}` form renders nothing, silently, and `{{data[0].x}}`
|
|
3018
|
+
(bracket index inside Handlebars) renders nothing too. Use Handlebars
|
|
3019
|
+
only for a derived value (a flag, a concatenation); copy values with a
|
|
3020
|
+
plain path.
|
|
3021
|
+
- |-
|
|
3022
|
+
A lookup's `data[]` is the step's output after its `transform` and
|
|
3023
|
+
`filter`, so author extracts against the transformed records — never
|
|
3024
|
+
against the raw response the transform consumed, and never against a
|
|
3025
|
+
saved `mockOutput` as stored (it is the raw response; the transform
|
|
3026
|
+
runs on top of it in a test run).
|
|
3027
|
+
- |-
|
|
3028
|
+
Send `fields` and `lists` as bare arrays, exactly as GET returns them.
|
|
3029
|
+
Never wrap either in an object (e.g. `"fields": {"type": [...]}`): the
|
|
3030
|
+
API does not reject that shape — it returns 200 and silently persists
|
|
3031
|
+
`fields: [null]` / `lists: [{"fields": []}]`, erasing the step's
|
|
3032
|
+
response mappings.
|
|
3033
|
+
- |-
|
|
3034
|
+
responseMapping is fully replaced on PUT: omitting it resets the step
|
|
3035
|
+
to empty `{"fields": [], "lists": []}`. Always send the complete
|
|
3036
|
+
intended mapping for every step.
|
|
3037
|
+
- |-
|
|
3038
|
+
To carry several lookup results onto the record, use `extract: "data"`
|
|
3039
|
+
(the whole result array) or a `lists` entry whose extracts use
|
|
3040
|
+
`data[*].x` — never `data[*].x` in `fields[].extract`, which merges
|
|
3041
|
+
nothing: the record simply never gains the field.
|
|
3042
|
+
examples:
|
|
3043
|
+
- fields:
|
|
3044
|
+
- extract: id
|
|
3045
|
+
generate: ContactId
|
|
3046
|
+
lists: []
|
|
3047
|
+
- fields:
|
|
3048
|
+
- extract: data[0].customer.name
|
|
3049
|
+
generate: customerName
|
|
3050
|
+
lists:
|
|
3051
|
+
- generate: matchedOrders
|
|
3052
|
+
fields:
|
|
3053
|
+
- extract: data[*].id
|
|
3054
|
+
generate: orderId
|
|
3055
|
+
- extract: data[*].total
|
|
3056
|
+
generate: amount
|
|
3057
|
+
properties:
|
|
3058
|
+
fields:
|
|
3059
|
+
type: array
|
|
3060
|
+
description: |
|
|
3061
|
+
Field mappings that copy individual values from the response
|
|
3062
|
+
envelope onto the in-flight record.
|
|
3063
|
+
items:
|
|
3064
|
+
type: object
|
|
3065
|
+
properties:
|
|
3066
|
+
extract:
|
|
3067
|
+
type: string
|
|
3068
|
+
x-celigo-agent:
|
|
3069
|
+
- handlebars
|
|
3070
|
+
description: |
|
|
3071
|
+
Path within the canonical response envelope to copy the value
|
|
3072
|
+
from, or a Handlebars expression over that same envelope. For
|
|
3073
|
+
lookup steps, paths start from the envelope's `data` array
|
|
3074
|
+
(`data[0].x` and `data.0.x` are equivalent; `data` alone
|
|
3075
|
+
copies every result) — a lookup result field written without
|
|
3076
|
+
the `data` prefix resolves to nothing. For import steps, use
|
|
3077
|
+
the envelope fields `id`, `statusCode`, `ignored`, `_json.<path>`
|
|
3078
|
+
for the raw response body, or the body field itself at the
|
|
3079
|
+
envelope root (`orderNumber` and `_json.orderNumber` read the
|
|
3080
|
+
same value). A `[*]` wildcard is not honored here — `data[*].x`
|
|
3081
|
+
merges nothing; iterate arrays with `lists` instead. Inside
|
|
3082
|
+
Handlebars, index with dots (`{{data.0.x}}`, never
|
|
3083
|
+
`{{data[0].x}}`) and never use a `record.` root.
|
|
3084
|
+
examples:
|
|
3085
|
+
- data[0].customer.name
|
|
3086
|
+
- data.0.fields.Product Name
|
|
3087
|
+
- data
|
|
3088
|
+
- id
|
|
3089
|
+
- _json.orderNumber
|
|
3090
|
+
- '{{#if data.length}}found{{else}}missing{{/if}}'
|
|
3091
|
+
generate:
|
|
3092
|
+
type: string
|
|
3093
|
+
description: |
|
|
3094
|
+
Field path on the in-flight record where the extracted value
|
|
3095
|
+
is stored, using dot notation for nesting. Downstream steps
|
|
3096
|
+
read the value at this path.
|
|
3097
|
+
examples:
|
|
3098
|
+
- customerName
|
|
3099
|
+
- supplierDetails.supplierName
|
|
3100
|
+
- netsuite_order_id
|
|
3101
|
+
lists:
|
|
3102
|
+
type: array
|
|
3103
|
+
description: |
|
|
3104
|
+
Array mappings that build a target array on the in-flight record
|
|
3105
|
+
from an array inside the response envelope — one output item per
|
|
3106
|
+
element of the array the item extracts mark with `[*]` (`data[*].x`
|
|
3107
|
+
for lookups, `_json.<arrayPath>[*].x` for imports); an empty source
|
|
3108
|
+
array yields an empty target array. Not needed for one-to-many
|
|
3109
|
+
(fan-out) merge-back, which uses plain field mappings.
|
|
3110
|
+
items:
|
|
3111
|
+
type: object
|
|
3112
|
+
properties:
|
|
3113
|
+
generate:
|
|
3114
|
+
type: string
|
|
3115
|
+
description: |
|
|
3116
|
+
Array field created on the in-flight record to hold the
|
|
3117
|
+
mapped items.
|
|
3118
|
+
examples:
|
|
3119
|
+
- orderItems
|
|
3120
|
+
- addresses
|
|
3121
|
+
- contacts
|
|
3122
|
+
fields:
|
|
3123
|
+
type: array
|
|
3124
|
+
description: |
|
|
3125
|
+
Field mappings applied to each item of the source array to
|
|
3126
|
+
produce the corresponding target-array item.
|
|
3127
|
+
items:
|
|
3128
|
+
type: object
|
|
3129
|
+
properties:
|
|
3130
|
+
extract:
|
|
3131
|
+
type: string
|
|
3132
|
+
description: |
|
|
3133
|
+
Full envelope path to the source value, with `[*]`
|
|
3134
|
+
marking the array to iterate — `data[*].productId` for a
|
|
3135
|
+
lookup, `_json.items[*].sku` for an import. A path without
|
|
3136
|
+
`[*]` (e.g. `statusCode`) repeats the same envelope value
|
|
3137
|
+
on every item; an item-relative name (`productId`)
|
|
3138
|
+
resolves to nothing and produces empty objects.
|
|
3139
|
+
examples:
|
|
3140
|
+
- data[*].productId
|
|
3141
|
+
- data[*].quantity
|
|
3142
|
+
- _json.items[*].sku
|
|
3143
|
+
generate:
|
|
3144
|
+
type: string
|
|
3145
|
+
description: Target field within each mapped array item.
|
|
3146
|
+
examples:
|
|
3147
|
+
- itemId
|
|
3148
|
+
- qty
|
|
3149
|
+
- unitPrice
|
|
2964
3150
|
Router:
|
|
2965
3151
|
type: object
|
|
2966
3152
|
description: |-
|
|
@@ -3138,6 +3324,8 @@ components:
|
|
|
3138
3324
|
description: Import resource reference (when type="import").
|
|
3139
3325
|
examples:
|
|
3140
3326
|
- 6878f4a43bc01652c09cddee
|
|
3327
|
+
responseMapping:
|
|
3328
|
+
$ref: '#/components/schemas/ResponseMapping'
|
|
3141
3329
|
hooks:
|
|
3142
3330
|
type: object
|
|
3143
3331
|
description: Custom scripts for processing
|
|
@@ -3283,6 +3471,54 @@ components:
|
|
|
3283
3471
|
with `hardcodedValue` saves successfully with the value
|
|
3284
3472
|
silently dropped — no error, and the target field is then
|
|
3285
3473
|
simply absent from the API's responses.
|
|
3474
|
+
status:
|
|
3475
|
+
$ref: '#/components/schemas/status'
|
|
3476
|
+
status:
|
|
3477
|
+
type: string
|
|
3478
|
+
description: |
|
|
3479
|
+
**Purpose**
|
|
3480
|
+
Controls whether the mapping is applied. Send it on every mapping entry.
|
|
3481
|
+
|
|
3482
|
+
**Guidance**
|
|
3483
|
+
Only `Active` rows run. `Draft` and `Inactive` rows keep their
|
|
3484
|
+
configuration, are saved with minimal validation, and are skipped at
|
|
3485
|
+
runtime and in preview; a non-Active parent skips its whole subtree
|
|
3486
|
+
whatever its children say. Imports (on save and in the mapper processor)
|
|
3487
|
+
and API response mappings reject a row missing this field (validation
|
|
3488
|
+
error: "Mapping object must have status field present."); a Tool's
|
|
3489
|
+
output mapping saves and runs one, which is why `required` doesn't
|
|
3490
|
+
list it.
|
|
3491
|
+
x-celigo-ai-guidance:
|
|
3492
|
+
- |-
|
|
3493
|
+
Emit `"Active"` for mappings that should run; `"Draft"` is also
|
|
3494
|
+
accepted and saves the mapping while bypassing the Active-only
|
|
3495
|
+
field validations. The value is case-sensitive. The API rejects:
|
|
3496
|
+
- Missing field: `[status_field_absent] Mapping object must have status field present.`
|
|
3497
|
+
- Wrong case (e.g. `"active"`): `[invalid_status_enums] active is not a valid enum for status field.`
|
|
3498
|
+
- |-
|
|
3499
|
+
`"Inactive"` is the user's "Set inactive" on a row: use it only when
|
|
3500
|
+
asked to disable or park a row, never to mean incomplete (that is
|
|
3501
|
+
`"Draft"`). Setting a parent `Inactive` means no `Active` row may
|
|
3502
|
+
remain under it — the save rejects an `Active` row under an
|
|
3503
|
+
`Inactive` parent (`[inactive_parent_active_child]` on `mappings`,
|
|
3504
|
+
no message text) and never cascades or promotes on its own; `Draft`
|
|
3505
|
+
descendants are kept as they are, and a `Draft` parent does not gate
|
|
3506
|
+
its children. The UI's Set inactive on a parent marks the parent and
|
|
3507
|
+
every child `Inactive`. Re-enabling a child
|
|
3508
|
+
means re-enabling its ancestors in the same payload. Edits that keep
|
|
3509
|
+
existing rows must carry their stored status forward — rewriting a
|
|
3510
|
+
`Draft` or `Inactive` row to `Active` turns a row the user parked
|
|
3511
|
+
back on.
|
|
3512
|
+
enum:
|
|
3513
|
+
- Active
|
|
3514
|
+
- Draft
|
|
3515
|
+
- Inactive
|
|
3516
|
+
x-enumDescriptions:
|
|
3517
|
+
Active: The mapping is enabled and applied during processing
|
|
3518
|
+
Draft: In-progress mapping; saved without the Active-only field validations and skipped at runtime
|
|
3519
|
+
Inactive: Disabled by the user; configuration kept, skipped at runtime and in preview
|
|
3520
|
+
examples:
|
|
3521
|
+
- Active
|
|
3286
3522
|
ApiResponse:
|
|
3287
3523
|
type: object
|
|
3288
3524
|
description: |-
|
|
@@ -3550,6 +3786,8 @@ components:
|
|
|
3550
3786
|
with `hardcodedValue` saves successfully with the value
|
|
3551
3787
|
silently dropped — no error, and the target field is then
|
|
3552
3788
|
simply absent from the API's responses.
|
|
3789
|
+
status:
|
|
3790
|
+
$ref: '#/components/schemas/status'
|
|
3553
3791
|
lookups:
|
|
3554
3792
|
type: array
|
|
3555
3793
|
description: Static key-value lookup tables for value transformation.
|
|
@@ -6233,6 +6471,17 @@ components:
|
|
|
6233
6471
|
minimum: 1
|
|
6234
6472
|
maximum: 50
|
|
6235
6473
|
default: 5
|
|
6474
|
+
_tpConnectorId:
|
|
6475
|
+
type: string
|
|
6476
|
+
format: objectId
|
|
6477
|
+
x-celigo-refModel: tradingpartnerconnectors
|
|
6478
|
+
description: |-
|
|
6479
|
+
Trading partner connector this S3 connection was provisioned from during partner
|
|
6480
|
+
onboarding. Stored and returned here, under `s3`, like `ftp._tpConnectorId` and
|
|
6481
|
+
`as2._tpConnectorId` on the other partner transports; a top-level `_tpConnectorId` on
|
|
6482
|
+
the connection body is not stored. Omit for a standalone S3 connection.
|
|
6483
|
+
examples:
|
|
6484
|
+
- 66a1b2c3d4e5f60718293a4b
|
|
6236
6485
|
if:
|
|
6237
6486
|
properties:
|
|
6238
6487
|
authType:
|
|
@@ -8334,8 +8583,35 @@ components:
|
|
|
8334
8583
|
sa-east-1: South America (Sao Paulo).
|
|
8335
8584
|
ca-central-1: Canada (Central).
|
|
8336
8585
|
x-lowercase: true
|
|
8586
|
+
useSSL:
|
|
8587
|
+
type: boolean
|
|
8588
|
+
writeOnly: true
|
|
8589
|
+
description: |-
|
|
8590
|
+
When true, the database connection is made over SSL/TLS and the certificate material in
|
|
8591
|
+
`ssl` applies — the connection form's **Use SSL** switch (offered for MySQL, MariaDB and
|
|
8592
|
+
PostgreSQL). Accepted on POST and PUT only: the platform stores it as `ssl.enabled`, which
|
|
8593
|
+
is the field GET returns. A PUT that omits `useSSL` clears the stored `ssl.enabled` — send
|
|
8594
|
+
it on every update that should keep SSL on.
|
|
8595
|
+
examples:
|
|
8596
|
+
- true
|
|
8597
|
+
x-celigo-ai-guidance:
|
|
8598
|
+
- |-
|
|
8599
|
+
A body built from a GET carries `ssl.enabled` but never `useSSL`, so sending it back as a
|
|
8600
|
+
PUT turns SSL off: add `"useSSL": true` to every update of a connection that uses SSL.
|
|
8601
|
+
Setting `ssl.enabled` in the body changes nothing (verified live 2026-10-23 on a PostgreSQL
|
|
8602
|
+
connection: a PUT of the GET body cleared `ssl`, a PUT with `useSSL: true` set it again,
|
|
8603
|
+
and a PUT with `ssl.enabled: true` but no `useSSL` cleared it).
|
|
8337
8604
|
ssl:
|
|
8338
|
-
|
|
8605
|
+
allOf:
|
|
8606
|
+
- $ref: '#/components/schemas/SSL'
|
|
8607
|
+
- type: object
|
|
8608
|
+
properties:
|
|
8609
|
+
enabled:
|
|
8610
|
+
type: boolean
|
|
8611
|
+
readOnly: true
|
|
8612
|
+
description: |-
|
|
8613
|
+
When true, SSL/TLS is on for this database connection. Set from `useSSL` on
|
|
8614
|
+
write and returned here on read; a value sent in this field is ignored.
|
|
8339
8615
|
options:
|
|
8340
8616
|
type: array
|
|
8341
8617
|
description: |
|
package/dist/connection.yml
CHANGED
|
@@ -5090,6 +5090,17 @@ components:
|
|
|
5090
5090
|
minimum: 1
|
|
5091
5091
|
maximum: 50
|
|
5092
5092
|
default: 5
|
|
5093
|
+
_tpConnectorId:
|
|
5094
|
+
type: string
|
|
5095
|
+
format: objectId
|
|
5096
|
+
x-celigo-refModel: tradingpartnerconnectors
|
|
5097
|
+
description: |-
|
|
5098
|
+
Trading partner connector this S3 connection was provisioned from during partner
|
|
5099
|
+
onboarding. Stored and returned here, under `s3`, like `ftp._tpConnectorId` and
|
|
5100
|
+
`as2._tpConnectorId` on the other partner transports; a top-level `_tpConnectorId` on
|
|
5101
|
+
the connection body is not stored. Omit for a standalone S3 connection.
|
|
5102
|
+
examples:
|
|
5103
|
+
- 66a1b2c3d4e5f60718293a4b
|
|
5093
5104
|
if:
|
|
5094
5105
|
properties:
|
|
5095
5106
|
authType:
|
|
@@ -7191,8 +7202,35 @@ components:
|
|
|
7191
7202
|
sa-east-1: South America (Sao Paulo).
|
|
7192
7203
|
ca-central-1: Canada (Central).
|
|
7193
7204
|
x-lowercase: true
|
|
7205
|
+
useSSL:
|
|
7206
|
+
type: boolean
|
|
7207
|
+
writeOnly: true
|
|
7208
|
+
description: |-
|
|
7209
|
+
When true, the database connection is made over SSL/TLS and the certificate material in
|
|
7210
|
+
`ssl` applies — the connection form's **Use SSL** switch (offered for MySQL, MariaDB and
|
|
7211
|
+
PostgreSQL). Accepted on POST and PUT only: the platform stores it as `ssl.enabled`, which
|
|
7212
|
+
is the field GET returns. A PUT that omits `useSSL` clears the stored `ssl.enabled` — send
|
|
7213
|
+
it on every update that should keep SSL on.
|
|
7214
|
+
examples:
|
|
7215
|
+
- true
|
|
7216
|
+
x-celigo-ai-guidance:
|
|
7217
|
+
- |-
|
|
7218
|
+
A body built from a GET carries `ssl.enabled` but never `useSSL`, so sending it back as a
|
|
7219
|
+
PUT turns SSL off: add `"useSSL": true` to every update of a connection that uses SSL.
|
|
7220
|
+
Setting `ssl.enabled` in the body changes nothing (verified live 2026-10-23 on a PostgreSQL
|
|
7221
|
+
connection: a PUT of the GET body cleared `ssl`, a PUT with `useSSL: true` set it again,
|
|
7222
|
+
and a PUT with `ssl.enabled: true` but no `useSSL` cleared it).
|
|
7194
7223
|
ssl:
|
|
7195
|
-
|
|
7224
|
+
allOf:
|
|
7225
|
+
- $ref: '#/components/schemas/SSL'
|
|
7226
|
+
- type: object
|
|
7227
|
+
properties:
|
|
7228
|
+
enabled:
|
|
7229
|
+
type: boolean
|
|
7230
|
+
readOnly: true
|
|
7231
|
+
description: |-
|
|
7232
|
+
When true, SSL/TLS is on for this database connection. Set from `useSSL` on
|
|
7233
|
+
write and returned here on read; a value sent in this field is ignored.
|
|
7196
7234
|
options:
|
|
7197
7235
|
type: array
|
|
7198
7236
|
description: |
|
package/dist/enduser.yml
CHANGED
|
@@ -3141,6 +3141,17 @@ components:
|
|
|
3141
3141
|
minimum: 1
|
|
3142
3142
|
maximum: 50
|
|
3143
3143
|
default: 5
|
|
3144
|
+
_tpConnectorId:
|
|
3145
|
+
type: string
|
|
3146
|
+
format: objectId
|
|
3147
|
+
x-celigo-refModel: tradingpartnerconnectors
|
|
3148
|
+
description: |-
|
|
3149
|
+
Trading partner connector this S3 connection was provisioned from during partner
|
|
3150
|
+
onboarding. Stored and returned here, under `s3`, like `ftp._tpConnectorId` and
|
|
3151
|
+
`as2._tpConnectorId` on the other partner transports; a top-level `_tpConnectorId` on
|
|
3152
|
+
the connection body is not stored. Omit for a standalone S3 connection.
|
|
3153
|
+
examples:
|
|
3154
|
+
- 66a1b2c3d4e5f60718293a4b
|
|
3144
3155
|
if:
|
|
3145
3156
|
properties:
|
|
3146
3157
|
authType:
|
|
@@ -5242,8 +5253,35 @@ components:
|
|
|
5242
5253
|
sa-east-1: South America (Sao Paulo).
|
|
5243
5254
|
ca-central-1: Canada (Central).
|
|
5244
5255
|
x-lowercase: true
|
|
5256
|
+
useSSL:
|
|
5257
|
+
type: boolean
|
|
5258
|
+
writeOnly: true
|
|
5259
|
+
description: |-
|
|
5260
|
+
When true, the database connection is made over SSL/TLS and the certificate material in
|
|
5261
|
+
`ssl` applies — the connection form's **Use SSL** switch (offered for MySQL, MariaDB and
|
|
5262
|
+
PostgreSQL). Accepted on POST and PUT only: the platform stores it as `ssl.enabled`, which
|
|
5263
|
+
is the field GET returns. A PUT that omits `useSSL` clears the stored `ssl.enabled` — send
|
|
5264
|
+
it on every update that should keep SSL on.
|
|
5265
|
+
examples:
|
|
5266
|
+
- true
|
|
5267
|
+
x-celigo-ai-guidance:
|
|
5268
|
+
- |-
|
|
5269
|
+
A body built from a GET carries `ssl.enabled` but never `useSSL`, so sending it back as a
|
|
5270
|
+
PUT turns SSL off: add `"useSSL": true` to every update of a connection that uses SSL.
|
|
5271
|
+
Setting `ssl.enabled` in the body changes nothing (verified live 2026-10-23 on a PostgreSQL
|
|
5272
|
+
connection: a PUT of the GET body cleared `ssl`, a PUT with `useSSL: true` set it again,
|
|
5273
|
+
and a PUT with `ssl.enabled: true` but no `useSSL` cleared it).
|
|
5245
5274
|
ssl:
|
|
5246
|
-
|
|
5275
|
+
allOf:
|
|
5276
|
+
- $ref: '#/components/schemas/SSL'
|
|
5277
|
+
- type: object
|
|
5278
|
+
properties:
|
|
5279
|
+
enabled:
|
|
5280
|
+
type: boolean
|
|
5281
|
+
readOnly: true
|
|
5282
|
+
description: |-
|
|
5283
|
+
When true, SSL/TLS is on for this database connection. Set from `useSSL` on
|
|
5284
|
+
write and returned here on read; a value sent in this field is ignored.
|
|
5247
5285
|
options:
|
|
5248
5286
|
type: array
|
|
5249
5287
|
description: |
|
package/dist/export.yml
CHANGED
|
@@ -7988,6 +7988,12 @@ components:
|
|
|
7988
7988
|
sendAuthForFileDownloads:
|
|
7989
7989
|
type: boolean
|
|
7990
7990
|
description: When true, includes authentication headers when downloading files.
|
|
7991
|
+
isRest:
|
|
7992
|
+
type: boolean
|
|
7993
|
+
description: |-
|
|
7994
|
+
Internal flag marking an export built with the legacy REST form and stored in the unified
|
|
7995
|
+
HTTP framework. Set by the platform when it converts a legacy `rest` body; not configured
|
|
7996
|
+
directly. Returned on every HTTP export, `false` unless the export was converted.
|
|
7991
7997
|
_httpConnectorEndpointId:
|
|
7992
7998
|
type: string
|
|
7993
7999
|
format: objectId
|
package/dist/import.yml
CHANGED
|
@@ -4454,7 +4454,11 @@ components:
|
|
|
4454
4454
|
description: When true, the value is a NetSuite internal ID reference.
|
|
4455
4455
|
isKey:
|
|
4456
4456
|
type: boolean
|
|
4457
|
-
description:
|
|
4457
|
+
description: |-
|
|
4458
|
+
When true, this field is a key for matching the record's existing sublist lines: a
|
|
4459
|
+
mapped line updates the one existing line whose key fields hold the same values. `lists`
|
|
4460
|
+
says which records match lines, the keys used when no field sets `isKey`, and what a
|
|
4461
|
+
line that matches no line, or several, does.
|
|
4458
4462
|
immutable:
|
|
4459
4463
|
type: boolean
|
|
4460
4464
|
description: When true, this field is only set on record creation, not on updates.
|
|
@@ -4630,6 +4634,40 @@ components:
|
|
|
4630
4634
|
description: Field mappings for each column in the sublist.
|
|
4631
4635
|
description: |
|
|
4632
4636
|
Sublist (line-item) mappings. Each entry maps source data to a NetSuite sublist.
|
|
4637
|
+
|
|
4638
|
+
Each mapped line updates the one existing line whose key fields hold the same values: its
|
|
4639
|
+
`isKey` fields, or, with none, the sublist's default key. The existing lines are the stored
|
|
4640
|
+
record's on an update, and on a transform (`Created From`: the body field
|
|
4641
|
+
`celigo_nlobjTransformId` holds the source transaction's internal id) the lines the transform
|
|
4642
|
+
fills in. Default keys:
|
|
4643
|
+
|
|
4644
|
+
- the item (`item`, else `itemkey` or `itemname`) on item fulfillments, item receipts,
|
|
4645
|
+
invoices, cash sales, cash refunds, return authorizations, bin worksheets, inbound shipment
|
|
4646
|
+
receipts and inventory counts, and on an assembly build's `component` sublist;
|
|
4647
|
+
- the applied transaction (`refnum`) on the `apply`, `credit` and `deposit` sublists of
|
|
4648
|
+
customer and vendor payments, credit memos, vendor credits and customer refunds;
|
|
4649
|
+
- `docnumber` on a deposit's `payment` sublist;
|
|
4650
|
+
- `vendor` and `language` on an item record's `itemvendor` and `translations` sublists.
|
|
4651
|
+
|
|
4652
|
+
A sublist with neither, such as a sales order's or purchase order's `item`, matches nothing, so
|
|
4653
|
+
an update adds every mapped line after the existing ones. Two matching lines fail the record
|
|
4654
|
+
with `MULTIPLE_LINES_WITH_SAME_KEYS` ("Multiple lines found with keys item=<value> ..."). A
|
|
4655
|
+
line that matches none is added as a new line, which an item fulfillment's `item` sublist
|
|
4656
|
+
refuses with `SSS_INVALID_SUBLIST_OPERATION`: its lines are its order's.
|
|
4657
|
+
x-celigo-ai-guidance:
|
|
4658
|
+
- |-
|
|
4659
|
+
To make an update replace a sublist's lines, also map the body field
|
|
4660
|
+
`celigo_replaceAllLines_<sublist id>` (for example `celigo_replaceAllLines_item`) to `true`:
|
|
4661
|
+
the existing lines no mapped line matched are removed, then the mapped lines are written. Where
|
|
4662
|
+
lines can't be removed it clears them instead: `itemreceive` false on an item fulfillment or
|
|
4663
|
+
item receipt, `apply` false on an `apply` sublist. On a sublist with no `isKey` field and no
|
|
4664
|
+
default key every existing line is unmatched, so all are replaced; with a default key, the lines
|
|
4665
|
+
it matches stay.
|
|
4666
|
+
- |-
|
|
4667
|
+
Key an update on a value each line holds once: a line id the record's create wrote to a line
|
|
4668
|
+
field, or, on a fulfillment, the order line's id mapped to `orderline`. Keying on the item fails
|
|
4669
|
+
with `MULTIPLE_LINES_WITH_SAME_KEYS` when an order holds the same item on two lines, and records
|
|
4670
|
+
that already hold repeated lines fail the same way once a key is set.
|
|
4633
4671
|
x-celigo-agent:
|
|
4634
4672
|
- mapping
|
|
4635
4673
|
lookups:
|
package/dist/mcp-server.yml
CHANGED
|
@@ -4977,6 +4977,17 @@ components:
|
|
|
4977
4977
|
minimum: 1
|
|
4978
4978
|
maximum: 50
|
|
4979
4979
|
default: 5
|
|
4980
|
+
_tpConnectorId:
|
|
4981
|
+
type: string
|
|
4982
|
+
format: objectId
|
|
4983
|
+
x-celigo-refModel: tradingpartnerconnectors
|
|
4984
|
+
description: |-
|
|
4985
|
+
Trading partner connector this S3 connection was provisioned from during partner
|
|
4986
|
+
onboarding. Stored and returned here, under `s3`, like `ftp._tpConnectorId` and
|
|
4987
|
+
`as2._tpConnectorId` on the other partner transports; a top-level `_tpConnectorId` on
|
|
4988
|
+
the connection body is not stored. Omit for a standalone S3 connection.
|
|
4989
|
+
examples:
|
|
4990
|
+
- 66a1b2c3d4e5f60718293a4b
|
|
4980
4991
|
if:
|
|
4981
4992
|
properties:
|
|
4982
4993
|
authType:
|
|
@@ -7078,8 +7089,35 @@ components:
|
|
|
7078
7089
|
sa-east-1: South America (Sao Paulo).
|
|
7079
7090
|
ca-central-1: Canada (Central).
|
|
7080
7091
|
x-lowercase: true
|
|
7092
|
+
useSSL:
|
|
7093
|
+
type: boolean
|
|
7094
|
+
writeOnly: true
|
|
7095
|
+
description: |-
|
|
7096
|
+
When true, the database connection is made over SSL/TLS and the certificate material in
|
|
7097
|
+
`ssl` applies — the connection form's **Use SSL** switch (offered for MySQL, MariaDB and
|
|
7098
|
+
PostgreSQL). Accepted on POST and PUT only: the platform stores it as `ssl.enabled`, which
|
|
7099
|
+
is the field GET returns. A PUT that omits `useSSL` clears the stored `ssl.enabled` — send
|
|
7100
|
+
it on every update that should keep SSL on.
|
|
7101
|
+
examples:
|
|
7102
|
+
- true
|
|
7103
|
+
x-celigo-ai-guidance:
|
|
7104
|
+
- |-
|
|
7105
|
+
A body built from a GET carries `ssl.enabled` but never `useSSL`, so sending it back as a
|
|
7106
|
+
PUT turns SSL off: add `"useSSL": true` to every update of a connection that uses SSL.
|
|
7107
|
+
Setting `ssl.enabled` in the body changes nothing (verified live 2026-10-23 on a PostgreSQL
|
|
7108
|
+
connection: a PUT of the GET body cleared `ssl`, a PUT with `useSSL: true` set it again,
|
|
7109
|
+
and a PUT with `ssl.enabled: true` but no `useSSL` cleared it).
|
|
7081
7110
|
ssl:
|
|
7082
|
-
|
|
7111
|
+
allOf:
|
|
7112
|
+
- $ref: '#/components/schemas/SSL'
|
|
7113
|
+
- type: object
|
|
7114
|
+
properties:
|
|
7115
|
+
enabled:
|
|
7116
|
+
type: boolean
|
|
7117
|
+
readOnly: true
|
|
7118
|
+
description: |-
|
|
7119
|
+
When true, SSL/TLS is on for this database connection. Set from `useSSL` on
|
|
7120
|
+
write and returned here on read; a value sent in this field is ignored.
|
|
7083
7121
|
options:
|
|
7084
7122
|
type: array
|
|
7085
7123
|
description: |
|